Print this page
update to acpica-unix2-20140114
update to acpica-unix2-20131218
update to acpica-unix2-20131115
update to acpica-unix2-20130927
acpica-unix2-20130823
PANKOVs restructure
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/io/acpica/changes.txt
+++ new/usr/src/common/acpica/changes.txt
1 1 ----------------------------------------
2 -27 May 2011. Summary of changes for version 20110527:
2 +14 January 2014. Summary of changes for version 20140114:
3 3
4 -This release is available at www.acpica.org/downloads
4 +1) ACPICA kernel-resident subsystem:
5 5
6 +Updated all ACPICA copyrights and signons to 2014. Added the 2014
7 +copyright to all module headers and signons, including the standard Linux
8 +header. This affects virtually every file in the ACPICA core subsystem,
9 +iASL compiler, all ACPICA utilities, and the test suites.
10 +
11 +Improved parameter validation for AcpiInstallGpeBlock. Added the
12 +following checks:
13 +1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
14 +2) There is not already a GPE block attached to the device.
15 +Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
16 +device.
17 +
18 +Correctly support "references" in the ACPI_OBJECT. This change fixes the
19 +support to allow references (namespace nodes) to be passed as arguments
20 +to control methods via the evaluate object interface. This is probably
21 +most useful for testing purposes, however.
22 +
23 +Improved support for 32/64 bit physical addresses in printf()-like
24 +output. This change improves the support for physical addresses in printf
25 +debug statements and other output on both 32-bit and 64-bit hosts. It
26 +consistently outputs the appropriate number of bytes for each host. The
27 +%p specifier is unsatisfactory since it does not emit uniform output on
28 +all hosts/clib implementations (on some, leading zeros are not supported,
29 +leading to difficult-to-read output).
30 +
31 +Example Code and Data Size: These are the sizes for the OS-independent
32 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
33 +debug version of the code includes the debug output trace mechanism and
34 +has a much larger code and data size.
35 +
36 + Current Release:
37 + Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
38 + Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
39 + Previous Release:
40 + Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
41 + Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
42 +
43 +
44 +2) iASL Compiler/Disassembler and Tools:
45 +
46 +iASL: Fix a possible fault when using the Connection() operator. Fixes a
47 +problem if the parent Field definition for the Connection operator refers
48 +to an operation region that does not exist. ACPICA BZ 1064.
49 +
50 +AcpiExec: Load of local test tables is now optional. The utility has the
51 +capability to load some various tables to test features of ACPICA.
52 +However, there are enough of them that the output of the utility became
53 +confusing. With this change, only the required local tables are displayed
54 +(RSDP, XSDT, etc.) along with the actual tables loaded via the command
55 +line specification. This makes the default output simler and easier to
56 +understand. The -el command line option restores the original behavior
57 +for testing purposes.
58 +
59 +AcpiExec: Added support for overlapping operation regions. This change
60 +expands the simulation of operation regions by supporting regions that
61 +overlap within the given address space. Supports SystemMemory and
62 +SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
63 +
64 +AcpiExec: Added region handler support for PCI_Config and EC spaces. This
65 +allows AcpiExec to simulate these address spaces, similar to the current
66 +support for SystemMemory and SystemIO.
67 +
68 +Debugger: Added new command to read/write/compare all namespace objects.
69 +The command "test objects" will exercise the entire namespace by writing
70 +new values to each data object, and ensuring that the write was
71 +successful. The original value is then restored and verified.
72 +
73 +Debugger: Added the "test predefined" command. This change makes this
74 +test public and puts it under the new "test" command. The test executes
75 +each and every predefined name within the current namespace.
76 +
77 +----------------------------------------
78 +18 December 2013. Summary of changes for version 20131218:
79 +
80 +Global note: The ACPI 5.0A specification was released this month. There
81 +are no changes needed for ACPICA since this release of ACPI is an
82 +errata/clarification release. The specification is available at
83 +acpi.info.
84 +
85 +
86 +1) ACPICA kernel-resident subsystem:
87 +
88 +Added validation of the XSDT root table if it is present. Some older
89 +platforms contain an XSDT that is ill-formed or otherwise invalid (such
90 +as containing some or all entries that are NULL pointers). This change
91 +adds a new function to validate the XSDT before actually using it. If the
92 +XSDT is found to be invalid, ACPICA will now automatically fall back to
93 +using the RSDT instead. Original implementation by Zhao Yakui. Ported to
94 +ACPICA and enhanced by Lv Zheng and Bob Moore.
95 +
96 +Added a runtime option to ignore the XSDT and force the use of the RSDT.
97 +This change adds a runtime option that will force ACPICA to use the RSDT
98 +instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
99 +requires that an XSDT be used instead of the RSDT, the XSDT has been
100 +found to be corrupt or ill-formed on some machines. Lv Zheng.
101 +
102 +Added a runtime option to favor 32-bit FADT register addresses over the
103 +64-bit addresses. This change adds an option to favor 32-bit FADT
104 +addresses when there is a conflict between the 32-bit and 64-bit versions
105 +of the same register. The default behavior is to use the 64-bit version
106 +in accordance with the ACPI specification. This can now be overridden via
107 +the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
108 +
109 +During the change above, the internal "Convert FADT" and "Verify FADT"
110 +functions have been merged to simplify the code, making it easier to
111 +understand and maintain. ACPICA BZ 933.
112 +
113 +Improve exception reporting and handling for GPE block installation.
114 +Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
115 +status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
116 +
117 +Added helper macros to extract bus/segment numbers from the HEST table.
118 +This change adds two macros to extract the encoded bus and segment
119 +numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
120 +Betty Dall <betty.dall@hp.com>
121 +
122 +Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
123 +by ACPICA. It is not a public macro, so it should have no effect on
124 +existing OSV code. Lv Zheng.
125 +
126 +Example Code and Data Size: These are the sizes for the OS-independent
127 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
128 +debug version of the code includes the debug output trace mechanism and
129 +has a much larger code and data size.
130 +
131 + Current Release:
132 + Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
133 + Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
134 + Previous Release:
135 + Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
136 + Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
137 +
138 +
139 +2) iASL Compiler/Disassembler and Tools:
140 +
141 +Disassembler: Improved pathname support for emitted External()
142 +statements. This change adds full pathname support for external names
143 +that have been resolved internally by the inclusion of additional ACPI
144 +tables (via the iASL -e option). Without this change, the disassembler
145 +can emit multiple externals for the same object, or it become confused
146 +when the Scope() operator is used on an external object. Overall, greatly
147 +improves the ability to actually recompile the emitted ASL code when
148 +objects a referenced across multiple ACPI tables. Reported by Michael
149 +Tsirkin (mst@redhat.com).
150 +
151 +Tests/ASLTS: Updated functional control suite to execute with no errors.
152 +David Box. Fixed several errors related to the testing of the interpreter
153 +slack mode. Lv Zheng.
154 +
155 +iASL: Added support to detect names that are declared within a control
156 +method, but are unused (these are temporary names that are only valid
157 +during the time the method is executing). A remark is issued for these
158 +cases. ACPICA BZ 1022.
159 +
160 +iASL: Added full support for the DBG2 table. Adds full disassembler,
161 +table compiler, and template generator support for the DBG2 table (Debug
162 +Port 2 table).
163 +
164 +iASL: Added full support for the PCCT table, update the table definition.
165 +Updates the PCCT table definition in the actbl3.h header and adds table
166 +compiler and template generator support.
167 +
168 +iASL: Added an option to emit only error messages (no warnings/remarks).
169 +The -ve option will enable only error messages, warnings and remarks are
170 +suppressed. This can simplify debugging when only the errors are
171 +important, such as when an ACPI table is disassembled and there are many
172 +warnings and remarks -- but only the actual errors are of real interest.
173 +
174 +Example ACPICA code (source/tools/examples): Updated the example code so
175 +that it builds to an actual working program, not just example code. Added
176 +ACPI tables and execution of an example control method in the DSDT. Added
177 +makefile support for Unix generation.
178 +
179 +----------------------------------------
180 +15 November 2013. Summary of changes for version 20131115:
181 +
182 +This release is available at https://acpica.org/downloads
183 +
184 +
185 +1) ACPICA kernel-resident subsystem:
186 +
187 +Resource Manager: Fixed loop termination for the "get AML length"
188 +function. The loop previously had an error termination on a NULL resource
189 +pointer, which can never happen since the loop simply increments a valid
190 +resource pointer. This fix changes the loop to terminate with an error on
191 +an invalid end-of-buffer condition. The problem can be seen as an
192 +infinite loop by callers to AcpiSetCurrentResources with an invalid or
193 +corrupted resource descriptor, or a resource descriptor that is missing
194 +an END_TAG descriptor. Reported by Dan Carpenter
195 +<dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
196 +
197 +Table unload and ACPICA termination: Delete all attached data objects
198 +during namespace node deletion. This fix updates namespace node deletion
199 +to delete the entire list of attached objects (attached via
200 +AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
201 +1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
202 +
203 +ACPICA termination: Added support to delete all objects attached to the
204 +root namespace node. This fix deletes any and all objects that have been
205 +attached to the root node via AcpiAttachData. Previously, none of these
206 +objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
207 +
208 +Debug output: Do not emit the function nesting level for the in-kernel
209 +build. The nesting level is really only useful during a single-thread
210 +execution. Therefore, only enable this output for the AcpiExec utility.
211 +Also, only emit the thread ID when executing under AcpiExec (Context
212 +switches are still always detected and a message is emitted). ACPICA BZ
213 +972.
214 +
215 +Example Code and Data Size: These are the sizes for the OS-independent
216 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
217 +debug version of the code includes the debug output trace mechanism and
218 +has a much larger code and data size.
219 +
220 + Current Release:
221 + Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
222 + Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
223 + Previous Release:
224 + Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
225 + Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
226 +
227 +
228 +2) iASL Compiler/Disassembler and Tools:
229 +
230 +AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
231 +correct portable POSIX header for terminal control functions.
232 +
233 +Disassembler: Fixed control method invocation issues related to the use
234 +of the CondRefOf() operator. The problem is seen in the disassembly where
235 +control method invocations may not be disassembled properly if the
236 +control method name has been used previously as an argument to CondRefOf.
237 +The solution is to not attempt to emit an external declaration for the
238 +CondRefOf target (it is not necessary in the first place). This prevents
239 +disassembler object type confusion. ACPICA BZ 988.
240 +
241 +Unix Makefiles: Added an option to disable compiler optimizations and the
242 +_FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
243 +with optimizations (reportedly, gcc 4.4 for example). This change adds a
244 +command line option for make (NOOPT) that disables all compiler
245 +optimizations and the _FORTIFY_SOURCE compiler flag. The default
246 +optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
247 +1034. Lv Zheng, Bob Moore.
248 +
249 +Tests/ASLTS: Added options to specify individual test cases and modes.
250 +This allows testers running aslts.sh to optionally specify individual
251 +test modes and test cases. Also added an option to disable the forced
252 +generation of the ACPICA tools from source if desired. Lv Zheng.
253 +
254 +----------------------------------------
255 +27 September 2013. Summary of changes for version 20130927:
256 +
257 +This release is available at https://acpica.org/downloads
258 +
259 +
260 +1) ACPICA kernel-resident subsystem:
261 +
262 +Fixed a problem with store operations to reference objects. This change
263 +fixes a problem where a Store operation to an ArgX object that contained
264 +a
265 +reference to a field object did not complete the automatic dereference
266 +and
267 +then write to the actual field object. Instead, the object type of the
268 +field object was inadvertently changed to match the type of the source
269 +operand. The new behavior will actually write to the field object (buffer
270 +field or field unit), thus matching the correct ACPI-defined behavior.
271 +
272 +Implemented support to allow the host to redefine individual OSL
273 +prototypes. This change enables the host to redefine OSL prototypes found
274 +in the acpiosxf.h file. This allows the host to implement OSL interfaces
275 +with a macro or inlined function. Further, it allows the host to add any
276 +additional required modifiers such as __iomem, __init, __exit, etc., as
277 +necessary on a per-interface basis. Enables maximum flexibility for the
278 +OSL interfaces. Lv Zheng.
279 +
280 +Hardcoded the access width for the FADT-defined reset register. The ACPI
281 +specification requires the reset register width to be 8 bits. ACPICA now
282 +hardcodes the width to 8 and ignores the FADT width value. This provides
283 +compatibility with other ACPI implementations that have allowed BIOS code
284 +with bad register width values to go unnoticed. Matthew Garett, Bob
285 +Moore,
286 +Lv Zheng.
287 +
288 +Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
289 +used
290 +in the OSL header (acpiosxf). The change modifies the position of this
291 +macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
292 +build issues if the OSL defines the implementation of the interface to be
293 +an inline stub function. Lv Zheng.
294 +
295 +Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
296 +initialization interfaces. This change adds a new macro for the main init
297 +and terminate external interfaces in order to support hosts that require
298 +additional or different processing for these functions. Changed from
299 +ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
300 +Zheng, Bob Moore.
301 +
302 +Cleaned up the memory allocation macros for configurability. In the
303 +common
304 +case, the ACPI_ALLOCATE and related macros now resolve directly to their
305 +respective AcpiOs* OSL interfaces. Two options:
306 +1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
307 +default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
308 +2) For AcpiExec (and for debugging), the macros can optionally be
309 +resolved
310 +to the local ACPICA interfaces that track each allocation (local tracking
311 +is used to immediately detect memory leaks).
312 +Lv Zheng.
313 +
314 +Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
315 +to predefine this macro to either TRUE or FALSE during the system build.
316 +
317 +Replaced __FUNCTION_ with __func__ in the gcc-specific header.
318 +
319 +Example Code and Data Size: These are the sizes for the OS-independent
320 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
321 +debug version of the code includes the debug output trace mechanism and
322 +has a much larger code and data size.
323 +
324 + Current Release:
325 + Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
326 + Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
327 + Previous Release:
328 + Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
329 + Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
330 +
331 +
332 +2) iASL Compiler/Disassembler and Tools:
333 +
334 +iASL: Implemented wildcard support for the -e option. This simplifies use
335 +when there are many SSDTs that must be included to resolve external
336 +method
337 +declarations. ACPICA BZ 1041. Example:
338 + iasl -e ssdt*.dat -d dsdt.dat
339 +
340 +AcpiExec: Add history/line-editing for Unix/Linux systems. This change
341 +adds a portable module that implements full history and limited line
342 +editing for Unix and Linux systems. It does not use readline() due to
343 +portability issues. Instead it uses the POSIX termio interface to put the
344 +terminal in raw input mode so that the various special keys can be
345 +trapped
346 +(such as up/down-arrow for history support and left/right-arrow for line
347 +editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
348 +
349 +AcpiXtract: Add support to handle (ignore) "empty" lines containing only
350 +one or more spaces. This provides compatible with early or different
351 +versions of the AcpiDump utility. ACPICA BZ 1044.
352 +
353 +AcpiDump: Do not ignore tables that contain only an ACPI table header.
354 +Apparently, some BIOSs create SSDTs that contain an ACPI table header but
355 +no other data. This change adds support to dump these tables. Any tables
356 +shorter than the length of an ACPI table header remain in error (an error
357 +message is emitted). Reported by Yi Li.
358 +
359 +Debugger: Echo actual command along with the "unknown command" message.
360 +
361 +----------------------------------------
362 +23 August 2013. Summary of changes for version 20130823:
363 +
364 +1) ACPICA kernel-resident subsystem:
365 +
366 +Implemented support for host-installed System Control Interrupt (SCI)
367 +handlers. Certain ACPI functionality requires the host to handle raw
368 +SCIs. For example, the "SCI Doorbell" that is defined for memory power
369 +state support requires the host device driver to handle SCIs to examine
370 +if the doorbell has been activated. Multiple SCI handlers can be
371 +installed to allow for future expansion. New external interfaces are
372 +AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
373 +details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
374 +
375 +Operation region support: Never locally free the handler "context"
376 +pointer. This change removes some dangerous code that attempts to free
377 +the handler context pointer in some (rare) circumstances. The owner of
378 +the handler owns this pointer and the ACPICA code should never touch it.
379 +Although not seen to be an issue in any kernel, it did show up as a
380 +problem (fault) under AcpiExec. Also, set the internal storage field for
381 +the context pointer to zero when the region is deactivated, simply for
382 +sanity. David Box. ACPICA BZ 1039.
383 +
384 +AcpiRead: On error, do not modify the return value target location. If an
385 +error happens in the middle of a split 32/32 64-bit I/O operation, do not
386 +modify the target of the return value pointer. Makes the code consistent
387 +with the rest of ACPICA. Bjorn Helgaas.
388 +
389 +Example Code and Data Size: These are the sizes for the OS-independent
390 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
391 +debug version of the code includes the debug output trace mechanism and
392 +has a much larger code and data size.
393 +
394 + Current Release:
395 + Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
396 + Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
397 + Previous Release:
398 + Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
399 + Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
400 +
401 +
402 +2) iASL Compiler/Disassembler and Tools:
403 +
404 +AcpiDump: Implemented several new features and fixed some problems:
405 +1) Added support to dump the RSDP, RSDT, and XSDT tables.
406 +2) Added support for multiple table instances (SSDT, UEFI).
407 +3) Added option to dump "customized" (overridden) tables (-c).
408 +4) Fixed a problem where some table filenames were improperly
409 +constructed.
410 +5) Improved some error messages, removed some unnecessary messages.
411 +
412 +iASL: Implemented additional support for disassembly of ACPI tables that
413 +contain invocations of external control methods. The -fe<file> option
414 +allows the import of a file that specifies the external methods along
415 +with the required number of arguments for each -- allowing for the
416 +correct disassembly of the table. This is a workaround for a limitation
417 +of AML code where the disassembler often cannot determine the number of
418 +arguments required for an external control method and generates incorrect
419 +ASL code. See the iASL reference for details. ACPICA BZ 1030.
420 +
421 +Debugger: Implemented a new command (paths) that displays the full
422 +pathnames (namepaths) and object types of all objects in the namespace.
423 +This is an alternative to the namespace command.
424 +
425 +Debugger: Implemented a new command (sci) that invokes the SCI dispatch
426 +mechanism and any installed handlers.
427 +
428 +iASL: Fixed a possible segfault for "too many parent prefixes" condition.
429 +This can occur if there are too many parent prefixes in a namepath (for
430 +example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
431 +
432 +Application OSLs: Set the return value for the PCI read functions. These
433 +functions simply return AE_OK, but should set the return value to zero
434 +also. This change implements this. ACPICA BZ 1038.
435 +
436 +Debugger: Prevent possible command line buffer overflow. Increase the
437 +size of a couple of the debugger line buffers, and ensure that overflow
438 +cannot happen. ACPICA BZ 1037.
439 +
440 +iASL: Changed to abort immediately on serious errors during the parsing
441 +phase. Due to the nature of ASL, there is no point in attempting to
442 +compile these types of errors, and they typically end up causing a
443 +cascade of hundreds of errors which obscure the original problem.
444 +
445 +----------------------------------------
446 +25 July 2013. Summary of changes for version 20130725:
447 +
448 +1) ACPICA kernel-resident subsystem:
449 +
450 +Fixed a problem with the DerefOf operator where references to FieldUnits
451 +and BufferFields incorrectly returned the parent object, not the actual
452 +value of the object. After this change, a dereference of a FieldUnit
453 +reference results in a read operation on the field to get the value, and
454 +likewise, the appropriate BufferField value is extracted from the target
455 +buffer.
456 +
457 +Fixed a problem where the _WAK method could cause a fault under these
458 +circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
459 +method returned no value. The problem is rarely seen because most kernels
460 +run ACPICA in slack mode.
461 +
462 +For the DerefOf operator, a fatal error now results if an attempt is made
463 +to dereference a reference (created by the Index operator) to a NULL
464 +package element. Provides compatibility with other ACPI implementations,
465 +and this behavior will be added to a future version of the ACPI
466 +specification.
467 +
468 +The ACPI Power Management Timer (defined in the FADT) is now optional.
469 +This provides compatibility with other ACPI implementations and will
470 +appear in the next version of the ACPI specification. If there is no PM
471 +Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
472 +zero in the FADT indicates no PM timer.
473 +
474 +Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
475 +allows the host to globally enable/disable all vendor strings, all
476 +feature strings, or both. Intended to be primarily used for debugging
477 +purposes only. Lv Zheng.
478 +
479 +Expose the collected _OSI data to the host via a global variable. This
480 +data tracks the highest level vendor ID that has been invoked by the BIOS
481 +so that the host (and potentially ACPICA itself) can change behaviors
482 +based upon the age of the BIOS.
483 +
484 +Example Code and Data Size: These are the sizes for the OS-independent
485 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
486 +debug version of the code includes the debug output trace mechanism and
487 +has a much larger code and data size.
488 +
489 + Current Release:
490 + Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
491 + Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
492 + Previous Release:
493 + Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
494 + Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
495 +
496 +
497 +2) iASL Compiler/Disassembler and Tools:
498 +
499 +iASL: Created the following enhancements for the -so option (create
500 +offset table):
501 +1)Add offsets for the last nameseg in each namepath for every supported
502 +object type
503 +2)Add support for Processor, Device, Thermal Zone, and Scope objects
504 +3)Add the actual AML opcode for the parent object of every supported
505 +object type
506 +4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
507 +
508 +Disassembler: Emit all unresolved external symbols in a single block.
509 +These are external references to control methods that could not be
510 +resolved, and thus, the disassembler had to make a guess at the number of
511 +arguments to parse.
512 +
513 +iASL: The argument to the -T option (create table template) is now
514 +optional. If not specified, the default table is a DSDT, typically the
515 +most common case.
516 +
517 +----------------------------------------
518 +26 June 2013. Summary of changes for version 20130626:
519 +
520 +1) ACPICA kernel-resident subsystem:
521 +
522 +Fixed an issue with runtime repair of the _CST object. Null or invalid
523 +elements were not always removed properly. Lv Zheng.
524 +
525 +Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
526 +FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
527 +the maximum number of GPEs is 1016. Use of multiple GPE block devices
528 +makes the system-wide number of GPEs essentially unlimited.
529 +
530 +Example Code and Data Size: These are the sizes for the OS-independent
531 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
532 +debug version of the code includes the debug output trace mechanism and
533 +has a much larger code and data size.
534 +
535 + Current Release:
536 + Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
537 + Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
538 + Previous Release:
539 + Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
540 + Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
541 +
542 +
543 +2) iASL Compiler/Disassembler and Tools:
544 +
545 +Portable AcpiDump: Implemented full support for the Linux and FreeBSD
546 +hosts. Now supports Linux, FreeBSD, and Windows.
547 +
548 +Disassembler: Added some missing types for the HEST and EINJ tables: "Set
549 +Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
550 +
551 +iASL/Preprocessor: Implemented full support for nested
552 +#if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
553 +
554 +Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
555 +max. The original purpose of this constraint was to limit the amount of
556 +debug output. However, the string function in question (UtPrintString) is
557 +now used for the disassembler also, where 256 bytes is insufficient.
558 +Reported by RehabMan@GitHub.
559 +
560 +iASL/DataTables: Fixed some problems and issues with compilation of DMAR
561 +tables. ACPICA BZ 999. Lv Zheng.
562 +
563 +iASL: Fixed a couple of error exit issues that could result in a "Could
564 +not delete <file>" message during ASL compilation.
565 +
566 +AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
567 +the actual signatures for these tables are "FACP" and "APIC",
568 +respectively.
569 +
570 +AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
571 +tables are allowed to have multiple instances.
572 +
573 +----------------------------------------
574 +17 May 2013. Summary of changes for version 20130517:
575 +
576 +1) ACPICA kernel-resident subsystem:
577 +
578 +Fixed a regression introduced in version 20130328 for _INI methods. This
579 +change fixes a problem introduced in 20130328 where _INI methods are no
580 +longer executed properly because of a memory block that was not
581 +initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
582 +<tomasz.nowicki@linaro.org>.
583 +
584 +Fixed a possible problem with the new extended sleep registers in the
585 +ACPI
586 +5.0 FADT. Do not use these registers (even if populated) unless the HW-
587 +reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
588 +1020. Lv Zheng.
589 +
590 +Implemented return value repair code for _CST predefined objects: Sort
591 +the
592 +list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
593 +
594 +Implemented a debug-only option to disable loading of SSDTs from the
595 +RSDT/XSDT during ACPICA initialization. This can be useful for debugging
596 +ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
597 +acglobal.h - ACPICA BZ 1005. Lv Zheng.
598 +
599 +Fixed some issues in the ACPICA initialization and termination code:
600 +Tomasz Nowicki <tomasz.nowicki@linaro.org>
601 +1) Clear events initialized flag upon event component termination. ACPICA
602 +BZ 1013.
603 +2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
604 +3) Delete global lock pending lock during termination. ACPICA BZ 1012.
605 +4) Clear debug buffer global on termination to prevent possible multiple
606 +delete. ACPICA BZ 1010.
607 +
608 +Standardized all switch() blocks across the entire source base. After
609 +many
610 +years, different formatting for switch() had crept in. This change makes
611 +the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
612 +
613 +Split some files to enhance ACPICA modularity and configurability:
614 +1) Split buffer dump routines into utilities/utbuffer.c
615 +2) Split internal error message routines into utilities/uterror.c
616 +3) Split table print utilities into tables/tbprint.c
617 +4) Split iASL command-line option processing into asloptions.c
618 +
619 +Makefile enhancements:
620 +1) Support for all new files above.
621 +2) Abort make on errors from any subcomponent. Chao Guan.
622 +3) Add build support for Apple Mac OS X. Liang Qi.
623 +
624 +Example Code and Data Size: These are the sizes for the OS-independent
625 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
626 +debug version of the code includes the debug output trace mechanism and
627 +has a much larger code and data size.
628 +
629 + Current Release:
630 + Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
631 + Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
632 + Previous Release:
633 + Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
634 + Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
635 +
636 +
637 +2) iASL Compiler/Disassembler and Tools:
638 +
639 +New utility: Implemented an easily portable version of the acpidump
640 +utility to extract ACPI tables from the system (or a file) in an ASCII
641 +hex
642 +dump format. The top-level code implements the various command line
643 +options, file I/O, and table dump routines. To port to a new host, only
644 +three functions need to be implemented to get tables -- since this
645 +functionality is OS-dependent. See the tools/acpidump/apmain.c module and
646 +the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
647 +1) The Windows version obtains the ACPI tables from the Registry.
648 +2) The Linux version is under development.
649 +3) Other hosts - If an OS-dependent module is submitted, it will be
650 +distributed with ACPICA.
651 +
652 +iASL: Fixed a regression for -D preprocessor option (define symbol). A
653 +restructuring/change to the initialization sequence caused this option to
654 +no longer work properly.
655 +
656 +iASL: Implemented a mechanism to disable specific warnings and remarks.
657 +Adds a new command line option, "-vw <messageid> as well as "#pragma
658 +disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
659 +
660 +iASL: Fix for too-strict package object validation. The package object
661 +validation for return values from the predefined names is a bit too
662 +strict, it does not allow names references within the package (which will
663 +be resolved at runtime.) These types of references cannot be validated at
664 +compile time. This change ignores named references within package objects
665 +for names that return or define static packages.
666 +
667 +Debugger: Fixed the 80-character command line limitation for the History
668 +command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
669 +
670 +iASL: Added control method and package support for the -so option
671 +(generates AML offset table for BIOS support.)
672 +
673 +iASL: issue a remark if a non-serialized method creates named objects. If
674 +a thread blocks within the method for any reason, and another thread
675 +enters the method, the method will fail because an attempt will be made
676 +to
677 +create the same (named) object twice. In this case, issue a remark that
678 +the method should be marked serialized. NOTE: may become a warning later.
679 +ACPICA BZ 909.
680 +
681 +----------------------------------------
682 +18 April 2013. Summary of changes for version 20130418:
683 +
684 +1) ACPICA kernel-resident subsystem:
685 +
686 +Fixed a possible buffer overrun during some rare but specific field unit
687 +read operations. This overrun can only happen if the DSDT version is 1 --
688 +meaning that all AML integers are 32 bits -- and the field length is
689 +between 33 and 55 bits long. During the read, an internal buffer object
690 +is
691 +created for the field unit because the field is larger than an integer
692 +(32
693 +bits). However, in this case, the buffer will be incorrectly written
694 +beyond the end because the buffer length is less than the internal
695 +minimum
696 +of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
697 +long, but a full 8 bytes will be written.
698 +
699 +Updated the Embedded Controller "orphan" _REG method support. This refers
700 +to _REG methods under the EC device that have no corresponding operation
701 +region. This is allowed by the ACPI specification. This update removes a
702 +dependency on the existence an ECDT table. It will execute an orphan _REG
703 +method as long as the operation region handler for the EC is installed at
704 +the EC device node and not the namespace root. Rui Zhang (original
705 +update), Bob Moore (update/integrate).
706 +
707 +Implemented run-time argument typechecking for all predefined ACPI names
708 +(_STA, _BIF, etc.) This change performs object typechecking on all
709 +incoming arguments for all predefined names executed via
710 +AcpiEvaluateObject. This ensures that ACPI-related device drivers are
711 +passing correct object types as well as the correct number of arguments
712 +(therefore identifying any issues immediately). Also, the ASL/namespace
713 +definition of the predefined name is checked against the ACPI
714 +specification for the proper argument count. Adds one new file,
715 +nsarguments.c
716 +
717 +Changed an exception code for the ASL UnLoad() operator. Changed the
718 +exception code for the case where the input DdbHandle is invalid, from
719 +AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
720 +
721 +Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
722 +global makefile. The use of this flag causes compiler errors on earlier
723 +versions of GCC, so it has been removed for compatibility.
724 +
725 +Miscellaneous cleanup:
726 +1) Removed some unused/obsolete macros
727 +2) Fixed a possible memory leak in the _OSI support
728 +3) Removed an unused variable in the predefined name support
729 +4) Windows OSL: remove obsolete reference to a memory list field
730 +
731 +Example Code and Data Size: These are the sizes for the OS-independent
732 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
733 +debug version of the code includes the debug output trace mechanism and
734 +has a much larger code and data size.
735 +
736 + Current Release:
737 + Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
738 + Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
739 + Previous Release:
740 + Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
741 + Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
742 +
743 +
744 +2) iASL Compiler/Disassembler and Tools:
745 +
746 +AcpiExec: Added installation of a handler for the SystemCMOS address
747 +space. This prevents control method abort if a method accesses this
748 +space.
749 +
750 +AcpiExec: Added support for multiple EC devices, and now install EC
751 +operation region handler(s) at the actual EC device instead of the
752 +namespace root. This reflects the typical behavior of host operating
753 +systems.
754 +
755 +AcpiExec: Updated to ensure that all operation region handlers are
756 +installed before the _REG methods are executed. This prevents a _REG
757 +method from aborting if it accesses an address space has no handler.
758 +AcpiExec installs a handler for every possible address space.
759 +
760 +Debugger: Enhanced the "handlers" command to display non-root handlers.
761 +This change enhances the handlers command to display handlers associated
762 +with individual devices throughout the namespace, in addition to the
763 +currently supported display of handlers associated with the root
764 +namespace
765 +node.
766 +
767 +ASL Test Suite: Several test suite errors have been identified and
768 +resolved, reducing the total error count during execution. Chao Guan.
769 +
770 +----------------------------------------
771 +28 March 2013. Summary of changes for version 20130328:
772 +
773 +1) ACPICA kernel-resident subsystem:
774 +
775 +Fixed several possible race conditions with the internal object reference
776 +counting mechanism. Some of the external ACPICA interfaces update object
777 +reference counts without holding the interpreter or namespace lock. This
778 +change adds a spinlock to protect reference count updates on the internal
779 +ACPICA objects. Reported by and with assistance from Andriy Gapon
780 +(avg@FreeBSD.org).
781 +
782 +FADT support: Removed an extraneous warning for very large GPE register
783 +sets. This change removes a size mismatch warning if the legacy length
784 +field for a GPE register set is larger than the 64-bit GAS structure can
785 +accommodate. GPE register sets can be larger than the 255-bit width
786 +limitation of the GAS structure. Linn Crosetto (linn@hp.com).
787 +
788 +_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
789 +return from this interface. Handles a possible timeout case if
790 +ACPI_WAIT_FOREVER is modified by the host to be a value less than
791 +"forever". Jung-uk Kim.
792 +
793 +Predefined name support: Add allowed/required argument type information
794 +to
795 +the master predefined info table. This change adds the infrastructure to
796 +enable typechecking on incoming arguments for all predefined
797 +methods/objects. It does not actually contain the code that will fully
798 +utilize this information, this is still under development. Also condenses
799 +some duplicate code for the predefined names into a new module,
800 +utilities/utpredef.c
801 +
802 +Example Code and Data Size: These are the sizes for the OS-independent
803 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
804 +debug version of the code includes the debug output trace mechanism and
805 +has a much larger code and data size.
806 +
807 + Previous Release:
808 + Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
809 + Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
810 + Current Release:
811 + Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
812 + Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
813 +
814 +
815 +2) iASL Compiler/Disassembler and Tools:
816 +
817 +iASL: Implemented a new option to simplify the development of ACPI-
818 +related
819 +BIOS code. Adds support for a new "offset table" output file. The -so
820 +option will create a C table containing the AML table offsets of various
821 +named objects in the namespace so that BIOS code can modify them easily
822 +at
823 +boot time. This can simplify BIOS runtime code by eliminating expensive
824 +searches for "magic values", enhancing boot times and adding greater
825 +reliability. With assistance from Lee Hamel.
826 +
827 +iASL: Allow additional predefined names to return zero-length packages.
828 +Now, all predefined names that are defined by the ACPI specification to
829 +return a "variable-length package of packages" are allowed to return a
830 +zero length top-level package. This allows the BIOS to tell the host that
831 +the requested feature is not supported, and supports existing BIOS/ASL
832 +code and practices.
833 +
834 +iASL: Changed the "result not used" warning to an error. This is the case
835 +where an ASL operator is effectively a NOOP because the result of the
836 +operation is not stored anywhere. For example:
837 + Add (4, Local0)
838 +There is no target (missing 3rd argument), nor is the function return
839 +value used. This is potentially a very serious problem -- since the code
840 +was probably intended to do something, but for whatever reason, the value
841 +was not stored. Therefore, this issue has been upgraded from a warning to
842 +an error.
843 +
844 +AcpiHelp: Added allowable/required argument types to the predefined names
845 +info display. This feature utilizes the recent update to the predefined
846 +names table (above).
847 +
848 +----------------------------------------
849 +14 February 2013. Summary of changes for version 20130214:
850 +
851 +1) ACPICA Kernel-resident Subsystem:
852 +
853 +Fixed a possible regression on some hosts: Reinstated the safe return
854 +macros (return_ACPI_STATUS, etc.) that ensure that the argument is
855 +evaluated only once. Although these macros are not needed for the ACPICA
856 +code itself, they are often used by ACPI-related host device drivers
857 +where
858 +the safe feature may be necessary.
859 +
860 +Fixed several issues related to the ACPI 5.0 reduced hardware support
861 +(SOC): Now ensure that if the platform declares itself as hardware-
862 +reduced
863 +via the FADT, the following functions become NOOPs (and always return
864 +AE_OK) because ACPI is always enabled by definition on these machines:
865 + AcpiEnable
866 + AcpiDisable
867 + AcpiHwGetMode
868 + AcpiHwSetMode
869 +
870 +Dynamic Object Repair: Implemented additional runtime repairs for
871 +predefined name return values. Both of these repairs can simplify code in
872 +the related device drivers that invoke these methods:
873 +1) For the _STR and _MLS names, automatically repair/convert an ASCII
874 +string to a Unicode buffer.
875 +2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
876 +a
877 +lone end tag descriptor in the following cases: A Return(0) was executed,
878 +a null buffer was returned, or no object at all was returned (non-slack
879 +mode only). Adds a new file, nsconvert.c
880 +ACPICA BZ 998. Bob Moore, Lv Zheng.
881 +
882 +Resource Manager: Added additional code to prevent possible infinite
883 +loops
884 +while traversing corrupted or ill-formed resource template buffers. Check
885 +for zero-length resource descriptors in all code that loops through
886 +resource templates (the length field is used to index through the
887 +template). This change also hardens the external AcpiWalkResources and
888 +AcpiWalkResourceBuffer interfaces.
889 +
890 +Local Cache Manager: Enhanced the main data structure to eliminate an
891 +unnecessary mechanism to access the next object in the list. Actually
892 +provides a small performance enhancement for hosts that use the local
893 +ACPICA cache manager. Jung-uk Kim.
894 +
895 +Example Code and Data Size: These are the sizes for the OS-independent
896 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
897 +debug version of the code includes the debug output trace mechanism and
898 +has a much larger code and data size.
899 +
900 + Previous Release:
901 + Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
902 + Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
903 + Current Release:
904 + Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
905 + Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
906 +
907 +
908 +2) iASL Compiler/Disassembler and Tools:
909 +
910 +iASL/Disassembler: Fixed several issues with the definition of the ACPI
911 +5.0 RASF table (RAS Feature Table). This change incorporates late changes
912 +that were made to the ACPI 5.0 specification.
913 +
914 +iASL/Disassembler: Added full support for the following new ACPI tables:
915 + 1) The MTMR table (MID Timer Table)
916 + 2) The VRTC table (Virtual Real Time Clock Table).
917 +Includes header file, disassembler, table compiler, and template support
918 +for both tables.
919 +
920 +iASL: Implemented compile-time validation of package objects returned by
921 +predefined names. This new feature validates static package objects
922 +returned by the various predefined names defined to return packages. Both
923 +object types and package lengths are validated, for both parent packages
924 +and sub-packages, if any. The code is similar in structure and behavior
925 +to
926 +the runtime repair mechanism within the AML interpreter and uses the
927 +existing predefined name information table. Adds a new file, aslprepkg.c.
928 +ACPICA BZ 938.
929 +
930 +iASL: Implemented auto-detection of binary ACPI tables for disassembly.
931 +This feature detects a binary file with a valid ACPI table header and
932 +invokes the disassembler automatically. Eliminates the need to
933 +specifically invoke the disassembler with the -d option. ACPICA BZ 862.
934 +
935 +iASL/Disassembler: Added several warnings for the case where there are
936 +unresolved control methods during the disassembly. This can potentially
937 +cause errors when the output file is compiled, because the disassembler
938 +assumes zero method arguments in these cases (it cannot determine the
939 +actual number of arguments without resolution/definition of the method).
940 +
941 +Debugger: Added support to display all resources with a single command.
942 +Invocation of the resources command with no arguments will now display
943 +all
944 +resources within the current namespace.
945 +
946 +AcpiHelp: Added descriptive text for each ACPICA exception code displayed
947 +via the -e option.
948 +
949 +----------------------------------------
950 +17 January 2013. Summary of changes for version 20130117:
951 +
952 +1) ACPICA Kernel-resident Subsystem:
953 +
954 +Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
955 +return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
956 +objects to return a package containing one integer, most BIOS code
957 +returns
958 +two integers and the previous code reflects that. However, we also need
959 +to
960 +support BIOS code that actually implements to the ACPI spec, and this
961 +change reflects this.
962 +
963 +Fixed two issues with the ACPI_DEBUG_PRINT macros:
964 +1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
965 +C compilers that require this support.
966 +2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
967 +ACPI_DEBUG is already used by many of the various hosts.
968 +
969 +Updated all ACPICA copyrights and signons to 2013. Added the 2013
970 +copyright to all module headers and signons, including the standard Linux
971 +header. This affects virtually every file in the ACPICA core subsystem,
972 +iASL compiler, all ACPICA utilities, and the test suites.
973 +
974 +Example Code and Data Size: These are the sizes for the OS-independent
975 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
976 +debug version of the code includes the debug output trace mechanism and
977 +has a much larger code and data size.
978 +
979 + Previous Release:
980 + Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
981 + Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
982 + Current Release:
983 + Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
984 + Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
985 +
986 +
987 +2) iASL Compiler/Disassembler and Tools:
988 +
989 +Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
990 +prevent a possible fault on some hosts. Some C libraries modify the arg
991 +pointer parameter to vfprintf making it difficult to call it twice in the
992 +AcpiOsVprintf function. Use a local buffer to workaround this issue. This
993 +does not affect the Windows OSL since the Win C library does not modify
994 +the arg pointer. Chao Guan, Bob Moore.
995 +
996 +iASL: Fixed a possible infinite loop when the maximum error count is
997 +reached. If an output file other than the .AML file is specified (such as
998 +a listing file), and the maximum number of errors is reached, do not
999 +attempt to flush data to the output file(s) as the compiler is aborting.
1000 +This can cause an infinite loop as the max error count code essentially
1001 +keeps calling itself.
1002 +
1003 +iASL/Disassembler: Added an option (-in) to ignore NOOP
1004 +opcodes/operators.
1005 +Implemented for both the compiler and the disassembler. Often, the NOOP
1006 +opcode is used as padding for packages that are changed dynamically by
1007 +the
1008 +BIOS. When disassembled and recompiled, these NOOPs will cause syntax
1009 +errors. This option causes the disassembler to ignore all NOOP opcodes
1010 +(0xA3), and it also causes the compiler to ignore all ASL source code
1011 +NOOP
1012 +statements as well.
1013 +
1014 +Debugger: Enhanced the Sleep command to execute all sleep states. This
1015 +change allows Sleep to be invoked with no arguments and causes the
1016 +debugger to execute all of the sleep states, 0-5, automatically.
1017 +
1018 +----------------------------------------
1019 +20 December 2012. Summary of changes for version 20121220:
1020 +
1021 +1) ACPICA Kernel-resident Subsystem:
1022 +
1023 +Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
1024 +alternate entry point for AcpiWalkResources and improves the usability of
1025 +the resource manager by accepting as input a buffer containing the output
1026 +of either a _CRS, _PRS, or _AEI method. The key functionality is that the
1027 +input buffer is not deleted by this interface so that it can be used by
1028 +the host later. See the ACPICA reference for details.
1029 +
1030 +Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
1031 +(DSDT version < 2). The constant will be truncated and this warning
1032 +reflects that behavior.
1033 +
1034 +Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
1035 +ExtendedInterrupt, and GpioInt descriptors. This change adds support to
1036 +both get and set the new wake bit in these descriptors, separately from
1037 +the existing share bit. Reported by Aaron Lu.
1038 +
1039 +Interpreter: Fix Store() when an implicit conversion is not possible. For
1040 +example, in the cases such as a store of a string to an existing package
1041 +object, implement the store as a CopyObject(). This is a small departure
1042 +from the ACPI specification which states that the control method should
1043 +be
1044 +aborted in this case. However, the ASLTS suite depends on this behavior.
1045 +
1046 +Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
1047 +macros: check if debug output is currently enabled as soon as possible to
1048 +minimize performance impact if debug is in fact not enabled.
1049 +
1050 +Source code restructuring: Cleanup to improve modularity. The following
1051 +new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
1052 +psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
1053 +Associated makefiles and project files have been updated.
1054 +
1055 +Changed an exception code for LoadTable operator. For the case where one
1056 +of the input strings is too long, change the returned exception code from
1057 +AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
1058 +
1059 +Fixed a possible memory leak in dispatcher error path. On error, delete
1060 +the mutex object created during method mutex creation. Reported by
1061 +tim.gardner@canonical.com.
1062 +
1063 +Example Code and Data Size: These are the sizes for the OS-independent
1064 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1065 +debug version of the code includes the debug output trace mechanism and
1066 +has a much larger code and data size.
1067 +
1068 + Previous Release:
1069 + Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
1070 + Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1071 + Current Release:
1072 + Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
1073 + Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
1074 +
1075 +
1076 +2) iASL Compiler/Disassembler and Tools:
1077 +
1078 +iASL: Disallow a method call as argument to the ObjectType ASL operator.
1079 +This change tracks an errata to the ACPI 5.0 document. The AML grammar
1080 +will not allow the interpreter to differentiate between a method and a
1081 +method invocation when these are used as an argument to the ObjectType
1082 +operator. The ACPI specification change is to disallow a method
1083 +invocation
1084 +(UserTerm) for the ObjectType operator.
1085 +
1086 +Finish support for the TPM2 and CSRT tables in the headers, table
1087 +compiler, and disassembler.
1088 +
1089 +Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
1090 +always expires immediately if the semaphore is not available. The
1091 +original
1092 +code was using a relative-time timeout, but sem_timedwait requires the
1093 +use
1094 +of an absolute time.
1095 +
1096 +iASL: Added a remark if the Timer() operator is used within a 32-bit
1097 +table. This operator returns a 64-bit time value that will be truncated
1098 +within a 32-bit table.
1099 +
1100 +iASL Source code restructuring: Cleanup to improve modularity. The
1101 +following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
1102 +aslmethod.c, and aslfileio.c. Associated makefiles and project files have
1103 +been updated.
1104 +
1105 +
1106 +----------------------------------------
1107 +14 November 2012. Summary of changes for version 20121114:
1108 +
1109 +1) ACPICA Kernel-resident Subsystem:
1110 +
1111 +Implemented a performance enhancement for ACPI/AML Package objects. This
1112 +change greatly increases the performance of Package objects within the
1113 +interpreter. It changes the processing of reference counts for packages
1114 +by
1115 +optimizing for the most common case where the package sub-objects are
1116 +either Integers, Strings, or Buffers. Increases the overall performance
1117 +of
1118 +the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
1119 +2X.)
1120 +Chao Guan. ACPICA BZ 943.
1121 +
1122 +Implemented and deployed common macros to extract flag bits from resource
1123 +descriptors. Improves readability and maintainability of the code. Fixes
1124 +a
1125 +problem with the UART serial bus descriptor for the number of data bits
1126 +flags (was incorrectly 2 bits, should be 3).
1127 +
1128 +Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
1129 +of the macros and changed the SETx macros to the style of (destination,
1130 +source). Also added ACPI_CASTx companion macros. Lv Zheng.
1131 +
1132 +Example Code and Data Size: These are the sizes for the OS-independent
1133 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1134 +debug version of the code includes the debug output trace mechanism and
1135 +has a much larger code and data size.
1136 +
1137 + Previous Release:
1138 + Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
1139 + Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1140 + Current Release:
1141 + Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
1142 + Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1143 +
1144 +
1145 +2) iASL Compiler/Disassembler and Tools:
1146 +
1147 +Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
1148 +adds the ShareAndWake and ExclusiveAndWake flags which were added to the
1149 +Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
1150 +
1151 +Disassembler: Fixed a problem with external declaration generation. Fixes
1152 +a problem where an incorrect pathname could be generated for an external
1153 +declaration if the original reference to the object includes leading
1154 +carats (^). ACPICA BZ 984.
1155 +
1156 +Debugger: Completed a major update for the Disassemble<method> command.
1157 +This command was out-of-date and did not properly disassemble control
1158 +methods that had any reasonable complexity. This fix brings the command
1159 +up
1160 +to the same level as the rest of the disassembler. Adds one new file,
1161 +dmdeferred.c, which is existing code that is now common with the main
1162 +disassembler and the debugger disassemble command. ACPICA MZ 978.
1163 +
1164 +iASL: Moved the parser entry prototype to avoid a duplicate declaration.
1165 +Newer versions of Bison emit this prototype, so moved the prototype out
1166 +of
1167 +the iASL header to where it is actually used in order to avoid a
1168 +duplicate
1169 +declaration.
1170 +
1171 +iASL/Tools: Standardized use of the stream I/O functions:
1172 + 1) Ensure check for I/O error after every fopen/fread/fwrite
1173 + 2) Ensure proper order of size/count arguments for fread/fwrite
1174 + 3) Use test of (Actual != Requested) after all fwrite, and most fread
1175 + 4) Standardize I/O error messages
1176 +Improves reliability and maintainability of the code. Bob Moore, Lv
1177 +Zheng.
1178 +ACPICA BZ 981.
1179 +
1180 +Disassembler: Prevent duplicate External() statements. During generation
1181 +of external statements, detect similar pathnames that are actually
1182 +duplicates such as these:
1183 + External (\ABCD)
1184 + External (ABCD)
1185 +Remove all leading '\' characters from pathnames during the external
1186 +statement generation so that duplicates will be detected and tossed.
1187 +ACPICA BZ 985.
1188 +
1189 +Tools: Replace low-level I/O with stream I/O functions. Replace
1190 +open/read/write/close with the stream I/O equivalents
1191 +fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
1192 +Moore.
1193 +
1194 +AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
1195 +name header so that AcpiXtract recognizes the output file/table.
1196 +
1197 +iASL: Remove obsolete -2 option flag. Originally intended to force the
1198 +compiler/disassembler into an ACPI 2.0 mode, this was never implemented
1199 +and the entire concept is now obsolete.
1200 +
1201 +----------------------------------------
1202 +18 October 2012. Summary of changes for version 20121018:
1203 +
1204 +
1205 +1) ACPICA Kernel-resident Subsystem:
1206 +
1207 +Updated support for the ACPI 5.0 MPST table. Fixes some problems
1208 +introduced by late changes to the table as it was added to the ACPI 5.0
1209 +specification. Includes header, disassembler, and data table compiler
1210 +support as well as a new version of the MPST template.
1211 +
1212 +AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
1213 +5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
1214 +methods: _HID, _CID, and _UID.
1215 +
1216 +Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
1217 +ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
1218 +name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
1219 +names for their various drivers. Affects the AcpiGetObjectInfo external
1220 +interface, and other internal interfaces as well.
1221 +
1222 +Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
1223 +This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
1224 +on machines that support non-aligned transfers. Optimizes for this case
1225 +rather than using a strncpy. With assistance from Zheng Lv.
1226 +
1227 +Resource Manager: Small fix for buffer size calculation. Fixed a one byte
1228 +error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
1229 +
1230 +Added a new debug print message for AML mutex objects that are force-
1231 +released. At control method termination, any currently acquired mutex
1232 +objects are force-released. Adds a new debug-only message for each one
1233 +that is released.
1234 +
1235 +Audited/updated all ACPICA return macros and the function debug depth
1236 +counter: 1) Ensure that all functions that use the various TRACE macros
1237 +also use the appropriate ACPICA return macros. 2) Ensure that all normal
1238 +return statements surround the return expression (value) with parens to
1239 +ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
1240 +Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
1241 +
1242 +Global source code changes/maintenance: All extra lines at the start and
1243 +end of each source file have been removed for consistency. Also, within
1244 +comments, all new sentences start with a single space instead of a double
1245 +space, again for consistency across the code base.
1246 +
1247 +Example Code and Data Size: These are the sizes for the OS-independent
1248 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1249 +debug version of the code includes the debug output trace mechanism and
1250 +has a much larger code and data size.
1251 +
1252 + Previous Release:
1253 + Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
1254 + Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
1255 + Current Release:
1256 + Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
1257 + Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1258 +
1259 +
1260 +2) iASL Compiler/Disassembler and Tools:
1261 +
1262 +AcpiExec: Improved the algorithm used for memory leak/corruption
1263 +detection. Added some intelligence to the code that maintains the global
1264 +list of allocated memory. The list is now ordered by allocated memory
1265 +address, significantly improving performance. When running AcpiExec on
1266 +the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
1267 +on the platform and/or the environment. Note, this performance
1268 +enhancement affects the AcpiExec utility only, not the kernel-resident
1269 +ACPICA code.
1270 +
1271 +Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
1272 +the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
1273 +incorrect table offset reported for invalid opcodes. Report the original
1274 +32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
1275 +
1276 +Disassembler: Enhanced the -vt option to emit the binary table data in
1277 +hex format to assist with debugging.
1278 +
1279 +Fixed a potential filename buffer overflow in osunixdir.c. Increased the
1280 +size of file structure. Colin Ian King.
1281 +
1282 +----------------------------------------
1283 +13 September 2012. Summary of changes for version 20120913:
1284 +
1285 +
1286 +1) ACPICA Kernel-resident Subsystem:
1287 +
1288 +ACPI 5.0: Added two new notify types for the Hardware Error Notification
1289 +Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
1290 +and
1291 +MCE(6).
1292 +
1293 +Table Manager: Merged/removed duplicate code in the root table resize
1294 +functions. One function is external, the other is internal. Lv Zheng,
1295 +ACPICA
1296 +BZ 846.
1297 +
1298 +Makefiles: Completely removed the obsolete "Linux" makefiles under
1299 +acpica/generate/linux. These makefiles are obsolete and have been
1300 +replaced
1301 +by
1302 +the generic unix makefiles under acpica/generate/unix.
1303 +
1304 +Makefiles: Ensure that binary files always copied properly. Minor rule
1305 +change
1306 +to ensure that the final binary output files are always copied up to the
1307 +appropriate binary directory (bin32 or bin64.)
1308 +
1309 +Example Code and Data Size: These are the sizes for the OS-independent
1310 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1311 +debug
1312 +version of the code includes the debug output trace mechanism and has a
1313 +much
1314 +larger code and data size.
1315 +
1316 + Previous Release:
1317 + Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
1318 + Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
1319 + Current Release:
1320 + Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
1321 + Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
1322 +
1323 +
1324 +2) iASL Compiler/Disassembler and Tools:
1325 +
1326 +Disassembler: Fixed a possible fault during the disassembly of resource
1327 +descriptors when a second parse is required because of the invocation of
1328 +external control methods within the table. With assistance from
1329 +adq@lidskialf.net. ACPICA BZ 976.
1330 +
1331 +iASL: Fixed a namepath optimization problem. An error can occur if the
1332 +parse
1333 +node that contains the namepath to be optimized does not have a parent
1334 +node
1335 +that is a named object. This change fixes the problem.
1336 +
1337 +iASL: Fixed a regression where the AML file is not deleted on errors. The
1338 +AML
1339 +output file should be deleted if there are any errors during the
1340 +compiler.
1341 +The
1342 +only exception is if the -f (force output) option is used. ACPICA BZ 974.
1343 +
1344 +iASL: Added a feature to automatically increase internal line buffer
1345 +sizes.
1346 +Via realloc(), automatically increase the internal line buffer sizes as
1347 +necessary to support very long source code lines. The current version of
1348 +the
1349 +preprocessor requires a buffer long enough to contain full source code
1350 +lines.
1351 +This change increases the line buffer(s) if the input lines go beyond the
1352 +current buffer size. This eliminates errors that occurred when a source
1353 +code
1354 +line was longer than the buffer.
1355 +
1356 +iASL: Fixed a problem with constant folding in method declarations. The
1357 +SyncLevel term is a ByteConstExpr, and incorrect code would be generated
1358 +if a
1359 +Type3 opcode was used.
1360 +
1361 +Debugger: Improved command help support. For incorrect argument count,
1362 +display
1363 +full help for the command. For help command itself, allow an argument to
1364 +specify a command.
1365 +
1366 +Test Suites: Several bug fixes for the ASLTS suite reduces the number of
1367 +errors during execution of the suite. Guan Chao.
1368 +
1369 +----------------------------------------
1370 +16 August 2012. Summary of changes for version 20120816:
1371 +
1372 +
1373 +1) ACPICA Kernel-resident Subsystem:
1374 +
1375 +Removed all use of the deprecated _GTS and _BFS predefined methods. The
1376 +_GTS
1377 +(Going To Sleep) and _BFS (Back From Sleep) methods are essentially
1378 +deprecated and will probably be removed from the ACPI specification.
1379 +Windows
1380 +does not invoke them, and reportedly never will. The final nail in the
1381 +coffin
1382 +is that the ACPI specification states that these methods must be run with
1383 +interrupts off, which is not going to happen in a kernel interpreter.
1384 +Note:
1385 +Linux has removed all use of the methods also. It was discovered that
1386 +invoking these functions caused failures on some machines, probably
1387 +because
1388 +they were never tested since Windows does not call them. Affects two
1389 +external
1390 +interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
1391 +ACPICA BZ 969.
1392 +
1393 +Implemented support for complex bit-packed buffers returned from the _PLD
1394 +(Physical Location of Device) predefined method. Adds a new external
1395 +interface, AcpiDecodePldBuffer that parses the buffer into a more usable
1396 +C
1397 +structure. Note: C Bitfields cannot be used for this type of predefined
1398 +structure since the memory layout of individual bitfields is not defined
1399 +by
1400 +the C language. In addition, there are endian concerns where a compiler
1401 +will
1402 +change the bitfield ordering based on the machine type. The new ACPICA
1403 +interface eliminates these issues, and should be called after _PLD is
1404 +executed. ACPICA BZ 954.
1405 +
1406 +Implemented a change to allow a scope change to root (via "Scope (\)")
1407 +during
1408 +execution of module-level ASL code (code that is executed at table load
1409 +time.) Lin Ming.
1410 +
1411 +Added the Windows8/Server2012 string for the _OSI method. This change
1412 +adds
1413 +a
1414 +new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
1415 +2012.
1416 +
1417 +Added header support for the new ACPI tables DBG2 (Debug Port Table Type
1418 +2)
1419 +and CSRT (Core System Resource Table).
1420 +
1421 +Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
1422 +names. This simplifies access to the buffers returned by these predefined
1423 +names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
1424 +
1425 +GPE support: Removed an extraneous parameter from the various low-level
1426 +internal GPE functions. Tang Feng.
1427 +
1428 +Removed the linux makefiles from the unix packages. The generate/linux
1429 +makefiles are obsolete and have been removed from the unix tarball
1430 +release
1431 +packages. The replacement makefiles are under generate/unix, and there is
1432 +a
1433 +top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
1434 +
1435 +Updates for Unix makefiles:
1436 +1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
1437 +2) Update linker flags (move to end of command line) for AcpiExec
1438 +utility.
1439 +Guan Chao.
1440 +
1441 +Split ACPICA initialization functions to new file, utxfinit.c. Split from
1442 +utxface.c to improve modularity and reduce file size.
1443 +
1444 +Example Code and Data Size: These are the sizes for the OS-independent
1445 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1446 +debug version of the code includes the debug output trace mechanism and
1447 +has a
1448 +much larger code and data size.
1449 +
1450 + Previous Release:
1451 + Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
1452 + Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
1453 + Current Release:
1454 + Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
1455 + Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
1456 +
1457 +
1458 +2) iASL Compiler/Disassembler and Tools:
1459 +
1460 +iASL: Fixed a problem with constant folding for fixed-length constant
1461 +expressions. The constant-folding code was not being invoked for constant
1462 +expressions that allow the use of type 3/4/5 opcodes to generate
1463 +constants
1464 +for expressions such as ByteConstExpr, WordConstExpr, etc. This could
1465 +result
1466 +in the generation of invalid AML bytecode. ACPICA BZ 970.
1467 +
1468 +iASL: Fixed a generation issue on newer versions of Bison. Newer versions
1469 +apparently automatically emit some of the necessary externals. This
1470 +change
1471 +handles these versions in order to eliminate generation warnings.
1472 +
1473 +Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
1474 +
1475 +Disassembler: Add support to decode _PLD buffers. The decoded buffer
1476 +appears
1477 +within comments in the output file.
1478 +
1479 +Debugger: Fixed a regression with the "Threads" command where
1480 +AE_BAD_PARAMETER was always returned.
1481 +
1482 +----------------------------------------
1483 +11 July 2012. Summary of changes for version 20120711:
1484 +
1485 +1) ACPICA Kernel-resident Subsystem:
1486 +
1487 +Fixed a possible fault in the return package object repair code. Fixes a
1488 +problem that can occur when a lone package object is wrapped with an
1489 +outer
1490 +package object in order to force conformance to the ACPI specification.
1491 +Can
1492 +affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
1493 +_DLM,
1494 +_CSD, _PSD, _TSD.
1495 +
1496 +Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
1497 +PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
1498 +ARB_DIS bit must be implemented in the host-dependent C3 processor power
1499 +state
1500 +support. Note, ARB_DIS is obsolete and only applies to older chipsets,
1501 +both
1502 +Intel and other vendors. (for Intel: ICH4-M and earlier)
1503 +
1504 +This change removes the code to disable/enable bus master arbitration
1505 +during
1506 +suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
1507 +causes
1508 +resume problems on some machines. The change has been in use for over
1509 +seven
1510 +years within Linux.
1511 +
1512 +Implemented two new external interfaces to support host-directed dynamic
1513 +ACPI
1514 +table load and unload. They are intended to simplify the host
1515 +implementation
1516 +of hot-plug support:
1517 + AcpiLoadTable: Load an SSDT from a buffer into the namespace.
1518 + AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
1519 +table.
1520 +See the ACPICA reference for additional details. Adds one new file,
1521 +components/tables/tbxfload.c
1522 +
1523 +Implemented and deployed two new interfaces for errors and warnings that
1524 +are
1525 +known to be caused by BIOS/firmware issues:
1526 + AcpiBiosError: Prints "ACPI Firmware Error" message.
1527 + AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
1528 +Deployed these new interfaces in the ACPICA Table Manager code for ACPI
1529 +table
1530 +and FADT errors. Additional deployment to be completed as appropriate in
1531 +the
1532 +future. The associated conditional macros are ACPI_BIOS_ERROR and
1533 +ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
1534 +ACPICA
1535 +BZ
1536 +843.
1537 +
1538 +Implicit notify support: ensure that no memory allocation occurs within a
1539 +critical region. This fix moves a memory allocation outside of the time
1540 +that a
1541 +spinlock is held. Fixes issues on systems that do not allow this
1542 +behavior.
1543 +Jung-uk Kim.
1544 +
1545 +Split exception code utilities and tables into a new file,
1546 +utilities/utexcep.c
1547 +
1548 +Example Code and Data Size: These are the sizes for the OS-independent
1549 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1550 +debug
1551 +version of the code includes the debug output trace mechanism and has a
1552 +much
1553 +larger code and data size.
1554 +
1555 + Previous Release:
1556 + Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
1557 + Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
1558 + Current Release:
1559 + Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
1560 + Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
1561 +
1562 +
1563 +2) iASL Compiler/Disassembler and Tools:
1564 +
1565 +iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
1566 +of
1567 +0. Jung-uk Kim.
1568 +
1569 +Debugger: Enhanced the "tables" command to emit additional information
1570 +about
1571 +the current set of ACPI tables, including the owner ID and flags decode.
1572 +
1573 +Debugger: Reimplemented the "unload" command to use the new
1574 +AcpiUnloadParentTable external interface. This command was disable
1575 +previously
1576 +due to need for an unload interface.
1577 +
1578 +AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
1579 +option
1580 +will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
1581 +
1582 +----------------------------------------
1583 +20 June 2012. Summary of changes for version 20120620:
1584 +
1585 +
1586 +1) ACPICA Kernel-resident Subsystem:
1587 +
1588 +Implemented support to expand the "implicit notify" feature to allow
1589 +multiple
1590 +devices to be notified by a single GPE. This feature automatically
1591 +generates a
1592 +runtime device notification in the absence of a BIOS-provided GPE control
1593 +method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
1594 +notify is
1595 +provided by ACPICA for Windows compatibility, and is a workaround for
1596 +BIOS
1597 +AML
1598 +code errors. See the description of the AcpiSetupGpeForWake interface in
1599 +the
1600 +APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
1601 +
1602 +Changed some comments and internal function names to simplify and ensure
1603 +correctness of the Linux code translation. No functional changes.
1604 +
1605 +Example Code and Data Size: These are the sizes for the OS-independent
1606 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1607 +debug
1608 +version of the code includes the debug output trace mechanism and has a
1609 +much
1610 +larger code and data size.
1611 +
1612 + Previous Release:
1613 + Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
1614 + Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
1615 + Current Release:
1616 + Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
1617 + Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
1618 +
1619 +
1620 +2) iASL Compiler/Disassembler and Tools:
1621 +
1622 +Disassembler: Added support to emit short, commented descriptions for the
1623 +ACPI
1624 +predefined names in order to improve the readability of the disassembled
1625 +output. ACPICA BZ 959. Changes include:
1626 + 1) Emit descriptions for all standard predefined names (_INI, _STA,
1627 +_PRW,
1628 +etc.)
1629 + 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
1630 + 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
1631 +etc.)
1632 +
1633 +AcpiSrc: Fixed several long-standing Linux code translation issues.
1634 +Argument
1635 +descriptions in function headers are now translated properly to lower
1636 +case
1637 +and
1638 +underscores. ACPICA BZ 961. Also fixes translation problems such as
1639 +these:
1640 +(old -> new)
1641 + i_aSL -> iASL
1642 + 00-7_f -> 00-7F
1643 + 16_k -> 16K
1644 + local_fADT -> local_FADT
1645 + execute_oSI -> execute_OSI
1646 +
1647 +iASL: Fixed a problem where null bytes were inadvertently emitted into
1648 +some
1649 +listing files.
1650 +
1651 +iASL: Added the existing debug options to the standard help screen. There
1652 +are
1653 +no longer two different help screens. ACPICA BZ 957.
1654 +
1655 +AcpiHelp: Fixed some typos in the various predefined name descriptions.
1656 +Also
1657 +expand some of the descriptions where appropriate.
1658 +
1659 +iASL: Fixed the -ot option (display compile times/statistics). Was not
1660 +working
1661 +properly for standard output; only worked for the debug file case.
1662 +
1663 +----------------------------------------
1664 +18 May 2012. Summary of changes for version 20120518:
1665 +
1666 +
1667 +1) ACPICA Core Subsystem:
1668 +
1669 +Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
1670 +defined
1671 +to block until asynchronous events such as notifies and GPEs have
1672 +completed.
1673 +Within ACPICA, it is only called before a notify or GPE handler is
1674 +removed/uninstalled. It also may be useful for the host OS within related
1675 +drivers such as the Embedded Controller driver. See the ACPICA reference
1676 +for
1677 +additional information. ACPICA BZ 868.
1678 +
1679 +ACPI Tables: Added a new error message for a possible overflow failure
1680 +during
1681 +the conversion of FADT 32-bit legacy register addresses to internal
1682 +common
1683 +64-
1684 +bit GAS structure representation. The GAS has a one-byte "bit length"
1685 +field,
1686 +thus limiting the register length to 255 bits. ACPICA BZ 953.
1687 +
1688 +Example Code and Data Size: These are the sizes for the OS-independent
1689 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1690 +debug
1691 +version of the code includes the debug output trace mechanism and has a
1692 +much
1693 +larger code and data size.
1694 +
1695 + Previous Release:
1696 + Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1697 + Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
1698 + Current Release:
1699 + Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
1700 + Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
1701 +
1702 +
1703 +2) iASL Compiler/Disassembler and Tools:
1704 +
1705 +iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
1706 +macro.
1707 +This keyword was added late in the ACPI 5.0 release cycle and was not
1708 +implemented until now.
1709 +
1710 +Disassembler: Added support for Operation Region externals. Adds missing
1711 +support for operation regions that are defined in another table, and
1712 +referenced locally via a Field or BankField ASL operator. Now generates
1713 +the
1714 +correct External statement.
1715 +
1716 +Disassembler: Several additional fixes for the External() statement
1717 +generation
1718 +related to some ASL operators. Also, order the External() statements
1719 +alphabetically in the disassembler output. Fixes the External()
1720 +generation
1721 +for
1722 +the Create* field, Alias, and Scope operators:
1723 + 1) Create* buffer field operators - fix type mismatch warning on
1724 +disassembly
1725 + 2) Alias - implement missing External support
1726 + 3) Scope - fix to make sure all necessary externals are emitted.
1727 +
1728 +iASL: Improved pathname support. For include files, merge the prefix
1729 +pathname
1730 +with the file pathname and eliminate unnecessary components. Convert
1731 +backslashes in all pathnames to forward slashes, for readability. Include
1732 +file
1733 +pathname changes affect both #include and Include() type operators.
1734 +
1735 +iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
1736 +end
1737 +of a valid line by inserting a newline and then returning the EOF during
1738 +the
1739 +next call to GetNextLine. Prevents the line from being ignored due to EOF
1740 +condition.
1741 +
1742 +iASL: Implemented some changes to enhance the IDE support (-vi option.)
1743 +Error
1744 +and Warning messages are now correctly recognized for both the source
1745 +code
1746 +browser and the global error and warning counts.
1747 +
1748 +----------------------------------------
1749 +20 April 2012. Summary of changes for version 20120420:
1750 +
1751 +
1752 +1) ACPICA Core Subsystem:
1753 +
1754 +Implemented support for multiple notify handlers. This change adds
1755 +support
1756 +to
1757 +allow multiple system and device notify handlers on Device, Thermal Zone,
1758 +and
1759 +Processor objects. This can simplify the host OS notification
1760 +implementation.
1761 +Also re-worked and restructured the entire notify support code to
1762 +simplify
1763 +handler installation, handler removal, notify event queuing, and notify
1764 +dispatch to handler(s). Note: there can still only be two global notify
1765 +handlers - one for system notifies and one for device notifies. There are
1766 +no
1767 +changes to the existing handler install/remove interfaces. Lin Ming, Bob
1768 +Moore, Rafael Wysocki.
1769 +
1770 +Fixed a regression in the package repair code where the object reference
1771 +count was calculated incorrectly. Regression was introduced in the commit
1772 +"Support to add Package wrappers".
1773 +
1774 +Fixed a couple possible memory leaks in the AML parser, in the error
1775 +recovery
1776 +path. Jesper Juhl, Lin Ming.
1777 +
1778 +Example Code and Data Size: These are the sizes for the OS-independent
1779 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1780 +debug version of the code includes the debug output trace mechanism and
1781 +has a
1782 +much larger code and data size.
1783 +
1784 + Previous Release:
1785 + Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1786 + Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1787 + Current Release:
1788 + Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1789 + Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
1790 +
1791 +
1792 +2) iASL Compiler/Disassembler and Tools:
1793 +
1794 +iASL: Fixed a problem with the resource descriptor support where the
1795 +length
1796 +of the StartDependentFn and StartDependentFnNoPrio descriptors were not
1797 +included in cumulative descriptor offset, resulting in incorrect values
1798 +for
1799 +resource tags within resource descriptors appearing after a
1800 +StartDependent*
1801 +descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
1802 +
1803 +iASL and Preprocessor: Implemented full support for the #line directive
1804 +to
1805 +correctly track original source file line numbers through the .i
1806 +preprocessor
1807 +output file - for error and warning messages.
1808 +
1809 +iASL: Expand the allowable byte constants for address space IDs.
1810 +Previously,
1811 +the allowable range was 0x80-0xFF (user-defined spaces), now the range is
1812 +0x0A-0xFF to allow for custom and new IDs without changing the compiler.
1813 +
1814 +iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
1815 +
1816 +iASL: Add option to completely disable the preprocessor (-Pn).
1817 +
1818 +iASL: Now emit all error/warning messages to standard error (stderr) by
1819 +default (instead of the previous stdout).
1820 +
1821 +ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
1822 +Update
1823 +for resource descriptor offset fix above. Update/cleanup error output
1824 +routines. Enable and send iASL errors/warnings to an error logfile
1825 +(error.txt). Send all other iASL output to a logfile (compiler.txt).
1826 +Fixed
1827 +several extraneous "unrecognized operator" messages.
1828 +
1829 +----------------------------------------
1830 +20 March 2012. Summary of changes for version 20120320:
1831 +
1832 +
1833 +1) ACPICA Core Subsystem:
1834 +
1835 +Enhanced the sleep/wake interfaces to optionally execute the _GTS method
1836 +(Going To Sleep) and the _BFS method (Back From Sleep). Windows
1837 +apparently
1838 +does not execute these methods, and therefore these methods are often
1839 +untested. It has been seen on some systems where the execution of these
1840 +methods causes errors and also prevents the machine from entering S5. It
1841 +is
1842 +therefore suggested that host operating systems do not execute these
1843 +methods
1844 +by default. In the future, perhaps these methods can be optionally
1845 +executed
1846 +based on the age of the system and/or what is the newest version of
1847 +Windows
1848 +that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
1849 +and
1850 +AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
1851 +Ming.
1852 +
1853 +Fixed a problem where the length of the local/common FADT was set too
1854 +early.
1855 +The local FADT table length cannot be set to the common length until the
1856 +original length has been examined. There is code that checks the table
1857 +length
1858 +and sets various fields appropriately. This can affect older machines
1859 +with
1860 +early FADT versions. For example, this can cause inadvertent writes to
1861 +the
1862 +CST_CNT register. Julian Anastasov.
1863 +
1864 +Fixed a mapping issue related to a physical table override. Use the
1865 +deferred
1866 +mapping mechanism for tables loaded via the physical override OSL
1867 +interface.
1868 +This allows for early mapping before the virtual memory manager is
1869 +available.
1870 +Thomas Renninger, Bob Moore.
1871 +
1872 +Enhanced the automatic return-object repair code: Repair a common problem
1873 +with
1874 +predefined methods that are defined to return a variable-length Package
1875 +of
1876 +sub-objects. If there is only one sub-object, some BIOS ASL code
1877 +mistakenly
1878 +simply returns the single object instead of a Package with one sub-
1879 +object.
1880 +This new support will repair this error by wrapping a Package object
1881 +around
1882 +the original object, creating the correct and expected Package with one
1883 +sub-
1884 +object. Names that can be repaired in this manner include: _ALR, _CSD,
1885 +_HPX,
1886 +_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
1887 +939.
1888 +
1889 +Changed the exception code returned for invalid ACPI paths passed as
1890 +parameters to external interfaces such as AcpiEvaluateObject. Was
1891 +AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
1892 +
1893 +Example Code and Data Size: These are the sizes for the OS-independent
1894 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1895 +debug
1896 +version of the code includes the debug output trace mechanism and has a
1897 +much
1898 +larger code and data size.
1899 +
1900 + Previous Release:
1901 + Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
1902 + Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1903 + Current Release:
1904 + Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1905 + Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1906 +
1907 +
1908 +2) iASL Compiler/Disassembler and Tools:
1909 +
1910 +iASL: Added the infrastructure and initial implementation of a integrated
1911 +C-
1912 +like preprocessor. This will simplify BIOS development process by
1913 +eliminating
1914 +the need for a separate preprocessing step during builds. On Windows, it
1915 +also
1916 +eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
1917 +features including full #define() macro support are still under
1918 +development.
1919 +These preprocessor directives are supported:
1920 + #define
1921 + #elif
1922 + #else
1923 + #endif
1924 + #error
1925 + #if
1926 + #ifdef
1927 + #ifndef
1928 + #include
1929 + #pragma message
1930 + #undef
1931 + #warning
1932 +In addition, these new command line options are supported:
1933 + -D <symbol> Define symbol for preprocessor use
1934 + -li Create preprocessed output file (*.i)
1935 + -P Preprocess only and create preprocessor output file (*.i)
1936 +
1937 +Table Compiler: Fixed a problem where the equals operator within an
1938 +expression
1939 +did not work properly.
1940 +
1941 +Updated iASL to use the current versions of Bison/Flex. Updated the
1942 +Windows
1943 +project file to invoke these tools from the standard location. ACPICA BZ
1944 +904.
1945 +Versions supported:
1946 + Flex for Windows: V2.5.4
1947 + Bison for Windows: V2.4.1
1948 +
1949 +----------------------------------------
1950 +15 February 2012. Summary of changes for version 20120215:
1951 +
1952 +
1953 +1) ACPICA Core Subsystem:
1954 +
1955 +There have been some major changes to the sleep/wake support code, as
1956 +described below (a - e).
1957 +
1958 +a) The AcpiLeaveSleepState has been split into two interfaces, similar to
1959 +AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
1960 +AcpiLeaveSleepStatePrep. This allows the host to perform actions between
1961 +the
1962 +time the _BFS method is called and the _WAK method is called. NOTE: all
1963 +hosts
1964 +must update their wake/resume code or else sleep/wake will not work
1965 +properly.
1966 +Rafael Wysocki.
1967 +
1968 +b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
1969 +_WAK
1970 +method. Some machines require that the GPEs are enabled before the _WAK
1971 +method
1972 +is executed. Thomas Renninger.
1973 +
1974 +c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
1975 +bit.
1976 +Some BIOS code assumes that WAK_STS will be cleared on resume and use it
1977 +to
1978 +determine whether the system is rebooting or resuming. Matthew Garrett.
1979 +
1980 +d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
1981 +Sleep) to
1982 +match the ACPI specification requirement. Rafael Wysocki.
1983 +
1984 +e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
1985 +registers within the V5 FADT. This support adds two new files:
1986 +hardware/hwesleep.c implements the support for the new registers. Moved
1987 +all
1988 +sleep/wake external interfaces to hardware/hwxfsleep.c.
1989 +
1990 +
1991 +Added a new OSL interface for ACPI table overrides,
1992 +AcpiOsPhysicalTableOverride. This interface allows the host to override a
1993 +table via a physical address, instead of the logical address required by
1994 +AcpiOsTableOverride. This simplifies the host implementation. Initial
1995 +implementation by Thomas Renninger. The ACPICA implementation creates a
1996 +single
1997 +shared function for table overrides that attempts both a logical and a
1998 +physical override.
1999 +
2000 +Expanded the OSL memory read/write interfaces to 64-bit data
2001 +(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
2002 +transfer support for GAS register structures passed to AcpiRead and
2003 +AcpiWrite.
2004 +
2005 +Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
2006 +custom
2007 +build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
2008 +model.
2009 +See the ACPICA reference for details. ACPICA BZ 942. This option removes
2010 +about
2011 +10% of the code and 5% of the static data, and the following hardware
2012 +ACPI
2013 +features become unavailable:
2014 + PM Event and Control registers
2015 + SCI interrupt (and handler)
2016 + Fixed Events
2017 + General Purpose Events (GPEs)
2018 + Global Lock
2019 + ACPI PM timer
2020 + FACS table (Waking vectors and Global Lock)
2021 +
2022 +Updated the unix tarball directory structure to match the ACPICA git
2023 +source
2024 +tree. This ensures that the generic unix makefiles work properly (in
2025 +generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
2026 +867.
2027 +
2028 +Updated the return value of the _REV predefined method to integer value 5
2029 +to
2030 +reflect ACPI 5.0 support.
2031 +
2032 +Moved the external ACPI PM timer interface prototypes to the public
2033 +acpixf.h
2034 +file where they belong.
2035 +
2036 +Example Code and Data Size: These are the sizes for the OS-independent
2037 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2038 +debug
2039 +version of the code includes the debug output trace mechanism and has a
2040 +much
2041 +larger code and data size.
2042 +
2043 + Previous Release:
2044 + Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
2045 + Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
2046 + Current Release:
2047 + Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
2048 + Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
2049 +
2050 +
2051 +2) iASL Compiler/Disassembler and Tools:
2052 +
2053 +Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
2054 +descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
2055 +incorrectly displayed.
2056 +
2057 +AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
2058 +specification.
2059 +
2060 +----------------------------------------
2061 +11 January 2012. Summary of changes for version 20120111:
2062 +
2063 +
2064 +1) ACPICA Core Subsystem:
2065 +
2066 +Implemented a new mechanism to allow host device drivers to check for
2067 +address
2068 +range conflicts with ACPI Operation Regions. Both SystemMemory and
2069 +SystemIO
2070 +address spaces are supported. A new external interface,
2071 +AcpiCheckAddressRange,
2072 +allows drivers to check an address range against the ACPI namespace. See
2073 +the
2074 +ACPICA reference for additional details. Adds one new file,
2075 +utilities/utaddress.c. Lin Ming, Bob Moore.
2076 +
2077 +Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
2078 +Control
2079 +and
2080 +Status registers, update the ACPI 5.0 flags, and update internal data
2081 +structures to handle an FADT larger than 256 bytes. The size of the ACPI
2082 +5.0
2083 +FADT is 268 bytes.
2084 +
2085 +Updated all ACPICA copyrights and signons to 2012. Added the 2012
2086 +copyright to
2087 +all module headers and signons, including the standard Linux header. This
2088 +affects virtually every file in the ACPICA core subsystem, iASL compiler,
2089 +and
2090 +all ACPICA utilities.
2091 +
2092 +Example Code and Data Size: These are the sizes for the OS-independent
2093 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2094 +debug
2095 +version of the code includes the debug output trace mechanism and has a
2096 +much
2097 +larger code and data size.
2098 +
2099 + Previous Release:
2100 + Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
2101 + Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
2102 + Current Release:
2103 + Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
2104 + Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
2105 +
2106 +
2107 +2) iASL Compiler/Disassembler and Tools:
2108 +
2109 +Disassembler: fixed a problem with the automatic resource tag generation
2110 +support. Fixes a problem where the resource tags are inadvertently not
2111 +constructed if the table being disassembled contains external references
2112 +to
2113 +control methods. Moved the actual construction of the tags to after the
2114 +final
2115 +namespace is constructed (after 2nd parse is invoked due to external
2116 +control
2117 +method references.) ACPICA BZ 941.
2118 +
2119 +Table Compiler: Make all "generic" operators caseless. These are the
2120 +operators
2121 +like UINT8, String, etc. Making these caseless improves ease-of-use.
2122 +ACPICA BZ
2123 +934.
2124 +
2125 +----------------------------------------
2126 +23 November 2011. Summary of changes for version 20111123:
2127 +
2128 +0) ACPI 5.0 Support:
2129 +
2130 +This release contains full support for the ACPI 5.0 specification, as
2131 +summarized below.
2132 +
2133 +Reduced Hardware Support:
2134 +-------------------------
2135 +
2136 +This support allows for ACPI systems without the usual ACPI hardware.
2137 +This
2138 +support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
2139 +will
2140 +not attempt to initialize or use any of the usual ACPI hardware. Note,
2141 +when
2142 +this flag is set, all of the following ACPI hardware is assumed to be not
2143 +present and is not initialized or accessed:
2144 +
2145 + General Purpose Events (GPEs)
2146 + Fixed Events (PM1a/PM1b and PM Control)
2147 + Power Management Timer and Console Buttons (power/sleep)
2148 + Real-time Clock Alarm
2149 + Global Lock
2150 + System Control Interrupt (SCI)
2151 + The FACS is assumed to be non-existent
2152 +
2153 +ACPI Tables:
2154 +------------
2155 +
2156 +All new tables and updates to existing tables are fully supported in the
2157 +ACPICA headers (for use by device drivers), the disassembler, and the
2158 +iASL
2159 +Data Table Compiler. ACPI 5.0 defines these new tables:
2160 +
2161 + BGRT /* Boot Graphics Resource Table */
2162 + DRTM /* Dynamic Root of Trust for Measurement table */
2163 + FPDT /* Firmware Performance Data Table */
2164 + GTDT /* Generic Timer Description Table */
2165 + MPST /* Memory Power State Table */
2166 + PCCT /* Platform Communications Channel Table */
2167 + PMTT /* Platform Memory Topology Table */
2168 + RASF /* RAS Feature table */
2169 +
2170 +Operation Regions/SpaceIDs:
2171 +---------------------------
2172 +
2173 +All new operation regions are fully supported by the iASL compiler, the
2174 +disassembler, and the ACPICA runtime code (for dispatch to region
2175 +handlers.)
2176 +The new operation region Space IDs are:
2177 +
2178 + GeneralPurposeIo
2179 + GenericSerialBus
2180 +
2181 +Resource Descriptors:
2182 +---------------------
2183 +
2184 +All new ASL resource descriptors are fully supported by the iASL
2185 +compiler,
2186 +the
2187 +ASL/AML disassembler, and the ACPICA runtime Resource Manager code
2188 +(including
2189 +all new predefined resource tags). New descriptors are:
2190 +
2191 + FixedDma
2192 + GpioIo
2193 + GpioInt
2194 + I2cSerialBus
2195 + SpiSerialBus
2196 + UartSerialBus
2197 +
2198 +ASL/AML Operators, New and Modified:
2199 +------------------------------------
2200 +
2201 +One new operator is added, the Connection operator, which is used to
2202 +associate
2203 +a GeneralPurposeIo or GenericSerialBus resource descriptor with
2204 +individual
2205 +field objects within an operation region. Several new protocols are
2206 +associated
2207 +with the AccessAs operator. All are fully supported by the iASL compiler,
2208 +disassembler, and runtime ACPICA AML interpreter:
2209 +
2210 + Connection // Declare Field Connection
2211 +attributes
2212 + AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
2213 + AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
2214 +Protocol
2215 + AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
2216 + RawDataBuffer // Data type for Vendor Data
2217 +fields
2218 +
2219 +Predefined ASL/AML Objects:
2220 +---------------------------
2221 +
2222 +All new predefined objects/control-methods are supported by the iASL
2223 +compiler
2224 +and the ACPICA runtime validation/repair (arguments and return values.)
2225 +New
2226 +predefined names include the following:
2227 +
2228 +Standard Predefined Names (Objects or Control Methods):
2229 + _AEI, _CLS, _CPC, _CWS, _DEP,
2230 + _DLM, _EVT, _GCP, _CRT, _GWS,
2231 + _HRV, _PRE, _PSE, _SRT, _SUB.
2232 +
2233 +Resource Tags (Names used to access individual fields within resource
2234 +descriptors):
2235 + _DBT, _DPL, _DRS, _END, _FLC,
2236 + _IOR, _LIN, _MOD, _PAR, _PHA,
2237 + _PIN, _PPI, _POL, _RXL, _SLV,
2238 + _SPE, _STB, _TXL, _VEN.
2239 +
2240 +ACPICA External Interfaces:
2241 +---------------------------
2242 +
2243 +Several new interfaces have been defined for use by ACPI-related device
2244 +drivers and other host OS services:
2245 +
2246 +AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
2247 +to
2248 +acquire and release AML mutexes that are defined in the DSDT/SSDT tables
2249 +provided by the BIOS. They are intended to be used in conjunction with
2250 +the
2251 +ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
2252 +mutual exclusion with the AML code/interpreter.
2253 +
2254 +AcpiGetEventResources: Returns the (formatted) resource descriptors as
2255 +defined
2256 +by the ACPI 5.0 _AEI object (ACPI Event Information). This object
2257 +provides
2258 +resource descriptors associated with hardware-reduced platform events,
2259 +similar
2260 +to the AcpiGetCurrentResources interface.
2261 +
2262 +Operation Region Handlers: For General Purpose IO and Generic Serial Bus
2263 +operation regions, information about the Connection() object and any
2264 +optional
2265 +length information is passed to the region handler within the Context
2266 +parameter.
2267 +
2268 +AcpiBufferToResource: This interface converts a raw AML buffer containing
2269 +a
2270 +resource template or resource descriptor to the ACPI_RESOURCE internal
2271 +format
2272 +suitable for use by device drivers. Can be used by an operation region
2273 +handler
2274 +to convert the Connection() buffer object into a ACPI_RESOURCE.
2275 +
2276 +Miscellaneous/Tools/TestSuites:
2277 +-------------------------------
2278 +
2279 +Support for extended _HID names (Four alpha characters instead of three).
2280 +Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
2281 +Support for ACPI 5.0 features in the ASLTS test suite.
2282 +Fully updated documentation (ACPICA and iASL reference documents.)
2283 +
2284 +ACPI Table Definition Language:
2285 +-------------------------------
2286 +
2287 +Support for this language was implemented and released as a subsystem of
2288 +the
2289 +iASL compiler in 2010. (See the iASL compiler User Guide.)
2290 +
2291 +
2292 +Non-ACPI 5.0 changes for this release:
2293 +--------------------------------------
2294 +
2295 +1) ACPICA Core Subsystem:
2296 +
2297 +Fix a problem with operation region declarations where a failure can
2298 +occur
2299 +if
2300 +the region name and an argument that evaluates to an object (such as the
2301 +region address) are in different namespace scopes. Lin Ming, ACPICA BZ
2302 +937.
2303 +
2304 +Do not abort an ACPI table load if an invalid space ID is found within.
2305 +This
2306 +will be caught later if the offending method is executed. ACPICA BZ 925.
2307 +
2308 +Fixed an issue with the FFixedHW space ID where the ID was not always
2309 +recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
2310 +
2311 +Fixed a problem with the 32-bit generation of the unix-specific OSL
2312 +(osunixxf.c). Lin Ming, ACPICA BZ 936.
2313 +
2314 +Several changes made to enable generation with the GCC 4.6 compiler.
2315 +ACPICA BZ
2316 +935.
2317 +
2318 +New error messages: Unsupported I/O requests (not 8/16/32 bit), and
2319 +Index/Bank
2320 +field registers out-of-range.
2321 +
2322 +2) iASL Compiler/Disassembler and Tools:
2323 +
2324 +iASL: Implemented the __PATH__ operator, which returns the full pathname
2325 +of
2326 +the current source file.
2327 +
2328 +AcpiHelp: Automatically display expanded keyword information for all ASL
2329 +operators.
2330 +
2331 +Debugger: Add "Template" command to disassemble/dump resource template
2332 +buffers.
2333 +
2334 +Added a new master script to generate and execute the ASLTS test suite.
2335 +Automatically handles 32- and 64-bit generation. See tests/aslts.sh
2336 +
2337 +iASL: Fix problem with listing generation during processing of the
2338 +Switch()
2339 +operator where AML listing was disabled until the entire Switch block was
2340 +completed.
2341 +
2342 +iASL: Improve support for semicolon statement terminators. Fix "invalid
2343 +character" message for some cases when the semicolon is used. Semicolons
2344 +are
2345 +now allowed after every <Term> grammar element. ACPICA BZ 927.
2346 +
2347 +iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
2348 +923.
2349 +
2350 +Disassembler: Fix problem with disassembly of the DataTableRegion
2351 +operator
2352 +where an inadvertent "Unhandled deferred opcode" message could be
2353 +generated.
2354 +
2355 +3) Example Code and Data Size
2356 +
2357 +These are the sizes for the OS-independent acpica.lib produced by the
2358 +Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
2359 +includes the debug output trace mechanism and has a much larger code and
2360 +data
2361 +size.
2362 +
2363 + Previous Release:
2364 + Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2365 + Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2366 + Current Release:
2367 + Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
2368 + Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
2369 +
2370 +----------------------------------------
2371 +22 September 2011. Summary of changes for version 20110922:
2372 +
2373 +0) ACPI 5.0 News:
2374 +
2375 +Support for ACPI 5.0 in ACPICA has been underway for several months and
2376 +will
2377 +be released at the same time that ACPI 5.0 is officially released.
2378 +
2379 +The ACPI 5.0 specification is on track for release in the next few
2380 +months.
2381 +
2382 +1) ACPICA Core Subsystem:
2383 +
2384 +Fixed a problem where the maximum sleep time for the Sleep() operator was
2385 +intended to be limited to two seconds, but was inadvertently limited to
2386 +20
2387 +seconds instead.
2388 +
2389 +Linux and Unix makefiles: Added header file dependencies to ensure
2390 +correct
2391 +generation of ACPICA core code and utilities. Also simplified the
2392 +makefiles
2393 +considerably through the use of the vpath variable to specify search
2394 +paths.
2395 +ACPICA BZ 924.
2396 +
2397 +2) iASL Compiler/Disassembler and Tools:
2398 +
2399 +iASL: Implemented support to check the access length for all fields
2400 +created to
2401 +access named Resource Descriptor fields. For example, if a resource field
2402 +is
2403 +defined to be two bits, a warning is issued if a CreateXxxxField() is
2404 +used
2405 +with an incorrect bit length. This is implemented for all current
2406 +resource
2407 +descriptor names. ACPICA BZ 930.
2408 +
2409 +Disassembler: Fixed a byte ordering problem with the output of 24-bit and
2410 +56-
2411 +bit integers.
2412 +
2413 +iASL: Fixed a couple of issues associated with variable-length package
2414 +objects. 1) properly handle constants like One, Ones, Zero -- do not make
2415 +a
2416 +VAR_PACKAGE when these are used as a package length. 2) Allow the
2417 +VAR_PACKAGE
2418 +opcode (in addition to PACKAGE) when validating object types for
2419 +predefined
2420 +names.
2421 +
2422 +iASL: Emit statistics for all output files (instead of just the ASL input
2423 +and
2424 +AML output). Includes listings, hex files, etc.
2425 +
2426 +iASL: Added -G option to the table compiler to allow the compilation of
2427 +custom
2428 +ACPI tables. The only part of a table that is required is the standard
2429 +36-
2430 +byte
2431 +ACPI header.
2432 +
2433 +AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
2434 +headers),
2435 +which also adds correct 64-bit support. Also, now all output filenames
2436 +are
2437 +completely lower case.
2438 +
2439 +AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
2440 +loading table files. A warning is issued for any such tables. The only
2441 +exception is an FADT. This also fixes a possible fault when attempting to
2442 +load
2443 +non-AML tables. ACPICA BZ 932.
2444 +
2445 +AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
2446 +a
2447 +missing table terminator could cause a fault when using the -p option.
2448 +
2449 +AcpiSrc: Fixed a possible divide-by-zero fault when generating file
2450 +statistics.
2451 +
2452 +3) Example Code and Data Size
2453 +
2454 +These are the sizes for the OS-independent acpica.lib produced by the
2455 +Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
2456 +includes the debug output trace mechanism and has a much larger code and
2457 +data
2458 +size.
2459 +
2460 + Previous Release (VC 9.0):
2461 + Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2462 + Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2463 + Current Release (VC 9.0):
2464 + Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2465 + Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2466 +
2467 +
2468 +----------------------------------------
2469 +23 June 2011. Summary of changes for version 20110623:
2470 +
6 2471 1) ACPI CA Core Subsystem:
7 2472
8 -ASL Load() operator: Reinstate most restrictions on the incoming ACPI table
2473 +Updated the predefined name repair mechanism to not attempt repair of a
2474 +_TSS
2475 +return object if a _PSS object is present. We can only sort the _TSS
2476 +return
2477 +package if there is no _PSS within the same scope. This is because if
2478 +_PSS
2479 +is
2480 +present, the ACPI specification dictates that the _TSS Power Dissipation
2481 +field
2482 +is to be ignored, and therefore some BIOSs leave garbage values in the
2483 +_TSS
2484 +Power field(s). In this case, it is best to just return the _TSS package
2485 +as-
2486 +is. Reported by, and fixed with assistance from Fenghua Yu.
2487 +
2488 +Added an option to globally disable the control method return value
2489 +validation
2490 +and repair. This runtime option can be used to disable return value
2491 +repair
2492 +if
2493 +this is causing a problem on a particular machine. Also added an option
2494 +to
2495 +AcpiExec (-dr) to set this disable flag.
2496 +
2497 +All makefiles and project files: Major changes to improve generation of
2498 +ACPICA
2499 +tools. ACPICA BZ 912:
2500 + Reduce default optimization levels to improve compatibility
2501 + For Linux, add strict-aliasing=0 for gcc 4
2502 + Cleanup and simplify use of command line defines
2503 + Cleanup multithread library support
2504 + Improve usage messages
2505 +
2506 +Linux-specific header: update handling of THREAD_ID and pthread. For the
2507 +32-
2508 +bit case, improve casting to eliminate possible warnings, especially with
2509 +the
2510 +acpica tools.
2511 +
2512 +Example Code and Data Size: These are the sizes for the OS-independent
2513 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2514 +debug
2515 +version of the code includes the debug output trace mechanism and has a
2516 +much
2517 +larger code and data size.
2518 +
2519 + Previous Release (VC 9.0):
2520 + Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
2521 + Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2522 + Current Release (VC 9.0):
2523 + Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2524 + Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2525 +
2526 +2) iASL Compiler/Disassembler and Tools:
2527 +
2528 +With this release, a new utility named "acpihelp" has been added to the
2529 +ACPICA
2530 +package. This utility summarizes the ACPI specification chapters for the
2531 +ASL
2532 +and AML languages. It generates under Linux/Unix as well as Windows, and
2533 +provides the following functionality:
2534 + Find/display ASL operator(s) -- with description and syntax.
2535 + Find/display ASL keyword(s) -- with exact spelling and descriptions.
2536 + Find/display ACPI predefined name(s) -- with description, number
2537 + of arguments, and the return value data type.
2538 + Find/display AML opcode name(s) -- with opcode, arguments, and
2539 +grammar.
2540 + Decode/display AML opcode -- with opcode name, arguments, and
2541 +grammar.
2542 +
2543 +Service Layers: Make multi-thread support configurable. Conditionally
2544 +compile
2545 +the multi-thread support so that threading libraries will not be linked
2546 +if
2547 +not
2548 +necessary. The only tool that requires multi-thread support is AcpiExec.
2549 +
2550 +iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
2551 +of
2552 +Bison appear to want the interface to yyerror to be a const char * (or at
2553 +least this is a problem when generating iASL on some systems.) ACPICA BZ
2554 +923
2555 +Pierre Lejeune.
2556 +
2557 +Tools: Fix for systems where O_BINARY is not defined. Only used for
2558 +Windows
2559 +versions of the tools.
2560 +
2561 +----------------------------------------
2562 +27 May 2011. Summary of changes for version 20110527:
2563 +
2564 +1) ACPI CA Core Subsystem:
2565 +
2566 +ASL Load() operator: Reinstate most restrictions on the incoming ACPI
2567 +table
9 2568 signature. Now, only allow SSDT, OEMx, and a null signature. History:
10 2569 1) Originally, we checked the table signature for "SSDT" or "PSDT".
11 2570 (PSDT is now obsolete.)
12 2571 2) We added support for OEMx tables, signature "OEM" plus a fourth
13 2572 "don't care" character.
14 2573 3) Valid tables were encountered with a null signature, so we just
15 2574 gave up on validating the signature, (05/2008).
16 2575 4) We encountered non-AML tables such as the MADT, which caused
17 2576 interpreter errors and kernel faults. So now, we once again allow
18 2577 only SSDT, OEMx, and now, also a null signature. (05/2011).
19 2578
20 -Added the missing _TDL predefined name to the global name list in order to
21 -enable validation. Affects both the core ACPICA code and the iASL compiler.
2579 +Added the missing _TDL predefined name to the global name list in order
2580 +to
2581 +enable validation. Affects both the core ACPICA code and the iASL
2582 +compiler.
22 2583
23 2584 Example Code and Data Size: These are the sizes for the OS-independent
24 -acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
25 -version of the code includes the debug output trace mechanism and has a much
2585 +acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2586 +debug
2587 +version of the code includes the debug output trace mechanism and has a
2588 +much
26 2589 larger code and data size.
27 2590
28 2591 Previous Release (VC 9.0):
29 2592 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
30 2593 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
31 2594 Current Release (VC 9.0):
32 2595 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
33 2596 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
34 2597
35 2598 2) iASL Compiler/Disassembler and Tools:
36 2599
37 -Debugger/AcpiExec: Implemented support for "complex" method arguments on the
38 -debugger command line. This adds support beyond simple integers -- including
2600 +Debugger/AcpiExec: Implemented support for "complex" method arguments on
2601 +the
2602 +debugger command line. This adds support beyond simple integers --
2603 +including
39 2604 Strings, Buffers, and Packages. Includes support for nested packages.
40 -Increased the default command line buffer size to accommodate these arguments.
2605 +Increased the default command line buffer size to accommodate these
2606 +arguments.
41 2607 See the ACPICA reference for details and syntax. ACPICA BZ 917.
42 2608
43 -Debugger/AcpiExec: Implemented support for "default" method arguments for the
44 -Execute/Debug command. Now, the debugger will always invoke a control method
45 -with the required number of arguments -- even if the command line specifies
46 -none or insufficient arguments. It uses default integer values for any missing
2609 +Debugger/AcpiExec: Implemented support for "default" method arguments for
2610 +the
2611 +Execute/Debug command. Now, the debugger will always invoke a control
2612 +method
2613 +with the required number of arguments -- even if the command line
2614 +specifies
2615 +none or insufficient arguments. It uses default integer values for any
2616 +missing
47 2617 arguments. Also fixes a bug where only six method arguments maximum were
48 2618 supported instead of the required seven.
49 2619
50 -Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and
2620 +Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
2621 +and
51 2622 also return status in order to prevent buffer overruns. See the ACPICA
52 2623 reference for details and syntax. ACPICA BZ 921
53 2624
54 2625 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
55 2626 makefiles to simplify support for the two different but similar parser
56 2627 generators, bison and yacc.
57 2628
58 -Updated the generic unix makefile for gcc 4. The default gcc version is now
2629 +Updated the generic unix makefile for gcc 4. The default gcc version is
2630 +now
59 2631 expected to be 4 or greater, since options specific to gcc 4 are used.
60 2632
61 2633 ----------------------------------------
62 2634 13 April 2011. Summary of changes for version 20110413:
63 2635
64 2636 1) ACPI CA Core Subsystem:
65 2637
66 -Implemented support to execute a so-called "orphan" _REG method under the EC
67 -device. This change will force the execution of a _REG method underneath the
2638 +Implemented support to execute a so-called "orphan" _REG method under the
68 2639 EC
2640 +device. This change will force the execution of a _REG method underneath
2641 +the
2642 +EC
69 2643 device even if there is no corresponding operation region of type
70 2644 EmbeddedControl. Fixes a problem seen on some machines and apparently is
71 2645 compatible with Windows behavior. ACPICA BZ 875.
72 2646
73 -Added more predefined methods that are eligible for automatic NULL package
74 -element removal. This change adds another group of predefined names to the
2647 +Added more predefined methods that are eligible for automatic NULL
2648 +package
2649 +element removal. This change adds another group of predefined names to
2650 +the
75 2651 list
76 2652 of names that can be repaired by having NULL package elements dynamically
77 -removed. This group are those methods that return a single variable-length
78 -package containing simple data types such as integers, buffers, strings. This
79 -includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL,
2653 +removed. This group are those methods that return a single variable-
2654 +length
2655 +package containing simple data types such as integers, buffers, strings.
2656 +This
2657 +includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
2658 +_PSL,
80 2659 _Sx,
81 2660 and _TZD. ACPICA BZ 914.
82 2661
83 2662 Split and segregated all internal global lock functions to a new file,
84 2663 evglock.c.
85 2664
86 -Updated internal address SpaceID for DataTable regions. Moved this internal
2665 +Updated internal address SpaceID for DataTable regions. Moved this
2666 +internal
87 2667 space
88 -id in preparation for ACPI 5.0 changes that will include some new space IDs.
2668 +id in preparation for ACPI 5.0 changes that will include some new space
2669 +IDs.
89 2670 This
90 2671 change should not affect user/host code.
91 2672
92 2673 Example Code and Data Size: These are the sizes for the OS-independent
93 2674 acpica.lib
94 -produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of
95 -the code includes the debug output trace mechanism and has a much larger code
2675 +produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2676 +version of
2677 +the code includes the debug output trace mechanism and has a much larger
2678 +code
96 2679 and
97 2680 data size.
98 2681
99 2682 Previous Release (VC 9.0):
100 2683 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
101 2684 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
102 2685 Current Release (VC 9.0):
103 2686 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
104 2687 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
105 2688
106 2689 2) iASL Compiler/Disassembler and Tools:
107 2690
108 -iASL/DTC: Major update for new grammar features. Allow generic data types in
109 -custom ACPI tables. Field names are now optional. Any line can be split to
110 -multiple lines using the continuation char (\). Large buffers now use line-
2691 +iASL/DTC: Major update for new grammar features. Allow generic data types
2692 +in
2693 +custom ACPI tables. Field names are now optional. Any line can be split
2694 +to
2695 +multiple lines using the continuation char (\). Large buffers now use
2696 +line-
111 2697 continuation character(s) and no colon on the continuation lines. See the
112 2698 grammar
113 -update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
2699 +update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
2700 +Moore.
114 2701
115 -iASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements.
116 -Since the parser stuffs a "zero" as the return value for these statements (due
2702 +iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
2703 +statements.
2704 +Since the parser stuffs a "zero" as the return value for these statements
2705 +(due
117 2706 to
118 -the underlying AML grammar), they were seen as "return with value" by the iASL
119 -semantic checking. They are now seen correctly as "null" return statements.
2707 +the underlying AML grammar), they were seen as "return with value" by the
2708 +iASL
2709 +semantic checking. They are now seen correctly as "null" return
2710 +statements.
120 2711
121 -iASL: Check if a_REG declaration has a corresponding Operation Region. Adds a
122 -check for each _REG to ensure that there is in fact a corresponding operation
2712 +iASL: Check if a_REG declaration has a corresponding Operation Region.
2713 +Adds a
2714 +check for each _REG to ensure that there is in fact a corresponding
2715 +operation
123 2716 region declaration in the same scope. If not, the _REG method is not very
124 2717 useful
125 2718 since it probably won't be executed. ACPICA BZ 915.
126 2719
127 -iASL/DTC: Finish support for expression evaluation. Added a new expression
2720 +iASL/DTC: Finish support for expression evaluation. Added a new
2721 +expression
128 2722 parser
129 2723 that implements c-style operator precedence and parenthesization. ACPICA
130 2724 bugzilla
131 2725 908.
132 2726
133 -Disassembler/DTC: Remove support for () and <> style comments in data tables.
2727 +Disassembler/DTC: Remove support for () and <> style comments in data
2728 +tables.
134 2729 Now
135 -that DTC has full expression support, we don't want to have comment strings
2730 +that DTC has full expression support, we don't want to have comment
2731 +strings
136 2732 that
137 -start with a parentheses or a less-than symbol. Now, only the standard /* and
2733 +start with a parentheses or a less-than symbol. Now, only the standard /*
2734 +and
138 2735 //
139 2736 comments are supported, as well as the bracket [] comments.
140 2737
141 2738 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
142 2739 "unusual"
143 -headers in the acpidump file. Update the header validation to support these
144 -tables. Problem introduced in previous AcpiXtract version in the change to
2740 +headers in the acpidump file. Update the header validation to support
2741 +these
2742 +tables. Problem introduced in previous AcpiXtract version in the change
2743 +to
145 2744 support "wrong checksum" error messages emitted by acpidump utility.
146 2745
147 -iASL: Add a * option to generate all template files (as a synonym for ALL) as
2746 +iASL: Add a * option to generate all template files (as a synonym for
2747 +ALL)
2748 +as
148 2749 in
149 2750 "iasl -T *" or "iasl -T ALL".
150 2751
151 -iASL/DTC: Do not abort compiler on fatal errors. We do not want to completely
152 -abort the compiler on "fatal" errors, simply should abort the current compile.
2752 +iASL/DTC: Do not abort compiler on fatal errors. We do not want to
2753 +completely
2754 +abort the compiler on "fatal" errors, simply should abort the current
2755 +compile.
153 2756 This allows multiple compiles with a single (possibly wildcard) compiler
154 2757 invocation.
155 2758
156 2759 ----------------------------------------
157 2760 16 March 2011. Summary of changes for version 20110316:
158 2761
159 2762 1) ACPI CA Core Subsystem:
160 2763
161 -Fixed a problem caused by a _PRW method appearing at the namespace root scope
162 -during the setup of wake GPEs. A fault could occur if a _PRW directly under
2764 +Fixed a problem caused by a _PRW method appearing at the namespace root
2765 +scope
2766 +during the setup of wake GPEs. A fault could occur if a _PRW directly
2767 +under
163 2768 the
164 2769 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
165 2770
166 -Implemented support for "spurious" Global Lock interrupts. On some systems, a
167 -global lock interrupt can occur without the pending flag being set. Upon a GL
168 -interrupt, we now ensure that a thread is actually waiting for the lock before
2771 +Implemented support for "spurious" Global Lock interrupts. On some
2772 +systems, a
2773 +global lock interrupt can occur without the pending flag being set. Upon
2774 +a
2775 +GL
2776 +interrupt, we now ensure that a thread is actually waiting for the lock
2777 +before
169 2778 signaling GL availability. Rafael Wysocki, Bob Moore.
170 2779
171 2780 Example Code and Data Size: These are the sizes for the OS-independent
172 2781 acpica.lib
173 -produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of
174 -the code includes the debug output trace mechanism and has a much larger code
2782 +produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2783 +version of
2784 +the code includes the debug output trace mechanism and has a much larger
2785 +code
175 2786 and
176 2787 data size.
177 2788
178 2789 Previous Release (VC 9.0):
179 2790 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
180 2791 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
181 2792 Current Release (VC 9.0):
182 2793 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
183 2794 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
184 2795
185 2796 2) iASL Compiler/Disassembler and Tools:
186 2797
187 -Implemented full support for the "SLIC" ACPI table. Includes support in the
188 -header files, disassembler, table compiler, and template generator. Bob Moore,
2798 +Implemented full support for the "SLIC" ACPI table. Includes support in
2799 +the
2800 +header files, disassembler, table compiler, and template generator. Bob
2801 +Moore,
189 2802 Lin Ming.
190 2803
191 -AcpiXtract: Correctly handle embedded comments and messages from AcpiDump.
192 -Apparently some or all versions of acpidump will occasionally emit a comment
2804 +AcpiXtract: Correctly handle embedded comments and messages from
2805 +AcpiDump.
2806 +Apparently some or all versions of acpidump will occasionally emit a
2807 +comment
193 2808 like
194 2809 "Wrong checksum", etc., into the dump file. This was causing problems for
195 2810 AcpiXtract. ACPICA BZ 905.
196 2811
197 -iASL: Fix the Linux makefile by removing an inadvertent double file inclusion.
2812 +iASL: Fix the Linux makefile by removing an inadvertent double file
2813 +inclusion.
198 2814 ACPICA BZ 913.
199 2815
200 2816 AcpiExec: Update installation of operation region handlers. Install one
201 2817 handler
202 -for a user-defined address space. This is used by the ASL test suite (ASLTS).
2818 +for a user-defined address space. This is used by the ASL test suite
2819 +(ASLTS).
203 2820
204 2821 ----------------------------------------
205 2822 11 February 2011. Summary of changes for version 20110211:
206 2823
207 2824 1) ACPI CA Core Subsystem:
208 2825
209 -Added a mechanism to defer _REG methods for some early-installed handlers.
210 -Most user handlers should be installed before call to AcpiEnableSubsystem.
2826 +Added a mechanism to defer _REG methods for some early-installed
2827 +handlers.
2828 +Most user handlers should be installed before call to
2829 +AcpiEnableSubsystem.
211 2830 However, Event handlers and region handlers should be installed after
212 -AcpiInitializeObjects. Override handlers for the "default" regions should be
2831 +AcpiInitializeObjects. Override handlers for the "default" regions should
2832 +be
213 2833 installed early, however. This change executes all _REG methods for the
214 2834 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
215 2835 chicken/egg issues between them. ACPICA BZ 848.
216 2836
217 -Implemented an optimization for GPE detection. This optimization will simply
2837 +Implemented an optimization for GPE detection. This optimization will
2838 +simply
218 2839 ignore GPE registers that contain no enabled GPEs -- there is no need to
219 2840 read the register since this information is available internally. This
220 -becomes more important on machines with a large GPE space. ACPICA bugzilla
2841 +becomes more important on machines with a large GPE space. ACPICA
2842 +bugzilla
221 2843 884. Lin Ming. Suggestion from Joe Liu.
222 2844
223 -Removed all use of the highly unreliable FADT revision field. The revision
224 -number in the FADT has been found to be completely unreliable and cannot be
225 -trusted. Only the actual table length can be used to infer the version. This
226 -change updates the ACPICA core and the disassembler so that both no longer
2845 +Removed all use of the highly unreliable FADT revision field. The
2846 +revision
2847 +number in the FADT has been found to be completely unreliable and cannot
2848 +be
2849 +trusted. Only the actual table length can be used to infer the version.
2850 +This
2851 +change updates the ACPICA core and the disassembler so that both no
2852 +longer
227 2853 even look at the FADT version and instead depend solely upon the FADT
228 2854 length.
229 2855
230 2856 Fix an unresolved name issue for the no-debug and no-error-message source
231 -generation cases. The _AcpiModuleName was left undefined in these cases, but
2857 +generation cases. The _AcpiModuleName was left undefined in these cases,
2858 +but
232 2859 it is actually needed as a parameter to some interfaces. Define
233 2860 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
234 2861
235 2862 Split several large files (makefiles and project files updated)
236 2863 utglobal.c -> utdecode.c
237 2864 dbcomds.c -> dbmethod.c dbnames.c
238 2865 dsopcode.c -> dsargs.c dscontrol.c
239 2866 dsload.c -> dsload2.c
240 2867 aslanalyze.c -> aslbtypes.c aslwalks.c
241 2868
242 2869 Example Code and Data Size: These are the sizes for the OS-independent
243 2870 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
244 -debug version of the code includes the debug output trace mechanism and has
2871 +debug version of the code includes the debug output trace mechanism and
2872 +has
245 2873 a much larger code and data size.
246 2874
247 2875 Previous Release (VC 9.0):
248 2876 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
249 2877 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
250 2878 Current Release (VC 9.0):
251 2879 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
252 2880 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
253 2881
254 2882 2) iASL Compiler/Disassembler and Tools:
255 2883
256 2884 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
257 2885 These are useful C-style macros with the standard definitions. ACPICA
258 2886 bugzilla 898.
259 2887
260 -iASL/DTC: Added support for integer expressions and labels. Support for full
261 -expressions for all integer fields in all ACPI tables. Support for labels in
2888 +iASL/DTC: Added support for integer expressions and labels. Support for
2889 +full
2890 +expressions for all integer fields in all ACPI tables. Support for labels
2891 +in
262 2892 "generic" portions of tables such as UEFI. See the iASL reference manual.
263 2893
264 2894 Debugger: Added a command to display the status of global handlers. The
265 2895 "handlers" command will display op region, fixed event, and miscellaneous
266 -global handlers. installation status -- and for op regions, whether default
2896 +global handlers. installation status -- and for op regions, whether
2897 +default
267 2898 or user-installed handler will be used.
268 2899
269 -iASL: Warn if reserved method incorrectly returns a value. Many predefined
270 -names are defined such that they do not return a value. If implemented as a
2900 +iASL: Warn if reserved method incorrectly returns a value. Many
2901 +predefined
2902 +names are defined such that they do not return a value. If implemented as
2903 +a
271 2904 method, issue a warning if such a name explicitly returns a value. ACPICA
272 2905 Bugzilla 855.
273 2906
274 -iASL: Added detection of GPE method name conflicts. Detects a conflict where
275 -there are two GPE methods of the form _Lxy and _Exy in the same scope. (For
2907 +iASL: Added detection of GPE method name conflicts. Detects a conflict
2908 +where
2909 +there are two GPE methods of the form _Lxy and _Exy in the same scope.
2910 +(For
276 2911 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
277 2912
278 2913 iASL/DTC: Fixed a couple input scanner issues with comments and line
279 -numbers. Comment remover could get confused and miss a comment ending. Fixed
2914 +numbers. Comment remover could get confused and miss a comment ending.
2915 +Fixed
280 2916 a problem with line counter maintenance.
281 2917
282 -iASL/DTC: Reduced the severity of some errors from fatal to error. There is
2918 +iASL/DTC: Reduced the severity of some errors from fatal to error. There
2919 +is
283 2920 no need to abort on simple errors within a field definition.
284 2921
285 -Debugger: Simplified the output of the help command. All help output now in
2922 +Debugger: Simplified the output of the help command. All help output now
2923 +in
286 2924 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
287 2925
288 2926 ----------------------------------------
289 2927 12 January 2011. Summary of changes for version 20110112:
290 2928
291 2929 1) ACPI CA Core Subsystem:
292 2930
293 -Fixed a race condition between method execution and namespace walks that can
2931 +Fixed a race condition between method execution and namespace walks that
2932 +can
294 2933 possibly cause a fault. The problem was apparently introduced in version
295 -20100528 as a result of a performance optimization that reduces the number of
2934 +20100528 as a result of a performance optimization that reduces the
2935 +number
2936 +of
296 2937 namespace walks upon method exit by using the delete_namespace_subtree
297 -function instead of the delete_namespace_by_owner function used previously.
2938 +function instead of the delete_namespace_by_owner function used
2939 +previously.
298 2940 Bug is a missing namespace lock in the delete_namespace_subtree function.
299 2941 dana.myers@oracle.com
300 2942
301 2943 Fixed several issues and a possible fault with the automatic "serialized"
302 -method support. History: This support changes a method to "serialized" on the
2944 +method support. History: This support changes a method to "serialized" on
2945 +the
303 2946 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
304 -possibility that it cannot handle reentrancy. This fix repairs a couple of
2947 +possibility that it cannot handle reentrancy. This fix repairs a couple
2948 +of
305 2949 issues seen in the field, especially on machines with many cores:
306 2950
307 2951 1) Delete method children only upon the exit of the last thread,
308 2952 so as to not delete objects out from under other running threads
309 2953 (and possibly causing a fault.)
310 2954 2) Set the "serialized" bit for the method only upon the exit of the
311 2955 Last thread, so as to not cause deadlock when running threads
312 2956 attempt to exit.
313 2957 3) Cleanup the use of the AML "MethodFlags" and internal method flags
314 2958 so that there is no longer any confusion between the two.
315 2959
316 2960 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
317 2961
318 -Debugger: Now lock the namespace for duration of a namespace dump. Prevents
2962 +Debugger: Now lock the namespace for duration of a namespace dump.
2963 +Prevents
319 2964 issues if the namespace is changing dynamically underneath the debugger.
320 2965 Especially affects temporary namespace nodes, since the debugger displays
321 2966 these also.
322 2967
323 2968 Updated the ordering of include files. The ACPICA headers should appear
324 -before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set
325 -any necessary compiler-specific defines, etc. Affects the ACPI-related tools
2969 +before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
2970 +set
2971 +any necessary compiler-specific defines, etc. Affects the ACPI-related
2972 +tools
326 2973 and utilities.
327 2974
328 -Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright
329 -to all module headers and signons, including the Linux header. This affects
2975 +Updated all ACPICA copyrights and signons to 2011. Added the 2011
2976 +copyright
2977 +to all module headers and signons, including the Linux header. This
2978 +affects
330 2979 virtually every file in the ACPICA core subsystem, iASL compiler, and all
331 2980 utilities.
332 2981
333 2982 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
334 -project files for VC++ 6.0 are now obsolete. New project files can be found
2983 +project files for VC++ 6.0 are now obsolete. New project files can be
2984 +found
335 2985 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
336 2986 details.
337 2987
338 2988 Example Code and Data Size: These are the sizes for the OS-independent
339 2989 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
340 -debug version of the code includes the debug output trace mechanism and has a
2990 +debug version of the code includes the debug output trace mechanism and
2991 +has a
341 2992 much larger code and data size.
342 2993
343 2994 Previous Release (VC 6.0):
344 2995 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
345 2996 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
346 2997 Current Release (VC 9.0):
347 2998 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
348 2999 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
349 3000
350 3001 2) iASL Compiler/Disassembler and Tools:
351 3002
352 -iASL: Added generic data types to the Data Table compiler. Add "generic" data
353 -types such as UINT32, String, Unicode, etc., to simplify the generation of
3003 +iASL: Added generic data types to the Data Table compiler. Add "generic"
3004 +data
3005 +types such as UINT32, String, Unicode, etc., to simplify the generation
3006 +of
354 3007 platform-defined tables such as UEFI. Lin Ming.
355 3008
356 -iASL: Added listing support for the Data Table Compiler. Adds listing support
3009 +iASL: Added listing support for the Data Table Compiler. Adds listing
3010 +support
357 3011 (-l) to display actual binary output for each line of input code.
358 3012
359 3013 ----------------------------------------
360 3014 09 December 2010. Summary of changes for version 20101209:
361 3015
362 3016 1) ACPI CA Core Subsystem:
363 3017
364 -Completed the major overhaul of the GPE support code that was begun in July
3018 +Completed the major overhaul of the GPE support code that was begun in
3019 +July
365 3020 2010. Major features include: removal of _PRW execution in ACPICA (host
366 3021 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
367 -changes to existing interfaces, simplification of GPE handler operation, and
3022 +changes to existing interfaces, simplification of GPE handler operation,
3023 +and
368 3024 a handful of new interfaces:
369 3025
370 3026 AcpiUpdateAllGpes
371 3027 AcpiFinishGpe
372 3028 AcpiSetupGpeForWake
373 3029 AcpiSetGpeWakeMask
374 3030 One new file, evxfgpe.c to consolidate all external GPE interfaces.
375 3031
376 3032 See the ACPICA Programmer Reference for full details and programming
377 -information. See the new section 4.4 "General Purpose Event (GPE) Support"
378 -for a full overview, and section 8.7 "ACPI General Purpose Event Management"
379 -for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming,
3033 +information. See the new section 4.4 "General Purpose Event (GPE)
3034 +Support"
3035 +for a full overview, and section 8.7 "ACPI General Purpose Event
3036 +Management"
3037 +for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
3038 +Ming,
380 3039 Bob Moore, Rafael Wysocki.
381 3040
382 -Implemented a new GPE feature for Windows compatibility, the "Implicit Wake
383 -GPE Notify". This feature will automatically issue a Notify(2) on a device
3041 +Implemented a new GPE feature for Windows compatibility, the "Implicit
3042 +Wake
3043 +GPE Notify". This feature will automatically issue a Notify(2) on a
3044 +device
384 3045 when a Wake GPE is received if there is no corresponding GPE method or
385 3046 handler. ACPICA BZ 870.
386 3047
387 -Fixed a problem with the Scope() operator during table parse and load phase.
388 -During load phase (table load or method execution), the scope operator should
389 -not enter the target into the namespace. Instead, it should open a new scope
3048 +Fixed a problem with the Scope() operator during table parse and load
3049 +phase.
3050 +During load phase (table load or method execution), the scope operator
3051 +should
3052 +not enter the target into the namespace. Instead, it should open a new
3053 +scope
390 3054 at the target location. Linux BZ 19462, ACPICA BZ 882.
391 3055
392 3056 Example Code and Data Size: These are the sizes for the OS-independent
393 3057 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
394 -debug version of the code includes the debug output trace mechanism and has a
3058 +debug version of the code includes the debug output trace mechanism and
3059 +has a
395 3060 much larger code and data size.
396 3061
397 3062 Previous Release:
398 3063 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
399 3064 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
400 3065 Current Release:
401 3066 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
402 3067 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
403 3068
404 3069 2) iASL Compiler/Disassembler and Tools:
405 3070
406 -iASL: Relax the alphanumeric restriction on _CID strings. These strings are
407 -"bus-specific" per the ACPI specification, and therefore any characters are
408 -acceptable. The only checks that can be performed are for a null string and
3071 +iASL: Relax the alphanumeric restriction on _CID strings. These strings
3072 +are
3073 +"bus-specific" per the ACPI specification, and therefore any characters
3074 +are
3075 +acceptable. The only checks that can be performed are for a null string
3076 +and
409 3077 perhaps for a leading asterisk. ACPICA BZ 886.
410 3078
411 3079 iASL: Fixed a problem where a syntax error that caused a premature EOF
412 3080 condition on the source file emitted a very confusing error message. The
413 3081 premature EOF is now detected correctly. ACPICA BZ 891.
414 3082
415 -Disassembler: Decode the AccessSize within a Generic Address Structure (byte
3083 +Disassembler: Decode the AccessSize within a Generic Address Structure
3084 +(byte
416 3085 access, word access, etc.) Note, this field does not allow arbitrary bit
417 3086 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
418 3087
419 -New: AcpiNames utility - Example namespace dump utility. Shows an example of
3088 +New: AcpiNames utility - Example namespace dump utility. Shows an example
3089 +of
420 3090 ACPICA configuration for a minimal namespace dump utility. Uses table and
421 -namespace managers, but no AML interpreter. Does not add any functionality
3091 +namespace managers, but no AML interpreter. Does not add any
3092 +functionality
422 3093 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
423 3094 partition and configure ACPICA. ACPICA BZ 883.
424 3095
425 -AML Debugger: Increased the debugger buffer size for method return objects.
426 -Was 4K, increased to 16K. Also enhanced error messages for debugger method
3096 +AML Debugger: Increased the debugger buffer size for method return
3097 +objects.
3098 +Was 4K, increased to 16K. Also enhanced error messages for debugger
3099 +method
427 3100 execution, including the buffer overflow case.
428 3101
429 3102 ----------------------------------------
430 3103 13 October 2010. Summary of changes for version 20101013:
431 3104
432 3105 1) ACPI CA Core Subsystem:
433 3106
434 -Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now
3107 +Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
3108 +now
435 3109 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
436 3110 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
437 3111
438 -Changed the type of the predefined namespace object _TZ from ThermalZone to
439 -Device. This was found to be confusing to the host software that processes
440 -the various thermal zones, since _TZ is not really a ThermalZone. However, a
3112 +Changed the type of the predefined namespace object _TZ from ThermalZone
3113 +to
3114 +Device. This was found to be confusing to the host software that
3115 +processes
3116 +the various thermal zones, since _TZ is not really a ThermalZone.
3117 +However,
3118 +a
441 3119 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
442 3120 Zhang.
443 3121
444 3122 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
445 3123 string is "Windows 2006 SP2".
446 3124
447 -Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair
3125 +Eliminated duplicate code in AcpiUtExecute* functions. Now that the
3126 +nsrepair
448 3127 code automatically repairs _HID-related strings, this type of code is no
449 -longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
3128 +longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
3129 +878.
450 3130
451 3131 Example Code and Data Size: These are the sizes for the OS-independent
452 3132 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
453 -debug version of the code includes the debug output trace mechanism and has a
3133 +debug version of the code includes the debug output trace mechanism and
3134 +has a
454 3135 much larger code and data size.
455 3136
456 3137 Previous Release:
457 3138 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
458 3139 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
459 3140 Current Release:
460 3141 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
461 3142 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
462 3143
463 3144 2) iASL Compiler/Disassembler and Tools:
464 3145
465 -iASL: Implemented additional compile-time validation for _HID strings. The
466 -non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of
467 -the string must be exactly seven or eight characters. For both _HID and _CID
3146 +iASL: Implemented additional compile-time validation for _HID strings.
3147 +The
3148 +non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
3149 +length
3150 +of
3151 +the string must be exactly seven or eight characters. For both _HID and
3152 +_CID
468 3153 strings, all characters must be alphanumeric. ACPICA BZ 874.
469 3154
470 3155 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
471 -descriptors that are mostly or all zeros, with the expectation that they will
472 -be filled in at runtime. iASL now allows this as long as there is a "resource
3156 +descriptors that are mostly or all zeros, with the expectation that they
3157 +will
3158 +be filled in at runtime. iASL now allows this as long as there is a
3159 +"resource
473 3160 tag" (name) associated with the descriptor, which gives the ASL a handle
474 3161 needed to modify the descriptor. ACPICA BZ 873.
475 3162
476 -Added single-thread support to the generic Unix application OSL. Primarily
477 -for iASL support, this change removes the use of semaphores in the single-
3163 +Added single-thread support to the generic Unix application OSL.
3164 +Primarily
3165 +for iASL support, this change removes the use of semaphores in the
3166 +single-
478 3167 threaded ACPICA tools/applications - increasing performance. The
479 3168 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
480 3169 option. ACPICA BZ 879.
481 3170
482 -AcpiExec: several fixes for the 64-bit version. Adds XSDT support and support
3171 +AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
3172 +support
483 3173 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
484 3174
485 3175 iASL: Moved all compiler messages to a new file, aslmessages.h.
486 3176
487 3177 ----------------------------------------
488 3178 15 September 2010. Summary of changes for version 20100915:
489 3179
490 3180 1) ACPI CA Core Subsystem:
491 3181
492 -Removed the AcpiOsDerivePciId OSL interface. The various host implementations
3182 +Removed the AcpiOsDerivePciId OSL interface. The various host
3183 +implementations
493 3184 of this function were not OS-dependent and are now obsolete and can be
494 3185 removed from all host OSLs. This function has been replaced by
495 3186 AcpiHwDerivePciId, which is now part of the ACPICA core code.
496 3187 AcpiHwDerivePciId has been implemented without recursion. Adds one new
497 3188 module, hwpci.c. ACPICA BZ 857.
498 3189
499 3190 Implemented a dynamic repair for _HID and _CID strings. The following
500 3191 problems are now repaired at runtime: 1) Remove a leading asterisk in the
501 3192 string, and 2) the entire string is uppercased. Both repairs are in
502 -accordance with the ACPI specification and will simplify host driver code.
3193 +accordance with the ACPI specification and will simplify host driver
3194 +code.
503 3195 ACPICA BZ 871.
504 3196
505 3197 The ACPI_THREAD_ID type is no longer configurable, internally it is now
506 -always UINT64. This simplifies the ACPICA code, especially any printf output.
3198 +always UINT64. This simplifies the ACPICA code, especially any printf
3199 +output.
507 3200 UINT64 is the only common data type for all thread_id types across all
508 -operating systems. It is now up to the host OSL to cast the native thread_id
509 -type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId).
3201 +operating systems. It is now up to the host OSL to cast the native
3202 +thread_id
3203 +type to UINT64 before returning the value to ACPICA (via
3204 +AcpiOsGetThreadId).
510 3205 Lin Ming, Bob Moore.
511 3206
512 -Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline"
513 -keyword is not standard across compilers, and this type allows inline to be
3207 +Added the ACPI_INLINE type to enhance the ACPICA configuration. The
3208 +"inline"
3209 +keyword is not standard across compilers, and this type allows inline to
3210 +be
514 3211 configured on a per-compiler basis. Lin Ming.
515 3212
516 -Made the system global AcpiGbl_SystemAwakeAndRunning publically available.
517 -Added an extern for this boolean in acpixf.h. Some hosts utilize this value
3213 +Made the system global AcpiGbl_SystemAwakeAndRunning publically
3214 +available.
3215 +Added an extern for this boolean in acpixf.h. Some hosts utilize this
3216 +value
518 3217 during suspend/restore operations. ACPICA BZ 869.
519 3218
520 -All code that implements error/warning messages with the "ACPI:" prefix has
3219 +All code that implements error/warning messages with the "ACPI:" prefix
3220 +has
521 3221 been moved to a new module, utxferror.c.
522 3222
523 -The UINT64_OVERLAY was moved to utmath.c, which is the only module where it
3223 +The UINT64_OVERLAY was moved to utmath.c, which is the only module where
3224 +it
524 3225 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
525 3226
526 3227 Example Code and Data Size: These are the sizes for the OS-independent
527 3228 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
528 -debug version of the code includes the debug output trace mechanism and has a
3229 +debug version of the code includes the debug output trace mechanism and
3230 +has a
529 3231 much larger code and data size.
530 3232
531 3233 Previous Release:
532 3234 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
533 3235 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
534 3236 Current Release:
535 3237 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
536 3238 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
537 3239
538 3240 2) iASL Compiler/Disassembler and Tools:
539 3241
540 -iASL/Disassembler: Write ACPI errors to stderr instead of the output file.
541 -This keeps the output files free of random error messages that may originate
542 -from within the namespace/interpreter code. Used this opportunity to merge
3242 +iASL/Disassembler: Write ACPI errors to stderr instead of the output
3243 +file.
3244 +This keeps the output files free of random error messages that may
3245 +originate
3246 +from within the namespace/interpreter code. Used this opportunity to
3247 +merge
543 3248 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
544 3249 866. Lin Ming, Bob Moore.
545 3250
546 -Tools: update some printfs for ansi warnings on size_t. Handle width change
3251 +Tools: update some printfs for ansi warnings on size_t. Handle width
3252 +change
547 3253 of size_t on 32-bit versus 64-bit generations. Lin Ming.
548 3254
549 3255 ----------------------------------------
550 3256 06 August 2010. Summary of changes for version 20100806:
551 3257
552 3258 1) ACPI CA Core Subsystem:
553 3259
554 -Designed and implemented a new host interface to the _OSI support code. This
555 -will allow the host to dynamically add or remove multiple _OSI strings, as
556 -well as install an optional handler that is called for each _OSI invocation.
557 -Also added a new AML debugger command, 'osi' to display and modify the global
558 -_OSI string table, and test support in the AcpiExec utility. See the ACPICA
3260 +Designed and implemented a new host interface to the _OSI support code.
3261 +This
3262 +will allow the host to dynamically add or remove multiple _OSI strings,
3263 +as
3264 +well as install an optional handler that is called for each _OSI
3265 +invocation.
3266 +Also added a new AML debugger command, 'osi' to display and modify the
3267 +global
3268 +_OSI string table, and test support in the AcpiExec utility. See the
3269 +ACPICA
559 3270 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
560 3271 New Functions:
561 3272 AcpiInstallInterface - Add an _OSI string.
562 3273 AcpiRemoveInterface - Delete an _OSI string.
563 3274 AcpiInstallInterfaceHandler - Install optional _OSI handler.
564 3275 Obsolete Functions:
565 3276 AcpiOsValidateInterface - no longer used.
566 3277 New Files:
567 3278 source/components/utilities/utosi.c
568 3279
569 3280 Re-introduced the support to enable multi-byte transfers for Embedded
570 -Controller (EC) operation regions. A reported problem was found to be a bug
571 -in the host OS, not in the multi-byte support. Previously, the maximum data
572 -size passed to the EC operation region handler was a single byte. There are
573 -often EC Fields larger than one byte that need to be transferred, and it is
574 -useful for the EC driver to lock these as a single transaction. This change
3281 +Controller (EC) operation regions. A reported problem was found to be a
3282 +bug
3283 +in the host OS, not in the multi-byte support. Previously, the maximum
3284 +data
3285 +size passed to the EC operation region handler was a single byte. There
3286 +are
3287 +often EC Fields larger than one byte that need to be transferred, and it
3288 +is
3289 +useful for the EC driver to lock these as a single transaction. This
3290 +change
575 3291 enables single transfers larger than 8 bits. This effectively changes the
576 3292 access to the EC space from ByteAcc to AnyAcc, and will probably require
577 -changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit
3293 +changes to the host OS Embedded Controller driver to enable 16/32/64/256-
3294 +bit
578 3295 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
579 3296
580 3297 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
581 3298 prototype in acpiosxf.h had the output value pointer as a (void *).
582 3299 It should be a (UINT64 *). This may affect some host OSL code.
583 3300
584 -Fixed a couple problems with the recently modified Linux makefiles for iASL
3301 +Fixed a couple problems with the recently modified Linux makefiles for
3302 +iASL
585 3303 and AcpiExec. These new makefiles place the generated object files in the
586 -local directory so that there can be no collisions between the files that are
3304 +local directory so that there can be no collisions between the files that
3305 +are
587 3306 shared between them that are compiled with different options.
588 3307
589 3308 Example Code and Data Size: These are the sizes for the OS-independent
590 3309 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
591 -debug version of the code includes the debug output trace mechanism and has a
3310 +debug version of the code includes the debug output trace mechanism and
3311 +has a
592 3312 much larger code and data size.
593 3313
594 3314 Previous Release:
595 3315 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
596 3316 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
597 3317 Current Release:
598 3318 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
599 3319 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
600 3320
601 3321 2) iASL Compiler/Disassembler and Tools:
602 3322
603 -iASL/Disassembler: Added a new option (-da, "disassemble all") to load the
3323 +iASL/Disassembler: Added a new option (-da, "disassemble all") to load
3324 +the
604 3325 namespace from and disassemble an entire group of AML files. Useful for
605 -loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and
3326 +loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
3327 +and
606 3328 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
607 3329
608 -iASL: Allow multiple invocations of -e option. This change allows multiple
609 -uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834.
3330 +iASL: Allow multiple invocations of -e option. This change allows
3331 +multiple
3332 +uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
3333 +834.
610 3334 Lin Ming.
611 3335
612 3336 ----------------------------------------
613 3337 02 July 2010. Summary of changes for version 20100702:
614 3338
615 3339 1) ACPI CA Core Subsystem:
616 3340
617 3341 Implemented several updates to the recently added GPE reference count
618 -support. The model for "wake" GPEs is changing to give the host OS complete
619 -control of these GPEs. Eventually, the ACPICA core will not execute any _PRW
620 -methods, since the host already must execute them. Also, additional changes
3342 +support. The model for "wake" GPEs is changing to give the host OS
3343 +complete
3344 +control of these GPEs. Eventually, the ACPICA core will not execute any
3345 +_PRW
3346 +methods, since the host already must execute them. Also, additional
3347 +changes
621 3348 were made to help ensure that the reference counts are kept in proper
622 3349 synchronization with reality. Rafael J. Wysocki.
623 3350
624 3351 1) Ensure that GPEs are not enabled twice during initialization.
625 3352 2) Ensure that GPE enable masks stay in sync with the reference count.
626 3353 3) Do not inadvertently enable GPEs when writing GPE registers.
627 3354 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
628 3355 interface. This interface will set or clear individual GPEs for wakeup.
629 -5) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces
3356 +5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
3357 +interfaces
630 3358 are now used for "runtime" GPEs only.
631 3359
632 -Changed the behavior of the GPE install/remove handler interfaces. The GPE is
633 -no longer disabled during this process, as it was found to cause problems on
3360 +Changed the behavior of the GPE install/remove handler interfaces. The
3361 +GPE
3362 +is
3363 +no longer disabled during this process, as it was found to cause problems
3364 +on
634 3365 some machines. Rafael J. Wysocki.
635 3366
636 3367 Reverted a change introduced in version 20100528 to enable Embedded
637 -Controller multi-byte transfers. This change was found to cause problems with
3368 +Controller multi-byte transfers. This change was found to cause problems
3369 +with
638 3370 Index Fields and possibly Bank Fields. It will be reintroduced when these
639 3371 problems have been resolved.
640 3372
641 -Fixed a problem with references to Alias objects within Package Objects. A
3373 +Fixed a problem with references to Alias objects within Package Objects.
3374 +A
642 3375 reference to an Alias within the definition of a Package was not always
643 -resolved properly. Aliases to objects like Processors, Thermal zones, etc.
644 -were resolved to the actual object instead of a reference to the object as it
3376 +resolved properly. Aliases to objects like Processors, Thermal zones,
3377 +etc.
3378 +were resolved to the actual object instead of a reference to the object
3379 +as
3380 +it
645 3381 should be. Package objects are only allowed to contain integer, string,
646 3382 buffer, package, and reference objects. Redhat bugzilla 608648.
647 3383
648 3384 Example Code and Data Size: These are the sizes for the OS-independent
649 3385 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
650 -debug version of the code includes the debug output trace mechanism and has a
3386 +debug version of the code includes the debug output trace mechanism and
3387 +has a
651 3388 much larger code and data size.
652 3389
653 3390 Previous Release:
654 3391 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
655 3392 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
656 3393 Current Release:
657 3394 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
658 3395 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
659 3396
660 3397 2) iASL Compiler/Disassembler and Tools:
661 3398
662 3399 iASL: Implemented a new compiler subsystem to allow definition and
663 -compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These
3400 +compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
3401 +These
664 3402 are called "ACPI Data Tables", and the new compiler is the "Data Table
665 3403 Compiler". This compiler is intended to simplify the existing error-prone
666 3404 process of creating these tables for the BIOS, as well as allowing the
667 -disassembly, modification, recompilation, and override of existing ACPI data
3405 +disassembly, modification, recompilation, and override of existing ACPI
3406 +data
668 3407 tables. See the iASL User Guide for detailed information.
669 3408
670 -iASL: Implemented a new Template Generator option in support of the new Data
3409 +iASL: Implemented a new Template Generator option in support of the new
3410 +Data
671 3411 Table Compiler. This option will create examples of all known ACPI tables
672 3412 that can be used as the basis for table development. See the iASL
673 3413 documentation and the -T option.
674 3414
675 3415 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
676 3416 Descriptor Table).
677 3417
678 3418 Updated the Linux makefiles for iASL and AcpiExec to place the generated
679 3419 object files in the local directory so that there can be no collisions
680 3420 between the shared files between them that are generated with different
681 3421 options.
682 3422
683 -Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use
3423 +Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
3424 +Use
684 3425 the #define __APPLE__ to enable this support.
685 3426
686 3427 ----------------------------------------
687 3428 28 May 2010. Summary of changes for version 20100528:
688 3429
689 3430 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
690 3431 available at www.acpi.info. This is primarily an errata release.
691 3432
692 3433 1) ACPI CA Core Subsystem:
693 3434
694 -Undefined ACPI tables: We are looking for the definitions for the following
3435 +Undefined ACPI tables: We are looking for the definitions for the
3436 +following
695 3437 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
696 3438
697 -Implemented support to enable multi-byte transfers for Embedded Controller
698 -(EC) operation regions. Previously, the maximum data size passed to the EC
699 -operation region handler was a single byte. There are often EC Fields larger
700 -than one byte that need to be transferred, and it is useful for the EC driver
701 -to lock these as a single transaction. This change enables single transfers
702 -larger than 8 bits. This effectively changes the access to the EC space from
703 -ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded
704 -Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit
3439 +Implemented support to enable multi-byte transfers for Embedded
3440 +Controller
3441 +(EC) operation regions. Previously, the maximum data size passed to the
3442 +EC
3443 +operation region handler was a single byte. There are often EC Fields
3444 +larger
3445 +than one byte that need to be transferred, and it is useful for the EC
3446 +driver
3447 +to lock these as a single transaction. This change enables single
3448 +transfers
3449 +larger than 8 bits. This effectively changes the access to the EC space
3450 +from
3451 +ByteAcc to AnyAcc, and will probably require changes to the host OS
3452 +Embedded
3453 +Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
3454 +bit
705 3455 transfers. Alexey Starikovskiy, Lin Ming
706 3456
707 -Implemented a performance enhancement for namespace search and access. This
708 -change enhances the performance of namespace searches and walks by adding a
709 -backpointer to the parent in each namespace node. On large namespaces, this
710 -change can improve overall ACPI performance by up to 9X. Adding a pointer to
711 -each namespace node increases the overall size of the internal namespace by
3457 +Implemented a performance enhancement for namespace search and access.
3458 +This
3459 +change enhances the performance of namespace searches and walks by adding
3460 +a
3461 +backpointer to the parent in each namespace node. On large namespaces,
3462 +this
3463 +change can improve overall ACPI performance by up to 9X. Adding a pointer
3464 +to
3465 +each namespace node increases the overall size of the internal namespace
3466 +by
712 3467 about 5%, since each namespace entry usually consists of both a namespace
713 3468 node and an ACPI operand object. However, this is the first growth of the
714 3469 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
715 3470
716 -Implemented a performance optimization that reduces the number of namespace
717 -walks. On control method exit, only walk the namespace if the method is known
718 -to have created namespace objects outside of its local scope. Previously, the
719 -entire namespace was traversed on each control method exit. This change can
720 -improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
3471 +Implemented a performance optimization that reduces the number of
3472 +namespace
3473 +walks. On control method exit, only walk the namespace if the method is
3474 +known
3475 +to have created namespace objects outside of its local scope. Previously,
3476 +the
3477 +entire namespace was traversed on each control method exit. This change
3478 +can
3479 +improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
3480 +Moore.
721 3481
722 -Added support to truncate I/O addresses to 16 bits for Windows compatibility.
3482 +Added support to truncate I/O addresses to 16 bits for Windows
3483 +compatibility.
723 3484 Some ASL code has been seen in the field that inadvertently has bits set
724 -above bit 15. This feature is optional and is enabled if the BIOS requests
3485 +above bit 15. This feature is optional and is enabled if the BIOS
3486 +requests
725 3487 any Windows OSI strings. It can also be enabled by the host OS. Matthew
726 3488 Garrett, Bob Moore.
727 3489
728 3490 Added support to limit the maximum time for the ASL Sleep() operator. To
729 3491 prevent accidental deep sleeps, limit the maximum time that Sleep() will
730 3492 actually sleep. Configurable, the default maximum is two seconds. ACPICA
731 3493 bugzilla 854.
732 3494
733 -Added run-time validation support for the _WDG and_WED Microsoft predefined
734 -methods. These objects are defined by "Windows Instrumentation", and are not
3495 +Added run-time validation support for the _WDG and_WED Microsoft
3496 +predefined
3497 +methods. These objects are defined by "Windows Instrumentation", and are
3498 +not
735 3499 part of the ACPI spec. ACPICA BZ 860.
736 3500
737 3501 Expanded all statistic counters used during namespace and device
738 -initialization from 16 to 32 bits in order to support very large namespaces.
3502 +initialization from 16 to 32 bits in order to support very large
3503 +namespaces.
739 3504
740 -Replaced all instances of %d in printf format specifiers with %u since nearly
3505 +Replaced all instances of %d in printf format specifiers with %u since
3506 +nearly
741 3507 all integers in ACPICA are unsigned.
742 3508
743 -Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned
3509 +Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
3510 +returned
744 3511 as AE_NO_HANDLER.
745 3512
746 3513 Example Code and Data Size: These are the sizes for the OS-independent
747 3514 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
748 -debug version of the code includes the debug output trace mechanism and has a
3515 +debug version of the code includes the debug output trace mechanism and
3516 +has a
749 3517 much larger code and data size.
750 3518
751 3519 Previous Release:
752 3520 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
753 3521 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
754 3522 Current Release:
755 3523 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
756 3524 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
757 3525
758 3526 2) iASL Compiler/Disassembler and Tools:
759 3527
760 3528 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
761 -methods. These objects are defined by "Windows Instrumentation", and are not
3529 +methods. These objects are defined by "Windows Instrumentation", and are
3530 +not
762 3531 part of the ACPI spec. ACPICA BZ 860.
763 3532
764 3533 AcpiExec: added option to disable the memory tracking mechanism. The -dt
765 3534 option will disable the tracking mechanism, which improves performance
766 3535 considerably.
767 3536
768 3537 AcpiExec: Restructured the command line options into -d (disable) and -e
769 3538 (enable) options.
770 3539
771 3540 ----------------------------------------
772 3541 28 April 2010. Summary of changes for version 20100428:
773 3542
774 3543 1) ACPI CA Core Subsystem:
775 3544
776 3545 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
777 -including FADT-based and GPE Block Devices, execute any _PRW methods in the
3546 +including FADT-based and GPE Block Devices, execute any _PRW methods in
3547 +the
778 3548 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
779 3549 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
780 3550 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
781 3551 Devices. Provides compatibility with other ACPI implementations. Two new
782 -files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
3552 +files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
3553 +Moore.
783 3554
784 -Fixed a regression introduced in version 20100331 within the table manager
785 -where initial table loading could fail. This was introduced in the fix for
786 -AcpiReallocateRootTable. Also, renamed some of fields in the table manager
3555 +Fixed a regression introduced in version 20100331 within the table
3556 +manager
3557 +where initial table loading could fail. This was introduced in the fix
3558 +for
3559 +AcpiReallocateRootTable. Also, renamed some of fields in the table
3560 +manager
787 3561 data structures to clarify their meaning and use.
788 3562
789 3563 Fixed a possible allocation overrun during internal object copy in
790 -AcpiUtCopySimpleObject. The original code did not correctly handle the case
791 -where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
3564 +AcpiUtCopySimpleObject. The original code did not correctly handle the
3565 +case
3566 +where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
3567 +847.
792 3568
793 3569 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
794 -possible access beyond end-of-allocation. Also, now fully validate descriptor
3570 +possible access beyond end-of-allocation. Also, now fully validate
3571 +descriptor
795 3572 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
796 3573
797 3574 Example Code and Data Size: These are the sizes for the OS-independent
798 3575 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
799 -debug version of the code includes the debug output trace mechanism and has a
3576 +debug version of the code includes the debug output trace mechanism and
3577 +has a
800 3578 much larger code and data size.
801 3579
802 3580 Previous Release:
803 3581 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
804 3582 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
805 3583 Current Release:
806 3584 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
807 3585 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
808 3586
809 3587 2) iASL Compiler/Disassembler and Tools:
810 3588
811 3589 iASL: Implemented Min/Max/Len/Gran validation for address resource
812 -descriptors. This change implements validation for the address fields that
3590 +descriptors. This change implements validation for the address fields
3591 +that
813 3592 are common to all address-type resource descriptors. These checks are
814 3593 implemented: Checks for valid Min/Max, length within the Min/Max window,
815 -valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per
816 -table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c
3594 +valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
3595 +per
3596 +table 6-40 in the ACPI 4.0a specification. Also split the large
3597 +aslrestype1.c
817 3598 and aslrestype2.c files into five new files. ACPICA BZ 840.
818 3599
819 -iASL: Added support for the _Wxx predefined names. This support was missing
3600 +iASL: Added support for the _Wxx predefined names. This support was
3601 +missing
820 3602 and these names were not recognized by the compiler as valid predefined
821 3603 names. ACPICA BZ 851.
822 3604
823 -iASL: Added an error for all predefined names that are defined to return no
824 -value and thus must be implemented as Control Methods. These include all of
3605 +iASL: Added an error for all predefined names that are defined to return
3606 +no
3607 +value and thus must be implemented as Control Methods. These include all
3608 +of
825 3609 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
826 3610 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
827 3611
828 -iASL: Implemented the -ts option to emit hex AML data in ASL format, as an
829 -ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be
830 -dynamically loaded via the Load() operator. Also cleaned up output for the -
3612 +iASL: Implemented the -ts option to emit hex AML data in ASL format, as
3613 +an
3614 +ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
3615 +be
3616 +dynamically loaded via the Load() operator. Also cleaned up output for
3617 +the
3618 +-
831 3619 ta and -tc options. ACPICA BZ 853.
832 3620
833 3621 Tests: Added a new file with examples of extended iASL error checking.
834 3622 Demonstrates the advanced error checking ability of the iASL compiler.
835 3623 Available at tests/misc/badcode.asl.
836 3624
837 3625 ----------------------------------------
838 3626 31 March 2010. Summary of changes for version 20100331:
839 3627
840 3628 1) ACPI CA Core Subsystem:
841 3629
842 -Completed a major update for the GPE support in order to improve support for
843 -shared GPEs and to simplify both host OS and ACPICA code. Added a reference
844 -count mechanism to support shared GPEs that require multiple device drivers.
3630 +Completed a major update for the GPE support in order to improve support
3631 +for
3632 +shared GPEs and to simplify both host OS and ACPICA code. Added a
3633 +reference
3634 +count mechanism to support shared GPEs that require multiple device
3635 +drivers.
845 3636 Several external interfaces have changed. One external interface has been
846 3637 removed. One new external interface was added. Most of the GPE external
847 3638 interfaces now use the GPE spinlock instead of the events mutex (and the
848 -Flags parameter for many GPE interfaces has been removed.) See the updated
849 -ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael
3639 +Flags parameter for many GPE interfaces has been removed.) See the
3640 +updated
3641 +ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
3642 +Rafael
850 3643 Wysocki. ACPICA BZ 831.
851 3644
852 3645 Changed:
853 3646 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
854 3647 Removed:
855 3648 AcpiSetGpeType
856 3649 New:
857 3650 AcpiSetGpe
858 3651
859 -Implemented write support for DataTable operation regions. These regions are
860 -defined via the DataTableRegion() operator. Previously, only read support was
861 -implemented. The ACPI specification allows DataTableRegions to be read/write,
3652 +Implemented write support for DataTable operation regions. These regions
3653 +are
3654 +defined via the DataTableRegion() operator. Previously, only read support
3655 +was
3656 +implemented. The ACPI specification allows DataTableRegions to be
3657 +read/write,
862 3658 however.
863 3659
864 3660 Implemented a new subsystem option to force a copy of the DSDT to local
865 -memory. Optionally copy the entire DSDT to local memory (instead of simply
866 -mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace
867 -the original DSDT, creating the need for this option. Default is FALSE, do
3661 +memory. Optionally copy the entire DSDT to local memory (instead of
3662 +simply
3663 +mapping it.) There are some (albeit very rare) BIOSs that corrupt or
3664 +replace
3665 +the original DSDT, creating the need for this option. Default is FALSE,
3666 +do
868 3667 not copy the DSDT.
869 3668
870 3669 Implemented detection of a corrupted or replaced DSDT. This change adds
871 -support to detect a DSDT that has been corrupted and/or replaced from outside
872 -the OS (by firmware). This is typically catastrophic for the system, but has
3670 +support to detect a DSDT that has been corrupted and/or replaced from
3671 +outside
3672 +the OS (by firmware). This is typically catastrophic for the system, but
3673 +has
873 3674 been seen on some machines. Once this problem has been detected, the DSDT
874 3675 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
875 3676
876 -Fixed two problems with AcpiReallocateRootTable during the root table copy.
3677 +Fixed two problems with AcpiReallocateRootTable during the root table
3678 +copy.
877 3679 When copying the root table to the new allocation, the length used was
878 -incorrect. The new size was used instead of the current table size, meaning
879 -too much data was copied. Also, the count of available slots for ACPI tables
3680 +incorrect. The new size was used instead of the current table size,
3681 +meaning
3682 +too much data was copied. Also, the count of available slots for ACPI
3683 +tables
880 3684 was not set correctly. Alexey Starikovskiy, Bob Moore.
881 3685
882 3686 Example Code and Data Size: These are the sizes for the OS-independent
883 3687 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
884 -debug version of the code includes the debug output trace mechanism and has a
3688 +debug version of the code includes the debug output trace mechanism and
3689 +has a
885 3690 much larger code and data size.
886 3691
887 3692 Previous Release:
888 3693 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
889 3694 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
890 3695 Current Release:
891 3696 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
892 3697 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
893 3698
894 3699 2) iASL Compiler/Disassembler and Tools:
895 3700
896 3701 iASL: Implement limited typechecking for values returned from predefined
897 3702 control methods. The type of any returned static (unnamed) object is now
898 3703 validated. For example, Return(1). ACPICA BZ 786.
899 3704
900 -iASL: Fixed a predefined name object verification regression. Fixes a problem
3705 +iASL: Fixed a predefined name object verification regression. Fixes a
3706 +problem
901 3707 introduced in version 20100304. An error is incorrectly generated if a
902 3708 predefined name is declared as a static named object with a value defined
903 3709 using the keywords "Zero", "One", or "Ones". Lin Ming.
904 3710
905 -iASL: Added Windows 7 support for the -g option (get local ACPI tables) by
3711 +iASL: Added Windows 7 support for the -g option (get local ACPI tables)
3712 +by
906 3713 reducing the requested registry access rights. ACPICA BZ 842.
907 3714
908 -Disassembler: fixed a possible fault when generating External() statements.
909 -Introduced in commit ae7d6fd: Properly handle externals with parent-prefix
3715 +Disassembler: fixed a possible fault when generating External()
3716 +statements.
3717 +Introduced in commit ae7d6fd: Properly handle externals with parent-
3718 +prefix
910 3719 (carat). Fixes a string length allocation calculation. Lin Ming.
911 3720
912 3721 ----------------------------------------
913 3722 04 March 2010. Summary of changes for version 20100304:
914 3723
915 3724 1) ACPI CA Core Subsystem:
916 3725
917 3726 Fixed a possible problem with the AML Mutex handling function
918 3727 AcpiExReleaseMutex where the function could fault under the very rare
919 -condition when the interpreter has blocked, the interpreter lock is released,
3728 +condition when the interpreter has blocked, the interpreter lock is
3729 +released,
920 3730 the interpreter is then reentered via the same thread, and attempts to
921 -acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin
3731 +acquire an AML mutex that was previously acquired. FreeBSD report 140979.
3732 +Lin
922 3733 Ming.
923 3734
924 3735 Implemented additional configuration support for the AML "Debug Object".
925 3736 Output from the debug object can now be enabled via a global variable,
926 -AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging.
927 -This debug output is now available in the release version of ACPICA instead
928 -of just the debug version. Also, the entire debug output module can now be
3737 +AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
3738 +debugging.
3739 +This debug output is now available in the release version of ACPICA
3740 +instead
3741 +of just the debug version. Also, the entire debug output module can now
3742 +be
929 3743 configured out of the ACPICA build if desired. One new file added,
930 3744 executer/exdebug.c. Lin Ming, Bob Moore.
931 3745
932 3746 Added header support for the ACPI MCHI table (Management Controller Host
933 -Interface Table). This table was added in ACPI 4.0, but the defining document
3747 +Interface Table). This table was added in ACPI 4.0, but the defining
3748 +document
934 3749 has only recently become available.
935 3750
936 -Standardized output of integer values for ACPICA warnings/errors. Always use
937 -0x prefix for hex output, always use %u for unsigned integer decimal output.
938 -Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400
3751 +Standardized output of integer values for ACPICA warnings/errors. Always
3752 +use
3753 +0x prefix for hex output, always use %u for unsigned integer decimal
3754 +output.
3755 +Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
3756 +400
939 3757 invocations.) These invocations were converted from the original
940 3758 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
941 3759
942 3760 Example Code and Data Size: These are the sizes for the OS-independent
943 3761 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
944 -debug version of the code includes the debug output trace mechanism and has a
3762 +debug version of the code includes the debug output trace mechanism and
3763 +has a
945 3764 much larger code and data size.
946 3765
947 3766 Previous Release:
948 3767 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
949 3768 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
950 3769 Current Release:
951 3770 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
952 3771 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
953 3772
954 3773 2) iASL Compiler/Disassembler and Tools:
955 3774
956 3775 iASL: Implemented typechecking support for static (non-control method)
957 3776 predefined named objects that are declared with the Name() operator. For
958 3777 example, the type of this object is now validated to be of type Integer:
959 -Name(_BBN, 1). This change migrates the compiler to using the core predefined
3778 +Name(_BBN, 1). This change migrates the compiler to using the core
3779 +predefined
960 3780 name table instead of maintaining a local version. Added a new file,
961 3781 aslpredef.c. ACPICA BZ 832.
962 3782
963 3783 Disassembler: Added support for the ACPI 4.0 MCHI table.
964 3784
965 3785 ----------------------------------------
966 3786 21 January 2010. Summary of changes for version 20100121:
967 3787
968 3788 1) ACPI CA Core Subsystem:
969 3789
970 3790 Added the 2010 copyright to all module headers and signons. This affects
971 3791 virtually every file in the ACPICA core subsystem, the iASL compiler, the
972 3792 tools/utilities, and the test suites.
973 3793
974 -Implemented a change to the AcpiGetDevices interface to eliminate unnecessary
3794 +Implemented a change to the AcpiGetDevices interface to eliminate
3795 +unnecessary
975 3796 invocations of the _STA method. In the case where a specific _HID is
976 3797 requested, do not run _STA until a _HID match is found. This eliminates
977 -potentially dozens of _STA calls during a search for a particular device/HID,
3798 +potentially dozens of _STA calls during a search for a particular
3799 +device/HID,
978 3800 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
979 3801
980 -Implemented an additional repair for predefined method return values. Attempt
981 -to repair unexpected NULL elements within returned Package objects. Create an
982 -Integer of value zero, a NULL String, or a zero-length Buffer as appropriate.
3802 +Implemented an additional repair for predefined method return values.
3803 +Attempt
3804 +to repair unexpected NULL elements within returned Package objects.
3805 +Create
3806 +an
3807 +Integer of value zero, a NULL String, or a zero-length Buffer as
3808 +appropriate.
983 3809 ACPICA BZ 818. Lin Ming, Bob Moore.
984 3810
985 -Removed the obsolete ACPI_INTEGER data type. This type was introduced as the
986 -code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with
987 -64-bit AML integers). It is now obsolete and this change removes it from the
988 -ACPICA code base, replaced by UINT64. The original typedef has been retained
989 -for now for compatibility with existing device driver code. ACPICA BZ 824.
3811 +Removed the obsolete ACPI_INTEGER data type. This type was introduced as
3812 +the
3813 +code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
3814 +(with
3815 +64-bit AML integers). It is now obsolete and this change removes it from
3816 +the
3817 +ACPICA code base, replaced by UINT64. The original typedef has been
3818 +retained
3819 +for now for compatibility with existing device driver code. ACPICA BZ
3820 +824.
990 3821
991 -Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in
3822 +Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
3823 +in
992 3824 the parse tree object.
993 3825
994 -Added additional warning options for the gcc-4 generation. Updated the source
995 -accordingly. This includes some code restructuring to eliminate unreachable
996 -code, elimination of some gotos, elimination of unused return values, some
3826 +Added additional warning options for the gcc-4 generation. Updated the
3827 +source
3828 +accordingly. This includes some code restructuring to eliminate
3829 +unreachable
3830 +code, elimination of some gotos, elimination of unused return values,
3831 +some
997 3832 additional casting, and removal of redundant declarations.
998 3833
999 3834 Example Code and Data Size: These are the sizes for the OS-independent
1000 3835 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1001 -debug version of the code includes the debug output trace mechanism and has a
3836 +debug version of the code includes the debug output trace mechanism and
3837 +has a
1002 3838 much larger code and data size.
1003 3839
1004 3840 Previous Release:
1005 3841 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
1006 3842 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
1007 3843 Current Release:
1008 3844 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
1009 3845 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
1010 3846
1011 3847 2) iASL Compiler/Disassembler and Tools:
1012 3848
1013 3849 No functional changes for this release.
1014 3850
1015 3851 ----------------------------------------
1016 3852 14 December 2009. Summary of changes for version 20091214:
1017 3853
1018 3854 1) ACPI CA Core Subsystem:
1019 3855
1020 -Enhanced automatic data type conversions for predefined name repairs. This
1021 -change expands the automatic repairs/conversions for predefined name return
1022 -values to make Integers, Strings, and Buffers fully interchangeable. Also, a
1023 -Buffer can be converted to a Package of Integers if necessary. The nsrepair.c
3856 +Enhanced automatic data type conversions for predefined name repairs.
3857 +This
3858 +change expands the automatic repairs/conversions for predefined name
3859 +return
3860 +values to make Integers, Strings, and Buffers fully interchangeable.
3861 +Also,
3862 +a
3863 +Buffer can be converted to a Package of Integers if necessary. The
3864 +nsrepair.c
1024 3865 module was completely restructured. Lin Ming, Bob Moore.
1025 3866
1026 -Implemented automatic removal of null package elements during predefined name
3867 +Implemented automatic removal of null package elements during predefined
3868 +name
1027 3869 repairs. This change will automatically remove embedded and trailing NULL
1028 -package elements from returned package objects that are defined to contain a
1029 -variable number of sub-packages. The driver is then presented with a package
3870 +package elements from returned package objects that are defined to
3871 +contain
3872 +a
3873 +variable number of sub-packages. The driver is then presented with a
3874 +package
1030 3875 with no null elements to deal with. ACPICA BZ 819.
1031 3876
1032 3877 Implemented a repair for the predefined _FDE and _GTM names. The expected
1033 -return value for both names is a Buffer of 5 DWORDs. This repair fixes two
1034 -possible problems (both seen in the field), where a package of integers is
1035 -returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
3878 +return value for both names is a Buffer of 5 DWORDs. This repair fixes
3879 +two
3880 +possible problems (both seen in the field), where a package of integers
3881 +is
3882 +returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
3883 +Kim.
1036 3884
1037 -Implemented additional module-level code support. This change will properly
1038 -execute module-level code that is not at the root of the namespace (under a
1039 -Device object, etc.). Now executes the code within the current scope instead
3885 +Implemented additional module-level code support. This change will
3886 +properly
3887 +execute module-level code that is not at the root of the namespace (under
3888 +a
3889 +Device object, etc.). Now executes the code within the current scope
3890 +instead
1040 3891 of the root. ACPICA BZ 762. Lin Ming.
1041 3892
1042 -Fixed possible mutex acquisition errors when running _REG methods. Fixes a
1043 -problem where mutex errors can occur when running a _REG method that is in
1044 -the same scope as a method-defined operation region or an operation region
1045 -under a module-level IF block. This type of code is rare, so the problem has
3893 +Fixed possible mutex acquisition errors when running _REG methods. Fixes
3894 +a
3895 +problem where mutex errors can occur when running a _REG method that is
3896 +in
3897 +the same scope as a method-defined operation region or an operation
3898 +region
3899 +under a module-level IF block. This type of code is rare, so the problem
3900 +has
1046 3901 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1047 3902
1048 -Fixed a possible memory leak during module-level code execution. An object
3903 +Fixed a possible memory leak during module-level code execution. An
3904 +object
1049 3905 could be leaked for each block of executed module-level code if the
1050 -interpreter slack mode is enabled This change deletes any implicitly returned
3906 +interpreter slack mode is enabled This change deletes any implicitly
3907 +returned
1051 3908 object from the module-level code block. Lin Ming.
1052 3909
1053 -Removed messages for successful predefined repair(s). The repair mechanism
1054 -was considered too wordy. Now, messages are only unconditionally emitted if
3910 +Removed messages for successful predefined repair(s). The repair
3911 +mechanism
3912 +was considered too wordy. Now, messages are only unconditionally emitted
3913 +if
1055 3914 the return object cannot be repaired. Existing messages for successful
1056 -repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
3915 +repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
3916 +827.
1057 3917
1058 3918 Example Code and Data Size: These are the sizes for the OS-independent
1059 3919 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1060 -debug version of the code includes the debug output trace mechanism and has a
3920 +debug version of the code includes the debug output trace mechanism and
3921 +has a
1061 3922 much larger code and data size.
1062 3923
1063 3924 Previous Release:
1064 3925 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
1065 3926 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
1066 3927 Current Release:
1067 3928 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
1068 3929 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
1069 3930
1070 3931 2) iASL Compiler/Disassembler and Tools:
1071 3932
1072 -iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files
3933 +iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
3934 +files
1073 3935 were no longer automatically removed at the termination of the compile.
1074 3936
1075 3937 acpiexec: Implemented the -f option to specify default region fill value.
1076 3938 This option specifies the value used to initialize buffers that simulate
1077 -operation regions. Default value is zero. Useful for debugging problems that
3939 +operation regions. Default value is zero. Useful for debugging problems
3940 +that
1078 3941 depend on a specific initial value for a region or field.
1079 3942
1080 3943 ----------------------------------------
1081 3944 12 November 2009. Summary of changes for version 20091112:
1082 3945
1083 3946 1) ACPI CA Core Subsystem:
1084 3947
1085 3948 Implemented a post-order callback to AcpiWalkNamespace. The existing
1086 3949 interface only has a pre-order callback. This change adds an additional
1087 -parameter for a post-order callback which will be more useful for bus scans.
3950 +parameter for a post-order callback which will be more useful for bus
3951 +scans.
1088 3952 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
1089 3953
1090 3954 Modified the behavior of the operation region memory mapping cache for
1091 -SystemMemory. Ensure that the memory mappings created for operation regions
3955 +SystemMemory. Ensure that the memory mappings created for operation
3956 +regions
1092 3957 do not cross 4K page boundaries. Crossing a page boundary while mapping
1093 -regions can cause kernel warnings on some hosts if the pages have different
1094 -attributes. Such regions are probably BIOS bugs, and this is the workaround.
3958 +regions can cause kernel warnings on some hosts if the pages have
3959 +different
3960 +attributes. Such regions are probably BIOS bugs, and this is the
3961 +workaround.
1095 3962 Linux BZ 14445. Lin Ming.
1096 3963
1097 3964 Implemented an automatic repair for predefined methods that must return
1098 -sorted lists. This change will repair (by sorting) packages returned by _ALR,
1099 -_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted
3965 +sorted lists. This change will repair (by sorting) packages returned by
3966 +_ALR,
3967 +_PSS, and _TSS. Drivers can now assume that the packages are correctly
3968 +sorted
1100 3969 and do not contain NULL package elements. Adds one new file,
1101 3970 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1102 3971
1103 -Fixed a possible fault during predefined name validation if a return Package
3972 +Fixed a possible fault during predefined name validation if a return
3973 +Package
1104 3974 object contains NULL elements. Also adds a warning if a NULL element is
1105 -followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may
3975 +followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
3976 +may
1106 3977 include repair or removal of all such NULL elements where possible.
1107 3978
1108 -Implemented additional module-level executable AML code support. This change
3979 +Implemented additional module-level executable AML code support. This
3980 +change
1109 3981 will execute module-level code that is not at the root of the namespace
1110 -(under a Device object, etc.) at table load time. Module-level executable AML
3982 +(under a Device object, etc.) at table load time. Module-level executable
3983 +AML
1111 3984 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1112 3985
1113 -Implemented a new internal function to create Integer objects. This function
3986 +Implemented a new internal function to create Integer objects. This
3987 +function
1114 3988 simplifies miscellaneous object creation code. ACPICA BZ 823.
1115 3989
1116 -Reduced the severity of predefined repair messages, Warning to Info. Since
1117 -the object was successfully repaired, a warning is too severe. Reduced to an
1118 -info message for now. These messages may eventually be changed to debug-only.
3990 +Reduced the severity of predefined repair messages, Warning to Info.
3991 +Since
3992 +the object was successfully repaired, a warning is too severe. Reduced to
3993 +an
3994 +info message for now. These messages may eventually be changed to debug-
3995 +only.
1119 3996 ACPICA BZ 812.
1120 3997
1121 3998 Example Code and Data Size: These are the sizes for the OS-independent
1122 3999 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1123 -debug version of the code includes the debug output trace mechanism and has a
4000 +debug version of the code includes the debug output trace mechanism and
4001 +has a
1124 4002 much larger code and data size.
1125 4003
1126 4004 Previous Release:
1127 4005 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
1128 4006 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
1129 4007 Current Release:
1130 4008 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
1131 4009 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
1132 4010
1133 4011 2) iASL Compiler/Disassembler and Tools:
1134 4012
1135 -iASL: Implemented Switch() with While(1) so that Break works correctly. This
1136 -change correctly implements the Switch operator with a surrounding While(1)
4013 +iASL: Implemented Switch() with While(1) so that Break works correctly.
4014 +This
4015 +change correctly implements the Switch operator with a surrounding
4016 +While(1)
1137 4017 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1138 4018
1139 -iASL: Added a message if a package initializer list is shorter than package
1140 -length. Adds a new remark for a Package() declaration if an initializer list
4019 +iASL: Added a message if a package initializer list is shorter than
4020 +package
4021 +length. Adds a new remark for a Package() declaration if an initializer
4022 +list
1141 4023 exists, but is shorter than the declared length of the package. Although
1142 4024 technically legal, this is probably a coding error and it is seen in the
1143 4025 field. ACPICA BZ 815. Lin Ming, Bob Moore.
1144 4026
1145 -iASL: Fixed a problem where the compiler could fault after the maximum number
4027 +iASL: Fixed a problem where the compiler could fault after the maximum
4028 +number
1146 4029 of errors was reached (200).
1147 4030
1148 -acpixtract: Fixed a possible warning for pointer cast if the compiler warning
4031 +acpixtract: Fixed a possible warning for pointer cast if the compiler
4032 +warning
1149 4033 level set very high.
1150 4034
1151 4035 ----------------------------------------
1152 4036 13 October 2009. Summary of changes for version 20091013:
1153 4037
1154 4038 1) ACPI CA Core Subsystem:
1155 4039
1156 -Fixed a problem where an Operation Region _REG method could be executed more
1157 -than once. If a custom address space handler is installed by the host before
1158 -the "initialize operation regions" phase of the ACPICA initialization, any
4040 +Fixed a problem where an Operation Region _REG method could be executed
4041 +more
4042 +than once. If a custom address space handler is installed by the host
4043 +before
4044 +the "initialize operation regions" phase of the ACPICA initialization,
4045 +any
1159 4046 _REG methods for that address space could be executed twice. This change
1160 4047 fixes the problem. ACPICA BZ 427. Lin Ming.
1161 4048
1162 4049 Fixed a possible memory leak for the Scope() ASL operator. When the exact
1163 4050 invocation of "Scope(\)" is executed (change scope to root), one internal
1164 4051 operand object was leaked. Lin Ming.
1165 4052
1166 4053 Implemented a run-time repair for the _MAT predefined method. If the _MAT
1167 4054 return value is defined as a Field object in the AML, and the field
1168 -size is less than or equal to the default width of an integer (32 or 64),_MAT
4055 +size is less than or equal to the default width of an integer (32 or
4056 +64),_MAT
1169 4057 can incorrectly return an Integer instead of a Buffer. ACPICA now
1170 4058 automatically repairs this problem. ACPICA BZ 810.
1171 4059
1172 -Implemented a run-time repair for the _BIF and _BIX predefined methods. The
4060 +Implemented a run-time repair for the _BIF and _BIX predefined methods.
4061 +The
1173 4062 "OEM Information" field is often incorrectly returned as an Integer with
1174 -value zero if the field is not supported by the platform. This is due to an
4063 +value zero if the field is not supported by the platform. This is due to
4064 +an
1175 4065 ambiguity in the ACPI specification. The field should always be a string.
1176 4066 ACPICA now automatically repairs this problem by returning a NULL string
1177 4067 within the returned Package. ACPICA BZ 807.
1178 4068
1179 4069 Example Code and Data Size: These are the sizes for the OS-independent
1180 4070 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1181 -debug version of the code includes the debug output trace mechanism and has a
4071 +debug version of the code includes the debug output trace mechanism and
4072 +has a
1182 4073 much larger code and data size.
1183 4074
1184 4075 Previous Release:
1185 4076 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
1186 4077 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
1187 4078 Current Release:
1188 4079 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
1189 4080 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
1190 4081
1191 4082 2) iASL Compiler/Disassembler and Tools:
1192 4083
1193 4084 Disassembler: Fixed a problem where references to external symbols that
1194 -contained one or more parent-prefixes (carats) were not handled correctly,
4085 +contained one or more parent-prefixes (carats) were not handled
4086 +correctly,
1195 4087 possibly causing a fault. ACPICA BZ 806. Lin Ming.
1196 4088
1197 4089 Disassembler: Restructured the code so that all functions that handle
1198 4090 external symbols are in a single module. One new file is added,
1199 4091 common/dmextern.c.
1200 4092
1201 4093 AML Debugger: Added a max count argument for the Batch command (which
1202 4094 executes multiple predefined methods within the namespace.)
1203 4095
1204 4096 iASL: Updated the compiler documentation (User Reference.) Available at
1205 4097 http://www.acpica.org/documentation/. ACPICA BZ 750.
1206 4098
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
1207 4099 AcpiXtract: Updated for Lint and other formatting changes. Close all open
1208 4100 files.
1209 4101
1210 4102 ----------------------------------------
1211 4103 03 September 2009. Summary of changes for version 20090903:
1212 4104
1213 4105 1) ACPI CA Core Subsystem:
1214 4106
1215 4107 For Windows Vista compatibility, added the automatic execution of an _INI
1216 4108 method located at the namespace root (\_INI). This method is executed at
1217 -table load time. This support is in addition to the automatic execution of
4109 +table load time. This support is in addition to the automatic execution
4110 +of
1218 4111 \_SB._INI. Lin Ming.
1219 4112
1220 -Fixed a possible memory leak in the interpreter for AML package objects if
1221 -the package initializer list is longer than the defined size of the package.
1222 -This apparently can only happen if the BIOS changes the package size on the
4113 +Fixed a possible memory leak in the interpreter for AML package objects
4114 +if
4115 +the package initializer list is longer than the defined size of the
4116 +package.
4117 +This apparently can only happen if the BIOS changes the package size on
4118 +the
1223 4119 fly (seen in a _PSS object), as ASL compilers do not allow this. The
1224 -interpreter will truncate the package to the defined size (and issue an error
1225 -message), but previously could leave the extra objects undeleted if they were
1226 -pre-created during the argument processing (such is the case if the package
4120 +interpreter will truncate the package to the defined size (and issue an
4121 +error
4122 +message), but previously could leave the extra objects undeleted if they
4123 +were
4124 +pre-created during the argument processing (such is the case if the
4125 +package
1227 4126 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1228 4127
1229 4128 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
1230 -This has been reported in the field. Previously, ACPICA would zero out the
4129 +This has been reported in the field. Previously, ACPICA would zero out
4130 +the
1231 4131 buffer/string. Now, the operation is treated as a noop. Provides Windows
1232 4132 compatibility. ACPICA BZ 803. Lin Ming.
1233 4133
1234 4134 Removed an extraneous error message for ASL constructs of the form
1235 -Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements
1236 -are seen in many BIOSs and are once again treated as NOOPs and no error is
4135 +Store(LocalX,LocalX) when LocalX is uninitialized. These curious
4136 +statements
4137 +are seen in many BIOSs and are once again treated as NOOPs and no error
4138 +is
1237 4139 emitted when they are encountered. ACPICA BZ 785.
1238 4140
1239 4141 Fixed an extraneous warning message if a _DSM reserved method returns a
1240 4142 Package object. _DSM can return any type of object, so validation on the
1241 4143 return type cannot be performed. ACPICA BZ 802.
1242 4144
1243 4145 Example Code and Data Size: These are the sizes for the OS-independent
1244 4146 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1245 -debug version of the code includes the debug output trace mechanism and has a
4147 +debug version of the code includes the debug output trace mechanism and
4148 +has a
1246 4149 much larger code and data size.
1247 4150
1248 4151 Previous Release:
1249 4152 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
1250 4153 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
1251 4154 Current Release:
1252 4155 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
1253 4156 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
1254 4157
1255 4158 2) iASL Compiler/Disassembler and Tools:
1256 4159
1257 4160 iASL: Fixed a problem with the use of the Alias operator and Resource
1258 4161 Templates. The correct alias is now constructed and no error is emitted.
1259 4162 ACPICA BZ 738.
1260 4163
1261 -iASL: Implemented the -I option to specify additional search directories for
4164 +iASL: Implemented the -I option to specify additional search directories
4165 +for
1262 4166 include files. Allows multiple additional search paths for include files.
1263 -Directories are searched in the order specified on the command line (after
4167 +Directories are searched in the order specified on the command line
4168 +(after
1264 4169 the local directory is searched.) ACPICA BZ 800.
1265 4170
1266 4171 iASL: Fixed a problem where the full pathname for include files was not
1267 4172 emitted for warnings/errors. This caused the IDE support to not work
1268 4173 properly. ACPICA BZ 765.
1269 4174
1270 4175 iASL: Implemented the -@ option to specify a Windows-style response file
1271 4176 containing additional command line options. ACPICA BZ 801.
1272 4177
1273 -AcpiExec: Added support to load multiple AML files simultaneously (such as a
4178 +AcpiExec: Added support to load multiple AML files simultaneously (such
4179 +as
4180 +a
1274 4181 DSDT and multiple SSDTs). Also added support for wildcards within the AML
1275 4182 pathname. These features allow all machine tables to be easily loaded and
1276 4183 debugged together. ACPICA BZ 804.
1277 4184
1278 -Disassembler: Added missing support for disassembly of HEST table Error Bank
4185 +Disassembler: Added missing support for disassembly of HEST table Error
4186 +Bank
1279 4187 subtables.
1280 4188
1281 4189 ----------------------------------------
1282 4190 30 July 2009. Summary of changes for version 20090730:
1283 4191
1284 4192 The ACPI 4.0 implementation for ACPICA is complete with this release.
1285 4193
1286 4194 1) ACPI CA Core Subsystem:
1287 4195
1288 4196 ACPI 4.0: Added header file support for all new and changed ACPI tables.
1289 -Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new
1290 -for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT,
1291 -EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There
4197 +Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
4198 +new
4199 +for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
4200 +BERT,
4201 +EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
4202 +There
1292 4203 have been some ACPI 4.0 changes to other existing tables. Split the large
1293 4204 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
1294 4205
1295 -ACPI 4.0: Implemented predefined name validation for all new names. There are
1296 -31 new names in ACPI 4.0. The predefined validation module was split into two
4206 +ACPI 4.0: Implemented predefined name validation for all new names. There
4207 +are
4208 +31 new names in ACPI 4.0. The predefined validation module was split into
4209 +two
1297 4210 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
1298 4211
1299 4212 Implemented support for so-called "module-level executable code". This is
1300 -executable AML code that exists outside of any control method and is intended
1301 -to be executed at table load time. Although illegal since ACPI 2.0, this type
1302 -of code still exists and is apparently still being created. Blocks of this
1303 -code are now detected and executed as intended. Currently, the code blocks
4213 +executable AML code that exists outside of any control method and is
4214 +intended
4215 +to be executed at table load time. Although illegal since ACPI 2.0, this
4216 +type
4217 +of code still exists and is apparently still being created. Blocks of
4218 +this
4219 +code are now detected and executed as intended. Currently, the code
4220 +blocks
1304 4221 must exist under either an If, Else, or While construct; these are the
1305 4222 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
1306 4223
1307 4224 Implemented an automatic dynamic repair for predefined names that return
1308 -nested Package objects. This applies to predefined names that are defined to
4225 +nested Package objects. This applies to predefined names that are defined
4226 +to
1309 4227 return a variable-length Package of sub-packages. If the number of sub-
1310 -packages is one, BIOS code is occasionally seen that creates a simple single
4228 +packages is one, BIOS code is occasionally seen that creates a simple
4229 +single
1311 4230 package with no sub-packages. This code attempts to fix the problem by
1312 -wrapping a new package object around the existing package. These methods can
1313 -be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ
4231 +wrapping a new package object around the existing package. These methods
4232 +can
4233 +be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
4234 +BZ
1314 4235 790.
1315 4236
1316 -Fixed a regression introduced in 20090625 for the AcpiGetDevices interface.
1317 -The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA
4237 +Fixed a regression introduced in 20090625 for the AcpiGetDevices
4238 +interface.
4239 +The _HID/_CID matching was broken and no longer matched IDs correctly.
4240 +ACPICA
1318 4241 BZ 793.
1319 4242
1320 4243 Fixed a problem with AcpiReset where the reset would silently fail if the
1321 -register was one of the protected I/O ports. AcpiReset now bypasses the port
1322 -validation mechanism. This may eventually be driven into the AcpiRead/Write
4244 +register was one of the protected I/O ports. AcpiReset now bypasses the
4245 +port
4246 +validation mechanism. This may eventually be driven into the
4247 +AcpiRead/Write
1323 4248 interfaces.
1324 4249
1325 4250 Fixed a regression related to the recent update of the AcpiRead/Write
1326 -interfaces. A sleep/suspend could fail if the optional PM2 Control register
4251 +interfaces. A sleep/suspend could fail if the optional PM2 Control
4252 +register
1327 4253 does not exist during an attempt to write the Bus Master Arbitration bit.
1328 -(However, some hosts already delete the code that writes this bit, and the
4254 +(However, some hosts already delete the code that writes this bit, and
4255 +the
1329 4256 code may in fact be obsolete at this date.) ACPICA BZ 799.
1330 4257
1331 -Fixed a problem where AcpiTerminate could fault if inadvertently called twice
4258 +Fixed a problem where AcpiTerminate could fault if inadvertently called
4259 +twice
1332 4260 in succession. ACPICA BZ 795.
1333 4261
1334 4262 Example Code and Data Size: These are the sizes for the OS-independent
1335 4263 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1336 -debug version of the code includes the debug output trace mechanism and has a
4264 +debug version of the code includes the debug output trace mechanism and
4265 +has a
1337 4266 much larger code and data size.
1338 4267
1339 4268 Previous Release:
1340 4269 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
1341 4270 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
1342 4271 Current Release:
1343 4272 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
1344 4273 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
1345 4274
1346 4275 2) iASL Compiler/Disassembler and Tools:
1347 4276
1348 4277 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
1349 4278 changes to existing tables. ACPICA BZ 775.
1350 4279
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
1351 4280 ----------------------------------------
1352 4281 25 June 2009. Summary of changes for version 20090625:
1353 4282
1354 4283 The ACPI 4.0 Specification was released on June 16 and is available at
1355 4284 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
1356 4285 continue for the next few releases.
1357 4286
1358 4287 1) ACPI CA Core Subsystem:
1359 4288
1360 4289 ACPI 4.0: Implemented interpreter support for the IPMI operation region
1361 -address space. Includes support for bi-directional data buffers and an IPMI
1362 -address space handler (to be installed by an IPMI device driver.) ACPICA BZ
4290 +address space. Includes support for bi-directional data buffers and an
4291 +IPMI
4292 +address space handler (to be installed by an IPMI device driver.) ACPICA
4293 +BZ
1363 4294 773. Lin Ming.
1364 4295
1365 -ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes
4296 +ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
4297 +Includes
1366 4298 support in both the header files and the disassembler.
1367 4299
1368 4300 Completed a major update for the AcpiGetObjectInfo external interface.
1369 4301 Changes include:
1370 4302 - Support for variable, unlimited length HID, UID, and CID strings.
1371 - - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
4303 + - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
4304 +etc.)
1372 4305 - Call the _SxW power methods on behalf of a device object.
1373 4306 - Determine if a device is a PCI root bridge.
1374 4307 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
1375 -These changes will require an update to all callers of this interface. See
1376 -the updated ACPICA Programmer Reference for details. One new source file has
4308 +These changes will require an update to all callers of this interface.
4309 +See
4310 +the updated ACPICA Programmer Reference for details. One new source file
4311 +has
1377 4312 been added - utilities/utids.c. ACPICA BZ 368, 780.
1378 4313
1379 4314 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
1380 -transfers. The Value parameter has been extended from 32 bits to 64 bits in
1381 -order to support new ACPI 4.0 tables. These changes will require an update to
4315 +transfers. The Value parameter has been extended from 32 bits to 64 bits
4316 +in
4317 +order to support new ACPI 4.0 tables. These changes will require an
4318 +update
4319 +to
1382 4320 all callers of these interfaces. See the ACPICA Programmer Reference for
1383 4321 details. ACPICA BZ 768.
1384 4322
1385 -Fixed several problems with AcpiAttachData. The handler was not invoked when
1386 -the host node was deleted. The data sub-object was not automatically deleted
1387 -when the host node was deleted. The interface to the handler had an unused
4323 +Fixed several problems with AcpiAttachData. The handler was not invoked
4324 +when
4325 +the host node was deleted. The data sub-object was not automatically
4326 +deleted
4327 +when the host node was deleted. The interface to the handler had an
4328 +unused
1388 4329 parameter, this was removed. ACPICA BZ 778.
1389 4330
1390 4331 Enhanced the function that dumps ACPI table headers. All non-printable
1391 -characters in the string fields are now replaced with '?' (Signature, OemId,
4332 +characters in the string fields are now replaced with '?' (Signature,
4333 +OemId,
1392 4334 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
1393 4335 these fields are occasionally seen in the field. ACPICA BZ 788.
1394 4336
1395 4337 Fixed a problem with predefined method repair code where the code that
1396 -attempts to repair/convert an object of incorrect type is only executed on
1397 -the first time the predefined method is called. The mechanism that disables
4338 +attempts to repair/convert an object of incorrect type is only executed
4339 +on
4340 +the first time the predefined method is called. The mechanism that
4341 +disables
1398 4342 warnings on subsequent calls was interfering with the repair mechanism.
1399 4343 ACPICA BZ 781.
1400 4344
1401 -Fixed a possible memory leak in the predefined validation/repair code when a
4345 +Fixed a possible memory leak in the predefined validation/repair code
4346 +when
4347 +a
1402 4348 buffer is automatically converted to an expected string object.
1403 4349
1404 -Removed obsolete 16-bit files from the distribution and from the current git
4350 +Removed obsolete 16-bit files from the distribution and from the current
4351 +git
1405 4352 tree head. ACPICA BZ 776.
1406 4353
1407 4354 Example Code and Data Size: These are the sizes for the OS-independent
1408 4355 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1409 -debug version of the code includes the debug output trace mechanism and has a
4356 +debug version of the code includes the debug output trace mechanism and
4357 +has a
1410 4358 much larger code and data size.
1411 4359
1412 4360 Previous Release:
1413 4361 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
1414 4362 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
1415 4363 Current Release:
1416 4364 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
1417 4365 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
1418 4366
1419 4367 2) iASL Compiler/Disassembler and Tools:
1420 4368
1421 4369 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
1422 4370 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
1423 4371
1424 4372 ACPI 4.0: iASL - implemented compile-time validation support for all new
1425 4373 predefined names and control methods (31 total). ACPICA BZ 769.
1426 4374
1427 4375 ----------------------------------------
1428 4376 21 May 2009. Summary of changes for version 20090521:
1429 4377
1430 4378 1) ACPI CA Core Subsystem:
1431 4379
1432 -Disabled the preservation of the SCI enable bit in the PM1 control register.
1433 -The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be
4380 +Disabled the preservation of the SCI enable bit in the PM1 control
4381 +register.
4382 +The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
4383 +to
4384 +be
1434 4385 a "preserved" bit - "OSPM always preserves this bit position", section
1435 4386 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
1436 4387 because the bit needs to be explicitly set by the OS as a workaround. No
1437 4388 machines fail if the bit is not preserved. Therefore, ACPICA no longer
1438 4389 attempts to preserve this bit.
1439 4390
1440 4391 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
1441 4392 incorrectly formed _PRT package could cause a fault. Added validation to
1442 4393 ensure that each package element is actually a sub-package.
1443 4394
1444 -Implemented a new interface to install or override a single control method,
1445 -AcpiInstallMethod. This interface is useful when debugging in order to repair
1446 -an existing method or to install a missing method without having to override
4395 +Implemented a new interface to install or override a single control
4396 +method,
4397 +AcpiInstallMethod. This interface is useful when debugging in order to
4398 +repair
4399 +an existing method or to install a missing method without having to
4400 +override
1447 4401 the entire ACPI table. See the ACPICA Programmer Reference for use and
1448 4402 examples. Lin Ming, Bob Moore.
1449 4403
1450 4404 Fixed several reference count issues with the DdbHandle object that is
1451 -created from a Load or LoadTable operator. Prevent premature deletion of the
1452 -object. Also, mark the object as invalid once the table has been unloaded.
1453 -This is needed because the handle itself may not be deleted after the table
4405 +created from a Load or LoadTable operator. Prevent premature deletion of
4406 +the
4407 +object. Also, mark the object as invalid once the table has been
4408 +unloaded.
4409 +This is needed because the handle itself may not be deleted after the
4410 +table
1454 4411 unload, depending on whether it has been stored in a named object by the
1455 4412 caller. Lin Ming.
1456 4413
1457 4414 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
1458 -mutexes of the same sync level are acquired but then not released in strict
1459 -opposite order, the internally maintained Current Sync Level becomes confused
4415 +mutexes of the same sync level are acquired but then not released in
4416 +strict
4417 +opposite order, the internally maintained Current Sync Level becomes
4418 +confused
1460 4419 and can cause subsequent execution errors. ACPICA BZ 471.
1461 4420
1462 4421 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
1463 -specification has been changed to make the SyncLevel for mutex objects more
1464 -useful. When releasing a mutex, the SyncLevel of the mutex must now be the
1465 -same as the current sync level. This makes more sense than the previous rule
4422 +specification has been changed to make the SyncLevel for mutex objects
4423 +more
4424 +useful. When releasing a mutex, the SyncLevel of the mutex must now be
4425 +the
4426 +same as the current sync level. This makes more sense than the previous
4427 +rule
1466 4428 (SyncLevel less than or equal). This change updates the code to match the
1467 4429 specification.
1468 4430
1469 -Fixed a problem with the local version of the AcpiOsPurgeCache function. The
4431 +Fixed a problem with the local version of the AcpiOsPurgeCache function.
4432 +The
1470 4433 (local) cache must be locked during all cache object deletions. Andrew
1471 4434 Baumann.
1472 4435
1473 -Updated the Load operator to use operation region interfaces. This replaces
1474 -direct memory mapping with region access calls. Now, all region accesses go
4436 +Updated the Load operator to use operation region interfaces. This
4437 +replaces
4438 +direct memory mapping with region access calls. Now, all region accesses
4439 +go
1475 4440 through the installed region handler as they should.
1476 4441
1477 -Simplified and optimized the NsGetNextNode function. Reduced parameter count
4442 +Simplified and optimized the NsGetNextNode function. Reduced parameter
4443 +count
1478 4444 and reduced code for this frequently used function.
1479 4445
1480 4446 Example Code and Data Size: These are the sizes for the OS-independent
1481 4447 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1482 -debug version of the code includes the debug output trace mechanism and has a
4448 +debug version of the code includes the debug output trace mechanism and
4449 +has a
1483 4450 much larger code and data size.
1484 4451
1485 4452 Previous Release:
1486 4453 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
1487 4454 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
1488 4455 Current Release:
1489 4456 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
1490 4457 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
1491 4458
1492 4459 2) iASL Compiler/Disassembler and Tools:
1493 4460
1494 -Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems
1495 -with sub-table disassembly and handling invalid sub-tables. Attempt recovery
4461 +Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
4462 +problems
4463 +with sub-table disassembly and handling invalid sub-tables. Attempt
4464 +recovery
1496 4465 after an invalid sub-table ID.
1497 4466
1498 4467 ----------------------------------------
1499 4468 22 April 2009. Summary of changes for version 20090422:
1500 4469
1501 4470 1) ACPI CA Core Subsystem:
1502 4471
1503 -Fixed a compatibility issue with the recently released I/O port protection
4472 +Fixed a compatibility issue with the recently released I/O port
4473 +protection
1504 4474 mechanism. For windows compatibility, 1) On a port protection violation,
1505 -simply ignore the request and do not return an exception (allow the control
4475 +simply ignore the request and do not return an exception (allow the
4476 +control
1506 4477 method to continue execution.) 2) If only part of the request overlaps a
1507 -protected port, read/write the individual ports that are not protected. Linux
4478 +protected port, read/write the individual ports that are not protected.
4479 +Linux
1508 4480 BZ 13036. Lin Ming
1509 4481
1510 -Enhanced the execution of the ASL/AML BreakPoint operator so that it actually
4482 +Enhanced the execution of the ASL/AML BreakPoint operator so that it
4483 +actually
1511 4484 breaks into the AML debugger if the debugger is present. This matches the
1512 4485 ACPI-defined behavior.
1513 4486
1514 4487 Fixed several possible warnings related to the use of the configurable
1515 4488 ACPI_THREAD_ID. This type can now be configured as either an integer or a
1516 4489 pointer with no warnings. Also fixes several warnings in printf-like
1517 4490 statements for the 64-bit build when the type is configured as a pointer.
1518 4491 ACPICA BZ 766, 767.
1519 4492
1520 -Fixed a number of possible warnings when compiling with gcc 4+ (depending on
1521 -warning options.) Examples include printf formats, aliasing, unused globals,
4493 +Fixed a number of possible warnings when compiling with gcc 4+ (depending
4494 +on
4495 +warning options.) Examples include printf formats, aliasing, unused
4496 +globals,
1522 4497 missing prototypes, missing switch default statements, use of non-ANSI
1523 -library functions, use of non-ANSI constructs. See generate/unix/Makefile for
4498 +library functions, use of non-ANSI constructs. See generate/unix/Makefile
4499 +for
1524 4500 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
1525 4501
1526 4502 Example Code and Data Size: These are the sizes for the OS-independent
1527 4503 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1528 -debug version of the code includes the debug output trace mechanism and has a
4504 +debug version of the code includes the debug output trace mechanism and
4505 +has a
1529 4506 much larger code and data size.
1530 4507
1531 4508 Previous Release:
1532 4509 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
1533 4510 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
1534 4511 Current Release:
1535 4512 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
1536 4513 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
1537 4514
1538 4515 2) iASL Compiler/Disassembler and Tools:
1539 4516
1540 -iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on
4517 +iASL: Fixed a generation warning from Bison 2.3 and fixed several
4518 +warnings
4519 +on
1541 4520 the 64-bit build.
1542 4521
1543 -iASL: Fixed a problem where the Unix/Linux versions of the compiler could not
4522 +iASL: Fixed a problem where the Unix/Linux versions of the compiler could
4523 +not
1544 4524 correctly digest Windows/DOS formatted files (with CR/LF).
1545 4525
1546 4526 iASL: Added a new option for "quiet mode" (-va) that produces only the
1547 4527 compilation summary, not individual errors and warnings. Useful for large
1548 4528 batch compilations.
1549 4529
1550 -AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex
1551 -timeout that can be used to detect hang conditions during execution of AML
1552 -code (includes both internal semaphores and AML-defined mutexes and events.)
4530 +AcpiExec: Implemented a new option (-z) to enable a forced
4531 +semaphore/mutex
4532 +timeout that can be used to detect hang conditions during execution of
4533 +AML
4534 +code (includes both internal semaphores and AML-defined mutexes and
4535 +events.)
1553 4536
1554 4537 Added new makefiles for the generation of acpica in a generic unix-like
1555 -environment. These makefiles are intended to generate the acpica tools and
4538 +environment. These makefiles are intended to generate the acpica tools
4539 +and
1556 4540 utilities from the original acpica git source tree structure.
1557 4541
1558 4542 Test Suites: Updated and cleaned up the documentation files. Updated the
1559 -copyrights to 2009, affecting all source files. Use the new version of iASL
1560 -with quiet mode. Increased the number of available semaphores in the Windows
1561 -OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added
4543 +copyrights to 2009, affecting all source files. Use the new version of
4544 +iASL
4545 +with quiet mode. Increased the number of available semaphores in the
4546 +Windows
4547 +OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
4548 +added
1562 4549 an alternate implementation of the semaphore timeout to allow aslts to
1563 4550 execute fully on Cygwin.
1564 4551
1565 4552 ----------------------------------------
1566 4553 20 March 2009. Summary of changes for version 20090320:
1567 4554
1568 4555 1) ACPI CA Core Subsystem:
1569 4556
1570 -Fixed a possible race condition between AcpiWalkNamespace and dynamic table
1571 -unloads. Added a reader/writer locking mechanism to allow multiple concurrent
1572 -namespace walks (readers), but block a dynamic table unload until it can gain
1573 -exclusive write access to the namespace. This fixes a problem where a table
1574 -unload could (possibly catastrophically) delete the portion of the namespace
1575 -that is currently being examined by a walk. Adds a new file, utlock.c, that
4557 +Fixed a possible race condition between AcpiWalkNamespace and dynamic
4558 +table
4559 +unloads. Added a reader/writer locking mechanism to allow multiple
4560 +concurrent
4561 +namespace walks (readers), but block a dynamic table unload until it can
4562 +gain
4563 +exclusive write access to the namespace. This fixes a problem where a
4564 +table
4565 +unload could (possibly catastrophically) delete the portion of the
4566 +namespace
4567 +that is currently being examined by a walk. Adds a new file, utlock.c,
4568 +that
1576 4569 implements the reader/writer lock mechanism. ACPICA BZ 749.
1577 4570
1578 -Fixed a regression introduced in version 20090220 where a change to the FADT
1579 -handling could cause the ACPICA subsystem to access non-existent I/O ports.
4571 +Fixed a regression introduced in version 20090220 where a change to the
4572 +FADT
4573 +handling could cause the ACPICA subsystem to access non-existent I/O
4574 +ports.
1580 4575
1581 -Modified the handling of FADT register and table (FACS/DSDT) addresses. The
4576 +Modified the handling of FADT register and table (FACS/DSDT) addresses.
4577 +The
1582 4578 FADT can contain both 32-bit and 64-bit versions of these addresses.
1583 -Previously, the 64-bit versions were favored, meaning that if both 32 and 64
4579 +Previously, the 64-bit versions were favored, meaning that if both 32 and
4580 +64
1584 4581 versions were valid, but not equal, the 64-bit version was used. This was
1585 -found to cause some machines to fail. Now, in this case, the 32-bit version
4582 +found to cause some machines to fail. Now, in this case, the 32-bit
4583 +version
1586 4584 is used instead. This now matches the Windows behavior.
1587 4585
1588 -Implemented a new mechanism to protect certain I/O ports. Provides Microsoft
4586 +Implemented a new mechanism to protect certain I/O ports. Provides
4587 +Microsoft
1589 4588 compatibility and protects the standard PC I/O ports from access via AML
1590 4589 code. Adds a new file, hwvalid.c
1591 4590
1592 4591 Fixed a possible extraneous warning message from the FADT support. The
1593 4592 message warns of a 32/64 length mismatch between the legacy and GAS
1594 4593 definitions for a register.
1595 4594
1596 -Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is
1597 -made obsolete by the port protection mechanism above. It was previously used
1598 -to validate the entire address range of an operation region, which could be
4595 +Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
4596 +is
4597 +made obsolete by the port protection mechanism above. It was previously
4598 +used
4599 +to validate the entire address range of an operation region, which could
4600 +be
1599 4601 incorrect if the range included illegal ports, but fields within the
1600 4602 operation region did not actually access those ports. Validation is now
1601 4603 performed on a per-field basis instead of the entire region.
1602 4604
1603 4605 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
1604 -Ignored bits must be "preserved" according to the ACPI spec. Usually, this
1605 -means a read/modify/write when writing to the register. However, for status
1606 -registers, writing a one means clear the event. Writing a zero means preserve
1607 -the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec,
4606 +Ignored bits must be "preserved" according to the ACPI spec. Usually,
4607 +this
4608 +means a read/modify/write when writing to the register. However, for
4609 +status
4610 +registers, writing a one means clear the event. Writing a zero means
4611 +preserve
4612 +the event (do not clear.) This behavior is clarified in the ACPI 4.0
4613 +spec,
1608 4614 and the ACPICA code now simply always writes a zero to the ignored bit.
1609 4615
1610 -Modified the handling of ignored bits for the PM1 A/B Control Registers. As
4616 +Modified the handling of ignored bits for the PM1 A/B Control Registers.
4617 +As
1611 4618 per the ACPI specification, for the control registers, preserve
1612 -(read/modify/write) all bits that are defined as either reserved or ignored.
4619 +(read/modify/write) all bits that are defined as either reserved or
4620 +ignored.
1613 4621
1614 4622 Updated the handling of write-only bits in the PM1 A/B Control Registers.
1615 4623 When reading the register, zero the write-only bits as per the ACPI spec.
1616 4624 ACPICA BZ 443. Lin Ming.
1617 4625
1618 4626 Removed "Linux" from the list of supported _OSI strings. Linux no longer
1619 -wants to reply true to this request. The Windows strings are the only paths
4627 +wants to reply true to this request. The Windows strings are the only
4628 +paths
1620 4629 through the AML that are tested and known to work properly.
1621 4630
1622 4631 Previous Release:
1623 4632 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
1624 4633 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
1625 4634 Current Release:
1626 4635 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
1627 4636 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
1628 4637
1629 4638 2) iASL Compiler/Disassembler and Tools:
1630 4639
1631 -Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and
4640 +Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
4641 +and
1632 4642 aetables.c
1633 4643
1634 4644 ----------------------------------------
1635 4645 20 February 2009. Summary of changes for version 20090220:
1636 4646
1637 4647 1) ACPI CA Core Subsystem:
1638 4648
1639 -Optimized the ACPI register locking. Removed locking for reads from the ACPI
1640 -bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is
4649 +Optimized the ACPI register locking. Removed locking for reads from the
4650 +ACPI
4651 +bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
4652 +is
1641 4653 not required when reading the single-bit registers. The
1642 -AcpiGetRegisterUnlocked function is no longer needed and has been removed.
1643 -This will improve performance for reads on these registers. ACPICA BZ 760.
4654 +AcpiGetRegisterUnlocked function is no longer needed and has been
4655 +removed.
4656 +This will improve performance for reads on these registers. ACPICA BZ
4657 +760.
1644 4658
1645 4659 Fixed the parameter validation for AcpiRead/Write. Now return
1646 -AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if
1647 -the register has an address of zero. Previously, these cases simply returned
1648 -AE_OK. For optional registers such as PM1B status/enable/control, the caller
4660 +AE_BAD_PARAMETER if the input register pointer is null, and
4661 +AE_BAD_ADDRESS
4662 +if
4663 +the register has an address of zero. Previously, these cases simply
4664 +returned
4665 +AE_OK. For optional registers such as PM1B status/enable/control, the
4666 +caller
1649 4667 should check for a valid register address before calling. ACPICA BZ 748.
1650 4668
1651 4669 Renamed the external ACPI bit register access functions. Renamed
1652 4670 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
1653 -functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister.
1654 -Also, restructured the code for these functions by simplifying the code path
4671 +functions. The new names are AcpiReadBitRegister and
4672 +AcpiWriteBitRegister.
4673 +Also, restructured the code for these functions by simplifying the code
4674 +path
1655 4675 and condensing duplicate code to reduce code size.
1656 4676
1657 4677 Added new functions to transparently handle the possibly split PM1 A/B
1658 -registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions
1659 -now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ
4678 +registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
4679 +functions
4680 +now handle the split registers for PM1 Status, Enable, and Control.
4681 +ACPICA
4682 +BZ
1660 4683 746.
1661 4684
1662 -Added a function to handle the PM1 control registers, AcpiHwWritePm1Control.
1663 -This function writes both of the PM1 control registers (A/B). These registers
1664 -are different than the PM1 A/B status and enable registers in that different
1665 -values can be written to the A/B registers. Most notably, the SLP_TYP bits
1666 -can be different, as per the values returned from the _Sx predefined methods.
4685 +Added a function to handle the PM1 control registers,
4686 +AcpiHwWritePm1Control.
4687 +This function writes both of the PM1 control registers (A/B). These
4688 +registers
4689 +are different than the PM1 A/B status and enable registers in that
4690 +different
4691 +values can be written to the A/B registers. Most notably, the SLP_TYP
4692 +bits
4693 +can be different, as per the values returned from the _Sx predefined
4694 +methods.
1667 4695
1668 -Removed an extra register write within AcpiHwClearAcpiStatus. This function
1669 -was writing an optional PM1B status register twice. The existing call to the
1670 -low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B
4696 +Removed an extra register write within AcpiHwClearAcpiStatus. This
4697 +function
4698 +was writing an optional PM1B status register twice. The existing call to
4699 +the
4700 +low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
4701 +A/B
1671 4702 register. ACPICA BZ 751.
1672 4703
1673 -Split out the PM1 Status registers from the FADT. Added new globals for these
4704 +Split out the PM1 Status registers from the FADT. Added new globals for
4705 +these
1674 4706 registers (A/B), similar to the way the PM1 Enable registers are handled.
1675 -Instead of overloading the FADT Event Register blocks. This makes the code
4707 +Instead of overloading the FADT Event Register blocks. This makes the
4708 +code
1676 4709 clearer and less prone to error.
1677 4710
1678 -Fixed the warning message for when the platform contains too many ACPI tables
1679 -for the default size of the global root table data structure. The calculation
4711 +Fixed the warning message for when the platform contains too many ACPI
4712 +tables
4713 +for the default size of the global root table data structure. The
4714 +calculation
1680 4715 for the truncation value was incorrect.
1681 4716
1682 4717 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
1683 -obsolete macro, since it is now a simple reference to ->common.type. There
4718 +obsolete macro, since it is now a simple reference to ->common.type.
4719 +There
1684 4720 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
1685 4721
1686 4722 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
1687 4723 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
1688 4724 simply SLEEP_TYPE. ACPICA BZ 754.
1689 4725
1690 4726 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
1691 4727 function is only needed on 64-bit host operating systems and is thus not
1692 4728 included for 32-bit hosts.
1693 4729
1694 -Debug output: print the input and result for invocations of the _OSI reserved
1695 -control method via the ACPI_LV_INFO debug level. Also, reduced some of the
4730 +Debug output: print the input and result for invocations of the _OSI
4731 +reserved
4732 +control method via the ACPI_LV_INFO debug level. Also, reduced some of
4733 +the
1696 4734 verbosity of this debug level. Len Brown.
1697 4735
1698 4736 Example Code and Data Size: These are the sizes for the OS-independent
1699 4737 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1700 -debug version of the code includes the debug output trace mechanism and has a
4738 +debug version of the code includes the debug output trace mechanism and
4739 +has a
1701 4740 much larger code and data size.
1702 4741
1703 4742 Previous Release:
1704 4743 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
1705 4744 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
1706 4745 Current Release:
1707 4746 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
1708 4747 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
1709 4748
1710 4749 2) iASL Compiler/Disassembler and Tools:
1711 4750
1712 4751 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
1713 4752 various legal performance profiles.
↓ open down ↓ |
3 lines elided |
↑ open up ↑ |
1714 4753
1715 4754 ----------------------------------------
1716 4755 23 January 2009. Summary of changes for version 20090123:
1717 4756
1718 4757 1) ACPI CA Core Subsystem:
1719 4758
1720 4759 Added the 2009 copyright to all module headers and signons. This affects
1721 4760 virtually every file in the ACPICA core subsystem, the iASL compiler, and
1722 4761 the tools/utilities.
1723 4762
1724 -Implemented a change to allow the host to override any ACPI table, including
1725 -dynamically loaded tables. Previously, only the DSDT could be replaced by the
1726 -host. With this change, the AcpiOsTableOverride interface is called for each
1727 -table found in the RSDT/XSDT during ACPICA initialization, and also whenever
4763 +Implemented a change to allow the host to override any ACPI table,
4764 +including
4765 +dynamically loaded tables. Previously, only the DSDT could be replaced by
4766 +the
4767 +host. With this change, the AcpiOsTableOverride interface is called for
4768 +each
4769 +table found in the RSDT/XSDT during ACPICA initialization, and also
4770 +whenever
1728 4771 a table is dynamically loaded via the AML Load operator.
1729 4772
1730 4773 Updated FADT flag definitions, especially the Boot Architecture flags.
1731 4774
1732 -Debugger: For the Find command, automatically pad the input ACPI name with
1733 -underscores if the name is shorter than 4 characters. This enables a match
4775 +Debugger: For the Find command, automatically pad the input ACPI name
4776 +with
4777 +underscores if the name is shorter than 4 characters. This enables a
4778 +match
1734 4779 with the actual namespace entry which is itself padded with underscores.
1735 4780
1736 4781 Example Code and Data Size: These are the sizes for the OS-independent
1737 4782 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1738 -debug version of the code includes the debug output trace mechanism and has a
4783 +debug version of the code includes the debug output trace mechanism and
4784 +has a
1739 4785 much larger code and data size.
1740 4786
1741 4787 Previous Release:
1742 4788 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
1743 4789 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
1744 4790 Current Release:
1745 4791 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
1746 4792 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
1747 4793
1748 4794 2) iASL Compiler/Disassembler and Tools:
1749 4795
1750 4796 Fix build error under Bison-2.4.
1751 4797
1752 -Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture
4798 +Dissasembler: Enhanced FADT support. Added decoding of the Boot
4799 +Architecture
1753 4800 flags. Now decode all flags, regardless of the FADT version. Flag output
1754 4801 includes the FADT version which first defined each flag.
1755 4802
1756 -The iASL -g option now dumps the RSDT to a file (in addition to the FADT and
4803 +The iASL -g option now dumps the RSDT to a file (in addition to the FADT
4804 +and
1757 4805 DSDT). Windows only.
1758 4806
1759 4807 ----------------------------------------
1760 4808 04 December 2008. Summary of changes for version 20081204:
1761 4809
1762 4810 1) ACPI CA Core Subsystem:
1763 4811
1764 -The ACPICA Programmer Reference has been completely updated and revamped for
4812 +The ACPICA Programmer Reference has been completely updated and revamped
4813 +for
1765 4814 this release. This includes updates to the external interfaces, OSL
1766 4815 interfaces, the overview sections, and the debugger reference.
1767 4816
1768 4817 Several new ACPICA interfaces have been implemented and documented in the
1769 4818 programmer reference:
1770 4819 AcpiReset - Writes the reset value to the FADT-defined reset register.
1771 4820 AcpiDisableAllGpes - Disable all available GPEs.
1772 4821 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
1773 4822 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
1774 4823 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
1775 4824 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
1776 4825 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
1777 4826
1778 -Most of the public ACPI hardware-related interfaces have been moved to a new
4827 +Most of the public ACPI hardware-related interfaces have been moved to a
4828 +new
1779 4829 file, components/hardware/hwxface.c
1780 4830
1781 4831 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
1782 4832 register lengths within the FADT are now used, and the low level ACPI
1783 4833 register access no longer hardcodes the ACPI register lengths. Given that
1784 -there may be some risk in actually trusting the FADT register lengths, a run-
1785 -time option was added to fall back to the default hardcoded lengths if the
4834 +there may be some risk in actually trusting the FADT register lengths, a
4835 +run-
4836 +time option was added to fall back to the default hardcoded lengths if
4837 +the
1786 4838 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
1787 -option is set to true for now, and a warning is issued if a suspicious FADT
4839 +option is set to true for now, and a warning is issued if a suspicious
4840 +FADT
1788 4841 register length is overridden with the default value.
1789 4842
1790 -Fixed a reference count issue in NsRepairObject. This problem was introduced
4843 +Fixed a reference count issue in NsRepairObject. This problem was
4844 +introduced
1791 4845 in version 20081031 as part of a fix to repair Buffer objects within
1792 4846 Packages. Lin Ming.
1793 4847
1794 4848 Added semaphore support to the Linux/Unix application OS-services layer
1795 4849 (OSL). ACPICA BZ 448. Lin Ming.
1796 4850
1797 -Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will
4851 +Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
4852 +will
1798 4853 be implemented in the OSL, or will binary semaphores be used instead.
1799 4854
1800 4855 Example Code and Data Size: These are the sizes for the OS-independent
1801 4856 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1802 -debug version of the code includes the debug output trace mechanism and has a
4857 +debug version of the code includes the debug output trace mechanism and
4858 +has a
1803 4859 much larger code and data size.
1804 4860
1805 4861 Previous Release:
1806 4862 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
1807 4863 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
1808 4864 Current Release:
1809 4865 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
1810 4866 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
1811 4867
1812 4868 2) iASL Compiler/Disassembler and Tools:
1813 4869
1814 -iASL: Completed the '-e' option to include additional ACPI tables in order to
1815 -aid with disassembly and External statement generation. ACPICA BZ 742. Lin
4870 +iASL: Completed the '-e' option to include additional ACPI tables in
4871 +order
4872 +to
4873 +aid with disassembly and External statement generation. ACPICA BZ 742.
4874 +Lin
1816 4875 Ming.
1817 4876
1818 4877 iASL: Removed the "named object in while loop" error. The compiler cannot
1819 4878 determine how many times a loop will execute. ACPICA BZ 730.
1820 4879
1821 -Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA
4880 +Disassembler: Implemented support for FADT revision 2 (MS extension).
4881 +ACPICA
1822 4882 BZ 743.
1823 4883
1824 -Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
4884 +Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
4885 +MCFG).
1825 4886
1826 4887 ----------------------------------------
1827 4888 31 October 2008. Summary of changes for version 20081031:
1828 4889
1829 4890 1) ACPI CA Core Subsystem:
1830 4891
1831 -Restructured the ACPICA header files into public/private. acpi.h now includes
1832 -only the "public" acpica headers. All other acpica headers are "private" and
1833 -should not be included by acpica users. One new file, accommon.h is used to
1834 -include the commonly used private headers for acpica code generation. Future
4892 +Restructured the ACPICA header files into public/private. acpi.h now
4893 +includes
4894 +only the "public" acpica headers. All other acpica headers are "private"
4895 +and
4896 +should not be included by acpica users. One new file, accommon.h is used
4897 +to
4898 +include the commonly used private headers for acpica code generation.
4899 +Future
1835 4900 plans include moving all private headers to a new subdirectory.
1836 4901
1837 4902 Implemented an automatic Buffer->String return value conversion for
1838 -predefined ACPI methods. For these methods (such as _BIF), added automatic
1839 -conversion for return objects that are required to be a String, but a Buffer
1840 -was found instead. This can happen when reading string battery data from an
1841 -operation region, because it used to be difficult to convert the data from
1842 -buffer to string from within the ASL. Ensures that the host OS is provided
4903 +predefined ACPI methods. For these methods (such as _BIF), added
4904 +automatic
4905 +conversion for return objects that are required to be a String, but a
4906 +Buffer
4907 +was found instead. This can happen when reading string battery data from
4908 +an
4909 +operation region, because it used to be difficult to convert the data
4910 +from
4911 +buffer to string from within the ASL. Ensures that the host OS is
4912 +provided
1843 4913 with a valid null-terminated string. Linux BZ 11822.
1844 4914
1845 -Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector
1846 -into two: one for the 32-bit vector, another for the 64-bit vector. This is
1847 -required because the host OS must setup the wake much differently for each
1848 -vector (real vs. protected mode, etc.) and the interface itself should not be
1849 -deciding which vector to use. Also, eliminated the GetFirmwareWakingVector
1850 -interface, as it served no purpose (only the firmware reads the vector, OS
4915 +Updated the FACS waking vector interfaces. Split
4916 +AcpiSetFirmwareWakingVector
4917 +into two: one for the 32-bit vector, another for the 64-bit vector. This
4918 +is
4919 +required because the host OS must setup the wake much differently for
4920 +each
4921 +vector (real vs. protected mode, etc.) and the interface itself should
4922 +not
4923 +be
4924 +deciding which vector to use. Also, eliminated the
4925 +GetFirmwareWakingVector
4926 +interface, as it served no purpose (only the firmware reads the vector,
4927 +OS
1851 4928 only writes the vector.) ACPICA BZ 731.
1852 4929
1853 -Implemented a mechanism to escape infinite AML While() loops. Added a loop
1854 -counter to force exit from AML While loops if the count becomes too large.
4930 +Implemented a mechanism to escape infinite AML While() loops. Added a
4931 +loop
4932 +counter to force exit from AML While loops if the count becomes too
4933 +large.
1855 4934 This can occur in poorly written AML when the hardware does not respond
1856 -within a while loop and the loop does not implement a timeout. The maximum
1857 -loop count is configurable. A new exception code is returned when a loop is
4935 +within a while loop and the loop does not implement a timeout. The
4936 +maximum
4937 +loop count is configurable. A new exception code is returned when a loop
4938 +is
1858 4939 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
1859 4940
1860 4941 Optimized the execution of AML While loops. Previously, a control state
1861 4942 object was allocated and freed for each execution of the loop. The
1862 -optimization is to simply reuse the control state for each iteration. This
4943 +optimization is to simply reuse the control state for each iteration.
4944 +This
1863 4945 speeds up the raw loop execution time by about 5%.
1864 4946
1865 -Enhanced the implicit return mechanism. For Windows compatibility, return an
1866 -implicit integer of value zero for methods that contain no executable code.
4947 +Enhanced the implicit return mechanism. For Windows compatibility, return
4948 +an
4949 +implicit integer of value zero for methods that contain no executable
4950 +code.
1867 4951 Such methods are seen in the field as stubs (presumably), and can cause
1868 4952 drivers to fail if they expect a return value. Lin Ming.
1869 4953
1870 4954 Allow multiple backslashes as root prefixes in namepaths. In a fully
1871 -qualified namepath, allow multiple backslash prefixes. This can happen (and
4955 +qualified namepath, allow multiple backslash prefixes. This can happen
4956 +(and
1872 4957 is seen in the field) because of the use of a double-backslash in strings
1873 -(since backslash is the escape character) causing confusion. ACPICA BZ 739
4958 +(since backslash is the escape character) causing confusion. ACPICA BZ
4959 +739
1874 4960 Lin Ming.
1875 4961
1876 4962 Emit a warning if two different FACS or DSDT tables are discovered in the
1877 -FADT. Checks if there are two valid but different addresses for the FACS and
4963 +FADT. Checks if there are two valid but different addresses for the FACS
4964 +and
1878 4965 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
1879 4966
1880 -Consolidated the method argument count validation code. Merged the code that
4967 +Consolidated the method argument count validation code. Merged the code
4968 +that
1881 4969 validates control method argument counts into the predefined validation
1882 -module. Eliminates possible multiple warnings for incorrect argument counts.
4970 +module. Eliminates possible multiple warnings for incorrect argument
4971 +counts.
1883 4972
1884 4973 Implemented ACPICA example code. Includes code for ACPICA initialization,
1885 4974 handler installation, and calling a control method. Available at
1886 4975 source/tools/examples.
1887 4976
1888 -Added a global pointer for FACS table to simplify internal FACS access. Use
1889 -the global pointer instead of using AcpiGetTableByIndex for each FACS access.
4977 +Added a global pointer for FACS table to simplify internal FACS access.
4978 +Use
4979 +the global pointer instead of using AcpiGetTableByIndex for each FACS
4980 +access.
1890 4981 This simplifies the code for the Global Lock and the Firmware Waking
1891 4982 Vector(s).
1892 4983
1893 4984 Example Code and Data Size: These are the sizes for the OS-independent
1894 4985 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1895 -debug version of the code includes the debug output trace mechanism and has a
4986 +debug version of the code includes the debug output trace mechanism and
4987 +has a
1896 4988 much larger code and data size.
1897 4989
1898 4990 Previous Release:
1899 4991 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
1900 4992 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
1901 4993 Current Release:
1902 4994 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
1903 4995 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
1904 4996
1905 4997 2) iASL Compiler/Disassembler and Tools:
1906 4998
1907 -iASL: Improved disassembly of external method calls. Added the -e option to
1908 -allow the inclusion of additional ACPI tables to help with the disassembly of
4999 +iASL: Improved disassembly of external method calls. Added the -e option
5000 +to
5001 +allow the inclusion of additional ACPI tables to help with the
5002 +disassembly
5003 +of
1909 5004 method invocations and the generation of external declarations during the
1910 5005 disassembly. Certain external method invocations cannot be disassembled
1911 -properly without the actual declaration of the method. Use the -e option to
1912 -include the table where the external method(s) are actually declared. Most
5006 +properly without the actual declaration of the method. Use the -e option
5007 +to
5008 +include the table where the external method(s) are actually declared.
5009 +Most
1913 5010 useful for disassembling SSDTs that make method calls back to the master
1914 -DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl -d
5011 +DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
5012 +-d
1915 5013 -e dsdt.aml ssdt1.aml
1916 5014
1917 5015 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
1918 5016 problem where the use of an alias within a namepath would result in a not
1919 5017 found error or cause the compiler to fault. Also now allows forward
1920 5018 references from the Alias operator itself. ACPICA BZ 738.
1921 5019
1922 5020 ----------------------------------------
1923 5021 26 September 2008. Summary of changes for version 20080926:
1924 5022
1925 5023 1) ACPI CA Core Subsystem:
1926 5024
1927 -Designed and implemented a mechanism to validate predefined ACPI methods and
1928 -objects. This code validates the predefined ACPI objects (objects whose names
5025 +Designed and implemented a mechanism to validate predefined ACPI methods
5026 +and
5027 +objects. This code validates the predefined ACPI objects (objects whose
5028 +names
1929 5029 start with underscore) that appear in the namespace, at the time they are
1930 5030 evaluated. The argument count and the type of the returned object are
1931 -validated against the ACPI specification. The purpose of this validation is
1932 -to detect problems with the BIOS-implemented predefined ACPI objects before
1933 -the results are returned to the ACPI-related drivers. Future enhancements may
5031 +validated against the ACPI specification. The purpose of this validation
5032 +is
5033 +to detect problems with the BIOS-implemented predefined ACPI objects
5034 +before
5035 +the results are returned to the ACPI-related drivers. Future enhancements
5036 +may
1934 5037 include actual repair of incorrect return objects where possible. Two new
1935 5038 files are nspredef.c and acpredef.h.
1936 5039
1937 -Fixed a fault in the AML parser if a memory allocation fails during the Op
5040 +Fixed a fault in the AML parser if a memory allocation fails during the
5041 +Op
1938 5042 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
1939 5043
1940 -Fixed an issue with implicit return compatibility. This change improves the
1941 -implicit return mechanism to be more compatible with the MS interpreter. Lin
5044 +Fixed an issue with implicit return compatibility. This change improves
5045 +the
5046 +implicit return mechanism to be more compatible with the MS interpreter.
5047 +Lin
1942 5048 Ming, ACPICA BZ 349.
1943 5049
1944 -Implemented support for zero-length buffer-to-string conversions. Allow zero
1945 -length strings during interpreter buffer-to-string conversions. For example,
5050 +Implemented support for zero-length buffer-to-string conversions. Allow
5051 +zero
5052 +length strings during interpreter buffer-to-string conversions. For
5053 +example,
1946 5054 during the ToDecimalString and ToHexString operators, as well as implicit
1947 5055 conversions. Fiodor Suietov, ACPICA BZ 585.
1948 5056
1949 5057 Fixed two possible memory leaks in the error exit paths of
1950 -AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are
5058 +AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
5059 +are
1951 5060 similar in that they use a stack of state objects in order to eliminate
1952 5061 recursion. The stack must be fully unwound and deallocated if an error
1953 5062 occurs. Lin Ming. ACPICA BZ 383.
1954 5063
1955 -Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global
5064 +Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
5065 +global
1956 5066 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
1957 5067 Moore ACPICA BZ 442.
1958 5068
1959 5069 Removed the obsolete version number in module headers. Removed the
1960 -"$Revision" number that appeared in each module header. This version number
1961 -was useful under SourceSafe and CVS, but has no meaning under git. It is not
5070 +"$Revision" number that appeared in each module header. This version
5071 +number
5072 +was useful under SourceSafe and CVS, but has no meaning under git. It is
5073 +not
1962 5074 only incorrect, it could also be misleading.
1963 5075
1964 5076 Example Code and Data Size: These are the sizes for the OS-independent
1965 5077 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1966 -debug version of the code includes the debug output trace mechanism and has a
5078 +debug version of the code includes the debug output trace mechanism and
5079 +has a
1967 5080 much larger code and data size.
1968 5081
1969 5082 Previous Release:
1970 5083 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
1971 5084 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
1972 5085 Current Release:
1973 5086 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
1974 5087 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
1975 5088
1976 5089 ----------------------------------------
1977 5090 29 August 2008. Summary of changes for version 20080829:
1978 5091
1979 5092 1) ACPI CA Core Subsystem:
1980 5093
1981 5094 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
1982 -Reference. Changes include the elimination of cheating on the Object field
5095 +Reference. Changes include the elimination of cheating on the Object
5096 +field
1983 5097 for the DdbHandle subtype, addition of a reference class field to
1984 -differentiate the various reference types (instead of an AML opcode), and the
5098 +differentiate the various reference types (instead of an AML opcode), and
5099 +the
1985 5100 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
1986 5101
1987 5102 Reduce an error to a warning for an incorrect method argument count.
1988 5103 Previously aborted with an error if too few arguments were passed to a
1989 -control method via the external ACPICA interface. Now issue a warning instead
1990 -and continue. Handles the case where the method inadvertently declares too
1991 -many arguments, but does not actually use the extra ones. Applies mainly to
5104 +control method via the external ACPICA interface. Now issue a warning
5105 +instead
5106 +and continue. Handles the case where the method inadvertently declares
5107 +too
5108 +many arguments, but does not actually use the extra ones. Applies mainly
5109 +to
1992 5110 the predefined methods. Lin Ming. Linux BZ 11032.
1993 5111
1994 -Disallow the evaluation of named object types with no intrinsic value. Return
1995 -AE_TYPE for objects that have no value and therefore evaluation is undefined:
1996 -Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of
1997 -these types were allowed, but an exception would be generated at some point
5112 +Disallow the evaluation of named object types with no intrinsic value.
5113 +Return
5114 +AE_TYPE for objects that have no value and therefore evaluation is
5115 +undefined:
5116 +Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
5117 +of
5118 +these types were allowed, but an exception would be generated at some
5119 +point
1998 5120 during the evaluation. Now, the error is generated up front.
1999 5121
2000 5122 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
2001 5123 (nsnames.c). Fixes a leak in the error exit path.
2002 5124
2003 -Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug
2004 -levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION
5125 +Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
5126 +debug
5127 +levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
5128 +ACPI_EXCEPTION
2005 5129 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
2006 5130 ACPI_LV_EVENTS.
2007 5131
2008 5132 Removed obsolete and/or unused exception codes from the acexcep.h header.
2009 -There is the possibility that certain device drivers may be affected if they
5133 +There is the possibility that certain device drivers may be affected if
5134 +they
2010 5135 use any of these exceptions.
2011 5136
2012 -The ACPICA documentation has been added to the public git source tree, under
5137 +The ACPICA documentation has been added to the public git source tree,
5138 +under
2013 5139 acpica/documents. Included are the ACPICA programmer reference, the iASL
2014 5140 compiler reference, and the changes.txt release logfile.
2015 5141
2016 5142 Example Code and Data Size: These are the sizes for the OS-independent
2017 5143 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2018 -debug version of the code includes the debug output trace mechanism and has a
5144 +debug version of the code includes the debug output trace mechanism and
5145 +has a
2019 5146 much larger code and data size.
2020 5147
2021 5148 Previous Release:
2022 5149 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
2023 5150 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
2024 5151 Current Release:
2025 5152 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
2026 5153 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
2027 5154
2028 5155 2) iASL Compiler/Disassembler and Tools:
2029 5156
2030 5157 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
2031 5158 defines _SCP with 3 arguments. Previous versions defined it with only 1
2032 5159 argument. iASL now allows both definitions.
2033 5160
2034 -iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
5161 +iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
5162 +zero-
2035 5163 length subtables when disassembling ACPI tables. Also fixed a couple of
2036 -errors where a full 16-bit table type field was not extracted from the input
5164 +errors where a full 16-bit table type field was not extracted from the
5165 +input
2037 5166 properly.
2038 5167
2039 5168 acpisrc: Improve comment counting mechanism for generating source code
2040 -statistics. Count first and last lines of multi-line comments as whitespace,
2041 -not comment lines. Handle Linux legal header in addition to standard acpica
5169 +statistics. Count first and last lines of multi-line comments as
5170 +whitespace,
5171 +not comment lines. Handle Linux legal header in addition to standard
5172 +acpica
2042 5173 header.
2043 5174
2044 5175 ----------------------------------------
2045 5176
2046 5177 29 July 2008. Summary of changes for version 20080729:
2047 5178
2048 5179 1) ACPI CA Core Subsystem:
2049 5180
2050 5181 Fix a possible deadlock in the GPE dispatch. Remove call to
2051 -AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt
2052 -to acquire the GPE lock but can deadlock since the GPE lock is already held
2053 -at dispatch time. This code was introduced in version 20060831 as a response
5182 +AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
5183 +attempt
5184 +to acquire the GPE lock but can deadlock since the GPE lock is already
5185 +held
5186 +at dispatch time. This code was introduced in version 20060831 as a
5187 +response
2054 5188 to Linux BZ 6881 and has since been removed from Linux.
2055 5189
2056 -Add a function to dereference returned reference objects. Examines the return
2057 -object from a call to AcpiEvaluateObject. Any Index or RefOf references are
2058 -automatically dereferenced in an attempt to return something useful (these
2059 -reference types cannot be converted into an external ACPI_OBJECT.) Provides
5190 +Add a function to dereference returned reference objects. Examines the
5191 +return
5192 +object from a call to AcpiEvaluateObject. Any Index or RefOf references
5193 +are
5194 +automatically dereferenced in an attempt to return something useful
5195 +(these
5196 +reference types cannot be converted into an external ACPI_OBJECT.)
5197 +Provides
2060 5198 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2061 5199
2062 5200 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
2063 5201 subtables for the MADT and one new subtable for the SRAT. Includes
2064 -disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC
5202 +disassembler and AcpiSrc support. Data from the Intel 64 Architecture
5203 +x2APIC
2065 5204 Specification, June 2008.
2066 5205
2067 -Additional error checking for pathname utilities. Add error check after all
5206 +Additional error checking for pathname utilities. Add error check after
5207 +all
2068 5208 calls to AcpiNsGetPathnameLength. Add status return from
2069 -AcpiNsBuildExternalPath and check after all calls. Add parameter validation
5209 +AcpiNsBuildExternalPath and check after all calls. Add parameter
5210 +validation
2070 5211 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2071 5212
2072 -Return status from the global init function AcpiUtGlobalInitialize. This is
2073 -used by both the kernel subsystem and the utilities such as iASL compiler.
2074 -The function could possibly fail when the caches are initialized. Yang Yi.
5213 +Return status from the global init function AcpiUtGlobalInitialize. This
5214 +is
5215 +used by both the kernel subsystem and the utilities such as iASL
5216 +compiler.
5217 +The function could possibly fail when the caches are initialized. Yang
5218 +Yi.
2075 5219
2076 5220 Add a function to decode reference object types to strings. Created for
2077 5221 improved error messages.
2078 5222
2079 -Improve object conversion error messages. Better error messages during object
2080 -conversion from internal to the external ACPI_OBJECT. Used for external calls
5223 +Improve object conversion error messages. Better error messages during
5224 +object
5225 +conversion from internal to the external ACPI_OBJECT. Used for external
5226 +calls
2081 5227 to AcpiEvaluateObject.
2082 5228
2083 5229 Example Code and Data Size: These are the sizes for the OS-independent
2084 5230 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2085 -debug version of the code includes the debug output trace mechanism and has a
5231 +debug version of the code includes the debug output trace mechanism and
5232 +has a
2086 5233 much larger code and data size.
2087 5234
2088 5235 Previous Release:
2089 5236 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
2090 5237 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
2091 5238 Current Release:
2092 5239 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
2093 5240 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
2094 5241
2095 5242 2) iASL Compiler/Disassembler and Tools:
2096 5243
2097 -Debugger: fix a possible hang when evaluating non-methods. Fixes a problem
2098 -introduced in version 20080701. If the object being evaluated (via execute
2099 -command) is not a method, the debugger can hang while trying to obtain non-
5244 +Debugger: fix a possible hang when evaluating non-methods. Fixes a
5245 +problem
5246 +introduced in version 20080701. If the object being evaluated (via
5247 +execute
5248 +command) is not a method, the debugger can hang while trying to obtain
5249 +non-
2100 5250 existent parameters.
2101 5251
2102 5252 iASL: relax error for using reserved "_T_x" identifiers. These names can
2103 5253 appear in a disassembled ASL file if they were emitted by the original
2104 5254 compiler. Instead of issuing an error or warning and forcing the user to
2105 5255 manually change these names, issue a remark instead.
2106 5256
2107 -iASL: error if named object created in while loop. Emit an error if any named
2108 -object is created within a While loop. If allowed, this code will generate a
2109 -run-time error on the second iteration of the loop when an attempt is made to
5257 +iASL: error if named object created in while loop. Emit an error if any
5258 +named
5259 +object is created within a While loop. If allowed, this code will
5260 +generate
5261 +a
5262 +run-time error on the second iteration of the loop when an attempt is
5263 +made
5264 +to
2110 5265 create the same named object twice. ACPICA bugzilla 730.
2111 5266
2112 -iASL: Support absolute pathnames for include files. Add support for absolute
2113 -pathnames within the Include operator. previously, only relative pathnames
5267 +iASL: Support absolute pathnames for include files. Add support for
5268 +absolute
5269 +pathnames within the Include operator. previously, only relative
5270 +pathnames
2114 5271 were supported.
2115 5272
2116 -iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor.
5273 +iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
5274 +Descriptor.
2117 5275 The ACPI spec requires one interrupt minimum. BZ 423
2118 5276
2119 5277 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
2120 5278 Handles the case for the Interrupt Resource Descriptor where
2121 5279 the ResourceSource argument is omitted but ResourceSourceIndex
2122 5280 is present. Now leave room for the Index. BZ 426
2123 5281
2124 -iASL: Prevent error message if CondRefOf target does not exist. Fixes cases
5282 +iASL: Prevent error message if CondRefOf target does not exist. Fixes
5283 +cases
2125 5284 where an error message is emitted if the target does not exist. BZ 516
2126 5285
2127 5286 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
2128 -(get ACPI tables on Windows). This was apparently broken in version 20070919.
5287 +(get ACPI tables on Windows). This was apparently broken in version
5288 +20070919.
2129 5289
2130 -AcpiXtract: Handle EOF while extracting data. Correctly handle the case where
5290 +AcpiXtract: Handle EOF while extracting data. Correctly handle the case
5291 +where
2131 5292 the EOF happens immediately after the last table in the input file. Print
2132 5293 completion message. Previously, no message was displayed in this case.
2133 5294
2134 5295 ----------------------------------------
2135 5296 01 July 2008. Summary of changes for version 20080701:
2136 5297
2137 5298 0) Git source tree / acpica.org
2138 5299
2139 5300 Fixed a problem where a git-clone from http would not transfer the entire
2140 5301 source tree.
2141 5302
2142 5303 1) ACPI CA Core Subsystem:
2143 5304
2144 5305 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
2145 -enable bit. Now performs a read-change-write of the enable register instead
2146 -of simply writing out the cached enable mask. This will prevent inadvertent
2147 -enabling of GPEs if a rogue GPE is received during initialization (before GPE
5306 +enable bit. Now performs a read-change-write of the enable register
5307 +instead
5308 +of simply writing out the cached enable mask. This will prevent
5309 +inadvertent
5310 +enabling of GPEs if a rogue GPE is received during initialization (before
5311 +GPE
2148 5312 handlers are installed.)
2149 5313
2150 5314 Implemented a copy for dynamically loaded tables. Previously, dynamically
2151 5315 loaded tables were simply mapped - but on some machines this memory is
2152 5316 corrupted after suspend. Now copy the table to a local buffer. For the
2153 5317 OpRegion case, added checksum verify. Use the table length from the table
2154 5318 header, not the region length. For the Buffer case, use the table length
2155 5319 also. Dennis Noordsij, Bob Moore. BZ 10734
2156 5320
2157 -Fixed a problem where the same ACPI table could not be dynamically loaded and
2158 -unloaded more than once. Without this change, a table cannot be loaded again
5321 +Fixed a problem where the same ACPI table could not be dynamically loaded
5322 +and
5323 +unloaded more than once. Without this change, a table cannot be loaded
5324 +again
2159 5325 once it has been loaded/unloaded one time. The current mechanism does not
2160 -unregister a table upon an unload. During a load, if the same table is found,
5326 +unregister a table upon an unload. During a load, if the same table is
5327 +found,
2161 5328 this no longer returns an exception. BZ 722
2162 5329
2163 5330 Fixed a problem where the wrong descriptor length was calculated for the
2164 -EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag
5331 +EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
5332 +EndTag
2165 5333 are calculated as 12 bytes long, but the actual length in the internal
2166 -descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported
5334 +descriptor is 16 because of the round-up to 8 on the 64-bit build.
5335 +Reported
2167 5336 by Linn Crosetto. BZ 728
2168 5337
2169 -Fixed a possible memory leak in the Unload operator. The DdbHandle returned
2170 -by Load() did not have its reference count decremented during unload, leading
5338 +Fixed a possible memory leak in the Unload operator. The DdbHandle
5339 +returned
5340 +by Load() did not have its reference count decremented during unload,
5341 +leading
2171 5342 to a memory leak. Lin Ming. BZ 727
2172 5343
2173 5344 Fixed a possible memory leak when deleting thermal/processor objects. Any
2174 5345 associated notify handlers (and objects) were not being deleted. Fiodor
2175 5346 Suietov. BZ 506
2176 5347
2177 -Fixed the ordering of the ASCII names in the global mutex table to match the
2178 -actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only.
5348 +Fixed the ordering of the ASCII names in the global mutex table to match
5349 +the
5350 +actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
5351 +only.
2179 5352 Vegard Nossum. BZ 726
2180 5353
2181 5354 Enhanced the AcpiGetObjectInfo interface to return the number of required
2182 -arguments if the object is a control method. Added this call to the debugger
5355 +arguments if the object is a control method. Added this call to the
5356 +debugger
2183 5357 so the proper number of default arguments are passed to a method. This
2184 5358 prevents a warning when executing methods from AcpiExec.
2185 5359
2186 5360 Added a check for an invalid handle in AcpiGetObjectInfo. Return
2187 5361 AE_BAD_PARAMETER if input handle is invalid. BZ 474
2188 5362
2189 5363 Fixed an extraneous warning from exconfig.c on the 64-bit build.
2190 5364
2191 5365 Example Code and Data Size: These are the sizes for the OS-independent
2192 5366 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2193 -debug version of the code includes the debug output trace mechanism and has a
5367 +debug version of the code includes the debug output trace mechanism and
5368 +has a
2194 5369 much larger code and data size.
2195 5370
2196 5371 Previous Release:
2197 5372 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
2198 5373 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
2199 5374 Current Release:
2200 5375 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
2201 5376 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
2202 5377
2203 5378 2) iASL Compiler/Disassembler and Tools:
2204 5379
2205 5380 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
2206 5381 resource descriptor names.
2207 5382
2208 -iASL: Detect invalid ASCII characters in input (windows version). Removed the
5383 +iASL: Detect invalid ASCII characters in input (windows version). Removed
5384 +the
2209 5385 "-CF" flag from the flex compile, enables correct detection of non-ASCII
2210 5386 characters in the input. BZ 441
2211 5387
2212 -iASL: Eliminate warning when result of LoadTable is not used. Eliminate the
5388 +iASL: Eliminate warning when result of LoadTable is not used. Eliminate
5389 +the
2213 5390 "result of operation not used" warning when the DDB handle returned from
2214 5391 LoadTable is not used. The warning is not needed. BZ 590
2215 5392
2216 -AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to
2217 -pass address of table to the AML. Added option to disable OpRegion simulation
2218 -to allow creation of an OpRegion with a real address that was passed to _CFG.
2219 -All of this allows testing of the Load and Unload operators from AcpiExec.
5393 +AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
5394 +method
5395 +to
5396 +pass address of table to the AML. Added option to disable OpRegion
5397 +simulation
5398 +to allow creation of an OpRegion with a real address that was passed to
5399 +_CFG.
5400 +All of this allows testing of the Load and Unload operators from
5401 +AcpiExec.
2220 5402
2221 -Debugger: update tables command for unloaded tables. Handle unloaded tables
5403 +Debugger: update tables command for unloaded tables. Handle unloaded
5404 +tables
2222 5405 and use the standard table header output routine.
2223 5406
2224 5407 ----------------------------------------
2225 5408 09 June 2008. Summary of changes for version 20080609:
2226 5409
2227 5410 1) ACPI CA Core Subsystem:
2228 5411
2229 -Implemented a workaround for reversed _PRT entries. A significant number of
5412 +Implemented a workaround for reversed _PRT entries. A significant number
5413 +of
2230 5414 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
2231 -change dynamically detects and repairs this problem. Provides compatibility
5415 +change dynamically detects and repairs this problem. Provides
5416 +compatibility
2232 5417 with MS ACPI. BZ 6859
2233 5418
2234 5419 Simplified the internal ACPI hardware interfaces to eliminate the locking
2235 5420 flag parameter from Register Read/Write. Added a new external interface,
2236 5421 AcpiGetRegisterUnlocked.
2237 5422
2238 -Fixed a problem where the invocation of a GPE control method could hang. This
5423 +Fixed a problem where the invocation of a GPE control method could hang.
5424 +This
2239 5425 was a regression introduced in 20080514. The new method argument count
2240 5426 validation mechanism can enter an infinite loop when a GPE method is
2241 -dispatched. Problem fixed by removing the obsolete code that passed GPE block
2242 -information to the notify handler via the control method parameter pointer.
5427 +dispatched. Problem fixed by removing the obsolete code that passed GPE
5428 +block
5429 +information to the notify handler via the control method parameter
5430 +pointer.
2243 5431
2244 -Fixed a problem where the _SST execution status was incorrectly returned to
2245 -the caller of AcpiEnterSleepStatePrep. This was a regression introduced in
5432 +Fixed a problem where the _SST execution status was incorrectly returned
5433 +to
5434 +the caller of AcpiEnterSleepStatePrep. This was a regression introduced
5435 +in
2246 5436 20080514. _SST is optional and a NOT_FOUND exception should never be
2247 5437 returned. BZ 716
2248 5438
2249 -Fixed a problem where a deleted object could be accessed from within the AML
2250 -parser. This was a regression introduced in version 20080123 as a fix for the
5439 +Fixed a problem where a deleted object could be accessed from within the
5440 +AML
5441 +parser. This was a regression introduced in version 20080123 as a fix for
5442 +the
2251 5443 Unload operator. Lin Ming. BZ 10669
2252 5444
2253 -Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands
5445 +Cleaned up the debug operand dump mechanism. Eliminated unnecessary
5446 +operands
2254 5447 and eliminated the use of a negative index in a loop. Operands are now
2255 -displayed in the correct order, not backwards. This also fixes a regression
5448 +displayed in the correct order, not backwards. This also fixes a
5449 +regression
2256 5450 introduced in 20080514 on 64-bit systems where the elimination of
2257 -ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
5451 +ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
5452 +715
2258 5453
2259 -Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit
5454 +Fixed a possible memory leak in EvPciConfigRegionSetup where the error
5455 +exit
2260 5456 path did not delete a locally allocated structure.
2261 5457
2262 5458 Updated definitions for the DMAR and SRAT tables to synchronize with the
2263 5459 current specifications. Includes disassembler support.
2264 5460
2265 5461 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
2266 -loop termination value was used. Loop terminated on iteration early, missing
5462 +loop termination value was used. Loop terminated on iteration early,
5463 +missing
2267 5464 one mutex. Linn Crosetto
2268 5465
2269 5466 Example Code and Data Size: These are the sizes for the OS-independent
2270 5467 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2271 -debug version of the code includes the debug output trace mechanism and has a
5468 +debug version of the code includes the debug output trace mechanism and
5469 +has a
2272 5470 much larger code and data size.
2273 5471
2274 5472 Previous Release:
2275 5473 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
2276 5474 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
2277 5475 Current Release:
2278 5476 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
2279 5477 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
2280 5478
2281 5479 2) iASL Compiler/Disassembler and Tools:
2282 5480
2283 5481 Disassembler: Implemented support for EisaId() within _CID objects. Now
2284 5482 disassemble integer _CID objects back to EisaId invocations, including
2285 5483 multiple integers within _CID packages. Includes single-step support for
2286 5484 debugger also.
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
2287 5485
2288 5486 Disassembler: Added support for DMAR and SRAT table definition changes.
2289 5487
2290 5488 ----------------------------------------
2291 5489 14 May 2008. Summary of changes for version 20080514:
2292 5490
2293 5491 1) ACPI CA Core Subsystem:
2294 5492
2295 5493 Fixed a problem where GPEs were enabled too early during the ACPICA
2296 5494 initialization. This could lead to "handler not installed" errors on some
2297 -machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This
2298 -ensures that all operation regions and devices throughout the namespace have
5495 +machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
5496 +This
5497 +ensures that all operation regions and devices throughout the namespace
5498 +have
2299 5499 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
2300 5500
2301 5501 Implemented a change to the enter sleep code. Moved execution of the _GTS
2302 -method to just before setting sleep enable bit. The execution was moved from
5502 +method to just before setting sleep enable bit. The execution was moved
5503 +from
2303 5504 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
2304 5505 immediately before the SLP_EN bit is set, as per the ACPI specification.
2305 5506 Luming Yu, BZ 1653.
2306 5507
2307 -Implemented a fix to disable unknown GPEs (2nd version). Now always disable
5508 +Implemented a fix to disable unknown GPEs (2nd version). Now always
5509 +disable
2308 5510 the GPE, even if ACPICA thinks that that it is already disabled. It is
2309 -possible that the AML or some other code has enabled the GPE unbeknownst to
5511 +possible that the AML or some other code has enabled the GPE unbeknownst
5512 +to
2310 5513 the ACPICA code.
2311 5514
2312 -Fixed a problem with the Field operator where zero-length fields would return
2313 -an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL
5515 +Fixed a problem with the Field operator where zero-length fields would
5516 +return
5517 +an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
5518 +ASL
2314 5519 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
2315 5520
2316 -Implemented a fix for the Load operator, now load the table at the namespace
2317 -root. This reverts a change introduced in version 20071019. The table is now
5521 +Implemented a fix for the Load operator, now load the table at the
5522 +namespace
5523 +root. This reverts a change introduced in version 20071019. The table is
5524 +now
2318 5525 loaded at the namespace root even though this goes against the ACPI
2319 -specification. This provides compatibility with other ACPI implementations.
2320 -The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
5526 +specification. This provides compatibility with other ACPI
5527 +implementations.
5528 +The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
5529 +Ming.
2321 5530
2322 -Fixed a problem where ACPICA would not Load() tables with unusual signatures.
5531 +Fixed a problem where ACPICA would not Load() tables with unusual
5532 +signatures.
2323 5533 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
2324 5534 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
2325 -Therefore, signature validation is worthless. Apparently MS ACPI accepts such
5535 +Therefore, signature validation is worthless. Apparently MS ACPI accepts
5536 +such
2326 5537 signatures, ACPICA must be compatible. BZ 10454.
2327 5538
2328 -Fixed a possible negative array index in AcpiUtValidateException. Added NULL
2329 -fields to the exception string arrays to eliminate a -1 subtraction on the
5539 +Fixed a possible negative array index in AcpiUtValidateException. Added
5540 +NULL
5541 +fields to the exception string arrays to eliminate a -1 subtraction on
5542 +the
2330 5543 SubStatus field.
2331 5544
2332 5545 Updated the debug tracking macros to reduce overall code and data size.
2333 5546 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
2334 5547 instead of pointers to static strings. Jan Beulich and Bob Moore.
2335 5548
2336 5549 Implemented argument count checking in control method invocation via
2337 -AcpiEvaluateObject. Now emit an error if too few arguments, warning if too
2338 -many. This applies only to extern programmatic control method execution, not
5550 +AcpiEvaluateObject. Now emit an error if too few arguments, warning if
5551 +too
5552 +many. This applies only to extern programmatic control method execution,
5553 +not
2339 5554 method-to-method calls within the AML. Lin Ming.
2340 5555
2341 -Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no
2342 -longer needed, especially with the removal of 16-bit support. It was replaced
2343 -mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on
5556 +Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
5557 +no
5558 +longer needed, especially with the removal of 16-bit support. It was
5559 +replaced
5560 +mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
5561 +bit
5562 +on
2344 5563 32/64-bit platforms is required.
2345 5564
2346 5565 Added the C const qualifier for appropriate string constants -- mostly
2347 5566 MODULE_NAME and printf format strings. Jan Beulich.
2348 5567
2349 5568 Example Code and Data Size: These are the sizes for the OS-independent
2350 5569 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2351 -debug version of the code includes the debug output trace mechanism and has a
5570 +debug version of the code includes the debug output trace mechanism and
5571 +has a
2352 5572 much larger code and data size.
2353 5573
2354 5574 Previous Release:
2355 5575 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
2356 5576 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
2357 5577 Current Release:
2358 5578 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
2359 5579 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
2360 5580
2361 5581 2) iASL Compiler/Disassembler and Tools:
2362 5582
2363 -Implemented ACPI table revision ID validation in the disassembler. Zero is
2364 -always invalid. For DSDTs, the ID controls the interpreter integer width. 1
5583 +Implemented ACPI table revision ID validation in the disassembler. Zero
5584 +is
5585 +always invalid. For DSDTs, the ID controls the interpreter integer width.
5586 +1
2365 5587 means 32-bit and this is unusual. 2 or greater is 64-bit.
2366 5588
2367 5589 ----------------------------------------
2368 5590 21 March 2008. Summary of changes for version 20080321:
2369 5591
2370 5592 1) ACPI CA Core Subsystem:
2371 5593
2372 5594 Implemented an additional change to the GPE support in order to suppress
2373 -spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently
2374 -disable incoming GPEs that are neither enabled nor disabled -- meaning that
2375 -the GPE is unknown to the system. This should prevent future interrupt floods
5595 +spurious or stray GPEs. The AcpiEvDisableGpe function will now
5596 +permanently
5597 +disable incoming GPEs that are neither enabled nor disabled -- meaning
5598 +that
5599 +the GPE is unknown to the system. This should prevent future interrupt
5600 +floods
2376 5601 from that GPE. BZ 6217 (Zhang Rui)
2377 5602
2378 5603 Fixed a problem where NULL package elements were not returned to the
2379 5604 AcpiEvaluateObject interface correctly. The element was simply ignored
2380 -instead of returning a NULL ACPI_OBJECT package element, potentially causing
2381 -a buffer overflow and/or confusing the caller who expected a fixed number of
5605 +instead of returning a NULL ACPI_OBJECT package element, potentially
5606 +causing
5607 +a buffer overflow and/or confusing the caller who expected a fixed number
5608 +of
2382 5609 elements. BZ 10132 (Lin Ming, Bob Moore)
2383 5610
2384 -Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword,
2385 -Qword), Field, BankField, and IndexField operators when invoked from inside
2386 -an executing control method. In this case, these operators created namespace
5611 +Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
5612 +Dword,
5613 +Qword), Field, BankField, and IndexField operators when invoked from
5614 +inside
5615 +an executing control method. In this case, these operators created
5616 +namespace
2387 5617 nodes that were incorrectly left marked as permanent nodes instead of
2388 5618 temporary nodes. This could cause a problem if there is race condition
2389 -between an exiting control method and a running namespace walk. (Reported by
5619 +between an exiting control method and a running namespace walk. (Reported
5620 +by
2390 5621 Linn Crosetto)
2391 5622
2392 5623 Fixed a problem where the CreateField and CreateXXXField operators would
2393 -incorrectly allow duplicate names (the name of the field) with no exception
5624 +incorrectly allow duplicate names (the name of the field) with no
5625 +exception
2394 5626 generated.
2395 5627
2396 -Implemented several changes for Notify handling. Added support for new Notify
5628 +Implemented several changes for Notify handling. Added support for new
5629 +Notify
2397 5630 values (ACPI 2.0+) and improved the Notify debug output. Notify on
2398 -PowerResource objects is no longer allowed, as per the ACPI specification.
5631 +PowerResource objects is no longer allowed, as per the ACPI
5632 +specification.
2399 5633 (Bob Moore, Zhang Rui)
2400 5634
2401 -All Reference Objects returned via the AcpiEvaluateObject interface are now
2402 -marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for
2403 -NULL objects - either NULL package elements or unresolved named references.
5635 +All Reference Objects returned via the AcpiEvaluateObject interface are
5636 +now
5637 +marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
5638 +for
5639 +NULL objects - either NULL package elements or unresolved named
5640 +references.
2404 5641
2405 -Fixed a problem where an extraneous debug message was produced for package
5642 +Fixed a problem where an extraneous debug message was produced for
5643 +package
2406 5644 objects (when debugging enabled). The message "Package List length larger
2407 -than NumElements count" is now produced in the correct case, and is now an
5645 +than NumElements count" is now produced in the correct case, and is now
5646 +an
2408 5647 error message rather than a debug message. Added a debug message for the
2409 -opposite case, where NumElements is larger than the Package List (the package
5648 +opposite case, where NumElements is larger than the Package List (the
5649 +package
2410 5650 will be padded out with NULL elements as per the ACPI spec.)
2411 5651
2412 -Implemented several improvements for the output of the ASL "Debug" object to
5652 +Implemented several improvements for the output of the ASL "Debug" object
5653 +to
2413 5654 clarify and keep all data for a given object on one output line.
2414 5655
2415 -Fixed two size calculation issues with the variable-length Start Dependent
5656 +Fixed two size calculation issues with the variable-length Start
5657 +Dependent
2416 5658 resource descriptor.
2417 5659
2418 5660 Example Code and Data Size: These are the sizes for the OS-independent
2419 5661 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2420 -debug version of the code includes the debug output trace mechanism and has
5662 +debug version of the code includes the debug output trace mechanism and
5663 +has
2421 5664 a much larger code and data size.
2422 5665
2423 5666 Previous Release:
2424 5667 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
2425 5668 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
2426 5669 Current Release:
2427 5670 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
2428 5671 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
2429 5672
2430 5673 2) iASL Compiler/Disassembler and Tools:
2431 5674
2432 -Fixed a problem with the use of the Switch operator where execution of the
5675 +Fixed a problem with the use of the Switch operator where execution of
5676 +the
2433 5677 containing method by multiple concurrent threads could cause an
2434 5678 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
2435 5679 actual Switch opcode, it must be simulated with local named temporary
2436 -variables and if/else pairs. The solution chosen was to mark any method that
2437 -uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
5680 +variables and if/else pairs. The solution chosen was to mark any method
5681 +that
5682 +uses Switch as Serialized, thus preventing multiple thread entries. BZ
5683 +469.
2438 5684
2439 5685 ----------------------------------------
2440 5686 13 February 2008. Summary of changes for version 20080213:
2441 5687
2442 5688 1) ACPI CA Core Subsystem:
2443 5689
2444 -Implemented another MS compatibility design change for GPE/Notify handling.
2445 -GPEs are now cleared/enabled asynchronously to allow all pending notifies to
5690 +Implemented another MS compatibility design change for GPE/Notify
5691 +handling.
5692 +GPEs are now cleared/enabled asynchronously to allow all pending notifies
5693 +to
2446 5694 complete first. It is expected that the OSL will queue the enable request
2447 -behind all pending notify requests (may require changes to the local host OSL
5695 +behind all pending notify requests (may require changes to the local host
5696 +OSL
2448 5697 in AcpiOsExecute). Alexey Starikovskiy.
2449 5698
2450 5699 Fixed a problem where buffer and package objects passed as arguments to a
2451 -control method via the external AcpiEvaluateObject interface could cause an
5700 +control method via the external AcpiEvaluateObject interface could cause
5701 +an
2452 5702 AE_AML_INTERNAL exception depending on the order and type of operators
2453 5703 executed by the target control method.
2454 5704
2455 5705 Fixed a problem where resource descriptor size optimization could cause a
2456 -problem when a _CRS resource template is passed to a _SRS method. The _SRS
5706 +problem when a _CRS resource template is passed to a _SRS method. The
5707 +_SRS
2457 5708 resource template must use the same descriptors (with the same size) as
2458 -returned from _CRS. This change affects the following resource descriptors:
2459 -IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
5709 +returned from _CRS. This change affects the following resource
5710 +descriptors:
5711 +IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
5712 +9487)
2460 5713
2461 -Fixed a problem where a CopyObject to RegionField, BankField, and IndexField
2462 -objects did not perform an implicit conversion as it should. These types must
2463 -retain their initial type permanently as per the ACPI specification. However,
5714 +Fixed a problem where a CopyObject to RegionField, BankField, and
5715 +IndexField
5716 +objects did not perform an implicit conversion as it should. These types
5717 +must
5718 +retain their initial type permanently as per the ACPI specification.
5719 +However,
2464 5720 a CopyObject to all other object types should not perform an implicit
2465 5721 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2466 5722
2467 5723 Fixed a problem with the AcpiGetDevices interface where the mechanism to
2468 5724 match device CIDs did not examine the entire list of available CIDs, but
2469 5725 instead aborted on the first non-matching CID. Andrew Patterson.
2470 5726
2471 -Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was
5727 +Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
5728 +was
2472 5729 inadvertently changed to return a 16-bit value instead of a 32-bit value,
2473 5730 truncating the upper dword of a 64-bit value. This macro is only used to
2474 5731 display debug output, so no incorrect calculations were made. Also,
2475 5732 reimplemented the macro so that a 64-bit shift is not performed by
2476 5733 inefficient compilers.
2477 5734
2478 5735 Added missing va_end statements that should correspond with each va_start
2479 5736 statement.
2480 5737
2481 5738 Example Code and Data Size: These are the sizes for the OS-independent
2482 5739 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2483 -debug version of the code includes the debug output trace mechanism and has
5740 +debug version of the code includes the debug output trace mechanism and
5741 +has
2484 5742 a much larger code and data size.
2485 5743
2486 5744 Previous Release:
2487 5745 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
2488 5746 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
2489 5747 Current Release:
2490 5748 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
2491 5749 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
2492 5750
2493 5751 2) iASL Compiler/Disassembler and Tools:
2494 5752
2495 5753 Implemented full disassembler support for the following new ACPI tables:
2496 5754 BERT, EINJ, and ERST. Implemented partial disassembler support for the
2497 5755 complicated HEST table. These tables support the Windows Hardware Error
2498 5756 Architecture (WHEA).
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
2499 5757
2500 5758 ----------------------------------------
2501 5759 23 January 2008. Summary of changes for version 20080123:
2502 5760
2503 5761 1) ACPI CA Core Subsystem:
2504 5762
2505 5763 Added the 2008 copyright to all module headers and signons. This affects
2506 5764 virtually every file in the ACPICA core subsystem, the iASL compiler, and
2507 5765 the tools/utilities.
2508 5766
2509 -Fixed a problem with the SizeOf operator when used with Package and Buffer
2510 -objects. These objects have deferred execution for some arguments, and the
2511 -execution is now completed before the SizeOf is executed. This problem caused
2512 -unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ
5767 +Fixed a problem with the SizeOf operator when used with Package and
5768 +Buffer
5769 +objects. These objects have deferred execution for some arguments, and
5770 +the
5771 +execution is now completed before the SizeOf is executed. This problem
5772 +caused
5773 +unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
5774 +BZ
2513 5775 9558
2514 5776
2515 -Implemented an enhancement to the interpreter "slack mode". In the absence of
2516 -an explicit return or an implicitly returned object from the last executed
2517 -opcode, a control method will now implicitly return an integer of value 0 for
5777 +Implemented an enhancement to the interpreter "slack mode". In the
5778 +absence
5779 +of
5780 +an explicit return or an implicitly returned object from the last
5781 +executed
5782 +opcode, a control method will now implicitly return an integer of value 0
5783 +for
2518 5784 Microsoft compatibility. (Lin Ming) BZ 392
2519 5785
2520 -Fixed a problem with the Load operator where an exception was not returned in
5786 +Fixed a problem with the Load operator where an exception was not
5787 +returned
5788 +in
2521 5789 the case where the table is already loaded. (Lin Ming) BZ 463
2522 5790
2523 -Implemented support for the use of DDBHandles as an Indexed Reference, as per
5791 +Implemented support for the use of DDBHandles as an Indexed Reference, as
5792 +per
2524 5793 the ACPI spec. (Lin Ming) BZ 486
2525 5794
2526 -Implemented support for UserTerm (Method invocation) for the Unload operator
5795 +Implemented support for UserTerm (Method invocation) for the Unload
5796 +operator
2527 5797 as per the ACPI spec. (Lin Ming) BZ 580
2528 5798
2529 -Fixed a problem with the LoadTable operator where the OemId and OemTableId
2530 -input strings could cause unexpected failures if they were shorter than the
5799 +Fixed a problem with the LoadTable operator where the OemId and
5800 +OemTableId
5801 +input strings could cause unexpected failures if they were shorter than
5802 +the
2531 5803 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
2532 5804
2533 -Implemented support for UserTerm (Method invocation) for the Unload operator
5805 +Implemented support for UserTerm (Method invocation) for the Unload
5806 +operator
2534 5807 as per the ACPI spec. (Lin Ming) BZ 580
2535 5808
2536 -Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST,
5809 +Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
5810 +HEST,
2537 5811 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
2538 5812
2539 5813 Example Code and Data Size: These are the sizes for the OS-independent
2540 5814 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2541 -debug version of the code includes the debug output trace mechanism and has
5815 +debug version of the code includes the debug output trace mechanism and
5816 +has
2542 5817 a much larger code and data size.
2543 5818
2544 5819 Previous Release:
2545 5820 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
2546 5821 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
2547 5822 Current Release:
2548 5823 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
2549 5824 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
2550 5825
2551 5826 2) iASL Compiler/Disassembler and Tools:
2552 5827
2553 -Implemented support in the disassembler for checksum validation on incoming
2554 -binary DSDTs and SSDTs. If incorrect, a message is displayed within the table
5828 +Implemented support in the disassembler for checksum validation on
5829 +incoming
5830 +binary DSDTs and SSDTs. If incorrect, a message is displayed within the
5831 +table
2555 5832 header dump at the start of the disassembly.
2556 5833
2557 -Implemented additional debugging information in the namespace listing file
2558 -created during compilation. In addition to the namespace hierarchy, the full
5834 +Implemented additional debugging information in the namespace listing
5835 +file
5836 +created during compilation. In addition to the namespace hierarchy, the
5837 +full
2559 5838 pathname to each namespace object is displayed.
2560 5839
2561 -Fixed a problem with the disassembler where invalid ACPI tables could cause
5840 +Fixed a problem with the disassembler where invalid ACPI tables could
5841 +cause
2562 5842 faults or infinite loops.
2563 5843
2564 5844 Fixed an unexpected parse error when using the optional "parameter types"
2565 5845 list in a control method declaration. (Lin Ming) BZ 397
2566 5846
2567 -Fixed a problem where two External declarations with the same name did not
5847 +Fixed a problem where two External declarations with the same name did
5848 +not
2568 5849 cause an error (Lin Ming) BZ 509
2569 5850
2570 5851 Implemented support for full TermArgs (adding Argx, Localx and method
2571 -invocation) for the ParameterData parameter to the LoadTable operator. (Lin
5852 +invocation) for the ParameterData parameter to the LoadTable operator.
5853 +(Lin
2572 5854 Ming) BZ 583,587
2573 5855
2574 5856 ----------------------------------------
2575 5857 19 December 2007. Summary of changes for version 20071219:
2576 5858
2577 5859 1) ACPI CA Core Subsystem:
2578 5860
2579 5861 Implemented full support for deferred execution for the TermArg string
2580 5862 arguments for DataTableRegion. This enables forward references and full
2581 -operand resolution for the three string arguments. Similar to OperationRegion
5863 +operand resolution for the three string arguments. Similar to
5864 +OperationRegion
2582 5865 deferred argument execution.) Lin Ming. BZ 430
2583 5866
2584 -Implemented full argument resolution support for the BankValue argument to
2585 -BankField. Previously, only constants were supported, now any TermArg may be
5867 +Implemented full argument resolution support for the BankValue argument
5868 +to
5869 +BankField. Previously, only constants were supported, now any TermArg may
5870 +be
2586 5871 used. Lin Ming BZ 387, 393
2587 5872
2588 5873 Fixed a problem with AcpiGetDevices where the search of a branch of the
2589 5874 device tree could be terminated prematurely. In accordance with the ACPI
2590 -specification, the search down the current branch is terminated if a device
2591 -is both not present and not functional (instead of just not present.) Yakui
5875 +specification, the search down the current branch is terminated if a
5876 +device
5877 +is both not present and not functional (instead of just not present.)
5878 +Yakui
2592 5879 Zhao.
2593 5880
2594 -Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if
2595 -the underlying AML code changed the GPE enable registers. Now, any unknown
2596 -incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled
5881 +Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
5882 +if
5883 +the underlying AML code changed the GPE enable registers. Now, any
5884 +unknown
5885 +incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
5886 +disabled
2597 5887 instead of simply ignored. Rui Zhang.
2598 5888
2599 -Fixed a problem with Index Fields where the Index register was incorrectly
5889 +Fixed a problem with Index Fields where the Index register was
5890 +incorrectly
2600 5891 limited to a maximum of 32 bits. Now any size may be used.
2601 5892
2602 -Fixed a couple memory leaks associated with "implicit return" objects when
5893 +Fixed a couple memory leaks associated with "implicit return" objects
5894 +when
2603 5895 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
2604 5896
2605 5897 Example Code and Data Size: These are the sizes for the OS-independent
2606 5898 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2607 -debug version of the code includes the debug output trace mechanism and has
5899 +debug version of the code includes the debug output trace mechanism and
5900 +has
2608 5901 a much larger code and data size.
2609 5902
2610 5903 Previous Release:
2611 5904 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
2612 5905 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
2613 5906 Current Release:
2614 5907 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
2615 5908 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
2616 5909
2617 5910 ----------------------------------------
2618 5911 14 November 2007. Summary of changes for version 20071114:
2619 5912
2620 5913 1) ACPI CA Core Subsystem:
2621 5914
2622 5915 Implemented event counters for each of the Fixed Events, the ACPI SCI
2623 5916 (interrupt) itself, and control methods executed. Named
2624 -AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These
5917 +AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
5918 +These
2625 5919 should be useful for debugging and statistics.
2626 5920
2627 5921 Implemented a new external interface, AcpiGetStatistics, to retrieve the
2628 5922 contents of the various event counters. Returns the current values for
2629 5923 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
2630 -AcpiMethodCount. The interface can be expanded in the future if new counters
2631 -are added. Device drivers should use this interface rather than access the
5924 +AcpiMethodCount. The interface can be expanded in the future if new
5925 +counters
5926 +are added. Device drivers should use this interface rather than access
5927 +the
2632 5928 counters directly.
2633 5929
2634 -Fixed a problem with the FromBCD and ToBCD operators. With some compilers,
2635 -the ShortDivide function worked incorrectly, causing problems with the BCD
5930 +Fixed a problem with the FromBCD and ToBCD operators. With some
5931 +compilers,
5932 +the ShortDivide function worked incorrectly, causing problems with the
5933 +BCD
2636 5934 functions with large input values. A truncation from 64-bit to 32-bit
2637 5935 inadvertently occurred. Internal BZ 435. Lin Ming
2638 5936
2639 -Fixed a problem with Index references passed as method arguments. References
2640 -passed as arguments to control methods were dereferenced immediately (before
2641 -control was passed to the called method). The references are now correctly
5937 +Fixed a problem with Index references passed as method arguments.
5938 +References
5939 +passed as arguments to control methods were dereferenced immediately
5940 +(before
5941 +control was passed to the called method). The references are now
5942 +correctly
2642 5943 passed directly to the called method. BZ 5389. Lin Ming
2643 5944
2644 -Fixed a problem with CopyObject used in conjunction with the Index operator.
2645 -The reference was incorrectly dereferenced before the copy. The reference is
5945 +Fixed a problem with CopyObject used in conjunction with the Index
5946 +operator.
5947 +The reference was incorrectly dereferenced before the copy. The reference
5948 +is
2646 5949 now correctly copied. BZ 5391. Lin Ming
2647 5950
2648 -Fixed a problem with Control Method references within Package objects. These
5951 +Fixed a problem with Control Method references within Package objects.
5952 +These
2649 5953 references are now correctly generated. This completes the package
2650 5954 construction overhaul that began in version 20071019.
2651 5955
2652 5956 Example Code and Data Size: These are the sizes for the OS-independent
2653 5957 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2654 -debug version of the code includes the debug output trace mechanism and has
5958 +debug version of the code includes the debug output trace mechanism and
5959 +has
2655 5960 a much larger code and data size.
2656 5961
2657 5962 Previous Release:
2658 5963 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
2659 5964 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
2660 5965 Current Release:
2661 5966 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
2662 5967 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
2663 5968
2664 5969
2665 5970 2) iASL Compiler/Disassembler and Tools:
2666 5971
2667 5972 The AcpiExec utility now installs handlers for all of the predefined
2668 5973 Operation Region types. New types supported are: PCI_Config, CMOS, and
2669 5974 PCIBARTarget.
2670 5975
2671 -Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
5976 +Fixed a problem with the 64-bit version of AcpiExec where the extended
5977 +(64-
2672 5978 bit) address fields for the DSDT and FACS within the FADT were not being
2673 -used, causing truncation of the upper 32-bits of these addresses. Lin Ming
5979 +used, causing truncation of the upper 32-bits of these addresses. Lin
5980 +Ming
2674 5981 and Bob Moore
2675 5982
2676 5983 ----------------------------------------
2677 5984 19 October 2007. Summary of changes for version 20071019:
2678 5985
2679 5986 1) ACPI CA Core Subsystem:
2680 5987
2681 5988 Fixed a problem with the Alias operator when the target of the alias is a
2682 -named ASL operator that opens a new scope -- Scope, Device, PowerResource,
5989 +named ASL operator that opens a new scope -- Scope, Device,
5990 +PowerResource,
2683 5991 Processor, and ThermalZone. In these cases, any children of the original
2684 -operator could not be accessed via the alias, potentially causing unexpected
5992 +operator could not be accessed via the alias, potentially causing
5993 +unexpected
2685 5994 AE_NOT_FOUND exceptions. (BZ 9067)
2686 5995
2687 5996 Fixed a problem with the Package operator where all named references were
2688 -created as object references and left otherwise unresolved. According to the
2689 -ACPI specification, a Package can only contain Data Objects or references to
5997 +created as object references and left otherwise unresolved. According to
5998 +the
5999 +ACPI specification, a Package can only contain Data Objects or references
6000 +to
2690 6001 control methods. The implication is that named references to Data Objects
2691 6002 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
2692 6003 immediately upon package creation. This is the approach taken with this
2693 6004 change. References to all other named objects (Methods, Devices, Scopes,
2694 6005 etc.) are all now properly created as reference objects. (BZ 5328)
2695 6006
2696 6007 Reverted a change to Notify handling that was introduced in version
2697 6008 20070508. This version changed the Notify handling from asynchronous to
2698 -fully synchronous (Device driver Notify handling with respect to the Notify
6009 +fully synchronous (Device driver Notify handling with respect to the
6010 +Notify
2699 6011 ASL operator). It was found that this change caused more problems than it
2700 6012 solved and was removed by most users.
2701 6013
2702 -Fixed a problem with the Increment and Decrement operators where the type of
6014 +Fixed a problem with the Increment and Decrement operators where the type
6015 +of
2703 6016 the target object could be unexpectedly and incorrectly changed. (BZ 353)
2704 6017 Lin Ming.
2705 6018
2706 6019 Fixed a problem with the Load and LoadTable operators where the table
2707 6020 location within the namespace was ignored. Instead, the table was always
2708 6021 loaded into the root or current scope. Lin Ming.
2709 6022
2710 6023 Fixed a problem with the Load operator when loading a table from a buffer
2711 6024 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
2712 6025
2713 -Fixed a problem with the Debug object where a store of a DdbHandle reference
6026 +Fixed a problem with the Debug object where a store of a DdbHandle
6027 +reference
2714 6028 object to the Debug object could cause a fault.
2715 6029
2716 -Added a table checksum verification for the Load operator, in the case where
6030 +Added a table checksum verification for the Load operator, in the case
6031 +where
2717 6032 the load is from a buffer. (BZ 578).
2718 6033
2719 -Implemented additional parameter validation for the LoadTable operator. The
2720 -length of the input strings SignatureString, OemIdString, and OemTableId are
6034 +Implemented additional parameter validation for the LoadTable operator.
6035 +The
6036 +length of the input strings SignatureString, OemIdString, and OemTableId
6037 +are
2721 6038 now checked for maximum lengths. (BZ 582) Lin Ming.
2722 6039
2723 6040 Example Code and Data Size: These are the sizes for the OS-independent
2724 6041 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2725 -debug version of the code includes the debug output trace mechanism and has
6042 +debug version of the code includes the debug output trace mechanism and
6043 +has
2726 6044 a much larger code and data size.
2727 6045
2728 6046 Previous Release:
2729 6047 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
2730 6048 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
2731 6049 Current Release:
2732 6050 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
2733 6051 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
2734 6052
2735 6053
2736 6054 2) iASL Compiler/Disassembler:
2737 6055
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
2738 6056 Fixed a problem where if a single file was specified and the file did not
2739 6057 exist, no error message was emitted. (Introduced with wildcard support in
2740 6058 version 20070917.)
2741 6059
2742 6060 ----------------------------------------
2743 6061 19 September 2007. Summary of changes for version 20070919:
2744 6062
2745 6063 1) ACPI CA Core Subsystem:
2746 6064
2747 6065 Designed and implemented new external interfaces to install and remove
2748 -handlers for ACPI table-related events. Current events that are defined are
6066 +handlers for ACPI table-related events. Current events that are defined
6067 +are
2749 6068 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
2750 6069 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
2751 6070 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2752 6071
2753 6072 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
2754 6073 (acpi_serialized option on Linux) could cause some systems to hang during
2755 6074 initialization. (Bob Moore) BZ 8171
2756 6075
2757 6076 Fixed a problem where objects of certain types (Device, ThermalZone,
2758 6077 Processor, PowerResource) can be not found if they are declared and
2759 6078 referenced from within the same control method (Lin Ming) BZ 341
2760 6079
2761 6080 Example Code and Data Size: These are the sizes for the OS-independent
2762 6081 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2763 -debug version of the code includes the debug output trace mechanism and has
6082 +debug version of the code includes the debug output trace mechanism and
6083 +has
2764 6084 a much larger code and data size.
2765 6085
2766 6086 Previous Release:
2767 6087 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
2768 6088 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
2769 6089 Current Release:
2770 6090 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
2771 6091 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
2772 6092
2773 6093
2774 6094 2) iASL Compiler/Disassembler:
2775 6095
2776 -Implemented support to allow multiple files to be compiled/disassembled in a
2777 -single invocation. This includes command line wildcard support for both the
6096 +Implemented support to allow multiple files to be compiled/disassembled
6097 +in
6098 +a
6099 +single invocation. This includes command line wildcard support for both
6100 +the
2778 6101 Windows and Unix versions of the compiler. This feature simplifies the
2779 -disassembly and compilation of multiple ACPI tables in a single directory.
6102 +disassembly and compilation of multiple ACPI tables in a single
6103 +directory.
2780 6104
2781 6105 ----------------------------------------
2782 6106 08 May 2007. Summary of changes for version 20070508:
2783 6107
2784 6108 1) ACPI CA Core Subsystem:
2785 6109
2786 -Implemented a Microsoft compatibility design change for the handling of the
6110 +Implemented a Microsoft compatibility design change for the handling of
6111 +the
2787 6112 Notify AML operator. Previously, notify handlers were dispatched and
2788 6113 executed completely asynchronously in a deferred thread. The new design
2789 -still executes the notify handlers in a different thread, but the original
2790 -thread that executed the Notify() now waits at a synchronization point for
2791 -the notify handler to complete. Some machines depend on a synchronous Notify
6114 +still executes the notify handlers in a different thread, but the
6115 +original
6116 +thread that executed the Notify() now waits at a synchronization point
6117 +for
6118 +the notify handler to complete. Some machines depend on a synchronous
6119 +Notify
2792 6120 operator in order to operate correctly.
2793 6121
2794 6122 Implemented support to allow Package objects to be passed as method
2795 6123 arguments to the external AcpiEvaluateObject interface. Previously, this
2796 6124 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
2797 6125 implemented since there were no reserved control methods that required it
2798 6126 until recently.
2799 6127
2800 -Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that
6128 +Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
6129 +that
2801 6130 contained invalid non-zero values in reserved fields could cause later
2802 -failures because these fields have meaning in later revisions of the FADT.
2803 -For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields
6131 +failures because these fields have meaning in later revisions of the
6132 +FADT.
6133 +For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
6134 +fields
2804 6135 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
2805 6136
2806 -Fixed a problem where the Global Lock handle was not properly updated if a
2807 -thread that acquired the Global Lock via executing AML code then attempted
2808 -to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe
6137 +Fixed a problem where the Global Lock handle was not properly updated if
6138 +a
6139 +thread that acquired the Global Lock via executing AML code then
6140 +attempted
6141 +to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
6142 +Joe
2809 6143 Liu.
2810 6144
2811 6145 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
2812 6146 could be corrupted if the interrupt being removed was at the head of the
2813 6147 list. Reported by Linn Crosetto.
2814 6148
2815 6149 Example Code and Data Size: These are the sizes for the OS-independent
2816 6150 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2817 -debug version of the code includes the debug output trace mechanism and has
6151 +debug version of the code includes the debug output trace mechanism and
6152 +has
2818 6153 a much larger code and data size.
2819 6154
2820 6155 Previous Release:
2821 6156 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
2822 6157 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
2823 6158 Current Release:
2824 6159 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
2825 6160 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
2826 6161
2827 6162 ----------------------------------------
2828 6163 20 March 2007. Summary of changes for version 20070320:
2829 6164
2830 6165 1) ACPI CA Core Subsystem:
2831 6166
2832 6167 Implemented a change to the order of interpretation and evaluation of AML
2833 6168 operand objects within the AML interpreter. The interpreter now evaluates
2834 6169 operands in the order that they appear in the AML stream (and the
2835 -corresponding ASL code), instead of in the reverse order (after the entire
2836 -operand list has been parsed). The previous behavior caused several subtle
6170 +corresponding ASL code), instead of in the reverse order (after the
6171 +entire
6172 +operand list has been parsed). The previous behavior caused several
6173 +subtle
2837 6174 incompatibilities with the Microsoft AML interpreter as well as being
2838 6175 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
2839 6176
2840 -Implemented a change to the ACPI Global Lock support. All interfaces to the
6177 +Implemented a change to the ACPI Global Lock support. All interfaces to
6178 +the
2841 6179 global lock now allow the same thread to acquire the lock multiple times.
2842 -This affects the AcpiAcquireGlobalLock external interface to the global lock
6180 +This affects the AcpiAcquireGlobalLock external interface to the global
6181 +lock
2843 6182 as well as the internal use of the global lock to support AML fields -- a
2844 -control method that is holding the global lock can now simultaneously access
2845 -AML fields that require global lock protection. Previously, in both cases,
2846 -this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to
6183 +control method that is holding the global lock can now simultaneously
6184 +access
6185 +AML fields that require global lock protection. Previously, in both
6186 +cases,
6187 +this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
6188 +to
2847 6189 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
2848 -Controller. There is no change to the behavior of the AML Acquire operator,
6190 +Controller. There is no change to the behavior of the AML Acquire
6191 +operator,
2849 6192 as this can already be used to acquire a mutex multiple times by the same
2850 6193 thread. BZ 8066. With assistance from Alexey Starikovskiy.
2851 6194
2852 6195 Fixed a problem where invalid objects could be referenced in the AML
2853 -Interpreter after error conditions. During operand evaluation, ensure that
6196 +Interpreter after error conditions. During operand evaluation, ensure
6197 +that
2854 6198 the internal "Return Object" field is cleared on error and only valid
2855 -pointers are stored there. Caused occasional access to deleted objects that
6199 +pointers are stored there. Caused occasional access to deleted objects
6200 +that
2856 6201 resulted in "large reference count" warning messages. Valery Podrezov.
2857 6202
2858 -Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on
6203 +Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
6204 +on
2859 6205 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
2860 6206 Podrezov.
2861 6207
2862 6208 Fixed an internal problem with the handling of result objects on the
2863 6209 interpreter result stack. BZ 7872. Valery Podrezov.
2864 6210
2865 -Removed obsolete code that handled the case where AML_NAME_OP is the target
6211 +Removed obsolete code that handled the case where AML_NAME_OP is the
6212 +target
2866 6213 of a reference (Reference.Opcode). This code was no longer necessary. BZ
2867 6214 7874. Valery Podrezov.
2868 6215
2869 -Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a
6216 +Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
6217 +was
6218 +a
2870 6219 remnant from the previously discontinued 16-bit support.
2871 6220
2872 6221 Example Code and Data Size: These are the sizes for the OS-independent
2873 6222 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2874 -debug version of the code includes the debug output trace mechanism and has
6223 +debug version of the code includes the debug output trace mechanism and
6224 +has
2875 6225 a much larger code and data size.
2876 6226
2877 6227 Previous Release:
2878 6228 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
2879 6229 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
2880 6230 Current Release:
2881 6231 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
2882 6232 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
2883 6233
2884 6234 ----------------------------------------
2885 6235 26 January 2007. Summary of changes for version 20070126:
2886 6236
2887 6237 1) ACPI CA Core Subsystem:
2888 6238
2889 6239 Added the 2007 copyright to all module headers and signons. This affects
2890 6240 virtually every file in the ACPICA core subsystem, the iASL compiler, and
2891 6241 the utilities.
2892 6242
2893 6243 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
2894 -during a table load. A bad pointer was passed in the case where the DSDT is
6244 +during a table load. A bad pointer was passed in the case where the DSDT
6245 +is
2895 6246 overridden, causing a fault in this case.
2896 6247
2897 6248 Example Code and Data Size: These are the sizes for the OS-independent
2898 6249 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2899 -debug version of the code includes the debug output trace mechanism and has
6250 +debug version of the code includes the debug output trace mechanism and
6251 +has
2900 6252 a much larger code and data size.
2901 6253
2902 6254 Previous Release:
2903 6255 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
2904 6256 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
2905 6257 Current Release:
2906 6258 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
2907 6259 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
2908 6260
2909 6261 ----------------------------------------
2910 6262 15 December 2006. Summary of changes for version 20061215:
2911 6263
2912 6264 1) ACPI CA Core Subsystem:
2913 6265
2914 -Support for 16-bit ACPICA has been completely removed since it is no longer
6266 +Support for 16-bit ACPICA has been completely removed since it is no
6267 +longer
2915 6268 necessary and it clutters the code. All 16-bit macros, types, and
2916 -conditional compiles have been removed, cleaning up and simplifying the code
6269 +conditional compiles have been removed, cleaning up and simplifying the
6270 +code
2917 6271 across the entire subsystem. DOS support is no longer needed since the
2918 6272 bootable Linux firmware kit is now available.
2919 6273
2920 6274 The handler for the Global Lock is now removed during AcpiTerminate to
2921 6275 enable a clean subsystem restart, via the implementation of the
2922 6276 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
2923 6277 HP)
2924 6278
2925 -Implemented enhancements to the multithreading support within the debugger
2926 -to enable improved multithreading debugging and evaluation of the subsystem.
6279 +Implemented enhancements to the multithreading support within the
6280 +debugger
6281 +to enable improved multithreading debugging and evaluation of the
6282 +subsystem.
2927 6283 (Valery Podrezov)
2928 6284
2929 -Debugger: Enhanced the Statistics/Memory command to emit the total (maximum)
2930 -memory used during the execution, as well as the maximum memory consumed by
6285 +Debugger: Enhanced the Statistics/Memory command to emit the total
6286 +(maximum)
6287 +memory used during the execution, as well as the maximum memory consumed
6288 +by
2931 6289 each of the various object types. (Valery Podrezov)
2932 6290
2933 6291 Example Code and Data Size: These are the sizes for the OS-independent
2934 6292 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2935 -debug version of the code includes the debug output trace mechanism and has
6293 +debug version of the code includes the debug output trace mechanism and
6294 +has
2936 6295 a much larger code and data size.
2937 6296
2938 6297 Previous Release:
2939 6298 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
2940 6299 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
2941 6300 Current Release:
2942 6301 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
2943 6302 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
2944 6303
2945 6304
2946 6305 2) iASL Compiler/Disassembler and Tools:
2947 6306
2948 6307 AcpiExec: Implemented a new option (-m) to display full memory use
2949 6308 statistics upon subsystem/program termination. (Valery Podrezov)
2950 6309
2951 6310 ----------------------------------------
2952 6311 09 November 2006. Summary of changes for version 20061109:
2953 6312
2954 6313 1) ACPI CA Core Subsystem:
2955 6314
2956 -Optimized the Load ASL operator in the case where the source operand is an
6315 +Optimized the Load ASL operator in the case where the source operand is
6316 +an
2957 6317 operation region. Simply map the operation region memory, instead of
2958 6318 performing a bytewise read. (Region must be of type SystemMemory, see
2959 6319 below.)
2960 6320
2961 6321 Fixed the Load ASL operator for the case where the source operand is a
2962 -region field. A buffer object is also allowed as the source operand. BZ 480
6322 +region field. A buffer object is also allowed as the source operand. BZ
6323 +480
2963 6324
2964 -Fixed a problem where the Load ASL operator allowed the source operand to be
6325 +Fixed a problem where the Load ASL operator allowed the source operand to
6326 +be
2965 6327 an operation region of any type. It is now restricted to regions of type
2966 6328 SystemMemory, as per the ACPI specification. BZ 481
2967 6329
2968 6330 Additional cleanup and optimizations for the new Table Manager code.
2969 6331
2970 -AcpiEnable will now fail if all of the required ACPI tables are not loaded
6332 +AcpiEnable will now fail if all of the required ACPI tables are not
6333 +loaded
2971 6334 (FADT, FACS, DSDT). BZ 477
2972 6335
2973 -Added #pragma pack(8/4) to acobject.h to ensure that the structures in this
6336 +Added #pragma pack(8/4) to acobject.h to ensure that the structures in
6337 +this
2974 6338 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
2975 6339 manually optimized to be aligned and will not work if it is byte-packed.
2976 6340
2977 6341 Example Code and Data Size: These are the sizes for the OS-independent
2978 6342 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 has
6343 +debug version of the code includes the debug output trace mechanism and
6344 +has
2980 6345 a much larger code and data size.
2981 6346
2982 6347 Previous Release:
2983 6348 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
2984 6349 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
2985 6350 Current Release:
2986 6351 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
2987 6352 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
2988 6353
2989 6354
2990 6355 2) iASL Compiler/Disassembler and Tools:
2991 6356
2992 6357 Fixed a problem where the presence of the _OSI predefined control method
2993 6358 within complex expressions could cause an internal compiler error.
2994 6359
2995 6360 AcpiExec: Implemented full region support for multiple address spaces.
2996 6361 SpaceId is now part of the REGION object. BZ 429
2997 6362
2998 6363 ----------------------------------------
2999 6364 11 October 2006. Summary of changes for version 20061011:
↓ open down ↓ |
10 lines elided |
↑ open up ↑ |
3000 6365
3001 6366 1) ACPI CA Core Subsystem:
3002 6367
3003 6368 Completed an AML interpreter performance enhancement for control method
3004 6369 execution. Previously a 2-pass parse/execution, control methods are now
3005 6370 completely parsed and executed in a single pass. This improves overall
3006 6371 interpreter performance by ~25%, reduces code size, and reduces CPU stack
3007 6372 use. (Valery Podrezov + interpreter changes in version 20051202 that
3008 6373 eliminated namespace loading during the pass one parse.)
3009 6374
3010 -Implemented _CID support for PCI Root Bridge detection. If the _HID does not
3011 -match the predefined PCI Root Bridge IDs, the _CID list (if present) is now
6375 +Implemented _CID support for PCI Root Bridge detection. If the _HID does
6376 +not
6377 +match the predefined PCI Root Bridge IDs, the _CID list (if present) is
6378 +now
3012 6379 obtained and also checked for an ID match.
3013 6380
3014 -Implemented additional support for the PCI _ADR execution: upsearch until a
6381 +Implemented additional support for the PCI _ADR execution: upsearch until
6382 +a
3015 6383 device scope is found before executing _ADR. This allows PCI_Config
3016 -operation regions to be declared locally within control methods underneath
6384 +operation regions to be declared locally within control methods
6385 +underneath
3017 6386 PCI device objects.
3018 6387
3019 6388 Fixed a problem with a possible race condition between threads executing
3020 6389 AcpiWalkNamespace and the AML interpreter. This condition was removed by
3021 -modifying AcpiWalkNamespace to (by default) ignore all temporary namespace
6390 +modifying AcpiWalkNamespace to (by default) ignore all temporary
6391 +namespace
3022 6392 entries created during any concurrent control method execution. An
3023 6393 additional namespace race condition is known to exist between
3024 6394 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
3025 6395 investigation.
3026 6396
3027 6397 Restructured the AML ParseLoop function, breaking it into several
3028 -subfunctions in order to reduce CPU stack use and improve maintainability.
6398 +subfunctions in order to reduce CPU stack use and improve
6399 +maintainability.
3029 6400 (Mikhail Kouzmich)
3030 6401
3031 -AcpiGetHandle: Fix for parameter validation to detect invalid combinations
6402 +AcpiGetHandle: Fix for parameter validation to detect invalid
6403 +combinations
3032 6404 of prefix handle and pathname. BZ 478
3033 6405
3034 6406 Example Code and Data Size: These are the sizes for the OS-independent
3035 6407 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3036 -debug version of the code includes the debug output trace mechanism and has
6408 +debug version of the code includes the debug output trace mechanism and
6409 +has
3037 6410 a much larger code and data size.
3038 6411
3039 6412 Previous Release:
3040 6413 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
3041 6414 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
3042 6415 Current Release:
3043 6416 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
3044 6417 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
3045 6418
3046 6419 2) iASL Compiler/Disassembler and Tools:
3047 6420
3048 -Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager
6421 +Ported the -g option (get local ACPI tables) to the new ACPICA Table
6422 +Manager
3049 6423 to restore original behavior.
3050 6424
3051 6425 ----------------------------------------
3052 6426 27 September 2006. Summary of changes for version 20060927:
3053 6427
3054 6428 1) ACPI CA Core Subsystem:
3055 6429
3056 6430 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
3057 6431 These functions now use a spinlock for mutual exclusion and the interrupt
3058 6432 level indication flag is not needed.
3059 6433
3060 6434 Fixed a problem with the Global Lock where the lock could appear to be
3061 6435 obtained before it is actually obtained. The global lock semaphore was
3062 -inadvertently created with one unit instead of zero units. (BZ 464) Fiodor
6436 +inadvertently created with one unit instead of zero units. (BZ 464)
6437 +Fiodor
3063 6438 Suietov.
3064 6439
3065 -Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during
6440 +Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
6441 +during
3066 6442 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
3067 6443
3068 6444 Example Code and Data Size: These are the sizes for the OS-independent
3069 6445 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3070 -debug version of the code includes the debug output trace mechanism and has
6446 +debug version of the code includes the debug output trace mechanism and
6447 +has
3071 6448 a much larger code and data size.
3072 6449
3073 6450 Previous Release:
3074 6451 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
3075 6452 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
3076 6453 Current Release:
3077 6454 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
3078 6455 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
3079 6456
3080 6457
3081 6458 2) iASL Compiler/Disassembler and Tools:
3082 6459
3083 -Fixed a compilation problem with the pre-defined Resource Descriptor field
3084 -names where an "object does not exist" error could be incorrectly generated
6460 +Fixed a compilation problem with the pre-defined Resource Descriptor
6461 +field
6462 +names where an "object does not exist" error could be incorrectly
6463 +generated
3085 6464 if the parent ResourceTemplate pathname places the template within a
3086 6465 different namespace scope than the current scope. (BZ 7212)
3087 6466
3088 -Fixed a problem where the compiler could hang after syntax errors detected
6467 +Fixed a problem where the compiler could hang after syntax errors
6468 +detected
3089 6469 in an ElseIf construct. (BZ 453)
3090 6470
3091 6471 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
3092 -operator. An incorrect output filename was produced when this parameter was
6472 +operator. An incorrect output filename was produced when this parameter
6473 +was
3093 6474 a null string (""). Now, the original input filename is used as the AML
3094 6475 output filename, with an ".aml" extension.
3095 6476
3096 -Implemented a generic batch command mode for the AcpiExec utility (execute
6477 +Implemented a generic batch command mode for the AcpiExec utility
6478 +(execute
3097 6479 any AML debugger command) (Valery Podrezov).
3098 6480
3099 6481 ----------------------------------------
3100 6482 12 September 2006. Summary of changes for version 20060912:
3101 6483
3102 6484 1) ACPI CA Core Subsystem:
3103 6485
3104 6486 Enhanced the implementation of the "serialized mode" of the interpreter
3105 6487 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
3106 -specified, instead of creating a serialization semaphore per control method,
6488 +specified, instead of creating a serialization semaphore per control
6489 +method,
3107 6490 the interpreter lock is simply no longer released before a blocking
3108 6491 operation during control method execution. This effectively makes the AML
3109 6492 Interpreter single-threaded. The overhead of a semaphore per-method is
3110 6493 eliminated.
3111 6494
3112 -Fixed a regression where an error was no longer emitted if a control method
6495 +Fixed a regression where an error was no longer emitted if a control
6496 +method
3113 6497 attempts to create 2 objects of the same name. This once again returns
3114 -AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that
6498 +AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
6499 +that
3115 6500 will dynamically serialize the control method to possible prevent future
3116 6501 errors. (BZ 440)
3117 6502
3118 6503 Integrated a fix for a problem with PCI Express HID detection in the PCI
3119 6504 Config Space setup procedure. (BZ 7145)
3120 6505
3121 6506 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
3122 6507 AcpiHwInitialize function - the FADT registers are now validated when the
3123 6508 table is loaded.
3124 6509
3125 -Added two new warnings during FADT verification - 1) if the FADT is larger
3126 -than the largest known FADT version, and 2) if there is a mismatch between a
3127 -32-bit block address and the 64-bit X counterpart (when both are non-zero.)
6510 +Added two new warnings during FADT verification - 1) if the FADT is
6511 +larger
6512 +than the largest known FADT version, and 2) if there is a mismatch
6513 +between
6514 +a
6515 +32-bit block address and the 64-bit X counterpart (when both are non-
6516 +zero.)
3128 6517
3129 6518 Example Code and Data Size: These are the sizes for the OS-independent
3130 6519 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3131 -debug version of the code includes the debug output trace mechanism and has
6520 +debug version of the code includes the debug output trace mechanism and
6521 +has
3132 6522 a much larger code and data size.
3133 6523
3134 6524 Previous Release:
3135 6525 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
3136 6526 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
3137 6527 Current Release:
3138 6528 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
3139 6529 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
3140 6530
3141 6531
3142 6532 2) iASL Compiler/Disassembler and Tools:
3143 6533
3144 -Fixed a problem with the implementation of the Switch() operator where the
3145 -temporary variable was declared too close to the actual Switch, instead of
6534 +Fixed a problem with the implementation of the Switch() operator where
6535 +the
6536 +temporary variable was declared too close to the actual Switch, instead
6537 +of
3146 6538 at method level. This could cause a problem if the Switch() operator is
3147 6539 within a while loop, causing an error on the second iteration. (BZ 460)
3148 6540
3149 6541 Disassembler - fix for error emitted for unknown type for target of scope
3150 6542 operator. Now, ignore it and continue.
3151 6543
3152 6544 Disassembly of an FADT now verifies the input FADT and reports any errors
3153 6545 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3154 6546
3155 -Disassembly of raw data buffers with byte initialization data now prefixes
6547 +Disassembly of raw data buffers with byte initialization data now
6548 +prefixes
3156 6549 each output line with the current buffer offset.
3157 6550
3158 6551 Disassembly of ASF! table now includes all variable-length data fields at
3159 6552 the end of some of the subtables.
3160 6553
3161 6554 The disassembler now emits a comment if a buffer appears to be a
3162 -ResourceTemplate, but cannot be disassembled as such because the EndTag does
6555 +ResourceTemplate, but cannot be disassembled as such because the EndTag
6556 +does
3163 6557 not appear at the very end of the buffer.
3164 6558
3165 -AcpiExec - Added the "-t" command line option to enable the serialized mode
6559 +AcpiExec - Added the "-t" command line option to enable the serialized
6560 +mode
3166 6561 of the AML interpreter.
3167 6562
3168 6563 ----------------------------------------
3169 6564 31 August 2006. Summary of changes for version 20060831:
3170 6565
3171 6566 1) ACPI CA Core Subsystem:
3172 6567
3173 6568 Miscellaneous fixes for the Table Manager:
3174 6569 - Correctly initialize internal common FADT for all 64-bit "X" fields
3175 6570 - Fixed a couple table mapping issues during table load
3176 6571 - Fixed a couple alignment issues for IA64
3177 6572 - Initialize input array to zero in AcpiInitializeTables
3178 6573 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
3179 6574 AcpiGetTableByIndex
3180 6575
3181 -Change for GPE support: when a "wake" GPE is received, all wake GPEs are now
6576 +Change for GPE support: when a "wake" GPE is received, all wake GPEs are
6577 +now
3182 6578 immediately disabled to prevent the waking GPE from firing again and to
3183 6579 prevent other wake GPEs from interrupting the wake process.
3184 6580
3185 -Added the AcpiGpeCount global that tracks the number of processed GPEs, to
6581 +Added the AcpiGpeCount global that tracks the number of processed GPEs,
6582 +to
3186 6583 be used for debugging systems with a large number of ACPI interrupts.
3187 6584
3188 6585 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
3189 6586 both the ACPICA headers and the disassembler.
3190 6587
3191 6588 Example Code and Data Size: These are the sizes for the OS-independent
3192 6589 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3193 -debug version of the code includes the debug output trace mechanism and has
6590 +debug version of the code includes the debug output trace mechanism and
6591 +has
3194 6592 a much larger code and data size.
3195 6593
3196 6594 Previous Release:
3197 6595 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
3198 6596 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
3199 6597 Current Release:
3200 6598 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
3201 6599 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
3202 6600
3203 6601
3204 6602 2) iASL Compiler/Disassembler and Tools:
3205 6603
3206 6604 Disassembler support for the DMAR ACPI table.
3207 6605
3208 6606 ----------------------------------------
3209 6607 23 August 2006. Summary of changes for version 20060823:
3210 6608
3211 6609 1) ACPI CA Core Subsystem:
3212 6610
3213 6611 The Table Manager component has been completely redesigned and
3214 -reimplemented. The new design is much simpler, and reduces the overall code
3215 -and data size of the kernel-resident ACPICA by approximately 5%. Also, it is
6612 +reimplemented. The new design is much simpler, and reduces the overall
6613 +code
6614 +and data size of the kernel-resident ACPICA by approximately 5%. Also, it
6615 +is
3216 6616 now possible to obtain the ACPI tables very early during kernel
3217 6617 initialization, even before dynamic memory management is initialized.
3218 6618 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3219 6619
3220 6620 Obsolete ACPICA interfaces:
3221 6621
3222 -- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init
6622 +- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
6623 +init
3223 6624 time).
3224 6625 - AcpiLoadTable: Not needed.
3225 6626 - AcpiUnloadTable: Not needed.
3226 6627
3227 6628 New ACPICA interfaces:
3228 6629
3229 -- AcpiInitializeTables: Must be called before the table manager can be used.
6630 +- AcpiInitializeTables: Must be called before the table manager can be
6631 +used.
3230 6632 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
3231 6633 allocated memory after it becomes available.
3232 -- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables
6634 +- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
6635 +tables
3233 6636 in the RSDT/XSDT.
3234 6637
3235 6638 Other ACPICA changes:
3236 6639
3237 -- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use
6640 +- AcpiGetTableHeader returns the actual mapped table header, not a copy.
6641 +Use
3238 6642 AcpiOsUnmapMemory to free this mapping.
3239 6643 - AcpiGetTable returns the actual mapped table. The mapping is managed
3240 6644 internally and must not be deleted by the caller. Use of this interface
3241 6645 causes no additional dynamic memory allocation.
3242 -- AcpiFindRootPointer: Support for physical addressing has been eliminated,
6646 +- AcpiFindRootPointer: Support for physical addressing has been
6647 +eliminated,
3243 6648 it appeared to be unused.
3244 6649 - The interface to AcpiOsMapMemory has changed to be consistent with the
3245 6650 other allocation interfaces.
3246 -- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary
6651 +- The interface to AcpiOsGetRootPointer has changed to eliminate
6652 +unnecessary
3247 6653 parameters.
3248 -- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
6654 +- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
6655 +64-
3249 6656 bit platforms. Was previously 64 bits on all platforms.
3250 -- The interface to the ACPI Global Lock acquire/release macros have changed
6657 +- The interface to the ACPI Global Lock acquire/release macros have
6658 +changed
3251 6659 slightly since ACPICA no longer keeps a local copy of the FACS with a
3252 6660 constructed pointer to the actual global lock.
3253 6661
3254 6662 Porting to the new table manager:
3255 6663
3256 6664 - AcpiInitializeTables: Must be called once, and can be called anytime
3257 -during the OS initialization process. It allows the host to specify an area
6665 +during the OS initialization process. It allows the host to specify an
6666 +area
3258 6667 of memory to be used to store the internal version of the RSDT/XSDT (root
3259 -table). This allows the host to access ACPI tables before memory management
6668 +table). This allows the host to access ACPI tables before memory
6669 +management
3260 6670 is initialized and running.
3261 -- AcpiReallocateRootTable: Can be called after memory management is running
6671 +- AcpiReallocateRootTable: Can be called after memory management is
6672 +running
3262 6673 to copy the root table to a dynamically allocated array, freeing up the
3263 6674 scratch memory specified in the call to AcpiInitializeTables.
3264 6675 - AcpiSubsystemInitialize: This existing interface is independent of the
3265 -Table Manager, and does not have to be called before the Table Manager can
6676 +Table Manager, and does not have to be called before the Table Manager
6677 +can
3266 6678 be used, it only must be called before the rest of ACPICA can be used.
3267 -- ACPI Tables: Some changes have been made to the names and structure of the
3268 -actbl.h and actbl1.h header files and may require changes to existing code.
3269 -For example, bitfields have been completely removed because of their lack of
6679 +- ACPI Tables: Some changes have been made to the names and structure of
6680 +the
6681 +actbl.h and actbl1.h header files and may require changes to existing
6682 +code.
6683 +For example, bitfields have been completely removed because of their lack
6684 +of
3270 6685 portability across C compilers.
3271 6686 - Update interfaces to the Global Lock acquire/release macros if local
3272 6687 versions are used. (see acwin.h)
3273 6688
3274 6689 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
3275 6690
3276 6691 New files: tbfind.c
3277 6692
3278 6693 Example Code and Data Size: These are the sizes for the OS-independent
3279 6694 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3280 -debug version of the code includes the debug output trace mechanism and has
6695 +debug version of the code includes the debug output trace mechanism and
6696 +has
3281 6697 a much larger code and data size.
3282 6698
3283 6699 Previous Release:
3284 6700 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
3285 6701 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
3286 6702 Current Release:
3287 6703 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
3288 6704 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
3289 6705
3290 6706
3291 6707 2) iASL Compiler/Disassembler and Tools:
↓ open down ↓ |
1 lines elided |
↑ open up ↑ |
3292 6708
3293 6709 No changes for this release.
3294 6710
3295 6711 ----------------------------------------
3296 6712 21 July 2006. Summary of changes for version 20060721:
3297 6713
3298 6714 1) ACPI CA Core Subsystem:
3299 6715
3300 6716 The full source code for the ASL test suite used to validate the iASL
3301 6717 compiler and the ACPICA core subsystem is being released with the ACPICA
3302 -source for the first time. The source is contained in a separate package and
3303 -consists of over 1100 files that exercise all ASL/AML operators. The package
3304 -should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor
6718 +source for the first time. The source is contained in a separate package
6719 +and
6720 +consists of over 1100 files that exercise all ASL/AML operators. The
6721 +package
6722 +should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
6723 +Fiodor
3305 6724 Suietov)
3306 6725
3307 6726 Completed a new design and implementation for support of the ACPI Global
3308 6727 Lock. On the OS side, the global lock is now treated as a standard AML
3309 6728 mutex. Previously, multiple OS threads could "acquire" the global lock
3310 -simultaneously. However, this could cause the BIOS to be starved out of the
6729 +simultaneously. However, this could cause the BIOS to be starved out of
6730 +the
3311 6731 lock - especially in cases such as the Embedded Controller driver where
3312 6732 there is a tight coupling between the OS and the BIOS.
3313 6733
3314 6734 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
3315 6735 The Global Lock interrupt handler no longer queues the execution of a
3316 -separate thread to signal the global lock semaphore. Instead, the semaphore
6736 +separate thread to signal the global lock semaphore. Instead, the
6737 +semaphore
3317 6738 is signaled directly from the interrupt handler.
3318 6739
3319 6740 Implemented support within the AML interpreter for package objects that
3320 -contain a larger AML length (package list length) than the package element
6741 +contain a larger AML length (package list length) than the package
6742 +element
3321 6743 count. In this case, the length of the package is truncated to match the
3322 -package element count. Some BIOS code apparently modifies the package length
3323 -on the fly, and this change supports this behavior. Provides compatibility
6744 +package element count. Some BIOS code apparently modifies the package
6745 +length
6746 +on the fly, and this change supports this behavior. Provides
6747 +compatibility
3324 6748 with the MS AML interpreter. (With assistance from Fiodor Suietov)
3325 6749
3326 -Implemented a temporary fix for the BankValue parameter of a Bank Field to
6750 +Implemented a temporary fix for the BankValue parameter of a Bank Field
6751 +to
3327 6752 support all constant values, now including the Zero and One opcodes.
3328 -Evaluation of this parameter must eventually be converted to a full TermArg
3329 -evaluation. A not-implemented error is now returned (temporarily) for non-
6753 +Evaluation of this parameter must eventually be converted to a full
6754 +TermArg
6755 +evaluation. A not-implemented error is now returned (temporarily) for
6756 +non-
3330 6757 constant values for this parameter.
3331 6758
3332 6759 Fixed problem reports (Fiodor Suietov) integrated:
3333 -- Fix for premature object deletion after CopyObject on Operation Region (BZ
6760 +- Fix for premature object deletion after CopyObject on Operation Region
6761 +(BZ
3334 6762 350)
3335 6763
3336 6764 Example Code and Data Size: These are the sizes for the OS-independent
3337 6765 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3338 -debug version of the code includes the debug output trace mechanism and has
6766 +debug version of the code includes the debug output trace mechanism and
6767 +has
3339 6768 a much larger code and data size.
3340 6769
3341 6770 Previous Release:
3342 6771 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
3343 6772 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
3344 6773 Current Release:
3345 6774 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
3346 6775 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
3347 6776
3348 6777
3349 6778 2) iASL Compiler/Disassembler and Tools:
3350 6779
3351 6780 No changes for this release.
3352 6781
3353 6782 ----------------------------------------
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
3354 6783 07 July 2006. Summary of changes for version 20060707:
3355 6784
3356 6785 1) ACPI CA Core Subsystem:
3357 6786
3358 6787 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
3359 6788 that do not allow the initialization of address pointers within packed
3360 6789 structures - even though the hardware itself may support misaligned
3361 6790 transfers. Some of the debug data structures are packed by default to
3362 6791 minimize size.
3363 6792
3364 -Added an error message for the case where AcpiOsGetThreadId() returns zero.
6793 +Added an error message for the case where AcpiOsGetThreadId() returns
6794 +zero.
3365 6795 A non-zero value is required by the core ACPICA code to ensure the proper
3366 6796 operation of AML mutexes and recursive control methods.
3367 6797
3368 6798 The DSDT is now the only ACPI table that determines whether the AML
3369 -interpreter is in 32-bit or 64-bit mode. Not really a functional change, but
3370 -the hooks for per-table 32/64 switching have been removed from the code. A
6799 +interpreter is in 32-bit or 64-bit mode. Not really a functional change,
6800 +but
6801 +the hooks for per-table 32/64 switching have been removed from the code.
6802 +A
3371 6803 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
3372 6804
3373 6805 Fixed a possible leak of an OwnerID in the error path of
3374 6806 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
3375 -deletion to a single place in AcpiTbUninstallTable to correct possible leaks
6807 +deletion to a single place in AcpiTbUninstallTable to correct possible
6808 +leaks
3376 6809 when using the AcpiTbDeleteTablesByType interface (with assistance from
3377 6810 Lance Ortiz.)
3378 6811
3379 6812 Fixed a problem with Serialized control methods where the semaphore
3380 6813 associated with the method could be over-signaled after multiple method
3381 6814 invocations.
3382 6815
3383 -Fixed two issues with the locking of the internal namespace data structure.
6816 +Fixed two issues with the locking of the internal namespace data
6817 +structure.
3384 6818 Both the Unload() operator and AcpiUnloadTable interface now lock the
3385 6819 namespace during the namespace deletion associated with the table unload
3386 6820 (with assistance from Linn Crosetto.)
3387 6821
3388 6822 Fixed problem reports (Valery Podrezov) integrated:
3389 6823 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
3390 6824
3391 6825 Fixed problem reports (Fiodor Suietov) integrated:
3392 6826 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
3393 6827 - On Address Space handler deletion, needless deactivation call (BZ 374)
3394 -- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
3395 -- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone
6828 +- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
6829 +375)
6830 +- Possible memory leak, Notify sub-objects of Processor, Power,
6831 +ThermalZone
3396 6832 (BZ 376)
3397 6833 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
3398 6834 - Minimum Length of RSDT should be validated (BZ 379)
3399 6835 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
3400 6836 Handler (BZ (380)
3401 -- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded
6837 +- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
6838 +loaded
3402 6839 (BZ 381)
3403 6840
3404 6841 Example Code and Data Size: These are the sizes for the OS-independent
3405 6842 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3406 -debug version of the code includes the debug output trace mechanism and has
6843 +debug version of the code includes the debug output trace mechanism and
6844 +has
3407 6845 a much larger code and data size.
3408 6846
3409 6847 Previous Release:
3410 6848 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
3411 6849 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
3412 6850 Current Release:
3413 6851 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
3414 6852 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
3415 6853
3416 6854
3417 6855 2) iASL Compiler/Disassembler and Tools:
3418 6856
3419 6857 Fixed problem reports:
3420 6858 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
3421 6859 436)
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
3422 6860
3423 6861 ----------------------------------------
3424 6862 23 June 2006. Summary of changes for version 20060623:
3425 6863
3426 6864 1) ACPI CA Core Subsystem:
3427 6865
3428 6866 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
3429 6867 allows the type to be customized to the host OS for improved efficiency
3430 6868 (since a spinlock is usually a very small object.)
3431 6869
3432 -Implemented support for "ignored" bits in the ACPI registers. According to
6870 +Implemented support for "ignored" bits in the ACPI registers. According
6871 +to
3433 6872 the ACPI specification, these bits should be preserved when writing the
3434 -registers via a read/modify/write cycle. There are 3 bits preserved in this
6873 +registers via a read/modify/write cycle. There are 3 bits preserved in
6874 +this
3435 6875 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
3436 6876
3437 -Implemented the initial deployment of new OSL mutex interfaces. Since some
6877 +Implemented the initial deployment of new OSL mutex interfaces. Since
6878 +some
3438 6879 host operating systems have separate mutex and semaphore objects, this
3439 6880 feature was requested. The base code now uses mutexes (and the new mutex
3440 6881 interfaces) wherever a binary semaphore was used previously. However, for
3441 -the current release, the mutex interfaces are defined as macros to map them
3442 -to the existing semaphore interfaces. Therefore, no OSL changes are required
6882 +the current release, the mutex interfaces are defined as macros to map
6883 +them
6884 +to the existing semaphore interfaces. Therefore, no OSL changes are
6885 +required
3443 6886 at this time. (See acpiosxf.h)
3444 6887
3445 6888 Fixed several problems with the support for the control method SyncLevel
3446 -parameter. The SyncLevel now works according to the ACPI specification and
3447 -in concert with the Mutex SyncLevel parameter, since the current SyncLevel
3448 -is a property of the executing thread. Mutual exclusion for control methods
6889 +parameter. The SyncLevel now works according to the ACPI specification
6890 +and
6891 +in concert with the Mutex SyncLevel parameter, since the current
6892 +SyncLevel
6893 +is a property of the executing thread. Mutual exclusion for control
6894 +methods
3449 6895 is now implemented with a mutex instead of a semaphore.
3450 6896
3451 6897 Fixed three instances of the use of the C shift operator in the bitfield
3452 -support code (exfldio.c) to avoid the use of a shift value larger than the
3453 -target data width. The behavior of C compilers is undefined in this case and
3454 -can cause unpredictable results, and therefore the case must be detected and
6898 +support code (exfldio.c) to avoid the use of a shift value larger than
6899 +the
6900 +target data width. The behavior of C compilers is undefined in this case
6901 +and
6902 +can cause unpredictable results, and therefore the case must be detected
6903 +and
3455 6904 avoided. (Fiodor Suietov)
3456 6905
3457 6906 Added an info message whenever an SSDT or OEM table is loaded dynamically
3458 -via the Load() or LoadTable() ASL operators. This should improve debugging
3459 -capability since it will show exactly what tables have been loaded (beyond
6907 +via the Load() or LoadTable() ASL operators. This should improve
6908 +debugging
6909 +capability since it will show exactly what tables have been loaded
6910 +(beyond
3460 6911 the tables present in the RSDT/XSDT.)
3461 6912
3462 6913 Example Code and Data Size: These are the sizes for the OS-independent
3463 6914 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3464 -debug version of the code includes the debug output trace mechanism and has
6915 +debug version of the code includes the debug output trace mechanism and
6916 +has
3465 6917 a much larger code and data size.
3466 6918
3467 6919 Previous Release:
3468 6920 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
3469 6921 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
3470 6922 Current Release:
3471 6923 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
3472 6924 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
3473 6925
3474 6926
3475 6927 2) iASL Compiler/Disassembler and Tools:
3476 6928
3477 6929 No changes for this release.
3478 6930
3479 6931 ----------------------------------------
3480 6932 08 June 2006. Summary of changes for version 20060608:
3481 6933
3482 6934 1) ACPI CA Core Subsystem:
3483 6935
3484 -Converted the locking mutex used for the ACPI hardware to a spinlock. This
6936 +Converted the locking mutex used for the ACPI hardware to a spinlock.
6937 +This
3485 6938 change should eliminate all problems caused by attempting to acquire a
3486 6939 semaphore at interrupt level, and it means that all ACPICA external
3487 -interfaces that directly access the ACPI hardware can be safely called from
3488 -interrupt level. OSL code that implements the semaphore interfaces should be
6940 +interfaces that directly access the ACPI hardware can be safely called
6941 +from
6942 +interrupt level. OSL code that implements the semaphore interfaces should
6943 +be
3489 6944 able to eliminate any workarounds for being called at interrupt level.
3490 6945
3491 6946 Fixed a regression introduced in 20060526 where the ACPI device
3492 -initialization could be prematurely aborted with an AE_NOT_FOUND if a device
6947 +initialization could be prematurely aborted with an AE_NOT_FOUND if a
6948 +device
3493 6949 did not have an optional _INI method.
3494 6950
3495 6951 Fixed an IndexField issue where a write to the Data Register should be
3496 -limited in size to the AccessSize (width) of the IndexField itself. (BZ 433,
6952 +limited in size to the AccessSize (width) of the IndexField itself. (BZ
6953 +433,
3497 6954 Fiodor Suietov)
3498 6955
3499 6956 Fixed problem reports (Valery Podrezov) integrated:
3500 6957 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
3501 6958
3502 6959 Fixed problem reports (Fiodor Suietov) integrated:
3503 6960 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
3504 6961
3505 6962 Removed four global mutexes that were obsolete and were no longer being
3506 6963 used.
3507 6964
3508 6965 Example Code and Data Size: These are the sizes for the OS-independent
3509 6966 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3510 -debug version of the code includes the debug output trace mechanism and has
6967 +debug version of the code includes the debug output trace mechanism and
6968 +has
3511 6969 a much larger code and data size.
3512 6970
3513 6971 Previous Release:
3514 6972 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
3515 6973 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
3516 6974 Current Release:
3517 6975 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
3518 6976 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
3519 6977
3520 6978
3521 6979 2) iASL Compiler/Disassembler and Tools:
3522 6980
3523 6981 Fixed a fault when using -g option (get tables from registry) on Windows
3524 6982 machines.
3525 6983
3526 6984 Fixed problem reports integrated:
3527 6985 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
↓ open down ↓ |
7 lines elided |
↑ open up ↑ |
3528 6986 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
3529 6987 Suietov)
3530 6988 - Global table revision override (-r) is ignored (BZ 413)
3531 6989
3532 6990 ----------------------------------------
3533 6991 26 May 2006. Summary of changes for version 20060526:
3534 6992
3535 6993 1) ACPI CA Core Subsystem:
3536 6994
3537 6995 Restructured, flattened, and simplified the internal interfaces for
3538 -namespace object evaluation - resulting in smaller code, less CPU stack use,
6996 +namespace object evaluation - resulting in smaller code, less CPU stack
6997 +use,
3539 6998 and fewer interfaces. (With assistance from Mikhail Kouzmich)
3540 6999
3541 -Fixed a problem with the CopyObject operator where the first parameter was
3542 -not typed correctly for the parser, interpreter, compiler, and disassembler.
7000 +Fixed a problem with the CopyObject operator where the first parameter
7001 +was
7002 +not typed correctly for the parser, interpreter, compiler, and
7003 +disassembler.
3543 7004 Caused various errors and unexpected behavior.
3544 7005
3545 7006 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
3546 7007 produced incorrect results with some C compilers. Since the behavior of C
3547 7008 compilers when the shift value is larger than the datatype width is
3548 -apparently not well defined, the interpreter now detects this condition and
7009 +apparently not well defined, the interpreter now detects this condition
7010 +and
3549 7011 simply returns zero as expected in all such cases. (BZ 395)
3550 7012
3551 7013 Fixed problem reports (Valery Podrezov) integrated:
3552 7014 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
3553 7015 - Allow interpreter to handle nested method declarations (BZ 5361)
3554 7016
3555 7017 Fixed problem reports (Fiodor Suietov) integrated:
3556 -- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
3557 -- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
7018 +- AcpiTerminate doesn't free debug memory allocation list objects (BZ
7019 +355)
7020 +- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
7021 +356)
3558 7022 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
3559 7023 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
3560 7024 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
3561 7025 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
3562 7026 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
3563 7027 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
3564 -- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
7028 +- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
7029 +365)
3565 7030 - Status of the Global Initialization Handler call not used (BZ 366)
3566 7031 - Incorrect object parameter to Global Initialization Handler (BZ 367)
3567 7032
3568 7033 Example Code and Data Size: These are the sizes for the OS-independent
3569 7034 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3570 -debug version of the code includes the debug output trace mechanism and has
7035 +debug version of the code includes the debug output trace mechanism and
7036 +has
3571 7037 a much larger code and data size.
3572 7038
3573 7039 Previous Release:
3574 7040 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
3575 7041 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
3576 7042 Current Release:
3577 7043 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
3578 7044 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
3579 7045
3580 7046
3581 7047 2) iASL Compiler/Disassembler and Tools:
3582 7048
3583 7049 Modified the parser to allow the names IO, DMA, and IRQ to be used as
3584 7050 namespace identifiers with no collision with existing resource descriptor
3585 7051 macro names. This provides compatibility with other ASL compilers and is
3586 -most useful for disassembly/recompilation of existing tables without parse
7052 +most useful for disassembly/recompilation of existing tables without
7053 +parse
3587 7054 errors. (With assistance from Thomas Renninger)
3588 7055
3589 7056 Disassembler: fixed an incorrect disassembly problem with the
3590 7057 DataTableRegion and CopyObject operators. Fixed a possible fault during
3591 7058 disassembly of some Alias operators.
3592 7059
3593 7060 ----------------------------------------
3594 7061 12 May 2006. Summary of changes for version 20060512:
3595 7062
3596 7063 1) ACPI CA Core Subsystem:
3597 7064
3598 7065 Replaced the AcpiOsQueueForExecution interface with a new interface named
3599 -AcpiOsExecute. The major difference is that the new interface does not have
3600 -a Priority parameter, this appeared to be useless and has been replaced by a
7066 +AcpiOsExecute. The major difference is that the new interface does not
7067 +have
7068 +a Priority parameter, this appeared to be useless and has been replaced
7069 +by
7070 +a
3601 7071 Type parameter. The Type tells the host what type of execution is being
3602 7072 requested, such as global lock handler, notify handler, GPE handler, etc.
3603 -This allows the host to queue and execute the request as appropriate for the
3604 -request type, possibly using different work queues and different priorities
7073 +This allows the host to queue and execute the request as appropriate for
7074 +the
7075 +request type, possibly using different work queues and different
7076 +priorities
3605 7077 for the various request types. This enables fixes for multithreading
3606 -deadlock problems such as BZ #5534, and will require changes to all existing
7078 +deadlock problems such as BZ #5534, and will require changes to all
7079 +existing
3607 7080 OS interface layers. (Alexey Starikovskiy and Bob Moore)
3608 7081
3609 -Fixed a possible memory leak associated with the support for the so-called
7082 +Fixed a possible memory leak associated with the support for the so-
7083 +called
3610 7084 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
3611 7085 Suietov)
3612 7086
3613 7087 Fixed a problem with the Load() operator where a table load from an
3614 -operation region could overwrite an internal table buffer by up to 7 bytes
3615 -and cause alignment faults on IPF systems. (With assistance from Luming Yu)
7088 +operation region could overwrite an internal table buffer by up to 7
7089 +bytes
7090 +and cause alignment faults on IPF systems. (With assistance from Luming
7091 +Yu)
3616 7092
3617 7093 Example Code and Data Size: These are the sizes for the OS-independent
3618 7094 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3619 -debug version of the code includes the debug output trace mechanism and has
7095 +debug version of the code includes the debug output trace mechanism and
7096 +has
3620 7097 a much larger code and data size.
3621 7098
3622 7099 Previous Release:
3623 7100 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
3624 7101 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
3625 7102 Current Release:
3626 7103 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
3627 7104 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
3628 7105
3629 7106
3630 7107
3631 7108 2) iASL Compiler/Disassembler and Tools:
3632 7109
3633 -Disassembler: Implemented support to cross reference the internal namespace
3634 -and automatically generate ASL External() statements for symbols not defined
7110 +Disassembler: Implemented support to cross reference the internal
7111 +namespace
7112 +and automatically generate ASL External() statements for symbols not
7113 +defined
3635 7114 within the current table being disassembled. This will simplify the
3636 -disassembly and recompilation of interdependent tables such as SSDTs since
7115 +disassembly and recompilation of interdependent tables such as SSDTs
7116 +since
3637 7117 these statements will no longer have to be added manually.
3638 7118
3639 7119 Disassembler: Implemented experimental support to automatically detect
3640 -invocations of external control methods and generate appropriate External()
3641 -statements. This is problematic because the AML cannot be correctly parsed
3642 -until the number of arguments for each control method is known. Currently,
7120 +invocations of external control methods and generate appropriate
7121 +External()
7122 +statements. This is problematic because the AML cannot be correctly
7123 +parsed
7124 +until the number of arguments for each control method is known.
7125 +Currently,
3643 7126 standalone method invocations and invocations as the source operand of a
3644 7127 Store() statement are supported.
3645 7128
3646 7129 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
3647 7130 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
3648 7131 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
3649 7132 more readable and likely closer to the original ASL source.
3650 7133
3651 7134 ----------------------------------------
3652 7135 21 April 2006. Summary of changes for version 20060421:
3653 7136
3654 7137 1) ACPI CA Core Subsystem:
3655 7138
3656 7139 Removed a device initialization optimization introduced in 20051216 where
3657 7140 the _STA method was not run unless an _INI was also present for the same
3658 -device. This optimization could cause problems because it could allow _INI
7141 +device. This optimization could cause problems because it could allow
7142 +_INI
3659 7143 methods to be run within a not-present device subtree. (If a not-present
3660 -device had no _INI, _STA would not be run, the not-present status would not
7144 +device had no _INI, _STA would not be run, the not-present status would
7145 +not
3661 7146 be discovered, and the children of the device would be incorrectly
3662 7147 traversed.)
3663 7148
3664 7149 Implemented a new _STA optimization where namespace subtrees that do not
3665 7150 contain _INI are identified and ignored during device initialization.
3666 7151 Selectively running _STA can significantly improve boot time on large
3667 7152 machines (with assistance from Len Brown.)
3668 7153
3669 7154 Implemented support for the device initialization case where the returned
3670 -_STA flags indicate a device not-present but functioning. In this case, _INI
7155 +_STA flags indicate a device not-present but functioning. In this case,
7156 +_INI
3671 7157 is not run, but the device children are examined for presence, as per the
3672 7158 ACPI specification.
3673 7159
3674 7160 Implemented an additional change to the IndexField support in order to
3675 7161 conform to MS behavior. The value written to the Index Register is not
3676 7162 simply a byte offset, it is a byte offset in units of the access width of
3677 7163 the parent Index Field. (Fiodor Suietov)
3678 7164
3679 7165 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
3680 7166 interface is called during the creation of all AML operation regions, and
3681 7167 allows the host OS to exert control over what addresses it will allow the
3682 7168 AML code to access. Operation Regions whose addresses are disallowed will
3683 -cause a runtime exception when they are actually accessed (will not affect
7169 +cause a runtime exception when they are actually accessed (will not
7170 +affect
3684 7171 or abort table loading.) See oswinxf or osunixxf for an example
3685 7172 implementation.
3686 7173
3687 7174 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
3688 7175 interface allows the host OS to match the various "optional"
3689 7176 interface/behavior strings for the _OSI predefined control method as
3690 7177 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
3691 7178 for an example implementation.
3692 7179
3693 -Restructured and corrected various problems in the exception handling code
7180 +Restructured and corrected various problems in the exception handling
7181 +code
3694 7182 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
3695 7183 (with assistance from Takayoshi Kochi.)
3696 7184
3697 -Modified the Linux source converter to ignore quoted string literals while
3698 -converting identifiers from mixed to lower case. This will correct problems
7185 +Modified the Linux source converter to ignore quoted string literals
7186 +while
7187 +converting identifiers from mixed to lower case. This will correct
7188 +problems
3699 7189 with the disassembler and other areas where such strings must not be
3700 7190 modified.
3701 7191
3702 7192 The ACPI_FUNCTION_* macros no longer require quotes around the function
3703 -name. This allows the Linux source converter to convert the names, now that
7193 +name. This allows the Linux source converter to convert the names, now
7194 +that
3704 7195 the converter ignores quoted strings.
3705 7196
3706 7197 Example Code and Data Size: These are the sizes for the OS-independent
3707 7198 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3708 -debug version of the code includes the debug output trace mechanism and has
7199 +debug version of the code includes the debug output trace mechanism and
7200 +has
3709 7201 a much larger code and data size.
3710 7202
3711 7203 Previous Release:
3712 7204
3713 7205 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
3714 7206 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
3715 7207 Current Release:
3716 7208 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
3717 7209 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
3718 7210
3719 7211
3720 7212 2) iASL Compiler/Disassembler and Tools:
3721 7213
3722 -Implemented 3 new warnings for iASL, and implemented multiple warning levels
7214 +Implemented 3 new warnings for iASL, and implemented multiple warning
7215 +levels
3723 7216 (w2 flag).
3724 7217
3725 -1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not
7218 +1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
7219 +not
3726 7220 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
3727 7221 check for the possible timeout, a warning is issued.
3728 7222
3729 -2) Useless operators: If an ASL operator does not specify an optional target
7223 +2) Useless operators: If an ASL operator does not specify an optional
7224 +target
3730 7225 operand and it also does not use the function return value from the
3731 -operator, a warning is issued since the operator effectively does nothing.
7226 +operator, a warning is issued since the operator effectively does
7227 +nothing.
3732 7228
3733 7229 3) Unreferenced objects: If a namespace object is created, but never
3734 -referenced, a warning is issued. This is a warning level 2 since there are
3735 -cases where this is ok, such as when a secondary table is loaded that uses
3736 -the unreferenced objects. Even so, care is taken to only flag objects that
7230 +referenced, a warning is issued. This is a warning level 2 since there
7231 +are
7232 +cases where this is ok, such as when a secondary table is loaded that
7233 +uses
7234 +the unreferenced objects. Even so, care is taken to only flag objects
7235 +that
3737 7236 don't look like they will ever be used. For example, the reserved methods
3738 7237 (starting with an underscore) are usually not referenced because it is
3739 7238 expected that the OS will invoke them.
3740 7239
3741 7240 ----------------------------------------
3742 7241 31 March 2006. Summary of changes for version 20060331:
3743 7242
3744 7243 1) ACPI CA Core Subsystem:
3745 7244
3746 7245 Implemented header file support for the following additional ACPI tables:
3747 -ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support,
3748 -all current and known ACPI tables are now defined in the ACPICA headers and
7246 +ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
7247 +support,
7248 +all current and known ACPI tables are now defined in the ACPICA headers
7249 +and
3749 7250 are available for use by device drivers and other software.
3750 7251
3751 7252 Implemented support to allow tables that contain ACPI names with invalid
3752 7253 characters to be loaded. Previously, this would cause the table load to
3753 7254 fail, but since there are several known cases of such tables on existing
3754 -machines, this change was made to enable ACPI support for them. Also, this
7255 +machines, this change was made to enable ACPI support for them. Also,
7256 +this
3755 7257 matches the behavior of the Microsoft ACPI implementation.
3756 7258
3757 -Fixed a couple regressions introduced during the memory optimization in the
7259 +Fixed a couple regressions introduced during the memory optimization in
7260 +the
3758 7261 20060317 release. The namespace node definition required additional
3759 -reorganization and an internal datatype that had been changed to 8-bit was
7262 +reorganization and an internal datatype that had been changed to 8-bit
7263 +was
3760 7264 restored to 32-bit. (Valery Podrezov)
3761 7265
3762 7266 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
3763 7267 could be passed through to AcpiOsReleaseObject which is unexpected. Such
3764 7268 null pointers are now trapped and ignored, matching the behavior of the
3765 7269 previous implementation before the deployment of AcpiOsReleaseObject.
3766 7270 (Valery Podrezov, Fiodor Suietov)
3767 7271
3768 -Fixed a memory mapping leak during the deletion of a SystemMemory operation
7272 +Fixed a memory mapping leak during the deletion of a SystemMemory
7273 +operation
3769 7274 region where a cached memory mapping was not deleted. This became a
3770 -noticeable problem for operation regions that are defined within frequently
7275 +noticeable problem for operation regions that are defined within
7276 +frequently
3771 7277 used control methods. (Dana Meyers)
3772 7278
3773 7279 Reorganized the ACPI table header files into two main files: one for the
3774 -ACPI tables consumed by the ACPICA core, and another for the miscellaneous
3775 -ACPI tables that are consumed by the drivers and other software. The various
7280 +ACPI tables consumed by the ACPICA core, and another for the
7281 +miscellaneous
7282 +ACPI tables that are consumed by the drivers and other software. The
7283 +various
3776 7284 FADT definitions were merged into one common section and three different
3777 7285 tables (ACPI 1.0, 1.0+, and 2.0)
3778 7286
3779 7287 Example Code and Data Size: These are the sizes for the OS-independent
3780 7288 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3781 -debug version of the code includes the debug output trace mechanism and has
7289 +debug version of the code includes the debug output trace mechanism and
7290 +has
3782 7291 a much larger code and data size.
3783 7292
3784 7293 Previous Release:
3785 7294 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
3786 7295 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
3787 7296 Current Release:
3788 7297 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
3789 7298 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
3790 7299
3791 7300
3792 7301 2) iASL Compiler/Disassembler and Tools:
3793 7302
3794 7303 Disassembler: Implemented support to decode and format all non-AML ACPI
3795 7304 tables (tables other than DSDTs and SSDTs.) This includes the new tables
3796 -added to the ACPICA headers, therefore all current and known ACPI tables are
7305 +added to the ACPICA headers, therefore all current and known ACPI tables
7306 +are
3797 7307 supported.
3798 7308
3799 7309 Disassembler: The change to allow ACPI names with invalid characters also
3800 -enables the disassembly of such tables. Invalid characters within names are
7310 +enables the disassembly of such tables. Invalid characters within names
7311 +are
3801 7312 changed to '*' to make the name printable; the iASL compiler will still
3802 7313 generate an error for such names, however, since this is an invalid ACPI
3803 7314 character.
3804 7315
3805 -Implemented an option for AcpiXtract (-a) to extract all tables found in the
7316 +Implemented an option for AcpiXtract (-a) to extract all tables found in
7317 +the
3806 7318 input file. The default invocation extracts only the DSDTs and SSDTs.
3807 7319
3808 7320 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
3809 7321 makefile for the AcpiXtract utility.
3810 7322
3811 7323 ----------------------------------------
3812 7324 17 March 2006. Summary of changes for version 20060317:
3813 7325
3814 7326 1) ACPI CA Core Subsystem:
3815 7327
3816 7328 Implemented the use of a cache object for all internal namespace nodes.
3817 7329 Since there are about 1000 static nodes in a typical system, this will
3818 -decrease memory use for cache implementations that minimize per-allocation
7330 +decrease memory use for cache implementations that minimize per-
7331 +allocation
3819 7332 overhead (such as a slab allocator.)
3820 7333
3821 -Removed the reference count mechanism for internal namespace nodes, since it
7334 +Removed the reference count mechanism for internal namespace nodes, since
7335 +it
3822 7336 was deemed unnecessary. This reduces the size of each namespace node by
3823 -about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case,
7337 +about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
7338 +case,
3824 7339 and 32 bytes for the 64-bit case.
3825 7340
3826 -Optimized several internal data structures to reduce object size on 64-bit
7341 +Optimized several internal data structures to reduce object size on 64-
7342 +bit
3827 7343 platforms by packing data within the 64-bit alignment. This includes the
3828 7344 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
3829 7345 instances corresponding to the namespace objects.
3830 7346
3831 -Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1"
7347 +Added two new strings for the predefined _OSI method: "Windows 2001.1
7348 +SP1"
3832 7349 and "Windows 2006".
3833 7350
3834 7351 Split the allocation tracking mechanism out to a separate file, from
3835 7352 utalloc.c to uttrack.c. This mechanism appears to be only useful for
3836 7353 application-level code. Kernels may wish to not include uttrack.c in
3837 7354 distributions.
3838 7355
3839 -Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated
7356 +Removed all remnants of the obsolete ACPI_REPORT_* macros and the
7357 +associated
3840 7358 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
3841 7359 macros.)
3842 7360
3843 -Code and Data Size: These are the sizes for the acpica.lib produced by the
3844 -Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI
3845 -driver or OSPM code. The debug version of the code includes the debug output
7361 +Code and Data Size: These are the sizes for the acpica.lib produced by
7362 +the
7363 +Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7364 +ACPI
7365 +driver or OSPM code. The debug version of the code includes the debug
7366 +output
3846 7367 trace mechanism and has a much larger code and data size. Note that these
3847 7368 values will vary depending on the efficiency of the compiler and the
3848 7369 compiler options used during generation.
3849 7370
3850 7371 Previous Release:
3851 7372 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
3852 7373 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
3853 7374 Current Release:
3854 7375 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
3855 7376 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
3856 7377
3857 7378
3858 7379 2) iASL Compiler/Disassembler and Tools:
3859 7380
3860 -Implemented an ANSI C version of the acpixtract utility. This version will
7381 +Implemented an ANSI C version of the acpixtract utility. This version
7382 +will
3861 7383 automatically extract the DSDT and all SSDTs from the input acpidump text
3862 7384 file and dump the binary output to separate files. It can also display a
3863 7385 summary of the input file including the headers for each table found and
3864 7386 will extract any single ACPI table, with any signature. (See
3865 7387 source/tools/acpixtract)
3866 7388
3867 7389 ----------------------------------------
3868 7390 10 March 2006. Summary of changes for version 20060310:
3869 7391
3870 7392 1) ACPI CA Core Subsystem:
3871 7393
3872 7394 Tagged all external interfaces to the subsystem with the new
3873 -ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist
7395 +ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
7396 +assist
3874 7397 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
3875 7398 macro. The default definition is NULL.
3876 7399
3877 -Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId.
7400 +Added the ACPI_THREAD_ID type for the return value from
7401 +AcpiOsGetThreadId.
3878 7402 This allows the host to define this as necessary to simplify kernel
3879 7403 integration. The default definition is ACPI_NATIVE_UINT.
3880 7404
3881 -Fixed two interpreter problems related to error processing, the deletion of
7405 +Fixed two interpreter problems related to error processing, the deletion
7406 +of
3882 7407 objects, and placing invalid pointers onto the internal operator result
3883 7408 stack. BZ 6028, 6151 (Valery Podrezov)
3884 7409
3885 -Increased the reference count threshold where a warning is emitted for large
3886 -reference counts in order to eliminate unnecessary warnings on systems with
7410 +Increased the reference count threshold where a warning is emitted for
7411 +large
7412 +reference counts in order to eliminate unnecessary warnings on systems
7413 +with
3887 7414 large namespaces (especially 64-bit.) Increased the value from 0x400 to
3888 7415 0x800.
3889 7416
3890 -Due to universal disagreement as to the meaning of the 'c' in the calloc()
7417 +Due to universal disagreement as to the meaning of the 'c' in the
7418 +calloc()
3891 7419 function, the ACPI_MEM_CALLOCATE macro has been renamed to
3892 7420 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
3893 7421 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
3894 7422 ACPI_FREE.
3895 7423
3896 -Code and Data Size: These are the sizes for the acpica.lib produced by the
3897 -Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI
3898 -driver or OSPM code. The debug version of the code includes the debug output
7424 +Code and Data Size: These are the sizes for the acpica.lib produced by
7425 +the
7426 +Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7427 +ACPI
7428 +driver or OSPM code. The debug version of the code includes the debug
7429 +output
3899 7430 trace mechanism and has a much larger code and data size. Note that these
3900 7431 values will vary depending on the efficiency of the compiler and the
3901 7432 compiler options used during generation.
3902 7433
3903 7434 Previous Release:
3904 7435 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
3905 7436 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
3906 7437 Current Release:
3907 7438 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
3908 7439 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
3909 7440
3910 7441
3911 7442 2) iASL Compiler/Disassembler:
3912 7443
3913 7444 Disassembler: implemented support for symbolic resource descriptor
3914 -references. If a CreateXxxxField operator references a fixed offset within a
3915 -resource descriptor, a name is assigned to the descriptor and the offset is
7445 +references. If a CreateXxxxField operator references a fixed offset
7446 +within
7447 +a
7448 +resource descriptor, a name is assigned to the descriptor and the offset
7449 +is
3916 7450 translated to the appropriate resource tag and pathname. The addition of
3917 7451 this support brings the disassembled code very close to the original ASL
3918 -source code and helps eliminate run-time errors when the disassembled code
7452 +source code and helps eliminate run-time errors when the disassembled
7453 +code
3919 7454 is modified (and recompiled) in such a way as to invalidate the original
3920 7455 fixed offsets.
3921 7456
3922 -Implemented support for a Descriptor Name as the last parameter to the ASL
7457 +Implemented support for a Descriptor Name as the last parameter to the
7458 +ASL
3923 7459 Register() macro. This parameter was inadvertently left out of the ACPI
3924 7460 specification, and will be added for ACPI 3.0b.
3925 7461
3926 7462 Fixed a problem where the use of the "_OSI" string (versus the full path
3927 7463 "\_OSI") caused an internal compiler error. ("No back ptr to op")
3928 7464
3929 -Fixed a problem with the error message that occurs when an invalid string is
3930 -used for a _HID object (such as one with an embedded asterisk: "*PNP010A".)
7465 +Fixed a problem with the error message that occurs when an invalid string
7466 +is
7467 +used for a _HID object (such as one with an embedded asterisk:
7468 +"*PNP010A".)
3931 7469 The correct message is now displayed.
3932 7470
3933 7471 ----------------------------------------
3934 7472 17 February 2006. Summary of changes for version 20060217:
3935 7473
3936 7474 1) ACPI CA Core Subsystem:
3937 7475
3938 -Implemented a change to the IndexField support to match the behavior of the
3939 -Microsoft AML interpreter. The value written to the Index register is now a
3940 -byte offset, no longer an index based upon the width of the Data register.
7476 +Implemented a change to the IndexField support to match the behavior of
7477 +the
7478 +Microsoft AML interpreter. The value written to the Index register is now
7479 +a
7480 +byte offset, no longer an index based upon the width of the Data
7481 +register.
3941 7482 This should fix IndexField problems seen on some machines where the Data
3942 7483 register is not exactly one byte wide. The ACPI specification will be
3943 7484 clarified on this point.
3944 7485
3945 7486 Fixed a problem where several resource descriptor types could overrun the
3946 7487 internal descriptor buffer due to size miscalculation: VendorShort,
3947 7488 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
3948 7489 affect all platforms.
3949 7490
3950 -Fixed a problem where individual resource descriptors were misaligned within
7491 +Fixed a problem where individual resource descriptors were misaligned
7492 +within
3951 7493 the internal buffer, causing alignment faults on IA64 platforms.
3952 7494
3953 -Code and Data Size: These are the sizes for the acpica.lib produced by the
3954 -Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI
3955 -driver or OSPM code. The debug version of the code includes the debug output
7495 +Code and Data Size: These are the sizes for the acpica.lib produced by
7496 +the
7497 +Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7498 +ACPI
7499 +driver or OSPM code. The debug version of the code includes the debug
7500 +output
3956 7501 trace mechanism and has a much larger code and data size. Note that these
3957 7502 values will vary depending on the efficiency of the compiler and the
3958 7503 compiler options used during generation.
3959 7504
3960 7505 Previous Release:
3961 7506 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
3962 7507 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
3963 7508 Current Release:
3964 7509 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
3965 7510 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
3966 7511
3967 7512
3968 7513 2) iASL Compiler/Disassembler:
3969 7514
3970 7515 Implemented support for new reserved names: _WDG and _WED are Microsoft
3971 7516 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
3972 7517 defined method (Throttling Depth Limit.)
3973 7518
3974 7519 Fixed a problem where a zero-length VendorShort or VendorLong resource
3975 7520 descriptor was incorrectly emitted as a descriptor of length one.
↓ open down ↓ |
10 lines elided |
↑ open up ↑ |
3976 7521
3977 7522 ----------------------------------------
3978 7523 10 February 2006. Summary of changes for version 20060210:
3979 7524
3980 7525 1) ACPI CA Core Subsystem:
3981 7526
3982 7527 Removed a couple of extraneous ACPI_ERROR messages that appeared during
3983 7528 normal execution. These became apparent after the conversion from
3984 7529 ACPI_DEBUG_PRINT.
3985 7530
3986 -Fixed a problem where the CreateField operator could hang if the BitIndex or
7531 +Fixed a problem where the CreateField operator could hang if the BitIndex
7532 +or
3987 7533 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
3988 7534
3989 7535 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
3990 7536 failed with an exception. This also fixes a couple of related RefOf and
3991 7537 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
3992 7538
3993 -Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of
3994 -AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ
7539 +Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
7540 +of
7541 +AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
7542 +BZ
3995 7543 5480)
3996 7544
3997 -Implemented a memory cleanup at the end of the execution of each iteration
3998 -of an AML While() loop, preventing the accumulation of outstanding objects.
7545 +Implemented a memory cleanup at the end of the execution of each
7546 +iteration
7547 +of an AML While() loop, preventing the accumulation of outstanding
7548 +objects.
3999 7549 (Valery Podrezov, BZ 5427)
4000 7550
4001 -Eliminated a chunk of duplicate code in the object resolution code. (Valery
7551 +Eliminated a chunk of duplicate code in the object resolution code.
7552 +(Valery
4002 7553 Podrezov, BZ 5336)
4003 7554
4004 7555 Fixed several warnings during the 64-bit code generation.
4005 7556
4006 -The AcpiSrc source code conversion tool now inserts one line of whitespace
4007 -after an if() statement that is followed immediately by a comment, improving
7557 +The AcpiSrc source code conversion tool now inserts one line of
7558 +whitespace
7559 +after an if() statement that is followed immediately by a comment,
7560 +improving
4008 7561 readability of the Linux code.
4009 7562
4010 7563 Code and Data Size: The current and previous library sizes for the core
4011 7564 subsystem are shown below. These are the code and data sizes for the
4012 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4013 -values do not include any ACPI driver or OSPM code. The debug version of the
7565 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7566 +These
7567 +values do not include any ACPI driver or OSPM code. The debug version of
7568 +the
4014 7569 code includes the debug output trace mechanism and has a much larger code
4015 -and data size. Note that these values will vary depending on the efficiency
7570 +and data size. Note that these values will vary depending on the
7571 +efficiency
4016 7572 of the compiler and the compiler options used during generation.
4017 7573
4018 7574 Previous Release:
4019 7575 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
4020 7576 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
4021 7577 Current Release:
4022 7578 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
4023 7579 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
4024 7580
4025 7581
4026 7582 2) iASL Compiler/Disassembler:
4027 7583
4028 -Fixed a problem with the disassembly of a BankField operator with a complex
7584 +Fixed a problem with the disassembly of a BankField operator with a
7585 +complex
4029 7586 expression for the BankValue parameter.
4030 7587
4031 7588 ----------------------------------------
4032 7589 27 January 2006. Summary of changes for version 20060127:
4033 7590
4034 7591 1) ACPI CA Core Subsystem:
4035 7592
4036 -Implemented support in the Resource Manager to allow unresolved namestring
4037 -references within resource package objects for the _PRT method. This support
7593 +Implemented support in the Resource Manager to allow unresolved
7594 +namestring
7595 +references within resource package objects for the _PRT method. This
7596 +support
4038 7597 is in addition to the previously implemented unresolved reference support
4039 7598 within the AML parser. If the interpreter slack mode is enabled, these
4040 -unresolved references will be passed through to the caller as a NULL package
7599 +unresolved references will be passed through to the caller as a NULL
7600 +package
4041 7601 entry.
4042 7602
4043 7603 Implemented and deployed new macros and functions for error and warning
4044 7604 messages across the subsystem. These macros are simpler and generate less
4045 7605 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
4046 7606 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
4047 7607 macros remain defined to allow ACPI drivers time to migrate to the new
4048 7608 macros.
4049 7609
4050 -Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the
7610 +Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
7611 +the
4051 7612 Acquire/Release Lock OSL interfaces.
4052 7613
4053 7614 Fixed a problem where Alias ASL operators are sometimes not correctly
4054 7615 resolved, in both the interpreter and the iASL compiler.
4055 7616
4056 -Fixed several problems with the implementation of the ConcatenateResTemplate
7617 +Fixed several problems with the implementation of the
7618 +ConcatenateResTemplate
4057 7619 ASL operator. As per the ACPI specification, zero length buffers are now
4058 7620 treated as a single EndTag. One-length buffers always cause a fatal
4059 -exception. Non-zero length buffers that do not end with a full 2-byte EndTag
7621 +exception. Non-zero length buffers that do not end with a full 2-byte
7622 +EndTag
4060 7623 cause a fatal exception.
4061 7624
4062 7625 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
4063 7626 interface. (With assistance from Thomas Renninger)
4064 7627
4065 7628 Code and Data Size: The current and previous library sizes for the core
4066 7629 subsystem are shown below. These are the code and data sizes for the
4067 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4068 -values do not include any ACPI driver or OSPM code. The debug version of the
7630 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7631 +These
7632 +values do not include any ACPI driver or OSPM code. The debug version of
7633 +the
4069 7634 code includes the debug output trace mechanism and has a much larger code
4070 -and data size. Note that these values will vary depending on the efficiency
7635 +and data size. Note that these values will vary depending on the
7636 +efficiency
4071 7637 of the compiler and the compiler options used during generation.
4072 7638
4073 7639 Previous Release:
4074 7640 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
4075 7641 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
4076 7642 Current Release:
4077 7643 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
4078 7644 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
4079 7645
4080 7646
4081 7647 2) iASL Compiler/Disassembler:
4082 7648
4083 -Fixed an internal error that was generated for any forward references to ASL
7649 +Fixed an internal error that was generated for any forward references to
7650 +ASL
4084 7651 Alias objects.
4085 7652
4086 7653 ----------------------------------------
4087 7654 13 January 2006. Summary of changes for version 20060113:
4088 7655
4089 7656 1) ACPI CA Core Subsystem:
4090 7657
4091 7658 Added 2006 copyright to all module headers and signons. This affects
4092 7659 virtually every file in the ACPICA core subsystem, iASL compiler, and the
4093 7660 utilities.
4094 7661
4095 -Enhanced the ACPICA error reporting in order to simplify user migration to
7662 +Enhanced the ACPICA error reporting in order to simplify user migration
7663 +to
4096 7664 the non-debug version of ACPICA. Replaced all instances of the
4097 -ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug
7665 +ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
7666 +debug
4098 7667 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
4099 -respectively. This preserves all error and warning messages in the non-debug
7668 +respectively. This preserves all error and warning messages in the non-
7669 +debug
4100 7670 version of the ACPICA code (this has been referred to as the "debug lite"
4101 7671 option.) Over 200 cases were converted to create a total of over 380
4102 -error/warning messages across the ACPICA code. This increases the code and
4103 -data size of the default non-debug version of the code somewhat (about 13K),
7672 +error/warning messages across the ACPICA code. This increases the code
7673 +and
7674 +data size of the default non-debug version of the code somewhat (about
7675 +13K),
4104 7676 but all error/warning reporting may be disabled if desired (and code
4105 7677 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
4106 -configuration option. The size of the debug version of ACPICA remains about
7678 +configuration option. The size of the debug version of ACPICA remains
7679 +about
4107 7680 the same.
4108 7681
4109 7682 Fixed a memory leak within the AML Debugger "Set" command. One object was
4110 7683 not properly deleted for every successful invocation of the command.
4111 7684
4112 7685 Code and Data Size: The current and previous library sizes for the core
4113 7686 subsystem are shown below. These are the code and data sizes for the
4114 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4115 -values do not include any ACPI driver or OSPM code. The debug version of the
7687 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7688 +These
7689 +values do not include any ACPI driver or OSPM code. The debug version of
7690 +the
4116 7691 code includes the debug output trace mechanism and has a much larger code
4117 -and data size. Note that these values will vary depending on the efficiency
7692 +and data size. Note that these values will vary depending on the
7693 +efficiency
4118 7694 of the compiler and the compiler options used during generation.
4119 7695
4120 7696 Previous Release:
4121 7697 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
4122 7698 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
4123 7699 Current Release:
4124 7700 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
4125 7701 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
4126 7702
4127 7703
4128 7704 2) iASL Compiler/Disassembler:
4129 7705
4130 7706 The compiler now officially supports the ACPI 3.0a specification that was
4131 -released on December 30, 2005. (Specification is available at www.acpi.info)
7707 +released on December 30, 2005. (Specification is available at
7708 +www.acpi.info)
4132 7709
4133 7710 ----------------------------------------
4134 7711 16 December 2005. Summary of changes for version 20051216:
4135 7712
4136 7713 1) ACPI CA Core Subsystem:
4137 7714
4138 7715 Implemented optional support to allow unresolved names within ASL Package
4139 7716 objects. A null object is inserted in the package when a named reference
4140 7717 cannot be located in the current namespace. Enabled via the interpreter
4141 -slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines
7718 +slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
7719 +machines
4142 7720 that contain such code.
4143 7721
4144 -Implemented an optimization to the initialization sequence that can improve
4145 -boot time. During ACPI device initialization, the _STA method is now run if
4146 -and only if the _INI method exists. The _STA method is used to determine if
4147 -the device is present; An _INI can only be run if _STA returns present, but
7722 +Implemented an optimization to the initialization sequence that can
7723 +improve
7724 +boot time. During ACPI device initialization, the _STA method is now run
7725 +if
7726 +and only if the _INI method exists. The _STA method is used to determine
7727 +if
7728 +the device is present; An _INI can only be run if _STA returns present,
7729 +but
4148 7730 it is a waste of time to run the _STA method if the _INI does not exist.
4149 7731 (Prototype and assistance from Dong Wei)
4150 7732
4151 -Implemented use of the C99 uintptr_t for the pointer casting macros if it is
4152 -available in the current compiler. Otherwise, the default (void *) cast is
7733 +Implemented use of the C99 uintptr_t for the pointer casting macros if it
7734 +is
7735 +available in the current compiler. Otherwise, the default (void *) cast
7736 +is
4153 7737 used as before.
4154 7738
4155 7739 Fixed some possible memory leaks found within the execution path of the
4156 7740 Break, Continue, If, and CreateField operators. (Valery Podrezov)
4157 7741
4158 7742 Fixed a problem introduced in the 20051202 release where an exception is
4159 7743 generated during method execution if a control method attempts to declare
4160 7744 another method.
4161 7745
4162 7746 Moved resource descriptor string constants that are used by both the AML
4163 7747 disassembler and AML debugger to the common utilities directory so that
4164 7748 these components are independent.
4165 7749
4166 -Implemented support in the AcpiExec utility (-e switch) to globally ignore
7750 +Implemented support in the AcpiExec utility (-e switch) to globally
7751 +ignore
4167 7752 exceptions during control method execution (method is not aborted.)
4168 7753
4169 7754 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
4170 7755 generation.
4171 7756
4172 7757 Code and Data Size: The current and previous library sizes for the core
4173 7758 subsystem are shown below. These are the code and data sizes for the
4174 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4175 -values do not include any ACPI driver or OSPM code. The debug version of the
7759 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7760 +These
7761 +values do not include any ACPI driver or OSPM code. The debug version of
7762 +the
4176 7763 code includes the debug output trace mechanism and has a much larger code
4177 -and data size. Note that these values will vary depending on the efficiency
7764 +and data size. Note that these values will vary depending on the
7765 +efficiency
4178 7766 of the compiler and the compiler options used during generation.
4179 7767
4180 7768 Previous Release:
4181 7769 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
4182 7770 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
4183 7771 Current Release:
4184 7772 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
4185 7773 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
4186 7774
4187 7775
4188 7776 2) iASL Compiler/Disassembler:
4189 7777
4190 -Fixed a problem where a CPU stack overflow fault could occur if a recursive
7778 +Fixed a problem where a CPU stack overflow fault could occur if a
7779 +recursive
4191 7780 method call was made from within a Return statement.
4192 7781
4193 7782 ----------------------------------------
4194 7783 02 December 2005. Summary of changes for version 20051202:
4195 7784
4196 7785 1) ACPI CA Core Subsystem:
4197 7786
4198 7787 Modified the parsing of control methods to no longer create namespace
4199 7788 objects during the first pass of the parse. Objects are now created only
4200 -during the execute phase, at the moment the namespace creation operator is
4201 -encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This
7789 +during the execute phase, at the moment the namespace creation operator
7790 +is
7791 +encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
7792 +This
4202 7793 should eliminate ALREADY_EXISTS exceptions seen on some machines where
4203 -reentrant control methods are protected by an AML mutex. The mutex will now
4204 -correctly block multiple threads from attempting to create the same object
7794 +reentrant control methods are protected by an AML mutex. The mutex will
7795 +now
7796 +correctly block multiple threads from attempting to create the same
7797 +object
4205 7798 more than once.
4206 7799
4207 7800 Increased the number of available Owner Ids for namespace object tracking
4208 -from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on
4209 -some machines with a large number of ACPI tables (either static or dynamic).
7801 +from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
7802 +on
7803 +some machines with a large number of ACPI tables (either static or
7804 +dynamic).
4210 7805
4211 -Fixed a problem with the AcpiExec utility where a fault could occur when the
7806 +Fixed a problem with the AcpiExec utility where a fault could occur when
7807 +the
4212 7808 -b switch (batch mode) is used.
4213 7809
4214 7810 Enhanced the namespace dump routine to output the owner ID for each
4215 7811 namespace object.
4216 7812
4217 7813 Code and Data Size: The current and previous library sizes for the core
4218 7814 subsystem are shown below. These are the code and data sizes for the
4219 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4220 -values do not include any ACPI driver or OSPM code. The debug version of the
7815 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7816 +These
7817 +values do not include any ACPI driver or OSPM code. The debug version of
7818 +the
4221 7819 code includes the debug output trace mechanism and has a much larger code
4222 -and data size. Note that these values will vary depending on the efficiency
7820 +and data size. Note that these values will vary depending on the
7821 +efficiency
4223 7822 of the compiler and the compiler options used during generation.
4224 7823
4225 7824 Previous Release:
4226 7825 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
4227 7826 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
4228 7827 Current Release:
4229 7828 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
4230 7829 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
4231 7830
4232 7831
4233 7832 2) iASL Compiler/Disassembler:
4234 7833
4235 -Fixed a parse error during compilation of certain Switch/Case constructs. To
4236 -simplify the parse, the grammar now allows for multiple Default statements
7834 +Fixed a parse error during compilation of certain Switch/Case constructs.
7835 +To
7836 +simplify the parse, the grammar now allows for multiple Default
7837 +statements
4237 7838 and this error is now detected and flagged during the analysis phase.
4238 7839
4239 7840 Disassembler: The disassembly now includes the contents of the original
4240 7841 table header within a comment at the start of the file. This includes the
4241 7842 name and version of the original ASL compiler.
4242 7843
4243 7844 ----------------------------------------
4244 7845 17 November 2005. Summary of changes for version 20051117:
4245 7846
4246 7847 1) ACPI CA Core Subsystem:
4247 7848
4248 7849 Fixed a problem in the AML parser where the method thread count could be
4249 -decremented below zero if any errors occurred during the method parse phase.
4250 -This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines.
7850 +decremented below zero if any errors occurred during the method parse
7851 +phase.
7852 +This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
7853 +machines.
4251 7854 This also fixed a related regression with the mechanism that detects and
4252 7855 corrects methods that cannot properly handle reentrancy (related to the
4253 7856 deployment of the new OwnerId mechanism.)
4254 7857
4255 7858 Eliminated the pre-parsing of control methods (to detect errors) during
4256 -table load. Related to the problem above, this was causing unwind issues if
4257 -any errors occurred during the parse, and it seemed to be overkill. A table
7859 +table load. Related to the problem above, this was causing unwind issues
7860 +if
7861 +any errors occurred during the parse, and it seemed to be overkill. A
7862 +table
4258 7863 load should not be aborted if there are problems with any single control
4259 7864 method, thus rendering this feature rather pointless.
4260 7865
4261 -Fixed a problem with the new table-driven resource manager where an internal
7866 +Fixed a problem with the new table-driven resource manager where an
7867 +internal
4262 7868 buffer overflow could occur for small resource templates.
4263 7869
4264 -Implemented a new external interface, AcpiGetVendorResource. This interface
4265 -will find and return a vendor-defined resource descriptor within a _CRS or
4266 -_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
7870 +Implemented a new external interface, AcpiGetVendorResource. This
7871 +interface
7872 +will find and return a vendor-defined resource descriptor within a _CRS
7873 +or
7874 +_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
7875 +Helgaas.
4267 7876
4268 7877 Removed the length limit (200) on string objects as per the upcoming ACPI
4269 -3.0A specification. This affects the following areas of the interpreter: 1)
4270 -any implicit conversion of a Buffer to a String, 2) a String object result
7878 +3.0A specification. This affects the following areas of the interpreter:
7879 +1)
7880 +any implicit conversion of a Buffer to a String, 2) a String object
7881 +result
4271 7882 of the ASL Concatentate operator, 3) the String object result of the ASL
4272 7883 ToString operator.
4273 7884
4274 -Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER
7885 +Fixed a problem in the Windows OS interface layer (OSL) where a
7886 +WAIT_FOREVER
4275 7887 on a semaphore object would incorrectly timeout. This allows the
4276 7888 multithreading features of the AcpiExec utility to work properly under
4277 7889 Windows.
4278 7890
4279 7891 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
4280 7892 the recently added file named "utresrc.c".
4281 7893
4282 7894 Code and Data Size: The current and previous library sizes for the core
4283 7895 subsystem are shown below. These are the code and data sizes for the
4284 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4285 -values do not include any ACPI driver or OSPM code. The debug version of the
7896 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7897 +These
7898 +values do not include any ACPI driver or OSPM code. The debug version of
7899 +the
4286 7900 code includes the debug output trace mechanism and has a much larger code
4287 -and data size. Note that these values will vary depending on the efficiency
7901 +and data size. Note that these values will vary depending on the
7902 +efficiency
4288 7903 of the compiler and the compiler options used during generation.
4289 7904
4290 7905 Previous Release:
4291 7906 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
4292 7907 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
4293 7908 Current Release:
4294 7909 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
4295 7910 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
4296 7911
4297 7912
4298 7913 2) iASL Compiler/Disassembler:
4299 7914
4300 7915 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
4301 -specification. For the iASL compiler, this means that string literals within
7916 +specification. For the iASL compiler, this means that string literals
7917 +within
4302 7918 the source ASL can be of any length.
4303 7919
4304 7920 Enhanced the listing output to dump the AML code for resource descriptors
4305 -immediately after the ASL code for each descriptor, instead of in a block at
7921 +immediately after the ASL code for each descriptor, instead of in a block
7922 +at
4306 7923 the end of the entire resource template.
4307 7924
4308 7925 Enhanced the compiler debug output to dump the entire original parse tree
4309 -constructed during the parse phase, before any transforms are applied to the
7926 +constructed during the parse phase, before any transforms are applied to
7927 +the
4310 7928 tree. The transformed tree is dumped also.
4311 7929
4312 7930 ----------------------------------------
4313 7931 02 November 2005. Summary of changes for version 20051102:
4314 7932
4315 7933 1) ACPI CA Core Subsystem:
4316 7934
4317 -Modified the subsystem initialization sequence to improve GPE support. The
4318 -GPE initialization has been split into two parts in order to defer execution
4319 -of the _PRW methods (Power Resources for Wake) until after the hardware is
7935 +Modified the subsystem initialization sequence to improve GPE support.
7936 +The
7937 +GPE initialization has been split into two parts in order to defer
7938 +execution
7939 +of the _PRW methods (Power Resources for Wake) until after the hardware
7940 +is
4320 7941 fully initialized and the SCI handler is installed. This allows the _PRW
4321 -methods to access fields protected by the Global Lock. This will fix systems
7942 +methods to access fields protected by the Global Lock. This will fix
7943 +systems
4322 7944 where a NO_GLOBAL_LOCK exception has been seen during initialization.
4323 7945
4324 -Converted the ACPI internal object disassemble and display code within the
7946 +Converted the ACPI internal object disassemble and display code within
7947 +the
4325 7948 AML debugger to fully table-driven operation, reducing code size and
4326 7949 increasing maintainability.
4327 7950
4328 -Fixed a regression with the ConcatenateResTemplate() ASL operator introduced
7951 +Fixed a regression with the ConcatenateResTemplate() ASL operator
7952 +introduced
4329 7953 in the 20051021 release.
4330 7954
4331 7955 Implemented support for "local" internal ACPI object types within the
4332 7956 debugger "Object" command and the AcpiWalkNamespace external interfaces.
4333 -These local types include RegionFields, BankFields, IndexFields, Alias, and
7957 +These local types include RegionFields, BankFields, IndexFields, Alias,
7958 +and
4334 7959 reference objects.
4335 7960
4336 -Moved common AML resource handling code into a new file, "utresrc.c". This
7961 +Moved common AML resource handling code into a new file, "utresrc.c".
7962 +This
4337 7963 code is shared by both the Resource Manager and the AML Debugger.
4338 7964
4339 7965 Code and Data Size: The current and previous library sizes for the core
4340 7966 subsystem are shown below. These are the code and data sizes for the
4341 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4342 -values do not include any ACPI driver or OSPM code. The debug version of the
7967 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7968 +These
7969 +values do not include any ACPI driver or OSPM code. The debug version of
7970 +the
4343 7971 code includes the debug output trace mechanism and has a much larger code
4344 -and data size. Note that these values will vary depending on the efficiency
7972 +and data size. Note that these values will vary depending on the
7973 +efficiency
4345 7974 of the compiler and the compiler options used during generation.
4346 7975
4347 7976 Previous Release:
4348 7977 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
4349 7978 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
4350 7979 Current Release:
4351 7980 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
4352 7981 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
4353 7982
4354 7983
4355 7984 2) iASL Compiler/Disassembler:
4356 7985
4357 -Fixed a problem with very large initializer lists (more than 4000 elements)
7986 +Fixed a problem with very large initializer lists (more than 4000
7987 +elements)
4358 7988 for both Buffer and Package objects where the parse stack could overflow.
4359 7989
4360 -Enhanced the pre-compile source code scan for non-ASCII characters to ignore
4361 -characters within comment fields. The scan is now always performed and is no
7990 +Enhanced the pre-compile source code scan for non-ASCII characters to
7991 +ignore
7992 +characters within comment fields. The scan is now always performed and is
7993 +no
4362 7994 longer optional, detecting invalid characters within a source file
4363 7995 immediately rather than during the parse phase or later.
4364 7996
4365 -Enhanced the ASL grammar definition to force early reductions on all list-
7997 +Enhanced the ASL grammar definition to force early reductions on all
7998 +list-
4366 7999 style grammar elements so that the overall parse stack usage is greatly
4367 -reduced. This should improve performance and reduce the possibility of parse
8000 +reduced. This should improve performance and reduce the possibility of
8001 +parse
4368 8002 stack overflow.
4369 8003
4370 -Eliminated all reduce/reduce conflicts in the iASL parser generation. Also,
8004 +Eliminated all reduce/reduce conflicts in the iASL parser generation.
8005 +Also,
4371 8006 with the addition of a %expected statement, the compiler generates from
4372 8007 source with no warnings.
4373 8008
4374 8009 Fixed a possible segment fault in the disassembler if the input filename
4375 8010 does not contain a "dot" extension (Thomas Renninger).
4376 8011
4377 8012 ----------------------------------------
4378 8013 21 October 2005. Summary of changes for version 20051021:
4379 8014
4380 8015 1) ACPI CA Core Subsystem:
4381 8016
4382 8017 Implemented support for the EM64T and other x86-64 processors. This
4383 8018 essentially entails recognizing that these processors support non-aligned
4384 8019 memory transfers. Previously, all 64-bit processors were assumed to lack
4385 8020 hardware support for non-aligned transfers.
4386 8021
4387 8022 Completed conversion of the Resource Manager to nearly full table-driven
4388 8023 operation. Specifically, the resource conversion code (convert AML to
4389 8024 internal format and the reverse) and the debug code to dump internal
4390 -resource descriptors are fully table-driven, reducing code and data size and
8025 +resource descriptors are fully table-driven, reducing code and data size
8026 +and
4391 8027 improving maintainability.
4392 8028
4393 -The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word
4394 -on 64-bit processors instead of a fixed 32-bit word. (With assistance from
8029 +The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
8030 +word
8031 +on 64-bit processors instead of a fixed 32-bit word. (With assistance
8032 +from
4395 8033 Alexey Starikovskiy)
4396 8034
4397 8035 Implemented support within the resource conversion code for the Type-
4398 8036 Specific byte within the various ACPI 3.0 *WordSpace macros.
4399 8037
4400 -Fixed some issues within the resource conversion code for the type-specific
8038 +Fixed some issues within the resource conversion code for the type-
8039 +specific
4401 8040 flags for both Memory and I/O address resource descriptors. For Memory,
4402 8041 implemented support for the MTP and TTP flags. For I/O, split the TRS and
4403 8042 TTP flags into two separate fields.
4404 8043
4405 8044 Code and Data Size: The current and previous library sizes for the core
4406 8045 subsystem are shown below. These are the code and data sizes for the
4407 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4408 -values do not include any ACPI driver or OSPM code. The debug version of the
8046 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
8047 +These
8048 +values do not include any ACPI driver or OSPM code. The debug version of
8049 +the
4409 8050 code includes the debug output trace mechanism and has a much larger code
4410 -and data size. Note that these values will vary depending on the efficiency
8051 +and data size. Note that these values will vary depending on the
8052 +efficiency
4411 8053 of the compiler and the compiler options used during generation.
4412 8054
4413 8055 Previous Release:
4414 8056 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
4415 8057 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
4416 8058 Current Release:
4417 8059 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
4418 8060 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
4419 8061
4420 8062
4421 8063
4422 8064 2) iASL Compiler/Disassembler:
4423 8065
4424 -Relaxed a compiler restriction that disallowed a ResourceIndex byte if the
8066 +Relaxed a compiler restriction that disallowed a ResourceIndex byte if
8067 +the
4425 8068 corresponding ResourceSource string was not also present in a resource
4426 8069 descriptor declaration. This restriction caused problems with existing
4427 -AML/ASL code that includes the Index byte without the string. When such AML
8070 +AML/ASL code that includes the Index byte without the string. When such
8071 +AML
4428 8072 was disassembled, it could not be compiled without modification. Further,
4429 -the modified code created a resource template with a different size than the
4430 -original, breaking code that used fixed offsets into the resource template
8073 +the modified code created a resource template with a different size than
8074 +the
8075 +original, breaking code that used fixed offsets into the resource
8076 +template
4431 8077 buffer.
4432 8078
4433 -Removed a recent feature of the disassembler to ignore a lone ResourceIndex
8079 +Removed a recent feature of the disassembler to ignore a lone
8080 +ResourceIndex
4434 8081 byte. This byte is now emitted if present so that the exact AML can be
4435 8082 reproduced when the disassembled code is recompiled.
4436 8083
4437 8084 Improved comments and text alignment for the resource descriptor code
4438 8085 emitted by the disassembler.
4439 8086
4440 -Implemented disassembler support for the ACPI 3.0 AccessSize field within a
8087 +Implemented disassembler support for the ACPI 3.0 AccessSize field within
8088 +a
4441 8089 Register() resource descriptor.
4442 8090
4443 8091 ----------------------------------------
4444 8092 30 September 2005. Summary of changes for version 20050930:
4445 8093
4446 8094 1) ACPI CA Core Subsystem:
4447 8095
4448 8096 Completed a major overhaul of the Resource Manager code - specifically,
4449 -optimizations in the area of the AML/internal resource conversion code. The
4450 -code has been optimized to simplify and eliminate duplicated code, CPU stack
8097 +optimizations in the area of the AML/internal resource conversion code.
8098 +The
8099 +code has been optimized to simplify and eliminate duplicated code, CPU
8100 +stack
4451 8101 use has been decreased by optimizing function parameters and local
4452 -variables, and naming conventions across the manager have been standardized
8102 +variables, and naming conventions across the manager have been
8103 +standardized
4453 8104 for clarity and ease of maintenance (this includes function, parameter,
4454 8105 variable, and struct/typedef names.) The update may force changes in some
4455 8106 driver code, depending on how resources are handled by the host OS.
4456 8107
4457 8108 All Resource Manager dispatch and information tables have been moved to a
4458 8109 single location for clarity and ease of maintenance. One new file was
4459 8110 created, named "rsinfo.c".
4460 8111
4461 8112 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
4462 -guarantee that the argument is not evaluated twice, making them less prone
8113 +guarantee that the argument is not evaluated twice, making them less
8114 +prone
4463 8115 to macro side-effects. However, since there exists the possibility of
4464 -additional stack use if a particular compiler cannot optimize them (such as
4465 -in the debug generation case), the original macros are optionally available.
8116 +additional stack use if a particular compiler cannot optimize them (such
8117 +as
8118 +in the debug generation case), the original macros are optionally
8119 +available.
4466 8120 Note that some invocations of the return_VALUE macro may now cause size
4467 -mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to
8121 +mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
8122 +to
4468 8123 eliminate these. (From Randy Dunlap)
4469 8124
4470 -Implemented a new mechanism to enable debug tracing for individual control
8125 +Implemented a new mechanism to enable debug tracing for individual
8126 +control
4471 8127 methods. A new external interface, AcpiDebugTrace, is provided to enable
4472 8128 this mechanism. The intent is to allow the host OS to easily enable and
4473 8129 disable tracing for problematic control methods. This interface can be
4474 8130 easily exposed to a user or debugger interface if desired. See the file
4475 8131 psxface.c for details.
4476 8132
4477 8133 AcpiUtCallocate will now return a valid pointer if a length of zero is
4478 8134 specified - a length of one is used and a warning is issued. This matches
4479 8135 the behavior of AcpiUtAllocate.
4480 8136
4481 8137 Code and Data Size: The current and previous library sizes for the core
4482 8138 subsystem are shown below. These are the code and data sizes for the
4483 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4484 -values do not include any ACPI driver or OSPM code. The debug version of the
8139 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
8140 +These
8141 +values do not include any ACPI driver or OSPM code. The debug version of
8142 +the
4485 8143 code includes the debug output trace mechanism and has a much larger code
4486 -and data size. Note that these values will vary depending on the efficiency
8144 +and data size. Note that these values will vary depending on the
8145 +efficiency
4487 8146 of the compiler and the compiler options used during generation.
4488 8147
4489 8148 Previous Release:
4490 8149 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
4491 8150 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
4492 8151 Current Release:
4493 8152 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
4494 8153 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
4495 8154
4496 8155
4497 8156 2) iASL Compiler/Disassembler:
↓ open down ↓ |
1 lines elided |
↑ open up ↑ |
4498 8157
4499 8158 A remark is issued if the effective compile-time length of a package or
4500 8159 buffer is zero. Previously, this was a warning.
4501 8160
4502 8161 ----------------------------------------
4503 8162 16 September 2005. Summary of changes for version 20050916:
4504 8163
4505 8164 1) ACPI CA Core Subsystem:
4506 8165
4507 8166 Fixed a problem within the Resource Manager where support for the Generic
4508 -Register descriptor was not fully implemented. This descriptor is now fully
8167 +Register descriptor was not fully implemented. This descriptor is now
8168 +fully
4509 8169 recognized, parsed, disassembled, and displayed.
4510 8170
4511 8171 Completely restructured the Resource Manager code to utilize table-driven
4512 -dispatch and lookup, eliminating many of the large switch() statements. This
8172 +dispatch and lookup, eliminating many of the large switch() statements.
8173 +This
4513 8174 reduces overall subsystem code size and code complexity. Affects the
4514 8175 resource parsing and construction, disassembly, and debug dump output.
4515 8176
4516 8177 Cleaned up and restructured the debug dump output for all resource
4517 8178 descriptors. Improved readability of the output and reduced code size.
4518 8179
4519 8180 Fixed a problem where changes to internal data structures caused the
4520 8181 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
4521 8182
4522 8183 Code and Data Size: The current and previous library sizes for the core
4523 8184 subsystem are shown below. These are the code and data sizes for the
4524 -acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4525 -values do not include any ACPI driver or OSPM code. The debug version of the
8185 +acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
8186 +These
8187 +values do not include any ACPI driver or OSPM code. The debug version of
8188 +the
4526 8189 code includes the debug output trace mechanism and has a much larger code
4527 -and data size. Note that these values will vary depending on the efficiency
8190 +and data size. Note that these values will vary depending on the
8191 +efficiency
4528 8192 of the compiler and the compiler options used during generation.
4529 8193
4530 8194 Previous Release:
4531 8195 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
4532 8196 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
4533 8197 Current Release:
4534 8198 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
4535 8199 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
4536 8200
4537 8201
4538 8202 2) iASL Compiler/Disassembler:
4539 8203
4540 -Updated the disassembler to automatically insert an EndDependentFn() macro
8204 +Updated the disassembler to automatically insert an EndDependentFn()
8205 +macro
4541 8206 into the ASL stream if this macro is missing in the original AML code,
4542 8207 simplifying compilation of the resulting ASL module.
4543 8208
4544 8209 Fixed a problem in the disassembler where a disassembled ResourceSource
4545 -string (within a large resource descriptor) was not surrounded by quotes and
8210 +string (within a large resource descriptor) was not surrounded by quotes
8211 +and
4546 8212 not followed by a comma, causing errors when the resulting ASL module was
4547 8213 compiled. Also, escape sequences within a ResourceSource string are now
4548 8214 handled correctly (especially "\\")
4549 8215
4550 8216 ----------------------------------------
4551 8217 02 September 2005. Summary of changes for version 20050902:
4552 8218
4553 8219 1) ACPI CA Core Subsystem:
4554 8220
4555 8221 Fixed a problem with the internal Owner ID allocation and deallocation
4556 8222 mechanisms for control method execution and recursive method invocation.
4557 8223 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
4558 8224 messages seen on some systems. Recursive method invocation depth is
4559 8225 currently limited to 255. (Alexey Starikovskiy)
4560 8226
4561 8227 Completely eliminated all vestiges of support for the "module-level
4562 -executable code" until this support is fully implemented and debugged. This
8228 +executable code" until this support is fully implemented and debugged.
8229 +This
4563 8230 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
4564 8231 some systems that invoke this support.
4565 8232
4566 -Fixed a problem within the resource manager code where the transaction flags
8233 +Fixed a problem within the resource manager code where the transaction
8234 +flags
4567 8235 for a 64-bit address descriptor were handled incorrectly in the type-
4568 8236 specific flag byte.
4569 8237
4570 -Consolidated duplicate code within the address descriptor resource manager
8238 +Consolidated duplicate code within the address descriptor resource
8239 +manager
4571 8240 code, reducing overall subsystem code size.
4572 8241
4573 8242 Fixed a fault when using the AML debugger "disassemble" command to
4574 8243 disassemble individual control methods.
4575 8244
4576 8245 Removed references to the "release_current" directory within the Unix
4577 8246 release package.
4578 8247
4579 8248 Code and Data Size: The current and previous core subsystem library sizes
4580 8249 are shown below. These are the code and data sizes for the acpica.lib
4581 8250 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
4582 -include any ACPI driver or OSPM code. The debug version of the code includes
4583 -the debug output trace mechanism and has a much larger code and data size.
4584 -Note that these values will vary depending on the efficiency of the compiler
8251 +include any ACPI driver or OSPM code. The debug version of the code
8252 +includes
8253 +the debug output trace mechanism and has a much larger code and data
8254 +size.
8255 +Note that these values will vary depending on the efficiency of the
8256 +compiler
4585 8257 and the compiler options used during generation.
4586 8258
4587 8259 Previous Release:
4588 8260 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
4589 8261 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
4590 8262 Current Release:
4591 8263 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
4592 8264 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
4593 8265
4594 8266
4595 8267 2) iASL Compiler/Disassembler:
4596 8268
4597 -Implemented an error check for illegal duplicate values in the interrupt and
8269 +Implemented an error check for illegal duplicate values in the interrupt
8270 +and
4598 8271 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
4599 8272 Interrupt().
4600 8273
4601 -Implemented error checking for the Irq() and IrqNoFlags() macros to detect
8274 +Implemented error checking for the Irq() and IrqNoFlags() macros to
8275 +detect
4602 8276 too many values in the interrupt list (16 max) and invalid values in the
4603 8277 list (range 0 - 15)
4604 8278
4605 8279 The maximum length string literal within an ASL file is now restricted to
4606 8280 200 characters as per the ACPI specification.
4607 8281
4608 8282 Fixed a fault when using the -ln option (generate namespace listing).
4609 8283
4610 8284 Implemented an error check to determine if a DescriptorName within a
4611 8285 resource descriptor has already been used within the current scope.
4612 8286
4613 8287 ----------------------------------------
4614 8288 15 August 2005. Summary of changes for version 20050815:
4615 8289
4616 8290 1) ACPI CA Core Subsystem:
4617 8291
4618 -Implemented a full bytewise compare to determine if a table load request is
4619 -attempting to load a duplicate table. The compare is performed if the table
8292 +Implemented a full bytewise compare to determine if a table load request
8293 +is
8294 +attempting to load a duplicate table. The compare is performed if the
8295 +table
4620 8296 signatures and table lengths match. This will allow different tables with
4621 -the same OEM Table ID and revision to be loaded - probably against the ACPI
8297 +the same OEM Table ID and revision to be loaded - probably against the
8298 +ACPI
4622 8299 specification, but discovered in the field nonetheless.
4623 8300
4624 8301 Added the changes.txt logfile to each of the zipped release packages.
4625 8302
4626 8303 Code and Data Size: Current and previous core subsystem library sizes are
4627 -shown below. These are the code and data sizes for the acpica.lib produced
8304 +shown below. These are the code and data sizes for the acpica.lib
8305 +produced
4628 8306 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
4629 8307 any ACPI driver or OSPM code. The debug version of the code includes the
4630 -debug output trace mechanism and has a much larger code and data size. Note
4631 -that these values will vary depending on the efficiency of the compiler and
8308 +debug output trace mechanism and has a much larger code and data size.
8309 +Note
8310 +that these values will vary depending on the efficiency of the compiler
8311 +and
4632 8312 the compiler options used during generation.
4633 8313
4634 8314 Previous Release:
4635 8315 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
4636 8316 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
4637 8317 Current Release:
4638 8318 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
4639 8319 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
4640 8320
4641 8321
4642 8322 2) iASL Compiler/Disassembler:
4643 8323
4644 8324 Fixed a problem where incorrect AML code could be generated for Package
4645 8325 objects if optimization is disabled (via the -oa switch).
4646 8326
4647 8327 Fixed a problem with where incorrect AML code is generated for variable-
4648 -length packages when the package length is not specified and the number of
8328 +length packages when the package length is not specified and the number
8329 +of
4649 8330 initializer values is greater than 255.
4650 8331
4651 8332
4652 8333 ----------------------------------------
4653 8334 29 July 2005. Summary of changes for version 20050729:
4654 8335
4655 8336 1) ACPI CA Core Subsystem:
4656 8337
4657 -Implemented support to ignore an attempt to install/load a particular ACPI
8338 +Implemented support to ignore an attempt to install/load a particular
8339 +ACPI
4658 8340 table more than once. Apparently there exists BIOS code that repeatedly
4659 8341 attempts to load the same SSDT upon certain events. With assistance from
4660 8342 Venkatesh Pallipadi.
4661 8343
4662 8344 Restructured the main interface to the AML parser in order to correctly
4663 -handle all exceptional conditions. This will prevent leakage of the OwnerId
4664 -resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some
8345 +handle all exceptional conditions. This will prevent leakage of the
8346 +OwnerId
8347 +resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
8348 +some
4665 8349 machines. With assistance from Alexey Starikovskiy.
4666 8350
4667 -Support for "module level code" has been disabled in this version due to a
4668 -number of issues that have appeared on various machines. The support can be
8351 +Support for "module level code" has been disabled in this version due to
8352 +a
8353 +number of issues that have appeared on various machines. The support can
8354 +be
4669 8355 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
4670 -compilation. When the issues are fully resolved, the code will be enabled by
8356 +compilation. When the issues are fully resolved, the code will be enabled
8357 +by
4671 8358 default again.
4672 8359
4673 8360 Modified the internal functions for debug print support to define the
4674 -FunctionName parameter as a (const char *) for compatibility with compiler
8361 +FunctionName parameter as a (const char *) for compatibility with
8362 +compiler
4675 8363 built-in macros such as __FUNCTION__, etc.
4676 8364
4677 8365 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
4678 8366
4679 -Implemented support to display an object count summary for the AML Debugger
8367 +Implemented support to display an object count summary for the AML
8368 +Debugger
4680 8369 commands Object and Methods.
4681 8370
4682 8371 Code and Data Size: Current and previous core subsystem library sizes are
4683 -shown below. These are the code and data sizes for the acpica.lib produced
8372 +shown below. These are the code and data sizes for the acpica.lib
8373 +produced
4684 8374 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
4685 8375 any ACPI driver or OSPM code. The debug version of the code includes the
4686 -debug output trace mechanism and has a much larger code and data size. Note
4687 -that these values will vary depending on the efficiency of the compiler and
8376 +debug output trace mechanism and has a much larger code and data size.
8377 +Note
8378 +that these values will vary depending on the efficiency of the compiler
8379 +and
4688 8380 the compiler options used during generation.
4689 8381
4690 8382 Previous Release:
4691 8383 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
4692 8384 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
4693 8385 Current Release:
4694 8386 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
4695 8387 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
4696 8388
4697 8389
4698 8390 2) iASL Compiler/Disassembler:
4699 8391
4700 8392 Fixed a regression that appeared in the 20050708 version of the compiler
4701 -where an error message was inadvertently emitted for invocations of the _OSI
8393 +where an error message was inadvertently emitted for invocations of the
8394 +_OSI
4702 8395 reserved control method.
4703 8396
4704 8397 ----------------------------------------
4705 8398 08 July 2005. Summary of changes for version 20050708:
4706 8399
4707 8400 1) ACPI CA Core Subsystem:
4708 8401
4709 8402 The use of the CPU stack in the debug version of the subsystem has been
4710 8403 considerably reduced. Previously, a debug structure was declared in every
4711 8404 function that used the debug macros. This structure has been removed in
4712 8405 favor of declaring the individual elements as parameters to the debug
4713 -functions. This reduces the cumulative stack use during nested execution of
4714 -ACPI function calls at the cost of a small increase in the code size of the
4715 -debug version of the subsystem. With assistance from Alexey Starikovskiy and
8406 +functions. This reduces the cumulative stack use during nested execution
8407 +of
8408 +ACPI function calls at the cost of a small increase in the code size of
8409 +the
8410 +debug version of the subsystem. With assistance from Alexey Starikovskiy
8411 +and
4716 8412 Len Brown.
4717 8413
4718 8414 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
4719 8415 headers to define a macro that will return the current function name at
4720 -runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by
8416 +runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
8417 +by
4721 8418 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
4722 -compiler-dependent header, the function name is saved on the CPU stack (one
8419 +compiler-dependent header, the function name is saved on the CPU stack
8420 +(one
4723 8421 pointer per function.) This mechanism is used because apparently there
4724 -exists no standard ANSI-C defined macro that that returns the function name.
8422 +exists no standard ANSI-C defined macro that that returns the function
8423 +name.
4725 8424
4726 8425 Redesigned and reimplemented the "Owner ID" mechanism used to track
4727 8426 namespace objects created/deleted by ACPI tables and control method
4728 -execution. A bitmap is now used to allocate and free the IDs, thus solving
4729 -the wraparound problem present in the previous implementation. The size of
8427 +execution. A bitmap is now used to allocate and free the IDs, thus
8428 +solving
8429 +the wraparound problem present in the previous implementation. The size
8430 +of
4730 8431 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
4731 8432 Starikovskiy).
4732 8433
4733 -Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield
8434 +Removed the UINT32_BIT and UINT16_BIT types that were used for the
8435 +bitfield
4734 8436 flag definitions within the headers for the predefined ACPI tables. These
4735 -have been replaced by UINT8_BIT in order to increase the code portability of
8437 +have been replaced by UINT8_BIT in order to increase the code portability
8438 +of
4736 8439 the subsystem. If the use of UINT8 remains a problem, we may be forced to
4737 8440 eliminate bitfields entirely because of a lack of portability.
4738 8441
4739 -Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This
4740 -is a frequently used function and this improvement increases the performance
8442 +Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
8443 +This
8444 +is a frequently used function and this improvement increases the
8445 +performance
4741 8446 of the entire subsystem (Alexey Starikovskiy).
4742 8447
4743 8448 Fixed several possible memory leaks and the inverse - premature object
4744 8449 deletion (Alexey Starikovskiy).
4745 8450
4746 8451 Code and Data Size: Current and previous core subsystem library sizes are
4747 -shown below. These are the code and data sizes for the acpica.lib produced
8452 +shown below. These are the code and data sizes for the acpica.lib
8453 +produced
4748 8454 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
4749 8455 any ACPI driver or OSPM code. The debug version of the code includes the
4750 -debug output trace mechanism and has a much larger code and data size. Note
4751 -that these values will vary depending on the efficiency of the compiler and
8456 +debug output trace mechanism and has a much larger code and data size.
8457 +Note
8458 +that these values will vary depending on the efficiency of the compiler
8459 +and
4752 8460 the compiler options used during generation.
4753 8461
4754 8462 Previous Release:
4755 8463 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
4756 8464 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
4757 8465 Current Release:
4758 8466 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
4759 8467 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
4760 8468
4761 8469 ----------------------------------------
4762 8470 24 June 2005. Summary of changes for version 20050624:
4763 8471
4764 8472 1) ACPI CA Core Subsystem:
4765 8473
4766 8474 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
4767 -the host-defined cache object. This allows the OSL implementation to define
8475 +the host-defined cache object. This allows the OSL implementation to
8476 +define
4768 8477 and type this object in any manner desired, simplifying the OSL
4769 8478 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
4770 8479 Linux, and should be defined in the OS-specific header file for other
4771 8480 operating systems as required.
4772 8481
4773 8482 Changed the interface to AcpiOsAcquireObject to directly return the
4774 8483 requested object as the function return (instead of ACPI_STATUS.) This
4775 8484 change was made for performance reasons, since this is the purpose of the
4776 8485 interface in the first place. AcpiOsAcquireObject is now similar to the
4777 8486 AcpiOsAllocate interface.
4778 8487
4779 -Implemented a new AML debugger command named Businfo. This command displays
4780 -information about all devices that have an associate _PRT object. The _ADR,
8488 +Implemented a new AML debugger command named Businfo. This command
8489 +displays
8490 +information about all devices that have an associate _PRT object. The
8491 +_ADR,
4781 8492 _HID, _UID, and _CID are displayed for these devices.
4782 8493
4783 -Modified the initialization sequence in AcpiInitializeSubsystem to call the
4784 -OSL interface AcpiOslInitialize first, before any local initialization. This
8494 +Modified the initialization sequence in AcpiInitializeSubsystem to call
8495 +the
8496 +OSL interface AcpiOslInitialize first, before any local initialization.
8497 +This
4785 8498 change was required because the global initialization now calls OSL
4786 8499 interfaces.
4787 8500
4788 -Enhanced the Dump command to display the entire contents of Package objects
8501 +Enhanced the Dump command to display the entire contents of Package
8502 +objects
4789 8503 (including all sub-objects and their values.)
4790 8504
4791 8505 Restructured the code base to split some files because of size and/or
4792 -because the code logically belonged in a separate file. New files are listed
4793 -below. All makefiles and project files included in the ACPI CA release have
8506 +because the code logically belonged in a separate file. New files are
8507 +listed
8508 +below. All makefiles and project files included in the ACPI CA release
8509 +have
4794 8510 been updated.
4795 8511 utilities/utcache.c /* Local cache interfaces */
4796 8512 utilities/utmutex.c /* Local mutex support */
4797 8513 utilities/utstate.c /* State object support */
4798 8514 interpreter/parser/psloop.c /* Main AML parse loop */
4799 8515
4800 8516 Code and Data Size: Current and previous core subsystem library sizes are
4801 -shown below. These are the code and data sizes for the acpica.lib produced
8517 +shown below. These are the code and data sizes for the acpica.lib
8518 +produced
4802 8519 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
4803 8520 any ACPI driver or OSPM code. The debug version of the code includes the
4804 -debug output trace mechanism and has a much larger code and data size. Note
4805 -that these values will vary depending on the efficiency of the compiler and
8521 +debug output trace mechanism and has a much larger code and data size.
8522 +Note
8523 +that these values will vary depending on the efficiency of the compiler
8524 +and
4806 8525 the compiler options used during generation.
4807 8526
4808 8527 Previous Release:
4809 8528 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
4810 8529 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
4811 8530 Current Release:
4812 8531 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
4813 8532 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
4814 8533
4815 8534
4816 8535 2) iASL Compiler/Disassembler:
4817 8536
4818 -Fixed a regression introduced in version 20050513 where the use of a Package
8537 +Fixed a regression introduced in version 20050513 where the use of a
8538 +Package
4819 8539 object within a Case() statement caused a compile time exception. The
4820 8540 original behavior has been restored (a Match() operator is emitted.)
4821 8541
4822 8542 ----------------------------------------
4823 8543 17 June 2005. Summary of changes for version 20050617:
4824 8544
4825 8545 1) ACPI CA Core Subsystem:
4826 8546
4827 -Moved the object cache operations into the OS interface layer (OSL) to allow
8547 +Moved the object cache operations into the OS interface layer (OSL) to
8548 +allow
4828 8549 the host OS to handle these operations if desired (for example, the Linux
4829 -OSL will invoke the slab allocator). This support is optional; the compile
4830 -time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache
8550 +OSL will invoke the slab allocator). This support is optional; the
8551 +compile
8552 +time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
8553 +cache
4831 8554 code in the ACPI CA core. The new OSL interfaces are shown below. See
4832 8555 utalloc.c for an example implementation, and acpiosxf.h for the exact
4833 8556 interface definitions. With assistance from Alexey Starikovskiy.
4834 8557 AcpiOsCreateCache
4835 8558 AcpiOsDeleteCache
4836 8559 AcpiOsPurgeCache
4837 8560 AcpiOsAcquireObject
4838 8561 AcpiOsReleaseObject
4839 8562
4840 -Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return
8563 +Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
8564 +return
4841 8565 and restore a flags parameter. This fits better with many OS lock models.
4842 8566 Note: the current execution state (interrupt handler or not) is no longer
4843 -passed to these interfaces. If necessary, the OSL must determine this state
8567 +passed to these interfaces. If necessary, the OSL must determine this
8568 +state
4844 8569 by itself, a simple and fast operation. With assistance from Alexey
4845 8570 Starikovskiy.
4846 8571
4847 8572 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
4848 -present if the revision of the RSDP was 2 or greater. According to the ACPI
8573 +present if the revision of the RSDP was 2 or greater. According to the
8574 +ACPI
4849 8575 specification, the XSDT is optional in all cases, and the table manager
4850 8576 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
4851 -Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain
8577 +Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
8578 +contain
4852 8579 only the RSDT.
4853 8580
4854 -Fixed an interpreter problem with the Mid() operator in the case of an input
4855 -string where the resulting output string is of zero length. It now correctly
8581 +Fixed an interpreter problem with the Mid() operator in the case of an
8582 +input
8583 +string where the resulting output string is of zero length. It now
8584 +correctly
4856 8585 returns a valid, null terminated string object instead of a string object
4857 8586 with a null pointer.
4858 8587
4859 -Fixed a problem with the control method argument handling to allow a store
4860 -to an Arg object that already contains an object of type Device. The Device
8588 +Fixed a problem with the control method argument handling to allow a
8589 +store
8590 +to an Arg object that already contains an object of type Device. The
8591 +Device
4861 8592 object is now correctly overwritten. Previously, an error was returned.
4862 8593
4863 8594
4864 -Enhanced the debugger Find command to emit object values in addition to the
4865 -found object pathnames. The output format is the same as the dump namespace
8595 +Enhanced the debugger Find command to emit object values in addition to
8596 +the
8597 +found object pathnames. The output format is the same as the dump
8598 +namespace
4866 8599 command.
4867 8600
4868 -Enhanced the debugger Set command. It now has the ability to set the value
4869 -of any Named integer object in the namespace (Previously, only method locals
8601 +Enhanced the debugger Set command. It now has the ability to set the
8602 +value
8603 +of any Named integer object in the namespace (Previously, only method
8604 +locals
4870 8605 and args could be set.)
4871 8606
4872 8607 Code and Data Size: Current and previous core subsystem library sizes are
4873 -shown below. These are the code and data sizes for the acpica.lib produced
8608 +shown below. These are the code and data sizes for the acpica.lib
8609 +produced
4874 8610 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
4875 8611 any ACPI driver or OSPM code. The debug version of the code includes the
4876 -debug output trace mechanism and has a much larger code and data size. Note
4877 -that these values will vary depending on the efficiency of the compiler and
8612 +debug output trace mechanism and has a much larger code and data size.
8613 +Note
8614 +that these values will vary depending on the efficiency of the compiler
8615 +and
4878 8616 the compiler options used during generation.
4879 8617
4880 8618 Previous Release:
4881 8619 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
4882 8620 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
4883 8621 Current Release:
4884 8622 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
4885 8623 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
4886 8624
4887 8625
4888 8626 2) iASL Compiler/Disassembler:
4889 8627
4890 -Fixed a regression in the disassembler where if/else/while constructs were
8628 +Fixed a regression in the disassembler where if/else/while constructs
8629 +were
4891 8630 output incorrectly. This problem was introduced in the previous release
4892 8631 (20050526). This problem also affected the single-step disassembly in the
4893 8632 debugger.
4894 8633
4895 -Fixed a problem where compiling the reserved _OSI method would randomly (but
8634 +Fixed a problem where compiling the reserved _OSI method would randomly
8635 +(but
4896 8636 rarely) produce compile errors.
4897 8637
4898 -Enhanced the disassembler to emit compilable code in the face of incorrect
8638 +Enhanced the disassembler to emit compilable code in the face of
8639 +incorrect
4899 8640 AML resource descriptors. If the optional ResourceSourceIndex is present,
4900 8641 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
4901 8642 disassembly. Otherwise, the resulting code cannot be compiled without
4902 8643 errors.
4903 8644
4904 8645 ----------------------------------------
4905 8646 26 May 2005. Summary of changes for version 20050526:
4906 8647
4907 8648 1) ACPI CA Core Subsystem:
4908 8649
4909 8650 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
4910 -the module level (not within a control method.) These opcodes are executed
4911 -exactly once at the time the table is loaded. This type of code was legal up
4912 -until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in
4913 -order to provide backwards compatibility with earlier BIOS implementations.
8651 +the module level (not within a control method.) These opcodes are
8652 +executed
8653 +exactly once at the time the table is loaded. This type of code was legal
8654 +up
8655 +until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
8656 +in
8657 +order to provide backwards compatibility with earlier BIOS
8658 +implementations.
4914 8659 This eliminates the "Encountered executable code at module level" warning
4915 8660 that was previously generated upon detection of such code.
4916 8661
4917 8662 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
4918 8663 inadvertently be generated during the lookup of namespace objects in the
4919 -second pass parse of ACPI tables and control methods. It appears that this
4920 -problem could occur during the resolution of forward references to namespace
8664 +second pass parse of ACPI tables and control methods. It appears that
8665 +this
8666 +problem could occur during the resolution of forward references to
8667 +namespace
4921 8668 objects.
4922 8669
4923 8670 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
4924 8671 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
4925 8672 allows the deadlock detection debug code to be compiled out in the normal
4926 8673 case, improving mutex performance (and overall subsystem performance)
4927 8674 considerably.
4928 8675
4929 8676 Implemented a handful of miscellaneous fixes for possible memory leaks on
4930 8677 error conditions and error handling control paths. These fixes were
4931 8678 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
4932 8679
4933 -Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c)
8680 +Added a check for a null RSDT pointer in AcpiGetFirmwareTable
8681 +(tbxfroot.c)
4934 8682 to prevent a fault in this error case.
4935 8683
4936 8684 Code and Data Size: Current and previous core subsystem library sizes are
4937 -shown below. These are the code and data sizes for the acpica.lib produced
8685 +shown below. These are the code and data sizes for the acpica.lib
8686 +produced
4938 8687 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
4939 8688 any ACPI driver or OSPM code. The debug version of the code includes the
4940 -debug output trace mechanism and has a much larger code and data size. Note
4941 -that these values will vary depending on the efficiency of the compiler and
8689 +debug output trace mechanism and has a much larger code and data size.
8690 +Note
8691 +that these values will vary depending on the efficiency of the compiler
8692 +and
4942 8693 the compiler options used during generation.
4943 8694
4944 8695 Previous Release:
4945 8696 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
4946 8697 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
4947 8698 Current Release:
4948 8699 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
4949 8700 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
4950 8701
4951 8702
4952 8703 2) iASL Compiler/Disassembler:
4953 8704
4954 8705 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
4955 8706 the module level (not within a control method.) These operators will be
4956 -executed once at the time the table is loaded. This type of code was legal
8707 +executed once at the time the table is loaded. This type of code was
8708 +legal
4957 8709 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
4958 -compiler in order to provide backwards compatibility with earlier BIOS ASL
8710 +compiler in order to provide backwards compatibility with earlier BIOS
8711 +ASL
4959 8712 code.
4960 8713
4961 8714 The ACPI integer width (specified via the table revision ID or the -r
4962 -override, 32 or 64 bits) is now used internally during compile-time constant
8715 +override, 32 or 64 bits) is now used internally during compile-time
8716 +constant
4963 8717 folding to ensure that constants are truncated to 32 bits if necessary.
4964 -Previously, the revision ID value was only emitted in the AML table header.
8718 +Previously, the revision ID value was only emitted in the AML table
8719 +header.
4965 8720
4966 -An error message is now generated for the Mutex and Method operators if the
8721 +An error message is now generated for the Mutex and Method operators if
8722 +the
4967 8723 SyncLevel parameter is outside the legal range of 0 through 15.
4968 8724
4969 -Fixed a problem with the Method operator ParameterTypes list handling (ACPI
4970 -3.0). Previously, more than 2 types or 2 arguments generated a syntax error.
8725 +Fixed a problem with the Method operator ParameterTypes list handling
8726 +(ACPI
8727 +3.0). Previously, more than 2 types or 2 arguments generated a syntax
8728 +error.
4971 8729 The actual underlying implementation of method argument typechecking is
4972 8730 still under development, however.
4973 8731
4974 8732 ----------------------------------------
4975 8733 13 May 2005. Summary of changes for version 20050513:
4976 8734
4977 8735 1) ACPI CA Core Subsystem:
4978 8736
4979 -Implemented support for PCI Express root bridges -- added support for device
8737 +Implemented support for PCI Express root bridges -- added support for
8738 +device
4980 8739 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
4981 8740
4982 -The interpreter now automatically truncates incoming 64-bit constants to 32
4983 -bits if currently executing out of a 32-bit ACPI table (Revision < 2). This
8741 +The interpreter now automatically truncates incoming 64-bit constants to
8742 +32
8743 +bits if currently executing out of a 32-bit ACPI table (Revision < 2).
8744 +This
4984 8745 also affects the iASL compiler constant folding. (Note: as per below, the
4985 8746 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
4986 8747
4987 8748 Fixed a problem where string and buffer objects with "static" pointers
4988 8749 (pointers to initialization data within an ACPI table) were not handled
4989 -consistently. The internal object copy operation now always copies the data
8750 +consistently. The internal object copy operation now always copies the
8751 +data
4990 8752 to a newly allocated buffer, regardless of whether the source object is
4991 8753 static or not.
4992 8754
4993 8755 Fixed a problem with the FromBCD operator where an implicit result
4994 -conversion was improperly performed while storing the result to the target
8756 +conversion was improperly performed while storing the result to the
8757 +target
4995 8758 operand. Since this is an "explicit conversion" operator, the implicit
4996 8759 conversion should never be performed on the output.
4997 8760
4998 8761 Fixed a problem with the CopyObject operator where a copy to an existing
4999 -named object did not always completely overwrite the existing object stored
5000 -at name. Specifically, a buffer-to-buffer copy did not delete the existing
8762 +named object did not always completely overwrite the existing object
8763 +stored
8764 +at name. Specifically, a buffer-to-buffer copy did not delete the
8765 +existing
5001 8766 buffer.
5002 8767
5003 -Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and
8768 +Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
8769 +and
5004 8770 structs for consistency.
5005 8771
5006 8772 Code and Data Size: Current and previous core subsystem library sizes are
5007 -shown below. These are the code and data sizes for the acpica.lib produced
8773 +shown below. These are the code and data sizes for the acpica.lib
8774 +produced
5008 8775 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5009 8776 any ACPI driver or OSPM code. The debug version of the code includes the
5010 -debug output trace mechanism and has a much larger code and data size. Note
5011 -that these values will vary depending on the efficiency of the compiler and
8777 +debug output trace mechanism and has a much larger code and data size.
8778 +Note
8779 +that these values will vary depending on the efficiency of the compiler
8780 +and
5012 8781 the compiler options used during generation.
5013 8782
5014 8783 Previous Release:
5015 8784 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
5016 8785 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
5017 8786 Current Release: (Same sizes)
5018 8787 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
5019 8788 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
5020 8789
5021 8790
5022 8791 2) iASL Compiler/Disassembler:
5023 8792
5024 -The compiler now emits a warning if an attempt is made to generate a 64-bit
5025 -integer constant from within a 32-bit ACPI table (Revision < 2). The integer
8793 +The compiler now emits a warning if an attempt is made to generate a 64-
8794 +bit
8795 +integer constant from within a 32-bit ACPI table (Revision < 2). The
8796 +integer
5026 8797 is truncated to 32 bits.
5027 8798
5028 8799 Fixed a problem with large package objects: if the static length of the
5029 8800 package is greater than 255, the "variable length package" opcode is
5030 8801 emitted. Previously, this caused an error. This requires an update to the
5031 -ACPI spec, since it currently (incorrectly) states that packages larger than
8802 +ACPI spec, since it currently (incorrectly) states that packages larger
8803 +than
5032 8804 255 elements are not allowed.
5033 8805
5034 -The disassembler now correctly handles variable length packages and packages
8806 +The disassembler now correctly handles variable length packages and
8807 +packages
5035 8808 larger than 255 elements.
5036 8809
5037 8810 ----------------------------------------
5038 8811 08 April 2005. Summary of changes for version 20050408:
5039 8812
5040 8813 1) ACPI CA Core Subsystem:
5041 8814
5042 8815 Fixed three cases in the interpreter where an "index" argument to an ASL
5043 8816 function was still (internally) 32 bits instead of the required 64 bits.
5044 8817 This was the Index argument to the Index, Mid, and Match operators.
5045 8818
5046 -The "strupr" function is now permanently local (AcpiUtStrupr), since this is
8819 +The "strupr" function is now permanently local (AcpiUtStrupr), since this
8820 +is
5047 8821 not a POSIX-defined function and not present in most kernel-level C
5048 -libraries. All references to the C library strupr function have been removed
8822 +libraries. All references to the C library strupr function have been
8823 +removed
5049 8824 from the headers.
5050 8825
5051 -Completed the deployment of static functions/prototypes. All prototypes with
5052 -the static attribute have been moved from the headers to the owning C file.
8826 +Completed the deployment of static functions/prototypes. All prototypes
8827 +with
8828 +the static attribute have been moved from the headers to the owning C
8829 +file.
5053 8830
5054 8831 Implemented an extract option (-e) for the AcpiBin utility (AML binary
5055 -utility). This option allows the utility to extract individual ACPI tables
8832 +utility). This option allows the utility to extract individual ACPI
8833 +tables
5056 8834 from the output of AcpiDmp. It provides the same functionality of the
5057 8835 acpixtract.pl perl script without the worry of setting the correct perl
5058 -options. AcpiBin runs on Windows and has not yet been generated/validated in
8836 +options. AcpiBin runs on Windows and has not yet been generated/validated
8837 +in
5059 8838 the Linux/Unix environment (but should be soon).
5060 8839
5061 8840 Updated and fixed the table dump option for AcpiBin (-d). This option
5062 -converts a single ACPI table to a hex/ascii file, similar to the output of
8841 +converts a single ACPI table to a hex/ascii file, similar to the output
8842 +of
5063 8843 AcpiDmp.
5064 8844
5065 8845 Code and Data Size: Current and previous core subsystem library sizes are
5066 -shown below. These are the code and data sizes for the acpica.lib produced
8846 +shown below. These are the code and data sizes for the acpica.lib
8847 +produced
5067 8848 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5068 8849 any ACPI driver or OSPM code. The debug version of the code includes the
5069 -debug output trace mechanism and has a much larger code and data size. Note
5070 -that these values will vary depending on the efficiency of the compiler and
8850 +debug output trace mechanism and has a much larger code and data size.
8851 +Note
8852 +that these values will vary depending on the efficiency of the compiler
8853 +and
5071 8854 the compiler options used during generation.
5072 8855
5073 8856 Previous Release:
5074 8857 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
5075 8858 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
5076 8859 Current Release:
5077 8860 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
5078 8861 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
5079 8862
5080 8863
5081 8864 2) iASL Compiler/Disassembler:
5082 8865
5083 -Disassembler fix: Added a check to ensure that the table length found in the
5084 -ACPI table header within the input file is not longer than the actual input
8866 +Disassembler fix: Added a check to ensure that the table length found in
8867 +the
8868 +ACPI table header within the input file is not longer than the actual
8869 +input
5085 8870 file size. This indicates some kind of file or table corruption.
5086 8871
5087 8872 ----------------------------------------
5088 8873 29 March 2005. Summary of changes for version 20050329:
5089 8874
5090 8875 1) ACPI CA Core Subsystem:
5091 8876
5092 -An error is now generated if an attempt is made to create a Buffer Field of
8877 +An error is now generated if an attempt is made to create a Buffer Field
8878 +of
5093 8879 length zero (A CreateField with a length operand of zero.)
5094 8880
5095 -The interpreter now issues a warning whenever executable code at the module
8881 +The interpreter now issues a warning whenever executable code at the
8882 +module
5096 8883 level is detected during ACPI table load. This will give some idea of the
5097 8884 prevalence of this type of code.
5098 8885
5099 8886 Implemented support for references to named objects (other than control
5100 8887 methods) within package objects.
5101 8888
5102 -Enhanced package object output for the debug object. Package objects are now
8889 +Enhanced package object output for the debug object. Package objects are
8890 +now
5103 8891 completely dumped, showing all elements.
5104 8892
5105 8893 Enhanced miscellaneous object output for the debug object. Any object can
5106 8894 now be written to the debug object (for example, a device object can be
5107 8895 written, and the type of the object will be displayed.)
5108 8896
5109 -The "static" qualifier has been added to all local functions across both the
8897 +The "static" qualifier has been added to all local functions across both
8898 +the
5110 8899 core subsystem and the iASL compiler.
5111 8900
5112 8901 The number of "long" lines (> 80 chars) within the source has been
5113 8902 significantly reduced, by about 1/3.
5114 8903
5115 8904 Cleaned up all header files to ensure that all CA/iASL functions are
5116 8905 prototyped (even static functions) and the formatting is consistent.
5117 8906
5118 8907 Two new header files have been added, acopcode.h and acnames.h.
5119 8908
5120 8909 Removed several obsolete functions that were no longer used.
5121 8910
5122 8911 Code and Data Size: Current and previous core subsystem library sizes are
5123 -shown below. These are the code and data sizes for the acpica.lib produced
8912 +shown below. These are the code and data sizes for the acpica.lib
8913 +produced
5124 8914 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5125 8915 any ACPI driver or OSPM code. The debug version of the code includes the
5126 -debug output trace mechanism and has a much larger code and data size. Note
5127 -that these values will vary depending on the efficiency of the compiler and
8916 +debug output trace mechanism and has a much larger code and data size.
8917 +Note
8918 +that these values will vary depending on the efficiency of the compiler
8919 +and
5128 8920 the compiler options used during generation.
5129 8921
5130 8922 Previous Release:
5131 8923 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
5132 8924 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
5133 8925 Current Release:
5134 8926 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
5135 8927 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
5136 8928
5137 8929
5138 8930
5139 8931 2) iASL Compiler/Disassembler:
5140 8932
5141 8933 Fixed a problem with the resource descriptor generation/support. For the
5142 -ResourceSourceIndex and the ResourceSource fields, both must be present, or
8934 +ResourceSourceIndex and the ResourceSource fields, both must be present,
8935 +or
5143 8936 both must be not present - can't have one without the other.
5144 8937
5145 -The compiler now returns non-zero from the main procedure if any errors have
8938 +The compiler now returns non-zero from the main procedure if any errors
8939 +have
5146 8940 occurred during the compilation.
5147 8941
5148 8942
5149 8943 ----------------------------------------
5150 8944 09 March 2005. Summary of changes for version 20050309:
5151 8945
5152 8946 1) ACPI CA Core Subsystem:
5153 8947
5154 -The string-to-buffer implicit conversion code has been modified again after
5155 -a change to the ACPI specification. In order to match the behavior of the
5156 -other major ACPI implementation, the target buffer is no longer truncated if
8948 +The string-to-buffer implicit conversion code has been modified again
8949 +after
8950 +a change to the ACPI specification. In order to match the behavior of
8951 +the
8952 +other major ACPI implementation, the target buffer is no longer truncated
8953 +if
5157 8954 the source string is smaller than an existing target buffer. This change
5158 8955 requires an update to the ACPI spec, and should eliminate the recent
5159 8956 AE_AML_BUFFER_LIMIT issues.
5160 8957
5161 -The "implicit return" support was rewritten to a new algorithm that solves
5162 -the general case. Rather than attempt to determine when a method is about to
5163 -exit, the result of every ASL operator is saved momentarily until the very
8958 +The "implicit return" support was rewritten to a new algorithm that
8959 +solves
8960 +the general case. Rather than attempt to determine when a method is about
8961 +to
8962 +exit, the result of every ASL operator is saved momentarily until the
8963 +very
5164 8964 next ASL operator is executed. Therefore, no matter how the method exits,
5165 8965 there will always be a saved implicit return value. This feature is only
5166 -enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate
8966 +enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
8967 +eliminate
5167 8968 AE_AML_NO_RETURN_VALUE errors when enabled.
5168 8969
5169 -Implemented implicit conversion support for the predicate (operand) of the
5170 -If, Else, and While operators. String and Buffer arguments are automatically
8970 +Implemented implicit conversion support for the predicate (operand) of
8971 +the
8972 +If, Else, and While operators. String and Buffer arguments are
8973 +automatically
5171 8974 converted to Integers.
5172 8975
5173 8976 Changed the string-to-integer conversion behavior to match the new ACPI
5174 8977 errata: "If no integer object exists, a new integer is created. The ASCII
5175 8978 string is interpreted as a hexadecimal constant. Each string character is
5176 8979 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
5177 -with the first character as the most significant digit, and ending with the
5178 -first non-hexadecimal character or end-of-string." This means that the first
8980 +with the first character as the most significant digit, and ending with
8981 +the
8982 +first non-hexadecimal character or end-of-string." This means that the
8983 +first
5179 8984 non-hex character terminates the conversion and this is the code that was
5180 8985 changed.
5181 8986
5182 -Fixed a problem where the ObjectType operator would fail (fault) when used
8987 +Fixed a problem where the ObjectType operator would fail (fault) when
8988 +used
5183 8989 on an Index of a Package which pointed to a null package element. The
5184 8990 operator now properly returns zero (Uninitialized) in this case.
5185 8991
5186 8992 Fixed a problem where the While operator used excessive memory by not
5187 -properly popping the result stack during execution. There was no memory leak
8993 +properly popping the result stack during execution. There was no memory
8994 +leak
5188 8995 after execution, however. (Code provided by Valery Podrezov.)
5189 8996
5190 -Fixed a problem where references to control methods within Package objects
8997 +Fixed a problem where references to control methods within Package
8998 +objects
5191 8999 caused the method to be invoked, instead of producing a reference object
5192 9000 pointing to the method.
5193 9001
5194 -Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to
9002 +Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
9003 +to
5195 9004 improve performance and reduce code size. (Code provided by Alexey
5196 9005 Starikovskiy.)
5197 9006
5198 9007 Code and Data Size: Current and previous core subsystem library sizes are
5199 -shown below. These are the code and data sizes for the acpica.lib produced
9008 +shown below. These are the code and data sizes for the acpica.lib
9009 +produced
5200 9010 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5201 9011 any ACPI driver or OSPM code. The debug version of the code includes the
5202 -debug output trace mechanism and has a much larger code and data size. Note
5203 -that these values will vary depending on the efficiency of the compiler and
9012 +debug output trace mechanism and has a much larger code and data size.
9013 +Note
9014 +that these values will vary depending on the efficiency of the compiler
9015 +and
5204 9016 the compiler options used during generation.
5205 9017
5206 9018 Previous Release:
5207 9019 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
5208 9020 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
5209 9021 Current Release:
5210 9022 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
5211 9023 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
5212 9024
5213 9025
5214 9026 2) iASL Compiler/Disassembler:
5215 9027
5216 9028 Fixed a problem with the Return operator with no arguments. Since the AML
5217 -grammar for the byte encoding requires an operand for the Return opcode, the
9029 +grammar for the byte encoding requires an operand for the Return opcode,
9030 +the
5218 9031 compiler now emits a Return(Zero) for this case. An ACPI specification
5219 9032 update has been written for this case.
5220 9033
5221 9034 For tables other than the DSDT, namepath optimization is automatically
5222 -disabled. This is because SSDTs can be loaded anywhere in the namespace, the
9035 +disabled. This is because SSDTs can be loaded anywhere in the namespace,
9036 +the
5223 9037 compiler has no knowledge of where, and thus cannot optimize namepaths.
5224 9038
5225 9039 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
5226 9040 inadvertently omitted from the ACPI specification, and will require an
5227 9041 update to the spec.
5228 9042
5229 -The source file scan for ASCII characters is now optional (-a). This change
9043 +The source file scan for ASCII characters is now optional (-a). This
9044 +change
5230 9045 was made because some vendors place non-ascii characters within comments.
5231 9046 However, the scan is simply a brute-force byte compare to ensure all
5232 9047 characters in the file are in the range 0x00 to 0x7F.
5233 9048
5234 9049 Fixed a problem with the CondRefOf operator where the compiler was
5235 -inappropriately checking for the existence of the target. Since the point of
9050 +inappropriately checking for the existence of the target. Since the point
9051 +of
5236 9052 the operator is to check for the existence of the target at run-time, the
5237 9053 compiler no longer checks for the target existence.
5238 9054
5239 9055 Fixed a problem where errors generated from the internal AML interpreter
5240 9056 during constant folding were not handled properly, causing a fault.
5241 9057
5242 9058 Fixed a problem with overly aggressive range checking for the Stall
5243 -operator. The valid range (max 255) is now only checked if the operand is of
9059 +operator. The valid range (max 255) is now only checked if the operand is
9060 +of
5244 9061 type Integer. All other operand types cannot be statically checked.
5245 9062
5246 -Fixed a problem where control method references within the RefOf, DeRefOf,
5247 -and ObjectType operators were not treated properly. They are now treated as
9063 +Fixed a problem where control method references within the RefOf,
9064 +DeRefOf,
9065 +and ObjectType operators were not treated properly. They are now treated
9066 +as
5248 9067 actual references, not method invocations.
5249 9068
5250 -Fixed and enhanced the "list namespace" option (-ln). This option was broken
9069 +Fixed and enhanced the "list namespace" option (-ln). This option was
9070 +broken
5251 9071 a number of releases ago.
5252 9072
5253 -Improved error handling for the Field, IndexField, and BankField operators.
9073 +Improved error handling for the Field, IndexField, and BankField
9074 +operators.
5254 9075 The compiler now cleanly reports and recovers from errors in the field
5255 9076 component (FieldUnit) list.
5256 9077
5257 9078 Fixed a disassembler problem where the optional ResourceDescriptor fields
5258 9079 TRS and TTP were not always handled correctly.
5259 9080
5260 9081 Disassembler - Comments in output now use "//" instead of "/*"
5261 9082
5262 9083 ----------------------------------------
5263 9084 28 February 2005. Summary of changes for version 20050228:
5264 9085
5265 9086 1) ACPI CA Core Subsystem:
5266 9087
5267 9088 Fixed a problem where the result of an Index() operator (an object
5268 -reference) must increment the reference count on the target object for the
9089 +reference) must increment the reference count on the target object for
9090 +the
5269 9091 life of the object reference.
5270 9092
5271 9093 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
5272 -Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace
9094 +Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
9095 +WordSpace
5273 9096 resource descriptors.
5274 9097
5275 9098 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
5276 -Space Descriptor" string, indicating interpreter support for the descriptors
9099 +Space Descriptor" string, indicating interpreter support for the
9100 +descriptors
5277 9101 above.
5278 9102
5279 9103 Implemented header support for the new ACPI 3.0 FADT flag bits.
5280 9104
5281 -Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1
9105 +Implemented header support for the new ACPI 3.0 PCI Express bits for the
9106 +PM1
5282 9107 status/enable registers.
5283 9108
5284 9109 Updated header support for the MADT processor local Apic struct and MADT
5285 9110 platform interrupt source struct for new ACPI 3.0 fields.
5286 9111
5287 9112 Implemented header support for the SRAT and SLIT ACPI tables.
5288 9113
5289 -Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag
9114 +Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
9115 +flag
5290 9116 at runtime.
5291 9117
5292 9118 Code and Data Size: Current and previous core subsystem library sizes are
5293 -shown below. These are the code and data sizes for the acpica.lib produced
9119 +shown below. These are the code and data sizes for the acpica.lib
9120 +produced
5294 9121 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5295 9122 any ACPI driver or OSPM code. The debug version of the code includes the
5296 -debug output trace mechanism and has a much larger code and data size. Note
5297 -that these values will vary depending on the efficiency of the compiler and
9123 +debug output trace mechanism and has a much larger code and data size.
9124 +Note
9125 +that these values will vary depending on the efficiency of the compiler
9126 +and
5298 9127 the compiler options used during generation.
5299 9128
5300 9129 Previous Release:
5301 9130 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
5302 9131 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
5303 9132 Current Release:
5304 9133 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
5305 9134 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
5306 9135
5307 9136
5308 9137 2) iASL Compiler/Disassembler:
5309 9138
5310 -Fixed a problem with the internal 64-bit String-to-integer conversion with
9139 +Fixed a problem with the internal 64-bit String-to-integer conversion
9140 +with
5311 9141 strings less than two characters long.
5312 9142
5313 9143 Fixed a problem with constant folding where the result of the Index()
5314 -operator can not be considered a constant. This means that Index() cannot be
9144 +operator can not be considered a constant. This means that Index() cannot
9145 +be
5315 9146 a type3 opcode and this will require an update to the ACPI specification.
5316 9147
5317 9148 Disassembler: Implemented support for the TTP, MTP, and TRS resource
5318 -descriptor fields. These fields were inadvertently ignored and not output in
9149 +descriptor fields. These fields were inadvertently ignored and not output
9150 +in
5319 9151 the disassembly of the resource descriptor.
5320 9152
5321 9153
5322 9154 ----------------------------------------
5323 9155 11 February 2005. Summary of changes for version 20050211:
5324 9156
5325 9157 1) ACPI CA Core Subsystem:
5326 9158
5327 9159 Implemented ACPI 3.0 support for implicit conversion within the Match()
5328 -operator. MatchObjects can now be of type integer, buffer, or string instead
5329 -of just type integer. Package elements are implicitly converted to the type
9160 +operator. MatchObjects can now be of type integer, buffer, or string
9161 +instead
9162 +of just type integer. Package elements are implicitly converted to the
9163 +type
5330 9164 of the MatchObject. This change aligns the behavior of Match() with the
5331 -behavior of the other logical operators (LLess(), etc.) It also requires an
9165 +behavior of the other logical operators (LLess(), etc.) It also requires
9166 +an
5332 9167 errata change to the ACPI specification as this support was intended for
5333 9168 ACPI 3.0, but was inadvertently omitted.
5334 9169
5335 -Fixed a problem with the internal implicit "to buffer" conversion. Strings
5336 -that are converted to buffers will cause buffer truncation if the string is
5337 -smaller than the target buffer. Integers that are converted to buffers will
9170 +Fixed a problem with the internal implicit "to buffer" conversion.
9171 +Strings
9172 +that are converted to buffers will cause buffer truncation if the string
9173 +is
9174 +smaller than the target buffer. Integers that are converted to buffers
9175 +will
5338 9176 not cause buffer truncation, only zero extension (both as per the ACPI
5339 9177 spec.) The problem was introduced when code was added to truncate the
5340 -buffer, but this should not be performed in all cases, only the string case.
9178 +buffer, but this should not be performed in all cases, only the string
9179 +case.
5341 9180
5342 -Fixed a problem with the Buffer and Package operators where the interpreter
9181 +Fixed a problem with the Buffer and Package operators where the
9182 +interpreter
5343 9183 would get confused if two such operators were used as operands to an ASL
5344 9184 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
5345 -stack was not being popped after the execution of these operators, resulting
9185 +stack was not being popped after the execution of these operators,
9186 +resulting
5346 9187 in an AE_NO_RETURN_VALUE exception.
5347 9188
5348 9189 Fixed a problem with constructs of the form Store(Index(...),...). The
5349 -reference object returned from Index was inadvertently resolved to an actual
5350 -value. This problem was introduced in version 20050114 when the behavior of
9190 +reference object returned from Index was inadvertently resolved to an
9191 +actual
9192 +value. This problem was introduced in version 20050114 when the behavior
9193 +of
5351 9194 Store() was modified to restrict the object types that can be used as the
5352 9195 source operand (to match the ACPI specification.)
5353 9196
5354 9197 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
5355 9198
5356 9199 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
5357 9200
5358 9201 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
5359 9202
5360 9203 Code and Data Size: Current and previous core subsystem library sizes are
5361 -shown below. These are the code and data sizes for the acpica.lib produced
9204 +shown below. These are the code and data sizes for the acpica.lib
9205 +produced
5362 9206 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5363 9207 any ACPI driver or OSPM code. The debug version of the code includes the
5364 -debug output trace mechanism and has a much larger code and data size. Note
5365 -that these values will vary depending on the efficiency of the compiler and
9208 +debug output trace mechanism and has a much larger code and data size.
9209 +Note
9210 +that these values will vary depending on the efficiency of the compiler
9211 +and
5366 9212 the compiler options used during generation.
5367 9213
5368 9214 Previous Release:
5369 9215 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
5370 9216 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
5371 9217 Current Release:
5372 9218 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
5373 9219 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
5374 9220
5375 9221
5376 9222 2) iASL Compiler/Disassembler:
5377 9223
5378 9224 Fixed a code generation problem in the constant folding optimization code
5379 9225 where incorrect code was generated if a constant was reduced to a buffer
5380 9226 object (i.e., a reduced type 5 opcode.)
5381 9227
5382 9228 Fixed a typechecking problem for the ToBuffer operator. Caused by an
5383 9229 incorrect return type in the internal opcode information table.
5384 9230
5385 9231 ----------------------------------------
5386 9232 25 January 2005. Summary of changes for version 20050125:
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
5387 9233
5388 9234 1) ACPI CA Core Subsystem:
5389 9235
5390 9236 Fixed a recently introduced problem with the Global Lock where the
5391 9237 underlying semaphore was not created. This problem was introduced in
5392 9238 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
5393 9239 Acquire() operation on _GL.
5394 9240
5395 9241 The local object cache is now optional, and is disabled by default. Both
5396 9242 AcpiExec and the iASL compiler enable the cache because they run in user
5397 -mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE
9243 +mode and this enhances their performance. #define
9244 +ACPI_ENABLE_OBJECT_CACHE
5398 9245 to enable the local cache.
5399 9246
5400 -Fixed an issue in the internal function AcpiUtEvaluateObject concerning the
5401 -optional "implicit return" support where an error was returned if no return
5402 -object was expected, but one was implicitly returned. AE_OK is now returned
9247 +Fixed an issue in the internal function AcpiUtEvaluateObject concerning
9248 +the
9249 +optional "implicit return" support where an error was returned if no
9250 +return
9251 +object was expected, but one was implicitly returned. AE_OK is now
9252 +returned
5403 9253 in this case and the implicitly returned object is deleted.
5404 -AcpiUtEvaluateObject is only occasionally used, and only to execute reserved
9254 +AcpiUtEvaluateObject is only occasionally used, and only to execute
9255 +reserved
5405 9256 methods such as _STA and _INI where the return type is known up front.
5406 9257
5407 -Fixed a few issues with the internal convert-to-integer code. It now returns
9258 +Fixed a few issues with the internal convert-to-integer code. It now
9259 +returns
5408 9260 an error if an attempt is made to convert a null string, a string of only
5409 -blanks/tabs, or a zero-length buffer. This affects both implicit conversion
9261 +blanks/tabs, or a zero-length buffer. This affects both implicit
9262 +conversion
5410 9263 and explicit conversion via the ToInteger() operator.
5411 9264
5412 -The internal debug code in AcpiUtAcquireMutex has been commented out. It is
5413 -not needed for normal operation and should increase the performance of the
5414 -entire subsystem. The code remains in case it is needed for debug purposes
9265 +The internal debug code in AcpiUtAcquireMutex has been commented out. It
9266 +is
9267 +not needed for normal operation and should increase the performance of
9268 +the
9269 +entire subsystem. The code remains in case it is needed for debug
9270 +purposes
5415 9271 again.
5416 9272
5417 -The AcpiExec source and makefile are included in the Unix/Linux package for
9273 +The AcpiExec source and makefile are included in the Unix/Linux package
9274 +for
5418 9275 the first time.
5419 9276
5420 9277 Code and Data Size: Current and previous core subsystem library sizes are
5421 -shown below. These are the code and data sizes for the acpica.lib produced
9278 +shown below. These are the code and data sizes for the acpica.lib
9279 +produced
5422 9280 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5423 9281 any ACPI driver or OSPM code. The debug version of the code includes the
5424 -debug output trace mechanism and has a much larger code and data size. Note
5425 -that these values will vary depending on the efficiency of the compiler and
9282 +debug output trace mechanism and has a much larger code and data size.
9283 +Note
9284 +that these values will vary depending on the efficiency of the compiler
9285 +and
5426 9286 the compiler options used during generation.
5427 9287
5428 9288 Previous Release:
5429 9289 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
5430 9290 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
5431 9291 Current Release:
5432 9292 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
5433 9293 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
5434 9294
5435 9295 2) iASL Compiler/Disassembler:
5436 9296
5437 -Switch/Case support: A warning is now issued if the type of the Switch value
9297 +Switch/Case support: A warning is now issued if the type of the Switch
9298 +value
5438 9299 cannot be determined at compile time. For example, Switch(Arg0) will
5439 -generate the warning, and the type is assumed to be an integer. As per the
5440 -ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the
9300 +generate the warning, and the type is assumed to be an integer. As per
9301 +the
9302 +ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
9303 +the
5441 9304 warning.
5442 9305
5443 9306 Switch/Case support: Implemented support for buffer and string objects as
5444 9307 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
5445 9308 buffers and strings.
5446 9309
5447 -Switch/Case support: The emitted code for the LEqual() comparisons now uses
5448 -the switch value as the first operand, not the second. The case value is now
9310 +Switch/Case support: The emitted code for the LEqual() comparisons now
9311 +uses
9312 +the switch value as the first operand, not the second. The case value is
9313 +now
5449 9314 the second operand, and this allows the case value to be implicitly
5450 9315 converted to the type of the switch value, not the other way around.
5451 9316
5452 -Switch/Case support: Temporary variables are now emitted immediately within
5453 -the control method, not at the global level. This means that there are now
5454 -36 temps available per-method, not 36 temps per-module as was the case with
9317 +Switch/Case support: Temporary variables are now emitted immediately
9318 +within
9319 +the control method, not at the global level. This means that there are
9320 +now
9321 +36 temps available per-method, not 36 temps per-module as was the case
9322 +with
5455 9323 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
5456 9324
5457 9325 ----------------------------------------
5458 9326 14 January 2005. Summary of changes for version 20050114:
5459 9327
5460 9328 Added 2005 copyright to all module headers. This affects every module in
5461 9329 the core subsystem, iASL compiler, and the utilities.
5462 9330
5463 9331 1) ACPI CA Core Subsystem:
5464 9332
5465 9333 Fixed an issue with the String-to-Buffer conversion code where the string
5466 -null terminator was not included in the buffer after conversion, but there
5467 -is existing ASL that assumes the string null terminator is included. This is
9334 +null terminator was not included in the buffer after conversion, but
9335 +there
9336 +is existing ASL that assumes the string null terminator is included. This
9337 +is
5468 9338 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
5469 9339 introduced in the previous version when the code was updated to correctly
5470 -set the converted buffer size as per the ACPI specification. The ACPI spec
5471 -is ambiguous and will be updated to specify that the null terminator must be
9340 +set the converted buffer size as per the ACPI specification. The ACPI
9341 +spec
9342 +is ambiguous and will be updated to specify that the null terminator must
9343 +be
5472 9344 included in the converted buffer. This also affects the ToBuffer() ASL
5473 9345 operator.
5474 9346
5475 9347 Fixed a problem with the Mid() ASL/AML operator where it did not work
5476 -correctly on Buffer objects. Newly created sub-buffers were not being marked
9348 +correctly on Buffer objects. Newly created sub-buffers were not being
9349 +marked
5477 9350 as initialized.
5478 9351
5479 9352
5480 9353 Fixed a problem in AcpiTbFindTable where incorrect string compares were
5481 -performed on the OemId and OemTableId table header fields. These fields are
9354 +performed on the OemId and OemTableId table header fields. These fields
9355 +are
5482 9356 not null terminated, so strncmp is now used instead of strcmp.
5483 9357
5484 9358 Implemented a restriction on the Store() ASL/AML operator to align the
5485 -behavior with the ACPI specification. Previously, any object could be used
5486 -as the source operand. Now, the only objects that may be used are Integers,
9359 +behavior with the ACPI specification. Previously, any object could be
9360 +used
9361 +as the source operand. Now, the only objects that may be used are
9362 +Integers,
5487 9363 Buffers, Strings, Packages, Object References, and DDB Handles. If
5488 9364 necessary, the original behavior can be restored by enabling the
5489 9365 EnableInterpreterSlack flag.
5490 9366
5491 -Enhanced the optional "implicit return" support to allow an implicit return
9367 +Enhanced the optional "implicit return" support to allow an implicit
9368 +return
5492 9369 value from methods that are invoked externally via the AcpiEvaluateObject
5493 9370 interface. This enables implicit returns from the _STA and _INI methods,
5494 9371 for example.
5495 9372
5496 -Changed the Revision() ASL/AML operator to return the current version of the
5497 -AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned
9373 +Changed the Revision() ASL/AML operator to return the current version of
9374 +the
9375 +AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
9376 +returned
5498 9377 the supported ACPI version (This is the function of the _REV method).
5499 9378
5500 -Updated the _REV predefined method to return the currently supported version
9379 +Updated the _REV predefined method to return the currently supported
9380 +version
5501 9381 of ACPI, now 3.
5502 9382
5503 9383 Implemented batch mode option for the AcpiExec utility (-b).
5504 9384
5505 9385 Code and Data Size: Current and previous core subsystem library sizes are
5506 -shown below. These are the code and data sizes for the acpica.lib produced
9386 +shown below. These are the code and data sizes for the acpica.lib
9387 +produced
5507 9388 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5508 9389 any ACPI driver or OSPM code. The debug version of the code includes the
5509 -debug output trace mechanism and has a much larger code and data size. Note
5510 -that these values will vary depending on the efficiency of the compiler and
9390 +debug output trace mechanism and has a much larger code and data size.
9391 +Note
9392 +that these values will vary depending on the efficiency of the compiler
9393 +and
5511 9394 the compiler options used during generation.
5512 9395
5513 9396 Previous Release:
5514 9397 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
5515 9398 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
5516 9399 Current Release:
5517 9400 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
5518 9401 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
5519 9402
5520 9403 ----------------------------------------
5521 9404 10 December 2004. Summary of changes for version 20041210:
5522 9405
5523 9406 ACPI 3.0 support is nearing completion in both the iASL compiler and the
5524 9407 ACPI CA core subsystem.
5525 9408
5526 9409 1) ACPI CA Core Subsystem:
5527 9410
5528 -Fixed a problem in the ToDecimalString operator where the resulting string
9411 +Fixed a problem in the ToDecimalString operator where the resulting
9412 +string
5529 9413 length was incorrectly calculated. The length is now calculated exactly,
5530 9414 eliminating incorrect AE_STRING_LIMIT exceptions.
5531 9415
5532 -Fixed a problem in the ToHexString operator to allow a maximum 200 character
9416 +Fixed a problem in the ToHexString operator to allow a maximum 200
9417 +character
5533 9418 string to be produced.
5534 9419
5535 -Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy
9420 +Fixed a problem in the internal string-to-buffer and buffer-to-buffer
9421 +copy
5536 9422 routine where the length of the resulting buffer was not truncated to the
5537 9423 new size (if the target buffer already existed).
5538 9424
5539 9425 Code and Data Size: Current and previous core subsystem library sizes are
5540 -shown below. These are the code and data sizes for the acpica.lib produced
9426 +shown below. These are the code and data sizes for the acpica.lib
9427 +produced
5541 9428 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5542 9429 any ACPI driver or OSPM code. The debug version of the code includes the
5543 -debug output trace mechanism and has a much larger code and data size. Note
5544 -that these values will vary depending on the efficiency of the compiler and
9430 +debug output trace mechanism and has a much larger code and data size.
9431 +Note
9432 +that these values will vary depending on the efficiency of the compiler
9433 +and
5545 9434 the compiler options used during generation.
5546 9435
5547 9436 Previous Release:
5548 9437 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
5549 9438 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
5550 9439 Current Release:
5551 9440 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
5552 9441 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
5553 9442
5554 9443
5555 9444 2) iASL Compiler/Disassembler:
5556 9445
5557 9446 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
5558 9447 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
5559 9448 Includes support in the disassembler.
5560 9449
5561 -Implemented support for the new (ACPI 3.0) parameter to the Register macro,
9450 +Implemented support for the new (ACPI 3.0) parameter to the Register
9451 +macro,
5562 9452 AccessSize.
5563 9453
5564 9454 Fixed a problem where the _HE resource name for the Interrupt macro was
5565 9455 referencing bit 0 instead of bit 1.
5566 9456
5567 9457 Implemented check for maximum 255 interrupts in the Interrupt macro.
5568 9458
5569 9459 Fixed a problem with the predefined resource descriptor names where
5570 9460 incorrect AML code was generated if the offset within the resource buffer
5571 9461 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
5572 9462 but did not update the surrounding package lengths.
5573 9463
5574 -Changes to the Dma macro: All channels within the channel list must be in
9464 +Changes to the Dma macro: All channels within the channel list must be
9465 +in
5575 9466 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
5576 9467 optional (default is BusMaster).
5577 9468
5578 9469 Implemented check for maximum 7 data bytes for the VendorShort macro.
5579 9470
5580 -The ReadWrite parameter is now optional for the Memory32 and similar macros.
9471 +The ReadWrite parameter is now optional for the Memory32 and similar
9472 +macros.
5581 9473
5582 9474 ----------------------------------------
5583 9475 03 December 2004. Summary of changes for version 20041203:
5584 9476
5585 9477 1) ACPI CA Core Subsystem:
5586 9478
5587 -The low-level field insertion/extraction code (exfldio) has been completely
9479 +The low-level field insertion/extraction code (exfldio) has been
9480 +completely
5588 9481 rewritten to eliminate unnecessary complexity, bugs, and boundary
5589 9482 conditions.
5590 9483
5591 -Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString
9484 +Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
9485 +ToDecimalString
5592 9486 operators where the input operand could be inadvertently deleted if no
5593 9487 conversion was necessary (e.g., if the input to ToInteger was an Integer
5594 9488 object.)
5595 9489
5596 -Fixed a problem with the ToDecimalString and ToHexString where an incorrect
9490 +Fixed a problem with the ToDecimalString and ToHexString where an
9491 +incorrect
5597 9492 exception code was returned if the resulting string would be > 200 chars.
5598 9493 AE_STRING_LIMIT is now returned.
5599 9494
5600 9495 Fixed a problem with the Concatenate operator where AE_OK was always
5601 9496 returned, even if the operation failed.
5602 9497
5603 9498 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
5604 9499 semaphores to be allocated.
5605 9500
5606 9501 Code and Data Size: Current and previous core subsystem library sizes are
5607 -shown below. These are the code and data sizes for the acpica.lib produced
9502 +shown below. These are the code and data sizes for the acpica.lib
9503 +produced
5608 9504 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5609 9505 any ACPI driver or OSPM code. The debug version of the code includes the
5610 -debug output trace mechanism and has a much larger code and data size. Note
5611 -that these values will vary depending on the efficiency of the compiler and
9506 +debug output trace mechanism and has a much larger code and data size.
9507 +Note
9508 +that these values will vary depending on the efficiency of the compiler
9509 +and
5612 9510 the compiler options used during generation.
5613 9511
5614 9512 Previous Release:
5615 9513 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
5616 9514 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
5617 9515 Current Release:
5618 9516 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
5619 9517 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
5620 9518
5621 9519
5622 9520 2) iASL Compiler/Disassembler:
5623 9521
5624 9522 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
5625 9523 recently introduced in 20041119.
5626 9524
5627 -Fixed a problem with the ToUUID macro where the upper nybble of each buffer
9525 +Fixed a problem with the ToUUID macro where the upper nybble of each
9526 +buffer
5628 9527 byte was inadvertently set to zero.
5629 9528
5630 9529 ----------------------------------------
5631 9530 19 November 2004. Summary of changes for version 20041119:
5632 9531
5633 9532 1) ACPI CA Core Subsystem:
5634 9533
5635 -Fixed a problem in the internal ConvertToInteger routine where new integers
5636 -were not truncated to 32 bits for 32-bit ACPI tables. This routine converts
9534 +Fixed a problem in the internal ConvertToInteger routine where new
9535 +integers
9536 +were not truncated to 32 bits for 32-bit ACPI tables. This routine
9537 +converts
5637 9538 buffers and strings to integers.
5638 9539
5639 -Implemented support to store a value to an Index() on a String object. This
9540 +Implemented support to store a value to an Index() on a String object.
9541 +This
5640 9542 is an ACPI 2.0 feature that had not yet been implemented.
5641 9543
5642 -Implemented new behavior for storing objects to individual package elements
5643 -(via the Index() operator). The previous behavior was to invoke the implicit
9544 +Implemented new behavior for storing objects to individual package
9545 +elements
9546 +(via the Index() operator). The previous behavior was to invoke the
9547 +implicit
5644 9548 conversion rules if an object was already present at the index. The new
5645 -behavior is to simply delete any existing object and directly store the new
5646 -object. Although the ACPI specification seems unclear on this subject, other
9549 +behavior is to simply delete any existing object and directly store the
9550 +new
9551 +object. Although the ACPI specification seems unclear on this subject,
9552 +other
5647 9553 ACPI implementations behave in this manner. (This is the root of the
5648 9554 AE_BAD_HEX_CONSTANT issue.)
5649 9555
5650 -Modified the RSDP memory scan mechanism to support the extended checksum for
9556 +Modified the RSDP memory scan mechanism to support the extended checksum
9557 +for
5651 9558 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
5652 9559 RSDP signature is found with a valid checksum.
5653 9560
5654 9561 Code and Data Size: Current and previous core subsystem library sizes are
5655 -shown below. These are the code and data sizes for the acpica.lib produced
9562 +shown below. These are the code and data sizes for the acpica.lib
9563 +produced
5656 9564 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5657 9565 any ACPI driver or OSPM code. The debug version of the code includes the
5658 -debug output trace mechanism and has a much larger code and data size. Note
5659 -that these values will vary depending on the efficiency of the compiler and
9566 +debug output trace mechanism and has a much larger code and data size.
9567 +Note
9568 +that these values will vary depending on the efficiency of the compiler
9569 +and
5660 9570 the compiler options used during generation.
5661 9571
5662 9572 Previous Release:
5663 9573 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
5664 9574 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
5665 9575 Current Release:
5666 9576 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
5667 9577 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
5668 9578
5669 9579
5670 9580 2) iASL Compiler/Disassembler:
5671 9581
5672 9582 Fixed a missing semicolon in the aslcompiler.y file.
5673 9583
5674 9584 ----------------------------------------
5675 9585 05 November 2004. Summary of changes for version 20041105:
5676 9586
5677 9587 1) ACPI CA Core Subsystem:
5678 9588
5679 -Implemented support for FADT revision 2. This was an interim table (between
9589 +Implemented support for FADT revision 2. This was an interim table
9590 +(between
5680 9591 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
5681 9592
5682 9593 Implemented optional support to allow uninitialized LocalX and ArgX
5683 -variables in a control method. The variables are initialized to an Integer
9594 +variables in a control method. The variables are initialized to an
9595 +Integer
5684 9596 object with a value of zero. This support is enabled by setting the
5685 9597 AcpiGbl_EnableInterpreterSlack flag to TRUE.
5686 9598
5687 -Implemented support for Integer objects for the SizeOf operator. Either 4
5688 -or 8 is returned, depending on the current integer size (32-bit or 64-bit,
9599 +Implemented support for Integer objects for the SizeOf operator. Either
9600 +4
9601 +or 8 is returned, depending on the current integer size (32-bit or 64-
9602 +bit,
5689 9603 depending on the parent table revision).
5690 9604
5691 -Fixed a problem in the implementation of the SizeOf and ObjectType operators
9605 +Fixed a problem in the implementation of the SizeOf and ObjectType
9606 +operators
5692 9607 where the operand was resolved to a value too early, causing incorrect
5693 9608 return values for some objects.
5694 9609
5695 9610 Fixed some possible memory leaks during exceptional conditions.
5696 9611
5697 9612 Code and Data Size: Current and previous core subsystem library sizes are
5698 -shown below. These are the code and data sizes for the acpica.lib produced
9613 +shown below. These are the code and data sizes for the acpica.lib
9614 +produced
5699 9615 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5700 9616 any ACPI driver or OSPM code. The debug version of the code includes the
5701 -debug output trace mechanism and has a much larger code and data size. Note
5702 -that these values will vary depending on the efficiency of the compiler and
9617 +debug output trace mechanism and has a much larger code and data size.
9618 +Note
9619 +that these values will vary depending on the efficiency of the compiler
9620 +and
5703 9621 the compiler options used during generation.
5704 9622
5705 9623 Previous Release:
5706 9624 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
5707 9625 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
5708 9626 Current Release:
5709 9627 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
5710 9628 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
5711 9629
5712 9630
5713 9631 2) iASL Compiler/Disassembler:
5714 9632
5715 9633 Implemented support for all ACPI 3.0 reserved names and methods.
5716 9634
5717 9635 Implemented all ACPI 3.0 grammar elements in the front-end, including
5718 9636 support for semicolons.
5719 9637
5720 9638 Implemented the ACPI 3.0 Function() and ToUUID() macros
5721 9639
5722 9640 Fixed a problem in the disassembler where a Scope() operator would not be
5723 9641 emitted properly if the target of the scope was in another table.
5724 9642
5725 9643 ----------------------------------------
5726 9644 15 October 2004. Summary of changes for version 20041015:
5727 9645
5728 9646 Note: ACPI CA is currently undergoing an in-depth and complete formal
5729 9647 evaluation to test/verify the following areas. Other suggestions are
5730 9648 welcome. This will result in an increase in the frequency of releases and
5731 9649 the number of bug fixes in the next few months.
5732 9650 - Functional tests for all ASL/AML operators
5733 9651 - All implicit/explicit type conversions
↓ open down ↓ |
21 lines elided |
↑ open up ↑ |
5734 9652 - Bit fields and operation regions
5735 9653 - 64-bit math support and 32-bit-only "truncated" math support
5736 9654 - Exceptional conditions, both compiler and interpreter
5737 9655 - Dynamic object deletion and memory leaks
5738 9656 - ACPI 3.0 support when implemented
5739 9657 - External interfaces to the ACPI subsystem
5740 9658
5741 9659
5742 9660 1) ACPI CA Core Subsystem:
5743 9661
5744 -Fixed two alignment issues on 64-bit platforms - within debug statements in
5745 -AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address
9662 +Fixed two alignment issues on 64-bit platforms - within debug statements
9663 +in
9664 +AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
9665 +Address
5746 9666 field within the non-aligned ACPI generic address structure.
5747 9667
5748 9668 Fixed a problem in the Increment and Decrement operators where incorrect
5749 9669 operand resolution could result in the inadvertent modification of the
5750 9670 original integer when the integer is passed into another method as an
5751 9671 argument and the arg is then incremented/decremented.
5752 9672
5753 -Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit
9673 +Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
9674 +bit
5754 9675 BCD number were truncated during conversion.
5755 9676
5756 -Fixed a problem in the ToDecimal operator where the length of the resulting
5757 -string could be set incorrectly too long if the input operand was a Buffer
9677 +Fixed a problem in the ToDecimal operator where the length of the
9678 +resulting
9679 +string could be set incorrectly too long if the input operand was a
9680 +Buffer
5758 9681 object.
5759 9682
5760 -Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0)
9683 +Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
9684 +(0)
5761 9685 within a buffer would prematurely terminate a compare between buffer
5762 9686 objects.
5763 9687
5764 9688 Added a check for string overflow (>200 characters as per the ACPI
5765 9689 specification) during the Concatenate operator with two string operands.
5766 9690
5767 9691 Code and Data Size: Current and previous core subsystem library sizes are
5768 -shown below. These are the code and data sizes for the acpica.lib produced
9692 +shown below. These are the code and data sizes for the acpica.lib
9693 +produced
5769 9694 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5770 9695 any ACPI driver or OSPM code. The debug version of the code includes the
5771 -debug output trace mechanism and has a much larger code and data size. Note
5772 -that these values will vary depending on the efficiency of the compiler and
9696 +debug output trace mechanism and has a much larger code and data size.
9697 +Note
9698 +that these values will vary depending on the efficiency of the compiler
9699 +and
5773 9700 the compiler options used during generation.
5774 9701
5775 9702 Previous Release:
5776 9703 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
5777 9704 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
5778 9705 Current Release:
5779 9706 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
5780 9707 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
5781 9708
5782 9709
5783 9710
5784 9711 2) iASL Compiler/Disassembler:
5785 9712
5786 9713 Allow the use of the ObjectType operator on uninitialized Locals and Args
5787 9714 (returns 0 as per the ACPI specification).
5788 9715
5789 -Fixed a problem where the compiler would fault if there was a syntax error
9716 +Fixed a problem where the compiler would fault if there was a syntax
9717 +error
5790 9718 in the FieldName of all of the various CreateXXXField operators.
5791 9719
5792 -Disallow the use of lower case letters within the EISAID macro, as per the
5793 -ACPI specification. All EISAID strings must be of the form "UUUNNNN" Where
9720 +Disallow the use of lower case letters within the EISAID macro, as per
9721 +the
9722 +ACPI specification. All EISAID strings must be of the form "UUUNNNN"
9723 +Where
5794 9724 U is an uppercase letter and N is a hex digit.
5795 9725
5796 9726
5797 9727 ----------------------------------------
5798 9728 06 October 2004. Summary of changes for version 20041006:
5799 9729
5800 9730 1) ACPI CA Core Subsystem:
5801 9731
5802 9732 Implemented support for the ACPI 3.0 Timer operator. This ASL function
5803 9733 implements a 64-bit timer with 100 nanosecond granularity.
5804 9734
5805 9735 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
5806 -implement the ACPI 3.0 Timer operator. This allows the host OS to implement
5807 -the timer with the best clock available. Also, it keeps the core subsystem
9736 +implement the ACPI 3.0 Timer operator. This allows the host OS to
9737 +implement
9738 +the timer with the best clock available. Also, it keeps the core
9739 +subsystem
5808 9740 out of the clock handling business, since the host OS (usually) performs
5809 9741 this function.
5810 9742
5811 9743 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
5812 9744 functions use a 64-bit address which is part of the packed ACPI Generic
5813 -Address Structure. Since the structure is non-aligned, the alignment macros
9745 +Address Structure. Since the structure is non-aligned, the alignment
9746 +macros
5814 9747 are now used to extract the address to a local variable before use.
5815 9748
5816 -Fixed a problem where the ToInteger operator assumed all input strings were
5817 -hexadecimal. The operator now handles both decimal strings and hex strings
9749 +Fixed a problem where the ToInteger operator assumed all input strings
9750 +were
9751 +hexadecimal. The operator now handles both decimal strings and hex
9752 +strings
5818 9753 (prefixed with "0x").
5819 9754
5820 9755 Fixed a problem where the string length in the string object created as a
5821 9756 result of the internal ConvertToString procedure could be incorrect. This
5822 -potentially affected all implicit conversions and also the ToDecimalString
9757 +potentially affected all implicit conversions and also the
9758 +ToDecimalString
5823 9759 and ToHexString operators.
5824 9760
5825 9761 Fixed two problems in the ToString operator. If the length parameter was
5826 9762 zero, an incorrect string object was created and the value of the input
5827 9763 length parameter was inadvertently changed from zero to Ones.
5828 9764
5829 -Fixed a problem where the optional ResourceSource string in the ExtendedIRQ
9765 +Fixed a problem where the optional ResourceSource string in the
9766 +ExtendedIRQ
5830 9767 resource macro was ignored.
5831 9768
5832 -Simplified the interfaces to the internal division functions, reducing code
9769 +Simplified the interfaces to the internal division functions, reducing
9770 +code
5833 9771 size and complexity.
5834 9772
5835 9773 Code and Data Size: Current and previous core subsystem library sizes are
5836 -shown below. These are the code and data sizes for the acpica.lib produced
9774 +shown below. These are the code and data sizes for the acpica.lib
9775 +produced
5837 9776 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5838 9777 any ACPI driver or OSPM code. The debug version of the code includes the
5839 -debug output trace mechanism and has a much larger code and data size. Note
5840 -that these values will vary depending on the efficiency of the compiler and
9778 +debug output trace mechanism and has a much larger code and data size.
9779 +Note
9780 +that these values will vary depending on the efficiency of the compiler
9781 +and
5841 9782 the compiler options used during generation.
5842 9783
5843 9784 Previous Release:
5844 9785 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
5845 9786 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
5846 9787 Current Release:
5847 9788 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
5848 9789 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
5849 9790
5850 9791
5851 9792 2) iASL Compiler/Disassembler:
5852 9793
5853 9794 Implemented support for the ACPI 3.0 Timer operator.
5854 9795
5855 -Fixed a problem where the Default() operator was inadvertently ignored in a
9796 +Fixed a problem where the Default() operator was inadvertently ignored in
9797 +a
5856 9798 Switch/Case block. This was a problem in the translation of the Switch
5857 9799 statement to If...Else pairs.
5858 9800
5859 -Added support to allow a standalone Return operator, with no parentheses (or
9801 +Added support to allow a standalone Return operator, with no parentheses
9802 +(or
5860 9803 operands).
5861 9804
5862 9805 Fixed a problem with code generation for the ElseIf operator where the
5863 9806 translated Else...If parse tree was improperly constructed leading to the
5864 9807 loss of some code.
5865 9808
5866 9809 ----------------------------------------
5867 9810 22 September 2004. Summary of changes for version 20040922:
5868 9811
5869 9812 1) ACPI CA Core Subsystem:
5870 9813
5871 -Fixed a problem with the implementation of the LNot() operator where "Ones"
5872 -was not returned for the TRUE case. Changed the code to return Ones instead
5873 -of (!Arg) which was usually 1. This change affects iASL constant folding for
9814 +Fixed a problem with the implementation of the LNot() operator where
9815 +"Ones"
9816 +was not returned for the TRUE case. Changed the code to return Ones
9817 +instead
9818 +of (!Arg) which was usually 1. This change affects iASL constant folding
9819 +for
5874 9820 this operator also.
5875 9821
5876 -Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not
9822 +Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
9823 +not
5877 9824 initialized properly -- Now zero the entire buffer in this case where the
5878 9825 buffer already exists.
5879 9826
5880 9827 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
5881 9828 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
5882 9829 related code considerably. This will require changes/updates to all OS
5883 9830 interface layers (OSLs.)
5884 9831
5885 -Implemented a new external interface, AcpiInstallExceptionHandler, to allow
5886 -a system exception handler to be installed. This handler is invoked upon any
9832 +Implemented a new external interface, AcpiInstallExceptionHandler, to
9833 +allow
9834 +a system exception handler to be installed. This handler is invoked upon
9835 +any
5887 9836 run-time exception that occurs during control method execution.
5888 9837
5889 9838 Added support for the DSDT in AcpiTbFindTable. This allows the
5890 9839 DataTableRegion() operator to access the local copy of the DSDT.
5891 9840
5892 9841 Code and Data Size: Current and previous core subsystem library sizes are
5893 -shown below. These are the code and data sizes for the acpica.lib produced
9842 +shown below. These are the code and data sizes for the acpica.lib
9843 +produced
5894 9844 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5895 9845 any ACPI driver or OSPM code. The debug version of the code includes the
5896 -debug output trace mechanism and has a much larger code and data size. Note
5897 -that these values will vary depending on the efficiency of the compiler and
9846 +debug output trace mechanism and has a much larger code and data size.
9847 +Note
9848 +that these values will vary depending on the efficiency of the compiler
9849 +and
5898 9850 the compiler options used during generation.
5899 9851
5900 9852 Previous Release:
5901 9853 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
5902 9854 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
5903 9855 Current Release:
5904 9856 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
5905 9857 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
5906 9858
5907 9859
5908 9860 2) iASL Compiler/Disassembler:
5909 9861
5910 9862 Fixed a problem with constant folding and the LNot operator. LNot was
5911 -returning 1 in the TRUE case, not Ones as per the ACPI specification. This
9863 +returning 1 in the TRUE case, not Ones as per the ACPI specification.
9864 +This
5912 9865 could result in the generation of an incorrect folded/reduced constant.
5913 9866
5914 9867 End-Of-File is now allowed within a "//"-style comment. A parse error no
5915 -longer occurs if such a comment is at the very end of the input ASL source
9868 +longer occurs if such a comment is at the very end of the input ASL
9869 +source
5916 9870 file.
5917 9871
5918 9872 Implemented the "-r" option to override the Revision in the table header.
5919 -The initial use of this option will be to simplify the evaluation of the AML
5920 -interpreter by allowing a single ASL source module to be compiled for either
9873 +The initial use of this option will be to simplify the evaluation of the
9874 +AML
9875 +interpreter by allowing a single ASL source module to be compiled for
9876 +either
5921 9877 32-bit or 64-bit integers.
5922 9878
5923 9879
5924 9880 ----------------------------------------
5925 9881 27 August 2004. Summary of changes for version 20040827:
5926 9882
5927 9883 1) ACPI CA Core Subsystem:
5928 9884
5929 9885 - Implemented support for implicit object conversion in the non-numeric
5930 -logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and
9886 +logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
9887 +and
5931 9888 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
5932 -the second operand is implicitly converted on the fly to match the type of
9889 +the second operand is implicitly converted on the fly to match the type
9890 +of
5933 9891 the first operand. For example:
5934 9892
5935 9893 LEqual (Source1, Source2)
5936 9894
5937 -Source1 and Source2 must each evaluate to an integer, a string, or a buffer.
5938 -The data type of Source1 dictates the required type of Source2. Source2 is
9895 +Source1 and Source2 must each evaluate to an integer, a string, or a
9896 +buffer.
9897 +The data type of Source1 dictates the required type of Source2. Source2
9898 +is
5939 9899 implicitly converted if necessary to match the type of Source1.
5940 9900
5941 -- Updated and corrected the behavior of the string conversion support. The
9901 +- Updated and corrected the behavior of the string conversion support.
9902 +The
5942 9903 rules concerning conversion of buffers to strings (according to the ACPI
5943 9904 specification) are as follows:
5944 9905
5945 9906 ToDecimalString - explicit byte-wise conversion of buffer to string of
5946 -decimal values (0-255) separated by commas. ToHexString - explicit byte-wise
9907 +decimal values (0-255) separated by commas. ToHexString - explicit byte-
9908 +wise
5947 9909 conversion of buffer to string of hex values (0-FF) separated by commas.
5948 -ToString - explicit byte-wise conversion of buffer to string. Byte-by-byte
5949 -copy with no transform except NULL terminated. Any other implicit buffer-to-
5950 -string conversion - byte-wise conversion of buffer to string of hex values
9910 +ToString - explicit byte-wise conversion of buffer to string. Byte-by-
9911 +byte
9912 +copy with no transform except NULL terminated. Any other implicit buffer-
9913 +to-
9914 +string conversion - byte-wise conversion of buffer to string of hex
9915 +values
5951 9916 (0-FF) separated by spaces.
5952 9917
5953 9918 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
5954 9919
5955 -- Fixed a problem in AcpiNsGetPathnameLength where the returned length was
9920 +- Fixed a problem in AcpiNsGetPathnameLength where the returned length
9921 +was
5956 9922 one byte too short in the case of a node in the root scope. This could
5957 9923 cause a fault during debug output.
5958 9924
5959 -- Code and Data Size: Current and previous core subsystem library sizes are
5960 -shown below. These are the code and data sizes for the acpica.lib produced
9925 +- Code and Data Size: Current and previous core subsystem library sizes
9926 +are
9927 +shown below. These are the code and data sizes for the acpica.lib
9928 +produced
5961 9929 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5962 9930 any ACPI driver or OSPM code. The debug version of the code includes the
5963 -debug output trace mechanism and has a much larger code and data size. Note
5964 -that these values will vary depending on the efficiency of the compiler and
9931 +debug output trace mechanism and has a much larger code and data size.
9932 +Note
9933 +that these values will vary depending on the efficiency of the compiler
9934 +and
5965 9935 the compiler options used during generation.
5966 9936
5967 9937 Previous Release:
5968 9938 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
5969 9939 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
5970 9940 Current Release:
5971 9941 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
5972 9942 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
5973 9943
5974 9944
5975 9945 2) iASL Compiler/Disassembler:
↓ open down ↓ |
1 lines elided |
↑ open up ↑ |
5976 9946
5977 9947 - Fixed a Linux generation error.
5978 9948
5979 9949
5980 9950 ----------------------------------------
5981 9951 16 August 2004. Summary of changes for version 20040816:
5982 9952
5983 9953 1) ACPI CA Core Subsystem:
5984 9954
5985 9955 Designed and implemented support within the AML interpreter for the so-
5986 -called "implicit return". This support returns the result of the last ASL
9956 +called "implicit return". This support returns the result of the last
9957 +ASL
5987 9958 operation within a control method, in the absence of an explicit Return()
5988 9959 operator. A few machines depend on this behavior, even though it is not
5989 -explicitly supported by the ASL language. It is optional support that can
9960 +explicitly supported by the ASL language. It is optional support that
9961 +can
5990 9962 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
5991 9963
5992 -Removed support for the PCI_Config address space from the internal low level
9964 +Removed support for the PCI_Config address space from the internal low
9965 +level
5993 9966 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
5994 -support was not used internally, and would not work correctly anyway because
9967 +support was not used internally, and would not work correctly anyway
9968 +because
5995 9969 the PCI bus number and segment number were not supported. There are
5996 -separate interfaces for PCI configuration space access because of the unique
9970 +separate interfaces for PCI configuration space access because of the
9971 +unique
5997 9972 interface.
5998 9973
5999 9974 Code and Data Size: Current and previous core subsystem library sizes are
6000 -shown below. These are the code and data sizes for the acpica.lib produced
9975 +shown below. These are the code and data sizes for the acpica.lib
9976 +produced
6001 9977 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6002 9978 any ACPI driver or OSPM code. The debug version of the code includes the
6003 -debug output trace mechanism and has a much larger code and data size. Note
6004 -that these values will vary depending on the efficiency of the compiler and
9979 +debug output trace mechanism and has a much larger code and data size.
9980 +Note
9981 +that these values will vary depending on the efficiency of the compiler
9982 +and
6005 9983 the compiler options used during generation.
6006 9984
6007 9985 Previous Release:
6008 9986 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
6009 9987 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
6010 9988 Current Release:
6011 9989 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
6012 9990 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
6013 9991
6014 9992
6015 9993 2) iASL Compiler/Disassembler:
6016 9994
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
6017 9995 Fixed a problem where constants in ASL expressions at the root level (not
6018 9996 within a control method) could be inadvertently truncated during code
6019 9997 generation. This problem was introduced in the 20040715 release.
6020 9998
6021 9999
6022 10000 ----------------------------------------
6023 10001 15 July 2004. Summary of changes for version 20040715:
6024 10002
6025 10003 1) ACPI CA Core Subsystem:
6026 10004
6027 -Restructured the internal HW GPE interfaces to pass/track the current state
10005 +Restructured the internal HW GPE interfaces to pass/track the current
10006 +state
6028 10007 of interrupts (enabled/disabled) in order to avoid possible deadlock and
6029 10008 increase flexibility of the interfaces.
6030 10009
6031 -Implemented a "lexicographical compare" for String and Buffer objects within
6032 -the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual --
6033 -as per further clarification to the ACPI specification. Behavior is similar
10010 +Implemented a "lexicographical compare" for String and Buffer objects
10011 +within
10012 +the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
10013 +-
10014 +as per further clarification to the ACPI specification. Behavior is
10015 +similar
6034 10016 to C library "strcmp".
6035 10017
6036 10018 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
6037 10019 external function. In the 32-bit non-debug case, the stack use has been
6038 10020 reduced from 168 bytes to 32 bytes.
6039 10021
6040 -Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack,
10022 +Deployed a new run-time configuration flag,
10023 +AcpiGbl_EnableInterpreterSlack,
6041 10024 whose purpose is to allow the AML interpreter to forgive certain bad AML
6042 10025 constructs. Default setting is FALSE.
6043 10026
6044 -Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO
6045 -support code. If enabled, it allows field access to go beyond the end of a
6046 -region definition if the field is within the region length rounded up to the
10027 +Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
10028 +IO
10029 +support code. If enabled, it allows field access to go beyond the end of
10030 +a
10031 +region definition if the field is within the region length rounded up to
10032 +the
6047 10033 next access width boundary (a common coding error.)
6048 10034
6049 10035 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
6050 -ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also, these
10036 +ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
10037 +these
6051 10038 symbols are lowercased by the latest version of the AcpiSrc tool.
6052 10039
6053 10040 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
6054 10041 rename "Register" to simply "Reg" to prevent certain compilers from
6055 10042 complaining.
6056 10043
6057 10044 Code and Data Size: Current and previous core subsystem library sizes are
6058 -shown below. These are the code and data sizes for the acpica.lib produced
10045 +shown below. These are the code and data sizes for the acpica.lib
10046 +produced
6059 10047 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6060 10048 any ACPI driver or OSPM code. The debug version of the code includes the
6061 -debug output trace mechanism and has a much larger code and data size. Note
6062 -that these values will vary depending on the efficiency of the compiler and
10049 +debug output trace mechanism and has a much larger code and data size.
10050 +Note
10051 +that these values will vary depending on the efficiency of the compiler
10052 +and
6063 10053 the compiler options used during generation.
6064 10054
6065 10055 Previous Release:
6066 10056 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
6067 10057 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
6068 10058 Current Release:
6069 10059 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
6070 10060 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
6071 10061
6072 10062
6073 10063 2) iASL Compiler/Disassembler:
6074 10064
6075 10065 Implemented full support for Package objects within the Case() operator.
6076 10066 Note: The Break() operator is currently not supported within Case blocks
6077 -(TermLists) as there is some question about backward compatibility with ACPI
10067 +(TermLists) as there is some question about backward compatibility with
10068 +ACPI
6078 10069 1.0 interpreters.
6079 10070
6080 10071
6081 -Fixed a problem where complex terms were not supported properly within the
10072 +Fixed a problem where complex terms were not supported properly within
10073 +the
6082 10074 Switch() operator.
6083 10075
6084 10076 Eliminated extraneous warning for compiler-emitted reserved names of the
6085 10077 form "_T_x". (Used in Switch/Case operators.)
6086 10078
6087 10079 Eliminated optimization messages for "_T_x" objects and small constants
6088 10080 within the DefinitionBlock operator.
6089 10081
6090 10082
6091 10083 ----------------------------------------
6092 10084 15 June 2004. Summary of changes for version 20040615:
6093 10085
6094 10086 1) ACPI CA Core Subsystem:
6095 10087
6096 -Implemented support for Buffer and String objects (as per ACPI 2.0) for the
10088 +Implemented support for Buffer and String objects (as per ACPI 2.0) for
10089 +the
6097 10090 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
6098 10091 LLessEqual.
6099 10092
6100 10093 All directory names in the entire source package are lower case, as they
6101 10094 were in earlier releases.
6102 10095
6103 -Implemented "Disassemble" command in the AML debugger that will disassemble
10096 +Implemented "Disassemble" command in the AML debugger that will
10097 +disassemble
6104 10098 a single control method.
6105 10099
6106 10100 Code and Data Size: Current and previous core subsystem library sizes are
6107 -shown below. These are the code and data sizes for the acpica.lib produced
10101 +shown below. These are the code and data sizes for the acpica.lib
10102 +produced
6108 10103 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6109 10104 any ACPI driver or OSPM code. The debug version of the code includes the
6110 -debug output trace mechanism and has a much larger code and data size. Note
6111 -that these values will vary depending on the efficiency of the compiler and
10105 +debug output trace mechanism and has a much larger code and data size.
10106 +Note
10107 +that these values will vary depending on the efficiency of the compiler
10108 +and
6112 10109 the compiler options used during generation.
6113 10110
6114 10111 Previous Release:
6115 10112 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
6116 10113 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
6117 10114
6118 10115 Current Release:
6119 10116 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
6120 10117 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
6121 10118
6122 10119
6123 10120 2) iASL Compiler/Disassembler:
6124 10121
6125 -Implemented support for Buffer and String objects (as per ACPI 2.0) for the
10122 +Implemented support for Buffer and String objects (as per ACPI 2.0) for
10123 +the
6126 10124 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
6127 10125 LLessEqual.
6128 10126
6129 10127 All directory names in the entire source package are lower case, as they
6130 10128 were in earlier releases.
6131 10129
6132 10130 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
6133 10131 not found.
6134 10132
6135 -Fixed an issue with the Windows version of the compiler where later versions
10133 +Fixed an issue with the Windows version of the compiler where later
10134 +versions
6136 10135 of Windows place the FADT in the registry under the name "FADT" and not
6137 10136 "FACP" as earlier versions did. This applies when using the -g or -
6138 10137 d<nofilename> options. The compiler now looks for both strings as
6139 10138 necessary.
6140 10139
6141 -Fixed a problem with compiler namepath optimization where a namepath within
6142 -the Scope() operator could not be optimized if the namepath was a subpath of
10140 +Fixed a problem with compiler namepath optimization where a namepath
10141 +within
10142 +the Scope() operator could not be optimized if the namepath was a subpath
10143 +of
6143 10144 the current scope path.
6144 10145
6145 10146 ----------------------------------------
6146 10147 27 May 2004. Summary of changes for version 20040527:
6147 10148
6148 10149 1) ACPI CA Core Subsystem:
6149 10150
6150 -Completed a new design and implementation for EBDA (Extended BIOS Data Area)
6151 -support in the RSDP scan code. The original code improperly scanned for the
6152 -EBDA by simply scanning from memory location 0 to 0x400. The correct method
10151 +Completed a new design and implementation for EBDA (Extended BIOS Data
10152 +Area)
10153 +support in the RSDP scan code. The original code improperly scanned for
10154 +the
10155 +EBDA by simply scanning from memory location 0 to 0x400. The correct
10156 +method
6153 10157 is to first obtain the EBDA pointer from within the BIOS data area, then
6154 -scan 1K of memory starting at the EBDA pointer. There appear to be few if
10158 +scan 1K of memory starting at the EBDA pointer. There appear to be few
10159 +if
6155 10160 any machines that place the RSDP in the EBDA, however.
6156 10161
6157 10162 Integrated a fix for a possible fault during evaluation of BufferField
6158 10163 arguments. Obsolete code that was causing the problem was removed.
6159 10164
6160 10165 Found and fixed a problem in the Field Support Code where data could be
6161 10166 corrupted on a bit field read that starts on an aligned boundary but does
6162 10167 not end on an aligned boundary. Merged the read/write "datum length"
6163 10168 calculation code into a common procedure.
6164 10169
6165 10170 Rolled in a couple of changes to the FreeBSD-specific header.
6166 10171
6167 10172
6168 10173 Code and Data Size: Current and previous core subsystem library sizes are
6169 -shown below. These are the code and data sizes for the acpica.lib produced
10174 +shown below. These are the code and data sizes for the acpica.lib
10175 +produced
6170 10176 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6171 10177 any ACPI driver or OSPM code. The debug version of the code includes the
6172 -debug output trace mechanism and has a much larger code and data size. Note
6173 -that these values will vary depending on the efficiency of the compiler and
10178 +debug output trace mechanism and has a much larger code and data size.
10179 +Note
10180 +that these values will vary depending on the efficiency of the compiler
10181 +and
6174 10182 the compiler options used during generation.
6175 10183
6176 10184 Previous Release:
6177 10185 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
6178 10186 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
6179 10187 Current Release:
6180 10188 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
6181 10189 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
6182 10190
6183 10191
6184 10192 2) iASL Compiler/Disassembler:
6185 10193
6186 -Fixed a generation warning produced by some overly-verbose compilers for a
10194 +Fixed a generation warning produced by some overly-verbose compilers for
10195 +a
6187 10196 64-bit constant.
6188 10197
6189 10198 ----------------------------------------
6190 10199 14 May 2004. Summary of changes for version 20040514:
6191 10200
6192 10201 1) ACPI CA Core Subsystem:
6193 10202
6194 10203 Fixed a problem where hardware GPE enable bits sometimes not set properly
6195 10204 during and after GPE method execution. Result of 04/27 changes.
6196 10205
6197 10206 Removed extra "clear all GPEs" when sleeping/waking.
6198 10207
6199 10208 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
6200 -AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to
10209 +AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
10210 +to
6201 10211 the new AcpiEv* calls as appropriate.
6202 10212
6203 -ACPI_OS_NAME was removed from the OS-specific headers. The default name is
6204 -now "Microsoft Windows NT" for maximum compatibility. However this can be
10213 +ACPI_OS_NAME was removed from the OS-specific headers. The default name
10214 +is
10215 +now "Microsoft Windows NT" for maximum compatibility. However this can
10216 +be
6205 10217 changed by modifying the acconfig.h file.
6206 10218
6207 10219 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
6208 10220 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
6209 10221
6210 10222 Run _INI methods on ThermalZone objects. This is against the ACPI
6211 -specification, but there is apparently ASL code in the field that has these
10223 +specification, but there is apparently ASL code in the field that has
10224 +these
6212 10225 _INI methods, and apparently "other" AML interpreters execute them.
6213 10226
6214 10227 Performed a full 16/32/64 bit lint that resulted in some small changes.
6215 10228
6216 10229 Added a sleep simulation command to the AML debugger to test sleep code.
6217 10230
6218 10231 Code and Data Size: Current and previous core subsystem library sizes are
6219 -shown below. These are the code and data sizes for the acpica.lib produced
10232 +shown below. These are the code and data sizes for the acpica.lib
10233 +produced
6220 10234 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6221 10235 any ACPI driver or OSPM code. The debug version of the code includes the
6222 -debug output trace mechanism and has a much larger code and data size. Note
6223 -that these values will vary depending on the efficiency of the compiler and
10236 +debug output trace mechanism and has a much larger code and data size.
10237 +Note
10238 +that these values will vary depending on the efficiency of the compiler
10239 +and
6224 10240 the compiler options used during generation.
6225 10241
6226 10242 Previous Release:
6227 10243 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
6228 10244 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
6229 10245 Current Release:
6230 10246 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
6231 10247 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
6232 10248
6233 10249 ----------------------------------------
6234 10250 27 April 2004. Summary of changes for version 20040427:
6235 10251
6236 10252 1) ACPI CA Core Subsystem:
6237 10253
6238 10254 Completed a major overhaul of the GPE handling within ACPI CA. There are
6239 -now three types of GPEs: wake-only, runtime-only, and combination wake/run.
10255 +now three types of GPEs: wake-only, runtime-only, and combination
10256 +wake/run.
6240 10257 The only GPEs allowed to be combination wake/run are for button-style
6241 -devices such as a control-method power button, control-method sleep button,
6242 -or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are not
10258 +devices such as a control-method power button, control-method sleep
10259 +button,
10260 +or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
10261 +not
6243 10262 referenced by any _PRW methods are marked for "runtime" and hardware
6244 -enabled. Any GPE that is referenced by a _PRW method is marked for "wake"
10263 +enabled. Any GPE that is referenced by a _PRW method is marked for
10264 +"wake"
6245 10265 (and disabled at runtime). However, at sleep time, only those GPEs that
6246 -have been specifically enabled for wake via the AcpiEnableGpe interface will
10266 +have been specifically enabled for wake via the AcpiEnableGpe interface
10267 +will
6247 10268 actually be hardware enabled.
6248 10269
6249 -A new external interface has been added, AcpiSetGpeType(), that is meant to
6250 -be used by device drivers to force a GPE to a particular type. It will be
10270 +A new external interface has been added, AcpiSetGpeType(), that is meant
10271 +to
10272 +be used by device drivers to force a GPE to a particular type. It will
10273 +be
6251 10274 especially useful for the drivers for the button devices mentioned above.
6252 10275
6253 10276 Completed restructuring of the ACPI CA initialization sequence so that
6254 -default operation region handlers are installed before GPEs are initialized
6255 -and the _PRW methods are executed. This will prevent errors when the _PRW
10277 +default operation region handlers are installed before GPEs are
10278 +initialized
10279 +and the _PRW methods are executed. This will prevent errors when the
10280 +_PRW
6256 10281 methods attempt to access system memory or I/O space.
6257 10282
6258 -GPE enable/disable no longer reads the GPE enable register. We now keep the
10283 +GPE enable/disable no longer reads the GPE enable register. We now keep
10284 +the
6259 10285 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
6260 10286 thus no longer depend on the hardware to maintain these bits.
6261 10287
6262 10288 Always clear the wake status and fixed/GPE status bits before sleep, even
6263 10289 for state S5.
6264 10290
6265 10291 Improved the AML debugger output for displaying the GPE blocks and their
6266 10292 current status.
6267 10293
6268 -Added new strings for the _OSI method, of the form "Windows 2001 SPx" where
10294 +Added new strings for the _OSI method, of the form "Windows 2001 SPx"
10295 +where
6269 10296 x = 0,1,2,3,4.
6270 10297
6271 -Fixed a problem where the physical address was incorrectly calculated when
6272 -the Load() operator was used to directly load from an Operation Region (vs.
6273 -loading from a Field object.) Also added check for minimum table length for
10298 +Fixed a problem where the physical address was incorrectly calculated
10299 +when
10300 +the Load() operator was used to directly load from an Operation Region
10301 +(vs.
10302 +loading from a Field object.) Also added check for minimum table length
10303 +for
6274 10304 this case.
6275 10305
6276 10306 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
6277 10307 mutex release.
6278 10308
6279 10309 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
6280 10310 consistency with the other fields returned.
6281 10311
6282 10312 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
6283 10313 structure for each GPE in the system, so the size of this structure is
6284 10314 important.
6285 10315
6286 -CPU stack requirement reduction: Cleaned up the method execution and object
10316 +CPU stack requirement reduction: Cleaned up the method execution and
10317 +object
6287 10318 evaluation paths so that now a parameter structure is passed, instead of
6288 10319 copying the various method parameters over and over again.
6289 10320
6290 10321 In evregion.c: Correctly exit and reenter the interpreter region if and
6291 -only if dispatching an operation region request to a user-installed handler.
10322 +only if dispatching an operation region request to a user-installed
10323 +handler.
6292 10324 Do not exit/reenter when dispatching to a default handler (e.g., default
6293 10325 system memory or I/O handlers)
6294 10326
6295 10327
6296 -Notes for updating drivers for the new GPE support. The following changes
6297 -must be made to ACPI-related device drivers that are attached to one or more
6298 -GPEs: (This information will be added to the ACPI CA Programmer Reference.)
10328 +Notes for updating drivers for the new GPE support. The following
10329 +changes
10330 +must be made to ACPI-related device drivers that are attached to one or
10331 +more
10332 +GPEs: (This information will be added to the ACPI CA Programmer
10333 +Reference.)
6299 10334
6300 -1) AcpiInstallGpeHandler no longer automatically enables the GPE, you must
10335 +1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
10336 +must
6301 10337 explicitly call AcpiEnableGpe.
6302 10338 2) There is a new interface called AcpiSetGpeType. This should be called
6303 10339 before enabling the GPE. Also, this interface will automatically disable
6304 10340 the GPE if it is currently enabled.
6305 10341 3) AcpiEnableGpe no longer supports a GPE type flag.
6306 10342
6307 10343 Specific drivers that must be changed:
6308 10344 1) EC driver:
6309 10345 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
6310 10346 AeGpeHandler, NULL);
6311 10347 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
6312 10348 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
6313 10349
6314 10350 2) Button Drivers (Power, Lid, Sleep):
6315 10351 Run _PRW method under parent device
6316 10352 If _PRW exists: /* This is a control-method button */
6317 10353 Extract GPE number and possibly GpeDevice
6318 10354 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
6319 10355 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
6320 10356
6321 -For all other devices that have _PRWs, we automatically set the GPE type to
6322 -ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled. This
6323 -must be done on a selective basis, usually requiring some kind of user app
10357 +For all other devices that have _PRWs, we automatically set the GPE type
10358 +to
10359 +ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
10360 +This
10361 +must be done on a selective basis, usually requiring some kind of user
10362 +app
6324 10363 to allow the user to pick the wake devices.
6325 10364
6326 10365
6327 10366 Code and Data Size: Current and previous core subsystem library sizes are
6328 -shown below. These are the code and data sizes for the acpica.lib produced
10367 +shown below. These are the code and data sizes for the acpica.lib
10368 +produced
6329 10369 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6330 10370 any ACPI driver or OSPM code. The debug version of the code includes the
6331 -debug output trace mechanism and has a much larger code and data size. Note
6332 -that these values will vary depending on the efficiency of the compiler and
10371 +debug output trace mechanism and has a much larger code and data size.
10372 +Note
10373 +that these values will vary depending on the efficiency of the compiler
10374 +and
6333 10375 the compiler options used during generation.
6334 10376
6335 10377 Previous Release:
6336 10378 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
6337 10379 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
6338 10380 Current Release:
6339 10381
6340 10382 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
6341 10383 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
6342 10384
6343 10385
6344 10386
6345 10387 ----------------------------------------
6346 10388 02 April 2004. Summary of changes for version 20040402:
6347 10389
6348 10390 1) ACPI CA Core Subsystem:
6349 10391
6350 10392 Fixed an interpreter problem where an indirect store through an ArgX
6351 10393 parameter was incorrectly applying the "implicit conversion rules" during
6352 -the store. From the ACPI specification: "If the target is a method local or
10394 +the store. From the ACPI specification: "If the target is a method local
10395 +or
6353 10396 argument (LocalX or ArgX), no conversion is performed and the result is
6354 10397 stored directly to the target". The new behavior is to disable implicit
6355 10398 conversion during ALL stores to an ArgX.
6356 10399
6357 10400 Changed the behavior of the _PRW method scan to ignore any and all errors
6358 10401 returned by a given _PRW. This prevents the scan from aborting from the
6359 10402 failure of any single _PRW.
6360 10403
6361 -Moved the runtime configuration parameters from the global init procedure to
10404 +Moved the runtime configuration parameters from the global init procedure
10405 +to
6362 10406 static variables in acglobal.h. This will allow the host to override the
6363 10407 default values easily.
6364 10408
6365 10409 Code and Data Size: Current and previous core subsystem library sizes are
6366 -shown below. These are the code and data sizes for the acpica.lib produced
10410 +shown below. These are the code and data sizes for the acpica.lib
10411 +produced
6367 10412 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6368 10413 any ACPI driver or OSPM code. The debug version of the code includes the
6369 -debug output trace mechanism and has a much larger code and data size. Note
6370 -that these values will vary depending on the efficiency of the compiler and
10414 +debug output trace mechanism and has a much larger code and data size.
10415 +Note
10416 +that these values will vary depending on the efficiency of the compiler
10417 +and
6371 10418 the compiler options used during generation.
6372 10419
6373 10420 Previous Release:
6374 10421 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
6375 10422 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
6376 10423 Current Release:
6377 10424 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
6378 10425 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
6379 10426
6380 10427
6381 10428 2) iASL Compiler/Disassembler:
6382 10429
6383 -iASL now fully disassembles SSDTs. However, External() statements are not
10430 +iASL now fully disassembles SSDTs. However, External() statements are
10431 +not
6384 10432 generated automatically for unresolved symbols at this time. This is a
6385 10433 planned feature for future implementation.
6386 10434
6387 -Fixed a scoping problem in the disassembler that occurs when the type of the
10435 +Fixed a scoping problem in the disassembler that occurs when the type of
10436 +the
6388 10437 target of a Scope() operator is overridden. This problem caused an
6389 10438 incorrectly nested internal namespace to be constructed.
6390 10439
6391 -Any warnings or errors that are emitted during disassembly are now commented
6392 -out automatically so that the resulting file can be recompiled without any
10440 +Any warnings or errors that are emitted during disassembly are now
10441 +commented
10442 +out automatically so that the resulting file can be recompiled without
10443 +any
6393 10444 hand editing.
6394 10445
6395 10446 ----------------------------------------
6396 10447 26 March 2004. Summary of changes for version 20040326:
6397 10448
6398 10449 1) ACPI CA Core Subsystem:
6399 10450
6400 10451 Implemented support for "wake" GPEs via interaction between GPEs and the
6401 10452 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
6402 10453 identified as a WAKE GPE and by default will no longer be enabled at
6403 -runtime. Previously, we were blindly enabling all GPEs with a corresponding
6404 -_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway. We
10454 +runtime. Previously, we were blindly enabling all GPEs with a
10455 +corresponding
10456 +_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
10457 +We
6405 10458 believe this has been the cause of thousands of "spurious" GPEs on some
6406 10459 systems.
6407 10460
6408 10461 This new GPE behavior is can be reverted to the original behavior (enable
6409 10462 ALL GPEs at runtime) via a runtime flag.
6410 10463
6411 10464 Fixed a problem where aliased control methods could not access objects
6412 10465 properly. The proper scope within the namespace was not initialized
6413 10466 (transferred to the target of the aliased method) before executing the
6414 10467 target method.
6415 10468
6416 -Fixed a potential race condition on internal object deletion on the return
10469 +Fixed a potential race condition on internal object deletion on the
10470 +return
6417 10471 object in AcpiEvaluateObject.
6418 10472
6419 10473 Integrated a fix for resource descriptors where both _MEM and _MTP were
6420 10474 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
6421 10475 wide, 0x0F instead of 0x03.)
6422 10476
6423 -Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a
10477 +Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
10478 +preventing
10479 +a
6424 10480 fault in some cases.
6425 10481
6426 10482 Updated Notify() values for debug statements in evmisc.c
6427 10483
6428 10484 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
6429 10485
6430 10486 Code and Data Size: Current and previous core subsystem library sizes are
6431 -shown below. These are the code and data sizes for the acpica.lib produced
10487 +shown below. These are the code and data sizes for the acpica.lib
10488 +produced
6432 10489 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6433 10490 any ACPI driver or OSPM code. The debug version of the code includes the
6434 -debug output trace mechanism and has a much larger code and data size. Note
6435 -that these values will vary depending on the efficiency of the compiler and
10491 +debug output trace mechanism and has a much larger code and data size.
10492 +Note
10493 +that these values will vary depending on the efficiency of the compiler
10494 +and
6436 10495 the compiler options used during generation.
6437 10496
6438 10497 Previous Release:
6439 10498
6440 10499 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
6441 10500 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
6442 10501 Current Release:
6443 10502 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
6444 10503 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
6445 10504
6446 10505 ----------------------------------------
6447 10506 11 March 2004. Summary of changes for version 20040311:
6448 10507
6449 10508 1) ACPI CA Core Subsystem:
6450 10509
6451 10510 Fixed a problem where errors occurring during the parse phase of control
6452 10511 method execution did not abort cleanly. For example, objects created and
6453 10512 installed in the namespace were not deleted. This caused all subsequent
6454 10513 invocations of the method to return the AE_ALREADY_EXISTS exception.
6455 10514
6456 -Implemented a mechanism to force a control method to "Serialized" execution
10515 +Implemented a mechanism to force a control method to "Serialized"
10516 +execution
6457 10517 if the method attempts to create namespace objects. (The root of the
6458 10518 AE_ALREADY_EXISTS problem.)
6459 10519
6460 10520 Implemented support for the predefined _OSI "internal" control method.
6461 -Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and
6462 -"Windows 2001.1", and can be easily upgraded for new strings as necessary.
10521 +Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
10522 +and
10523 +"Windows 2001.1", and can be easily upgraded for new strings as
10524 +necessary.
6463 10525 This feature will allow "other" operating systems to execute the fully
6464 10526 tested, "Windows" code path through the ASL code
6465 10527
6466 10528 Global Lock Support: Now allows multiple acquires and releases with any
6467 -internal thread. Removed concept of "owning thread" for this special mutex.
10529 +internal thread. Removed concept of "owning thread" for this special
10530 +mutex.
6468 10531
6469 -Fixed two functions that were inappropriately declaring large objects on the
6470 -CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage during
10532 +Fixed two functions that were inappropriately declaring large objects on
10533 +the
10534 +CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
10535 +during
6471 10536 method execution considerably.
6472 10537
6473 10538 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
6474 10539 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
6475 10540
6476 10541 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
6477 10542 defined on the machine.
6478 10543
6479 -Implemented two runtime options: One to force all control method execution
6480 -to "Serialized" to mimic Windows behavior, another to disable _OSI support
10544 +Implemented two runtime options: One to force all control method
10545 +execution
10546 +to "Serialized" to mimic Windows behavior, another to disable _OSI
10547 +support
6481 10548 if it causes problems on a given machine.
6482 10549
6483 10550 Code and Data Size: Current and previous core subsystem library sizes are
6484 -shown below. These are the code and data sizes for the acpica.lib produced
10551 +shown below. These are the code and data sizes for the acpica.lib
10552 +produced
6485 10553 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6486 10554 any ACPI driver or OSPM code. The debug version of the code includes the
6487 -debug output trace mechanism and has a much larger code and data size. Note
6488 -that these values will vary depending on the efficiency of the compiler and
10555 +debug output trace mechanism and has a much larger code and data size.
10556 +Note
10557 +that these values will vary depending on the efficiency of the compiler
10558 +and
6489 10559 the compiler options used during generation.
6490 10560
6491 10561 Previous Release:
6492 10562 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
6493 10563 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
6494 10564 Current Release:
6495 10565 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
6496 10566 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
6497 10567
6498 10568 2) iASL Compiler/Disassembler:
6499 10569
6500 10570 Fixed an array size problem for FreeBSD that would cause the compiler to
6501 10571 fault.
6502 10572
6503 10573 ----------------------------------------
6504 10574 20 February 2004. Summary of changes for version 20040220:
6505 10575
6506 10576
6507 10577 1) ACPI CA Core Subsystem:
6508 10578
6509 10579 Implemented execution of _SxD methods for Device objects in the
6510 10580 GetObjectInfo interface.
6511 10581
6512 10582 Fixed calls to _SST method to pass the correct arguments.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
6513 10583
6514 10584 Added a call to _SST on wake to restore to "working" state.
6515 10585
6516 10586 Check for End-Of-Buffer failure case in the WalkResources interface.
6517 10587
6518 10588 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
6519 10589 structures to the beginning of the file.
6520 10590
6521 10591 After wake, clear GPE status register(s) before enabling GPEs.
6522 10592
6523 -After wake, clear/enable power button. (Perhaps we should clear/enable all
10593 +After wake, clear/enable power button. (Perhaps we should clear/enable
10594 +all
6524 10595 fixed events upon wake.)
6525 10596
6526 10597 Fixed a couple of possible memory leaks in the Namespace manager.
6527 10598
6528 10599 Integrated latest acnetbsd.h file.
6529 10600
6530 10601 ----------------------------------------
6531 10602 11 February 2004. Summary of changes for version 20040211:
6532 10603
6533 10604
6534 10605 1) ACPI CA Core Subsystem:
6535 10606
6536 10607 Completed investigation and implementation of the call-by-reference
6537 10608 mechanism for control method arguments.
6538 10609
6539 10610 Fixed a problem where a store of an object into an indexed package could
6540 10611 fail if the store occurs within a different method than the method that
6541 10612 created the package.
6542 10613
6543 -Fixed a problem where the ToDecimal operator could return incorrect results.
10614 +Fixed a problem where the ToDecimal operator could return incorrect
10615 +results.
6544 10616
6545 -Fixed a problem where the CopyObject operator could fail on some of the more
10617 +Fixed a problem where the CopyObject operator could fail on some of the
10618 +more
6546 10619 obscure objects (e.g., Reference objects.)
6547 10620
6548 10621 Improved the output of the Debug object to display buffer, package, and
6549 10622 index objects.
6550 10623
6551 -Fixed a problem where constructs of the form "RefOf (ArgX)" did not return
10624 +Fixed a problem where constructs of the form "RefOf (ArgX)" did not
10625 +return
6552 10626 the expected result.
6553 10627
6554 10628 Added permanent ACPI_REPORT_ERROR macros for all instances of the
6555 10629 ACPI_AML_INTERNAL exception.
6556 10630
6557 10631 Integrated latest version of acfreebsd.h
6558 10632
6559 10633 ----------------------------------------
6560 10634 16 January 2004. Summary of changes for version 20040116:
6561 10635
6562 10636 The purpose of this release is primarily to update the copyright years in
6563 10637 each module, thus causing a huge number of diffs. There are a few small
6564 10638 functional changes, however.
6565 10639
6566 10640 1) ACPI CA Core Subsystem:
6567 10641
6568 -Improved error messages when there is a problem finding one or more of the
10642 +Improved error messages when there is a problem finding one or more of
10643 +the
6569 10644 required base ACPI tables
6570 10645
6571 10646 Reintroduced the definition of APIC_HEADER in actbl.h
6572 10647
6573 10648 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
6574 10649
6575 10650 Removed extraneous reference to NewObj in dsmthdat.c
6576 10651
6577 10652 2) iASL compiler
6578 10653
6579 -Fixed a problem introduced in December that disabled the correct disassembly
10654 +Fixed a problem introduced in December that disabled the correct
10655 +disassembly
6580 10656 of Resource Templates
6581 10657
6582 10658
6583 10659 ----------------------------------------
6584 10660 03 December 2003. Summary of changes for version 20031203:
6585 10661
6586 10662 1) ACPI CA Core Subsystem:
6587 10663
6588 10664 Changed the initialization of Operation Regions during subsystem
6589 10665 init to perform two entire walks of the ACPI namespace; The first
6590 10666 to initialize the regions themselves, the second to execute the
6591 10667 _REG methods. This fixed some interdependencies across _REG
6592 10668 methods found on some machines.
6593 10669
6594 10670 Fixed a problem where a Store(Local0, Local1) could simply update
6595 10671 the object reference count, and not create a new copy of the
6596 10672 object if the Local1 is uninitialized.
6597 10673
6598 10674 Implemented support for the _SST reserved method during sleep
6599 10675 transitions.
6600 10676
6601 10677 Implemented support to clear the SLP_TYP and SLP_EN bits when
6602 10678 waking up, this is apparently required by some machines.
6603 10679
6604 10680 When sleeping, clear the wake status only if SleepState is not S5.
6605 10681
6606 10682 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
6607 10683 pointer arithmetic advanced a string pointer too far.
6608 10684
6609 10685 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
6610 10686 could be returned if the requested table has not been loaded.
6611 10687
6612 10688 Within the support for IRQ resources, restructured the handling of
6613 10689 the active and edge/level bits.
6614 10690
6615 10691 Fixed a few problems in AcpiPsxExecute() where memory could be
6616 10692 leaked under certain error conditions.
6617 10693
6618 10694 Improved error messages for the cases where the ACPI mode could
6619 10695 not be entered.
6620 10696
6621 10697 Code and Data Size: Current and previous core subsystem library
6622 10698 sizes are shown below. These are the code and data sizes for the
6623 10699 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6624 10700 these values do not include any ACPI driver or OSPM code. The
6625 10701 debug version of the code includes the debug output trace
6626 10702 mechanism and has a much larger code and data size. Note that
6627 10703 these values will vary depending on the efficiency of the compiler
6628 10704 and the compiler options used during generation.
6629 10705
6630 10706 Previous Release (20031029):
6631 10707 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
6632 10708 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
6633 10709 Current Release:
6634 10710 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
6635 10711 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
6636 10712
6637 10713 2) iASL Compiler/Disassembler:
6638 10714
6639 10715 Implemented a fix for the iASL disassembler where a bad index was
6640 10716 generated. This was most noticeable on 64-bit platforms
6641 10717
6642 10718
6643 10719 ----------------------------------------
6644 10720 29 October 2003. Summary of changes for version 20031029:
6645 10721
6646 10722 1) ACPI CA Core Subsystem:
6647 10723
6648 10724
6649 10725 Fixed a problem where a level-triggered GPE with an associated
6650 10726 _Lxx control method was incorrectly cleared twice.
6651 10727
6652 10728 Fixed a problem with the Field support code where an access can
6653 10729 occur beyond the end-of-region if the field is non-aligned but
6654 10730 extends to the very end of the parent region (resulted in an
6655 10731 AE_AML_REGION_LIMIT exception.)
6656 10732
6657 10733 Fixed a problem with ACPI Fixed Events where an RT Clock handler
6658 10734 would not get invoked on an RTC event. The RTC event bitmasks for
6659 10735 the PM1 registers were not being initialized properly.
6660 10736
6661 10737 Implemented support for executing _STA and _INI methods for
6662 10738 Processor objects. Although this is currently not part of the
6663 10739 ACPI specification, there is existing ASL code that depends on the
6664 10740 init-time execution of these methods.
6665 10741
6666 10742 Implemented and deployed a GetDescriptorName function to decode
6667 10743 the various types of internal descriptors. Guards against null
6668 10744 descriptors during debug output also.
6669 10745
6670 10746 Implemented and deployed a GetNodeName function to extract the 4-
6671 10747 character namespace node name. This function simplifies the debug
6672 10748 and error output, as well as guarding against null pointers during
6673 10749 output.
6674 10750
6675 10751 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
6676 10752 simplify the debug and error output of 64-bit integers. This
6677 10753 macro replaces the HIDWORD and LODWORD macros for dumping these
6678 10754 integers.
6679 10755
6680 10756 Updated the implementation of the Stall() operator to only call
6681 10757 AcpiOsStall(), and also return an error if the operand is larger
6682 10758 than 255. This preserves the required behavior of not
6683 10759 relinquishing the processor, as would happen if AcpiOsSleep() was
6684 10760 called for "long stalls".
6685 10761
6686 10762 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
6687 10763 initialized are now treated as NOOPs.
6688 10764
6689 10765 Cleaned up a handful of warnings during 64-bit generation.
6690 10766
6691 10767 Fixed a reported error where and incorrect GPE number was passed
6692 10768 to the GPE dispatch handler. This value is only used for error
6693 10769 output, however. Used this opportunity to clean up and streamline
6694 10770 the GPE dispatch code.
6695 10771
6696 10772 Code and Data Size: Current and previous core subsystem library
6697 10773 sizes are shown below. These are the code and data sizes for the
6698 10774 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6699 10775 these values do not include any ACPI driver or OSPM code. The
6700 10776
6701 10777 debug version of the code includes the debug output trace
6702 10778 mechanism and has a much larger code and data size. Note that
6703 10779 these values will vary depending on the efficiency of the compiler
6704 10780 and the compiler options used during generation.
6705 10781
6706 10782 Previous Release (20031002):
6707 10783 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
6708 10784 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
6709 10785 Current Release:
6710 10786 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
6711 10787 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
6712 10788
6713 10789
6714 10790 2) iASL Compiler/Disassembler:
6715 10791
6716 10792 Updated the iASL compiler to return an error if the operand to the
6717 10793 Stall() operator is larger than 255.
6718 10794
6719 10795
6720 10796 ----------------------------------------
6721 10797 02 October 2003. Summary of changes for version 20031002:
6722 10798
6723 10799
6724 10800 1) ACPI CA Core Subsystem:
6725 10801
6726 10802 Fixed a problem with Index Fields where the index was not
6727 10803 incremented for fields that require multiple writes to the
6728 10804 index/data registers (Fields that are wider than the data
6729 10805 register.)
6730 10806
6731 10807 Fixed a problem with all Field objects where a write could go
6732 10808 beyond the end-of-field if the field was larger than the access
6733 10809 granularity and therefore required multiple writes to complete the
6734 10810 request. An extra write beyond the end of the field could happen
6735 10811 inadvertently.
6736 10812
6737 10813 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
6738 10814 would incorrectly be returned if the width of the Data Register
6739 10815 was larger than the specified field access width.
6740 10816
6741 10817 Completed fixes for LoadTable() and Unload() and verified their
6742 10818 operation. Implemented full support for the "DdbHandle" object
6743 10819 throughout the ACPI CA subsystem.
6744 10820
6745 10821 Implemented full support for the MADT and ECDT tables in the ACPI
6746 10822 CA header files. Even though these tables are not directly
6747 10823 consumed by ACPI CA, the header definitions are useful for ACPI
6748 10824 device drivers.
6749 10825
6750 10826 Integrated resource descriptor fixes posted to the Linux ACPI
6751 10827 list. This included checks for minimum descriptor length, and
6752 10828 support for trailing NULL strings within descriptors that have
6753 10829 optional string elements.
6754 10830
6755 10831 Code and Data Size: Current and previous core subsystem library
6756 10832 sizes are shown below. These are the code and data sizes for the
6757 10833 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6758 10834 these values do not include any ACPI driver or OSPM code. The
6759 10835 debug version of the code includes the debug output trace
6760 10836 mechanism and has a much larger code and data size. Note that
6761 10837 these values will vary depending on the efficiency of the compiler
6762 10838 and the compiler options used during generation.
6763 10839
6764 10840 Previous Release (20030918):
6765 10841 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
6766 10842 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
6767 10843 Current Release:
6768 10844 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
6769 10845 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
6770 10846
6771 10847
6772 10848 2) iASL Compiler:
6773 10849
6774 10850 Implemented detection of non-ASCII characters within the input
6775 10851 source ASL file. This catches attempts to compile binary (AML)
6776 10852 files early in the compile, with an informative error message.
6777 10853
6778 10854 Fixed a problem where the disassembler would fault if the output
6779 10855 filename could not be generated or if the output file could not be
6780 10856 opened.
6781 10857
6782 10858 ----------------------------------------
6783 10859 18 September 2003. Summary of changes for version 20030918:
6784 10860
6785 10861
6786 10862 1) ACPI CA Core Subsystem:
6787 10863
6788 10864 Found and fixed a longstanding problem with the late execution of
6789 10865 the various deferred AML opcodes (such as Operation Regions,
6790 10866 Buffer Fields, Buffers, and Packages). If the name string
6791 10867 specified for the name of the new object placed the object in a
6792 10868 scope other than the current scope, the initialization/execution
6793 10869 of the opcode failed. The solution to this problem was to
6794 10870 implement a mechanism where the late execution of such opcodes
6795 10871 does not attempt to lookup/create the name a second time in an
6796 10872 incorrect scope. This fixes the "region size computed
6797 10873 incorrectly" problem.
6798 10874
6799 10875 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
6800 10876 Global Lock AE_BAD_PARAMETER error.
6801 10877
6802 10878 Fixed several 64-bit issues with prototypes, casting and data
6803 10879 types.
6804 10880
6805 10881 Removed duplicate prototype from acdisasm.h
6806 10882
6807 10883 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
6808 10884
6809 10885 Code and Data Size: Current and previous core subsystem library
6810 10886 sizes are shown below. These are the code and data sizes for the
6811 10887 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6812 10888 these values do not include any ACPI driver or OSPM code. The
6813 10889 debug version of the code includes the debug output trace
6814 10890 mechanism and has a much larger code and data size. Note that
6815 10891 these values will vary depending on the efficiency of the compiler
6816 10892 and the compiler options used during generation.
6817 10893
6818 10894 Previous Release:
6819 10895
6820 10896 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
6821 10897 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
6822 10898 Current Release:
6823 10899 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
6824 10900 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
6825 10901
6826 10902
6827 10903 2) Linux:
6828 10904
6829 10905 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
6830 10906 correct sleep time in seconds.
6831 10907
6832 10908 ----------------------------------------
6833 10909 14 July 2003. Summary of changes for version 20030619:
6834 10910
6835 10911 1) ACPI CA Core Subsystem:
6836 10912
6837 10913 Parse SSDTs in order discovered, as opposed to reverse order
6838 10914 (Hrvoje Habjanic)
6839 10915
6840 10916 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
6841 10917 Klausner,
6842 10918 Nate Lawson)
6843 10919
6844 10920
6845 10921 2) Linux:
6846 10922
6847 10923 Dynamically allocate SDT list (suggested by Andi Kleen)
6848 10924
6849 10925 proc function return value cleanups (Andi Kleen)
6850 10926
6851 10927 Correctly handle NMI watchdog during long stalls (Andrew Morton)
6852 10928
6853 10929 Make it so acpismp=force works (reported by Andrew Morton)
6854 10930
6855 10931
6856 10932 ----------------------------------------
6857 10933 19 June 2003. Summary of changes for version 20030619:
6858 10934
6859 10935 1) ACPI CA Core Subsystem:
6860 10936
6861 10937 Fix To/FromBCD, eliminating the need for an arch-specific #define.
6862 10938
6863 10939 Do not acquire a semaphore in the S5 shutdown path.
6864 10940
6865 10941 Fix ex_digits_needed for 0. (Takayoshi Kochi)
6866 10942
6867 10943 Fix sleep/stall code reversal. (Andi Kleen)
6868 10944
6869 10945 Revert a change having to do with control method calling
6870 10946 semantics.
6871 10947
6872 10948 2) Linux:
6873 10949
6874 10950 acpiphp update (Takayoshi Kochi)
6875 10951
6876 10952 Export acpi_disabled for sonypi (Stelian Pop)
6877 10953
6878 10954 Mention acpismp=force in config help
6879 10955
6880 10956 Re-add acpitable.c and acpismp=force. This improves backwards
6881 10957
6882 10958 compatibility and also cleans up the code to a significant degree.
6883 10959
6884 10960 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
6885 10961
6886 10962 ----------------------------------------
6887 10963 22 May 2003. Summary of changes for version 20030522:
6888 10964
6889 10965 1) ACPI CA Core Subsystem:
6890 10966
6891 10967 Found and fixed a reported problem where an AE_NOT_FOUND error
6892 10968 occurred occasionally during _BST evaluation. This turned out to
6893 10969 be an Owner ID allocation issue where a called method did not get
6894 10970 a new ID assigned to it. Eventually, (after 64k calls), the Owner
6895 10971 ID UINT16 would wraparound so that the ID would be the same as the
6896 10972 caller's and the called method would delete the caller's
6897 10973 namespace.
6898 10974
6899 10975 Implemented extended error reporting for control methods that are
6900 10976 aborted due to a run-time exception. Output includes the exact
6901 10977 AML instruction that caused the method abort, a dump of the method
6902 10978 locals and arguments at the time of the abort, and a trace of all
6903 10979 nested control method calls.
6904 10980
6905 10981 Modified the interpreter to allow the creation of buffers of zero
6906 10982 length from the AML code. Implemented new code to ensure that no
6907 10983 attempt is made to actually allocate a memory buffer (of length
6908 10984 zero) - instead, a simple buffer object with a NULL buffer pointer
6909 10985 and length zero is created. A warning is no longer issued when
6910 10986 the AML attempts to create a zero-length buffer.
6911 10987
6912 10988 Implemented a workaround for the "leading asterisk issue" in
6913 10989 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
6914 10990 asterisk is automatically removed if present in any HID, UID, or
6915 10991 CID strings. The iASL compiler will still flag this asterisk as
6916 10992 an error, however.
6917 10993
6918 10994 Implemented full support for _CID methods that return a package of
6919 10995 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
6920 10996 now additionally returns a device _CID list if present. This
6921 10997 required a change to the external interface in order to pass an
6922 10998 ACPI_BUFFER object as a parameter since the _CID list is of
6923 10999 variable length.
6924 11000
6925 11001 Fixed a problem with the new AE_SAME_HANDLER exception where
6926 11002 handler initialization code did not know about this exception.
6927 11003
6928 11004 Code and Data Size: Current and previous core subsystem library
6929 11005 sizes are shown below. These are the code and data sizes for the
6930 11006 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6931 11007 these values do not include any ACPI driver or OSPM code. The
6932 11008 debug version of the code includes the debug output trace
6933 11009 mechanism and has a much larger code and data size. Note that
6934 11010 these values will vary depending on the efficiency of the compiler
6935 11011 and the compiler options used during generation.
6936 11012
6937 11013 Previous Release (20030509):
6938 11014 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
6939 11015 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
6940 11016 Current Release:
6941 11017 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
6942 11018 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
6943 11019
6944 11020
6945 11021 2) Linux:
6946 11022
6947 11023 Fixed a bug in which we would reinitialize the ACPI interrupt
6948 11024 after it was already working, thus disabling all ACPI and the IRQs
6949 11025 for any other device sharing the interrupt. (Thanks to Stian
6950 11026 Jordet)
6951 11027
6952 11028 Toshiba driver update (John Belmonte)
6953 11029
6954 11030 Return only 0 or 1 for our interrupt handler status (Andrew
6955 11031 Morton)
6956 11032
6957 11033
6958 11034 3) iASL Compiler:
6959 11035
6960 11036 Fixed a reported problem where multiple (nested) ElseIf()
6961 11037 statements were not handled correctly by the compiler, resulting
6962 11038 in incorrect warnings and incorrect AML code. This was a problem
6963 11039 in both the ASL parser and the code generator.
6964 11040
6965 11041
6966 11042 4) Documentation:
6967 11043
6968 11044 Added changes to existing interfaces, new exception codes, and new
6969 11045 text concerning reference count object management versus garbage
6970 11046 collection.
6971 11047
6972 11048 ----------------------------------------
6973 11049 09 May 2003. Summary of changes for version 20030509.
6974 11050
6975 11051
6976 11052 1) ACPI CA Core Subsystem:
6977 11053
6978 11054 Changed the subsystem initialization sequence to hold off
6979 11055 installation of address space handlers until the hardware has been
6980 11056 initialized and the system has entered ACPI mode. This is because
6981 11057 the installation of space handlers can cause _REG methods to be
6982 11058 run. Previously, the _REG methods could potentially be run before
6983 11059 ACPI mode was enabled.
6984 11060
6985 11061 Fixed some memory leak issues related to address space handler and
6986 11062 notify handler installation. There were some problems with the
6987 11063 reference count mechanism caused by the fact that the handler
6988 11064 objects are shared across several namespace objects.
6989 11065
6990 11066 Fixed a reported problem where reference counts within the
6991 11067 namespace were not properly updated when named objects created by
6992 11068 method execution were deleted.
6993 11069
6994 11070 Fixed a reported problem where multiple SSDTs caused a deletion
6995 11071 issue during subsystem termination. Restructured the table data
6996 11072 structures to simplify the linked lists and the related code.
6997 11073
6998 11074 Fixed a problem where the table ID associated with secondary
6999 11075 tables (SSDTs) was not being propagated into the namespace objects
7000 11076 created by those tables. This would only present a problem for
7001 11077 tables that are unloaded at run-time, however.
7002 11078
7003 11079 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7004 11080 type as the length parameter (instead of UINT32).
7005 11081
7006 11082 Solved a long-standing problem where an ALREADY_EXISTS error
7007 11083 appears on various systems. This problem could happen when there
7008 11084 are multiple PCI_Config operation regions under a single PCI root
7009 11085 bus. This doesn't happen very frequently, but there are some
7010 11086 systems that do this in the ASL.
7011 11087
7012 11088 Fixed a reported problem where the internal DeleteNode function
7013 11089 was incorrectly handling the case where a namespace node was the
7014 11090 first in the parent's child list, and had additional peers (not
7015 11091 the only child, but first in the list of children.)
7016 11092
7017 11093 Code and Data Size: Current core subsystem library sizes are shown
7018 11094 below. These are the code and data sizes for the acpica.lib
7019 11095 produced by the Microsoft Visual C++ 6.0 compiler, and these
7020 11096 values do not include any ACPI driver or OSPM code. The debug
7021 11097 version of the code includes the debug output trace mechanism and
7022 11098 has a much larger code and data size. Note that these values will
7023 11099 vary depending on the efficiency of the compiler and the compiler
7024 11100 options used during generation.
7025 11101
7026 11102 Previous Release
7027 11103 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
7028 11104 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
7029 11105 Current Release:
7030 11106 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
7031 11107 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
7032 11108
7033 11109
7034 11110 2) Linux:
7035 11111
7036 11112 Allow ":" in OS override string (Ducrot Bruno)
7037 11113
7038 11114 Kobject fix (Greg KH)
7039 11115
7040 11116
7041 11117 3 iASL Compiler/Disassembler:
7042 11118
7043 11119 Fixed a problem in the generation of the C source code files (AML
7044 11120 is emitted in C source statements for BIOS inclusion) where the
7045 11121 Ascii dump that appears within a C comment at the end of each line
7046 11122 could cause a compile time error if the AML sequence happens to
7047 11123 have an open comment or close comment sequence embedded.
7048 11124
7049 11125
7050 11126 ----------------------------------------
7051 11127 24 April 2003. Summary of changes for version 20030424.
7052 11128
7053 11129
7054 11130 1) ACPI CA Core Subsystem:
7055 11131
7056 11132 Support for big-endian systems has been implemented. Most of the
7057 11133 support has been invisibly added behind big-endian versions of the
7058 11134 ACPI_MOVE_* macros.
7059 11135
7060 11136 Fixed a problem in AcpiHwDisableGpeBlock() and
7061 11137 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
7062 11138 low level hardware write routine. The offset parameter was
7063 11139 actually eliminated from the low level read/write routines because
7064 11140 they had become obsolete.
7065 11141
7066 11142 Fixed a problem where a handler object was deleted twice during
7067 11143 the removal of a fixed event handler.
7068 11144
7069 11145
7070 11146 2) Linux:
7071 11147
7072 11148 A fix for SMP systems with link devices was contributed by
7073 11149
7074 11150 Compaq's Dan Zink.
7075 11151
7076 11152 (2.5) Return whether we handled the interrupt in our IRQ handler.
7077 11153 (Linux ISRs no longer return void, so we can propagate the handler
7078 11154 return value from the ACPI CA core back to the OS.)
7079 11155
7080 11156
7081 11157
7082 11158 3) Documentation:
7083 11159
7084 11160 The ACPI CA Programmer Reference has been updated to reflect new
7085 11161 interfaces and changes to existing interfaces.
7086 11162
7087 11163 ----------------------------------------
7088 11164 28 March 2003. Summary of changes for version 20030328.
7089 11165
7090 11166 1) ACPI CA Core Subsystem:
7091 11167
7092 11168 The GPE Block Device support has been completed. New interfaces
7093 11169 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
7094 11170 interfaces (enable, disable, clear, getstatus) have been split
7095 11171 into separate interfaces for Fixed Events and General Purpose
7096 11172 Events (GPEs) in order to support GPE Block Devices properly.
7097 11173
7098 11174 Fixed a problem where the error message "Failed to acquire
7099 11175 semaphore" would appear during operations on the embedded
7100 11176 controller (EC).
7101 11177
7102 11178 Code and Data Size: Current core subsystem library sizes are shown
7103 11179 below. These are the code and data sizes for the acpica.lib
7104 11180 produced by the Microsoft Visual C++ 6.0 compiler, and these
7105 11181 values do not include any ACPI driver or OSPM code. The debug
7106 11182 version of the code includes the debug output trace mechanism and
7107 11183 has a much larger code and data size. Note that these values will
7108 11184 vary depending on the efficiency of the compiler and the compiler
7109 11185 options used during generation.
7110 11186
7111 11187 Previous Release
7112 11188 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
7113 11189 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
7114 11190 Current Release:
7115 11191 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
7116 11192 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
7117 11193
7118 11194
7119 11195 ----------------------------------------
7120 11196 28 February 2003. Summary of changes for version 20030228.
7121 11197
7122 11198
7123 11199 1) ACPI CA Core Subsystem:
7124 11200
7125 11201 The GPE handling and dispatch code has been completely overhauled
7126 11202 in preparation for support of GPE Block Devices (ID ACPI0006).
7127 11203 This affects internal data structures and code only; there should
7128 11204 be no differences visible externally. One new file has been
7129 11205 added, evgpeblk.c
7130 11206
7131 11207 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7132 11208 fields that are used to determine the GPE block lengths. The
7133 11209 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7134 11210 structures are ignored. This is per the ACPI specification but it
7135 11211 isn't very clear. The full 256 Block 0/1 GPEs are now supported
7136 11212 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7137 11213
7138 11214 In the SCI interrupt handler, removed the read of the PM1_CONTROL
7139 11215 register to look at the SCI_EN bit. On some machines, this read
7140 11216 causes an SMI event and greatly slows down SCI events. (This may
7141 11217 in fact be the cause of slow battery status response on some
7142 11218 systems.)
7143 11219
7144 11220 Fixed a problem where a store of a NULL string to a package object
7145 11221 could cause the premature deletion of the object. This was seen
7146 11222 during execution of the battery _BIF method on some systems,
7147 11223 resulting in no battery data being returned.
7148 11224
7149 11225 Added AcpiWalkResources interface to simplify parsing of resource
7150 11226 lists.
7151 11227
7152 11228 Code and Data Size: Current core subsystem library sizes are shown
7153 11229 below. These are the code and data sizes for the acpica.lib
7154 11230 produced by the Microsoft Visual C++ 6.0 compiler, and these
7155 11231 values do not include any ACPI driver or OSPM code. The debug
7156 11232 version of the code includes the debug output trace mechanism and
7157 11233 has a much larger code and data size. Note that these values will
7158 11234 vary depending on the efficiency of the compiler and the compiler
7159 11235 options used during generation.
7160 11236
7161 11237 Previous Release
7162 11238 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
7163 11239 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
7164 11240 Current Release:
7165 11241 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
7166 11242 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
7167 11243
7168 11244
7169 11245 2) Linux
7170 11246
7171 11247 S3 fixes (Ole Rohne)
7172 11248
7173 11249 Update ACPI PHP driver with to use new acpi_walk_resource API
7174 11250 (Bjorn Helgaas)
7175 11251
7176 11252 Add S4BIOS support (Pavel Machek)
7177 11253
7178 11254 Map in entire table before performing checksum (John Stultz)
7179 11255
7180 11256 Expand the mem= cmdline to allow the specification of reserved and
7181 11257 ACPI DATA blocks (Pavel Machek)
7182 11258
7183 11259 Never use ACPI on VISWS
7184 11260
7185 11261 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7186 11262
7187 11263 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
7188 11264 causing us to think that some systems support C2 when they really
7189 11265 don't.
7190 11266
7191 11267 Do not count processor objects for non-present CPUs (Thanks to
7192 11268 Dominik Brodowski)
7193 11269
7194 11270
7195 11271 3) iASL Compiler:
7196 11272
7197 11273 Fixed a problem where ASL include files could not be found and
7198 11274 opened.
7199 11275
7200 11276 Added support for the _PDC reserved name.
7201 11277
7202 11278
7203 11279 ----------------------------------------
7204 11280 22 January 2003. Summary of changes for version 20030122.
7205 11281
7206 11282
7207 11283 1) ACPI CA Core Subsystem:
7208 11284
7209 11285 Added a check for constructs of the form: Store (Local0, Local0)
7210 11286 where Local0 is not initialized. Apparently, some BIOS
7211 11287 programmers believe that this is a NOOP. Since this store doesn't
7212 11288 do anything anyway, the new prototype behavior will ignore this
7213 11289 error. This is a case where we can relax the strict checking in
7214 11290 the interpreter in the name of compatibility.
7215 11291
7216 11292
7217 11293 2) Linux
7218 11294
7219 11295 The AcpiSrc Source Conversion Utility has been released with the
7220 11296 Linux package for the first time. This is the utility that is
7221 11297 used to convert the ACPI CA base source code to the Linux version.
7222 11298
7223 11299 (Both) Handle P_BLK lengths shorter than 6 more gracefully
7224 11300
7225 11301 (Both) Move more headers to include/acpi, and delete an unused
7226 11302 header.
7227 11303
7228 11304 (Both) Move drivers/acpi/include directory to include/acpi
7229 11305
7230 11306 (Both) Boot functions don't use cmdline, so don't pass it around
7231 11307
7232 11308 (Both) Remove include of unused header (Adrian Bunk)
7233 11309
7234 11310 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
7235 11311 the
7236 11312 former now also includes the latter, acpiphp.h only needs the one,
7237 11313 now.
7238 11314
7239 11315 (2.5) Make it possible to select method of bios restoring after S3
7240 11316 resume. [=> no more ugly ifdefs] (Pavel Machek)
7241 11317
7242 11318 (2.5) Make proc write interfaces work (Pavel Machek)
7243 11319
7244 11320 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
7245 11321
7246 11322 (2.5) Break out ACPI Perf code into its own module, under cpufreq
7247 11323 (Dominik Brodowski)
7248 11324
7249 11325 (2.4) S4BIOS support (Ducrot Bruno)
7250 11326
7251 11327 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
7252 11328 Visinoni)
7253 11329
7254 11330
7255 11331 3) iASL Compiler:
7256 11332
7257 11333 Added support to disassemble SSDT and PSDTs.
7258 11334
7259 11335 Implemented support to obtain SSDTs from the Windows registry if
7260 11336 available.
7261 11337
7262 11338
7263 11339 ----------------------------------------
7264 11340 09 January 2003. Summary of changes for version 20030109.
7265 11341
7266 11342 1) ACPI CA Core Subsystem:
7267 11343
7268 11344 Changed the behavior of the internal Buffer-to-String conversion
7269 11345 function. The current ACPI specification states that the contents
7270 11346 of the buffer are "converted to a string of two-character
7271 11347 hexadecimal numbers, each separated by a space". Unfortunately,
7272 11348 this definition is not backwards compatible with existing ACPI 1.0
7273 11349 implementations (although the behavior was not defined in the ACPI
7274 11350 1.0 specification). The new behavior simply copies data from the
7275 11351 buffer to the string until a null character is found or the end of
7276 11352 the buffer is reached. The new String object is always null
7277 11353 terminated. This problem was seen during the generation of _BIF
7278 11354 battery data where incorrect strings were returned for battery
7279 11355 type, etc. This will also require an errata to the ACPI
7280 11356 specification.
7281 11357
7282 11358 Renamed all instances of NATIVE_UINT and NATIVE_INT to
7283 11359 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
7284 11360
7285 11361 Copyright in all module headers (both Linux and non-Linux) has be
7286 11362 updated to 2003.
7287 11363
7288 11364 Code and Data Size: Current core subsystem library sizes are shown
7289 11365 below. These are the code and data sizes for the acpica.lib
7290 11366 produced by the Microsoft Visual C++ 6.0 compiler, and these
7291 11367 values do not include any ACPI driver or OSPM code. The debug
7292 11368 version of the code includes the debug output trace mechanism and
7293 11369 has a much larger code and data size. Note that these values will
7294 11370 vary depending on the efficiency of the compiler and the compiler
7295 11371 options used during generation.
7296 11372
7297 11373 Previous Release
7298 11374 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
7299 11375 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
7300 11376 Current Release:
7301 11377 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
7302 11378 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
7303 11379
7304 11380
7305 11381 2) Linux
7306 11382
7307 11383 Fixed an oops on module insertion/removal (Matthew Tippett)
7308 11384
7309 11385 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
7310 11386
7311 11387 (2.5) Replace pr_debug (Randy Dunlap)
7312 11388
7313 11389 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
7314 11390
7315 11391 (Both) Eliminate spawning of thread from timer callback, in favor
7316 11392 of schedule_work()
7317 11393
7318 11394 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
7319 11395
7320 11396 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
7321 11397
7322 11398 (Both) Add missing statics to button.c (Pavel Machek)
7323 11399
7324 11400 Several changes have been made to the source code translation
7325 11401 utility that generates the Linux Code in order to make the code
7326 11402 more "Linux-like":
7327 11403
7328 11404 All typedefs on structs and unions have been removed in keeping
7329 11405 with the Linux coding style.
7330 11406
7331 11407 Removed the non-Linux SourceSafe module revision number from each
7332 11408 module header.
7333 11409
7334 11410 Completed major overhaul of symbols to be lowercased for linux.
7335 11411 Doubled the number of symbols that are lowercased.
7336 11412
7337 11413 Fixed a problem where identifiers within procedure headers and
7338 11414 within quotes were not fully lower cased (they were left with a
7339 11415 starting capital.)
7340 11416
7341 11417 Some C macros whose only purpose is to allow the generation of 16-
7342 11418 bit code are now completely removed in the Linux code, increasing
7343 11419 readability and maintainability.
7344 11420
7345 11421 ----------------------------------------
7346 11422
7347 11423 12 December 2002. Summary of changes for version 20021212.
7348 11424
7349 11425
7350 11426 1) ACPI CA Core Subsystem:
7351 11427
7352 11428 Fixed a problem where the creation of a zero-length AML Buffer
7353 11429 would cause a fault.
7354 11430
7355 11431 Fixed a problem where a Buffer object that pointed to a static AML
7356 11432 buffer (in an ACPI table) could inadvertently be deleted, causing
7357 11433 memory corruption.
7358 11434
7359 11435 Fixed a problem where a user buffer (passed in to the external
7360 11436 ACPI CA interfaces) could be overwritten if the buffer was too
7361 11437 small to complete the operation, causing memory corruption.
7362 11438
7363 11439 Fixed a problem in the Buffer-to-String conversion code where a
7364 11440 string of length one was always returned, regardless of the size
7365 11441 of the input Buffer object.
7366 11442
7367 11443 Removed the NATIVE_CHAR data type across the entire source due to
7368 11444 lack of need and lack of consistent use.
7369 11445
7370 11446 Code and Data Size: Current core subsystem library sizes are shown
7371 11447 below. These are the code and data sizes for the acpica.lib
7372 11448 produced by the Microsoft Visual C++ 6.0 compiler, and these
7373 11449 values do not include any ACPI driver or OSPM code. The debug
7374 11450 version of the code includes the debug output trace mechanism and
7375 11451 has a much larger code and data size. Note that these values will
7376 11452 vary depending on the efficiency of the compiler and the compiler
7377 11453 options used during generation.
7378 11454
7379 11455 Previous Release
7380 11456 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
7381 11457 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
7382 11458 Current Release:
7383 11459 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
7384 11460 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
7385 11461
7386 11462
7387 11463 ----------------------------------------
7388 11464 05 December 2002. Summary of changes for version 20021205.
7389 11465
7390 11466 1) ACPI CA Core Subsystem:
7391 11467
7392 11468 Fixed a problem where a store to a String or Buffer object could
7393 11469 cause corruption of the DSDT if the object type being stored was
7394 11470 the same as the target object type and the length of the object
7395 11471 being stored was equal to or smaller than the original (existing)
7396 11472 target object. This was seen to cause corruption of battery _BIF
7397 11473 buffers if the _BIF method modified the buffer on the fly.
7398 11474
7399 11475 Fixed a problem where an internal error was generated if a control
7400 11476 method invocation was used in an OperationRegion, Buffer, or
7401 11477 Package declaration. This was caused by the deferred parsing of
7402 11478 the control method and thus the deferred creation of the internal
7403 11479 method object. The solution to this problem was to create the
7404 11480 internal method object at the moment the method is encountered in
7405 11481 the first pass - so that subsequent references to the method will
7406 11482 able to obtain the required parameter count and thus properly
7407 11483 parse the method invocation. This problem presented itself as an
7408 11484 AE_AML_INTERNAL during the pass 1 parse phase during table load.
7409 11485
7410 11486 Fixed a problem where the internal String object copy routine did
7411 11487 not always allocate sufficient memory for the target String object
7412 11488 and caused memory corruption. This problem was seen to cause
7413 11489 "Allocation already present in list!" errors as memory allocation
7414 11490 became corrupted.
7415 11491
7416 11492 Implemented a new function for the evaluation of namespace objects
7417 11493 that allows the specification of the allowable return object
7418 11494 types. This simplifies a lot of code that checks for a return
7419 11495 object of one or more specific objects returned from the
7420 11496 evaluation (such as _STA, etc.) This may become and external
7421 11497 function if it would be useful to ACPI-related drivers.
7422 11498
7423 11499 Completed another round of prefixing #defines with "ACPI_" for
7424 11500 clarity.
7425 11501
7426 11502 Completed additional code restructuring to allow more modular
7427 11503 linking for iASL compiler and AcpiExec. Several files were split
7428 11504 creating new files. New files: nsparse.c dsinit.c evgpe.c
7429 11505
7430 11506 Implemented an abort mechanism to terminate an executing control
7431 11507 method via the AML debugger. This feature is useful for debugging
7432 11508 control methods that depend (wait) for specific hardware
7433 11509 responses.
7434 11510
7435 11511 Code and Data Size: Current core subsystem library sizes are shown
7436 11512 below. These are the code and data sizes for the acpica.lib
7437 11513 produced by the Microsoft Visual C++ 6.0 compiler, and these
7438 11514 values do not include any ACPI driver or OSPM code. The debug
7439 11515 version of the code includes the debug output trace mechanism and
7440 11516 has a much larger code and data size. Note that these values will
7441 11517 vary depending on the efficiency of the compiler and the compiler
7442 11518 options used during generation.
7443 11519
7444 11520 Previous Release
7445 11521 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
7446 11522 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
7447 11523 Current Release:
7448 11524 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
7449 11525 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
7450 11526
7451 11527
7452 11528 2) iASL Compiler/Disassembler
7453 11529
7454 11530 Fixed a compiler code generation problem for "Interrupt" Resource
7455 11531 Descriptors. If specified in the ASL, the optional "Resource
7456 11532 Source Index" and "Resource Source" fields were not inserted into
7457 11533 the correct location within the AML resource descriptor, creating
7458 11534 an invalid descriptor.
7459 11535
7460 11536 Fixed a disassembler problem for "Interrupt" resource descriptors.
7461 11537 The optional "Resource Source Index" and "Resource Source" fields
7462 11538 were ignored.
7463 11539
7464 11540
7465 11541 ----------------------------------------
7466 11542 22 November 2002. Summary of changes for version 20021122.
7467 11543
7468 11544
7469 11545 1) ACPI CA Core Subsystem:
7470 11546
7471 11547 Fixed a reported problem where an object stored to a Method Local
7472 11548 or Arg was not copied to a new object during the store - the
7473 11549 object pointer was simply copied to the Local/Arg. This caused
7474 11550 all subsequent operations on the Local/Arg to also affect the
7475 11551 original source of the store operation.
7476 11552
7477 11553 Fixed a problem where a store operation to a Method Local or Arg
7478 11554 was not completed properly if the Local/Arg contained a reference
7479 11555 (from RefOf) to a named field. The general-purpose store-to-
7480 11556 namespace-node code is now used so that this case is handled
7481 11557 automatically.
7482 11558
7483 11559 Fixed a problem where the internal object copy routine would cause
7484 11560 a protection fault if the object being copied was a Package and
7485 11561 contained either 1) a NULL package element or 2) a nested sub-
7486 11562 package.
7487 11563
7488 11564 Fixed a problem with the GPE initialization that resulted from an
7489 11565 ambiguity in the ACPI specification. One section of the
7490 11566 specification states that both the address and length of the GPE
7491 11567 block must be zero if the block is not supported. Another section
7492 11568 implies that only the address need be zero if the block is not
7493 11569 supported. The code has been changed so that both the address and
7494 11570 the length must be non-zero to indicate a valid GPE block (i.e.,
7495 11571 if either the address or the length is zero, the GPE block is
7496 11572 invalid.)
7497 11573
7498 11574 Code and Data Size: Current core subsystem library sizes are shown
7499 11575 below. These are the code and data sizes for the acpica.lib
7500 11576 produced by the Microsoft Visual C++ 6.0 compiler, and these
7501 11577 values do not include any ACPI driver or OSPM code. The debug
7502 11578 version of the code includes the debug output trace mechanism and
7503 11579 has a much larger code and data size. Note that these values will
7504 11580 vary depending on the efficiency of the compiler and the compiler
7505 11581 options used during generation.
7506 11582
7507 11583 Previous Release
7508 11584 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
7509 11585 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
7510 11586 Current Release:
7511 11587 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
7512 11588 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
7513 11589
7514 11590
7515 11591 2) Linux
7516 11592
7517 11593 Cleaned up EC driver. Exported an external EC read/write
7518 11594 interface. By going through this, other drivers (most notably
7519 11595 sonypi) will be able to serialize access to the EC.
7520 11596
7521 11597
7522 11598 3) iASL Compiler/Disassembler
7523 11599
7524 11600 Implemented support to optionally generate include files for both
7525 11601 ASM and C (the -i switch). This simplifies BIOS development by
7526 11602 automatically creating include files that contain external
7527 11603 declarations for the symbols that are created within the
7528 11604
7529 11605 (optionally generated) ASM and C AML source files.
7530 11606
7531 11607
7532 11608 ----------------------------------------
7533 11609 15 November 2002. Summary of changes for version 20021115.
7534 11610
7535 11611 1) ACPI CA Core Subsystem:
7536 11612
7537 11613 Fixed a memory leak problem where an error during resolution of
7538 11614
7539 11615 method arguments during a method invocation from another method
7540 11616 failed to cleanup properly by deleting all successfully resolved
7541 11617 argument objects.
7542 11618
7543 11619 Fixed a problem where the target of the Index() operator was not
7544 11620 correctly constructed if the source object was a package. This
7545 11621 problem has not been detected because the use of a target operand
7546 11622 with Index() is very rare.
7547 11623
7548 11624 Fixed a problem with the Index() operator where an attempt was
7549 11625 made to delete the operand objects twice.
7550 11626
7551 11627 Fixed a problem where an attempt was made to delete an operand
7552 11628 twice during execution of the CondRefOf() operator if the target
7553 11629 did not exist.
7554 11630
7555 11631 Implemented the first of perhaps several internal create object
7556 11632 functions that create and initialize a specific object type. This
7557 11633 consolidates duplicated code wherever the object is created, thus
7558 11634 shrinking the size of the subsystem.
7559 11635
7560 11636 Implemented improved debug/error messages for errors that occur
7561 11637 during nested method invocations. All executing method pathnames
7562 11638 are displayed (with the error) as the call stack is unwound - thus
7563 11639 simplifying debug.
7564 11640
7565 11641 Fixed a problem introduced in the 10/02 release that caused
7566 11642 premature deletion of a buffer object if a buffer was used as an
7567 11643 ASL operand where an integer operand is required (Thus causing an
7568 11644 implicit object conversion from Buffer to Integer.) The change in
7569 11645 the 10/02 release was attempting to fix a memory leak (albeit
7570 11646 incorrectly.)
7571 11647
7572 11648 Code and Data Size: Current core subsystem library sizes are shown
7573 11649 below. These are the code and data sizes for the acpica.lib
7574 11650 produced by the Microsoft Visual C++ 6.0 compiler, and these
7575 11651 values do not include any ACPI driver or OSPM code. The debug
7576 11652 version of the code includes the debug output trace mechanism and
7577 11653 has a much larger code and data size. Note that these values will
7578 11654 vary depending on the efficiency of the compiler and the compiler
7579 11655 options used during generation.
7580 11656
7581 11657 Previous Release
7582 11658 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
7583 11659 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
7584 11660 Current Release:
7585 11661 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
7586 11662 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
7587 11663
7588 11664
7589 11665 2) Linux
7590 11666
7591 11667 Changed the implementation of the ACPI semaphores to use down()
7592 11668 instead of down_interruptable(). It is important that the
7593 11669 execution of ACPI control methods not be interrupted by signals.
7594 11670 Methods must run to completion, or the system may be left in an
7595 11671 unknown/unstable state.
7596 11672
7597 11673 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
7598 11674 (Shawn Starr)
7599 11675
7600 11676
7601 11677 3) iASL Compiler/Disassembler
7602 11678
7603 11679
7604 11680 Changed the default location of output files. All output files
7605 11681 are now placed in the current directory by default instead of in
7606 11682 the directory of the source file. This change may affect some
7607 11683 existing makefiles, but it brings the behavior of the compiler in
7608 11684 line with other similar tools. The location of the output files
7609 11685 can be overridden with the -p command line switch.
7610 11686
7611 11687
7612 11688 ----------------------------------------
7613 11689 11 November 2002. Summary of changes for version 20021111.
7614 11690
7615 11691
7616 11692 0) ACPI Specification 2.0B is released and is now available at:
7617 11693 http://www.acpi.info/index.html
7618 11694
7619 11695
7620 11696 1) ACPI CA Core Subsystem:
7621 11697
7622 11698 Implemented support for the ACPI 2.0 SMBus Operation Regions.
7623 11699 This includes the early detection and handoff of the request to
7624 11700 the SMBus region handler (avoiding all of the complex field
7625 11701 support code), and support for the bidirectional return packet
7626 11702 from an SMBus write operation. This paves the way for the
7627 11703 development of SMBus drivers in each host operating system.
7628 11704
7629 11705 Fixed a problem where the semaphore WAIT_FOREVER constant was
7630 11706 defined as 32 bits, but must be 16 bits according to the ACPI
7631 11707 specification. This had the side effect of causing ASL
7632 11708 Mutex/Event timeouts even though the ASL code requested a wait
7633 11709 forever. Changed all internal references to the ACPI timeout
7634 11710 parameter to 16 bits to prevent future problems. Changed the name
7635 11711 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
7636 11712
7637 11713 Code and Data Size: Current core subsystem library sizes are shown
7638 11714 below. These are the code and data sizes for the acpica.lib
7639 11715 produced by the Microsoft Visual C++ 6.0 compiler, and these
7640 11716 values do not include any ACPI driver or OSPM code. The debug
7641 11717 version of the code includes the debug output trace mechanism and
7642 11718 has a much larger code and data size. Note that these values will
7643 11719 vary depending on the efficiency of the compiler and the compiler
7644 11720 options used during generation.
7645 11721
7646 11722 Previous Release
7647 11723 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
7648 11724 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
7649 11725 Current Release:
7650 11726 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
7651 11727 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
7652 11728
7653 11729
7654 11730 2) Linux
7655 11731
7656 11732 Module loading/unloading fixes (John Cagle)
7657 11733
7658 11734
7659 11735 3) iASL Compiler/Disassembler
7660 11736
7661 11737 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
7662 11738
7663 11739 Implemented support for the disassembly of all SMBus protocol
7664 11740 keywords (SMBQuick, SMBWord, etc.)
7665 11741
7666 11742 ----------------------------------------
7667 11743 01 November 2002. Summary of changes for version 20021101.
7668 11744
7669 11745
7670 11746 1) ACPI CA Core Subsystem:
7671 11747
7672 11748 Fixed a problem where platforms that have a GPE1 block but no GPE0
7673 11749 block were not handled correctly. This resulted in a "GPE
7674 11750 overlap" error message. GPE0 is no longer required.
7675 11751
7676 11752 Removed code added in the previous release that inserted nodes
7677 11753 into the namespace in alphabetical order. This caused some side-
7678 11754 effects on various machines. The root cause of the problem is
7679 11755 still under investigation since in theory, the internal ordering
7680 11756 of the namespace nodes should not matter.
7681 11757
7682 11758
7683 11759 Enhanced error reporting for the case where a named object is not
7684 11760 found during control method execution. The full ACPI namepath
7685 11761 (name reference) of the object that was not found is displayed in
7686 11762 this case.
7687 11763
7688 11764 Note: as a result of the overhaul of the namespace object types in
7689 11765 the previous release, the namespace nodes for the predefined
7690 11766 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
7691 11767 instead of ACPI_TYPE_ANY. This simplifies the namespace
7692 11768 management code but may affect code that walks the namespace tree
7693 11769 looking for specific object types.
7694 11770
7695 11771 Code and Data Size: Current core subsystem library sizes are shown
7696 11772 below. These are the code and data sizes for the acpica.lib
7697 11773 produced by the Microsoft Visual C++ 6.0 compiler, and these
7698 11774 values do not include any ACPI driver or OSPM code. The debug
7699 11775 version of the code includes the debug output trace mechanism and
7700 11776 has a much larger code and data size. Note that these values will
7701 11777 vary depending on the efficiency of the compiler and the compiler
7702 11778 options used during generation.
7703 11779
7704 11780 Previous Release
7705 11781 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
7706 11782 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
7707 11783 Current Release:
7708 11784 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
7709 11785 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
7710 11786
7711 11787
7712 11788 2) Linux
7713 11789
7714 11790 Fixed a problem introduced in the previous release where the
7715 11791 Processor and Thermal objects were not recognized and installed in
7716 11792 /proc. This was related to the scope type change described above.
7717 11793
7718 11794
7719 11795 3) iASL Compiler/Disassembler
7720 11796
7721 11797 Implemented the -g option to get all of the required ACPI tables
7722 11798 from the registry and save them to files (Windows version of the
7723 11799 compiler only.) The required tables are the FADT, FACS, and DSDT.
7724 11800
7725 11801 Added ACPI table checksum validation during table disassembly in
7726 11802 order to catch corrupted tables.
7727 11803
7728 11804
7729 11805 ----------------------------------------
7730 11806 22 October 2002. Summary of changes for version 20021022.
7731 11807
7732 11808 1) ACPI CA Core Subsystem:
7733 11809
7734 11810 Implemented a restriction on the Scope operator that the target
7735 11811 must already exist in the namespace at the time the operator is
7736 11812 encountered (during table load or method execution). In other
7737 11813 words, forward references are not allowed and Scope() cannot
7738 11814 create a new object. This changes the previous behavior where the
7739 11815 interpreter would create the name if not found. This new behavior
7740 11816 correctly enables the search-to-root algorithm during namespace
7741 11817 lookup of the target name. Because of this upsearch, this fixes
7742 11818 the known Compaq _SB_.OKEC problem and makes both the AML
7743 11819 interpreter and iASL compiler compatible with other ACPI
7744 11820 implementations.
7745 11821
7746 11822 Completed a major overhaul of the internal ACPI object types for
7747 11823 the ACPI Namespace and the associated operand objects. Many of
7748 11824 these types had become obsolete with the introduction of the two-
7749 11825 pass namespace load. This cleanup simplifies the code and makes
7750 11826 the entire namespace load mechanism much clearer and easier to
7751 11827 understand.
7752 11828
7753 11829 Improved debug output for tracking scope opening/closing to help
7754 11830 diagnose scoping issues. The old scope name as well as the new
7755 11831 scope name are displayed. Also improved error messages for
7756 11832 problems with ASL Mutex objects and error messages for GPE
7757 11833 problems.
7758 11834
7759 11835 Cleaned up the namespace dump code, removed obsolete code.
7760 11836
7761 11837 All string output (for all namespace/object dumps) now uses the
7762 11838 common ACPI string output procedure which handles escapes properly
7763 11839 and does not emit non-printable characters.
7764 11840
7765 11841 Fixed some issues with constants in the 64-bit version of the
7766 11842 local C library (utclib.c)
7767 11843
7768 11844
7769 11845 2) Linux
7770 11846
7771 11847 EC Driver: No longer attempts to acquire the Global Lock at
7772 11848 interrupt level.
7773 11849
7774 11850
7775 11851 3) iASL Compiler/Disassembler
7776 11852
7777 11853 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
7778 11854 2 opcodes outside of a control method. This means that the
7779 11855 "executable" operators (versus the "namespace" operators) cannot
7780 11856 be used at the table level; they can only be used within a control
7781 11857 method.
7782 11858
7783 11859 Implemented the restriction on the Scope() operator where the
7784 11860 target must already exist in the namespace at the time the
7785 11861 operator is encountered (during ASL compilation). In other words,
7786 11862 forward references are not allowed and Scope() cannot create a new
7787 11863 object. This makes the iASL compiler compatible with other ACPI
7788 11864 implementations and makes the Scope() implementation adhere to the
7789 11865 ACPI specification.
7790 11866
7791 11867 Fixed a problem where namepath optimization for the Alias operator
7792 11868 was optimizing the wrong path (of the two namepaths.) This caused
7793 11869 a "Missing alias link" error message.
7794 11870
7795 11871 Fixed a problem where an "unknown reserved name" warning could be
7796 11872 incorrectly generated for names like "_SB" when the trailing
7797 11873 underscore is not used in the original ASL.
7798 11874
7799 11875 Fixed a problem where the reserved name check did not handle
7800 11876 NamePaths with multiple NameSegs correctly. The first nameseg of
7801 11877 the NamePath was examined instead of the last NameSeg.
7802 11878
7803 11879
7804 11880 ----------------------------------------
7805 11881
7806 11882 02 October 2002. Summary of changes for this release.
7807 11883
7808 11884
7809 11885 1) ACPI CA Core Subsystem version 20021002:
7810 11886
7811 11887 Fixed a problem where a store/copy of a string to an existing
7812 11888 string did not always set the string length properly in the String
7813 11889 object.
7814 11890
7815 11891 Fixed a reported problem with the ToString operator where the
7816 11892 behavior was identical to the ToHexString operator instead of just
7817 11893 simply converting a raw buffer to a string data type.
7818 11894
7819 11895 Fixed a problem where CopyObject and the other "explicit"
7820 11896 conversion operators were not updating the internal namespace node
7821 11897 type as part of the store operation.
7822 11898
7823 11899 Fixed a memory leak during implicit source operand conversion
7824 11900 where the original object was not deleted if it was converted to a
7825 11901 new object of a different type.
7826 11902
7827 11903 Enhanced error messages for all problems associated with namespace
7828 11904 lookups. Common procedure generates and prints the lookup name as
7829 11905 well as the formatted status.
7830 11906
7831 11907 Completed implementation of a new design for the Alias support
7832 11908 within the namespace. The existing design did not handle the case
7833 11909 where a new object was assigned to one of the two names due to the
7834 11910 use of an explicit conversion operator, resulting in the two names
7835 11911 pointing to two different objects. The new design simply points
7836 11912 the Alias name to the original name node - not to the object.
7837 11913 This results in a level of indirection that must be handled in the
7838 11914 name resolution mechanism.
7839 11915
7840 11916 Code and Data Size: Current core subsystem library sizes are shown
7841 11917 below. These are the code and data sizes for the acpica.lib
7842 11918 produced by the Microsoft Visual C++ 6.0 compiler, and these
7843 11919 values do not include any ACPI driver or OSPM code. The debug
7844 11920 version of the code includes the debug output trace mechanism and
7845 11921 has a larger code and data size. Note that these values will vary
7846 11922 depending on the efficiency of the compiler and the compiler
7847 11923 options used during generation.
7848 11924
7849 11925 Previous Release
7850 11926 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
7851 11927 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
7852 11928 Current Release:
7853 11929 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
7854 11930 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
7855 11931
7856 11932
7857 11933 2) Linux
7858 11934
7859 11935 Initialize thermal driver's timer before it is used. (Knut
7860 11936 Neumann)
7861 11937
7862 11938 Allow handling negative celsius values. (Kochi Takayoshi)
7863 11939
7864 11940 Fix thermal management and make trip points. R/W (Pavel Machek)
7865 11941
7866 11942 Fix /proc/acpi/sleep. (P. Christeas)
7867 11943
7868 11944 IA64 fixes. (David Mosberger)
7869 11945
7870 11946 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
7871 11947
7872 11948 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
7873 11949 Brodowski)
7874 11950
7875 11951
7876 11952 3) iASL Compiler/Disassembler
7877 11953
7878 11954 Clarified some warning/error messages.
7879 11955
7880 11956
7881 11957 ----------------------------------------
7882 11958 18 September 2002. Summary of changes for this release.
7883 11959
7884 11960
7885 11961 1) ACPI CA Core Subsystem version 20020918:
7886 11962
7887 11963 Fixed a reported problem with reference chaining (via the Index()
7888 11964 and RefOf() operators) in the ObjectType() and SizeOf() operators.
7889 11965 The definition of these operators includes the dereferencing of
7890 11966 all chained references to return information on the base object.
7891 11967
7892 11968 Fixed a problem with stores to indexed package elements - the
7893 11969 existing code would not complete the store if an "implicit
7894 11970 conversion" was not performed. In other words, if the existing
7895 11971 object (package element) was to be replaced completely, the code
7896 11972 didn't handle this case.
7897 11973
7898 11974 Relaxed typechecking on the ASL "Scope" operator to allow the
7899 11975 target name to refer to an object of type Integer, String, or
7900 11976 Buffer, in addition to the scoping object types (Device,
7901 11977 predefined Scopes, Processor, PowerResource, and ThermalZone.)
7902 11978 This allows existing AML code that has workarounds for a bug in
7903 11979 Windows to function properly. A warning is issued, however. This
7904 11980 affects both the AML interpreter and the iASL compiler. Below is
7905 11981 an example of this type of ASL code:
7906 11982
7907 11983 Name(DEB,0x00)
7908 11984 Scope(DEB)
7909 11985 {
7910 11986
7911 11987 Fixed some reported problems with 64-bit integer support in the
7912 11988 local implementation of C library functions (clib.c)
7913 11989
7914 11990
7915 11991 2) Linux
7916 11992
7917 11993 Use ACPI fix map region instead of IOAPIC region, since it is
7918 11994 undefined in non-SMP.
7919 11995
7920 11996 Ensure that the SCI has the proper polarity and trigger, even on
7921 11997 systems that do not have an interrupt override entry in the MADT.
7922 11998
7923 11999 2.5 big driver reorganization (Pat Mochel)
7924 12000
7925 12001 Use early table mapping code from acpitable.c (Andi Kleen)
7926 12002
7927 12003 New blacklist entries (Andi Kleen)
7928 12004
7929 12005 Blacklist improvements. Split blacklist code out into a separate
7930 12006 file. Move checking the blacklist to very early. Previously, we
7931 12007 would use ACPI tables, and then halfway through init, check the
7932 12008 blacklist -- too late. Now, it's early enough to completely fall-
7933 12009 back to non-ACPI.
7934 12010
7935 12011
7936 12012 3) iASL Compiler/Disassembler version 20020918:
7937 12013
7938 12014 Fixed a problem where the typechecking code didn't know that an
7939 12015 alias could point to a method. In other words, aliases were not
7940 12016 being dereferenced during typechecking.
7941 12017
7942 12018
7943 12019 ----------------------------------------
7944 12020 29 August 2002. Summary of changes for this release.
7945 12021
7946 12022 1) ACPI CA Core Subsystem Version 20020829:
7947 12023
7948 12024 If the target of a Scope() operator already exists, it must be an
7949 12025 object type that actually opens a scope -- such as a Device,
7950 12026 Method, Scope, etc. This is a fatal runtime error. Similar error
7951 12027 check has been added to the iASL compiler also.
7952 12028
7953 12029 Tightened up the namespace load to disallow multiple names in the
7954 12030 same scope. This previously was allowed if both objects were of
7955 12031 the same type. (i.e., a lookup was the same as entering a new
7956 12032 name).
7957 12033
7958 12034
7959 12035 2) Linux
7960 12036
7961 12037 Ensure that the ACPI interrupt has the proper trigger and
7962 12038 polarity.
7963 12039
7964 12040 local_irq_disable is extraneous. (Matthew Wilcox)
7965 12041
7966 12042 Make "acpi=off" actually do what it says, and not use the ACPI
7967 12043 interpreter *or* the tables.
7968 12044
7969 12045 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
7970 12046 Takayoshi)
7971 12047
7972 12048
7973 12049 3) iASL Compiler/Disassembler Version 20020829:
7974 12050
7975 12051 Implemented namepath optimization for name declarations. For
7976 12052 example, a declaration like "Method (\_SB_.ABCD)" would get
7977 12053 optimized to "Method (ABCD)" if the declaration is within the
7978 12054 \_SB_ scope. This optimization is in addition to the named
7979 12055 reference path optimization first released in the previous
7980 12056 version. This would seem to complete all possible optimizations
7981 12057 for namepaths within the ASL/AML.
7982 12058
7983 12059 If the target of a Scope() operator already exists, it must be an
7984 12060 object type that actually opens a scope -- such as a Device,
7985 12061 Method, Scope, etc.
7986 12062
7987 12063 Implemented a check and warning for unreachable code in the same
7988 12064 block below a Return() statement.
7989 12065
7990 12066 Fixed a problem where the listing file was not generated if the
7991 12067 compiler aborted if the maximum error count was exceeded (200).
7992 12068
7993 12069 Fixed a problem where the typechecking of method return values was
7994 12070 broken. This includes the check for a return value when the
7995 12071 method is invoked as a TermArg (a return value is expected.)
7996 12072
7997 12073 Fixed a reported problem where EOF conditions during a quoted
7998 12074 string or comment caused a fault.
7999 12075
8000 12076
8001 12077 ----------------------------------------
8002 12078 15 August 2002. Summary of changes for this release.
8003 12079
8004 12080 1) ACPI CA Core Subsystem Version 20020815:
8005 12081
8006 12082 Fixed a reported problem where a Store to a method argument that
8007 12083 contains a reference did not perform the indirect store correctly.
8008 12084 This problem was created during the conversion to the new
8009 12085 reference object model - the indirect store to a method argument
8010 12086 code was not updated to reflect the new model.
8011 12087
8012 12088 Reworked the ACPI mode change code to better conform to ACPI 2.0,
8013 12089 handle corner cases, and improve code legibility (Kochi Takayoshi)
8014 12090
8015 12091 Fixed a problem with the pathname parsing for the carat (^)
8016 12092 prefix. The heavy use of the carat operator by the new namepath
8017 12093 optimization in the iASL compiler uncovered a problem with the AML
8018 12094 interpreter handling of this prefix. In the case where one or
8019 12095 more carats precede a single nameseg, the nameseg was treated as
8020 12096 standalone and the search rule (to root) was inadvertently
8021 12097 applied. This could cause both the iASL compiler and the
8022 12098 interpreter to find the wrong object or to miss the error that
8023 12099 should occur if the object does not exist at that exact pathname.
8024 12100
8025 12101 Found and fixed the problem where the HP Pavilion DSDT would not
8026 12102 load. This was a relatively minor tweak to the table loading code
8027 12103 (a problem caused by the unexpected encounter with a method
8028 12104 invocation not within a control method), but it does not solve the
8029 12105 overall issue of the execution of AML code at the table level.
8030 12106 This investigation is still ongoing.
8031 12107
8032 12108 Code and Data Size: Current core subsystem library sizes are shown
8033 12109 below. These are the code and data sizes for the acpica.lib
8034 12110 produced by the Microsoft Visual C++ 6.0 compiler, and these
8035 12111 values do not include any ACPI driver or OSPM code. The debug
8036 12112 version of the code includes the debug output trace mechanism and
8037 12113 has a larger code and data size. Note that these values will vary
8038 12114 depending on the efficiency of the compiler and the compiler
8039 12115 options used during generation.
8040 12116
8041 12117 Previous Release
8042 12118 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
8043 12119 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
8044 12120 Current Release:
8045 12121 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
8046 12122 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
8047 12123
8048 12124
8049 12125 2) Linux
8050 12126
8051 12127 Remove redundant slab.h include (Brad Hards)
8052 12128
8053 12129 Fix several bugs in thermal.c (Herbert Nachtnebel)
8054 12130
8055 12131 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
8056 12132
8057 12133 Change acpi_system_suspend to use updated irq functions (Pavel
8058 12134 Machek)
8059 12135
8060 12136 Export acpi_get_firmware_table (Matthew Wilcox)
8061 12137
8062 12138 Use proper root proc entry for ACPI (Kochi Takayoshi)
8063 12139
8064 12140 Fix early-boot table parsing (Bjorn Helgaas)
8065 12141
8066 12142
8067 12143 3) iASL Compiler/Disassembler
8068 12144
8069 12145 Reworked the compiler options to make them more consistent and to
8070 12146 use two-letter options where appropriate. We were running out of
8071 12147 sensible letters. This may break some makefiles, so check the
8072 12148 current options list by invoking the compiler with no parameters.
8073 12149
8074 12150 Completed the design and implementation of the ASL namepath
8075 12151 optimization option for the compiler. This option optimizes all
8076 12152 references to named objects to the shortest possible path. The
8077 12153 first attempt tries to utilize a single nameseg (4 characters) and
8078 12154 the "search-to-root" algorithm used by the interpreter. If that
8079 12155 cannot be used (because either the name is not in the search path
8080 12156 or there is a conflict with another object with the same name),
8081 12157 the pathname is optimized using the carat prefix (usually a
8082 12158 shorter string than specifying the entire path from the root.)
8083 12159
8084 12160 Implemented support to obtain the DSDT from the Windows registry
8085 12161 (when the disassembly option is specified with no input file).
8086 12162 Added this code as the implementation for AcpiOsTableOverride in
8087 12163 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
8088 12164 utility) to scan memory for the DSDT to the AcpiOsTableOverride
8089 12165 function in the DOS OSL to make the disassembler truly OS
8090 12166 independent.
8091 12167
8092 12168 Implemented a new option to disassemble and compile in one step.
8093 12169 When used without an input filename, this option will grab the
8094 12170 DSDT from the local machine, disassemble it, and compile it in one
8095 12171 step.
8096 12172
8097 12173 Added a warning message for invalid escapes (a backslash followed
8098 12174 by any character other than the allowable escapes). This catches
8099 12175 the quoted string error "\_SB_" (which should be "\\_SB_" ).
8100 12176
8101 12177 Also, there are numerous instances in the ACPI specification where
8102 12178 this error occurs.
8103 12179
8104 12180 Added a compiler option to disable all optimizations. This is
8105 12181 basically the "compatibility mode" because by using this option,
8106 12182 the AML code will come out exactly the same as other ASL
8107 12183 compilers.
8108 12184
8109 12185 Added error messages for incorrectly ordered dependent resource
8110 12186 functions. This includes: missing EndDependentFn macro at end of
8111 12187 dependent resource list, nested dependent function macros (both
8112 12188 start and end), and missing StartDependentFn macro. These are
8113 12189 common errors that should be caught at compile time.
8114 12190
8115 12191 Implemented _OSI support for the disassembler and compiler. _OSI
8116 12192 must be included in the namespace for proper disassembly (because
8117 12193 the disassembler must know the number of arguments.)
8118 12194
8119 12195 Added an "optimization" message type that is optional (off by
8120 12196 default). This message is used for all optimizations - including
8121 12197 constant folding, integer optimization, and namepath optimization.
8122 12198
8123 12199 ----------------------------------------
8124 12200 25 July 2002. Summary of changes for this release.
8125 12201
8126 12202
8127 12203 1) ACPI CA Core Subsystem Version 20020725:
8128 12204
8129 12205 The AML Disassembler has been enhanced to produce compilable ASL
8130 12206 code and has been integrated into the iASL compiler (see below) as
8131 12207 well as the single-step disassembly for the AML debugger and the
8132 12208 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
8133 12209 resource templates and macros are fully supported. The
8134 12210 disassembler has been tested on over 30 different AML files,
8135 12211 producing identical AML when the resulting disassembled ASL file
8136 12212 is recompiled with the same ASL compiler.
8137 12213
8138 12214 Modified the Resource Manager to allow zero interrupts and zero
8139 12215 dma channels during the GetCurrentResources call. This was
8140 12216 causing problems on some platforms.
8141 12217
8142 12218 Added the AcpiOsRedirectOutput interface to the OSL to simplify
8143 12219 output redirection for the AcpiOsPrintf and AcpiOsVprintf
8144 12220 interfaces.
8145 12221
8146 12222 Code and Data Size: Current core subsystem library sizes are shown
8147 12223 below. These are the code and data sizes for the acpica.lib
8148 12224 produced by the Microsoft Visual C++ 6.0 compiler, and these
8149 12225 values do not include any ACPI driver or OSPM code. The debug
8150 12226 version of the code includes the debug output trace mechanism and
8151 12227 has a larger code and data size. Note that these values will vary
8152 12228 depending on the efficiency of the compiler and the compiler
8153 12229 options used during generation.
8154 12230
8155 12231 Previous Release
8156 12232 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
8157 12233 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
8158 12234 Current Release:
8159 12235 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
8160 12236 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
8161 12237
8162 12238
8163 12239 2) Linux
8164 12240
8165 12241 Fixed a panic in the EC driver (Dominik Brodowski)
8166 12242
8167 12243 Implemented checksum of the R/XSDT itself during Linux table scan
8168 12244 (Richard Schaal)
8169 12245
8170 12246
8171 12247 3) iASL compiler
8172 12248
8173 12249 The AML disassembler is integrated into the compiler. The "-d"
8174 12250 option invokes the disassembler to completely disassemble an
8175 12251 input AML file, producing as output a text ASL file with the
8176 12252 extension ".dsl" (to avoid name collisions with existing .asl
8177 12253 source files.) A future enhancement will allow the disassembler
8178 12254 to obtain the BIOS DSDT from the registry under Windows.
8179 12255
8180 12256 Fixed a problem with the VendorShort and VendorLong resource
8181 12257 descriptors where an invalid AML sequence was created.
8182 12258
8183 12259 Implemented a fix for BufferData term in the ASL parser. It was
8184 12260 inadvertently defined twice, allowing invalid syntax to pass and
8185 12261 causing reduction conflicts.
8186 12262
8187 12263 Fixed a problem where the Ones opcode could get converted to a
8188 12264 value of zero if "Ones" was used where a byte, word or dword value
8189 12265 was expected. The 64-bit value is now truncated to the correct
8190 12266 size with the correct value.
8191 12267
8192 12268
8193 12269
8194 12270 ----------------------------------------
8195 12271 02 July 2002. Summary of changes for this release.
8196 12272
8197 12273
8198 12274 1) ACPI CA Core Subsystem Version 20020702:
8199 12275
8200 12276 The Table Manager code has been restructured to add several new
8201 12277 features. Tables that are not required by the core subsystem
8202 12278 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8203 12279 validated in any way and are returned from AcpiGetFirmwareTable if
8204 12280 requested. The AcpiOsTableOverride interface is now called for
8205 12281 each table that is loaded by the subsystem in order to allow the
8206 12282 host to override any table it chooses. Previously, only the DSDT
8207 12283 could be overridden. Added one new files, tbrsdt.c and
8208 12284 tbgetall.c.
8209 12285
8210 12286 Fixed a problem with the conversion of internal package objects to
8211 12287 external objects (when a package is returned from a control
8212 12288 method.) The return buffer length was set to zero instead of the
8213 12289 proper length of the package object.
8214 12290
8215 12291 Fixed a reported problem with the use of the RefOf and DeRefOf
8216 12292 operators when passing reference arguments to control methods. A
8217 12293 new type of Reference object is used internally for references
8218 12294 produced by the RefOf operator.
8219 12295
8220 12296 Added additional error messages in the Resource Manager to explain
8221 12297 AE_BAD_DATA errors when they occur during resource parsing.
8222 12298
8223 12299 Split the AcpiEnableSubsystem into two primitives to enable a
8224 12300 finer granularity initialization sequence. These two calls should
8225 12301 be called in this order: AcpiEnableSubsystem (flags),
8226 12302 AcpiInitializeObjects (flags). The flags parameter remains the
8227 12303 same.
8228 12304
8229 12305
8230 12306 2) Linux
8231 12307
8232 12308 Updated the ACPI utilities module to understand the new style of
8233 12309 fully resolved package objects that are now returned from the core
8234 12310 subsystem. This eliminates errors of the form:
8235 12311
8236 12312 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
8237 12313 acpi_utils-0430 [145] acpi_evaluate_reference:
8238 12314 Invalid element in package (not a device reference)
8239 12315
8240 12316 The method evaluation utility uses the new buffer allocation
8241 12317 scheme instead of calling AcpiEvaluate Object twice.
8242 12318
8243 12319 Added support for ECDT. This allows the use of the Embedded
8244 12320
8245 12321 Controller before the namespace has been fully initialized, which
8246 12322 is necessary for ACPI 2.0 support, and for some laptops to
8247 12323 initialize properly. (Laptops using ECDT are still rare, so only
8248 12324 limited testing was performed of the added functionality.)
8249 12325
8250 12326 Fixed memory leaks in the EC driver.
8251 12327
8252 12328 Eliminated a brittle code structure in acpi_bus_init().
8253 12329
8254 12330 Eliminated the acpi_evaluate() helper function in utils.c. It is
8255 12331 no longer needed since acpi_evaluate_object can optionally
8256 12332 allocate memory for the return object.
8257 12333
8258 12334 Implemented fix for keyboard hang when getting battery readings on
8259 12335 some systems (Stephen White)
8260 12336
8261 12337 PCI IRQ routing update (Dominik Brodowski)
8262 12338
8263 12339 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
8264 12340 support
8265 12341
8266 12342 ----------------------------------------
8267 12343 11 June 2002. Summary of changes for this release.
8268 12344
8269 12345
8270 12346 1) ACPI CA Core Subsystem Version 20020611:
8271 12347
8272 12348 Fixed a reported problem where constants such as Zero and One
8273 12349 appearing within _PRT packages were not handled correctly within
8274 12350 the resource manager code. Originally reported against the ASL
8275 12351 compiler because the code generator now optimizes integers to
8276 12352 their minimal AML representation (i.e. AML constants if possible.)
8277 12353 The _PRT code now handles all AML constant opcodes correctly
8278 12354 (Zero, One, Ones, Revision).
8279 12355
8280 12356 Fixed a problem with the Concatenate operator in the AML
8281 12357 interpreter where a buffer result object was incorrectly marked as
8282 12358 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
8283 12359
8284 12360 All package sub-objects are now fully resolved before they are
8285 12361 returned from the external ACPI interfaces. This means that name
8286 12362 strings are resolved to object handles, and constant operators
8287 12363 (Zero, One, Ones, Revision) are resolved to Integers.
8288 12364
8289 12365 Implemented immediate resolution of the AML Constant opcodes
8290 12366 (Zero, One, Ones, Revision) to Integer objects upon detection
8291 12367 within the AML stream. This has simplified and reduced the
8292 12368 generated code size of the subsystem by eliminating about 10
8293 12369 switch statements for these constants (which previously were
8294 12370 contained in Reference objects.) The complicating issues are that
8295 12371 the Zero opcode is used as a "placeholder" for unspecified
8296 12372 optional target operands and stores to constants are defined to be
8297 12373 no-ops.
8298 12374
8299 12375 Code and Data Size: Current core subsystem library sizes are shown
8300 12376 below. These are the code and data sizes for the acpica.lib
8301 12377 produced by the Microsoft Visual C++ 6.0 compiler, and these
8302 12378 values do not include any ACPI driver or OSPM code. The debug
8303 12379 version of the code includes the debug output trace mechanism and
8304 12380 has a larger code and data size. Note that these values will vary
8305 12381 depending on the efficiency of the compiler and the compiler
8306 12382 options used during generation.
8307 12383
8308 12384 Previous Release
8309 12385 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
8310 12386 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
8311 12387 Current Release:
8312 12388 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
8313 12389 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
8314 12390
8315 12391
8316 12392 2) Linux
8317 12393
8318 12394
8319 12395 Added preliminary support for obtaining _TRA data for PCI root
8320 12396 bridges (Bjorn Helgaas).
8321 12397
8322 12398
8323 12399 3) iASL Compiler Version X2046:
8324 12400
8325 12401 Fixed a problem where the "_DDN" reserved name was defined to be a
8326 12402 control method with one argument. There are no arguments, and
8327 12403 _DDN does not have to be a control method.
8328 12404
8329 12405 Fixed a problem with the Linux version of the compiler where the
8330 12406 source lines printed with error messages were the wrong lines.
8331 12407 This turned out to be the "LF versus CR/LF" difference between
8332 12408 Windows and Unix. This appears to be the longstanding issue
8333 12409 concerning listing output and error messages.
8334 12410
8335 12411 Fixed a problem with the Linux version of compiler where opcode
8336 12412 names within error messages were wrong. This was caused by a
8337 12413 slight difference in the output of the Flex tool on Linux versus
8338 12414 Windows.
8339 12415
8340 12416 Fixed a problem with the Linux compiler where the hex output files
8341 12417 contained some garbage data caused by an internal buffer overrun.
8342 12418
8343 12419
8344 12420 ----------------------------------------
8345 12421 17 May 2002. Summary of changes for this release.
8346 12422
8347 12423
8348 12424 1) ACPI CA Core Subsystem Version 20020517:
8349 12425
8350 12426 Implemented a workaround to an BIOS bug discovered on the HP
8351 12427 OmniBook where the FADT revision number and the table size are
8352 12428 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
8353 12429 behavior is to fallback to using only the ACPI 1.0 fields of the
8354 12430 FADT if the table is too small to be a ACPI 2.0 table as claimed
8355 12431 by the revision number. Although this is a BIOS bug, this is a
8356 12432 case where the workaround is simple enough and with no side
8357 12433 effects, so it seemed prudent to add it. A warning message is
8358 12434 issued, however.
8359 12435
8360 12436 Implemented minimum size checks for the fixed-length ACPI tables -
8361 12437 - the FADT and FACS, as well as consistency checks between the
8362 12438 revision number and the table size.
8363 12439
8364 12440 Fixed a reported problem in the table override support where the
8365 12441 new table pointer was incorrectly treated as a physical address
8366 12442 instead of a logical address.
8367 12443
8368 12444 Eliminated the use of the AE_AML_ERROR exception and replaced it
8369 12445 with more descriptive codes.
8370 12446
8371 12447 Fixed a problem where an exception would occur if an ASL Field was
8372 12448 defined with no named Field Units underneath it (used by some
8373 12449 index fields).
8374 12450
8375 12451 Code and Data Size: Current core subsystem library sizes are shown
8376 12452 below. These are the code and data sizes for the acpica.lib
8377 12453 produced by the Microsoft Visual C++ 6.0 compiler, and these
8378 12454 values do not include any ACPI driver or OSPM code. The debug
8379 12455 version of the code includes the debug output trace mechanism and
8380 12456 has a larger code and data size. Note that these values will vary
8381 12457 depending on the efficiency of the compiler and the compiler
8382 12458 options used during generation.
8383 12459
8384 12460 Previous Release
8385 12461 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
8386 12462 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
8387 12463 Current Release:
8388 12464 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
8389 12465 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
8390 12466
8391 12467
8392 12468
8393 12469 2) Linux
8394 12470
8395 12471 Much work done on ACPI init (MADT and PCI IRQ routing support).
8396 12472 (Paul D. and Dominik Brodowski)
8397 12473
8398 12474 Fix PCI IRQ-related panic on boot (Sam Revitch)
8399 12475
8400 12476 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
8401 12477
8402 12478 Fix "MHz" typo (Dominik Brodowski)
8403 12479
8404 12480 Fix RTC year 2000 issue (Dominik Brodowski)
8405 12481
8406 12482 Preclude multiple button proc entries (Eric Brunet)
8407 12483
8408 12484 Moved arch-specific code out of include/platform/aclinux.h
8409 12485
8410 12486 3) iASL Compiler Version X2044:
8411 12487
8412 12488 Implemented error checking for the string used in the EISAID macro
8413 12489 (Usually used in the definition of the _HID object.) The code now
8414 12490 strictly enforces the PnP format - exactly 7 characters, 3
8415 12491 uppercase letters and 4 hex digits.
8416 12492
8417 12493 If a raw string is used in the definition of the _HID object
8418 12494 (instead of the EISAID macro), the string must contain all
8419 12495 alphanumeric characters (e.g., "*PNP0011" is not allowed because
8420 12496 of the asterisk.)
8421 12497
8422 12498 Implemented checking for invalid use of ACPI reserved names for
8423 12499 most of the name creation operators (Name, Device, Event, Mutex,
8424 12500 OperationRegion, PowerResource, Processor, and ThermalZone.)
8425 12501 Previously, this check was only performed for control methods.
8426 12502
8427 12503 Implemented an additional check on the Name operator to emit an
8428 12504 error if a reserved name that must be implemented in ASL as a
8429 12505 control method is used. We know that a reserved name must be a
8430 12506 method if it is defined with input arguments.
8431 12507
8432 12508 The warning emitted when a namespace object reference is not found
8433 12509 during the cross reference phase has been changed into an error.
8434 12510 The "External" directive should be used for names defined in other
8435 12511 modules.
8436 12512
8437 12513
8438 12514 4) Tools and Utilities
8439 12515
8440 12516 The 16-bit tools (adump16 and aexec16) have been regenerated and
8441 12517 tested.
8442 12518
8443 12519 Fixed a problem with the output of both acpidump and adump16 where
8444 12520 the indentation of closing parentheses and brackets was not
8445 12521
8446 12522 aligned properly with the parent block.
8447 12523
8448 12524
8449 12525 ----------------------------------------
8450 12526 03 May 2002. Summary of changes for this release.
8451 12527
8452 12528
8453 12529 1) ACPI CA Core Subsystem Version 20020503:
8454 12530
8455 12531 Added support a new OSL interface that allows the host operating
8456 12532
8457 12533 system software to override the DSDT found in the firmware -
8458 12534 AcpiOsTableOverride. With this interface, the OSL can examine the
8459 12535 version of the firmware DSDT and replace it with a different one
8460 12536 if desired.
8461 12537
8462 12538 Added new external interfaces for accessing ACPI registers from
8463 12539 device drivers and other system software - AcpiGetRegister and
8464 12540 AcpiSetRegister. This was simply an externalization of the
8465 12541 existing AcpiHwBitRegister interfaces.
8466 12542
8467 12543 Fixed a regression introduced in the previous build where the
8468 12544 ASL/AML CreateField operator always returned an error,
8469 12545 "destination must be a NS Node".
8470 12546
8471 12547 Extended the maximum time (before failure) to successfully enable
8472 12548 ACPI mode to 3 seconds.
8473 12549
8474 12550 Code and Data Size: Current core subsystem library sizes are shown
8475 12551 below. These are the code and data sizes for the acpica.lib
8476 12552 produced by the Microsoft Visual C++ 6.0 compiler, and these
8477 12553 values do not include any ACPI driver or OSPM code. The debug
8478 12554 version of the code includes the debug output trace mechanism and
8479 12555 has a larger code and data size. Note that these values will vary
8480 12556 depending on the efficiency of the compiler and the compiler
8481 12557 options used during generation.
8482 12558
8483 12559 Previous Release
8484 12560 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
8485 12561 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
8486 12562 Current Release:
8487 12563 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
8488 12564 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
8489 12565
8490 12566
8491 12567 2) Linux
8492 12568
8493 12569 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
8494 12570 free. While 3 out of 4 of our in-house systems work fine, the last
8495 12571 one still hangs when testing the LAPIC timer.
8496 12572
8497 12573 Renamed many files in 2.5 kernel release to omit "acpi_" from the
8498 12574 name.
8499 12575
8500 12576 Added warning on boot for Presario 711FR.
8501 12577
8502 12578 Sleep improvements (Pavel Machek)
8503 12579
8504 12580 ACPI can now be built without CONFIG_PCI enabled.
8505 12581
8506 12582 IA64: Fixed memory map functions (JI Lee)
8507 12583
8508 12584
8509 12585 3) iASL Compiler Version X2043:
8510 12586
8511 12587 Added support to allow the compiler to be integrated into the MS
8512 12588 VC++ development environment for one-button compilation of single
8513 12589 files or entire projects -- with error-to-source-line mapping.
8514 12590
8515 12591 Implemented support for compile-time constant folding for the
8516 12592 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
8517 12593 specification. This allows the ASL writer to use expressions
8518 12594 instead of Integer/Buffer/String constants in terms that must
8519 12595 evaluate to constants at compile time and will also simplify the
8520 12596 emitted AML in any such sub-expressions that can be folded
8521 12597 (evaluated at compile-time.) This increases the size of the
8522 12598 compiler significantly because a portion of the ACPI CA AML
8523 12599 interpreter is included within the compiler in order to pre-
8524 12600 evaluate constant expressions.
8525 12601
8526 12602
8527 12603 Fixed a problem with the "Unicode" ASL macro that caused the
8528 12604 compiler to fault. (This macro is used in conjunction with the
8529 12605 _STR reserved name.)
8530 12606
8531 12607 Implemented an AML opcode optimization to use the Zero, One, and
8532 12608 Ones opcodes where possible to further reduce the size of integer
8533 12609 constants and thus reduce the overall size of the generated AML
8534 12610 code.
8535 12611
8536 12612 Implemented error checking for new reserved terms for ACPI version
8537 12613 2.0A.
8538 12614
8539 12615 Implemented the -qr option to display the current list of ACPI
8540 12616 reserved names known to the compiler.
8541 12617
8542 12618 Implemented the -qc option to display the current list of ASL
8543 12619 operators that are allowed within constant expressions and can
8544 12620 therefore be folded at compile time if the operands are constants.
8545 12621
8546 12622
8547 12623 4) Documentation
8548 12624
8549 12625 Updated the Programmer's Reference for new interfaces, data types,
8550 12626 and memory allocation model options.
8551 12627
8552 12628 Updated the iASL Compiler User Reference to apply new format and
8553 12629 add information about new features and options.
8554 12630
8555 12631 ----------------------------------------
8556 12632 19 April 2002. Summary of changes for this release.
8557 12633
8558 12634 1) ACPI CA Core Subsystem Version 20020419:
8559 12635
8560 12636 The source code base for the Core Subsystem has been completely
8561 12637 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
8562 12638 versions. The Lint option files used are included in the
8563 12639 /acpi/generate/lint directory.
8564 12640
8565 12641 Implemented enhanced status/error checking across the entire
8566 12642 Hardware manager subsystem. Any hardware errors (reported from
8567 12643 the OSL) are now bubbled up and will abort a running control
8568 12644 method.
8569 12645
8570 12646
8571 12647 Fixed a problem where the per-ACPI-table integer width (32 or 64)
8572 12648 was stored only with control method nodes, causing a fault when
8573 12649 non-control method code was executed during table loading. The
8574 12650 solution implemented uses a global variable to indicate table
8575 12651 width across the entire ACPI subsystem. Therefore, ACPI CA does
8576 12652 not support mixed integer widths across different ACPI tables
8577 12653 (DSDT, SSDT).
8578 12654
8579 12655 Fixed a problem where NULL extended fields (X fields) in an ACPI
8580 12656 2.0 ACPI FADT caused the table load to fail. Although the
8581 12657 existing ACPI specification is a bit fuzzy on this topic, the new
8582 12658 behavior is to fall back on a ACPI 1.0 field if the corresponding
8583 12659 ACPI 2.0 X field is zero (even though the table revision indicates
8584 12660 a full ACPI 2.0 table.) The ACPI specification will be updated to
8585 12661 clarify this issue.
8586 12662
8587 12663 Fixed a problem with the SystemMemory operation region handler
8588 12664 where memory was always accessed byte-wise even if the AML-
8589 12665 specified access width was larger than a byte. This caused
8590 12666 problems on systems with memory-mapped I/O. Memory is now
8591 12667 accessed with the width specified. On systems that do not support
8592 12668 non-aligned transfers, a check is made to guarantee proper address
8593 12669 alignment before proceeding in order to avoid an AML-caused
8594 12670 alignment fault within the kernel.
8595 12671
8596 12672
8597 12673 Fixed a problem with the ExtendedIrq resource where only one byte
8598 12674 of the 4-byte Irq field was extracted.
8599 12675
8600 12676 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
8601 12677 function was out of date and required a rewrite.
8602 12678
8603 12679 Code and Data Size: Current core subsystem library sizes are shown
8604 12680 below. These are the code and data sizes for the acpica.lib
8605 12681 produced by the Microsoft Visual C++ 6.0 compiler, and these
8606 12682 values do not include any ACPI driver or OSPM code. The debug
8607 12683 version of the code includes the debug output trace mechanism and
8608 12684 has a larger code and data size. Note that these values will vary
8609 12685 depending on the efficiency of the compiler and the compiler
8610 12686 options used during generation.
8611 12687
8612 12688 Previous Release
8613 12689 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
8614 12690 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
8615 12691 Current Release:
8616 12692 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
8617 12693 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
8618 12694
8619 12695
8620 12696 2) Linux
8621 12697
8622 12698 PCI IRQ routing fixes (Dominik Brodowski)
8623 12699
8624 12700
8625 12701 3) iASL Compiler Version X2042:
8626 12702
8627 12703 Implemented an additional compile-time error check for a field
8628 12704 unit whose size + minimum access width would cause a run-time
8629 12705 access beyond the end-of-region. Previously, only the field size
8630 12706 itself was checked.
8631 12707
8632 12708 The Core subsystem and iASL compiler now share a common parse
8633 12709 object in preparation for compile-time evaluation of the type
8634 12710 3/4/5 ASL operators.
8635 12711
8636 12712
8637 12713 ----------------------------------------
8638 12714 Summary of changes for this release: 03_29_02
8639 12715
8640 12716 1) ACPI CA Core Subsystem Version 20020329:
8641 12717
8642 12718 Implemented support for late evaluation of TermArg operands to
8643 12719 Buffer and Package objects. This allows complex expressions to be
8644 12720 used in the declarations of these object types.
8645 12721
8646 12722 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
8647 12723 1.0, if the field was larger than 32 bits, it was returned as a
8648 12724 buffer - otherwise it was returned as an integer. In ACPI 2.0,
8649 12725 the field is returned as a buffer only if the field is larger than
8650 12726 64 bits. The TableRevision is now considered when making this
8651 12727 conversion to avoid incompatibility with existing ASL code.
8652 12728
8653 12729 Implemented logical addressing for AcpiOsGetRootPointer. This
8654 12730 allows an RSDP with either a logical or physical address. With
8655 12731 this support, the host OS can now override all ACPI tables with
8656 12732 one logical RSDP. Includes implementation of "typed" pointer
8657 12733 support to allow a common data type for both physical and logical
8658 12734 pointers internally. This required a change to the
8659 12735 AcpiOsGetRootPointer interface.
8660 12736
8661 12737 Implemented the use of ACPI 2.0 Generic Address Structures for all
8662 12738 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
8663 12739 mapped I/O for these ACPI features.
8664 12740
8665 12741 Initialization now ignores not only non-required tables (All
8666 12742 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
8667 12743 not validate the table headers of unrecognized tables.
8668 12744
8669 12745 Fixed a problem where a notify handler could only be
8670 12746 installed/removed on an object of type Device. All "notify"
8671 12747
8672 12748 objects are now supported -- Devices, Processor, Power, and
8673 12749 Thermal.
8674 12750
8675 12751 Removed most verbosity from the ACPI_DB_INFO debug level. Only
8676 12752 critical information is returned when this debug level is enabled.
8677 12753
8678 12754 Code and Data Size: Current core subsystem library sizes are shown
8679 12755 below. These are the code and data sizes for the acpica.lib
8680 12756 produced by the Microsoft Visual C++ 6.0 compiler, and these
8681 12757 values do not include any ACPI driver or OSPM code. The debug
8682 12758 version of the code includes the debug output trace mechanism and
8683 12759 has a larger code and data size. Note that these values will vary
8684 12760 depending on the efficiency of the compiler and the compiler
8685 12761 options used during generation.
8686 12762
8687 12763 Previous Release
8688 12764 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
8689 12765 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
8690 12766 Current Release:
8691 12767 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
8692 12768 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
8693 12769
8694 12770
8695 12771 2) Linux:
8696 12772
8697 12773 The processor driver (acpi_processor.c) now fully supports ACPI
8698 12774 2.0-based processor performance control (e.g. Intel(R)
8699 12775 SpeedStep(TM) technology) Note that older laptops that only have
8700 12776 the Intel "applet" interface are not supported through this. The
8701 12777 'limit' and 'performance' interface (/proc) are fully functional.
8702 12778 [Note that basic policy for controlling performance state
8703 12779 transitions will be included in the next version of ospmd.] The
8704 12780 idle handler was modified to more aggressively use C2, and PIIX4
8705 12781 errata handling underwent a complete overhaul (big thanks to
8706 12782 Dominik Brodowski).
8707 12783
8708 12784 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
8709 12785 based devices in the ACPI namespace are now dynamically bound
8710 12786 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
8711 12787 This allows, among other things, ACPI to resolve bus numbers for
8712 12788 subordinate PCI bridges.
8713 12789
8714 12790 Enhanced PCI IRQ routing to get the proper bus number for _PRT
8715 12791 entries defined underneath PCI bridges.
8716 12792
8717 12793 Added IBM 600E to bad bios list due to invalid _ADR value for
8718 12794 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
8719 12795
8720 12796 In the process of adding full MADT support (e.g. IOAPIC) for IA32
8721 12797 (acpi.c, mpparse.c) -- stay tuned.
8722 12798
8723 12799 Added back visual differentiation between fixed-feature and
8724 12800 control-method buttons in dmesg. Buttons are also subtyped (e.g.
8725 12801 button/power/PWRF) to simplify button identification.
8726 12802
8727 12803 We no longer use -Wno-unused when compiling debug. Please ignore
8728 12804 any "_THIS_MODULE defined but not used" messages.
8729 12805
8730 12806 Can now shut down the system using "magic sysrq" key.
8731 12807
8732 12808
8733 12809 3) iASL Compiler version 2041:
8734 12810
8735 12811 Fixed a problem where conversion errors for hex/octal/decimal
8736 12812 constants were not reported.
8737 12813
8738 12814 Implemented a fix for the General Register template Address field.
8739 12815 This field was 8 bits when it should be 64.
8740 12816
8741 12817 Fixed a problem where errors/warnings were no longer being emitted
8742 12818 within the listing output file.
8743 12819
8744 12820 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
8745 12821 exactly 4 characters, alphanumeric only.
8746 12822
8747 12823
8748 12824
8749 12825
8750 12826 ----------------------------------------
8751 12827 Summary of changes for this release: 03_08_02
8752 12828
8753 12829
8754 12830 1) ACPI CA Core Subsystem Version 20020308:
8755 12831
8756 12832 Fixed a problem with AML Fields where the use of the "AccessAny"
8757 12833 keyword could cause an interpreter error due to attempting to read
8758 12834 or write beyond the end of the parent Operation Region.
8759 12835
8760 12836 Fixed a problem in the SystemMemory Operation Region handler where
8761 12837 an attempt was made to map memory beyond the end of the region.
8762 12838 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
8763 12839 errors on some Linux systems.
8764 12840
8765 12841 Fixed a problem where the interpreter/namespace "search to root"
8766 12842 algorithm was not functioning for some object types. Relaxed the
8767 12843 internal restriction on the search to allow upsearches for all
8768 12844 external object types as well as most internal types.
8769 12845
8770 12846
8771 12847 2) Linux:
8772 12848
8773 12849 We now use safe_halt() macro versus individual calls to sti | hlt.
8774 12850
8775 12851 Writing to the processor limit interface should now work. "echo 1"
8776 12852 will increase the limit, 2 will decrease, and 0 will reset to the
8777 12853
8778 12854 default.
8779 12855
8780 12856
8781 12857 3) ASL compiler:
8782 12858
8783 12859 Fixed segfault on Linux version.
8784 12860
8785 12861
8786 12862 ----------------------------------------
8787 12863 Summary of changes for this release: 02_25_02
8788 12864
8789 12865 1) ACPI CA Core Subsystem:
8790 12866
8791 12867
8792 12868 Fixed a problem where the GPE bit masks were not initialized
8793 12869 properly, causing erratic GPE behavior.
8794 12870
8795 12871 Implemented limited support for multiple calling conventions. The
8796 12872 code can be generated with either the VPL (variable parameter
8797 12873 list, or "C") convention, or the FPL (fixed parameter list, or
8798 12874 "Pascal") convention. The core subsystem is about 3.4% smaller
8799 12875 when generated with FPL.
8800 12876
8801 12877
8802 12878 2) Linux
8803 12879
8804 12880 Re-add some /proc/acpi/event functionality that was lost during
8805 12881 the rewrite
8806 12882
8807 12883 Resolved issue with /proc events for fixed-feature buttons showing
8808 12884 up as the system device.
8809 12885
8810 12886 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
8811 12887
8812 12888 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
8813 12889
8814 12890 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
8815 12891
8816 12892 Fixed limit interface & usage to fix bugs with passive cooling
8817 12893 hysterisis.
8818 12894
8819 12895 Restructured PRT support.
8820 12896
8821 12897
8822 12898 ----------------------------------------
8823 12899 Summary of changes for this label: 02_14_02
8824 12900
8825 12901
8826 12902 1) ACPI CA Core Subsystem:
8827 12903
8828 12904 Implemented support in AcpiLoadTable to allow loading of FACS and
8829 12905 FADT tables.
8830 12906
8831 12907 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
8832 12908 been removed. All 64-bit platforms should be migrated to the ACPI
8833 12909 2.0 tables. The actbl71.h header has been removed from the source
8834 12910 tree.
8835 12911
8836 12912 All C macros defined within the subsystem have been prefixed with
8837 12913 "ACPI_" to avoid collision with other system include files.
8838 12914
8839 12915 Removed the return value for the two AcpiOsPrint interfaces, since
8840 12916 it is never used and causes lint warnings for ignoring the return
8841 12917 value.
8842 12918
8843 12919 Added error checking to all internal mutex acquire and release
8844 12920 calls. Although a failure from one of these interfaces is
8845 12921 probably a fatal system error, these checks will cause the
8846 12922 immediate abort of the currently executing method or interface.
8847 12923
8848 12924 Fixed a problem where the AcpiSetCurrentResources interface could
8849 12925 fault. This was a side effect of the deployment of the new memory
8850 12926 allocation model.
8851 12927
8852 12928 Fixed a couple of problems with the Global Lock support introduced
8853 12929 in the last major build. The "common" (1.0/2.0) internal FACS was
8854 12930 being overwritten with the FACS signature and clobbering the
8855 12931 Global Lock pointer. Also, the actual firmware FACS was being
8856 12932 unmapped after construction of the "common" FACS, preventing
8857 12933 access to the actual Global Lock field within it. The "common"
8858 12934 internal FACS is no longer installed as an actual ACPI table; it
8859 12935 is used simply as a global.
8860 12936
8861 12937 Code and Data Size: Current core subsystem library sizes are shown
8862 12938 below. These are the code and data sizes for the acpica.lib
8863 12939 produced by the Microsoft Visual C++ 6.0 compiler, and these
8864 12940 values do not include any ACPI driver or OSPM code. The debug
8865 12941 version of the code includes the debug output trace mechanism and
8866 12942 has a larger code and data size. Note that these values will vary
8867 12943 depending on the efficiency of the compiler and the compiler
8868 12944 options used during generation.
8869 12945
8870 12946 Previous Release (02_07_01)
8871 12947 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
8872 12948 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
8873 12949 Current Release:
8874 12950 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
8875 12951 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
8876 12952
8877 12953
8878 12954 2) Linux
8879 12955
8880 12956 Updated Linux-specific code for core macro and OSL interface
8881 12957 changes described above.
8882 12958
8883 12959 Improved /proc/acpi/event. It now can be opened only once and has
8884 12960 proper poll functionality.
8885 12961
8886 12962 Fixed and restructured power management (acpi_bus).
8887 12963
8888 12964 Only create /proc "view by type" when devices of that class exist.
8889 12965
8890 12966 Fixed "charging/discharging" bug (and others) in acpi_battery.
8891 12967
8892 12968 Improved thermal zone code.
8893 12969
8894 12970
8895 12971 3) ASL Compiler, version X2039:
8896 12972
8897 12973
8898 12974 Implemented the new compiler restriction on ASL String hex/octal
8899 12975 escapes to non-null, ASCII values. An error results if an invalid
8900 12976 value is used. (This will require an ACPI 2.0 specification
8901 12977 change.)
8902 12978
8903 12979 AML object labels that are output to the optional C and ASM source
8904 12980 are now prefixed with both the ACPI table signature and table ID
8905 12981 to help guarantee uniqueness within a large BIOS project.
8906 12982
8907 12983
8908 12984 ----------------------------------------
8909 12985 Summary of changes for this label: 02_01_02
8910 12986
8911 12987 1) ACPI CA Core Subsystem:
8912 12988
8913 12989 ACPI 2.0 support is complete in the entire Core Subsystem and the
8914 12990 ASL compiler. All new ACPI 2.0 operators are implemented and all
8915 12991 other changes for ACPI 2.0 support are complete. With
8916 12992 simultaneous code and data optimizations throughout the subsystem,
8917 12993 ACPI 2.0 support has been implemented with almost no additional
8918 12994 cost in terms of code and data size.
8919 12995
8920 12996 Implemented a new mechanism for allocation of return buffers. If
8921 12997 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
8922 12998 be allocated on behalf of the caller. Consolidated all return
8923 12999 buffer validation and allocation to a common procedure. Return
8924 13000 buffers will be allocated via the primary OSL allocation interface
8925 13001 since it appears that a separate pool is not needed by most users.
8926 13002 If a separate pool is required for these buffers, the caller can
8927 13003 still use the original mechanism and pre-allocate the buffer(s).
8928 13004
8929 13005 Implemented support for string operands within the DerefOf
8930 13006 operator.
8931 13007
8932 13008 Restructured the Hardware and Event managers to be table driven,
8933 13009 simplifying the source code and reducing the amount of generated
8934 13010 code.
8935 13011
8936 13012 Split the common read/write low-level ACPI register bitfield
8937 13013 procedure into a separate read and write, simplifying the code
8938 13014 considerably.
8939 13015
8940 13016 Obsoleted the AcpiOsCallocate OSL interface. This interface was
8941 13017 used only a handful of times and didn't have enough critical mass
8942 13018 for a separate interface. Replaced with a common calloc procedure
8943 13019 in the core.
8944 13020
8945 13021 Fixed a reported problem with the GPE number mapping mechanism
8946 13022 that allows GPE1 numbers to be non-contiguous with GPE0.
8947 13023 Reorganized the GPE information and shrunk a large array that was
8948 13024 originally large enough to hold info for all possible GPEs (256)
8949 13025 to simply large enough to hold all GPEs up to the largest GPE
8950 13026 number on the machine.
8951 13027
8952 13028 Fixed a reported problem with resource structure alignment on 64-
8953 13029 bit platforms.
8954 13030
8955 13031 Changed the AcpiEnableEvent and AcpiDisableEvent external
8956 13032 interfaces to not require any flags for the common case of
8957 13033 enabling/disabling a GPE.
8958 13034
8959 13035 Implemented support to allow a "Notify" on a Processor object.
8960 13036
8961 13037 Most TBDs in comments within the source code have been resolved
8962 13038 and eliminated.
8963 13039
8964 13040
8965 13041 Fixed a problem in the interpreter where a standalone parent
8966 13042 prefix (^) was not handled correctly in the interpreter and
8967 13043 debugger.
8968 13044
8969 13045 Removed obsolete and unnecessary GPE save/restore code.
8970 13046
8971 13047 Implemented Field support in the ASL Load operator. This allows a
8972 13048 table to be loaded from a named field, in addition to loading a
8973 13049 table directly from an Operation Region.
8974 13050
8975 13051 Implemented timeout and handle support in the external Global Lock
8976 13052 interfaces.
8977 13053
8978 13054 Fixed a problem in the AcpiDump utility where pathnames were no
8979 13055 longer being generated correctly during the dump of named objects.
8980 13056
8981 13057 Modified the AML debugger to give a full display of if/while
8982 13058 predicates instead of just one AML opcode at a time. (The
8983 13059 predicate can have several nested ASL statements.) The old method
8984 13060 was confusing during single stepping.
8985 13061
8986 13062 Code and Data Size: Current core subsystem library sizes are shown
8987 13063 below. These are the code and data sizes for the acpica.lib
8988 13064 produced by the Microsoft Visual C++ 6.0 compiler, and these
8989 13065 values do not include any ACPI driver or OSPM code. The debug
8990 13066 version of the code includes the debug output trace mechanism and
8991 13067 has a larger code and data size. Note that these values will vary
8992 13068 depending on the efficiency of the compiler and the compiler
8993 13069 options used during generation.
8994 13070
8995 13071 Previous Release (12_18_01)
8996 13072 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
8997 13073 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
8998 13074 Current Release:
8999 13075 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
9000 13076 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
9001 13077
9002 13078 2) Linux
9003 13079
9004 13080 Implemented fix for PIIX reverse throttling errata (Processor
9005 13081 driver)
9006 13082
9007 13083 Added new Limit interface (Processor and Thermal drivers)
9008 13084
9009 13085 New thermal policy (Thermal driver)
9010 13086
9011 13087 Many updates to /proc
9012 13088
9013 13089 Battery "low" event support (Battery driver)
9014 13090
9015 13091 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9016 13092
9017 13093 IA32 - IA64 initialization unification, no longer experimental
9018 13094
9019 13095 Menuconfig options redesigned
9020 13096
9021 13097 3) ASL Compiler, version X2037:
9022 13098
9023 13099 Implemented several new output features to simplify integration of
9024 13100 AML code into firmware: 1) Output the AML in C source code with
9025 13101 labels for each named ASL object. The original ASL source code
9026 13102 is interleaved as C comments. 2) Output the AML in ASM source code
9027 13103 with labels and interleaved ASL source. 3) Output the AML in
9028 13104 raw hex table form, in either C or ASM.
9029 13105
9030 13106 Implemented support for optional string parameters to the
9031 13107 LoadTable operator.
9032 13108
9033 13109 Completed support for embedded escape sequences within string
9034 13110 literals. The compiler now supports all single character escapes
9035 13111 as well as the Octal and Hex escapes. Note: the insertion of a
9036 13112 null byte into a string literal (via the hex/octal escape) causes
9037 13113 the string to be immediately terminated. A warning is issued.
9038 13114
9039 13115 Fixed a problem where incorrect AML was generated for the case
9040 13116 where an ASL namepath consists of a single parent prefix (
9041 13117
9042 13118 ) with no trailing name segments.
9043 13119
9044 13120 The compiler has been successfully generated with a 64-bit C
9045 13121 compiler.
9046 13122
9047 13123
9048 13124
9049 13125
9050 13126 ----------------------------------------
9051 13127 Summary of changes for this label: 12_18_01
9052 13128
9053 13129 1) Linux
9054 13130
9055 13131 Enhanced blacklist with reason and severity fields. Any table's
9056 13132 signature may now be used to identify a blacklisted system.
9057 13133
9058 13134 Call _PIC control method to inform the firmware which interrupt
9059 13135 model the OS is using. Turn on any disabled link devices.
9060 13136
9061 13137 Cleaned up busmgr /proc error handling (Andreas Dilger)
9062 13138
9063 13139 2) ACPI CA Core Subsystem:
9064 13140
9065 13141 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
9066 13142 while loop)
9067 13143
9068 13144 Completed implementation of the ACPI 2.0 "Continue",
9069 13145 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9070 13146 operators. All new ACPI 2.0 operators are now implemented in both
9071 13147 the ASL compiler and the AML interpreter. The only remaining ACPI
9072 13148 2.0 task is support for the String data type in the DerefOf
9073 13149 operator. Fixed a problem with AcquireMutex where the status code
9074 13150 was lost if the caller had to actually wait for the mutex.
9075 13151
9076 13152 Increased the maximum ASL Field size from 64K bits to 4G bits.
9077 13153
9078 13154 Completed implementation of the external Global Lock interfaces --
9079 13155 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
9080 13156 Handler parameters were added.
9081 13157
9082 13158 Completed another pass at removing warnings and issues when
9083 13159 compiling with 64-bit compilers. The code now compiles cleanly
9084 13160 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
9085 13161 add and subtract (diff) macros have changed considerably.
9086 13162
9087 13163
9088 13164 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
9089 13165 64-bit platforms, 32-bits on all others. This type is used
9090 13166 wherever memory allocation and/or the C sizeof() operator is used,
9091 13167 and affects the OSL memory allocation interfaces AcpiOsAllocate
9092 13168 and AcpiOsCallocate.
9093 13169
9094 13170 Implemented sticky user breakpoints in the AML debugger.
9095 13171
9096 13172 Code and Data Size: Current core subsystem library sizes are shown
9097 13173 below. These are the code and data sizes for the acpica.lib
9098 13174 produced by the Microsoft Visual C++ 6.0 compiler, and these
9099 13175 values do not include any ACPI driver or OSPM code. The debug
9100 13176 version of the code includes the debug output trace mechanism and
9101 13177 has a larger code and data size. Note that these values will vary
9102 13178 depending on the efficiency of the compiler and the compiler
9103 13179 options used during generation.
9104 13180
9105 13181 Previous Release (12_05_01)
9106 13182 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
9107 13183 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
9108 13184 Current Release:
9109 13185 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
9110 13186 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
9111 13187
9112 13188 3) ASL Compiler, version X2034:
9113 13189
9114 13190 Now checks for (and generates an error if detected) the use of a
9115 13191 Break or Continue statement without an enclosing While statement.
9116 13192
9117 13193
9118 13194 Successfully generated the compiler with the Intel 64-bit C
9119 13195 compiler.
9120 13196
9121 13197 ----------------------------------------
9122 13198 Summary of changes for this label: 12_05_01
9123 13199
9124 13200 1) ACPI CA Core Subsystem:
9125 13201
9126 13202 The ACPI 2.0 CopyObject operator is fully implemented. This
9127 13203 operator creates a new copy of an object (and is also used to
9128 13204 bypass the "implicit conversion" mechanism of the Store operator.)
9129 13205
9130 13206 The ACPI 2.0 semantics for the SizeOf operator are fully
9131 13207 implemented. The change is that performing a SizeOf on a
9132 13208 reference object causes an automatic dereference of the object to
9133 13209 tha actual value before the size is evaluated. This behavior was
9134 13210 undefined in ACPI 1.0.
9135 13211
9136 13212 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
9137 13213 have been implemented. The interrupt polarity and mode are now
9138 13214 independently set.
9139 13215
9140 13216 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
9141 13217 appearing in Package objects were not properly converted to
9142 13218 integers when the internal Package was converted to an external
9143 13219 object (via the AcpiEvaluateObject interface.)
9144 13220
9145 13221 Fixed a problem with the namespace object deletion mechanism for
9146 13222 objects created by control methods. There were two parts to this
9147 13223 problem: 1) Objects created during the initialization phase method
9148 13224 parse were not being deleted, and 2) The object owner ID mechanism
9149 13225 to track objects was broken.
9150 13226
9151 13227 Fixed a problem where the use of the ASL Scope operator within a
9152 13228 control method would result in an invalid opcode exception.
9153 13229
9154 13230 Fixed a problem introduced in the previous label where the buffer
9155 13231 length required for the _PRT structure was not being returned
9156 13232 correctly.
9157 13233
9158 13234 Code and Data Size: Current core subsystem library sizes are shown
9159 13235 below. These are the code and data sizes for the acpica.lib
9160 13236 produced by the Microsoft Visual C++ 6.0 compiler, and these
9161 13237 values do not include any ACPI driver or OSPM code. The debug
9162 13238 version of the code includes the debug output trace mechanism and
9163 13239 has a larger code and data size. Note that these values will vary
9164 13240 depending on the efficiency of the compiler and the compiler
9165 13241 options used during generation.
9166 13242
9167 13243 Previous Release (11_20_01)
9168 13244 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
9169 13245 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
9170 13246
9171 13247 Current Release:
9172 13248 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
9173 13249 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
9174 13250
9175 13251 2) Linux:
9176 13252
9177 13253 Updated all files to apply cleanly against 2.4.16.
9178 13254
9179 13255 Added basic PCI Interrupt Routing Table (PRT) support for IA32
9180 13256 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
9181 13257 version supports both static and dyanmic PRT entries, but dynamic
9182 13258 entries are treated as if they were static (not yet
9183 13259 reconfigurable). Architecture- specific code to use this data is
9184 13260 absent on IA32 but should be available shortly.
9185 13261
9186 13262 Changed the initialization sequence to start the ACPI interpreter
9187 13263 (acpi_init) prior to initialization of the PCI driver (pci_init)
9188 13264 in init/main.c. This ordering is required to support PRT and
9189 13265 facilitate other (future) enhancement. A side effect is that the
9190 13266 ACPI bus driver and certain device drivers can no longer be loaded
9191 13267 as modules.
9192 13268
9193 13269 Modified the 'make menuconfig' options to allow PCI Interrupt
9194 13270 Routing support to be included without the ACPI Bus and other
9195 13271 device drivers.
9196 13272
9197 13273 3) ASL Compiler, version X2033:
9198 13274
9199 13275 Fixed some issues with the use of the new CopyObject and
9200 13276 DataTableRegion operators. Both are fully functional.
9201 13277
9202 13278 ----------------------------------------
9203 13279 Summary of changes for this label: 11_20_01
9204 13280
9205 13281 20 November 2001. Summary of changes for this release.
9206 13282
9207 13283 1) ACPI CA Core Subsystem:
9208 13284
9209 13285 Updated Index support to match ACPI 2.0 semantics. Storing a
9210 13286 Integer, String, or Buffer to an Index of a Buffer will store only
9211 13287 the least-significant byte of the source to the Indexed buffer
9212 13288 byte. Multiple writes are not performed.
9213 13289
9214 13290 Fixed a problem where the access type used in an AccessAs ASL
9215 13291 operator was not recorded correctly into the field object.
9216 13292
9217 13293 Fixed a problem where ASL Event objects were created in a
9218 13294 signalled state. Events are now created in an unsignalled state.
9219 13295
9220 13296 The internal object cache is now purged after table loading and
9221 13297 initialization to reduce the use of dynamic kernel memory -- on
9222 13298 the assumption that object use is greatest during the parse phase
9223 13299 of the entire table (versus the run-time use of individual control
9224 13300 methods.)
9225 13301
9226 13302 ACPI 2.0 variable-length packages are now fully operational.
9227 13303
9228 13304 Code and Data Size: Code and Data optimizations have permitted new
9229 13305 feature development with an actual reduction in the library size.
9230 13306 Current core subsystem library sizes are shown below. These are
9231 13307 the code and data sizes for the acpica.lib produced by the
9232 13308 Microsoft Visual C++ 6.0 compiler, and these values do not include
9233 13309 any ACPI driver or OSPM code. The debug version of the code
9234 13310 includes the debug output trace mechanism and has a larger code
9235 13311 and data size. Note that these values will vary depending on the
9236 13312 efficiency of the compiler and the compiler options used during
9237 13313 generation.
9238 13314
9239 13315 Previous Release (11_09_01):
9240 13316 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
9241 13317 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
9242 13318
9243 13319 Current Release:
9244 13320 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
9245 13321 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
9246 13322
9247 13323 2) Linux:
9248 13324
9249 13325 Enhanced the ACPI boot-time initialization code to allow the use
9250 13326 of Local APIC tables for processor enumeration on IA-32, and to
9251 13327 pave the way for a fully MPS-free boot (on SMP systems) in the
9252 13328 near future. This functionality replaces
9253 13329 arch/i386/kernel/acpitables.c, which was introduced in an earlier
9254 13330 2.4.15-preX release. To enable this feature you must add
9255 13331 "acpi_boot=on" to the kernel command line -- see the help entry
9256 13332 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
9257 13333 the works...
9258 13334
9259 13335 Restructured the configuration options to allow boot-time table
9260 13336 parsing support without inclusion of the ACPI Interpreter (and
9261 13337 other) code.
9262 13338
9263 13339 NOTE: This release does not include fixes for the reported events,
9264 13340 power-down, and thermal passive cooling issues (coming soon).
9265 13341
9266 13342 3) ASL Compiler:
9267 13343
9268 13344 Added additional typechecking for Fields within restricted access
9269 13345 Operation Regions. All fields within EC and CMOS regions must be
9270 13346 declared with ByteAcc. All fields withing SMBus regions must be
9271 13347 declared with the BufferAcc access type.
9272 13348
9273 13349 Fixed a problem where the listing file output of control methods
9274 13350 no longer interleaved the actual AML code with the ASL source
9275 13351 code.
9276 13352
9277 13353
9278 13354
9279 13355
9280 13356 ----------------------------------------
9281 13357 Summary of changes for this label: 11_09_01
9282 13358
9283 13359 1) ACPI CA Core Subsystem:
9284 13360
9285 13361 Implemented ACPI 2.0-defined support for writes to fields with a
9286 13362 Buffer, String, or Integer source operand that is smaller than the
9287 13363 target field. In these cases, the source operand is zero-extended
9288 13364 to fill the target field.
9289 13365
9290 13366 Fixed a problem where a Field starting bit offset (within the
9291 13367 parent operation region) was calculated incorrectly if the
9292 13368
9293 13369 alignment of the field differed from the access width. This
9294 13370 affected CreateWordField, CreateDwordField, CreateQwordField, and
9295 13371 possibly other fields that use the "AccessAny" keyword.
9296 13372
9297 13373 Fixed a problem introduced in the 11_02_01 release where indirect
9298 13374 stores through method arguments did not operate correctly.
9299 13375
9300 13376 2) Linux:
9301 13377
9302 13378 Implemented boot-time ACPI table parsing support
9303 13379 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
9304 13380 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
9305 13381 legacy BIOS interfaces (e.g. MPS) for the configuration of system
9306 13382 processors, memory, and interrupts during setup_arch(). Note that
9307 13383 this patch does not include the required architecture-specific
9308 13384 changes required to apply this information -- subsequent patches
9309 13385 will be posted for both IA32 and IA64 to achieve this.
9310 13386
9311 13387 Added low-level sleep support for IA32 platforms, courtesy of Pat
9312 13388 Mochel. This allows IA32 systems to transition to/from various
9313 13389 sleeping states (e.g. S1, S3), although the lack of a centralized
9314 13390 driver model and power-manageable drivers will prevent its
9315 13391 (successful) use on most systems.
9316 13392
9317 13393 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
9318 13394 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
9319 13395 tables" option, etc.
9320 13396
9321 13397 Increased the default timeout for the EC driver from 1ms to 10ms
9322 13398 (1000 cycles of 10us) to try to address AE_TIME errors during EC
9323 13399 transactions.
9324 13400
9325 13401 ----------------------------------------
9326 13402 Summary of changes for this label: 11_02_01
9327 13403
9328 13404 1) ACPI CA Core Subsystem:
9329 13405
9330 13406 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
9331 13407 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
9332 13408 implemented.
9333 13409
9334 13410 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
9335 13411 changes to support ACPI 2.0 Qword field access. Read/Write
9336 13412 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
9337 13413 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
9338 13414 the value parameter for the address space handler interface is now
9339 13415 an ACPI_INTEGER. OSL implementations of these interfaces must now
9340 13416 handle the case where the Width parameter is 64.
9341 13417
9342 13418 Index Fields: Fixed a problem where unaligned bit assembly and
9343 13419 disassembly for IndexFields was not supported correctly.
9344 13420
9345 13421 Index and Bank Fields: Nested Index and Bank Fields are now
9346 13422 supported. During field access, a check is performed to ensure
9347 13423 that the value written to an Index or Bank register is not out of
9348 13424 the range of the register. The Index (or Bank) register is
9349 13425 written before each access to the field data. Future support will
9350 13426 include allowing individual IndexFields to be wider than the
9351 13427 DataRegister width.
9352 13428
9353 13429 Fields: Fixed a problem where the AML interpreter was incorrectly
9354 13430 attempting to write beyond the end of a Field/OpRegion. This was
9355 13431 a boundary case that occurred when a DWORD field was written to a
9356 13432 BYTE access OpRegion, forcing multiple writes and causing the
9357 13433 interpreter to write one datum too many.
9358 13434
9359 13435 Fields: Fixed a problem with Field/OpRegion access where the
9360 13436 starting bit address of a field was incorrectly calculated if the
9361 13437 current access type was wider than a byte (WordAcc, DwordAcc, or
9362 13438 QwordAcc).
9363 13439
9364 13440 Fields: Fixed a problem where forward references to individual
9365 13441 FieldUnits (individual Field names within a Field definition) were
9366 13442 not resolved during the AML table load.
9367 13443
9368 13444 Fields: Fixed a problem where forward references from a Field
9369 13445 definition to the parent Operation Region definition were not
9370 13446 resolved during the AML table load.
9371 13447
9372 13448 Fields: Duplicate FieldUnit names within a scope are now detected
9373 13449 during AML table load.
9374 13450
9375 13451 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
9376 13452 returned an incorrect name for the root node.
9377 13453
9378 13454 Code and Data Size: Code and Data optimizations have permitted new
9379 13455 feature development with an actual reduction in the library size.
9380 13456 Current core subsystem library sizes are shown below. These are
9381 13457 the code and data sizes for the acpica.lib produced by the
9382 13458 Microsoft Visual C++ 6.0 compiler, and these values do not include
9383 13459 any ACPI driver or OSPM code. The debug version of the code
9384 13460 includes the debug output trace mechanism and has a larger code
9385 13461 and data size. Note that these values will vary depending on the
9386 13462 efficiency of the compiler and the compiler options used during
9387 13463 generation.
9388 13464
9389 13465 Previous Release (10_18_01):
9390 13466 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
9391 13467 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
9392 13468
9393 13469 Current Release:
9394 13470 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
9395 13471 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
9396 13472
9397 13473 2) Linux:
9398 13474
9399 13475 Improved /proc processor output (Pavel Machek) Re-added
9400 13476 MODULE_LICENSE("GPL") to all modules.
9401 13477
9402 13478 3) ASL Compiler version X2030:
9403 13479
9404 13480 Duplicate FieldUnit names within a scope are now detected and
9405 13481 flagged as errors.
9406 13482
9407 13483 4) Documentation:
9408 13484
9409 13485 Programmer Reference updated to reflect OSL and address space
9410 13486 handler interface changes described above.
9411 13487
9412 13488 ----------------------------------------
9413 13489 Summary of changes for this label: 10_18_01
9414 13490
9415 13491 ACPI CA Core Subsystem:
9416 13492
9417 13493 Fixed a problem with the internal object reference count mechanism
9418 13494 that occasionally caused premature object deletion. This resolves
9419 13495 all of the outstanding problem reports where an object is deleted
9420 13496 in the middle of an interpreter evaluation. Although this problem
9421 13497 only showed up in rather obscure cases, the solution to the
9422 13498 problem involved an adjustment of all reference counts involving
9423 13499 objects attached to namespace nodes.
9424 13500
9425 13501 Fixed a problem with Field support in the interpreter where
9426 13502 writing to an aligned field whose length is an exact multiple (2
9427 13503 or greater) of the field access granularity would cause an attempt
9428 13504 to write beyond the end of the field.
9429 13505
9430 13506 The top level AML opcode execution functions within the
9431 13507 interpreter have been renamed with a more meaningful and
9432 13508 consistent naming convention. The modules exmonad.c and
9433 13509 exdyadic.c were eliminated. New modules are exoparg1.c,
9434 13510 exoparg2.c, exoparg3.c, and exoparg6.c.
9435 13511
9436 13512 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
9437 13513
9438 13514 Fixed a problem where the AML debugger was causing some internal
9439 13515 objects to not be deleted during subsystem termination.
9440 13516
9441 13517 Fixed a problem with the external AcpiEvaluateObject interface
9442 13518 where the subsystem would fault if the named object to be
9443 13519 evaluated refered to a constant such as Zero, Ones, etc.
9444 13520
9445 13521 Fixed a problem with IndexFields and BankFields where the
9446 13522 subsystem would fault if the index, data, or bank registers were
9447 13523 not defined in the same scope as the field itself.
9448 13524
9449 13525 Added printf format string checking for compilers that support
9450 13526 this feature. Corrected more than 50 instances of issues with
9451 13527 format specifiers within invocations of ACPI_DEBUG_PRINT
9452 13528 throughout the core subsystem code.
9453 13529
9454 13530 The ASL "Revision" operator now returns the ACPI support level
9455 13531 implemented in the core - the value "2" since the ACPI 2.0 support
9456 13532 is more than 50% implemented.
9457 13533
9458 13534 Enhanced the output of the AML debugger "dump namespace" command
9459 13535 to output in a more human-readable form.
9460 13536
9461 13537 Current core subsystem library code sizes are shown below. These
9462 13538
9463 13539 are the code and data sizes for the acpica.lib produced by the
9464 13540 Microsoft Visual C++ 6.0 compiler, and these values do not include
9465 13541 any ACPI driver or OSPM code. The debug version of the code
9466 13542 includes the full debug trace mechanism -- leading to a much
9467 13543
9468 13544 larger code and data size. Note that these values will vary
9469 13545 depending on the efficiency of the compiler and the compiler
9470 13546 options used during generation.
9471 13547
9472 13548 Previous Label (09_20_01):
9473 13549 Non-Debug Version: 65K Code, 5K Data, 70K Total
9474 13550 Debug Version: 138K Code, 58K Data, 196K Total
9475 13551
9476 13552 This Label:
9477 13553
9478 13554 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
9479 13555 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
9480 13556
9481 13557 Linux:
9482 13558
9483 13559 Implemented a "Bad BIOS Blacklist" to track machines that have
9484 13560 known ASL/AML problems.
9485 13561
9486 13562 Enhanced the /proc interface for the thermal zone driver and added
9487 13563 support for _HOT (the critical suspend trip point). The 'info'
9488 13564 file now includes threshold/policy information, and allows setting
9489 13565 of _SCP (cooling preference) and _TZP (polling frequency) values
9490 13566 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
9491 13567 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
9492 13568 preference to the passive/quiet mode (if supported by the ASL).
9493 13569
9494 13570 Implemented a workaround for a gcc bug that resuted in an OOPs
9495 13571 when loading the control method battery driver.
9496 13572
9497 13573 ----------------------------------------
9498 13574 Summary of changes for this label: 09_20_01
9499 13575
9500 13576 ACPI CA Core Subsystem:
9501 13577
9502 13578 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
9503 13579 modified to allow individual GPE levels to be flagged as wake-
9504 13580 enabled (i.e., these GPEs are to remain enabled when the platform
9505 13581 sleeps.)
9506 13582
9507 13583 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
9508 13584 support wake-enabled GPEs. This means that upon entering the
9509 13585 sleep state, all GPEs that are not wake-enabled are disabled.
9510 13586 When leaving the sleep state, these GPEs are reenabled.
9511 13587
9512 13588 A local double-precision divide/modulo module has been added to
9513 13589 enhance portability to OS kernels where a 64-bit math library is
9514 13590 not available. The new module is "utmath.c".
9515 13591
9516 13592 Several optimizations have been made to reduce the use of CPU
9517 13593 stack. Originally over 2K, the maximum stack usage is now below
9518 13594 2K at 1860 bytes (1.82k)
9519 13595
9520 13596 Fixed a problem with the AcpiGetFirmwareTable interface where the
9521 13597 root table pointer was not mapped into a logical address properly.
9522 13598
9523 13599 Fixed a problem where a NULL pointer was being dereferenced in the
9524 13600 interpreter code for the ASL Notify operator.
9525 13601
9526 13602 Fixed a problem where the use of the ASL Revision operator
9527 13603 returned an error. This operator now returns the current version
9528 13604 of the ACPI CA core subsystem.
9529 13605
9530 13606 Fixed a problem where objects passed as control method parameters
9531 13607 to AcpiEvaluateObject were always deleted at method termination.
9532 13608 However, these objects may end up being stored into the namespace
9533 13609 by the called method. The object reference count mechanism was
9534 13610 applied to these objects instead of a force delete.
9535 13611
9536 13612 Fixed a problem where static strings or buffers (contained in the
9537 13613 AML code) that are declared as package elements within the ASL
9538 13614 code could cause a fault because the interpreter would attempt to
9539 13615 delete them. These objects are now marked with the "static
9540 13616 object" flag to prevent any attempt to delete them.
9541 13617
9542 13618 Implemented an interpreter optimization to use operands directly
9543 13619 from the state object instead of extracting the operands to local
9544 13620 variables. This reduces stack use and code size, and improves
9545 13621 performance.
9546 13622
9547 13623 The module exxface.c was eliminated as it was an unnecessary extra
9548 13624 layer of code.
9549 13625
9550 13626 Current core subsystem library code sizes are shown below. These
9551 13627 are the code and data sizes for the acpica.lib produced by the
9552 13628 Microsoft Visual C++ 6.0 compiler, and these values do not include
9553 13629 any ACPI driver or OSPM code. The debug version of the code
9554 13630 includes the full debug trace mechanism -- leading to a much
9555 13631 larger code and data size. Note that these values will vary
9556 13632 depending on the efficiency of the compiler and the compiler
9557 13633 options used during generation.
9558 13634
9559 13635 Non-Debug Version: 65K Code, 5K Data, 70K Total
9560 13636 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
9561 13637 Total (Previously 195K)
9562 13638
9563 13639 Linux:
9564 13640
9565 13641 Support for ACPI 2.0 64-bit integers has been added. All ACPI
9566 13642 Integer objects are now 64 bits wide
9567 13643
9568 13644 All Acpi data types and structures are now in lower case. Only
9569 13645 Acpi macros are upper case for differentiation.
9570 13646
9571 13647 Documentation:
9572 13648
9573 13649 Changes to the external interfaces as described above.
9574 13650
9575 13651 ----------------------------------------
9576 13652 Summary of changes for this label: 08_31_01
9577 13653
9578 13654 ACPI CA Core Subsystem:
9579 13655
9580 13656 A bug with interpreter implementation of the ASL Divide operator
9581 13657 was found and fixed. The implicit function return value (not the
9582 13658 explicit store operands) was returning the remainder instead of
9583 13659 the quotient. This was a longstanding bug and it fixes several
9584 13660 known outstanding issues on various platforms.
9585 13661
9586 13662 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
9587 13663 been further optimized for size. There are 700 invocations of the
9588 13664 DEBUG_PRINT macro alone, so each optimization reduces the size of
9589 13665 the debug version of the subsystem significantly.
9590 13666
9591 13667 A stack trace mechanism has been implemented. The maximum stack
9592 13668 usage is about 2K on 32-bit platforms. The debugger command "stat
9593 13669 stack" will display the current maximum stack usage.
9594 13670
9595 13671 All public symbols and global variables within the subsystem are
9596 13672 now prefixed with the string "Acpi". This keeps all of the
9597 13673 symbols grouped together in a kernel map, and avoids conflicts
9598 13674 with other kernel subsystems.
9599 13675
9600 13676 Most of the internal fixed lookup tables have been moved into the
9601 13677 code segment via the const operator.
9602 13678
9603 13679 Several enhancements have been made to the interpreter to both
9604 13680 reduce the code size and improve performance.
9605 13681
9606 13682 Current core subsystem library code sizes are shown below. These
9607 13683 are the code and data sizes for the acpica.lib produced by the
9608 13684 Microsoft Visual C++ 6.0 compiler, and these values do not include
9609 13685 any ACPI driver or OSPM code. The debug version of the code
9610 13686 includes the full debug trace mechanism which contains over 700
9611 13687 invocations of the DEBUG_PRINT macro, 500 function entry macro
9612 13688 invocations, and over 900 function exit macro invocations --
9613 13689 leading to a much larger code and data size. Note that these
9614 13690 values will vary depending on the efficiency of the compiler and
9615 13691 the compiler options used during generation.
9616 13692
9617 13693 Non-Debug Version: 64K Code, 5K Data, 69K Total
9618 13694 Debug Version: 137K Code, 58K Data, 195K Total
9619 13695
9620 13696 Linux:
9621 13697
9622 13698 Implemented wbinvd() macro, pending a kernel-wide definition.
9623 13699
9624 13700 Fixed /proc/acpi/event to handle poll() and short reads.
9625 13701
9626 13702 ASL Compiler, version X2026:
9627 13703
9628 13704 Fixed a problem introduced in the previous label where the AML
9629 13705
9630 13706 code emitted for package objects produced packages with zero
9631 13707 length.
9632 13708
9633 13709 ----------------------------------------
9634 13710 Summary of changes for this label: 08_16_01
9635 13711
9636 13712 ACPI CA Core Subsystem:
9637 13713
9638 13714 The following ACPI 2.0 ASL operators have been implemented in the
9639 13715 AML interpreter (These are already supported by the Intel ASL
9640 13716 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
9641 13717 ToBuffer. Support for 64-bit AML constants is implemented in the
9642 13718 AML parser, debugger, and disassembler.
9643 13719
9644 13720 The internal memory tracking mechanism (leak detection code) has
9645 13721 been upgraded to reduce the memory overhead (a separate tracking
9646 13722 block is no longer allocated for each memory allocation), and now
9647 13723 supports all of the internal object caches.
9648 13724
9649 13725 The data structures and code for the internal object caches have
9650 13726 been coelesced and optimized so that there is a single cache and
9651 13727 memory list data structure and a single group of functions that
9652 13728 implement generic cache management. This has reduced the code
9653 13729 size in both the debug and release versions of the subsystem.
9654 13730
9655 13731 The DEBUG_PRINT macro(s) have been optimized for size and replaced
9656 13732 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
9657 13733 different, because it generates a single call to an internal
9658 13734 function. This results in a savings of about 90 bytes per
9659 13735 invocation, resulting in an overall code and data savings of about
9660 13736 16% in the debug version of the subsystem.
9661 13737
9662 13738 Linux:
9663 13739
9664 13740 Fixed C3 disk corruption problems and re-enabled C3 on supporting
9665 13741 machines.
9666 13742
9667 13743 Integrated low-level sleep code by Patrick Mochel.
9668 13744
9669 13745 Further tweaked source code Linuxization.
9670 13746
9671 13747 Other minor fixes.
9672 13748
9673 13749 ASL Compiler:
9674 13750
9675 13751 Support for ACPI 2.0 variable length packages is fixed/completed.
9676 13752
9677 13753 Fixed a problem where the optional length parameter for the ACPI
9678 13754 2.0 ToString operator.
9679 13755
9680 13756 Fixed multiple extraneous error messages when a syntax error is
9681 13757 detected within the declaration line of a control method.
9682 13758
9683 13759 ----------------------------------------
9684 13760 Summary of changes for this label: 07_17_01
9685 13761
9686 13762 ACPI CA Core Subsystem:
9687 13763
9688 13764 Added a new interface named AcpiGetFirmwareTable to obtain any
9689 13765 ACPI table via the ACPI signature. The interface can be called at
9690 13766 any time during kernel initialization, even before the kernel
9691 13767 virtual memory manager is initialized and paging is enabled. This
9692 13768 allows kernel subsystems to obtain ACPI tables very early, even
9693 13769 before the ACPI CA subsystem is initialized.
9694 13770
9695 13771 Fixed a problem where Fields defined with the AnyAcc attribute
9696 13772 could be resolved to the incorrect address under the following
9697 13773 conditions: 1) the field width is larger than 8 bits and 2) the
9698 13774 parent operation region is not defined on a DWORD boundary.
9699 13775
9700 13776 Fixed a problem where the interpreter is not being locked during
9701 13777 namespace initialization (during execution of the _INI control
9702 13778 methods), causing an error when an attempt is made to release it
9703 13779 later.
9704 13780
9705 13781 ACPI 2.0 support in the AML Interpreter has begun and will be
9706 13782 ongoing throughout the rest of this year. In this label, The Mod
9707 13783 operator is implemented.
9708 13784
9709 13785 Added a new data type to contain full PCI addresses named
9710 13786 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
9711 13787 and Function values.
9712 13788
9713 13789 Linux:
9714 13790
9715 13791 Enhanced the Linux version of the source code to change most
9716 13792 capitalized ACPI type names to lowercase. For example, all
9717 13793 instances of ACPI_STATUS are changed to acpi_status. This will
9718 13794 result in a large diff, but the change is strictly cosmetic and
9719 13795 aligns the CA code closer to the Linux coding standard.
9720 13796
9721 13797 OSL Interfaces:
9722 13798
9723 13799 The interfaces to the PCI configuration space have been changed to
9724 13800 add the PCI Segment number and to split the single 32-bit combined
9725 13801 DeviceFunction field into two 16-bit fields. This was
9726 13802 accomplished by moving the four values that define an address in
9727 13803 PCI configuration space (segment, bus, device, and function) to
9728 13804 the new ACPI_PCI_ID structure.
9729 13805
9730 13806 The changes to the PCI configuration space interfaces led to a
9731 13807 reexamination of the complete set of address space access
9732 13808 interfaces for PCI, I/O, and Memory. The previously existing 18
9733 13809 interfaces have proven difficult to maintain (any small change
9734 13810 must be propagated across at least 6 interfaces) and do not easily
9735 13811 allow for future expansion to 64 bits if necessary. Also, on some
9736 13812 systems, it would not be appropriate to demultiplex the access
9737 13813 width (8, 16, 32,or 64) before calling the OSL if the
9738 13814 corresponding native OS interfaces contain a similar access width
9739 13815 parameter. For these reasons, the 18 address space interfaces
9740 13816 have been replaced by these 6 new ones:
9741 13817
9742 13818 AcpiOsReadPciConfiguration
9743 13819 AcpiOsWritePciConfiguration
9744 13820 AcpiOsReadMemory
9745 13821 AcpiOsWriteMemory
9746 13822 AcpiOsReadPort
9747 13823 AcpiOsWritePort
9748 13824
9749 13825 Added a new interface named AcpiOsGetRootPointer to allow the OSL
9750 13826 to perform the platform and/or OS-specific actions necessary to
9751 13827 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
9752 13828 interface will simply call down to the CA core to perform the low-
9753 13829 memory search for the table. On IA-64, the RSDP is obtained from
9754 13830 EFI. Migrating this interface to the OSL allows the CA core to
9755 13831
9756 13832 remain OS and platform independent.
9757 13833
9758 13834 Added a new interface named AcpiOsSignal to provide a generic
9759 13835 "function code and pointer" interface for various miscellaneous
9760 13836 signals and notifications that must be made to the host OS. The
9761 13837 first such signals are intended to support the ASL Fatal and
9762 13838 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
9763 13839 interface has been obsoleted.
9764 13840
9765 13841 The definition of the AcpiFormatException interface has been
9766 13842 changed to simplify its use. The caller no longer must supply a
9767 13843 buffer to the call; A pointer to a const string is now returned
9768 13844 directly. This allows the call to be easily used in printf
9769 13845 statements, etc. since the caller does not have to manage a local
9770 13846 buffer.
9771 13847
9772 13848
9773 13849 ASL Compiler, Version X2025:
9774 13850
9775 13851 The ACPI 2.0 Switch/Case/Default operators have been implemented
9776 13852 and are fully functional. They will work with all ACPI 1.0
9777 13853 interpreters, since the operators are simply translated to If/Else
9778 13854 pairs.
9779 13855
9780 13856 The ACPI 2.0 ElseIf operator is implemented and will also work
9781 13857 with 1.0 interpreters, for the same reason.
9782 13858
9783 13859 Implemented support for ACPI 2.0 variable-length packages. These
9784 13860 packages have a separate opcode, and their size is determined by
9785 13861 the interpreter at run-time.
9786 13862
9787 13863 Documentation The ACPI CA Programmer Reference has been updated to
9788 13864 reflect the new interfaces and changes to existing interfaces.
9789 13865
9790 13866 ------------------------------------------
9791 13867 Summary of changes for this label: 06_15_01
9792 13868
9793 13869 ACPI CA Core Subsystem:
9794 13870
9795 13871 Fixed a problem where a DWORD-accessed field within a Buffer
9796 13872 object would get its byte address inadvertently rounded down to
9797 13873 the nearest DWORD. Buffers are always Byte-accessible.
9798 13874
9799 13875 ASL Compiler, version X2024:
9800 13876
9801 13877 Fixed a problem where the Switch() operator would either fault or
9802 13878 hang the compiler. Note however, that the AML code for this ACPI
9803 13879 2.0 operator is not yet implemented.
9804 13880
9805 13881 Compiler uses the new AcpiOsGetTimer interface to obtain compile
9806 13882 timings.
9807 13883
9808 13884 Implementation of the CreateField operator automatically converts
9809 13885 a reference to a named field within a resource descriptor from a
9810 13886 byte offset to a bit offset if required.
9811 13887
9812 13888 Added some missing named fields from the resource descriptor
9813 13889 support. These are the names that are automatically created by the
9814 13890 compiler to reference fields within a descriptor. They are only
9815 13891 valid at compile time and are not passed through to the AML
9816 13892 interpreter.
9817 13893
9818 13894 Resource descriptor named fields are now typed as Integers and
9819 13895 subject to compile-time typechecking when used in expressions.
9820 13896
9821 13897 ------------------------------------------
9822 13898 Summary of changes for this label: 05_18_01
9823 13899
9824 13900 ACPI CA Core Subsystem:
9825 13901
9826 13902 Fixed a couple of problems in the Field support code where bits
9827 13903 from adjacent fields could be returned along with the proper field
9828 13904 bits. Restructured the field support code to improve performance,
9829 13905 readability and maintainability.
9830 13906
9831 13907 New DEBUG_PRINTP macro automatically inserts the procedure name
9832 13908 into the output, saving hundreds of copies of procedure name
9833 13909 strings within the source, shrinking the memory footprint of the
9834 13910 debug version of the core subsystem.
9835 13911
9836 13912 Source Code Structure:
9837 13913
9838 13914 The source code directory tree was restructured to reflect the
9839 13915 current organization of the component architecture. Some files
9840 13916 and directories have been moved and/or renamed.
9841 13917
9842 13918 Linux:
9843 13919
9844 13920 Fixed leaking kacpidpc processes.
9845 13921
9846 13922 Fixed queueing event data even when /proc/acpi/event is not
9847 13923 opened.
9848 13924
9849 13925 ASL Compiler, version X2020:
9850 13926
9851 13927 Memory allocation performance enhancement - over 24X compile time
9852 13928 improvement on large ASL files. Parse nodes and namestring
9853 13929 buffers are now allocated from a large internal compiler buffer.
9854 13930
9855 13931 The temporary .SRC file is deleted unless the "-s" option is
9856 13932 specified
9857 13933
9858 13934 The "-d" debug output option now sends all output to the .DBG file
9859 13935 instead of the console.
9860 13936
9861 13937 "External" second parameter is now optional
9862 13938
9863 13939 "ElseIf" syntax now properly allows the predicate
9864 13940
9865 13941 Last operand to "Load" now recognized as a Target operand
9866 13942
9867 13943 Debug object can now be used anywhere as a normal object.
9868 13944
9869 13945 ResourceTemplate now returns an object of type BUFFER
9870 13946
9871 13947 EISAID now returns an object of type INTEGER
9872 13948
9873 13949 "Index" now works with a STRING operand
9874 13950
9875 13951 "LoadTable" now accepts optional parameters
9876 13952
9877 13953 "ToString" length parameter is now optional
9878 13954
9879 13955 "Interrupt (ResourceType," parse error fixed.
9880 13956
9881 13957 "Register" with a user-defined region space parse error fixed
9882 13958
9883 13959 Escaped backslash at the end of a string ("\\") scan/parse error
9884 13960 fixed
9885 13961
9886 13962 "Revision" is now an object of type INTEGER.
9887 13963
9888 13964
9889 13965
9890 13966 ------------------------------------------
9891 13967 Summary of changes for this label: 05_02_01
9892 13968
9893 13969 Linux:
9894 13970
9895 13971 /proc/acpi/event now blocks properly.
9896 13972
9897 13973 Removed /proc/sys/acpi. You can still dump your DSDT from
9898 13974 /proc/acpi/dsdt.
9899 13975
9900 13976 ACPI CA Core Subsystem:
9901 13977
9902 13978 Fixed a problem introduced in the previous label where some of the
9903 13979 "small" resource descriptor types were not recognized.
9904 13980
9905 13981 Improved error messages for the case where an ASL Field is outside
9906 13982 the range of the parent operation region.
9907 13983
9908 13984 ASL Compiler, version X2018:
9909 13985
9910 13986
9911 13987 Added error detection for ASL Fields that extend beyond the length
9912 13988 of the parent operation region (only if the length of the region
9913 13989 is known at compile time.) This includes fields that have a
9914 13990 minimum access width that is smaller than the parent region, and
9915 13991 individual field units that are partially or entirely beyond the
9916 13992 extent of the parent.
9917 13993
9918 13994
9919 13995
9920 13996 ------------------------------------------
9921 13997 Summary of changes for this label: 04_27_01
9922 13998
9923 13999 ACPI CA Core Subsystem:
9924 14000
9925 14001 Fixed a problem where the namespace mutex could be released at the
9926 14002 wrong time during execution of AcpiRemoveAddressSpaceHandler.
9927 14003
9928 14004 Added optional thread ID output for debug traces, to simplify
9929 14005 debugging of multiple threads. Added context switch notification
9930 14006 when the debug code realizes that a different thread is now
9931 14007 executing ACPI code.
9932 14008
9933 14009 Some additional external data types have been prefixed with the
9934 14010 string "ACPI_" for consistency. This may effect existing code.
9935 14011 The data types affected are the external callback typedefs - e.g.,
9936 14012
9937 14013 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
9938 14014
9939 14015 Linux:
9940 14016
9941 14017 Fixed an issue with the OSL semaphore implementation where a
9942 14018 thread was waking up with an error from receiving a SIGCHLD
9943 14019 signal.
9944 14020
9945 14021 Linux version of ACPI CA now uses the system C library for string
9946 14022 manipulation routines instead of a local implementation.
9947 14023
9948 14024 Cleaned up comments and removed TBDs.
9949 14025
9950 14026 ASL Compiler, version X2017:
9951 14027
9952 14028 Enhanced error detection and reporting for all file I/O
9953 14029 operations.
9954 14030
9955 14031 Documentation:
9956 14032
9957 14033 Programmer Reference updated to version 1.06.
9958 14034
9959 14035
9960 14036
9961 14037 ------------------------------------------
9962 14038 Summary of changes for this label: 04_13_01
9963 14039
9964 14040 ACPI CA Core Subsystem:
9965 14041
9966 14042 Restructured support for BufferFields and RegionFields.
9967 14043 BankFields support is now fully operational. All known 32-bit
9968 14044 limitations on field sizes have been removed. Both BufferFields
9969 14045 and (Operation) RegionFields are now supported by the same field
9970 14046 management code.
9971 14047
9972 14048 Resource support now supports QWORD address and IO resources. The
9973 14049 16/32/64 bit address structures and the Extended IRQ structure
9974 14050 have been changed to properly handle Source Resource strings.
9975 14051
9976 14052 A ThreadId of -1 is now used to indicate a "mutex not acquired"
9977 14053 condition internally and must never be returned by AcpiOsThreadId.
9978 14054 This reserved value was changed from 0 since Unix systems allow a
9979 14055 thread ID of 0.
9980 14056
9981 14057 Linux:
9982 14058
9983 14059 Driver code reorganized to enhance portability
9984 14060
9985 14061 Added a kernel configuration option to control ACPI_DEBUG
9986 14062
9987 14063 Fixed the EC driver to honor _GLK.
9988 14064
9989 14065 ASL Compiler, version X2016:
9990 14066
9991 14067 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
9992 14068 address space was set to 0, not 0x7f as it should be.
9993 14069
9994 14070 ------------------------------------------
9995 14071 Summary of changes for this label: 03_13_01
9996 14072
9997 14073 ACPI CA Core Subsystem:
9998 14074
9999 14075 During ACPI initialization, the _SB_._INI method is now run if
10000 14076 present.
10001 14077
10002 14078 Notify handler fix - notifies are deferred until the parent method
10003 14079 completes execution. This fixes the "mutex already acquired"
10004 14080 issue seen occasionally.
10005 14081
10006 14082 Part of the "implicit conversion" rules in ACPI 2.0 have been
10007 14083 found to cause compatibility problems with existing ASL/AML. The
10008 14084 convert "result-to-target-type" implementation has been removed
10009 14085 for stores to method Args and Locals. Source operand conversion
10010 14086 is still fully implemented. Possible changes to ACPI 2.0
10011 14087 specification pending.
10012 14088
10013 14089 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
10014 14090 length.
10015 14091
10016 14092 Fix for compiler warnings for 64-bit compiles.
10017 14093
10018 14094 Linux:
10019 14095
10020 14096 /proc output aligned for easier parsing.
10021 14097
10022 14098 Release-version compile problem fixed.
10023 14099
10024 14100 New kernel configuration options documented in Configure.help.
10025 14101
10026 14102 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10027 14103 context" message.
10028 14104
10029 14105 OSPM:
10030 14106
10031 14107 Power resource driver integrated with bus manager.
10032 14108
10033 14109 Fixed kernel fault during active cooling for thermal zones.
10034 14110
10035 14111 Source Code:
10036 14112
10037 14113 The source code tree has been restructured.
10038 14114
10039 14115
10040 14116
10041 14117 ------------------------------------------
10042 14118 Summary of changes for this label: 03_02_01
10043 14119
10044 14120 Linux OS Services Layer (OSL):
10045 14121
10046 14122 Major revision of all Linux-specific code.
10047 14123
10048 14124 Modularized all ACPI-specific drivers.
10049 14125
10050 14126 Added new thermal zone and power resource drivers.
10051 14127
10052 14128 Revamped /proc interface (new functionality is under /proc/acpi).
10053 14129
10054 14130 New kernel configuration options.
10055 14131
10056 14132 Linux known issues:
10057 14133
10058 14134 New kernel configuration options not documented in Configure.help
10059 14135 yet.
10060 14136
10061 14137
10062 14138 Module dependencies not currently implemented. If used, they
10063 14139 should be loaded in this order: busmgr, power, ec, system,
10064 14140 processor, battery, ac_adapter, button, thermal.
10065 14141
10066 14142 Modules will not load if CONFIG_MODVERSION is set.
10067 14143
10068 14144 IBM 600E - entering S5 may reboot instead of shutting down.
10069 14145
10070 14146 IBM 600E - Sleep button may generate "Invalid <NULL> context"
10071 14147 message.
10072 14148
10073 14149 Some systems may fail with "execution mutex already acquired"
10074 14150 message.
10075 14151
10076 14152 ACPI CA Core Subsystem:
10077 14153
10078 14154 Added a new OSL Interface, AcpiOsGetThreadId. This was required
10079 14155 for the deadlock detection code. Defined to return a non-zero, 32-
10080 14156 bit thread ID for the currently executing thread. May be a non-
10081 14157 zero constant integer on single-thread systems.
10082 14158
10083 14159 Implemented deadlock detection for internal subsystem mutexes. We
10084 14160 may add conditional compilation for this code (debug only) later.
10085 14161
10086 14162 ASL/AML Mutex object semantics are now fully supported. This
10087 14163 includes multiple acquires/releases by owner and support for the
10088 14164
10089 14165 Mutex SyncLevel parameter.
10090 14166
10091 14167 A new "Force Release" mechanism automatically frees all ASL
10092 14168 Mutexes that have been acquired but not released when a thread
10093 14169 exits the interpreter. This forces conformance to the ACPI spec
10094 14170 ("All mutexes must be released when an invocation exits") and
10095 14171 prevents deadlocked ASL threads. This mechanism can be expanded
10096 14172 (later) to monitor other resource acquisitions if OEM ASL code
10097 14173 continues to misbehave (which it will).
10098 14174
10099 14175 Several new ACPI exception codes have been added for the Mutex
10100 14176 support.
10101 14177
10102 14178 Recursive method calls are now allowed and supported (the ACPI
10103 14179 spec does in fact allow recursive method calls.) The number of
10104 14180 recursive calls is subject to the restrictions imposed by the
10105 14181 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10106 14182 parameter.
10107 14183
10108 14184 Implemented support for the SyncLevel parameter for control
10109 14185 methods (ACPI 2.0 feature)
10110 14186
10111 14187 Fixed a deadlock problem when multiple threads attempted to use
10112 14188 the interpreter.
10113 14189
10114 14190 Fixed a problem where the string length of a String package
10115 14191 element was not always set in a package returned from
10116 14192 AcpiEvaluateObject.
10117 14193
10118 14194 Fixed a problem where the length of a String package element was
10119 14195 not always included in the length of the overall package returned
10120 14196 from AcpiEvaluateObject.
10121 14197
10122 14198 Added external interfaces (Acpi*) to the ACPI debug memory
10123 14199 manager. This manager keeps a list of all outstanding
10124 14200 allocations, and can therefore detect memory leaks and attempts to
10125 14201 free memory blocks more than once. Useful for code such as the
10126 14202 power manager, etc. May not be appropriate for device drivers.
10127 14203 Performance with the debug code enabled is slow.
10128 14204
10129 14205 The ACPI Global Lock is now an optional hardware element.
10130 14206
10131 14207 ASL Compiler Version X2015:
10132 14208
10133 14209 Integrated changes to allow the compiler to be generated on
10134 14210 multiple platforms.
10135 14211
10136 14212 Linux makefile added to generate the compiler on Linux
10137 14213
10138 14214 Source Code:
10139 14215
10140 14216 All platform-specific headers have been moved to their own
10141 14217 subdirectory, Include/Platform.
10142 14218
10143 14219 New source file added, Interpreter/ammutex.c
10144 14220
10145 14221 New header file, Include/acstruct.h
10146 14222
10147 14223 Documentation:
10148 14224
10149 14225 The programmer reference has been updated for the following new
10150 14226 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10151 14227
10152 14228 ------------------------------------------
10153 14229 Summary of changes for this label: 02_08_01
10154 14230
10155 14231 Core ACPI CA Subsystem: Fixed a problem where an error was
10156 14232 incorrectly returned if the return resource buffer was larger than
10157 14233 the actual data (in the resource interfaces).
10158 14234
10159 14235 References to named objects within packages are resolved to the
10160 14236
10161 14237 full pathname string before packages are returned directly (via
10162 14238 the AcpiEvaluateObject interface) or indirectly via the resource
10163 14239 interfaces.
10164 14240
10165 14241 Linux OS Services Layer (OSL):
10166 14242
10167 14243 Improved /proc battery interface.
10168 14244
10169 14245
10170 14246 Added C-state debugging output and other miscellaneous fixes.
10171 14247
10172 14248 ASL Compiler Version X2014:
10173 14249
10174 14250 All defined method arguments can now be used as local variables,
10175 14251 including the ones that are not actually passed in as parameters.
10176 14252 The compiler tracks initialization of the arguments and issues an
10177 14253 exception if they are used without prior assignment (just like
10178 14254 locals).
10179 14255
10180 14256 The -o option now specifies a filename prefix that is used for all
10181 14257 output files, including the AML output file. Otherwise, the
10182 14258 default behavior is as follows: 1) the AML goes to the file
10183 14259 specified in the DSDT. 2) all other output files use the input
10184 14260 source filename as the base.
10185 14261
10186 14262 ------------------------------------------
10187 14263 Summary of changes for this label: 01_25_01
10188 14264
10189 14265 Core ACPI CA Subsystem: Restructured the implementation of object
10190 14266 store support within the interpreter. This includes support for
10191 14267 the Store operator as well as any ASL operators that include a
10192 14268 target operand.
10193 14269
10194 14270 Partially implemented support for Implicit Result-to-Target
10195 14271 conversion. This is when a result object is converted on the fly
10196 14272 to the type of an existing target object. Completion of this
10197 14273 support is pending further analysis of the ACPI specification
10198 14274 concerning this matter.
10199 14275
10200 14276 CPU-specific code has been removed from the subsystem (hardware
10201 14277 directory).
10202 14278
10203 14279 New Power Management Timer functions added
10204 14280
10205 14281 Linux OS Services Layer (OSL): Moved system state transition code
10206 14282 to the core, fixed it, and modified Linux OSL accordingly.
10207 14283
10208 14284 Fixed C2 and C3 latency calculations.
10209 14285
10210 14286
10211 14287 We no longer use the compilation date for the version message on
10212 14288 initialization, but retrieve the version from AcpiGetSystemInfo().
10213 14289
10214 14290 Incorporated for fix Sony VAIO machines.
10215 14291
10216 14292 Documentation: The Programmer Reference has been updated and
10217 14293 reformatted.
10218 14294
10219 14295
10220 14296 ASL Compiler: Version X2013: Fixed a problem where the line
10221 14297 numbering and error reporting could get out of sync in the
10222 14298 presence of multiple include files.
10223 14299
10224 14300 ------------------------------------------
10225 14301 Summary of changes for this label: 01_15_01
10226 14302
10227 14303 Core ACPI CA Subsystem:
10228 14304
10229 14305 Implemented support for type conversions in the execution of the
10230 14306 ASL Concatenate operator (The second operand is converted to
10231 14307 match the type of the first operand before concatenation.)
10232 14308
10233 14309 Support for implicit source operand conversion is partially
10234 14310 implemented. The ASL source operand types Integer, Buffer, and
10235 14311 String are freely interchangeable for most ASL operators and are
10236 14312 converted by the interpreter on the fly as required. Implicit
10237 14313 Target operand conversion (where the result is converted to the
10238 14314 target type before storing) is not yet implemented.
10239 14315
10240 14316 Support for 32-bit and 64-bit BCD integers is implemented.
10241 14317
10242 14318 Problem fixed where a field read on an aligned field could cause a
10243 14319 read past the end of the field.
10244 14320
10245 14321 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
10246 14322 does not return a value, but the caller expects one. (The ASL
10247 14323 compiler flags this as a warning.)
10248 14324
10249 14325 ASL Compiler:
10250 14326
10251 14327 Version X2011:
10252 14328 1. Static typechecking of all operands is implemented. This
10253 14329 prevents the use of invalid objects (such as using a Package where
10254 14330 an Integer is required) at compile time instead of at interpreter
10255 14331 run-time.
10256 14332 2. The ASL source line is printed with ALL errors and warnings.
10257 14333 3. Bug fix for source EOF without final linefeed.
10258 14334 4. Debug option is split into a parse trace and a namespace trace.
10259 14335 5. Namespace output option (-n) includes initial values for
10260 14336 integers and strings.
10261 14337 6. Parse-only option added for quick syntax checking.
10262 14338 7. Compiler checks for duplicate ACPI name declarations
10263 14339
10264 14340 Version X2012:
10265 14341 1. Relaxed typechecking to allow interchangeability between
10266 14342 strings, integers, and buffers. These types are now converted by
10267 14343 the interpreter at runtime.
10268 14344 2. Compiler reports time taken by each internal subsystem in the
10269 14345 debug output file.
10270 14346
10271 14347
10272 14348 ------------------------------------------
10273 14349 Summary of changes for this label: 12_14_00
10274 14350
10275 14351 ASL Compiler:
10276 14352
10277 14353 This is the first official release of the compiler. Since the
10278 14354 compiler requires elements of the Core Subsystem, this label
10279 14355 synchronizes everything.
10280 14356
10281 14357 ------------------------------------------
10282 14358 Summary of changes for this label: 12_08_00
10283 14359
10284 14360
10285 14361 Fixed a problem where named references within the ASL definition
10286 14362 of both OperationRegions and CreateXXXFields did not work
10287 14363 properly. The symptom was an AE_AML_OPERAND_TYPE during
10288 14364 initialization of the region/field. This is similar (but not
10289 14365 related internally) to the problem that was fixed in the last
10290 14366 label.
10291 14367
10292 14368 Implemented both 32-bit and 64-bit support for the BCD ASL
10293 14369 functions ToBCD and FromBCD.
10294 14370
10295 14371 Updated all legal headers to include "2000" in the copyright
10296 14372 years.
10297 14373
10298 14374 ------------------------------------------
10299 14375 Summary of changes for this label: 12_01_00
10300 14376
10301 14377 Fixed a problem where method invocations within the ASL definition
10302 14378 of both OperationRegions and CreateXXXFields did not work
10303 14379 properly. The symptom was an AE_AML_OPERAND_TYPE during
10304 14380 initialization of the region/field:
10305 14381
10306 14382 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
10307 14383 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
10308 14384 (0x3005)
10309 14385
10310 14386 Fixed a problem where operators with more than one nested
10311 14387 subexpression would fail. The symptoms were varied, by mostly
10312 14388 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
10313 14389 problem that has gone unnoticed until now.
10314 14390
10315 14391 Subtract (Add (1,2), Multiply (3,4))
10316 14392
10317 14393 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
10318 14394 previous build (The prefix part of a relative path was handled
10319 14395 incorrectly).
10320 14396
10321 14397 Fixed a problem where Operation Region initialization failed if
10322 14398 the operation region name was a "namepath" instead of a simple
10323 14399 "nameseg". Symptom was an AE_NO_OPERAND error.
10324 14400
10325 14401 Fixed a problem where an assignment to a local variable via the
10326 14402 indirect RefOf mechanism only worked for the first such
10327 14403 assignment. Subsequent assignments were ignored.
10328 14404
10329 14405 ------------------------------------------
10330 14406 Summary of changes for this label: 11_15_00
10331 14407
10332 14408 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
10333 14409 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
10334 14410 the AML interpreter does NOT have support for the new 2.0 ASL
10335 14411 grammar terms at this time.
10336 14412
10337 14413 All ACPI hardware access is via the GAS structures in the ACPI 2.0
10338 14414 FADT.
10339 14415
10340 14416 All physical memory addresses across all platforms are now 64 bits
10341 14417 wide. Logical address width remains dependent on the platform
10342 14418 (i.e., "void *").
10343 14419
10344 14420 AcpiOsMapMemory interface changed to a 64-bit physical address.
10345 14421
10346 14422 The AML interpreter integer size is now 64 bits, as per the ACPI
10347 14423 2.0 specification.
10348 14424
10349 14425 For backwards compatibility with ACPI 1.0, ACPI tables with a
10350 14426 revision number less than 2 use 32-bit integers only.
10351 14427
10352 14428 Fixed a problem where the evaluation of OpRegion operands did not
10353 14429 always resolve them to numbers properly.
10354 14430
10355 14431 ------------------------------------------
10356 14432 Summary of changes for this label: 10_20_00
10357 14433
10358 14434 Fix for CBN_._STA issue. This fix will allow correct access to
10359 14435 CBN_ OpRegions when the _STA returns 0x8.
10360 14436
10361 14437 Support to convert ACPI constants (Ones, Zeros, One) to actual
10362 14438 values before a package object is returned
10363 14439
10364 14440 Fix for method call as predicate to if/while construct causing
10365 14441 incorrect if/while behavior
10366 14442
10367 14443 Fix for Else block package lengths sometimes calculated wrong (if
10368 14444 block > 63 bytes)
10369 14445
10370 14446 Fix for Processor object length field, was always zero
10371 14447
10372 14448 Table load abort if FACP sanity check fails
10373 14449
10374 14450 Fix for problem with Scope(name) if name already exists
10375 14451
10376 14452 Warning emitted if a named object referenced cannot be found
10377 14453 (resolved) during method execution.
10378 14454
10379 14455
10380 14456
10381 14457
10382 14458
10383 14459 ------------------------------------------
10384 14460 Summary of changes for this label: 9_29_00
10385 14461
10386 14462 New table initialization interfaces: AcpiInitializeSubsystem no
10387 14463 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
10388 14464 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
10389 14465 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
10390 14466 AcpiLoadTables
10391 14467
10392 14468 Note: These interface changes require changes to all existing OSDs
10393 14469
10394 14470 The PCI_Config default address space handler is always installed
10395 14471 at the root namespace object.
10396 14472
10397 14473 -------------------------------------------
10398 14474 Summary of changes for this label: 09_15_00
10399 14475
10400 14476 The new initialization architecture is implemented. New
10401 14477 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
10402 14478 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
10403 14479
10404 14480 (Namespace is automatically loaded when a table is loaded)
10405 14481
10406 14482 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
10407 14483 52 bytes to 32 bytes. There is usually one of these for every
10408 14484 namespace object, so the memory savings is significant.
10409 14485
10410 14486 Implemented just-in-time evaluation of the CreateField operators.
10411 14487
10412 14488 Bug fixes for IA-64 support have been integrated.
10413 14489
10414 14490 Additional code review comments have been implemented
10415 14491
10416 14492 The so-called "third pass parse" has been replaced by a final walk
10417 14493 through the namespace to initialize all operation regions (address
10418 14494 spaces) and fields that have not yet been initialized during the
10419 14495 execution of the various _INI and REG methods.
10420 14496
10421 14497 New file - namespace/nsinit.c
10422 14498
10423 14499 -------------------------------------------
10424 14500 Summary of changes for this label: 09_01_00
10425 14501
10426 14502 Namespace manager data structures have been reworked to change the
10427 14503 primary object from a table to a single object. This has
10428 14504 resulted in dynamic memory savings of 3X within the namespace and
10429 14505 2X overall in the ACPI CA subsystem.
10430 14506
10431 14507 Fixed problem where the call to AcpiEvFindPciRootBuses was
10432 14508 inadvertently left commented out.
10433 14509
10434 14510 Reduced the warning count when generating the source with the GCC
10435 14511 compiler.
10436 14512
10437 14513 Revision numbers added to each module header showing the
10438 14514 SourceSafe version of the file. Please refer to this version
10439 14515 number when giving us feedback or comments on individual modules.
10440 14516
10441 14517 The main object types within the subsystem have been renamed to
10442 14518 clarify their purpose:
10443 14519
10444 14520 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
10445 14521 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
10446 14522 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
10447 14523
10448 14524 NOTE: no changes to the initialization sequence are included in
10449 14525 this label.
10450 14526
10451 14527 -------------------------------------------
10452 14528 Summary of changes for this label: 08_23_00
10453 14529
10454 14530 Fixed problem where TerminateControlMethod was being called
10455 14531 multiple times per method
10456 14532
10457 14533 Fixed debugger problem where single stepping caused a semaphore to
10458 14534 be oversignalled
10459 14535
10460 14536 Improved performance through additional parse object caching -
10461 14537 added ACPI_EXTENDED_OP type
10462 14538
10463 14539 -------------------------------------------
10464 14540 Summary of changes for this label: 08_10_00
10465 14541
10466 14542 Parser/Interpreter integration: Eliminated the creation of
10467 14543 complete parse trees for ACPI tables and control methods.
10468 14544 Instead, parse subtrees are created and then deleted as soon as
10469 14545 they are processed (Either entered into the namespace or executed
10470 14546 by the interpreter). This reduces the use of dynamic kernel
10471 14547 memory significantly. (about 10X)
10472 14548
10473 14549 Exception codes broken into classes and renumbered. Be sure to
10474 14550 recompile all code that includes acexcep.h. Hopefully we won't
10475 14551 have to renumber the codes again now that they are split into
10476 14552 classes (environment, programmer, AML code, ACPI table, and
10477 14553 internal).
10478 14554
10479 14555 Fixed some additional alignment issues in the Resource Manager
10480 14556 subcomponent
10481 14557
10482 14558 Implemented semaphore tracking in the AcpiExec utility, and fixed
10483 14559 several places where mutexes/semaphores were being unlocked
10484 14560 without a corresponding lock operation. There are no known
10485 14561 semaphore or mutex "leaks" at this time.
10486 14562
10487 14563 Fixed the case where an ASL Return operator is used to return an
10488 14564 unnamed package.
10489 14565
10490 14566 -------------------------------------------
10491 14567 Summary of changes for this label: 07_28_00
10492 14568
10493 14569 Fixed a problem with the way addresses were calculated in
10494 14570 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
10495 14571 manifested itself when a Field was created with WordAccess or
10496 14572 DwordAccess, but the field unit defined within the Field was less
10497 14573
10498 14574 than a Word or Dword.
10499 14575
10500 14576 Fixed a problem in AmlDumpOperands() module's loop to pull
10501 14577 operands off of the operand stack to display information. The
10502 14578 problem manifested itself as a TLB error on 64-bit systems when
10503 14579 accessing an operand stack with two or more operands.
10504 14580
10505 14581 Fixed a problem with the PCI configuration space handlers where
10506 14582 context was getting confused between accesses. This required a
10507 14583 change to the generic address space handler and address space
10508 14584 setup definitions. Handlers now get both a global handler context
10509 14585 (this is the one passed in by the user when executing
10510 14586 AcpiInstallAddressSpaceHandler() and a specific region context
10511 14587 that is unique to each region (For example, the _ADR, _SEG and
10512 14588 _BBN values associated with a specific region). The generic
10513 14589 function definitions have changed to the following:
10514 14590
10515 14591 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
10516 14592 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
10517 14593 *HandlerContext, // This used to be void *Context void
10518 14594 *RegionContext); // This is an additional parameter
10519 14595
10520 14596 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
10521 14597 RegionHandle, UINT32 Function, void *HandlerContext, void
10522 14598 **RegionContext); // This used to be **ReturnContext
10523 14599
10524 14600 -------------------------------------------
10525 14601 Summary of changes for this label: 07_21_00
10526 14602
10527 14603 Major file consolidation and rename. All files within the
10528 14604 interpreter have been renamed as well as most header files. This
10529 14605 was done to prevent collisions with existing files in the host
10530 14606 OSs -- filenames such as "config.h" and "global.h" seem to be
10531 14607 quite common. The VC project files have been updated. All
10532 14608 makefiles will require modification.
10533 14609
10534 14610 The parser/interpreter integration continues in Phase 5 with the
10535 14611 implementation of a complete 2-pass parse (the AML is parsed
10536 14612 twice) for each table; This avoids the construction of a huge
10537 14613 parse tree and therefore reduces the amount of dynamic memory
10538 14614 required by the subsystem. Greater use of the parse object cache
10539 14615 means that performance is unaffected.
10540 14616
10541 14617 Many comments from the two code reviews have been rolled in.
10542 14618
10543 14619 The 64-bit alignment support is complete.
10544 14620
10545 14621 -------------------------------------------
10546 14622 Summary of changes for this label: 06_30_00
10547 14623
10548 14624 With a nod and a tip of the hat to the technology of yesteryear,
10549 14625 we've added support in the source code for 80 column output
10550 14626 devices. The code is now mostly constrained to 80 columns or
10551 14627 less to support environments and editors that 1) cannot display
10552 14628 or print more than 80 characters on a single line, and 2) cannot
10553 14629 disable line wrapping.
10554 14630
10555 14631 A major restructuring of the namespace data structure has been
10556 14632 completed. The result is 1) cleaner and more
10557 14633 understandable/maintainable code, and 2) a significant reduction
10558 14634 in the dynamic memory requirement for each named ACPI object
10559 14635 (almost half).
10560 14636
10561 14637 -------------------------------------------
10562 14638 Summary of changes for this label: 06_23_00
10563 14639
10564 14640 Linux support has been added. In order to obtain approval to get
10565 14641 the ACPI CA subsystem into the Linux kernel, we've had to make
10566 14642 quite a few changes to the base subsystem that will affect all
10567 14643 users (all the changes are generic and OS- independent). The
10568 14644 effects of these global changes have been somewhat far reaching.
10569 14645 Files have been merged and/or renamed and interfaces have been
10570 14646 renamed. The major changes are described below.
10571 14647
10572 14648 Osd* interfaces renamed to AcpiOs* to eliminate namespace
10573 14649 pollution/confusion within our target kernels. All OSD
10574 14650 interfaces must be modified to match the new naming convention.
10575 14651
10576 14652 Files merged across the subsystem. A number of the smaller source
10577 14653 and header files have been merged to reduce the file count and
10578 14654 increase the density of the existing files. There are too many
10579 14655 to list here. In general, makefiles that call out individual
10580 14656 files will require rebuilding.
10581 14657
10582 14658 Interpreter files renamed. All interpreter files now have the
10583 14659 prefix am* instead of ie* and is*.
10584 14660
10585 14661 Header files renamed: The acapi.h file is now acpixf.h. The
10586 14662 acpiosd.h file is now acpiosxf.h. We are removing references to
10587 14663 the acronym "API" since it is somewhat windowsy. The new name is
10588 14664 "external interface" or xface or xf in the filenames.j
10589 14665
10590 14666
10591 14667 All manifest constants have been forced to upper case (some were
10592 14668 mixed case.) Also, the string "ACPI_" has been prepended to many
10593 14669 (not all) of the constants, typedefs, and structs.
10594 14670
10595 14671 The globals "DebugLevel" and "DebugLayer" have been renamed
10596 14672 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
10597 14673
10598 14674 All other globals within the subsystem are now prefixed with
10599 14675 "AcpiGbl_" Internal procedures within the subsystem are now
10600 14676 prefixed with "Acpi" (with only a few exceptions). The original
10601 14677 two-letter abbreviation for the subcomponent remains after "Acpi"
10602 14678 - for example, CmCallocate became AcpiCmCallocate.
10603 14679
10604 14680 Added a source code translation/conversion utility. Used to
10605 14681 generate the Linux source code, it can be modified to generate
10606 14682 other types of source as well. Can also be used to cleanup
10607 14683 existing source by removing extraneous spaces and blank lines.
10608 14684 Found in tools/acpisrc/*
10609 14685
10610 14686 OsdUnMapMemory was renamed to OsdUnmapMemory and then
10611 14687 AcpiOsUnmapMemory. (UnMap became Unmap).
10612 14688
10613 14689 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
10614 14690 When set to one, this indicates that the caller wants to use the
10615 14691
10616 14692 semaphore as a mutex, not a counting semaphore. ACPI CA uses
10617 14693 both types. However, implementers of this call may want to use
10618 14694 different OS primitives depending on the type of semaphore
10619 14695 requested. For example, some operating systems provide separate
10620 14696
10621 14697 "mutex" and "semaphore" interfaces - where the mutex interface is
10622 14698 much faster because it doesn't have all the overhead of a full
10623 14699 semaphore implementation.
10624 14700
10625 14701 Fixed a deadlock problem where a method that accesses the PCI
10626 14702 address space can block forever if it is the first access to the
10627 14703 space.
10628 14704
10629 14705 -------------------------------------------
10630 14706 Summary of changes for this label: 06_02_00
10631 14707
10632 14708 Support for environments that cannot handle unaligned data
10633 14709 accesses (e.g. firmware and OS environments devoid of alignment
10634 14710 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
10635 14711 been added (via configurable macros) in these three areas: -
10636 14712 Transfer of data from the raw AML byte stream is done via byte
10637 14713 moves instead of word/dword/qword moves. - External objects are
10638 14714 aligned within the user buffer, including package elements (sub-
10639 14715 objects). - Conversion of name strings to UINT32 Acpi Names is now
10640 14716 done byte-wise.
10641 14717
10642 14718 The Store operator was modified to mimic Microsoft's
10643 14719 implementation when storing to a Buffer Field.
10644 14720
10645 14721 Added a check of the BM_STS bit before entering C3.
10646 14722
10647 14723 The methods subdirectory has been obsoleted and removed. A new
10648 14724 file, cmeval.c subsumes the functionality.
10649 14725
10650 14726 A 16-bit (DOS) version of AcpiExec has been developed. The
10651 14727 makefile is under the acpiexec directory.
↓ open down ↓ |
4062 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX