1 ----------------------------------------
2 14 January 2014. Summary of changes for version 20140114:
3
4 1) ACPICA kernel-resident subsystem:
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
2471 1) ACPI CA Core Subsystem:
2472
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
2568 signature. Now, only allow SSDT, OEMx, and a null signature. History:
2569 1) Originally, we checked the table signature for "SSDT" or "PSDT".
2570 (PSDT is now obsolete.)
2571 2) We added support for OEMx tables, signature "OEM" plus a fourth
2572 "don't care" character.
2573 3) Valid tables were encountered with a null signature, so we just
2574 gave up on validating the signature, (05/2008).
2575 4) We encountered non-AML tables such as the MADT, which caused
2576 interpreter errors and kernel faults. So now, we once again allow
2577 only SSDT, OEMx, and now, also a null signature. (05/2011).
2578
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.
2583
2584 Example Code and Data Size: These are the sizes for the OS-independent
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
2589 larger code and data size.
2590
2591 Previous Release (VC 9.0):
2592 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
2593 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
2594 Current Release (VC 9.0):
2595 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
2596 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2597
2598 2) iASL Compiler/Disassembler and Tools:
2599
2600 Debugger/AcpiExec: Implemented support for "complex" method arguments on
2601 the
2602 debugger command line. This adds support beyond simple integers --
2603 including
2604 Strings, Buffers, and Packages. Includes support for nested packages.
2605 Increased the default command line buffer size to accommodate these
2606 arguments.
2607 See the ACPICA reference for details and syntax. ACPICA BZ 917.
2608
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
2617 arguments. Also fixes a bug where only six method arguments maximum were
2618 supported instead of the required seven.
2619
2620 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
2621 and
2622 also return status in order to prevent buffer overruns. See the ACPICA
2623 reference for details and syntax. ACPICA BZ 921
2624
2625 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
2626 makefiles to simplify support for the two different but similar parser
2627 generators, bison and yacc.
2628
2629 Updated the generic unix makefile for gcc 4. The default gcc version is
2630 now
2631 expected to be 4 or greater, since options specific to gcc 4 are used.
2632
2633 ----------------------------------------
2634 13 April 2011. Summary of changes for version 20110413:
2635
2636 1) ACPI CA Core Subsystem:
2637
2638 Implemented support to execute a so-called "orphan" _REG method under the
2639 EC
2640 device. This change will force the execution of a _REG method underneath
2641 the
2642 EC
2643 device even if there is no corresponding operation region of type
2644 EmbeddedControl. Fixes a problem seen on some machines and apparently is
2645 compatible with Windows behavior. ACPICA BZ 875.
2646
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
2651 list
2652 of names that can be repaired by having NULL package elements dynamically
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,
2659 _Sx,
2660 and _TZD. ACPICA BZ 914.
2661
2662 Split and segregated all internal global lock functions to a new file,
2663 evglock.c.
2664
2665 Updated internal address SpaceID for DataTable regions. Moved this
2666 internal
2667 space
2668 id in preparation for ACPI 5.0 changes that will include some new space
2669 IDs.
2670 This
2671 change should not affect user/host code.
2672
2673 Example Code and Data Size: These are the sizes for the OS-independent
2674 acpica.lib
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
2679 and
2680 data size.
2681
2682 Previous Release (VC 9.0):
2683 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
2684 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
2685 Current Release (VC 9.0):
2686 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
2687 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
2688
2689 2) iASL Compiler/Disassembler and Tools:
2690
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-
2697 continuation character(s) and no colon on the continuation lines. See the
2698 grammar
2699 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
2700 Moore.
2701
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
2706 to
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.
2711
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
2716 region declaration in the same scope. If not, the _REG method is not very
2717 useful
2718 since it probably won't be executed. ACPICA BZ 915.
2719
2720 iASL/DTC: Finish support for expression evaluation. Added a new
2721 expression
2722 parser
2723 that implements c-style operator precedence and parenthesization. ACPICA
2724 bugzilla
2725 908.
2726
2727 Disassembler/DTC: Remove support for () and <> style comments in data
2728 tables.
2729 Now
2730 that DTC has full expression support, we don't want to have comment
2731 strings
2732 that
2733 start with a parentheses or a less-than symbol. Now, only the standard /*
2734 and
2735 //
2736 comments are supported, as well as the bracket [] comments.
2737
2738 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
2739 "unusual"
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
2744 support "wrong checksum" error messages emitted by acpidump utility.
2745
2746 iASL: Add a * option to generate all template files (as a synonym for
2747 ALL)
2748 as
2749 in
2750 "iasl -T *" or "iasl -T ALL".
2751
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.
2756 This allows multiple compiles with a single (possibly wildcard) compiler
2757 invocation.
2758
2759 ----------------------------------------
2760 16 March 2011. Summary of changes for version 20110316:
2761
2762 1) ACPI CA Core Subsystem:
2763
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
2768 the
2769 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
2770
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
2778 signaling GL availability. Rafael Wysocki, Bob Moore.
2779
2780 Example Code and Data Size: These are the sizes for the OS-independent
2781 acpica.lib
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
2786 and
2787 data size.
2788
2789 Previous Release (VC 9.0):
2790 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2791 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2792 Current Release (VC 9.0):
2793 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
2794 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
2795
2796 2) iASL Compiler/Disassembler and Tools:
2797
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,
2802 Lin Ming.
2803
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
2808 like
2809 "Wrong checksum", etc., into the dump file. This was causing problems for
2810 AcpiXtract. ACPICA BZ 905.
2811
2812 iASL: Fix the Linux makefile by removing an inadvertent double file
2813 inclusion.
2814 ACPICA BZ 913.
2815
2816 AcpiExec: Update installation of operation region handlers. Install one
2817 handler
2818 for a user-defined address space. This is used by the ASL test suite
2819 (ASLTS).
2820
2821 ----------------------------------------
2822 11 February 2011. Summary of changes for version 20110211:
2823
2824 1) ACPI CA Core Subsystem:
2825
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.
2830 However, Event handlers and region handlers should be installed after
2831 AcpiInitializeObjects. Override handlers for the "default" regions should
2832 be
2833 installed early, however. This change executes all _REG methods for the
2834 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
2835 chicken/egg issues between them. ACPICA BZ 848.
2836
2837 Implemented an optimization for GPE detection. This optimization will
2838 simply
2839 ignore GPE registers that contain no enabled GPEs -- there is no need to
2840 read the register since this information is available internally. This
2841 becomes more important on machines with a large GPE space. ACPICA
2842 bugzilla
2843 884. Lin Ming. Suggestion from Joe Liu.
2844
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
2853 even look at the FADT version and instead depend solely upon the FADT
2854 length.
2855
2856 Fix an unresolved name issue for the no-debug and no-error-message source
2857 generation cases. The _AcpiModuleName was left undefined in these cases,
2858 but
2859 it is actually needed as a parameter to some interfaces. Define
2860 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
2861
2862 Split several large files (makefiles and project files updated)
2863 utglobal.c -> utdecode.c
2864 dbcomds.c -> dbmethod.c dbnames.c
2865 dsopcode.c -> dsargs.c dscontrol.c
2866 dsload.c -> dsload2.c
2867 aslanalyze.c -> aslbtypes.c aslwalks.c
2868
2869 Example Code and Data Size: These are the sizes for the OS-independent
2870 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2871 debug version of the code includes the debug output trace mechanism and
2872 has
2873 a much larger code and data size.
2874
2875 Previous Release (VC 9.0):
2876 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2877 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2878 Current Release (VC 9.0):
2879 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2880 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2881
2882 2) iASL Compiler/Disassembler and Tools:
2883
2884 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
2885 These are useful C-style macros with the standard definitions. ACPICA
2886 bugzilla 898.
2887
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
2892 "generic" portions of tables such as UEFI. See the iASL reference manual.
2893
2894 Debugger: Added a command to display the status of global handlers. The
2895 "handlers" command will display op region, fixed event, and miscellaneous
2896 global handlers. installation status -- and for op regions, whether
2897 default
2898 or user-installed handler will be used.
2899
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
2904 method, issue a warning if such a name explicitly returns a value. ACPICA
2905 Bugzilla 855.
2906
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
2911 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
2912
2913 iASL/DTC: Fixed a couple input scanner issues with comments and line
2914 numbers. Comment remover could get confused and miss a comment ending.
2915 Fixed
2916 a problem with line counter maintenance.
2917
2918 iASL/DTC: Reduced the severity of some errors from fatal to error. There
2919 is
2920 no need to abort on simple errors within a field definition.
2921
2922 Debugger: Simplified the output of the help command. All help output now
2923 in
2924 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
2925
2926 ----------------------------------------
2927 12 January 2011. Summary of changes for version 20110112:
2928
2929 1) ACPI CA Core Subsystem:
2930
2931 Fixed a race condition between method execution and namespace walks that
2932 can
2933 possibly cause a fault. The problem was apparently introduced in version
2934 20100528 as a result of a performance optimization that reduces the
2935 number
2936 of
2937 namespace walks upon method exit by using the delete_namespace_subtree
2938 function instead of the delete_namespace_by_owner function used
2939 previously.
2940 Bug is a missing namespace lock in the delete_namespace_subtree function.
2941 dana.myers@oracle.com
2942
2943 Fixed several issues and a possible fault with the automatic "serialized"
2944 method support. History: This support changes a method to "serialized" on
2945 the
2946 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
2947 possibility that it cannot handle reentrancy. This fix repairs a couple
2948 of
2949 issues seen in the field, especially on machines with many cores:
2950
2951 1) Delete method children only upon the exit of the last thread,
2952 so as to not delete objects out from under other running threads
2953 (and possibly causing a fault.)
2954 2) Set the "serialized" bit for the method only upon the exit of the
2955 Last thread, so as to not cause deadlock when running threads
2956 attempt to exit.
2957 3) Cleanup the use of the AML "MethodFlags" and internal method flags
2958 so that there is no longer any confusion between the two.
2959
2960 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
2961
2962 Debugger: Now lock the namespace for duration of a namespace dump.
2963 Prevents
2964 issues if the namespace is changing dynamically underneath the debugger.
2965 Especially affects temporary namespace nodes, since the debugger displays
2966 these also.
2967
2968 Updated the ordering of include files. The ACPICA headers should appear
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
2973 and utilities.
2974
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
2979 virtually every file in the ACPICA core subsystem, iASL compiler, and all
2980 utilities.
2981
2982 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
2983 project files for VC++ 6.0 are now obsolete. New project files can be
2984 found
2985 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
2986 details.
2987
2988 Example Code and Data Size: These are the sizes for the OS-independent
2989 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2990 debug version of the code includes the debug output trace mechanism and
2991 has a
2992 much larger code and data size.
2993
2994 Previous Release (VC 6.0):
2995 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
2996 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
2997 Current Release (VC 9.0):
2998 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2999 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
3000
3001 2) iASL Compiler/Disassembler and Tools:
3002
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
3007 platform-defined tables such as UEFI. Lin Ming.
3008
3009 iASL: Added listing support for the Data Table Compiler. Adds listing
3010 support
3011 (-l) to display actual binary output for each line of input code.
3012
3013 ----------------------------------------
3014 09 December 2010. Summary of changes for version 20101209:
3015
3016 1) ACPI CA Core Subsystem:
3017
3018 Completed the major overhaul of the GPE support code that was begun in
3019 July
3020 2010. Major features include: removal of _PRW execution in ACPICA (host
3021 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
3022 changes to existing interfaces, simplification of GPE handler operation,
3023 and
3024 a handful of new interfaces:
3025
3026 AcpiUpdateAllGpes
3027 AcpiFinishGpe
3028 AcpiSetupGpeForWake
3029 AcpiSetGpeWakeMask
3030 One new file, evxfgpe.c to consolidate all external GPE interfaces.
3031
3032 See the ACPICA Programmer Reference for full details and programming
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,
3039 Bob Moore, Rafael Wysocki.
3040
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
3045 when a Wake GPE is received if there is no corresponding GPE method or
3046 handler. ACPICA BZ 870.
3047
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
3054 at the target location. Linux BZ 19462, ACPICA BZ 882.
3055
3056 Example Code and Data Size: These are the sizes for the OS-independent
3057 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3058 debug version of the code includes the debug output trace mechanism and
3059 has a
3060 much larger code and data size.
3061
3062 Previous Release:
3063 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
3064 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
3065 Current Release:
3066 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3067 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3068
3069 2) iASL Compiler/Disassembler and Tools:
3070
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
3077 perhaps for a leading asterisk. ACPICA BZ 886.
3078
3079 iASL: Fixed a problem where a syntax error that caused a premature EOF
3080 condition on the source file emitted a very confusing error message. The
3081 premature EOF is now detected correctly. ACPICA BZ 891.
3082
3083 Disassembler: Decode the AccessSize within a Generic Address Structure
3084 (byte
3085 access, word access, etc.) Note, this field does not allow arbitrary bit
3086 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
3087
3088 New: AcpiNames utility - Example namespace dump utility. Shows an example
3089 of
3090 ACPICA configuration for a minimal namespace dump utility. Uses table and
3091 namespace managers, but no AML interpreter. Does not add any
3092 functionality
3093 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
3094 partition and configure ACPICA. ACPICA BZ 883.
3095
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
3100 execution, including the buffer overflow case.
3101
3102 ----------------------------------------
3103 13 October 2010. Summary of changes for version 20101013:
3104
3105 1) ACPI CA Core Subsystem:
3106
3107 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
3108 now
3109 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
3110 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
3111
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
3119 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
3120 Zhang.
3121
3122 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
3123 string is "Windows 2006 SP2".
3124
3125 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
3126 nsrepair
3127 code automatically repairs _HID-related strings, this type of code is no
3128 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
3129 878.
3130
3131 Example Code and Data Size: These are the sizes for the OS-independent
3132 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3133 debug version of the code includes the debug output trace mechanism and
3134 has a
3135 much larger code and data size.
3136
3137 Previous Release:
3138 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3139 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3140 Current Release:
3141 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3142 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3143
3144 2) iASL Compiler/Disassembler and Tools:
3145
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
3153 strings, all characters must be alphanumeric. ACPICA BZ 874.
3154
3155 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
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
3160 tag" (name) associated with the descriptor, which gives the ASL a handle
3161 needed to modify the descriptor. ACPICA BZ 873.
3162
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-
3167 threaded ACPICA tools/applications - increasing performance. The
3168 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
3169 option. ACPICA BZ 879.
3170
3171 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
3172 support
3173 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
3174
3175 iASL: Moved all compiler messages to a new file, aslmessages.h.
3176
3177 ----------------------------------------
3178 15 September 2010. Summary of changes for version 20100915:
3179
3180 1) ACPI CA Core Subsystem:
3181
3182 Removed the AcpiOsDerivePciId OSL interface. The various host
3183 implementations
3184 of this function were not OS-dependent and are now obsolete and can be
3185 removed from all host OSLs. This function has been replaced by
3186 AcpiHwDerivePciId, which is now part of the ACPICA core code.
3187 AcpiHwDerivePciId has been implemented without recursion. Adds one new
3188 module, hwpci.c. ACPICA BZ 857.
3189
3190 Implemented a dynamic repair for _HID and _CID strings. The following
3191 problems are now repaired at runtime: 1) Remove a leading asterisk in the
3192 string, and 2) the entire string is uppercased. Both repairs are in
3193 accordance with the ACPI specification and will simplify host driver
3194 code.
3195 ACPICA BZ 871.
3196
3197 The ACPI_THREAD_ID type is no longer configurable, internally it is now
3198 always UINT64. This simplifies the ACPICA code, especially any printf
3199 output.
3200 UINT64 is the only common data type for all thread_id types across all
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).
3205 Lin Ming, Bob Moore.
3206
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
3211 configured on a per-compiler basis. Lin Ming.
3212
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
3217 during suspend/restore operations. ACPICA BZ 869.
3218
3219 All code that implements error/warning messages with the "ACPI:" prefix
3220 has
3221 been moved to a new module, utxferror.c.
3222
3223 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
3224 it
3225 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
3226
3227 Example Code and Data Size: These are the sizes for the OS-independent
3228 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3229 debug version of the code includes the debug output trace mechanism and
3230 has a
3231 much larger code and data size.
3232
3233 Previous Release:
3234 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
3235 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
3236 Current Release:
3237 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3238 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3239
3240 2) iASL Compiler/Disassembler and Tools:
3241
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
3248 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
3249 866. Lin Ming, Bob Moore.
3250
3251 Tools: update some printfs for ansi warnings on size_t. Handle width
3252 change
3253 of size_t on 32-bit versus 64-bit generations. Lin Ming.
3254
3255 ----------------------------------------
3256 06 August 2010. Summary of changes for version 20100806:
3257
3258 1) ACPI CA Core Subsystem:
3259
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
3270 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
3271 New Functions:
3272 AcpiInstallInterface - Add an _OSI string.
3273 AcpiRemoveInterface - Delete an _OSI string.
3274 AcpiInstallInterfaceHandler - Install optional _OSI handler.
3275 Obsolete Functions:
3276 AcpiOsValidateInterface - no longer used.
3277 New Files:
3278 source/components/utilities/utosi.c
3279
3280 Re-introduced the support to enable multi-byte transfers for Embedded
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
3291 enables single transfers larger than 8 bits. This effectively changes the
3292 access to the EC space from ByteAcc to AnyAcc, and will probably require
3293 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
3294 bit
3295 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
3296
3297 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
3298 prototype in acpiosxf.h had the output value pointer as a (void *).
3299 It should be a (UINT64 *). This may affect some host OSL code.
3300
3301 Fixed a couple problems with the recently modified Linux makefiles for
3302 iASL
3303 and AcpiExec. These new makefiles place the generated object files in the
3304 local directory so that there can be no collisions between the files that
3305 are
3306 shared between them that are compiled with different options.
3307
3308 Example Code and Data Size: These are the sizes for the OS-independent
3309 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3310 debug version of the code includes the debug output trace mechanism and
3311 has a
3312 much larger code and data size.
3313
3314 Previous Release:
3315 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3316 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
3317 Current Release:
3318 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
3319 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
3320
3321 2) iASL Compiler/Disassembler and Tools:
3322
3323 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
3324 the
3325 namespace from and disassemble an entire group of AML files. Useful for
3326 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
3327 and
3328 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
3329
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.
3334 Lin Ming.
3335
3336 ----------------------------------------
3337 02 July 2010. Summary of changes for version 20100702:
3338
3339 1) ACPI CA Core Subsystem:
3340
3341 Implemented several updates to the recently added GPE reference count
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
3348 were made to help ensure that the reference counts are kept in proper
3349 synchronization with reality. Rafael J. Wysocki.
3350
3351 1) Ensure that GPEs are not enabled twice during initialization.
3352 2) Ensure that GPE enable masks stay in sync with the reference count.
3353 3) Do not inadvertently enable GPEs when writing GPE registers.
3354 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
3355 interface. This interface will set or clear individual GPEs for wakeup.
3356 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
3357 interfaces
3358 are now used for "runtime" GPEs only.
3359
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
3365 some machines. Rafael J. Wysocki.
3366
3367 Reverted a change introduced in version 20100528 to enable Embedded
3368 Controller multi-byte transfers. This change was found to cause problems
3369 with
3370 Index Fields and possibly Bank Fields. It will be reintroduced when these
3371 problems have been resolved.
3372
3373 Fixed a problem with references to Alias objects within Package Objects.
3374 A
3375 reference to an Alias within the definition of a Package was not always
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
3381 should be. Package objects are only allowed to contain integer, string,
3382 buffer, package, and reference objects. Redhat bugzilla 608648.
3383
3384 Example Code and Data Size: These are the sizes for the OS-independent
3385 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3386 debug version of the code includes the debug output trace mechanism and
3387 has a
3388 much larger code and data size.
3389
3390 Previous Release:
3391 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3392 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
3393 Current Release:
3394 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3395 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
3396
3397 2) iASL Compiler/Disassembler and Tools:
3398
3399 iASL: Implemented a new compiler subsystem to allow definition and
3400 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
3401 These
3402 are called "ACPI Data Tables", and the new compiler is the "Data Table
3403 Compiler". This compiler is intended to simplify the existing error-prone
3404 process of creating these tables for the BIOS, as well as allowing the
3405 disassembly, modification, recompilation, and override of existing ACPI
3406 data
3407 tables. See the iASL User Guide for detailed information.
3408
3409 iASL: Implemented a new Template Generator option in support of the new
3410 Data
3411 Table Compiler. This option will create examples of all known ACPI tables
3412 that can be used as the basis for table development. See the iASL
3413 documentation and the -T option.
3414
3415 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
3416 Descriptor Table).
3417
3418 Updated the Linux makefiles for iASL and AcpiExec to place the generated
3419 object files in the local directory so that there can be no collisions
3420 between the shared files between them that are generated with different
3421 options.
3422
3423 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
3424 Use
3425 the #define __APPLE__ to enable this support.
3426
3427 ----------------------------------------
3428 28 May 2010. Summary of changes for version 20100528:
3429
3430 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
3431 available at www.acpi.info. This is primarily an errata release.
3432
3433 1) ACPI CA Core Subsystem:
3434
3435 Undefined ACPI tables: We are looking for the definitions for the
3436 following
3437 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
3438
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
3455 transfers. Alexey Starikovskiy, Lin Ming
3456
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
3467 about 5%, since each namespace entry usually consists of both a namespace
3468 node and an ACPI operand object. However, this is the first growth of the
3469 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
3470
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.
3481
3482 Added support to truncate I/O addresses to 16 bits for Windows
3483 compatibility.
3484 Some ASL code has been seen in the field that inadvertently has bits set
3485 above bit 15. This feature is optional and is enabled if the BIOS
3486 requests
3487 any Windows OSI strings. It can also be enabled by the host OS. Matthew
3488 Garrett, Bob Moore.
3489
3490 Added support to limit the maximum time for the ASL Sleep() operator. To
3491 prevent accidental deep sleeps, limit the maximum time that Sleep() will
3492 actually sleep. Configurable, the default maximum is two seconds. ACPICA
3493 bugzilla 854.
3494
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
3499 part of the ACPI spec. ACPICA BZ 860.
3500
3501 Expanded all statistic counters used during namespace and device
3502 initialization from 16 to 32 bits in order to support very large
3503 namespaces.
3504
3505 Replaced all instances of %d in printf format specifiers with %u since
3506 nearly
3507 all integers in ACPICA are unsigned.
3508
3509 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
3510 returned
3511 as AE_NO_HANDLER.
3512
3513 Example Code and Data Size: These are the sizes for the OS-independent
3514 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3515 debug version of the code includes the debug output trace mechanism and
3516 has a
3517 much larger code and data size.
3518
3519 Previous Release:
3520 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
3521 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
3522 Current Release:
3523 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3524 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
3525
3526 2) iASL Compiler/Disassembler and Tools:
3527
3528 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
3529 methods. These objects are defined by "Windows Instrumentation", and are
3530 not
3531 part of the ACPI spec. ACPICA BZ 860.
3532
3533 AcpiExec: added option to disable the memory tracking mechanism. The -dt
3534 option will disable the tracking mechanism, which improves performance
3535 considerably.
3536
3537 AcpiExec: Restructured the command line options into -d (disable) and -e
3538 (enable) options.
3539
3540 ----------------------------------------
3541 28 April 2010. Summary of changes for version 20100428:
3542
3543 1) ACPI CA Core Subsystem:
3544
3545 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
3546 including FADT-based and GPE Block Devices, execute any _PRW methods in
3547 the
3548 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
3549 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
3550 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
3551 Devices. Provides compatibility with other ACPI implementations. Two new
3552 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
3553 Moore.
3554
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
3561 data structures to clarify their meaning and use.
3562
3563 Fixed a possible allocation overrun during internal object copy in
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.
3568
3569 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
3570 possible access beyond end-of-allocation. Also, now fully validate
3571 descriptor
3572 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
3573
3574 Example Code and Data Size: These are the sizes for the OS-independent
3575 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3576 debug version of the code includes the debug output trace mechanism and
3577 has a
3578 much larger code and data size.
3579
3580 Previous Release:
3581 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
3582 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
3583 Current Release:
3584 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
3585 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
3586
3587 2) iASL Compiler/Disassembler and Tools:
3588
3589 iASL: Implemented Min/Max/Len/Gran validation for address resource
3590 descriptors. This change implements validation for the address fields
3591 that
3592 are common to all address-type resource descriptors. These checks are
3593 implemented: Checks for valid Min/Max, length within the Min/Max window,
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
3598 and aslrestype2.c files into five new files. ACPICA BZ 840.
3599
3600 iASL: Added support for the _Wxx predefined names. This support was
3601 missing
3602 and these names were not recognized by the compiler as valid predefined
3603 names. ACPICA BZ 851.
3604
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
3609 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
3610 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
3611
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 -
3619 ta and -tc options. ACPICA BZ 853.
3620
3621 Tests: Added a new file with examples of extended iASL error checking.
3622 Demonstrates the advanced error checking ability of the iASL compiler.
3623 Available at tests/misc/badcode.asl.
3624
3625 ----------------------------------------
3626 31 March 2010. Summary of changes for version 20100331:
3627
3628 1) ACPI CA Core Subsystem:
3629
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.
3636 Several external interfaces have changed. One external interface has been
3637 removed. One new external interface was added. Most of the GPE external
3638 interfaces now use the GPE spinlock instead of the events mutex (and the
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
3643 Wysocki. ACPICA BZ 831.
3644
3645 Changed:
3646 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
3647 Removed:
3648 AcpiSetGpeType
3649 New:
3650 AcpiSetGpe
3651
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,
3658 however.
3659
3660 Implemented a new subsystem option to force a copy of the DSDT to local
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
3667 not copy the DSDT.
3668
3669 Implemented detection of a corrupted or replaced DSDT. This change adds
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
3674 been seen on some machines. Once this problem has been detected, the DSDT
3675 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
3676
3677 Fixed two problems with AcpiReallocateRootTable during the root table
3678 copy.
3679 When copying the root table to the new allocation, the length used was
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
3684 was not set correctly. Alexey Starikovskiy, Bob Moore.
3685
3686 Example Code and Data Size: These are the sizes for the OS-independent
3687 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3688 debug version of the code includes the debug output trace mechanism and
3689 has a
3690 much larger code and data size.
3691
3692 Previous Release:
3693 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
3694 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
3695 Current Release:
3696 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
3697 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
3698
3699 2) iASL Compiler/Disassembler and Tools:
3700
3701 iASL: Implement limited typechecking for values returned from predefined
3702 control methods. The type of any returned static (unnamed) object is now
3703 validated. For example, Return(1). ACPICA BZ 786.
3704
3705 iASL: Fixed a predefined name object verification regression. Fixes a
3706 problem
3707 introduced in version 20100304. An error is incorrectly generated if a
3708 predefined name is declared as a static named object with a value defined
3709 using the keywords "Zero", "One", or "Ones". Lin Ming.
3710
3711 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
3712 by
3713 reducing the requested registry access rights. ACPICA BZ 842.
3714
3715 Disassembler: fixed a possible fault when generating External()
3716 statements.
3717 Introduced in commit ae7d6fd: Properly handle externals with parent-
3718 prefix
3719 (carat). Fixes a string length allocation calculation. Lin Ming.
3720
3721 ----------------------------------------
3722 04 March 2010. Summary of changes for version 20100304:
3723
3724 1) ACPI CA Core Subsystem:
3725
3726 Fixed a possible problem with the AML Mutex handling function
3727 AcpiExReleaseMutex where the function could fault under the very rare
3728 condition when the interpreter has blocked, the interpreter lock is
3729 released,
3730 the interpreter is then reentered via the same thread, and attempts to
3731 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
3732 Lin
3733 Ming.
3734
3735 Implemented additional configuration support for the AML "Debug Object".
3736 Output from the debug object can now be enabled via a global variable,
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
3743 configured out of the ACPICA build if desired. One new file added,
3744 executer/exdebug.c. Lin Ming, Bob Moore.
3745
3746 Added header support for the ACPI MCHI table (Management Controller Host
3747 Interface Table). This table was added in ACPI 4.0, but the defining
3748 document
3749 has only recently become available.
3750
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
3757 invocations.) These invocations were converted from the original
3758 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
3759
3760 Example Code and Data Size: These are the sizes for the OS-independent
3761 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3762 debug version of the code includes the debug output trace mechanism and
3763 has a
3764 much larger code and data size.
3765
3766 Previous Release:
3767 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
3768 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
3769 Current Release:
3770 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
3771 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
3772
3773 2) iASL Compiler/Disassembler and Tools:
3774
3775 iASL: Implemented typechecking support for static (non-control method)
3776 predefined named objects that are declared with the Name() operator. For
3777 example, the type of this object is now validated to be of type Integer:
3778 Name(_BBN, 1). This change migrates the compiler to using the core
3779 predefined
3780 name table instead of maintaining a local version. Added a new file,
3781 aslpredef.c. ACPICA BZ 832.
3782
3783 Disassembler: Added support for the ACPI 4.0 MCHI table.
3784
3785 ----------------------------------------
3786 21 January 2010. Summary of changes for version 20100121:
3787
3788 1) ACPI CA Core Subsystem:
3789
3790 Added the 2010 copyright to all module headers and signons. This affects
3791 virtually every file in the ACPICA core subsystem, the iASL compiler, the
3792 tools/utilities, and the test suites.
3793
3794 Implemented a change to the AcpiGetDevices interface to eliminate
3795 unnecessary
3796 invocations of the _STA method. In the case where a specific _HID is
3797 requested, do not run _STA until a _HID match is found. This eliminates
3798 potentially dozens of _STA calls during a search for a particular
3799 device/HID,
3800 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
3801
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.
3809 ACPICA BZ 818. Lin Ming, Bob Moore.
3810
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.
3821
3822 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
3823 in
3824 the parse tree object.
3825
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
3832 additional casting, and removal of redundant declarations.
3833
3834 Example Code and Data Size: These are the sizes for the OS-independent
3835 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3836 debug version of the code includes the debug output trace mechanism and
3837 has a
3838 much larger code and data size.
3839
3840 Previous Release:
3841 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
3842 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
3843 Current Release:
3844 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
3845 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
3846
3847 2) iASL Compiler/Disassembler and Tools:
3848
3849 No functional changes for this release.
3850
3851 ----------------------------------------
3852 14 December 2009. Summary of changes for version 20091214:
3853
3854 1) ACPI CA Core Subsystem:
3855
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
3865 module was completely restructured. Lin Ming, Bob Moore.
3866
3867 Implemented automatic removal of null package elements during predefined
3868 name
3869 repairs. This change will automatically remove embedded and trailing NULL
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
3875 with no null elements to deal with. ACPICA BZ 819.
3876
3877 Implemented a repair for the predefined _FDE and _GTM names. The expected
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.
3884
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
3891 of the root. ACPICA BZ 762. Lin Ming.
3892
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
3901 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
3902
3903 Fixed a possible memory leak during module-level code execution. An
3904 object
3905 could be leaked for each block of executed module-level code if the
3906 interpreter slack mode is enabled This change deletes any implicitly
3907 returned
3908 object from the module-level code block. Lin Ming.
3909
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
3914 the return object cannot be repaired. Existing messages for successful
3915 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
3916 827.
3917
3918 Example Code and Data Size: These are the sizes for the OS-independent
3919 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3920 debug version of the code includes the debug output trace mechanism and
3921 has a
3922 much larger code and data size.
3923
3924 Previous Release:
3925 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
3926 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
3927 Current Release:
3928 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
3929 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
3930
3931 2) iASL Compiler/Disassembler and Tools:
3932
3933 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
3934 files
3935 were no longer automatically removed at the termination of the compile.
3936
3937 acpiexec: Implemented the -f option to specify default region fill value.
3938 This option specifies the value used to initialize buffers that simulate
3939 operation regions. Default value is zero. Useful for debugging problems
3940 that
3941 depend on a specific initial value for a region or field.
3942
3943 ----------------------------------------
3944 12 November 2009. Summary of changes for version 20091112:
3945
3946 1) ACPI CA Core Subsystem:
3947
3948 Implemented a post-order callback to AcpiWalkNamespace. The existing
3949 interface only has a pre-order callback. This change adds an additional
3950 parameter for a post-order callback which will be more useful for bus
3951 scans.
3952 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
3953
3954 Modified the behavior of the operation region memory mapping cache for
3955 SystemMemory. Ensure that the memory mappings created for operation
3956 regions
3957 do not cross 4K page boundaries. Crossing a page boundary while mapping
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.
3962 Linux BZ 14445. Lin Ming.
3963
3964 Implemented an automatic repair for predefined methods that must return
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
3969 and do not contain NULL package elements. Adds one new file,
3970 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
3971
3972 Fixed a possible fault during predefined name validation if a return
3973 Package
3974 object contains NULL elements. Also adds a warning if a NULL element is
3975 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
3976 may
3977 include repair or removal of all such NULL elements where possible.
3978
3979 Implemented additional module-level executable AML code support. This
3980 change
3981 will execute module-level code that is not at the root of the namespace
3982 (under a Device object, etc.) at table load time. Module-level executable
3983 AML
3984 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
3985
3986 Implemented a new internal function to create Integer objects. This
3987 function
3988 simplifies miscellaneous object creation code. ACPICA BZ 823.
3989
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.
3996 ACPICA BZ 812.
3997
3998 Example Code and Data Size: These are the sizes for the OS-independent
3999 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4000 debug version of the code includes the debug output trace mechanism and
4001 has a
4002 much larger code and data size.
4003
4004 Previous Release:
4005 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
4006 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
4007 Current Release:
4008 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
4009 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
4010
4011 2) iASL Compiler/Disassembler and Tools:
4012
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)
4017 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
4018
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
4023 exists, but is shorter than the declared length of the package. Although
4024 technically legal, this is probably a coding error and it is seen in the
4025 field. ACPICA BZ 815. Lin Ming, Bob Moore.
4026
4027 iASL: Fixed a problem where the compiler could fault after the maximum
4028 number
4029 of errors was reached (200).
4030
4031 acpixtract: Fixed a possible warning for pointer cast if the compiler
4032 warning
4033 level set very high.
4034
4035 ----------------------------------------
4036 13 October 2009. Summary of changes for version 20091013:
4037
4038 1) ACPI CA Core Subsystem:
4039
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
4046 _REG methods for that address space could be executed twice. This change
4047 fixes the problem. ACPICA BZ 427. Lin Ming.
4048
4049 Fixed a possible memory leak for the Scope() ASL operator. When the exact
4050 invocation of "Scope(\)" is executed (change scope to root), one internal
4051 operand object was leaked. Lin Ming.
4052
4053 Implemented a run-time repair for the _MAT predefined method. If the _MAT
4054 return value is defined as a Field object in the AML, and the field
4055 size is less than or equal to the default width of an integer (32 or
4056 64),_MAT
4057 can incorrectly return an Integer instead of a Buffer. ACPICA now
4058 automatically repairs this problem. ACPICA BZ 810.
4059
4060 Implemented a run-time repair for the _BIF and _BIX predefined methods.
4061 The
4062 "OEM Information" field is often incorrectly returned as an Integer with
4063 value zero if the field is not supported by the platform. This is due to
4064 an
4065 ambiguity in the ACPI specification. The field should always be a string.
4066 ACPICA now automatically repairs this problem by returning a NULL string
4067 within the returned Package. ACPICA BZ 807.
4068
4069 Example Code and Data Size: These are the sizes for the OS-independent
4070 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4071 debug version of the code includes the debug output trace mechanism and
4072 has a
4073 much larger code and data size.
4074
4075 Previous Release:
4076 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
4077 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
4078 Current Release:
4079 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
4080 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
4081
4082 2) iASL Compiler/Disassembler and Tools:
4083
4084 Disassembler: Fixed a problem where references to external symbols that
4085 contained one or more parent-prefixes (carats) were not handled
4086 correctly,
4087 possibly causing a fault. ACPICA BZ 806. Lin Ming.
4088
4089 Disassembler: Restructured the code so that all functions that handle
4090 external symbols are in a single module. One new file is added,
4091 common/dmextern.c.
4092
4093 AML Debugger: Added a max count argument for the Batch command (which
4094 executes multiple predefined methods within the namespace.)
4095
4096 iASL: Updated the compiler documentation (User Reference.) Available at
4097 http://www.acpica.org/documentation/. ACPICA BZ 750.
4098
4099 AcpiXtract: Updated for Lint and other formatting changes. Close all open
4100 files.
4101
4102 ----------------------------------------
4103 03 September 2009. Summary of changes for version 20090903:
4104
4105 1) ACPI CA Core Subsystem:
4106
4107 For Windows Vista compatibility, added the automatic execution of an _INI
4108 method located at the namespace root (\_INI). This method is executed at
4109 table load time. This support is in addition to the automatic execution
4110 of
4111 \_SB._INI. Lin Ming.
4112
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
4119 fly (seen in a _PSS object), as ASL compilers do not allow this. The
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
4126 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
4127
4128 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
4129 This has been reported in the field. Previously, ACPICA would zero out
4130 the
4131 buffer/string. Now, the operation is treated as a noop. Provides Windows
4132 compatibility. ACPICA BZ 803. Lin Ming.
4133
4134 Removed an extraneous error message for ASL constructs of the form
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
4139 emitted when they are encountered. ACPICA BZ 785.
4140
4141 Fixed an extraneous warning message if a _DSM reserved method returns a
4142 Package object. _DSM can return any type of object, so validation on the
4143 return type cannot be performed. ACPICA BZ 802.
4144
4145 Example Code and Data Size: These are the sizes for the OS-independent
4146 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4147 debug version of the code includes the debug output trace mechanism and
4148 has a
4149 much larger code and data size.
4150
4151 Previous Release:
4152 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
4153 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
4154 Current Release:
4155 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
4156 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
4157
4158 2) iASL Compiler/Disassembler and Tools:
4159
4160 iASL: Fixed a problem with the use of the Alias operator and Resource
4161 Templates. The correct alias is now constructed and no error is emitted.
4162 ACPICA BZ 738.
4163
4164 iASL: Implemented the -I option to specify additional search directories
4165 for
4166 include files. Allows multiple additional search paths for include files.
4167 Directories are searched in the order specified on the command line
4168 (after
4169 the local directory is searched.) ACPICA BZ 800.
4170
4171 iASL: Fixed a problem where the full pathname for include files was not
4172 emitted for warnings/errors. This caused the IDE support to not work
4173 properly. ACPICA BZ 765.
4174
4175 iASL: Implemented the -@ option to specify a Windows-style response file
4176 containing additional command line options. ACPICA BZ 801.
4177
4178 AcpiExec: Added support to load multiple AML files simultaneously (such
4179 as
4180 a
4181 DSDT and multiple SSDTs). Also added support for wildcards within the AML
4182 pathname. These features allow all machine tables to be easily loaded and
4183 debugged together. ACPICA BZ 804.
4184
4185 Disassembler: Added missing support for disassembly of HEST table Error
4186 Bank
4187 subtables.
4188
4189 ----------------------------------------
4190 30 July 2009. Summary of changes for version 20090730:
4191
4192 The ACPI 4.0 implementation for ACPICA is complete with this release.
4193
4194 1) ACPI CA Core Subsystem:
4195
4196 ACPI 4.0: Added header file support for all new and changed ACPI tables.
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
4203 have been some ACPI 4.0 changes to other existing tables. Split the large
4204 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
4205
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
4210 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
4211
4212 Implemented support for so-called "module-level executable code". This is
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
4221 must exist under either an If, Else, or While construct; these are the
4222 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
4223
4224 Implemented an automatic dynamic repair for predefined names that return
4225 nested Package objects. This applies to predefined names that are defined
4226 to
4227 return a variable-length Package of sub-packages. If the number of sub-
4228 packages is one, BIOS code is occasionally seen that creates a simple
4229 single
4230 package with no sub-packages. This code attempts to fix the problem by
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
4235 790.
4236
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
4241 BZ 793.
4242
4243 Fixed a problem with AcpiReset where the reset would silently fail if the
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
4248 interfaces.
4249
4250 Fixed a regression related to the recent update of the AcpiRead/Write
4251 interfaces. A sleep/suspend could fail if the optional PM2 Control
4252 register
4253 does not exist during an attempt to write the Bus Master Arbitration bit.
4254 (However, some hosts already delete the code that writes this bit, and
4255 the
4256 code may in fact be obsolete at this date.) ACPICA BZ 799.
4257
4258 Fixed a problem where AcpiTerminate could fault if inadvertently called
4259 twice
4260 in succession. ACPICA BZ 795.
4261
4262 Example Code and Data Size: These are the sizes for the OS-independent
4263 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4264 debug version of the code includes the debug output trace mechanism and
4265 has a
4266 much larger code and data size.
4267
4268 Previous Release:
4269 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
4270 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
4271 Current Release:
4272 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
4273 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
4274
4275 2) iASL Compiler/Disassembler and Tools:
4276
4277 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
4278 changes to existing tables. ACPICA BZ 775.
4279
4280 ----------------------------------------
4281 25 June 2009. Summary of changes for version 20090625:
4282
4283 The ACPI 4.0 Specification was released on June 16 and is available at
4284 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
4285 continue for the next few releases.
4286
4287 1) ACPI CA Core Subsystem:
4288
4289 ACPI 4.0: Implemented interpreter support for the IPMI operation region
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
4294 773. Lin Ming.
4295
4296 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
4297 Includes
4298 support in both the header files and the disassembler.
4299
4300 Completed a major update for the AcpiGetObjectInfo external interface.
4301 Changes include:
4302 - Support for variable, unlimited length HID, UID, and CID strings.
4303 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
4304 etc.)
4305 - Call the _SxW power methods on behalf of a device object.
4306 - Determine if a device is a PCI root bridge.
4307 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
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
4312 been added - utilities/utids.c. ACPICA BZ 368, 780.
4313
4314 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
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
4320 all callers of these interfaces. See the ACPICA Programmer Reference for
4321 details. ACPICA BZ 768.
4322
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
4329 parameter, this was removed. ACPICA BZ 778.
4330
4331 Enhanced the function that dumps ACPI table headers. All non-printable
4332 characters in the string fields are now replaced with '?' (Signature,
4333 OemId,
4334 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
4335 these fields are occasionally seen in the field. ACPICA BZ 788.
4336
4337 Fixed a problem with predefined method repair code where the code that
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
4342 warnings on subsequent calls was interfering with the repair mechanism.
4343 ACPICA BZ 781.
4344
4345 Fixed a possible memory leak in the predefined validation/repair code
4346 when
4347 a
4348 buffer is automatically converted to an expected string object.
4349
4350 Removed obsolete 16-bit files from the distribution and from the current
4351 git
4352 tree head. ACPICA BZ 776.
4353
4354 Example Code and Data Size: These are the sizes for the OS-independent
4355 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4356 debug version of the code includes the debug output trace mechanism and
4357 has a
4358 much larger code and data size.
4359
4360 Previous Release:
4361 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
4362 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
4363 Current Release:
4364 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
4365 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
4366
4367 2) iASL Compiler/Disassembler and Tools:
4368
4369 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
4370 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
4371
4372 ACPI 4.0: iASL - implemented compile-time validation support for all new
4373 predefined names and control methods (31 total). ACPICA BZ 769.
4374
4375 ----------------------------------------
4376 21 May 2009. Summary of changes for version 20090521:
4377
4378 1) ACPI CA Core Subsystem:
4379
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
4385 a "preserved" bit - "OSPM always preserves this bit position", section
4386 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
4387 because the bit needs to be explicitly set by the OS as a workaround. No
4388 machines fail if the bit is not preserved. Therefore, ACPICA no longer
4389 attempts to preserve this bit.
4390
4391 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
4392 incorrectly formed _PRT package could cause a fault. Added validation to
4393 ensure that each package element is actually a sub-package.
4394
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
4401 the entire ACPI table. See the ACPICA Programmer Reference for use and
4402 examples. Lin Ming, Bob Moore.
4403
4404 Fixed several reference count issues with the DdbHandle object that is
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
4411 unload, depending on whether it has been stored in a named object by the
4412 caller. Lin Ming.
4413
4414 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
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
4419 and can cause subsequent execution errors. ACPICA BZ 471.
4420
4421 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
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
4428 (SyncLevel less than or equal). This change updates the code to match the
4429 specification.
4430
4431 Fixed a problem with the local version of the AcpiOsPurgeCache function.
4432 The
4433 (local) cache must be locked during all cache object deletions. Andrew
4434 Baumann.
4435
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
4440 through the installed region handler as they should.
4441
4442 Simplified and optimized the NsGetNextNode function. Reduced parameter
4443 count
4444 and reduced code for this frequently used function.
4445
4446 Example Code and Data Size: These are the sizes for the OS-independent
4447 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4448 debug version of the code includes the debug output trace mechanism and
4449 has a
4450 much larger code and data size.
4451
4452 Previous Release:
4453 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
4454 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
4455 Current Release:
4456 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
4457 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
4458
4459 2) iASL Compiler/Disassembler and Tools:
4460
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
4465 after an invalid sub-table ID.
4466
4467 ----------------------------------------
4468 22 April 2009. Summary of changes for version 20090422:
4469
4470 1) ACPI CA Core Subsystem:
4471
4472 Fixed a compatibility issue with the recently released I/O port
4473 protection
4474 mechanism. For windows compatibility, 1) On a port protection violation,
4475 simply ignore the request and do not return an exception (allow the
4476 control
4477 method to continue execution.) 2) If only part of the request overlaps a
4478 protected port, read/write the individual ports that are not protected.
4479 Linux
4480 BZ 13036. Lin Ming
4481
4482 Enhanced the execution of the ASL/AML BreakPoint operator so that it
4483 actually
4484 breaks into the AML debugger if the debugger is present. This matches the
4485 ACPI-defined behavior.
4486
4487 Fixed several possible warnings related to the use of the configurable
4488 ACPI_THREAD_ID. This type can now be configured as either an integer or a
4489 pointer with no warnings. Also fixes several warnings in printf-like
4490 statements for the 64-bit build when the type is configured as a pointer.
4491 ACPICA BZ 766, 767.
4492
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,
4497 missing prototypes, missing switch default statements, use of non-ANSI
4498 library functions, use of non-ANSI constructs. See generate/unix/Makefile
4499 for
4500 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
4501
4502 Example Code and Data Size: These are the sizes for the OS-independent
4503 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4504 debug version of the code includes the debug output trace mechanism and
4505 has a
4506 much larger code and data size.
4507
4508 Previous Release:
4509 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
4510 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
4511 Current Release:
4512 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
4513 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
4514
4515 2) iASL Compiler/Disassembler and Tools:
4516
4517 iASL: Fixed a generation warning from Bison 2.3 and fixed several
4518 warnings
4519 on
4520 the 64-bit build.
4521
4522 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
4523 not
4524 correctly digest Windows/DOS formatted files (with CR/LF).
4525
4526 iASL: Added a new option for "quiet mode" (-va) that produces only the
4527 compilation summary, not individual errors and warnings. Useful for large
4528 batch compilations.
4529
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.)
4536
4537 Added new makefiles for the generation of acpica in a generic unix-like
4538 environment. These makefiles are intended to generate the acpica tools
4539 and
4540 utilities from the original acpica git source tree structure.
4541
4542 Test Suites: Updated and cleaned up the documentation files. Updated the
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
4549 an alternate implementation of the semaphore timeout to allow aslts to
4550 execute fully on Cygwin.
4551
4552 ----------------------------------------
4553 20 March 2009. Summary of changes for version 20090320:
4554
4555 1) ACPI CA Core Subsystem:
4556
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
4569 implements the reader/writer lock mechanism. ACPICA BZ 749.
4570
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.
4575
4576 Modified the handling of FADT register and table (FACS/DSDT) addresses.
4577 The
4578 FADT can contain both 32-bit and 64-bit versions of these addresses.
4579 Previously, the 64-bit versions were favored, meaning that if both 32 and
4580 64
4581 versions were valid, but not equal, the 64-bit version was used. This was
4582 found to cause some machines to fail. Now, in this case, the 32-bit
4583 version
4584 is used instead. This now matches the Windows behavior.
4585
4586 Implemented a new mechanism to protect certain I/O ports. Provides
4587 Microsoft
4588 compatibility and protects the standard PC I/O ports from access via AML
4589 code. Adds a new file, hwvalid.c
4590
4591 Fixed a possible extraneous warning message from the FADT support. The
4592 message warns of a 32/64 length mismatch between the legacy and GAS
4593 definitions for a register.
4594
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
4601 incorrect if the range included illegal ports, but fields within the
4602 operation region did not actually access those ports. Validation is now
4603 performed on a per-field basis instead of the entire region.
4604
4605 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
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,
4614 and the ACPICA code now simply always writes a zero to the ignored bit.
4615
4616 Modified the handling of ignored bits for the PM1 A/B Control Registers.
4617 As
4618 per the ACPI specification, for the control registers, preserve
4619 (read/modify/write) all bits that are defined as either reserved or
4620 ignored.
4621
4622 Updated the handling of write-only bits in the PM1 A/B Control Registers.
4623 When reading the register, zero the write-only bits as per the ACPI spec.
4624 ACPICA BZ 443. Lin Ming.
4625
4626 Removed "Linux" from the list of supported _OSI strings. Linux no longer
4627 wants to reply true to this request. The Windows strings are the only
4628 paths
4629 through the AML that are tested and known to work properly.
4630
4631 Previous Release:
4632 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
4633 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
4634 Current Release:
4635 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
4636 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
4637
4638 2) iASL Compiler/Disassembler and Tools:
4639
4640 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
4641 and
4642 aetables.c
4643
4644 ----------------------------------------
4645 20 February 2009. Summary of changes for version 20090220:
4646
4647 1) ACPI CA Core Subsystem:
4648
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
4653 not required when reading the single-bit registers. The
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.
4658
4659 Fixed the parameter validation for AcpiRead/Write. Now return
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
4667 should check for a valid register address before calling. ACPICA BZ 748.
4668
4669 Renamed the external ACPI bit register access functions. Renamed
4670 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
4671 functions. The new names are AcpiReadBitRegister and
4672 AcpiWriteBitRegister.
4673 Also, restructured the code for these functions by simplifying the code
4674 path
4675 and condensing duplicate code to reduce code size.
4676
4677 Added new functions to transparently handle the possibly split PM1 A/B
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
4683 746.
4684
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.
4695
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
4702 register. ACPICA BZ 751.
4703
4704 Split out the PM1 Status registers from the FADT. Added new globals for
4705 these
4706 registers (A/B), similar to the way the PM1 Enable registers are handled.
4707 Instead of overloading the FADT Event Register blocks. This makes the
4708 code
4709 clearer and less prone to error.
4710
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
4715 for the truncation value was incorrect.
4716
4717 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
4718 obsolete macro, since it is now a simple reference to ->common.type.
4719 There
4720 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
4721
4722 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
4723 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
4724 simply SLEEP_TYPE. ACPICA BZ 754.
4725
4726 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
4727 function is only needed on 64-bit host operating systems and is thus not
4728 included for 32-bit hosts.
4729
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
4734 verbosity of this debug level. Len Brown.
4735
4736 Example Code and Data Size: These are the sizes for the OS-independent
4737 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4738 debug version of the code includes the debug output trace mechanism and
4739 has a
4740 much larger code and data size.
4741
4742 Previous Release:
4743 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
4744 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
4745 Current Release:
4746 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
4747 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
4748
4749 2) iASL Compiler/Disassembler and Tools:
4750
4751 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
4752 various legal performance profiles.
4753
4754 ----------------------------------------
4755 23 January 2009. Summary of changes for version 20090123:
4756
4757 1) ACPI CA Core Subsystem:
4758
4759 Added the 2009 copyright to all module headers and signons. This affects
4760 virtually every file in the ACPICA core subsystem, the iASL compiler, and
4761 the tools/utilities.
4762
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
4771 a table is dynamically loaded via the AML Load operator.
4772
4773 Updated FADT flag definitions, especially the Boot Architecture flags.
4774
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
4779 with the actual namespace entry which is itself padded with underscores.
4780
4781 Example Code and Data Size: These are the sizes for the OS-independent
4782 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4783 debug version of the code includes the debug output trace mechanism and
4784 has a
4785 much larger code and data size.
4786
4787 Previous Release:
4788 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
4789 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
4790 Current Release:
4791 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
4792 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
4793
4794 2) iASL Compiler/Disassembler and Tools:
4795
4796 Fix build error under Bison-2.4.
4797
4798 Dissasembler: Enhanced FADT support. Added decoding of the Boot
4799 Architecture
4800 flags. Now decode all flags, regardless of the FADT version. Flag output
4801 includes the FADT version which first defined each flag.
4802
4803 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
4804 and
4805 DSDT). Windows only.
4806
4807 ----------------------------------------
4808 04 December 2008. Summary of changes for version 20081204:
4809
4810 1) ACPI CA Core Subsystem:
4811
4812 The ACPICA Programmer Reference has been completely updated and revamped
4813 for
4814 this release. This includes updates to the external interfaces, OSL
4815 interfaces, the overview sections, and the debugger reference.
4816
4817 Several new ACPICA interfaces have been implemented and documented in the
4818 programmer reference:
4819 AcpiReset - Writes the reset value to the FADT-defined reset register.
4820 AcpiDisableAllGpes - Disable all available GPEs.
4821 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
4822 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
4823 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
4824 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
4825 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
4826
4827 Most of the public ACPI hardware-related interfaces have been moved to a
4828 new
4829 file, components/hardware/hwxface.c
4830
4831 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
4832 register lengths within the FADT are now used, and the low level ACPI
4833 register access no longer hardcodes the ACPI register lengths. Given that
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
4838 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
4839 option is set to true for now, and a warning is issued if a suspicious
4840 FADT
4841 register length is overridden with the default value.
4842
4843 Fixed a reference count issue in NsRepairObject. This problem was
4844 introduced
4845 in version 20081031 as part of a fix to repair Buffer objects within
4846 Packages. Lin Ming.
4847
4848 Added semaphore support to the Linux/Unix application OS-services layer
4849 (OSL). ACPICA BZ 448. Lin Ming.
4850
4851 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
4852 will
4853 be implemented in the OSL, or will binary semaphores be used instead.
4854
4855 Example Code and Data Size: These are the sizes for the OS-independent
4856 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4857 debug version of the code includes the debug output trace mechanism and
4858 has a
4859 much larger code and data size.
4860
4861 Previous Release:
4862 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
4863 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
4864 Current Release:
4865 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
4866 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
4867
4868 2) iASL Compiler/Disassembler and Tools:
4869
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
4875 Ming.
4876
4877 iASL: Removed the "named object in while loop" error. The compiler cannot
4878 determine how many times a loop will execute. ACPICA BZ 730.
4879
4880 Disassembler: Implemented support for FADT revision 2 (MS extension).
4881 ACPICA
4882 BZ 743.
4883
4884 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
4885 MCFG).
4886
4887 ----------------------------------------
4888 31 October 2008. Summary of changes for version 20081031:
4889
4890 1) ACPI CA Core Subsystem:
4891
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
4900 plans include moving all private headers to a new subdirectory.
4901
4902 Implemented an automatic Buffer->String return value conversion for
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
4913 with a valid null-terminated string. Linux BZ 11822.
4914
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
4928 only writes the vector.) ACPICA BZ 731.
4929
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.
4934 This can occur in poorly written AML when the hardware does not respond
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
4939 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
4940
4941 Optimized the execution of AML While loops. Previously, a control state
4942 object was allocated and freed for each execution of the loop. The
4943 optimization is to simply reuse the control state for each iteration.
4944 This
4945 speeds up the raw loop execution time by about 5%.
4946
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.
4951 Such methods are seen in the field as stubs (presumably), and can cause
4952 drivers to fail if they expect a return value. Lin Ming.
4953
4954 Allow multiple backslashes as root prefixes in namepaths. In a fully
4955 qualified namepath, allow multiple backslash prefixes. This can happen
4956 (and
4957 is seen in the field) because of the use of a double-backslash in strings
4958 (since backslash is the escape character) causing confusion. ACPICA BZ
4959 739
4960 Lin Ming.
4961
4962 Emit a warning if two different FACS or DSDT tables are discovered in the
4963 FADT. Checks if there are two valid but different addresses for the FACS
4964 and
4965 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
4966
4967 Consolidated the method argument count validation code. Merged the code
4968 that
4969 validates control method argument counts into the predefined validation
4970 module. Eliminates possible multiple warnings for incorrect argument
4971 counts.
4972
4973 Implemented ACPICA example code. Includes code for ACPICA initialization,
4974 handler installation, and calling a control method. Available at
4975 source/tools/examples.
4976
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.
4981 This simplifies the code for the Global Lock and the Firmware Waking
4982 Vector(s).
4983
4984 Example Code and Data Size: These are the sizes for the OS-independent
4985 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4986 debug version of the code includes the debug output trace mechanism and
4987 has a
4988 much larger code and data size.
4989
4990 Previous Release:
4991 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
4992 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
4993 Current Release:
4994 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
4995 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
4996
4997 2) iASL Compiler/Disassembler and Tools:
4998
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
5004 method invocations and the generation of external declarations during the
5005 disassembly. Certain external method invocations cannot be disassembled
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
5010 useful for disassembling SSDTs that make method calls back to the master
5011 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
5012 -d
5013 -e dsdt.aml ssdt1.aml
5014
5015 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
5016 problem where the use of an alias within a namepath would result in a not
5017 found error or cause the compiler to fault. Also now allows forward
5018 references from the Alias operator itself. ACPICA BZ 738.
5019
5020 ----------------------------------------
5021 26 September 2008. Summary of changes for version 20080926:
5022
5023 1) ACPI CA Core Subsystem:
5024
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
5029 start with underscore) that appear in the namespace, at the time they are
5030 evaluated. The argument count and the type of the returned object are
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
5037 include actual repair of incorrect return objects where possible. Two new
5038 files are nspredef.c and acpredef.h.
5039
5040 Fixed a fault in the AML parser if a memory allocation fails during the
5041 Op
5042 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
5043
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
5048 Ming, ACPICA BZ 349.
5049
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,
5054 during the ToDecimalString and ToHexString operators, as well as implicit
5055 conversions. Fiodor Suietov, ACPICA BZ 585.
5056
5057 Fixed two possible memory leaks in the error exit paths of
5058 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
5059 are
5060 similar in that they use a stack of state objects in order to eliminate
5061 recursion. The stack must be fully unwound and deallocated if an error
5062 occurs. Lin Ming. ACPICA BZ 383.
5063
5064 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
5065 global
5066 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
5067 Moore ACPICA BZ 442.
5068
5069 Removed the obsolete version number in module headers. Removed the
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
5074 only incorrect, it could also be misleading.
5075
5076 Example Code and Data Size: These are the sizes for the OS-independent
5077 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5078 debug version of the code includes the debug output trace mechanism and
5079 has a
5080 much larger code and data size.
5081
5082 Previous Release:
5083 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
5084 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
5085 Current Release:
5086 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
5087 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
5088
5089 ----------------------------------------
5090 29 August 2008. Summary of changes for version 20080829:
5091
5092 1) ACPI CA Core Subsystem:
5093
5094 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
5095 Reference. Changes include the elimination of cheating on the Object
5096 field
5097 for the DdbHandle subtype, addition of a reference class field to
5098 differentiate the various reference types (instead of an AML opcode), and
5099 the
5100 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
5101
5102 Reduce an error to a warning for an incorrect method argument count.
5103 Previously aborted with an error if too few arguments were passed to a
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
5110 the predefined methods. Lin Ming. Linux BZ 11032.
5111
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
5120 during the evaluation. Now, the error is generated up front.
5121
5122 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
5123 (nsnames.c). Fixes a leak in the error exit path.
5124
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
5129 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
5130 ACPI_LV_EVENTS.
5131
5132 Removed obsolete and/or unused exception codes from the acexcep.h header.
5133 There is the possibility that certain device drivers may be affected if
5134 they
5135 use any of these exceptions.
5136
5137 The ACPICA documentation has been added to the public git source tree,
5138 under
5139 acpica/documents. Included are the ACPICA programmer reference, the iASL
5140 compiler reference, and the changes.txt release logfile.
5141
5142 Example Code and Data Size: These are the sizes for the OS-independent
5143 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5144 debug version of the code includes the debug output trace mechanism and
5145 has a
5146 much larger code and data size.
5147
5148 Previous Release:
5149 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
5150 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
5151 Current Release:
5152 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
5153 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
5154
5155 2) iASL Compiler/Disassembler and Tools:
5156
5157 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
5158 defines _SCP with 3 arguments. Previous versions defined it with only 1
5159 argument. iASL now allows both definitions.
5160
5161 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
5162 zero-
5163 length subtables when disassembling ACPI tables. Also fixed a couple of
5164 errors where a full 16-bit table type field was not extracted from the
5165 input
5166 properly.
5167
5168 acpisrc: Improve comment counting mechanism for generating source code
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
5173 header.
5174
5175 ----------------------------------------
5176
5177 29 July 2008. Summary of changes for version 20080729:
5178
5179 1) ACPI CA Core Subsystem:
5180
5181 Fix a possible deadlock in the GPE dispatch. Remove call to
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
5188 to Linux BZ 6881 and has since been removed from Linux.
5189
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
5198 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
5199
5200 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
5201 subtables for the MADT and one new subtable for the SRAT. Includes
5202 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
5203 x2APIC
5204 Specification, June 2008.
5205
5206 Additional error checking for pathname utilities. Add error check after
5207 all
5208 calls to AcpiNsGetPathnameLength. Add status return from
5209 AcpiNsBuildExternalPath and check after all calls. Add parameter
5210 validation
5211 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
5212
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.
5219
5220 Add a function to decode reference object types to strings. Created for
5221 improved error messages.
5222
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
5227 to AcpiEvaluateObject.
5228
5229 Example Code and Data Size: These are the sizes for the OS-independent
5230 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5231 debug version of the code includes the debug output trace mechanism and
5232 has a
5233 much larger code and data size.
5234
5235 Previous Release:
5236 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
5237 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
5238 Current Release:
5239 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
5240 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
5241
5242 2) iASL Compiler/Disassembler and Tools:
5243
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-
5250 existent parameters.
5251
5252 iASL: relax error for using reserved "_T_x" identifiers. These names can
5253 appear in a disassembled ASL file if they were emitted by the original
5254 compiler. Instead of issuing an error or warning and forcing the user to
5255 manually change these names, issue a remark instead.
5256
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
5265 create the same named object twice. ACPICA bugzilla 730.
5266
5267 iASL: Support absolute pathnames for include files. Add support for
5268 absolute
5269 pathnames within the Include operator. previously, only relative
5270 pathnames
5271 were supported.
5272
5273 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
5274 Descriptor.
5275 The ACPI spec requires one interrupt minimum. BZ 423
5276
5277 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
5278 Handles the case for the Interrupt Resource Descriptor where
5279 the ResourceSource argument is omitted but ResourceSourceIndex
5280 is present. Now leave room for the Index. BZ 426
5281
5282 iASL: Prevent error message if CondRefOf target does not exist. Fixes
5283 cases
5284 where an error message is emitted if the target does not exist. BZ 516
5285
5286 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
5287 (get ACPI tables on Windows). This was apparently broken in version
5288 20070919.
5289
5290 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
5291 where
5292 the EOF happens immediately after the last table in the input file. Print
5293 completion message. Previously, no message was displayed in this case.
5294
5295 ----------------------------------------
5296 01 July 2008. Summary of changes for version 20080701:
5297
5298 0) Git source tree / acpica.org
5299
5300 Fixed a problem where a git-clone from http would not transfer the entire
5301 source tree.
5302
5303 1) ACPI CA Core Subsystem:
5304
5305 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
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
5312 handlers are installed.)
5313
5314 Implemented a copy for dynamically loaded tables. Previously, dynamically
5315 loaded tables were simply mapped - but on some machines this memory is
5316 corrupted after suspend. Now copy the table to a local buffer. For the
5317 OpRegion case, added checksum verify. Use the table length from the table
5318 header, not the region length. For the Buffer case, use the table length
5319 also. Dennis Noordsij, Bob Moore. BZ 10734
5320
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
5325 once it has been loaded/unloaded one time. The current mechanism does not
5326 unregister a table upon an unload. During a load, if the same table is
5327 found,
5328 this no longer returns an exception. BZ 722
5329
5330 Fixed a problem where the wrong descriptor length was calculated for the
5331 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
5332 EndTag
5333 are calculated as 12 bytes long, but the actual length in the internal
5334 descriptor is 16 because of the round-up to 8 on the 64-bit build.
5335 Reported
5336 by Linn Crosetto. BZ 728
5337
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
5342 to a memory leak. Lin Ming. BZ 727
5343
5344 Fixed a possible memory leak when deleting thermal/processor objects. Any
5345 associated notify handlers (and objects) were not being deleted. Fiodor
5346 Suietov. BZ 506
5347
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.
5352 Vegard Nossum. BZ 726
5353
5354 Enhanced the AcpiGetObjectInfo interface to return the number of required
5355 arguments if the object is a control method. Added this call to the
5356 debugger
5357 so the proper number of default arguments are passed to a method. This
5358 prevents a warning when executing methods from AcpiExec.
5359
5360 Added a check for an invalid handle in AcpiGetObjectInfo. Return
5361 AE_BAD_PARAMETER if input handle is invalid. BZ 474
5362
5363 Fixed an extraneous warning from exconfig.c on the 64-bit build.
5364
5365 Example Code and Data Size: These are the sizes for the OS-independent
5366 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5367 debug version of the code includes the debug output trace mechanism and
5368 has a
5369 much larger code and data size.
5370
5371 Previous Release:
5372 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
5373 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
5374 Current Release:
5375 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
5376 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
5377
5378 2) iASL Compiler/Disassembler and Tools:
5379
5380 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
5381 resource descriptor names.
5382
5383 iASL: Detect invalid ASCII characters in input (windows version). Removed
5384 the
5385 "-CF" flag from the flex compile, enables correct detection of non-ASCII
5386 characters in the input. BZ 441
5387
5388 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
5389 the
5390 "result of operation not used" warning when the DDB handle returned from
5391 LoadTable is not used. The warning is not needed. BZ 590
5392
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.
5402
5403 Debugger: update tables command for unloaded tables. Handle unloaded
5404 tables
5405 and use the standard table header output routine.
5406
5407 ----------------------------------------
5408 09 June 2008. Summary of changes for version 20080609:
5409
5410 1) ACPI CA Core Subsystem:
5411
5412 Implemented a workaround for reversed _PRT entries. A significant number
5413 of
5414 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
5415 change dynamically detects and repairs this problem. Provides
5416 compatibility
5417 with MS ACPI. BZ 6859
5418
5419 Simplified the internal ACPI hardware interfaces to eliminate the locking
5420 flag parameter from Register Read/Write. Added a new external interface,
5421 AcpiGetRegisterUnlocked.
5422
5423 Fixed a problem where the invocation of a GPE control method could hang.
5424 This
5425 was a regression introduced in 20080514. The new method argument count
5426 validation mechanism can enter an infinite loop when a GPE method is
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.
5431
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
5436 20080514. _SST is optional and a NOT_FOUND exception should never be
5437 returned. BZ 716
5438
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
5443 Unload operator. Lin Ming. BZ 10669
5444
5445 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
5446 operands
5447 and eliminated the use of a negative index in a loop. Operands are now
5448 displayed in the correct order, not backwards. This also fixes a
5449 regression
5450 introduced in 20080514 on 64-bit systems where the elimination of
5451 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
5452 715
5453
5454 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
5455 exit
5456 path did not delete a locally allocated structure.
5457
5458 Updated definitions for the DMAR and SRAT tables to synchronize with the
5459 current specifications. Includes disassembler support.
5460
5461 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
5462 loop termination value was used. Loop terminated on iteration early,
5463 missing
5464 one mutex. Linn Crosetto
5465
5466 Example Code and Data Size: These are the sizes for the OS-independent
5467 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5468 debug version of the code includes the debug output trace mechanism and
5469 has a
5470 much larger code and data size.
5471
5472 Previous Release:
5473 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
5474 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
5475 Current Release:
5476 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
5477 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
5478
5479 2) iASL Compiler/Disassembler and Tools:
5480
5481 Disassembler: Implemented support for EisaId() within _CID objects. Now
5482 disassemble integer _CID objects back to EisaId invocations, including
5483 multiple integers within _CID packages. Includes single-step support for
5484 debugger also.
5485
5486 Disassembler: Added support for DMAR and SRAT table definition changes.
5487
5488 ----------------------------------------
5489 14 May 2008. Summary of changes for version 20080514:
5490
5491 1) ACPI CA Core Subsystem:
5492
5493 Fixed a problem where GPEs were enabled too early during the ACPICA
5494 initialization. This could lead to "handler not installed" errors on some
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
5499 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
5500
5501 Implemented a change to the enter sleep code. Moved execution of the _GTS
5502 method to just before setting sleep enable bit. The execution was moved
5503 from
5504 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
5505 immediately before the SLP_EN bit is set, as per the ACPI specification.
5506 Luming Yu, BZ 1653.
5507
5508 Implemented a fix to disable unknown GPEs (2nd version). Now always
5509 disable
5510 the GPE, even if ACPICA thinks that that it is already disabled. It is
5511 possible that the AML or some other code has enabled the GPE unbeknownst
5512 to
5513 the ACPICA code.
5514
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
5519 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
5520
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
5525 loaded at the namespace root even though this goes against the ACPI
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.
5530
5531 Fixed a problem where ACPICA would not Load() tables with unusual
5532 signatures.
5533 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
5534 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
5535 Therefore, signature validation is worthless. Apparently MS ACPI accepts
5536 such
5537 signatures, ACPICA must be compatible. BZ 10454.
5538
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
5543 SubStatus field.
5544
5545 Updated the debug tracking macros to reduce overall code and data size.
5546 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
5547 instead of pointers to static strings. Jan Beulich and Bob Moore.
5548
5549 Implemented argument count checking in control method invocation via
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
5554 method-to-method calls within the AML. Lin Ming.
5555
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
5563 32/64-bit platforms is required.
5564
5565 Added the C const qualifier for appropriate string constants -- mostly
5566 MODULE_NAME and printf format strings. Jan Beulich.
5567
5568 Example Code and Data Size: These are the sizes for the OS-independent
5569 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5570 debug version of the code includes the debug output trace mechanism and
5571 has a
5572 much larger code and data size.
5573
5574 Previous Release:
5575 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
5576 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
5577 Current Release:
5578 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
5579 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
5580
5581 2) iASL Compiler/Disassembler and Tools:
5582
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
5587 means 32-bit and this is unusual. 2 or greater is 64-bit.
5588
5589 ----------------------------------------
5590 21 March 2008. Summary of changes for version 20080321:
5591
5592 1) ACPI CA Core Subsystem:
5593
5594 Implemented an additional change to the GPE support in order to suppress
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
5601 from that GPE. BZ 6217 (Zhang Rui)
5602
5603 Fixed a problem where NULL package elements were not returned to the
5604 AcpiEvaluateObject interface correctly. The element was simply ignored
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
5609 elements. BZ 10132 (Lin Ming, Bob Moore)
5610
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
5617 nodes that were incorrectly left marked as permanent nodes instead of
5618 temporary nodes. This could cause a problem if there is race condition
5619 between an exiting control method and a running namespace walk. (Reported
5620 by
5621 Linn Crosetto)
5622
5623 Fixed a problem where the CreateField and CreateXXXField operators would
5624 incorrectly allow duplicate names (the name of the field) with no
5625 exception
5626 generated.
5627
5628 Implemented several changes for Notify handling. Added support for new
5629 Notify
5630 values (ACPI 2.0+) and improved the Notify debug output. Notify on
5631 PowerResource objects is no longer allowed, as per the ACPI
5632 specification.
5633 (Bob Moore, Zhang Rui)
5634
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.
5641
5642 Fixed a problem where an extraneous debug message was produced for
5643 package
5644 objects (when debugging enabled). The message "Package List length larger
5645 than NumElements count" is now produced in the correct case, and is now
5646 an
5647 error message rather than a debug message. Added a debug message for the
5648 opposite case, where NumElements is larger than the Package List (the
5649 package
5650 will be padded out with NULL elements as per the ACPI spec.)
5651
5652 Implemented several improvements for the output of the ASL "Debug" object
5653 to
5654 clarify and keep all data for a given object on one output line.
5655
5656 Fixed two size calculation issues with the variable-length Start
5657 Dependent
5658 resource descriptor.
5659
5660 Example Code and Data Size: These are the sizes for the OS-independent
5661 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5662 debug version of the code includes the debug output trace mechanism and
5663 has
5664 a much larger code and data size.
5665
5666 Previous Release:
5667 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
5668 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
5669 Current Release:
5670 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
5671 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
5672
5673 2) iASL Compiler/Disassembler and Tools:
5674
5675 Fixed a problem with the use of the Switch operator where execution of
5676 the
5677 containing method by multiple concurrent threads could cause an
5678 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
5679 actual Switch opcode, it must be simulated with local named temporary
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.
5684
5685 ----------------------------------------
5686 13 February 2008. Summary of changes for version 20080213:
5687
5688 1) ACPI CA Core Subsystem:
5689
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
5694 complete first. It is expected that the OSL will queue the enable request
5695 behind all pending notify requests (may require changes to the local host
5696 OSL
5697 in AcpiOsExecute). Alexey Starikovskiy.
5698
5699 Fixed a problem where buffer and package objects passed as arguments to a
5700 control method via the external AcpiEvaluateObject interface could cause
5701 an
5702 AE_AML_INTERNAL exception depending on the order and type of operators
5703 executed by the target control method.
5704
5705 Fixed a problem where resource descriptor size optimization could cause a
5706 problem when a _CRS resource template is passed to a _SRS method. The
5707 _SRS
5708 resource template must use the same descriptors (with the same size) as
5709 returned from _CRS. This change affects the following resource
5710 descriptors:
5711 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
5712 9487)
5713
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,
5720 a CopyObject to all other object types should not perform an implicit
5721 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
5722
5723 Fixed a problem with the AcpiGetDevices interface where the mechanism to
5724 match device CIDs did not examine the entire list of available CIDs, but
5725 instead aborted on the first non-matching CID. Andrew Patterson.
5726
5727 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
5728 was
5729 inadvertently changed to return a 16-bit value instead of a 32-bit value,
5730 truncating the upper dword of a 64-bit value. This macro is only used to
5731 display debug output, so no incorrect calculations were made. Also,
5732 reimplemented the macro so that a 64-bit shift is not performed by
5733 inefficient compilers.
5734
5735 Added missing va_end statements that should correspond with each va_start
5736 statement.
5737
5738 Example Code and Data Size: These are the sizes for the OS-independent
5739 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5740 debug version of the code includes the debug output trace mechanism and
5741 has
5742 a much larger code and data size.
5743
5744 Previous Release:
5745 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
5746 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
5747 Current Release:
5748 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
5749 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
5750
5751 2) iASL Compiler/Disassembler and Tools:
5752
5753 Implemented full disassembler support for the following new ACPI tables:
5754 BERT, EINJ, and ERST. Implemented partial disassembler support for the
5755 complicated HEST table. These tables support the Windows Hardware Error
5756 Architecture (WHEA).
5757
5758 ----------------------------------------
5759 23 January 2008. Summary of changes for version 20080123:
5760
5761 1) ACPI CA Core Subsystem:
5762
5763 Added the 2008 copyright to all module headers and signons. This affects
5764 virtually every file in the ACPICA core subsystem, the iASL compiler, and
5765 the tools/utilities.
5766
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
5775 9558
5776
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
5784 Microsoft compatibility. (Lin Ming) BZ 392
5785
5786 Fixed a problem with the Load operator where an exception was not
5787 returned
5788 in
5789 the case where the table is already loaded. (Lin Ming) BZ 463
5790
5791 Implemented support for the use of DDBHandles as an Indexed Reference, as
5792 per
5793 the ACPI spec. (Lin Ming) BZ 486
5794
5795 Implemented support for UserTerm (Method invocation) for the Unload
5796 operator
5797 as per the ACPI spec. (Lin Ming) BZ 580
5798
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
5803 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
5804
5805 Implemented support for UserTerm (Method invocation) for the Unload
5806 operator
5807 as per the ACPI spec. (Lin Ming) BZ 580
5808
5809 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
5810 HEST,
5811 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
5812
5813 Example Code and Data Size: These are the sizes for the OS-independent
5814 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5815 debug version of the code includes the debug output trace mechanism and
5816 has
5817 a much larger code and data size.
5818
5819 Previous Release:
5820 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
5821 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
5822 Current Release:
5823 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
5824 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
5825
5826 2) iASL Compiler/Disassembler and Tools:
5827
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
5832 header dump at the start of the disassembly.
5833
5834 Implemented additional debugging information in the namespace listing
5835 file
5836 created during compilation. In addition to the namespace hierarchy, the
5837 full
5838 pathname to each namespace object is displayed.
5839
5840 Fixed a problem with the disassembler where invalid ACPI tables could
5841 cause
5842 faults or infinite loops.
5843
5844 Fixed an unexpected parse error when using the optional "parameter types"
5845 list in a control method declaration. (Lin Ming) BZ 397
5846
5847 Fixed a problem where two External declarations with the same name did
5848 not
5849 cause an error (Lin Ming) BZ 509
5850
5851 Implemented support for full TermArgs (adding Argx, Localx and method
5852 invocation) for the ParameterData parameter to the LoadTable operator.
5853 (Lin
5854 Ming) BZ 583,587
5855
5856 ----------------------------------------
5857 19 December 2007. Summary of changes for version 20071219:
5858
5859 1) ACPI CA Core Subsystem:
5860
5861 Implemented full support for deferred execution for the TermArg string
5862 arguments for DataTableRegion. This enables forward references and full
5863 operand resolution for the three string arguments. Similar to
5864 OperationRegion
5865 deferred argument execution.) Lin Ming. BZ 430
5866
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
5871 used. Lin Ming BZ 387, 393
5872
5873 Fixed a problem with AcpiGetDevices where the search of a branch of the
5874 device tree could be terminated prematurely. In accordance with the ACPI
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
5879 Zhao.
5880
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
5887 instead of simply ignored. Rui Zhang.
5888
5889 Fixed a problem with Index Fields where the Index register was
5890 incorrectly
5891 limited to a maximum of 32 bits. Now any size may be used.
5892
5893 Fixed a couple memory leaks associated with "implicit return" objects
5894 when
5895 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
5896
5897 Example Code and Data Size: These are the sizes for the OS-independent
5898 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5899 debug version of the code includes the debug output trace mechanism and
5900 has
5901 a much larger code and data size.
5902
5903 Previous Release:
5904 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
5905 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
5906 Current Release:
5907 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
5908 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
5909
5910 ----------------------------------------
5911 14 November 2007. Summary of changes for version 20071114:
5912
5913 1) ACPI CA Core Subsystem:
5914
5915 Implemented event counters for each of the Fixed Events, the ACPI SCI
5916 (interrupt) itself, and control methods executed. Named
5917 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
5918 These
5919 should be useful for debugging and statistics.
5920
5921 Implemented a new external interface, AcpiGetStatistics, to retrieve the
5922 contents of the various event counters. Returns the current values for
5923 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
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
5928 counters directly.
5929
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
5934 functions with large input values. A truncation from 64-bit to 32-bit
5935 inadvertently occurred. Internal BZ 435. Lin Ming
5936
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
5943 passed directly to the called method. BZ 5389. Lin Ming
5944
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
5949 now correctly copied. BZ 5391. Lin Ming
5950
5951 Fixed a problem with Control Method references within Package objects.
5952 These
5953 references are now correctly generated. This completes the package
5954 construction overhaul that began in version 20071019.
5955
5956 Example Code and Data Size: These are the sizes for the OS-independent
5957 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5958 debug version of the code includes the debug output trace mechanism and
5959 has
5960 a much larger code and data size.
5961
5962 Previous Release:
5963 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
5964 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
5965 Current Release:
5966 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
5967 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
5968
5969
5970 2) iASL Compiler/Disassembler and Tools:
5971
5972 The AcpiExec utility now installs handlers for all of the predefined
5973 Operation Region types. New types supported are: PCI_Config, CMOS, and
5974 PCIBARTarget.
5975
5976 Fixed a problem with the 64-bit version of AcpiExec where the extended
5977 (64-
5978 bit) address fields for the DSDT and FACS within the FADT were not being
5979 used, causing truncation of the upper 32-bits of these addresses. Lin
5980 Ming
5981 and Bob Moore
5982
5983 ----------------------------------------
5984 19 October 2007. Summary of changes for version 20071019:
5985
5986 1) ACPI CA Core Subsystem:
5987
5988 Fixed a problem with the Alias operator when the target of the alias is a
5989 named ASL operator that opens a new scope -- Scope, Device,
5990 PowerResource,
5991 Processor, and ThermalZone. In these cases, any children of the original
5992 operator could not be accessed via the alias, potentially causing
5993 unexpected
5994 AE_NOT_FOUND exceptions. (BZ 9067)
5995
5996 Fixed a problem with the Package operator where all named references were
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
6001 control methods. The implication is that named references to Data Objects
6002 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
6003 immediately upon package creation. This is the approach taken with this
6004 change. References to all other named objects (Methods, Devices, Scopes,
6005 etc.) are all now properly created as reference objects. (BZ 5328)
6006
6007 Reverted a change to Notify handling that was introduced in version
6008 20070508. This version changed the Notify handling from asynchronous to
6009 fully synchronous (Device driver Notify handling with respect to the
6010 Notify
6011 ASL operator). It was found that this change caused more problems than it
6012 solved and was removed by most users.
6013
6014 Fixed a problem with the Increment and Decrement operators where the type
6015 of
6016 the target object could be unexpectedly and incorrectly changed. (BZ 353)
6017 Lin Ming.
6018
6019 Fixed a problem with the Load and LoadTable operators where the table
6020 location within the namespace was ignored. Instead, the table was always
6021 loaded into the root or current scope. Lin Ming.
6022
6023 Fixed a problem with the Load operator when loading a table from a buffer
6024 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
6025
6026 Fixed a problem with the Debug object where a store of a DdbHandle
6027 reference
6028 object to the Debug object could cause a fault.
6029
6030 Added a table checksum verification for the Load operator, in the case
6031 where
6032 the load is from a buffer. (BZ 578).
6033
6034 Implemented additional parameter validation for the LoadTable operator.
6035 The
6036 length of the input strings SignatureString, OemIdString, and OemTableId
6037 are
6038 now checked for maximum lengths. (BZ 582) Lin Ming.
6039
6040 Example Code and Data Size: These are the sizes for the OS-independent
6041 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6042 debug version of the code includes the debug output trace mechanism and
6043 has
6044 a much larger code and data size.
6045
6046 Previous Release:
6047 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
6048 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
6049 Current Release:
6050 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
6051 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
6052
6053
6054 2) iASL Compiler/Disassembler:
6055
6056 Fixed a problem where if a single file was specified and the file did not
6057 exist, no error message was emitted. (Introduced with wildcard support in
6058 version 20070917.)
6059
6060 ----------------------------------------
6061 19 September 2007. Summary of changes for version 20070919:
6062
6063 1) ACPI CA Core Subsystem:
6064
6065 Designed and implemented new external interfaces to install and remove
6066 handlers for ACPI table-related events. Current events that are defined
6067 are
6068 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
6069 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
6070 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
6071
6072 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
6073 (acpi_serialized option on Linux) could cause some systems to hang during
6074 initialization. (Bob Moore) BZ 8171
6075
6076 Fixed a problem where objects of certain types (Device, ThermalZone,
6077 Processor, PowerResource) can be not found if they are declared and
6078 referenced from within the same control method (Lin Ming) BZ 341
6079
6080 Example Code and Data Size: These are the sizes for the OS-independent
6081 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6082 debug version of the code includes the debug output trace mechanism and
6083 has
6084 a much larger code and data size.
6085
6086 Previous Release:
6087 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
6088 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
6089 Current Release:
6090 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
6091 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
6092
6093
6094 2) iASL Compiler/Disassembler:
6095
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
6101 Windows and Unix versions of the compiler. This feature simplifies the
6102 disassembly and compilation of multiple ACPI tables in a single
6103 directory.
6104
6105 ----------------------------------------
6106 08 May 2007. Summary of changes for version 20070508:
6107
6108 1) ACPI CA Core Subsystem:
6109
6110 Implemented a Microsoft compatibility design change for the handling of
6111 the
6112 Notify AML operator. Previously, notify handlers were dispatched and
6113 executed completely asynchronously in a deferred thread. The new design
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
6120 operator in order to operate correctly.
6121
6122 Implemented support to allow Package objects to be passed as method
6123 arguments to the external AcpiEvaluateObject interface. Previously, this
6124 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
6125 implemented since there were no reserved control methods that required it
6126 until recently.
6127
6128 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
6129 that
6130 contained invalid non-zero values in reserved fields could cause later
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
6135 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
6136
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
6143 Liu.
6144
6145 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
6146 could be corrupted if the interrupt being removed was at the head of the
6147 list. Reported by Linn Crosetto.
6148
6149 Example Code and Data Size: These are the sizes for the OS-independent
6150 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6151 debug version of the code includes the debug output trace mechanism and
6152 has
6153 a much larger code and data size.
6154
6155 Previous Release:
6156 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6157 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
6158 Current Release:
6159 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
6160 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
6161
6162 ----------------------------------------
6163 20 March 2007. Summary of changes for version 20070320:
6164
6165 1) ACPI CA Core Subsystem:
6166
6167 Implemented a change to the order of interpretation and evaluation of AML
6168 operand objects within the AML interpreter. The interpreter now evaluates
6169 operands in the order that they appear in the AML stream (and the
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
6174 incompatibilities with the Microsoft AML interpreter as well as being
6175 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
6176
6177 Implemented a change to the ACPI Global Lock support. All interfaces to
6178 the
6179 global lock now allow the same thread to acquire the lock multiple times.
6180 This affects the AcpiAcquireGlobalLock external interface to the global
6181 lock
6182 as well as the internal use of the global lock to support AML fields -- a
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
6189 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
6190 Controller. There is no change to the behavior of the AML Acquire
6191 operator,
6192 as this can already be used to acquire a mutex multiple times by the same
6193 thread. BZ 8066. With assistance from Alexey Starikovskiy.
6194
6195 Fixed a problem where invalid objects could be referenced in the AML
6196 Interpreter after error conditions. During operand evaluation, ensure
6197 that
6198 the internal "Return Object" field is cleared on error and only valid
6199 pointers are stored there. Caused occasional access to deleted objects
6200 that
6201 resulted in "large reference count" warning messages. Valery Podrezov.
6202
6203 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
6204 on
6205 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
6206 Podrezov.
6207
6208 Fixed an internal problem with the handling of result objects on the
6209 interpreter result stack. BZ 7872. Valery Podrezov.
6210
6211 Removed obsolete code that handled the case where AML_NAME_OP is the
6212 target
6213 of a reference (Reference.Opcode). This code was no longer necessary. BZ
6214 7874. Valery Podrezov.
6215
6216 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
6217 was
6218 a
6219 remnant from the previously discontinued 16-bit support.
6220
6221 Example Code and Data Size: These are the sizes for the OS-independent
6222 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6223 debug version of the code includes the debug output trace mechanism and
6224 has
6225 a much larger code and data size.
6226
6227 Previous Release:
6228 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6229 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
6230 Current Release:
6231 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6232 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
6233
6234 ----------------------------------------
6235 26 January 2007. Summary of changes for version 20070126:
6236
6237 1) ACPI CA Core Subsystem:
6238
6239 Added the 2007 copyright to all module headers and signons. This affects
6240 virtually every file in the ACPICA core subsystem, the iASL compiler, and
6241 the utilities.
6242
6243 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
6244 during a table load. A bad pointer was passed in the case where the DSDT
6245 is
6246 overridden, causing a fault in this case.
6247
6248 Example Code and Data Size: These are the sizes for the OS-independent
6249 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6250 debug version of the code includes the debug output trace mechanism and
6251 has
6252 a much larger code and data size.
6253
6254 Previous Release:
6255 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6256 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
6257 Current Release:
6258 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6259 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
6260
6261 ----------------------------------------
6262 15 December 2006. Summary of changes for version 20061215:
6263
6264 1) ACPI CA Core Subsystem:
6265
6266 Support for 16-bit ACPICA has been completely removed since it is no
6267 longer
6268 necessary and it clutters the code. All 16-bit macros, types, and
6269 conditional compiles have been removed, cleaning up and simplifying the
6270 code
6271 across the entire subsystem. DOS support is no longer needed since the
6272 bootable Linux firmware kit is now available.
6273
6274 The handler for the Global Lock is now removed during AcpiTerminate to
6275 enable a clean subsystem restart, via the implementation of the
6276 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
6277 HP)
6278
6279 Implemented enhancements to the multithreading support within the
6280 debugger
6281 to enable improved multithreading debugging and evaluation of the
6282 subsystem.
6283 (Valery Podrezov)
6284
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
6289 each of the various object types. (Valery Podrezov)
6290
6291 Example Code and Data Size: These are the sizes for the OS-independent
6292 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6293 debug version of the code includes the debug output trace mechanism and
6294 has
6295 a much larger code and data size.
6296
6297 Previous Release:
6298 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
6299 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
6300 Current Release:
6301 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6302 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
6303
6304
6305 2) iASL Compiler/Disassembler and Tools:
6306
6307 AcpiExec: Implemented a new option (-m) to display full memory use
6308 statistics upon subsystem/program termination. (Valery Podrezov)
6309
6310 ----------------------------------------
6311 09 November 2006. Summary of changes for version 20061109:
6312
6313 1) ACPI CA Core Subsystem:
6314
6315 Optimized the Load ASL operator in the case where the source operand is
6316 an
6317 operation region. Simply map the operation region memory, instead of
6318 performing a bytewise read. (Region must be of type SystemMemory, see
6319 below.)
6320
6321 Fixed the Load ASL operator for the case where the source operand is a
6322 region field. A buffer object is also allowed as the source operand. BZ
6323 480
6324
6325 Fixed a problem where the Load ASL operator allowed the source operand to
6326 be
6327 an operation region of any type. It is now restricted to regions of type
6328 SystemMemory, as per the ACPI specification. BZ 481
6329
6330 Additional cleanup and optimizations for the new Table Manager code.
6331
6332 AcpiEnable will now fail if all of the required ACPI tables are not
6333 loaded
6334 (FADT, FACS, DSDT). BZ 477
6335
6336 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
6337 this
6338 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
6339 manually optimized to be aligned and will not work if it is byte-packed.
6340
6341 Example Code and Data Size: These are the sizes for the OS-independent
6342 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6343 debug version of the code includes the debug output trace mechanism and
6344 has
6345 a much larger code and data size.
6346
6347 Previous Release:
6348 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
6349 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
6350 Current Release:
6351 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
6352 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
6353
6354
6355 2) iASL Compiler/Disassembler and Tools:
6356
6357 Fixed a problem where the presence of the _OSI predefined control method
6358 within complex expressions could cause an internal compiler error.
6359
6360 AcpiExec: Implemented full region support for multiple address spaces.
6361 SpaceId is now part of the REGION object. BZ 429
6362
6363 ----------------------------------------
6364 11 October 2006. Summary of changes for version 20061011:
6365
6366 1) ACPI CA Core Subsystem:
6367
6368 Completed an AML interpreter performance enhancement for control method
6369 execution. Previously a 2-pass parse/execution, control methods are now
6370 completely parsed and executed in a single pass. This improves overall
6371 interpreter performance by ~25%, reduces code size, and reduces CPU stack
6372 use. (Valery Podrezov + interpreter changes in version 20051202 that
6373 eliminated namespace loading during the pass one parse.)
6374
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
6379 obtained and also checked for an ID match.
6380
6381 Implemented additional support for the PCI _ADR execution: upsearch until
6382 a
6383 device scope is found before executing _ADR. This allows PCI_Config
6384 operation regions to be declared locally within control methods
6385 underneath
6386 PCI device objects.
6387
6388 Fixed a problem with a possible race condition between threads executing
6389 AcpiWalkNamespace and the AML interpreter. This condition was removed by
6390 modifying AcpiWalkNamespace to (by default) ignore all temporary
6391 namespace
6392 entries created during any concurrent control method execution. An
6393 additional namespace race condition is known to exist between
6394 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
6395 investigation.
6396
6397 Restructured the AML ParseLoop function, breaking it into several
6398 subfunctions in order to reduce CPU stack use and improve
6399 maintainability.
6400 (Mikhail Kouzmich)
6401
6402 AcpiGetHandle: Fix for parameter validation to detect invalid
6403 combinations
6404 of prefix handle and pathname. BZ 478
6405
6406 Example Code and Data Size: These are the sizes for the OS-independent
6407 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6408 debug version of the code includes the debug output trace mechanism and
6409 has
6410 a much larger code and data size.
6411
6412 Previous Release:
6413 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6414 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
6415 Current Release:
6416 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
6417 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
6418
6419 2) iASL Compiler/Disassembler and Tools:
6420
6421 Ported the -g option (get local ACPI tables) to the new ACPICA Table
6422 Manager
6423 to restore original behavior.
6424
6425 ----------------------------------------
6426 27 September 2006. Summary of changes for version 20060927:
6427
6428 1) ACPI CA Core Subsystem:
6429
6430 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
6431 These functions now use a spinlock for mutual exclusion and the interrupt
6432 level indication flag is not needed.
6433
6434 Fixed a problem with the Global Lock where the lock could appear to be
6435 obtained before it is actually obtained. The global lock semaphore was
6436 inadvertently created with one unit instead of zero units. (BZ 464)
6437 Fiodor
6438 Suietov.
6439
6440 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
6441 during
6442 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
6443
6444 Example Code and Data Size: These are the sizes for the OS-independent
6445 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6446 debug version of the code includes the debug output trace mechanism and
6447 has
6448 a much larger code and data size.
6449
6450 Previous Release:
6451 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6452 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
6453 Current Release:
6454 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6455 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
6456
6457
6458 2) iASL Compiler/Disassembler and Tools:
6459
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
6464 if the parent ResourceTemplate pathname places the template within a
6465 different namespace scope than the current scope. (BZ 7212)
6466
6467 Fixed a problem where the compiler could hang after syntax errors
6468 detected
6469 in an ElseIf construct. (BZ 453)
6470
6471 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
6472 operator. An incorrect output filename was produced when this parameter
6473 was
6474 a null string (""). Now, the original input filename is used as the AML
6475 output filename, with an ".aml" extension.
6476
6477 Implemented a generic batch command mode for the AcpiExec utility
6478 (execute
6479 any AML debugger command) (Valery Podrezov).
6480
6481 ----------------------------------------
6482 12 September 2006. Summary of changes for version 20060912:
6483
6484 1) ACPI CA Core Subsystem:
6485
6486 Enhanced the implementation of the "serialized mode" of the interpreter
6487 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
6488 specified, instead of creating a serialization semaphore per control
6489 method,
6490 the interpreter lock is simply no longer released before a blocking
6491 operation during control method execution. This effectively makes the AML
6492 Interpreter single-threaded. The overhead of a semaphore per-method is
6493 eliminated.
6494
6495 Fixed a regression where an error was no longer emitted if a control
6496 method
6497 attempts to create 2 objects of the same name. This once again returns
6498 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
6499 that
6500 will dynamically serialize the control method to possible prevent future
6501 errors. (BZ 440)
6502
6503 Integrated a fix for a problem with PCI Express HID detection in the PCI
6504 Config Space setup procedure. (BZ 7145)
6505
6506 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
6507 AcpiHwInitialize function - the FADT registers are now validated when the
6508 table is loaded.
6509
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.)
6517
6518 Example Code and Data Size: These are the sizes for the OS-independent
6519 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6520 debug version of the code includes the debug output trace mechanism and
6521 has
6522 a much larger code and data size.
6523
6524 Previous Release:
6525 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
6526 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
6527 Current Release:
6528 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6529 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
6530
6531
6532 2) iASL Compiler/Disassembler and Tools:
6533
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
6538 at method level. This could cause a problem if the Switch() operator is
6539 within a while loop, causing an error on the second iteration. (BZ 460)
6540
6541 Disassembler - fix for error emitted for unknown type for target of scope
6542 operator. Now, ignore it and continue.
6543
6544 Disassembly of an FADT now verifies the input FADT and reports any errors
6545 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
6546
6547 Disassembly of raw data buffers with byte initialization data now
6548 prefixes
6549 each output line with the current buffer offset.
6550
6551 Disassembly of ASF! table now includes all variable-length data fields at
6552 the end of some of the subtables.
6553
6554 The disassembler now emits a comment if a buffer appears to be a
6555 ResourceTemplate, but cannot be disassembled as such because the EndTag
6556 does
6557 not appear at the very end of the buffer.
6558
6559 AcpiExec - Added the "-t" command line option to enable the serialized
6560 mode
6561 of the AML interpreter.
6562
6563 ----------------------------------------
6564 31 August 2006. Summary of changes for version 20060831:
6565
6566 1) ACPI CA Core Subsystem:
6567
6568 Miscellaneous fixes for the Table Manager:
6569 - Correctly initialize internal common FADT for all 64-bit "X" fields
6570 - Fixed a couple table mapping issues during table load
6571 - Fixed a couple alignment issues for IA64
6572 - Initialize input array to zero in AcpiInitializeTables
6573 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
6574 AcpiGetTableByIndex
6575
6576 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
6577 now
6578 immediately disabled to prevent the waking GPE from firing again and to
6579 prevent other wake GPEs from interrupting the wake process.
6580
6581 Added the AcpiGpeCount global that tracks the number of processed GPEs,
6582 to
6583 be used for debugging systems with a large number of ACPI interrupts.
6584
6585 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
6586 both the ACPICA headers and the disassembler.
6587
6588 Example Code and Data Size: These are the sizes for the OS-independent
6589 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6590 debug version of the code includes the debug output trace mechanism and
6591 has
6592 a much larger code and data size.
6593
6594 Previous Release:
6595 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
6596 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
6597 Current Release:
6598 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
6599 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
6600
6601
6602 2) iASL Compiler/Disassembler and Tools:
6603
6604 Disassembler support for the DMAR ACPI table.
6605
6606 ----------------------------------------
6607 23 August 2006. Summary of changes for version 20060823:
6608
6609 1) ACPI CA Core Subsystem:
6610
6611 The Table Manager component has been completely redesigned and
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
6616 now possible to obtain the ACPI tables very early during kernel
6617 initialization, even before dynamic memory management is initialized.
6618 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
6619
6620 Obsolete ACPICA interfaces:
6621
6622 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
6623 init
6624 time).
6625 - AcpiLoadTable: Not needed.
6626 - AcpiUnloadTable: Not needed.
6627
6628 New ACPICA interfaces:
6629
6630 - AcpiInitializeTables: Must be called before the table manager can be
6631 used.
6632 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
6633 allocated memory after it becomes available.
6634 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
6635 tables
6636 in the RSDT/XSDT.
6637
6638 Other ACPICA changes:
6639
6640 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
6641 Use
6642 AcpiOsUnmapMemory to free this mapping.
6643 - AcpiGetTable returns the actual mapped table. The mapping is managed
6644 internally and must not be deleted by the caller. Use of this interface
6645 causes no additional dynamic memory allocation.
6646 - AcpiFindRootPointer: Support for physical addressing has been
6647 eliminated,
6648 it appeared to be unused.
6649 - The interface to AcpiOsMapMemory has changed to be consistent with the
6650 other allocation interfaces.
6651 - The interface to AcpiOsGetRootPointer has changed to eliminate
6652 unnecessary
6653 parameters.
6654 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
6655 64-
6656 bit platforms. Was previously 64 bits on all platforms.
6657 - The interface to the ACPI Global Lock acquire/release macros have
6658 changed
6659 slightly since ACPICA no longer keeps a local copy of the FACS with a
6660 constructed pointer to the actual global lock.
6661
6662 Porting to the new table manager:
6663
6664 - AcpiInitializeTables: Must be called once, and can be called anytime
6665 during the OS initialization process. It allows the host to specify an
6666 area
6667 of memory to be used to store the internal version of the RSDT/XSDT (root
6668 table). This allows the host to access ACPI tables before memory
6669 management
6670 is initialized and running.
6671 - AcpiReallocateRootTable: Can be called after memory management is
6672 running
6673 to copy the root table to a dynamically allocated array, freeing up the
6674 scratch memory specified in the call to AcpiInitializeTables.
6675 - AcpiSubsystemInitialize: This existing interface is independent of the
6676 Table Manager, and does not have to be called before the Table Manager
6677 can
6678 be used, it only must be called before the rest of ACPICA can be used.
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
6685 portability across C compilers.
6686 - Update interfaces to the Global Lock acquire/release macros if local
6687 versions are used. (see acwin.h)
6688
6689 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
6690
6691 New files: tbfind.c
6692
6693 Example Code and Data Size: These are the sizes for the OS-independent
6694 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6695 debug version of the code includes the debug output trace mechanism and
6696 has
6697 a much larger code and data size.
6698
6699 Previous Release:
6700 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
6701 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
6702 Current Release:
6703 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
6704 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
6705
6706
6707 2) iASL Compiler/Disassembler and Tools:
6708
6709 No changes for this release.
6710
6711 ----------------------------------------
6712 21 July 2006. Summary of changes for version 20060721:
6713
6714 1) ACPI CA Core Subsystem:
6715
6716 The full source code for the ASL test suite used to validate the iASL
6717 compiler and the ACPICA core subsystem is being released with the ACPICA
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
6724 Suietov)
6725
6726 Completed a new design and implementation for support of the ACPI Global
6727 Lock. On the OS side, the global lock is now treated as a standard AML
6728 mutex. Previously, multiple OS threads could "acquire" the global lock
6729 simultaneously. However, this could cause the BIOS to be starved out of
6730 the
6731 lock - especially in cases such as the Embedded Controller driver where
6732 there is a tight coupling between the OS and the BIOS.
6733
6734 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
6735 The Global Lock interrupt handler no longer queues the execution of a
6736 separate thread to signal the global lock semaphore. Instead, the
6737 semaphore
6738 is signaled directly from the interrupt handler.
6739
6740 Implemented support within the AML interpreter for package objects that
6741 contain a larger AML length (package list length) than the package
6742 element
6743 count. In this case, the length of the package is truncated to match the
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
6748 with the MS AML interpreter. (With assistance from Fiodor Suietov)
6749
6750 Implemented a temporary fix for the BankValue parameter of a Bank Field
6751 to
6752 support all constant values, now including the Zero and One opcodes.
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-
6757 constant values for this parameter.
6758
6759 Fixed problem reports (Fiodor Suietov) integrated:
6760 - Fix for premature object deletion after CopyObject on Operation Region
6761 (BZ
6762 350)
6763
6764 Example Code and Data Size: These are the sizes for the OS-independent
6765 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6766 debug version of the code includes the debug output trace mechanism and
6767 has
6768 a much larger code and data size.
6769
6770 Previous Release:
6771 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
6772 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
6773 Current Release:
6774 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
6775 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
6776
6777
6778 2) iASL Compiler/Disassembler and Tools:
6779
6780 No changes for this release.
6781
6782 ----------------------------------------
6783 07 July 2006. Summary of changes for version 20060707:
6784
6785 1) ACPI CA Core Subsystem:
6786
6787 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
6788 that do not allow the initialization of address pointers within packed
6789 structures - even though the hardware itself may support misaligned
6790 transfers. Some of the debug data structures are packed by default to
6791 minimize size.
6792
6793 Added an error message for the case where AcpiOsGetThreadId() returns
6794 zero.
6795 A non-zero value is required by the core ACPICA code to ensure the proper
6796 operation of AML mutexes and recursive control methods.
6797
6798 The DSDT is now the only ACPI table that determines whether the AML
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
6803 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
6804
6805 Fixed a possible leak of an OwnerID in the error path of
6806 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
6807 deletion to a single place in AcpiTbUninstallTable to correct possible
6808 leaks
6809 when using the AcpiTbDeleteTablesByType interface (with assistance from
6810 Lance Ortiz.)
6811
6812 Fixed a problem with Serialized control methods where the semaphore
6813 associated with the method could be over-signaled after multiple method
6814 invocations.
6815
6816 Fixed two issues with the locking of the internal namespace data
6817 structure.
6818 Both the Unload() operator and AcpiUnloadTable interface now lock the
6819 namespace during the namespace deletion associated with the table unload
6820 (with assistance from Linn Crosetto.)
6821
6822 Fixed problem reports (Valery Podrezov) integrated:
6823 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
6824
6825 Fixed problem reports (Fiodor Suietov) integrated:
6826 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
6827 - On Address Space handler deletion, needless deactivation call (BZ 374)
6828 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
6829 375)
6830 - Possible memory leak, Notify sub-objects of Processor, Power,
6831 ThermalZone
6832 (BZ 376)
6833 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
6834 - Minimum Length of RSDT should be validated (BZ 379)
6835 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
6836 Handler (BZ (380)
6837 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
6838 loaded
6839 (BZ 381)
6840
6841 Example Code and Data Size: These are the sizes for the OS-independent
6842 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6843 debug version of the code includes the debug output trace mechanism and
6844 has
6845 a much larger code and data size.
6846
6847 Previous Release:
6848 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
6849 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
6850 Current Release:
6851 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
6852 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
6853
6854
6855 2) iASL Compiler/Disassembler and Tools:
6856
6857 Fixed problem reports:
6858 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
6859 436)
6860
6861 ----------------------------------------
6862 23 June 2006. Summary of changes for version 20060623:
6863
6864 1) ACPI CA Core Subsystem:
6865
6866 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
6867 allows the type to be customized to the host OS for improved efficiency
6868 (since a spinlock is usually a very small object.)
6869
6870 Implemented support for "ignored" bits in the ACPI registers. According
6871 to
6872 the ACPI specification, these bits should be preserved when writing the
6873 registers via a read/modify/write cycle. There are 3 bits preserved in
6874 this
6875 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
6876
6877 Implemented the initial deployment of new OSL mutex interfaces. Since
6878 some
6879 host operating systems have separate mutex and semaphore objects, this
6880 feature was requested. The base code now uses mutexes (and the new mutex
6881 interfaces) wherever a binary semaphore was used previously. However, for
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
6886 at this time. (See acpiosxf.h)
6887
6888 Fixed several problems with the support for the control method SyncLevel
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
6895 is now implemented with a mutex instead of a semaphore.
6896
6897 Fixed three instances of the use of the C shift operator in the bitfield
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
6904 avoided. (Fiodor Suietov)
6905
6906 Added an info message whenever an SSDT or OEM table is loaded dynamically
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
6911 the tables present in the RSDT/XSDT.)
6912
6913 Example Code and Data Size: These are the sizes for the OS-independent
6914 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6915 debug version of the code includes the debug output trace mechanism and
6916 has
6917 a much larger code and data size.
6918
6919 Previous Release:
6920 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
6921 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
6922 Current Release:
6923 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
6924 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
6925
6926
6927 2) iASL Compiler/Disassembler and Tools:
6928
6929 No changes for this release.
6930
6931 ----------------------------------------
6932 08 June 2006. Summary of changes for version 20060608:
6933
6934 1) ACPI CA Core Subsystem:
6935
6936 Converted the locking mutex used for the ACPI hardware to a spinlock.
6937 This
6938 change should eliminate all problems caused by attempting to acquire a
6939 semaphore at interrupt level, and it means that all ACPICA external
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
6944 able to eliminate any workarounds for being called at interrupt level.
6945
6946 Fixed a regression introduced in 20060526 where the ACPI device
6947 initialization could be prematurely aborted with an AE_NOT_FOUND if a
6948 device
6949 did not have an optional _INI method.
6950
6951 Fixed an IndexField issue where a write to the Data Register should be
6952 limited in size to the AccessSize (width) of the IndexField itself. (BZ
6953 433,
6954 Fiodor Suietov)
6955
6956 Fixed problem reports (Valery Podrezov) integrated:
6957 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
6958
6959 Fixed problem reports (Fiodor Suietov) integrated:
6960 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
6961
6962 Removed four global mutexes that were obsolete and were no longer being
6963 used.
6964
6965 Example Code and Data Size: These are the sizes for the OS-independent
6966 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6967 debug version of the code includes the debug output trace mechanism and
6968 has
6969 a much larger code and data size.
6970
6971 Previous Release:
6972 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
6973 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
6974 Current Release:
6975 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
6976 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
6977
6978
6979 2) iASL Compiler/Disassembler and Tools:
6980
6981 Fixed a fault when using -g option (get tables from registry) on Windows
6982 machines.
6983
6984 Fixed problem reports integrated:
6985 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
6986 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
6987 Suietov)
6988 - Global table revision override (-r) is ignored (BZ 413)
6989
6990 ----------------------------------------
6991 26 May 2006. Summary of changes for version 20060526:
6992
6993 1) ACPI CA Core Subsystem:
6994
6995 Restructured, flattened, and simplified the internal interfaces for
6996 namespace object evaluation - resulting in smaller code, less CPU stack
6997 use,
6998 and fewer interfaces. (With assistance from Mikhail Kouzmich)
6999
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.
7004 Caused various errors and unexpected behavior.
7005
7006 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
7007 produced incorrect results with some C compilers. Since the behavior of C
7008 compilers when the shift value is larger than the datatype width is
7009 apparently not well defined, the interpreter now detects this condition
7010 and
7011 simply returns zero as expected in all such cases. (BZ 395)
7012
7013 Fixed problem reports (Valery Podrezov) integrated:
7014 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
7015 - Allow interpreter to handle nested method declarations (BZ 5361)
7016
7017 Fixed problem reports (Fiodor Suietov) integrated:
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)
7022 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
7023 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
7024 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
7025 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
7026 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
7027 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
7028 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
7029 365)
7030 - Status of the Global Initialization Handler call not used (BZ 366)
7031 - Incorrect object parameter to Global Initialization Handler (BZ 367)
7032
7033 Example Code and Data Size: These are the sizes for the OS-independent
7034 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7035 debug version of the code includes the debug output trace mechanism and
7036 has
7037 a much larger code and data size.
7038
7039 Previous Release:
7040 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
7041 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
7042 Current Release:
7043 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
7044 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
7045
7046
7047 2) iASL Compiler/Disassembler and Tools:
7048
7049 Modified the parser to allow the names IO, DMA, and IRQ to be used as
7050 namespace identifiers with no collision with existing resource descriptor
7051 macro names. This provides compatibility with other ASL compilers and is
7052 most useful for disassembly/recompilation of existing tables without
7053 parse
7054 errors. (With assistance from Thomas Renninger)
7055
7056 Disassembler: fixed an incorrect disassembly problem with the
7057 DataTableRegion and CopyObject operators. Fixed a possible fault during
7058 disassembly of some Alias operators.
7059
7060 ----------------------------------------
7061 12 May 2006. Summary of changes for version 20060512:
7062
7063 1) ACPI CA Core Subsystem:
7064
7065 Replaced the AcpiOsQueueForExecution interface with a new interface named
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
7071 Type parameter. The Type tells the host what type of execution is being
7072 requested, such as global lock handler, notify handler, GPE handler, etc.
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
7077 for the various request types. This enables fixes for multithreading
7078 deadlock problems such as BZ #5534, and will require changes to all
7079 existing
7080 OS interface layers. (Alexey Starikovskiy and Bob Moore)
7081
7082 Fixed a possible memory leak associated with the support for the so-
7083 called
7084 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
7085 Suietov)
7086
7087 Fixed a problem with the Load() operator where a table load from an
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)
7092
7093 Example Code and Data Size: These are the sizes for the OS-independent
7094 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7095 debug version of the code includes the debug output trace mechanism and
7096 has
7097 a much larger code and data size.
7098
7099 Previous Release:
7100 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
7101 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
7102 Current Release:
7103 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
7104 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
7105
7106
7107
7108 2) iASL Compiler/Disassembler and Tools:
7109
7110 Disassembler: Implemented support to cross reference the internal
7111 namespace
7112 and automatically generate ASL External() statements for symbols not
7113 defined
7114 within the current table being disassembled. This will simplify the
7115 disassembly and recompilation of interdependent tables such as SSDTs
7116 since
7117 these statements will no longer have to be added manually.
7118
7119 Disassembler: Implemented experimental support to automatically detect
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,
7126 standalone method invocations and invocations as the source operand of a
7127 Store() statement are supported.
7128
7129 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
7130 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
7131 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
7132 more readable and likely closer to the original ASL source.
7133
7134 ----------------------------------------
7135 21 April 2006. Summary of changes for version 20060421:
7136
7137 1) ACPI CA Core Subsystem:
7138
7139 Removed a device initialization optimization introduced in 20051216 where
7140 the _STA method was not run unless an _INI was also present for the same
7141 device. This optimization could cause problems because it could allow
7142 _INI
7143 methods to be run within a not-present device subtree. (If a not-present
7144 device had no _INI, _STA would not be run, the not-present status would
7145 not
7146 be discovered, and the children of the device would be incorrectly
7147 traversed.)
7148
7149 Implemented a new _STA optimization where namespace subtrees that do not
7150 contain _INI are identified and ignored during device initialization.
7151 Selectively running _STA can significantly improve boot time on large
7152 machines (with assistance from Len Brown.)
7153
7154 Implemented support for the device initialization case where the returned
7155 _STA flags indicate a device not-present but functioning. In this case,
7156 _INI
7157 is not run, but the device children are examined for presence, as per the
7158 ACPI specification.
7159
7160 Implemented an additional change to the IndexField support in order to
7161 conform to MS behavior. The value written to the Index Register is not
7162 simply a byte offset, it is a byte offset in units of the access width of
7163 the parent Index Field. (Fiodor Suietov)
7164
7165 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
7166 interface is called during the creation of all AML operation regions, and
7167 allows the host OS to exert control over what addresses it will allow the
7168 AML code to access. Operation Regions whose addresses are disallowed will
7169 cause a runtime exception when they are actually accessed (will not
7170 affect
7171 or abort table loading.) See oswinxf or osunixxf for an example
7172 implementation.
7173
7174 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
7175 interface allows the host OS to match the various "optional"
7176 interface/behavior strings for the _OSI predefined control method as
7177 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
7178 for an example implementation.
7179
7180 Restructured and corrected various problems in the exception handling
7181 code
7182 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
7183 (with assistance from Takayoshi Kochi.)
7184
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
7189 with the disassembler and other areas where such strings must not be
7190 modified.
7191
7192 The ACPI_FUNCTION_* macros no longer require quotes around the function
7193 name. This allows the Linux source converter to convert the names, now
7194 that
7195 the converter ignores quoted strings.
7196
7197 Example Code and Data Size: These are the sizes for the OS-independent
7198 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7199 debug version of the code includes the debug output trace mechanism and
7200 has
7201 a much larger code and data size.
7202
7203 Previous Release:
7204
7205 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
7206 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
7207 Current Release:
7208 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
7209 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
7210
7211
7212 2) iASL Compiler/Disassembler and Tools:
7213
7214 Implemented 3 new warnings for iASL, and implemented multiple warning
7215 levels
7216 (w2 flag).
7217
7218 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
7219 not
7220 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
7221 check for the possible timeout, a warning is issued.
7222
7223 2) Useless operators: If an ASL operator does not specify an optional
7224 target
7225 operand and it also does not use the function return value from the
7226 operator, a warning is issued since the operator effectively does
7227 nothing.
7228
7229 3) Unreferenced objects: If a namespace object is created, but never
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
7236 don't look like they will ever be used. For example, the reserved methods
7237 (starting with an underscore) are usually not referenced because it is
7238 expected that the OS will invoke them.
7239
7240 ----------------------------------------
7241 31 March 2006. Summary of changes for version 20060331:
7242
7243 1) ACPI CA Core Subsystem:
7244
7245 Implemented header file support for the following additional ACPI tables:
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
7250 are available for use by device drivers and other software.
7251
7252 Implemented support to allow tables that contain ACPI names with invalid
7253 characters to be loaded. Previously, this would cause the table load to
7254 fail, but since there are several known cases of such tables on existing
7255 machines, this change was made to enable ACPI support for them. Also,
7256 this
7257 matches the behavior of the Microsoft ACPI implementation.
7258
7259 Fixed a couple regressions introduced during the memory optimization in
7260 the
7261 20060317 release. The namespace node definition required additional
7262 reorganization and an internal datatype that had been changed to 8-bit
7263 was
7264 restored to 32-bit. (Valery Podrezov)
7265
7266 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
7267 could be passed through to AcpiOsReleaseObject which is unexpected. Such
7268 null pointers are now trapped and ignored, matching the behavior of the
7269 previous implementation before the deployment of AcpiOsReleaseObject.
7270 (Valery Podrezov, Fiodor Suietov)
7271
7272 Fixed a memory mapping leak during the deletion of a SystemMemory
7273 operation
7274 region where a cached memory mapping was not deleted. This became a
7275 noticeable problem for operation regions that are defined within
7276 frequently
7277 used control methods. (Dana Meyers)
7278
7279 Reorganized the ACPI table header files into two main files: one for the
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
7284 FADT definitions were merged into one common section and three different
7285 tables (ACPI 1.0, 1.0+, and 2.0)
7286
7287 Example Code and Data Size: These are the sizes for the OS-independent
7288 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7289 debug version of the code includes the debug output trace mechanism and
7290 has
7291 a much larger code and data size.
7292
7293 Previous Release:
7294 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
7295 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
7296 Current Release:
7297 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
7298 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
7299
7300
7301 2) iASL Compiler/Disassembler and Tools:
7302
7303 Disassembler: Implemented support to decode and format all non-AML ACPI
7304 tables (tables other than DSDTs and SSDTs.) This includes the new tables
7305 added to the ACPICA headers, therefore all current and known ACPI tables
7306 are
7307 supported.
7308
7309 Disassembler: The change to allow ACPI names with invalid characters also
7310 enables the disassembly of such tables. Invalid characters within names
7311 are
7312 changed to '*' to make the name printable; the iASL compiler will still
7313 generate an error for such names, however, since this is an invalid ACPI
7314 character.
7315
7316 Implemented an option for AcpiXtract (-a) to extract all tables found in
7317 the
7318 input file. The default invocation extracts only the DSDTs and SSDTs.
7319
7320 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
7321 makefile for the AcpiXtract utility.
7322
7323 ----------------------------------------
7324 17 March 2006. Summary of changes for version 20060317:
7325
7326 1) ACPI CA Core Subsystem:
7327
7328 Implemented the use of a cache object for all internal namespace nodes.
7329 Since there are about 1000 static nodes in a typical system, this will
7330 decrease memory use for cache implementations that minimize per-
7331 allocation
7332 overhead (such as a slab allocator.)
7333
7334 Removed the reference count mechanism for internal namespace nodes, since
7335 it
7336 was deemed unnecessary. This reduces the size of each namespace node by
7337 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
7338 case,
7339 and 32 bytes for the 64-bit case.
7340
7341 Optimized several internal data structures to reduce object size on 64-
7342 bit
7343 platforms by packing data within the 64-bit alignment. This includes the
7344 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
7345 instances corresponding to the namespace objects.
7346
7347 Added two new strings for the predefined _OSI method: "Windows 2001.1
7348 SP1"
7349 and "Windows 2006".
7350
7351 Split the allocation tracking mechanism out to a separate file, from
7352 utalloc.c to uttrack.c. This mechanism appears to be only useful for
7353 application-level code. Kernels may wish to not include uttrack.c in
7354 distributions.
7355
7356 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
7357 associated
7358 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
7359 macros.)
7360
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
7367 trace mechanism and has a much larger code and data size. Note that these
7368 values will vary depending on the efficiency of the compiler and the
7369 compiler options used during generation.
7370
7371 Previous Release:
7372 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7373 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
7374 Current Release:
7375 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
7376 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
7377
7378
7379 2) iASL Compiler/Disassembler and Tools:
7380
7381 Implemented an ANSI C version of the acpixtract utility. This version
7382 will
7383 automatically extract the DSDT and all SSDTs from the input acpidump text
7384 file and dump the binary output to separate files. It can also display a
7385 summary of the input file including the headers for each table found and
7386 will extract any single ACPI table, with any signature. (See
7387 source/tools/acpixtract)
7388
7389 ----------------------------------------
7390 10 March 2006. Summary of changes for version 20060310:
7391
7392 1) ACPI CA Core Subsystem:
7393
7394 Tagged all external interfaces to the subsystem with the new
7395 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
7396 assist
7397 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
7398 macro. The default definition is NULL.
7399
7400 Added the ACPI_THREAD_ID type for the return value from
7401 AcpiOsGetThreadId.
7402 This allows the host to define this as necessary to simplify kernel
7403 integration. The default definition is ACPI_NATIVE_UINT.
7404
7405 Fixed two interpreter problems related to error processing, the deletion
7406 of
7407 objects, and placing invalid pointers onto the internal operator result
7408 stack. BZ 6028, 6151 (Valery Podrezov)
7409
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
7414 large namespaces (especially 64-bit.) Increased the value from 0x400 to
7415 0x800.
7416
7417 Due to universal disagreement as to the meaning of the 'c' in the
7418 calloc()
7419 function, the ACPI_MEM_CALLOCATE macro has been renamed to
7420 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
7421 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
7422 ACPI_FREE.
7423
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
7430 trace mechanism and has a much larger code and data size. Note that these
7431 values will vary depending on the efficiency of the compiler and the
7432 compiler options used during generation.
7433
7434 Previous Release:
7435 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
7436 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
7437 Current Release:
7438 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7439 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
7440
7441
7442 2) iASL Compiler/Disassembler:
7443
7444 Disassembler: implemented support for symbolic resource descriptor
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
7450 translated to the appropriate resource tag and pathname. The addition of
7451 this support brings the disassembled code very close to the original ASL
7452 source code and helps eliminate run-time errors when the disassembled
7453 code
7454 is modified (and recompiled) in such a way as to invalidate the original
7455 fixed offsets.
7456
7457 Implemented support for a Descriptor Name as the last parameter to the
7458 ASL
7459 Register() macro. This parameter was inadvertently left out of the ACPI
7460 specification, and will be added for ACPI 3.0b.
7461
7462 Fixed a problem where the use of the "_OSI" string (versus the full path
7463 "\_OSI") caused an internal compiler error. ("No back ptr to op")
7464
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".)
7469 The correct message is now displayed.
7470
7471 ----------------------------------------
7472 17 February 2006. Summary of changes for version 20060217:
7473
7474 1) ACPI CA Core Subsystem:
7475
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.
7482 This should fix IndexField problems seen on some machines where the Data
7483 register is not exactly one byte wide. The ACPI specification will be
7484 clarified on this point.
7485
7486 Fixed a problem where several resource descriptor types could overrun the
7487 internal descriptor buffer due to size miscalculation: VendorShort,
7488 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
7489 affect all platforms.
7490
7491 Fixed a problem where individual resource descriptors were misaligned
7492 within
7493 the internal buffer, causing alignment faults on IA64 platforms.
7494
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
7501 trace mechanism and has a much larger code and data size. Note that these
7502 values will vary depending on the efficiency of the compiler and the
7503 compiler options used during generation.
7504
7505 Previous Release:
7506 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7507 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
7508 Current Release:
7509 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
7510 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
7511
7512
7513 2) iASL Compiler/Disassembler:
7514
7515 Implemented support for new reserved names: _WDG and _WED are Microsoft
7516 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
7517 defined method (Throttling Depth Limit.)
7518
7519 Fixed a problem where a zero-length VendorShort or VendorLong resource
7520 descriptor was incorrectly emitted as a descriptor of length one.
7521
7522 ----------------------------------------
7523 10 February 2006. Summary of changes for version 20060210:
7524
7525 1) ACPI CA Core Subsystem:
7526
7527 Removed a couple of extraneous ACPI_ERROR messages that appeared during
7528 normal execution. These became apparent after the conversion from
7529 ACPI_DEBUG_PRINT.
7530
7531 Fixed a problem where the CreateField operator could hang if the BitIndex
7532 or
7533 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
7534
7535 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
7536 failed with an exception. This also fixes a couple of related RefOf and
7537 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
7538
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
7543 5480)
7544
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.
7549 (Valery Podrezov, BZ 5427)
7550
7551 Eliminated a chunk of duplicate code in the object resolution code.
7552 (Valery
7553 Podrezov, BZ 5336)
7554
7555 Fixed several warnings during the 64-bit code generation.
7556
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
7561 readability of the Linux code.
7562
7563 Code and Data Size: The current and previous library sizes for the core
7564 subsystem are shown below. These are the code and data sizes for 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
7569 code includes the debug output trace mechanism and has a much larger code
7570 and data size. Note that these values will vary depending on the
7571 efficiency
7572 of the compiler and the compiler options used during generation.
7573
7574 Previous Release:
7575 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
7576 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
7577 Current Release:
7578 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7579 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
7580
7581
7582 2) iASL Compiler/Disassembler:
7583
7584 Fixed a problem with the disassembly of a BankField operator with a
7585 complex
7586 expression for the BankValue parameter.
7587
7588 ----------------------------------------
7589 27 January 2006. Summary of changes for version 20060127:
7590
7591 1) ACPI CA Core Subsystem:
7592
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
7597 is in addition to the previously implemented unresolved reference support
7598 within the AML parser. If the interpreter slack mode is enabled, these
7599 unresolved references will be passed through to the caller as a NULL
7600 package
7601 entry.
7602
7603 Implemented and deployed new macros and functions for error and warning
7604 messages across the subsystem. These macros are simpler and generate less
7605 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
7606 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
7607 macros remain defined to allow ACPI drivers time to migrate to the new
7608 macros.
7609
7610 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
7611 the
7612 Acquire/Release Lock OSL interfaces.
7613
7614 Fixed a problem where Alias ASL operators are sometimes not correctly
7615 resolved, in both the interpreter and the iASL compiler.
7616
7617 Fixed several problems with the implementation of the
7618 ConcatenateResTemplate
7619 ASL operator. As per the ACPI specification, zero length buffers are now
7620 treated as a single EndTag. One-length buffers always cause a fatal
7621 exception. Non-zero length buffers that do not end with a full 2-byte
7622 EndTag
7623 cause a fatal exception.
7624
7625 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
7626 interface. (With assistance from Thomas Renninger)
7627
7628 Code and Data Size: The current and previous library sizes for the core
7629 subsystem are shown below. These are the code and data sizes for 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
7634 code includes the debug output trace mechanism and has a much larger code
7635 and data size. Note that these values will vary depending on the
7636 efficiency
7637 of the compiler and the compiler options used during generation.
7638
7639 Previous Release:
7640 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
7641 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
7642 Current Release:
7643 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
7644 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
7645
7646
7647 2) iASL Compiler/Disassembler:
7648
7649 Fixed an internal error that was generated for any forward references to
7650 ASL
7651 Alias objects.
7652
7653 ----------------------------------------
7654 13 January 2006. Summary of changes for version 20060113:
7655
7656 1) ACPI CA Core Subsystem:
7657
7658 Added 2006 copyright to all module headers and signons. This affects
7659 virtually every file in the ACPICA core subsystem, iASL compiler, and the
7660 utilities.
7661
7662 Enhanced the ACPICA error reporting in order to simplify user migration
7663 to
7664 the non-debug version of ACPICA. Replaced all instances of the
7665 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
7666 debug
7667 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
7668 respectively. This preserves all error and warning messages in the non-
7669 debug
7670 version of the ACPICA code (this has been referred to as the "debug lite"
7671 option.) Over 200 cases were converted to create a total of over 380
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),
7676 but all error/warning reporting may be disabled if desired (and code
7677 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
7678 configuration option. The size of the debug version of ACPICA remains
7679 about
7680 the same.
7681
7682 Fixed a memory leak within the AML Debugger "Set" command. One object was
7683 not properly deleted for every successful invocation of the command.
7684
7685 Code and Data Size: The current and previous library sizes for the core
7686 subsystem are shown below. These are the code and data sizes for 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
7691 code includes the debug output trace mechanism and has a much larger code
7692 and data size. Note that these values will vary depending on the
7693 efficiency
7694 of the compiler and the compiler options used during generation.
7695
7696 Previous Release:
7697 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
7698 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
7699 Current Release:
7700 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
7701 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
7702
7703
7704 2) iASL Compiler/Disassembler:
7705
7706 The compiler now officially supports the ACPI 3.0a specification that was
7707 released on December 30, 2005. (Specification is available at
7708 www.acpi.info)
7709
7710 ----------------------------------------
7711 16 December 2005. Summary of changes for version 20051216:
7712
7713 1) ACPI CA Core Subsystem:
7714
7715 Implemented optional support to allow unresolved names within ASL Package
7716 objects. A null object is inserted in the package when a named reference
7717 cannot be located in the current namespace. Enabled via the interpreter
7718 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
7719 machines
7720 that contain such code.
7721
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
7730 it is a waste of time to run the _STA method if the _INI does not exist.
7731 (Prototype and assistance from Dong Wei)
7732
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
7737 used as before.
7738
7739 Fixed some possible memory leaks found within the execution path of the
7740 Break, Continue, If, and CreateField operators. (Valery Podrezov)
7741
7742 Fixed a problem introduced in the 20051202 release where an exception is
7743 generated during method execution if a control method attempts to declare
7744 another method.
7745
7746 Moved resource descriptor string constants that are used by both the AML
7747 disassembler and AML debugger to the common utilities directory so that
7748 these components are independent.
7749
7750 Implemented support in the AcpiExec utility (-e switch) to globally
7751 ignore
7752 exceptions during control method execution (method is not aborted.)
7753
7754 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
7755 generation.
7756
7757 Code and Data Size: The current and previous library sizes for the core
7758 subsystem are shown below. These are the code and data sizes for 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
7763 code includes the debug output trace mechanism and has a much larger code
7764 and data size. Note that these values will vary depending on the
7765 efficiency
7766 of the compiler and the compiler options used during generation.
7767
7768 Previous Release:
7769 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7770 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
7771 Current Release:
7772 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
7773 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
7774
7775
7776 2) iASL Compiler/Disassembler:
7777
7778 Fixed a problem where a CPU stack overflow fault could occur if a
7779 recursive
7780 method call was made from within a Return statement.
7781
7782 ----------------------------------------
7783 02 December 2005. Summary of changes for version 20051202:
7784
7785 1) ACPI CA Core Subsystem:
7786
7787 Modified the parsing of control methods to no longer create namespace
7788 objects during the first pass of the parse. Objects are now created only
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
7793 should eliminate ALREADY_EXISTS exceptions seen on some machines where
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
7798 more than once.
7799
7800 Increased the number of available Owner Ids for namespace object tracking
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).
7805
7806 Fixed a problem with the AcpiExec utility where a fault could occur when
7807 the
7808 -b switch (batch mode) is used.
7809
7810 Enhanced the namespace dump routine to output the owner ID for each
7811 namespace object.
7812
7813 Code and Data Size: The current and previous library sizes for the core
7814 subsystem are shown below. These are the code and data sizes for 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
7819 code includes the debug output trace mechanism and has a much larger code
7820 and data size. Note that these values will vary depending on the
7821 efficiency
7822 of the compiler and the compiler options used during generation.
7823
7824 Previous Release:
7825 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7826 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7827 Current Release:
7828 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7829 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
7830
7831
7832 2) iASL Compiler/Disassembler:
7833
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
7838 and this error is now detected and flagged during the analysis phase.
7839
7840 Disassembler: The disassembly now includes the contents of the original
7841 table header within a comment at the start of the file. This includes the
7842 name and version of the original ASL compiler.
7843
7844 ----------------------------------------
7845 17 November 2005. Summary of changes for version 20051117:
7846
7847 1) ACPI CA Core Subsystem:
7848
7849 Fixed a problem in the AML parser where the method thread count could be
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.
7854 This also fixed a related regression with the mechanism that detects and
7855 corrects methods that cannot properly handle reentrancy (related to the
7856 deployment of the new OwnerId mechanism.)
7857
7858 Eliminated the pre-parsing of control methods (to detect errors) during
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
7863 load should not be aborted if there are problems with any single control
7864 method, thus rendering this feature rather pointless.
7865
7866 Fixed a problem with the new table-driven resource manager where an
7867 internal
7868 buffer overflow could occur for small resource templates.
7869
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.
7876
7877 Removed the length limit (200) on string objects as per the upcoming ACPI
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
7882 of the ASL Concatentate operator, 3) the String object result of the ASL
7883 ToString operator.
7884
7885 Fixed a problem in the Windows OS interface layer (OSL) where a
7886 WAIT_FOREVER
7887 on a semaphore object would incorrectly timeout. This allows the
7888 multithreading features of the AcpiExec utility to work properly under
7889 Windows.
7890
7891 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
7892 the recently added file named "utresrc.c".
7893
7894 Code and Data Size: The current and previous library sizes for the core
7895 subsystem are shown below. These are the code and data sizes for 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
7900 code includes the debug output trace mechanism and has a much larger code
7901 and data size. Note that these values will vary depending on the
7902 efficiency
7903 of the compiler and the compiler options used during generation.
7904
7905 Previous Release:
7906 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
7907 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7908 Current Release:
7909 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7910 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7911
7912
7913 2) iASL Compiler/Disassembler:
7914
7915 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
7916 specification. For the iASL compiler, this means that string literals
7917 within
7918 the source ASL can be of any length.
7919
7920 Enhanced the listing output to dump the AML code for resource descriptors
7921 immediately after the ASL code for each descriptor, instead of in a block
7922 at
7923 the end of the entire resource template.
7924
7925 Enhanced the compiler debug output to dump the entire original parse tree
7926 constructed during the parse phase, before any transforms are applied to
7927 the
7928 tree. The transformed tree is dumped also.
7929
7930 ----------------------------------------
7931 02 November 2005. Summary of changes for version 20051102:
7932
7933 1) ACPI CA Core Subsystem:
7934
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
7941 fully initialized and the SCI handler is installed. This allows the _PRW
7942 methods to access fields protected by the Global Lock. This will fix
7943 systems
7944 where a NO_GLOBAL_LOCK exception has been seen during initialization.
7945
7946 Converted the ACPI internal object disassemble and display code within
7947 the
7948 AML debugger to fully table-driven operation, reducing code size and
7949 increasing maintainability.
7950
7951 Fixed a regression with the ConcatenateResTemplate() ASL operator
7952 introduced
7953 in the 20051021 release.
7954
7955 Implemented support for "local" internal ACPI object types within the
7956 debugger "Object" command and the AcpiWalkNamespace external interfaces.
7957 These local types include RegionFields, BankFields, IndexFields, Alias,
7958 and
7959 reference objects.
7960
7961 Moved common AML resource handling code into a new file, "utresrc.c".
7962 This
7963 code is shared by both the Resource Manager and the AML Debugger.
7964
7965 Code and Data Size: The current and previous library sizes for the core
7966 subsystem are shown below. These are the code and data sizes for 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
7971 code includes the debug output trace mechanism and has a much larger code
7972 and data size. Note that these values will vary depending on the
7973 efficiency
7974 of the compiler and the compiler options used during generation.
7975
7976 Previous Release:
7977 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
7978 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
7979 Current Release:
7980 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
7981 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7982
7983
7984 2) iASL Compiler/Disassembler:
7985
7986 Fixed a problem with very large initializer lists (more than 4000
7987 elements)
7988 for both Buffer and Package objects where the parse stack could overflow.
7989
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
7994 longer optional, detecting invalid characters within a source file
7995 immediately rather than during the parse phase or later.
7996
7997 Enhanced the ASL grammar definition to force early reductions on all
7998 list-
7999 style grammar elements so that the overall parse stack usage is greatly
8000 reduced. This should improve performance and reduce the possibility of
8001 parse
8002 stack overflow.
8003
8004 Eliminated all reduce/reduce conflicts in the iASL parser generation.
8005 Also,
8006 with the addition of a %expected statement, the compiler generates from
8007 source with no warnings.
8008
8009 Fixed a possible segment fault in the disassembler if the input filename
8010 does not contain a "dot" extension (Thomas Renninger).
8011
8012 ----------------------------------------
8013 21 October 2005. Summary of changes for version 20051021:
8014
8015 1) ACPI CA Core Subsystem:
8016
8017 Implemented support for the EM64T and other x86-64 processors. This
8018 essentially entails recognizing that these processors support non-aligned
8019 memory transfers. Previously, all 64-bit processors were assumed to lack
8020 hardware support for non-aligned transfers.
8021
8022 Completed conversion of the Resource Manager to nearly full table-driven
8023 operation. Specifically, the resource conversion code (convert AML to
8024 internal format and the reverse) and the debug code to dump internal
8025 resource descriptors are fully table-driven, reducing code and data size
8026 and
8027 improving maintainability.
8028
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
8033 Alexey Starikovskiy)
8034
8035 Implemented support within the resource conversion code for the Type-
8036 Specific byte within the various ACPI 3.0 *WordSpace macros.
8037
8038 Fixed some issues within the resource conversion code for the type-
8039 specific
8040 flags for both Memory and I/O address resource descriptors. For Memory,
8041 implemented support for the MTP and TTP flags. For I/O, split the TRS and
8042 TTP flags into two separate fields.
8043
8044 Code and Data Size: The current and previous library sizes for the core
8045 subsystem are shown below. These are the code and data sizes for 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
8050 code includes the debug output trace mechanism and has a much larger code
8051 and data size. Note that these values will vary depending on the
8052 efficiency
8053 of the compiler and the compiler options used during generation.
8054
8055 Previous Release:
8056 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
8057 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
8058 Current Release:
8059 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
8060 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
8061
8062
8063
8064 2) iASL Compiler/Disassembler:
8065
8066 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
8067 the
8068 corresponding ResourceSource string was not also present in a resource
8069 descriptor declaration. This restriction caused problems with existing
8070 AML/ASL code that includes the Index byte without the string. When such
8071 AML
8072 was disassembled, it could not be compiled without modification. Further,
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
8077 buffer.
8078
8079 Removed a recent feature of the disassembler to ignore a lone
8080 ResourceIndex
8081 byte. This byte is now emitted if present so that the exact AML can be
8082 reproduced when the disassembled code is recompiled.
8083
8084 Improved comments and text alignment for the resource descriptor code
8085 emitted by the disassembler.
8086
8087 Implemented disassembler support for the ACPI 3.0 AccessSize field within
8088 a
8089 Register() resource descriptor.
8090
8091 ----------------------------------------
8092 30 September 2005. Summary of changes for version 20050930:
8093
8094 1) ACPI CA Core Subsystem:
8095
8096 Completed a major overhaul of the Resource Manager code - specifically,
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
8101 use has been decreased by optimizing function parameters and local
8102 variables, and naming conventions across the manager have been
8103 standardized
8104 for clarity and ease of maintenance (this includes function, parameter,
8105 variable, and struct/typedef names.) The update may force changes in some
8106 driver code, depending on how resources are handled by the host OS.
8107
8108 All Resource Manager dispatch and information tables have been moved to a
8109 single location for clarity and ease of maintenance. One new file was
8110 created, named "rsinfo.c".
8111
8112 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
8113 guarantee that the argument is not evaluated twice, making them less
8114 prone
8115 to macro side-effects. However, since there exists the possibility of
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.
8120 Note that some invocations of the return_VALUE macro may now cause size
8121 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
8122 to
8123 eliminate these. (From Randy Dunlap)
8124
8125 Implemented a new mechanism to enable debug tracing for individual
8126 control
8127 methods. A new external interface, AcpiDebugTrace, is provided to enable
8128 this mechanism. The intent is to allow the host OS to easily enable and
8129 disable tracing for problematic control methods. This interface can be
8130 easily exposed to a user or debugger interface if desired. See the file
8131 psxface.c for details.
8132
8133 AcpiUtCallocate will now return a valid pointer if a length of zero is
8134 specified - a length of one is used and a warning is issued. This matches
8135 the behavior of AcpiUtAllocate.
8136
8137 Code and Data Size: The current and previous library sizes for the core
8138 subsystem are shown below. These are the code and data sizes for 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
8143 code includes the debug output trace mechanism and has a much larger code
8144 and data size. Note that these values will vary depending on the
8145 efficiency
8146 of the compiler and the compiler options used during generation.
8147
8148 Previous Release:
8149 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
8150 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
8151 Current Release:
8152 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
8153 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
8154
8155
8156 2) iASL Compiler/Disassembler:
8157
8158 A remark is issued if the effective compile-time length of a package or
8159 buffer is zero. Previously, this was a warning.
8160
8161 ----------------------------------------
8162 16 September 2005. Summary of changes for version 20050916:
8163
8164 1) ACPI CA Core Subsystem:
8165
8166 Fixed a problem within the Resource Manager where support for the Generic
8167 Register descriptor was not fully implemented. This descriptor is now
8168 fully
8169 recognized, parsed, disassembled, and displayed.
8170
8171 Completely restructured the Resource Manager code to utilize table-driven
8172 dispatch and lookup, eliminating many of the large switch() statements.
8173 This
8174 reduces overall subsystem code size and code complexity. Affects the
8175 resource parsing and construction, disassembly, and debug dump output.
8176
8177 Cleaned up and restructured the debug dump output for all resource
8178 descriptors. Improved readability of the output and reduced code size.
8179
8180 Fixed a problem where changes to internal data structures caused the
8181 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
8182
8183 Code and Data Size: The current and previous library sizes for the core
8184 subsystem are shown below. These are the code and data sizes for 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
8189 code includes the debug output trace mechanism and has a much larger code
8190 and data size. Note that these values will vary depending on the
8191 efficiency
8192 of the compiler and the compiler options used during generation.
8193
8194 Previous Release:
8195 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
8196 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
8197 Current Release:
8198 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
8199 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
8200
8201
8202 2) iASL Compiler/Disassembler:
8203
8204 Updated the disassembler to automatically insert an EndDependentFn()
8205 macro
8206 into the ASL stream if this macro is missing in the original AML code,
8207 simplifying compilation of the resulting ASL module.
8208
8209 Fixed a problem in the disassembler where a disassembled ResourceSource
8210 string (within a large resource descriptor) was not surrounded by quotes
8211 and
8212 not followed by a comma, causing errors when the resulting ASL module was
8213 compiled. Also, escape sequences within a ResourceSource string are now
8214 handled correctly (especially "\\")
8215
8216 ----------------------------------------
8217 02 September 2005. Summary of changes for version 20050902:
8218
8219 1) ACPI CA Core Subsystem:
8220
8221 Fixed a problem with the internal Owner ID allocation and deallocation
8222 mechanisms for control method execution and recursive method invocation.
8223 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
8224 messages seen on some systems. Recursive method invocation depth is
8225 currently limited to 255. (Alexey Starikovskiy)
8226
8227 Completely eliminated all vestiges of support for the "module-level
8228 executable code" until this support is fully implemented and debugged.
8229 This
8230 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
8231 some systems that invoke this support.
8232
8233 Fixed a problem within the resource manager code where the transaction
8234 flags
8235 for a 64-bit address descriptor were handled incorrectly in the type-
8236 specific flag byte.
8237
8238 Consolidated duplicate code within the address descriptor resource
8239 manager
8240 code, reducing overall subsystem code size.
8241
8242 Fixed a fault when using the AML debugger "disassemble" command to
8243 disassemble individual control methods.
8244
8245 Removed references to the "release_current" directory within the Unix
8246 release package.
8247
8248 Code and Data Size: The current and previous core subsystem library sizes
8249 are shown below. These are the code and data sizes for the acpica.lib
8250 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
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
8257 and the compiler options used during generation.
8258
8259 Previous Release:
8260 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
8261 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
8262 Current Release:
8263 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
8264 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
8265
8266
8267 2) iASL Compiler/Disassembler:
8268
8269 Implemented an error check for illegal duplicate values in the interrupt
8270 and
8271 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
8272 Interrupt().
8273
8274 Implemented error checking for the Irq() and IrqNoFlags() macros to
8275 detect
8276 too many values in the interrupt list (16 max) and invalid values in the
8277 list (range 0 - 15)
8278
8279 The maximum length string literal within an ASL file is now restricted to
8280 200 characters as per the ACPI specification.
8281
8282 Fixed a fault when using the -ln option (generate namespace listing).
8283
8284 Implemented an error check to determine if a DescriptorName within a
8285 resource descriptor has already been used within the current scope.
8286
8287 ----------------------------------------
8288 15 August 2005. Summary of changes for version 20050815:
8289
8290 1) ACPI CA Core Subsystem:
8291
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
8296 signatures and table lengths match. This will allow different tables with
8297 the same OEM Table ID and revision to be loaded - probably against the
8298 ACPI
8299 specification, but discovered in the field nonetheless.
8300
8301 Added the changes.txt logfile to each of the zipped release packages.
8302
8303 Code and Data Size: Current and previous core subsystem library sizes are
8304 shown below. These are the code and data sizes for the acpica.lib
8305 produced
8306 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8307 any ACPI driver or OSPM code. The debug version of the code includes the
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
8312 the compiler options used during generation.
8313
8314 Previous Release:
8315 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
8316 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
8317 Current Release:
8318 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
8319 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
8320
8321
8322 2) iASL Compiler/Disassembler:
8323
8324 Fixed a problem where incorrect AML code could be generated for Package
8325 objects if optimization is disabled (via the -oa switch).
8326
8327 Fixed a problem with where incorrect AML code is generated for variable-
8328 length packages when the package length is not specified and the number
8329 of
8330 initializer values is greater than 255.
8331
8332
8333 ----------------------------------------
8334 29 July 2005. Summary of changes for version 20050729:
8335
8336 1) ACPI CA Core Subsystem:
8337
8338 Implemented support to ignore an attempt to install/load a particular
8339 ACPI
8340 table more than once. Apparently there exists BIOS code that repeatedly
8341 attempts to load the same SSDT upon certain events. With assistance from
8342 Venkatesh Pallipadi.
8343
8344 Restructured the main interface to the AML parser in order to correctly
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
8349 machines. With assistance from Alexey Starikovskiy.
8350
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
8355 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
8356 compilation. When the issues are fully resolved, the code will be enabled
8357 by
8358 default again.
8359
8360 Modified the internal functions for debug print support to define the
8361 FunctionName parameter as a (const char *) for compatibility with
8362 compiler
8363 built-in macros such as __FUNCTION__, etc.
8364
8365 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
8366
8367 Implemented support to display an object count summary for the AML
8368 Debugger
8369 commands Object and Methods.
8370
8371 Code and Data Size: Current and previous core subsystem library sizes are
8372 shown below. These are the code and data sizes for the acpica.lib
8373 produced
8374 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8375 any ACPI driver or OSPM code. The debug version of the code includes the
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
8380 the compiler options used during generation.
8381
8382 Previous Release:
8383 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
8384 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
8385 Current Release:
8386 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
8387 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
8388
8389
8390 2) iASL Compiler/Disassembler:
8391
8392 Fixed a regression that appeared in the 20050708 version of the compiler
8393 where an error message was inadvertently emitted for invocations of the
8394 _OSI
8395 reserved control method.
8396
8397 ----------------------------------------
8398 08 July 2005. Summary of changes for version 20050708:
8399
8400 1) ACPI CA Core Subsystem:
8401
8402 The use of the CPU stack in the debug version of the subsystem has been
8403 considerably reduced. Previously, a debug structure was declared in every
8404 function that used the debug macros. This structure has been removed in
8405 favor of declaring the individual elements as parameters to the debug
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
8412 Len Brown.
8413
8414 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
8415 headers to define a macro that will return the current function name at
8416 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
8417 by
8418 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
8419 compiler-dependent header, the function name is saved on the CPU stack
8420 (one
8421 pointer per function.) This mechanism is used because apparently there
8422 exists no standard ANSI-C defined macro that that returns the function
8423 name.
8424
8425 Redesigned and reimplemented the "Owner ID" mechanism used to track
8426 namespace objects created/deleted by ACPI tables and control method
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
8431 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
8432 Starikovskiy).
8433
8434 Removed the UINT32_BIT and UINT16_BIT types that were used for the
8435 bitfield
8436 flag definitions within the headers for the predefined ACPI tables. These
8437 have been replaced by UINT8_BIT in order to increase the code portability
8438 of
8439 the subsystem. If the use of UINT8 remains a problem, we may be forced to
8440 eliminate bitfields entirely because of a lack of portability.
8441
8442 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
8443 This
8444 is a frequently used function and this improvement increases the
8445 performance
8446 of the entire subsystem (Alexey Starikovskiy).
8447
8448 Fixed several possible memory leaks and the inverse - premature object
8449 deletion (Alexey Starikovskiy).
8450
8451 Code and Data Size: Current and previous core subsystem library sizes are
8452 shown below. These are the code and data sizes for the acpica.lib
8453 produced
8454 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8455 any ACPI driver or OSPM code. The debug version of the code includes the
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
8460 the compiler options used during generation.
8461
8462 Previous Release:
8463 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
8464 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
8465 Current Release:
8466 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
8467 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
8468
8469 ----------------------------------------
8470 24 June 2005. Summary of changes for version 20050624:
8471
8472 1) ACPI CA Core Subsystem:
8473
8474 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
8475 the host-defined cache object. This allows the OSL implementation to
8476 define
8477 and type this object in any manner desired, simplifying the OSL
8478 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
8479 Linux, and should be defined in the OS-specific header file for other
8480 operating systems as required.
8481
8482 Changed the interface to AcpiOsAcquireObject to directly return the
8483 requested object as the function return (instead of ACPI_STATUS.) This
8484 change was made for performance reasons, since this is the purpose of the
8485 interface in the first place. AcpiOsAcquireObject is now similar to the
8486 AcpiOsAllocate interface.
8487
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,
8492 _HID, _UID, and _CID are displayed for these devices.
8493
8494 Modified the initialization sequence in AcpiInitializeSubsystem to call
8495 the
8496 OSL interface AcpiOslInitialize first, before any local initialization.
8497 This
8498 change was required because the global initialization now calls OSL
8499 interfaces.
8500
8501 Enhanced the Dump command to display the entire contents of Package
8502 objects
8503 (including all sub-objects and their values.)
8504
8505 Restructured the code base to split some files because of size and/or
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
8510 been updated.
8511 utilities/utcache.c /* Local cache interfaces */
8512 utilities/utmutex.c /* Local mutex support */
8513 utilities/utstate.c /* State object support */
8514 interpreter/parser/psloop.c /* Main AML parse loop */
8515
8516 Code and Data Size: Current and previous core subsystem library sizes are
8517 shown below. These are the code and data sizes for the acpica.lib
8518 produced
8519 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8520 any ACPI driver or OSPM code. The debug version of the code includes the
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
8525 the compiler options used during generation.
8526
8527 Previous Release:
8528 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
8529 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
8530 Current Release:
8531 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
8532 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
8533
8534
8535 2) iASL Compiler/Disassembler:
8536
8537 Fixed a regression introduced in version 20050513 where the use of a
8538 Package
8539 object within a Case() statement caused a compile time exception. The
8540 original behavior has been restored (a Match() operator is emitted.)
8541
8542 ----------------------------------------
8543 17 June 2005. Summary of changes for version 20050617:
8544
8545 1) ACPI CA Core Subsystem:
8546
8547 Moved the object cache operations into the OS interface layer (OSL) to
8548 allow
8549 the host OS to handle these operations if desired (for example, the Linux
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
8554 code in the ACPI CA core. The new OSL interfaces are shown below. See
8555 utalloc.c for an example implementation, and acpiosxf.h for the exact
8556 interface definitions. With assistance from Alexey Starikovskiy.
8557 AcpiOsCreateCache
8558 AcpiOsDeleteCache
8559 AcpiOsPurgeCache
8560 AcpiOsAcquireObject
8561 AcpiOsReleaseObject
8562
8563 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
8564 return
8565 and restore a flags parameter. This fits better with many OS lock models.
8566 Note: the current execution state (interrupt handler or not) is no longer
8567 passed to these interfaces. If necessary, the OSL must determine this
8568 state
8569 by itself, a simple and fast operation. With assistance from Alexey
8570 Starikovskiy.
8571
8572 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
8573 present if the revision of the RSDP was 2 or greater. According to the
8574 ACPI
8575 specification, the XSDT is optional in all cases, and the table manager
8576 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
8577 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
8578 contain
8579 only the RSDT.
8580
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
8585 returns a valid, null terminated string object instead of a string object
8586 with a null pointer.
8587
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
8592 object is now correctly overwritten. Previously, an error was returned.
8593
8594
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
8599 command.
8600
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
8605 and args could be set.)
8606
8607 Code and Data Size: Current and previous core subsystem library sizes are
8608 shown below. These are the code and data sizes for the acpica.lib
8609 produced
8610 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8611 any ACPI driver or OSPM code. The debug version of the code includes the
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
8616 the compiler options used during generation.
8617
8618 Previous Release:
8619 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
8620 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
8621 Current Release:
8622 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
8623 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
8624
8625
8626 2) iASL Compiler/Disassembler:
8627
8628 Fixed a regression in the disassembler where if/else/while constructs
8629 were
8630 output incorrectly. This problem was introduced in the previous release
8631 (20050526). This problem also affected the single-step disassembly in the
8632 debugger.
8633
8634 Fixed a problem where compiling the reserved _OSI method would randomly
8635 (but
8636 rarely) produce compile errors.
8637
8638 Enhanced the disassembler to emit compilable code in the face of
8639 incorrect
8640 AML resource descriptors. If the optional ResourceSourceIndex is present,
8641 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
8642 disassembly. Otherwise, the resulting code cannot be compiled without
8643 errors.
8644
8645 ----------------------------------------
8646 26 May 2005. Summary of changes for version 20050526:
8647
8648 1) ACPI CA Core Subsystem:
8649
8650 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
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.
8659 This eliminates the "Encountered executable code at module level" warning
8660 that was previously generated upon detection of such code.
8661
8662 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
8663 inadvertently be generated during the lookup of namespace objects in the
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
8668 objects.
8669
8670 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
8671 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
8672 allows the deadlock detection debug code to be compiled out in the normal
8673 case, improving mutex performance (and overall subsystem performance)
8674 considerably.
8675
8676 Implemented a handful of miscellaneous fixes for possible memory leaks on
8677 error conditions and error handling control paths. These fixes were
8678 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
8679
8680 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
8681 (tbxfroot.c)
8682 to prevent a fault in this error case.
8683
8684 Code and Data Size: Current and previous core subsystem library sizes are
8685 shown below. These are the code and data sizes for the acpica.lib
8686 produced
8687 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8688 any ACPI driver or OSPM code. The debug version of the code includes the
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
8693 the compiler options used during generation.
8694
8695 Previous Release:
8696 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8697 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8698 Current Release:
8699 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
8700 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
8701
8702
8703 2) iASL Compiler/Disassembler:
8704
8705 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
8706 the module level (not within a control method.) These operators will be
8707 executed once at the time the table is loaded. This type of code was
8708 legal
8709 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
8710 compiler in order to provide backwards compatibility with earlier BIOS
8711 ASL
8712 code.
8713
8714 The ACPI integer width (specified via the table revision ID or the -r
8715 override, 32 or 64 bits) is now used internally during compile-time
8716 constant
8717 folding to ensure that constants are truncated to 32 bits if necessary.
8718 Previously, the revision ID value was only emitted in the AML table
8719 header.
8720
8721 An error message is now generated for the Mutex and Method operators if
8722 the
8723 SyncLevel parameter is outside the legal range of 0 through 15.
8724
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.
8729 The actual underlying implementation of method argument typechecking is
8730 still under development, however.
8731
8732 ----------------------------------------
8733 13 May 2005. Summary of changes for version 20050513:
8734
8735 1) ACPI CA Core Subsystem:
8736
8737 Implemented support for PCI Express root bridges -- added support for
8738 device
8739 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
8740
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
8745 also affects the iASL compiler constant folding. (Note: as per below, the
8746 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
8747
8748 Fixed a problem where string and buffer objects with "static" pointers
8749 (pointers to initialization data within an ACPI table) were not handled
8750 consistently. The internal object copy operation now always copies the
8751 data
8752 to a newly allocated buffer, regardless of whether the source object is
8753 static or not.
8754
8755 Fixed a problem with the FromBCD operator where an implicit result
8756 conversion was improperly performed while storing the result to the
8757 target
8758 operand. Since this is an "explicit conversion" operator, the implicit
8759 conversion should never be performed on the output.
8760
8761 Fixed a problem with the CopyObject operator where a copy to an 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
8766 buffer.
8767
8768 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
8769 and
8770 structs for consistency.
8771
8772 Code and Data Size: Current and previous core subsystem library sizes are
8773 shown below. These are the code and data sizes for the acpica.lib
8774 produced
8775 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8776 any ACPI driver or OSPM code. The debug version of the code includes the
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
8781 the compiler options used during generation.
8782
8783 Previous Release:
8784 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8785 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8786 Current Release: (Same sizes)
8787 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8788 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8789
8790
8791 2) iASL Compiler/Disassembler:
8792
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
8797 is truncated to 32 bits.
8798
8799 Fixed a problem with large package objects: if the static length of the
8800 package is greater than 255, the "variable length package" opcode is
8801 emitted. Previously, this caused an error. This requires an update to the
8802 ACPI spec, since it currently (incorrectly) states that packages larger
8803 than
8804 255 elements are not allowed.
8805
8806 The disassembler now correctly handles variable length packages and
8807 packages
8808 larger than 255 elements.
8809
8810 ----------------------------------------
8811 08 April 2005. Summary of changes for version 20050408:
8812
8813 1) ACPI CA Core Subsystem:
8814
8815 Fixed three cases in the interpreter where an "index" argument to an ASL
8816 function was still (internally) 32 bits instead of the required 64 bits.
8817 This was the Index argument to the Index, Mid, and Match operators.
8818
8819 The "strupr" function is now permanently local (AcpiUtStrupr), since this
8820 is
8821 not a POSIX-defined function and not present in most kernel-level C
8822 libraries. All references to the C library strupr function have been
8823 removed
8824 from the headers.
8825
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.
8830
8831 Implemented an extract option (-e) for the AcpiBin utility (AML binary
8832 utility). This option allows the utility to extract individual ACPI
8833 tables
8834 from the output of AcpiDmp. It provides the same functionality of the
8835 acpixtract.pl perl script without the worry of setting the correct perl
8836 options. AcpiBin runs on Windows and has not yet been generated/validated
8837 in
8838 the Linux/Unix environment (but should be soon).
8839
8840 Updated and fixed the table dump option for AcpiBin (-d). This option
8841 converts a single ACPI table to a hex/ascii file, similar to the output
8842 of
8843 AcpiDmp.
8844
8845 Code and Data Size: Current and previous core subsystem library sizes are
8846 shown below. These are the code and data sizes for the acpica.lib
8847 produced
8848 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8849 any ACPI driver or OSPM code. The debug version of the code includes the
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
8854 the compiler options used during generation.
8855
8856 Previous Release:
8857 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
8858 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
8859 Current Release:
8860 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8861 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8862
8863
8864 2) iASL Compiler/Disassembler:
8865
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
8870 file size. This indicates some kind of file or table corruption.
8871
8872 ----------------------------------------
8873 29 March 2005. Summary of changes for version 20050329:
8874
8875 1) ACPI CA Core Subsystem:
8876
8877 An error is now generated if an attempt is made to create a Buffer Field
8878 of
8879 length zero (A CreateField with a length operand of zero.)
8880
8881 The interpreter now issues a warning whenever executable code at the
8882 module
8883 level is detected during ACPI table load. This will give some idea of the
8884 prevalence of this type of code.
8885
8886 Implemented support for references to named objects (other than control
8887 methods) within package objects.
8888
8889 Enhanced package object output for the debug object. Package objects are
8890 now
8891 completely dumped, showing all elements.
8892
8893 Enhanced miscellaneous object output for the debug object. Any object can
8894 now be written to the debug object (for example, a device object can be
8895 written, and the type of the object will be displayed.)
8896
8897 The "static" qualifier has been added to all local functions across both
8898 the
8899 core subsystem and the iASL compiler.
8900
8901 The number of "long" lines (> 80 chars) within the source has been
8902 significantly reduced, by about 1/3.
8903
8904 Cleaned up all header files to ensure that all CA/iASL functions are
8905 prototyped (even static functions) and the formatting is consistent.
8906
8907 Two new header files have been added, acopcode.h and acnames.h.
8908
8909 Removed several obsolete functions that were no longer used.
8910
8911 Code and Data Size: Current and previous core subsystem library sizes are
8912 shown below. These are the code and data sizes for the acpica.lib
8913 produced
8914 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8915 any ACPI driver or OSPM code. The debug version of the code includes the
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
8920 the compiler options used during generation.
8921
8922 Previous Release:
8923 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8924 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
8925 Current Release:
8926 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
8927 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
8928
8929
8930
8931 2) iASL Compiler/Disassembler:
8932
8933 Fixed a problem with the resource descriptor generation/support. For the
8934 ResourceSourceIndex and the ResourceSource fields, both must be present,
8935 or
8936 both must be not present - can't have one without the other.
8937
8938 The compiler now returns non-zero from the main procedure if any errors
8939 have
8940 occurred during the compilation.
8941
8942
8943 ----------------------------------------
8944 09 March 2005. Summary of changes for version 20050309:
8945
8946 1) ACPI CA Core Subsystem:
8947
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
8954 the source string is smaller than an existing target buffer. This change
8955 requires an update to the ACPI spec, and should eliminate the recent
8956 AE_AML_BUFFER_LIMIT issues.
8957
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
8964 next ASL operator is executed. Therefore, no matter how the method exits,
8965 there will always be a saved implicit return value. This feature is only
8966 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
8967 eliminate
8968 AE_AML_NO_RETURN_VALUE errors when enabled.
8969
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
8974 converted to Integers.
8975
8976 Changed the string-to-integer conversion behavior to match the new ACPI
8977 errata: "If no integer object exists, a new integer is created. The ASCII
8978 string is interpreted as a hexadecimal constant. Each string character is
8979 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
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
8984 non-hex character terminates the conversion and this is the code that was
8985 changed.
8986
8987 Fixed a problem where the ObjectType operator would fail (fault) when
8988 used
8989 on an Index of a Package which pointed to a null package element. The
8990 operator now properly returns zero (Uninitialized) in this case.
8991
8992 Fixed a problem where the While operator used excessive memory by not
8993 properly popping the result stack during execution. There was no memory
8994 leak
8995 after execution, however. (Code provided by Valery Podrezov.)
8996
8997 Fixed a problem where references to control methods within Package
8998 objects
8999 caused the method to be invoked, instead of producing a reference object
9000 pointing to the method.
9001
9002 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
9003 to
9004 improve performance and reduce code size. (Code provided by Alexey
9005 Starikovskiy.)
9006
9007 Code and Data Size: Current and previous core subsystem library sizes are
9008 shown below. These are the code and data sizes for the acpica.lib
9009 produced
9010 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9011 any ACPI driver or OSPM code. The debug version of the code includes the
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
9016 the compiler options used during generation.
9017
9018 Previous Release:
9019 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9020 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
9021 Current Release:
9022 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9023 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
9024
9025
9026 2) iASL Compiler/Disassembler:
9027
9028 Fixed a problem with the Return operator with no arguments. Since the AML
9029 grammar for the byte encoding requires an operand for the Return opcode,
9030 the
9031 compiler now emits a Return(Zero) for this case. An ACPI specification
9032 update has been written for this case.
9033
9034 For tables other than the DSDT, namepath optimization is automatically
9035 disabled. This is because SSDTs can be loaded anywhere in the namespace,
9036 the
9037 compiler has no knowledge of where, and thus cannot optimize namepaths.
9038
9039 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
9040 inadvertently omitted from the ACPI specification, and will require an
9041 update to the spec.
9042
9043 The source file scan for ASCII characters is now optional (-a). This
9044 change
9045 was made because some vendors place non-ascii characters within comments.
9046 However, the scan is simply a brute-force byte compare to ensure all
9047 characters in the file are in the range 0x00 to 0x7F.
9048
9049 Fixed a problem with the CondRefOf operator where the compiler was
9050 inappropriately checking for the existence of the target. Since the point
9051 of
9052 the operator is to check for the existence of the target at run-time, the
9053 compiler no longer checks for the target existence.
9054
9055 Fixed a problem where errors generated from the internal AML interpreter
9056 during constant folding were not handled properly, causing a fault.
9057
9058 Fixed a problem with overly aggressive range checking for the Stall
9059 operator. The valid range (max 255) is now only checked if the operand is
9060 of
9061 type Integer. All other operand types cannot be statically checked.
9062
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
9067 actual references, not method invocations.
9068
9069 Fixed and enhanced the "list namespace" option (-ln). This option was
9070 broken
9071 a number of releases ago.
9072
9073 Improved error handling for the Field, IndexField, and BankField
9074 operators.
9075 The compiler now cleanly reports and recovers from errors in the field
9076 component (FieldUnit) list.
9077
9078 Fixed a disassembler problem where the optional ResourceDescriptor fields
9079 TRS and TTP were not always handled correctly.
9080
9081 Disassembler - Comments in output now use "//" instead of "/*"
9082
9083 ----------------------------------------
9084 28 February 2005. Summary of changes for version 20050228:
9085
9086 1) ACPI CA Core Subsystem:
9087
9088 Fixed a problem where the result of an Index() operator (an object
9089 reference) must increment the reference count on the target object for
9090 the
9091 life of the object reference.
9092
9093 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
9094 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
9095 WordSpace
9096 resource descriptors.
9097
9098 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
9099 Space Descriptor" string, indicating interpreter support for the
9100 descriptors
9101 above.
9102
9103 Implemented header support for the new ACPI 3.0 FADT flag bits.
9104
9105 Implemented header support for the new ACPI 3.0 PCI Express bits for the
9106 PM1
9107 status/enable registers.
9108
9109 Updated header support for the MADT processor local Apic struct and MADT
9110 platform interrupt source struct for new ACPI 3.0 fields.
9111
9112 Implemented header support for the SRAT and SLIT ACPI tables.
9113
9114 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
9115 flag
9116 at runtime.
9117
9118 Code and Data Size: Current and previous core subsystem library sizes are
9119 shown below. These are the code and data sizes for the acpica.lib
9120 produced
9121 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9122 any ACPI driver or OSPM code. The debug version of the code includes the
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
9127 the compiler options used during generation.
9128
9129 Previous Release:
9130 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
9131 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
9132 Current Release:
9133 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9134 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
9135
9136
9137 2) iASL Compiler/Disassembler:
9138
9139 Fixed a problem with the internal 64-bit String-to-integer conversion
9140 with
9141 strings less than two characters long.
9142
9143 Fixed a problem with constant folding where the result of the Index()
9144 operator can not be considered a constant. This means that Index() cannot
9145 be
9146 a type3 opcode and this will require an update to the ACPI specification.
9147
9148 Disassembler: Implemented support for the TTP, MTP, and TRS resource
9149 descriptor fields. These fields were inadvertently ignored and not output
9150 in
9151 the disassembly of the resource descriptor.
9152
9153
9154 ----------------------------------------
9155 11 February 2005. Summary of changes for version 20050211:
9156
9157 1) ACPI CA Core Subsystem:
9158
9159 Implemented ACPI 3.0 support for implicit conversion within the Match()
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
9164 of the MatchObject. This change aligns the behavior of Match() with the
9165 behavior of the other logical operators (LLess(), etc.) It also requires
9166 an
9167 errata change to the ACPI specification as this support was intended for
9168 ACPI 3.0, but was inadvertently omitted.
9169
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
9176 not cause buffer truncation, only zero extension (both as per the ACPI
9177 spec.) The problem was introduced when code was added to truncate the
9178 buffer, but this should not be performed in all cases, only the string
9179 case.
9180
9181 Fixed a problem with the Buffer and Package operators where the
9182 interpreter
9183 would get confused if two such operators were used as operands to an ASL
9184 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
9185 stack was not being popped after the execution of these operators,
9186 resulting
9187 in an AE_NO_RETURN_VALUE exception.
9188
9189 Fixed a problem with constructs of the form Store(Index(...),...). The
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
9194 Store() was modified to restrict the object types that can be used as the
9195 source operand (to match the ACPI specification.)
9196
9197 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
9198
9199 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
9200
9201 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
9202
9203 Code and Data Size: Current and previous core subsystem library sizes are
9204 shown below. These are the code and data sizes for the acpica.lib
9205 produced
9206 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9207 any ACPI driver or OSPM code. The debug version of the code includes the
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
9212 the compiler options used during generation.
9213
9214 Previous Release:
9215 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
9216 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
9217 Current Release:
9218 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
9219 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
9220
9221
9222 2) iASL Compiler/Disassembler:
9223
9224 Fixed a code generation problem in the constant folding optimization code
9225 where incorrect code was generated if a constant was reduced to a buffer
9226 object (i.e., a reduced type 5 opcode.)
9227
9228 Fixed a typechecking problem for the ToBuffer operator. Caused by an
9229 incorrect return type in the internal opcode information table.
9230
9231 ----------------------------------------
9232 25 January 2005. Summary of changes for version 20050125:
9233
9234 1) ACPI CA Core Subsystem:
9235
9236 Fixed a recently introduced problem with the Global Lock where the
9237 underlying semaphore was not created. This problem was introduced in
9238 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
9239 Acquire() operation on _GL.
9240
9241 The local object cache is now optional, and is disabled by default. Both
9242 AcpiExec and the iASL compiler enable the cache because they run in user
9243 mode and this enhances their performance. #define
9244 ACPI_ENABLE_OBJECT_CACHE
9245 to enable the local cache.
9246
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
9253 in this case and the implicitly returned object is deleted.
9254 AcpiUtEvaluateObject is only occasionally used, and only to execute
9255 reserved
9256 methods such as _STA and _INI where the return type is known up front.
9257
9258 Fixed a few issues with the internal convert-to-integer code. It now
9259 returns
9260 an error if an attempt is made to convert a null string, a string of only
9261 blanks/tabs, or a zero-length buffer. This affects both implicit
9262 conversion
9263 and explicit conversion via the ToInteger() operator.
9264
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
9271 again.
9272
9273 The AcpiExec source and makefile are included in the Unix/Linux package
9274 for
9275 the first time.
9276
9277 Code and Data Size: Current and previous core subsystem library sizes are
9278 shown below. These are the code and data sizes for the acpica.lib
9279 produced
9280 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9281 any ACPI driver or OSPM code. The debug version of the code includes the
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
9286 the compiler options used during generation.
9287
9288 Previous Release:
9289 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
9290 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
9291 Current Release:
9292 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
9293 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
9294
9295 2) iASL Compiler/Disassembler:
9296
9297 Switch/Case support: A warning is now issued if the type of the Switch
9298 value
9299 cannot be determined at compile time. For example, Switch(Arg0) will
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
9304 warning.
9305
9306 Switch/Case support: Implemented support for buffer and string objects as
9307 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
9308 buffers and strings.
9309
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
9314 the second operand, and this allows the case value to be implicitly
9315 converted to the type of the switch value, not the other way around.
9316
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
9323 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
9324
9325 ----------------------------------------
9326 14 January 2005. Summary of changes for version 20050114:
9327
9328 Added 2005 copyright to all module headers. This affects every module in
9329 the core subsystem, iASL compiler, and the utilities.
9330
9331 1) ACPI CA Core Subsystem:
9332
9333 Fixed an issue with the String-to-Buffer conversion code where the string
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
9338 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
9339 introduced in the previous version when the code was updated to correctly
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
9344 included in the converted buffer. This also affects the ToBuffer() ASL
9345 operator.
9346
9347 Fixed a problem with the Mid() ASL/AML operator where it did not work
9348 correctly on Buffer objects. Newly created sub-buffers were not being
9349 marked
9350 as initialized.
9351
9352
9353 Fixed a problem in AcpiTbFindTable where incorrect string compares were
9354 performed on the OemId and OemTableId table header fields. These fields
9355 are
9356 not null terminated, so strncmp is now used instead of strcmp.
9357
9358 Implemented a restriction on the Store() ASL/AML operator to align the
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,
9363 Buffers, Strings, Packages, Object References, and DDB Handles. If
9364 necessary, the original behavior can be restored by enabling the
9365 EnableInterpreterSlack flag.
9366
9367 Enhanced the optional "implicit return" support to allow an implicit
9368 return
9369 value from methods that are invoked externally via the AcpiEvaluateObject
9370 interface. This enables implicit returns from the _STA and _INI methods,
9371 for example.
9372
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
9377 the supported ACPI version (This is the function of the _REV method).
9378
9379 Updated the _REV predefined method to return the currently supported
9380 version
9381 of ACPI, now 3.
9382
9383 Implemented batch mode option for the AcpiExec utility (-b).
9384
9385 Code and Data Size: Current and previous core subsystem library sizes are
9386 shown below. These are the code and data sizes for the acpica.lib
9387 produced
9388 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9389 any ACPI driver or OSPM code. The debug version of the code includes the
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
9394 the compiler options used during generation.
9395
9396 Previous Release:
9397 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9398 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
9399 Current Release:
9400 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
9401 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
9402
9403 ----------------------------------------
9404 10 December 2004. Summary of changes for version 20041210:
9405
9406 ACPI 3.0 support is nearing completion in both the iASL compiler and the
9407 ACPI CA core subsystem.
9408
9409 1) ACPI CA Core Subsystem:
9410
9411 Fixed a problem in the ToDecimalString operator where the resulting
9412 string
9413 length was incorrectly calculated. The length is now calculated exactly,
9414 eliminating incorrect AE_STRING_LIMIT exceptions.
9415
9416 Fixed a problem in the ToHexString operator to allow a maximum 200
9417 character
9418 string to be produced.
9419
9420 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
9421 copy
9422 routine where the length of the resulting buffer was not truncated to the
9423 new size (if the target buffer already existed).
9424
9425 Code and Data Size: Current and previous core subsystem library sizes are
9426 shown below. These are the code and data sizes for the acpica.lib
9427 produced
9428 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9429 any ACPI driver or OSPM code. The debug version of the code includes the
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
9434 the compiler options used during generation.
9435
9436 Previous Release:
9437 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9438 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
9439 Current Release:
9440 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9441 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
9442
9443
9444 2) iASL Compiler/Disassembler:
9445
9446 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
9447 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
9448 Includes support in the disassembler.
9449
9450 Implemented support for the new (ACPI 3.0) parameter to the Register
9451 macro,
9452 AccessSize.
9453
9454 Fixed a problem where the _HE resource name for the Interrupt macro was
9455 referencing bit 0 instead of bit 1.
9456
9457 Implemented check for maximum 255 interrupts in the Interrupt macro.
9458
9459 Fixed a problem with the predefined resource descriptor names where
9460 incorrect AML code was generated if the offset within the resource buffer
9461 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
9462 but did not update the surrounding package lengths.
9463
9464 Changes to the Dma macro: All channels within the channel list must be
9465 in
9466 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
9467 optional (default is BusMaster).
9468
9469 Implemented check for maximum 7 data bytes for the VendorShort macro.
9470
9471 The ReadWrite parameter is now optional for the Memory32 and similar
9472 macros.
9473
9474 ----------------------------------------
9475 03 December 2004. Summary of changes for version 20041203:
9476
9477 1) ACPI CA Core Subsystem:
9478
9479 The low-level field insertion/extraction code (exfldio) has been
9480 completely
9481 rewritten to eliminate unnecessary complexity, bugs, and boundary
9482 conditions.
9483
9484 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
9485 ToDecimalString
9486 operators where the input operand could be inadvertently deleted if no
9487 conversion was necessary (e.g., if the input to ToInteger was an Integer
9488 object.)
9489
9490 Fixed a problem with the ToDecimalString and ToHexString where an
9491 incorrect
9492 exception code was returned if the resulting string would be > 200 chars.
9493 AE_STRING_LIMIT is now returned.
9494
9495 Fixed a problem with the Concatenate operator where AE_OK was always
9496 returned, even if the operation failed.
9497
9498 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
9499 semaphores to be allocated.
9500
9501 Code and Data Size: Current and previous core subsystem library sizes are
9502 shown below. These are the code and data sizes for the acpica.lib
9503 produced
9504 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9505 any ACPI driver or OSPM code. The debug version of the code includes the
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
9510 the compiler options used during generation.
9511
9512 Previous Release:
9513 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9514 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9515 Current Release:
9516 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9517 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
9518
9519
9520 2) iASL Compiler/Disassembler:
9521
9522 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
9523 recently introduced in 20041119.
9524
9525 Fixed a problem with the ToUUID macro where the upper nybble of each
9526 buffer
9527 byte was inadvertently set to zero.
9528
9529 ----------------------------------------
9530 19 November 2004. Summary of changes for version 20041119:
9531
9532 1) ACPI CA Core Subsystem:
9533
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
9538 buffers and strings to integers.
9539
9540 Implemented support to store a value to an Index() on a String object.
9541 This
9542 is an ACPI 2.0 feature that had not yet been implemented.
9543
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
9548 conversion rules if an object was already present at the index. The new
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
9553 ACPI implementations behave in this manner. (This is the root of the
9554 AE_BAD_HEX_CONSTANT issue.)
9555
9556 Modified the RSDP memory scan mechanism to support the extended checksum
9557 for
9558 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
9559 RSDP signature is found with a valid checksum.
9560
9561 Code and Data Size: Current and previous core subsystem library sizes are
9562 shown below. These are the code and data sizes for the acpica.lib
9563 produced
9564 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9565 any ACPI driver or OSPM code. The debug version of the code includes the
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
9570 the compiler options used during generation.
9571
9572 Previous Release:
9573 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9574 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9575 Current Release:
9576 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9577 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9578
9579
9580 2) iASL Compiler/Disassembler:
9581
9582 Fixed a missing semicolon in the aslcompiler.y file.
9583
9584 ----------------------------------------
9585 05 November 2004. Summary of changes for version 20041105:
9586
9587 1) ACPI CA Core Subsystem:
9588
9589 Implemented support for FADT revision 2. This was an interim table
9590 (between
9591 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
9592
9593 Implemented optional support to allow uninitialized LocalX and ArgX
9594 variables in a control method. The variables are initialized to an
9595 Integer
9596 object with a value of zero. This support is enabled by setting the
9597 AcpiGbl_EnableInterpreterSlack flag to TRUE.
9598
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,
9603 depending on the parent table revision).
9604
9605 Fixed a problem in the implementation of the SizeOf and ObjectType
9606 operators
9607 where the operand was resolved to a value too early, causing incorrect
9608 return values for some objects.
9609
9610 Fixed some possible memory leaks during exceptional conditions.
9611
9612 Code and Data Size: Current and previous core subsystem library sizes are
9613 shown below. These are the code and data sizes for the acpica.lib
9614 produced
9615 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9616 any ACPI driver or OSPM code. The debug version of the code includes the
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
9621 the compiler options used during generation.
9622
9623 Previous Release:
9624 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9625 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
9626 Current Release:
9627 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9628 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9629
9630
9631 2) iASL Compiler/Disassembler:
9632
9633 Implemented support for all ACPI 3.0 reserved names and methods.
9634
9635 Implemented all ACPI 3.0 grammar elements in the front-end, including
9636 support for semicolons.
9637
9638 Implemented the ACPI 3.0 Function() and ToUUID() macros
9639
9640 Fixed a problem in the disassembler where a Scope() operator would not be
9641 emitted properly if the target of the scope was in another table.
9642
9643 ----------------------------------------
9644 15 October 2004. Summary of changes for version 20041015:
9645
9646 Note: ACPI CA is currently undergoing an in-depth and complete formal
9647 evaluation to test/verify the following areas. Other suggestions are
9648 welcome. This will result in an increase in the frequency of releases and
9649 the number of bug fixes in the next few months.
9650 - Functional tests for all ASL/AML operators
9651 - All implicit/explicit type conversions
9652 - Bit fields and operation regions
9653 - 64-bit math support and 32-bit-only "truncated" math support
9654 - Exceptional conditions, both compiler and interpreter
9655 - Dynamic object deletion and memory leaks
9656 - ACPI 3.0 support when implemented
9657 - External interfaces to the ACPI subsystem
9658
9659
9660 1) ACPI CA Core Subsystem:
9661
9662 Fixed two alignment issues on 64-bit platforms - within debug statements
9663 in
9664 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
9665 Address
9666 field within the non-aligned ACPI generic address structure.
9667
9668 Fixed a problem in the Increment and Decrement operators where incorrect
9669 operand resolution could result in the inadvertent modification of the
9670 original integer when the integer is passed into another method as an
9671 argument and the arg is then incremented/decremented.
9672
9673 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
9674 bit
9675 BCD number were truncated during conversion.
9676
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
9681 object.
9682
9683 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
9684 (0)
9685 within a buffer would prematurely terminate a compare between buffer
9686 objects.
9687
9688 Added a check for string overflow (>200 characters as per the ACPI
9689 specification) during the Concatenate operator with two string operands.
9690
9691 Code and Data Size: Current and previous core subsystem library sizes are
9692 shown below. These are the code and data sizes for the acpica.lib
9693 produced
9694 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9695 any ACPI driver or OSPM code. The debug version of the code includes the
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
9700 the compiler options used during generation.
9701
9702 Previous Release:
9703 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
9704 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
9705 Current Release:
9706 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9707 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
9708
9709
9710
9711 2) iASL Compiler/Disassembler:
9712
9713 Allow the use of the ObjectType operator on uninitialized Locals and Args
9714 (returns 0 as per the ACPI specification).
9715
9716 Fixed a problem where the compiler would fault if there was a syntax
9717 error
9718 in the FieldName of all of the various CreateXXXField operators.
9719
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
9724 U is an uppercase letter and N is a hex digit.
9725
9726
9727 ----------------------------------------
9728 06 October 2004. Summary of changes for version 20041006:
9729
9730 1) ACPI CA Core Subsystem:
9731
9732 Implemented support for the ACPI 3.0 Timer operator. This ASL function
9733 implements a 64-bit timer with 100 nanosecond granularity.
9734
9735 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
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
9740 out of the clock handling business, since the host OS (usually) performs
9741 this function.
9742
9743 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
9744 functions use a 64-bit address which is part of the packed ACPI Generic
9745 Address Structure. Since the structure is non-aligned, the alignment
9746 macros
9747 are now used to extract the address to a local variable before use.
9748
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
9753 (prefixed with "0x").
9754
9755 Fixed a problem where the string length in the string object created as a
9756 result of the internal ConvertToString procedure could be incorrect. This
9757 potentially affected all implicit conversions and also the
9758 ToDecimalString
9759 and ToHexString operators.
9760
9761 Fixed two problems in the ToString operator. If the length parameter was
9762 zero, an incorrect string object was created and the value of the input
9763 length parameter was inadvertently changed from zero to Ones.
9764
9765 Fixed a problem where the optional ResourceSource string in the
9766 ExtendedIRQ
9767 resource macro was ignored.
9768
9769 Simplified the interfaces to the internal division functions, reducing
9770 code
9771 size and complexity.
9772
9773 Code and Data Size: Current and previous core subsystem library sizes are
9774 shown below. These are the code and data sizes for the acpica.lib
9775 produced
9776 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9777 any ACPI driver or OSPM code. The debug version of the code includes the
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
9782 the compiler options used during generation.
9783
9784 Previous Release:
9785 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
9786 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
9787 Current Release:
9788 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
9789 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
9790
9791
9792 2) iASL Compiler/Disassembler:
9793
9794 Implemented support for the ACPI 3.0 Timer operator.
9795
9796 Fixed a problem where the Default() operator was inadvertently ignored in
9797 a
9798 Switch/Case block. This was a problem in the translation of the Switch
9799 statement to If...Else pairs.
9800
9801 Added support to allow a standalone Return operator, with no parentheses
9802 (or
9803 operands).
9804
9805 Fixed a problem with code generation for the ElseIf operator where the
9806 translated Else...If parse tree was improperly constructed leading to the
9807 loss of some code.
9808
9809 ----------------------------------------
9810 22 September 2004. Summary of changes for version 20040922:
9811
9812 1) ACPI CA Core Subsystem:
9813
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
9820 this operator also.
9821
9822 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
9823 not
9824 initialized properly -- Now zero the entire buffer in this case where the
9825 buffer already exists.
9826
9827 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
9828 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
9829 related code considerably. This will require changes/updates to all OS
9830 interface layers (OSLs.)
9831
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
9836 run-time exception that occurs during control method execution.
9837
9838 Added support for the DSDT in AcpiTbFindTable. This allows the
9839 DataTableRegion() operator to access the local copy of the DSDT.
9840
9841 Code and Data Size: Current and previous core subsystem library sizes are
9842 shown below. These are the code and data sizes for the acpica.lib
9843 produced
9844 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9845 any ACPI driver or OSPM code. The debug version of the code includes the
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
9850 the compiler options used during generation.
9851
9852 Previous Release:
9853 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
9854 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
9855 Current Release:
9856 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
9857 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
9858
9859
9860 2) iASL Compiler/Disassembler:
9861
9862 Fixed a problem with constant folding and the LNot operator. LNot was
9863 returning 1 in the TRUE case, not Ones as per the ACPI specification.
9864 This
9865 could result in the generation of an incorrect folded/reduced constant.
9866
9867 End-Of-File is now allowed within a "//"-style comment. A parse error no
9868 longer occurs if such a comment is at the very end of the input ASL
9869 source
9870 file.
9871
9872 Implemented the "-r" option to override the Revision in the table header.
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
9877 32-bit or 64-bit integers.
9878
9879
9880 ----------------------------------------
9881 27 August 2004. Summary of changes for version 20040827:
9882
9883 1) ACPI CA Core Subsystem:
9884
9885 - Implemented support for implicit object conversion in the non-numeric
9886 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
9887 and
9888 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
9889 the second operand is implicitly converted on the fly to match the type
9890 of
9891 the first operand. For example:
9892
9893 LEqual (Source1, Source2)
9894
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
9899 implicitly converted if necessary to match the type of Source1.
9900
9901 - Updated and corrected the behavior of the string conversion support.
9902 The
9903 rules concerning conversion of buffers to strings (according to the ACPI
9904 specification) are as follows:
9905
9906 ToDecimalString - explicit byte-wise conversion of buffer to string of
9907 decimal values (0-255) separated by commas. ToHexString - explicit byte-
9908 wise
9909 conversion of buffer to string of hex values (0-FF) separated by commas.
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
9916 (0-FF) separated by spaces.
9917
9918 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
9919
9920 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
9921 was
9922 one byte too short in the case of a node in the root scope. This could
9923 cause a fault during debug output.
9924
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
9929 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9930 any ACPI driver or OSPM code. The debug version of the code includes the
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
9935 the compiler options used during generation.
9936
9937 Previous Release:
9938 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
9939 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
9940 Current Release:
9941 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
9942 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
9943
9944
9945 2) iASL Compiler/Disassembler:
9946
9947 - Fixed a Linux generation error.
9948
9949
9950 ----------------------------------------
9951 16 August 2004. Summary of changes for version 20040816:
9952
9953 1) ACPI CA Core Subsystem:
9954
9955 Designed and implemented support within the AML interpreter for the so-
9956 called "implicit return". This support returns the result of the last
9957 ASL
9958 operation within a control method, in the absence of an explicit Return()
9959 operator. A few machines depend on this behavior, even though it is not
9960 explicitly supported by the ASL language. It is optional support that
9961 can
9962 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
9963
9964 Removed support for the PCI_Config address space from the internal low
9965 level
9966 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
9967 support was not used internally, and would not work correctly anyway
9968 because
9969 the PCI bus number and segment number were not supported. There are
9970 separate interfaces for PCI configuration space access because of the
9971 unique
9972 interface.
9973
9974 Code and Data Size: Current and previous core subsystem library sizes are
9975 shown below. These are the code and data sizes for the acpica.lib
9976 produced
9977 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9978 any ACPI driver or OSPM code. The debug version of the code includes the
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
9983 the compiler options used during generation.
9984
9985 Previous Release:
9986 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9987 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
9988 Current Release:
9989 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
9990 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
9991
9992
9993 2) iASL Compiler/Disassembler:
9994
9995 Fixed a problem where constants in ASL expressions at the root level (not
9996 within a control method) could be inadvertently truncated during code
9997 generation. This problem was introduced in the 20040715 release.
9998
9999
10000 ----------------------------------------
10001 15 July 2004. Summary of changes for version 20040715:
10002
10003 1) ACPI CA Core Subsystem:
10004
10005 Restructured the internal HW GPE interfaces to pass/track the current
10006 state
10007 of interrupts (enabled/disabled) in order to avoid possible deadlock and
10008 increase flexibility of the interfaces.
10009
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
10016 to C library "strcmp".
10017
10018 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
10019 external function. In the 32-bit non-debug case, the stack use has been
10020 reduced from 168 bytes to 32 bytes.
10021
10022 Deployed a new run-time configuration flag,
10023 AcpiGbl_EnableInterpreterSlack,
10024 whose purpose is to allow the AML interpreter to forgive certain bad AML
10025 constructs. Default setting is FALSE.
10026
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
10033 next access width boundary (a common coding error.)
10034
10035 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
10036 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
10037 these
10038 symbols are lowercased by the latest version of the AcpiSrc tool.
10039
10040 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
10041 rename "Register" to simply "Reg" to prevent certain compilers from
10042 complaining.
10043
10044 Code and Data Size: Current and previous core subsystem library sizes are
10045 shown below. These are the code and data sizes for the acpica.lib
10046 produced
10047 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10048 any ACPI driver or OSPM code. The debug version of the code includes the
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
10053 the compiler options used during generation.
10054
10055 Previous Release:
10056 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
10057 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
10058 Current Release:
10059 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
10060 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
10061
10062
10063 2) iASL Compiler/Disassembler:
10064
10065 Implemented full support for Package objects within the Case() operator.
10066 Note: The Break() operator is currently not supported within Case blocks
10067 (TermLists) as there is some question about backward compatibility with
10068 ACPI
10069 1.0 interpreters.
10070
10071
10072 Fixed a problem where complex terms were not supported properly within
10073 the
10074 Switch() operator.
10075
10076 Eliminated extraneous warning for compiler-emitted reserved names of the
10077 form "_T_x". (Used in Switch/Case operators.)
10078
10079 Eliminated optimization messages for "_T_x" objects and small constants
10080 within the DefinitionBlock operator.
10081
10082
10083 ----------------------------------------
10084 15 June 2004. Summary of changes for version 20040615:
10085
10086 1) ACPI CA Core Subsystem:
10087
10088 Implemented support for Buffer and String objects (as per ACPI 2.0) for
10089 the
10090 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
10091 LLessEqual.
10092
10093 All directory names in the entire source package are lower case, as they
10094 were in earlier releases.
10095
10096 Implemented "Disassemble" command in the AML debugger that will
10097 disassemble
10098 a single control method.
10099
10100 Code and Data Size: Current and previous core subsystem library sizes are
10101 shown below. These are the code and data sizes for the acpica.lib
10102 produced
10103 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10104 any ACPI driver or OSPM code. The debug version of the code includes the
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
10109 the compiler options used during generation.
10110
10111 Previous Release:
10112 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
10113 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
10114
10115 Current Release:
10116 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
10117 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
10118
10119
10120 2) iASL Compiler/Disassembler:
10121
10122 Implemented support for Buffer and String objects (as per ACPI 2.0) for
10123 the
10124 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
10125 LLessEqual.
10126
10127 All directory names in the entire source package are lower case, as they
10128 were in earlier releases.
10129
10130 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
10131 not found.
10132
10133 Fixed an issue with the Windows version of the compiler where later
10134 versions
10135 of Windows place the FADT in the registry under the name "FADT" and not
10136 "FACP" as earlier versions did. This applies when using the -g or -
10137 d<nofilename> options. The compiler now looks for both strings as
10138 necessary.
10139
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
10144 the current scope path.
10145
10146 ----------------------------------------
10147 27 May 2004. Summary of changes for version 20040527:
10148
10149 1) ACPI CA Core Subsystem:
10150
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
10157 is to first obtain the EBDA pointer from within the BIOS data area, then
10158 scan 1K of memory starting at the EBDA pointer. There appear to be few
10159 if
10160 any machines that place the RSDP in the EBDA, however.
10161
10162 Integrated a fix for a possible fault during evaluation of BufferField
10163 arguments. Obsolete code that was causing the problem was removed.
10164
10165 Found and fixed a problem in the Field Support Code where data could be
10166 corrupted on a bit field read that starts on an aligned boundary but does
10167 not end on an aligned boundary. Merged the read/write "datum length"
10168 calculation code into a common procedure.
10169
10170 Rolled in a couple of changes to the FreeBSD-specific header.
10171
10172
10173 Code and Data Size: Current and previous core subsystem library sizes are
10174 shown below. These are the code and data sizes for the acpica.lib
10175 produced
10176 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10177 any ACPI driver or OSPM code. The debug version of the code includes the
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
10182 the compiler options used during generation.
10183
10184 Previous Release:
10185 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
10186 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
10187 Current Release:
10188 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
10189 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
10190
10191
10192 2) iASL Compiler/Disassembler:
10193
10194 Fixed a generation warning produced by some overly-verbose compilers for
10195 a
10196 64-bit constant.
10197
10198 ----------------------------------------
10199 14 May 2004. Summary of changes for version 20040514:
10200
10201 1) ACPI CA Core Subsystem:
10202
10203 Fixed a problem where hardware GPE enable bits sometimes not set properly
10204 during and after GPE method execution. Result of 04/27 changes.
10205
10206 Removed extra "clear all GPEs" when sleeping/waking.
10207
10208 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
10209 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
10210 to
10211 the new AcpiEv* calls as appropriate.
10212
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
10217 changed by modifying the acconfig.h file.
10218
10219 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
10220 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
10221
10222 Run _INI methods on ThermalZone objects. This is against the ACPI
10223 specification, but there is apparently ASL code in the field that has
10224 these
10225 _INI methods, and apparently "other" AML interpreters execute them.
10226
10227 Performed a full 16/32/64 bit lint that resulted in some small changes.
10228
10229 Added a sleep simulation command to the AML debugger to test sleep code.
10230
10231 Code and Data Size: Current and previous core subsystem library sizes are
10232 shown below. These are the code and data sizes for the acpica.lib
10233 produced
10234 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10235 any ACPI driver or OSPM code. The debug version of the code includes the
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
10240 the compiler options used during generation.
10241
10242 Previous Release:
10243 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
10244 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
10245 Current Release:
10246 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
10247 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
10248
10249 ----------------------------------------
10250 27 April 2004. Summary of changes for version 20040427:
10251
10252 1) ACPI CA Core Subsystem:
10253
10254 Completed a major overhaul of the GPE handling within ACPI CA. There are
10255 now three types of GPEs: wake-only, runtime-only, and combination
10256 wake/run.
10257 The only GPEs allowed to be combination wake/run are for button-style
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
10262 referenced by any _PRW methods are marked for "runtime" and hardware
10263 enabled. Any GPE that is referenced by a _PRW method is marked for
10264 "wake"
10265 (and disabled at runtime). However, at sleep time, only those GPEs that
10266 have been specifically enabled for wake via the AcpiEnableGpe interface
10267 will
10268 actually be hardware enabled.
10269
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
10274 especially useful for the drivers for the button devices mentioned above.
10275
10276 Completed restructuring of the ACPI CA initialization sequence so that
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
10281 methods attempt to access system memory or I/O space.
10282
10283 GPE enable/disable no longer reads the GPE enable register. We now keep
10284 the
10285 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
10286 thus no longer depend on the hardware to maintain these bits.
10287
10288 Always clear the wake status and fixed/GPE status bits before sleep, even
10289 for state S5.
10290
10291 Improved the AML debugger output for displaying the GPE blocks and their
10292 current status.
10293
10294 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
10295 where
10296 x = 0,1,2,3,4.
10297
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
10304 this case.
10305
10306 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
10307 mutex release.
10308
10309 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
10310 consistency with the other fields returned.
10311
10312 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
10313 structure for each GPE in the system, so the size of this structure is
10314 important.
10315
10316 CPU stack requirement reduction: Cleaned up the method execution and
10317 object
10318 evaluation paths so that now a parameter structure is passed, instead of
10319 copying the various method parameters over and over again.
10320
10321 In evregion.c: Correctly exit and reenter the interpreter region if and
10322 only if dispatching an operation region request to a user-installed
10323 handler.
10324 Do not exit/reenter when dispatching to a default handler (e.g., default
10325 system memory or I/O handlers)
10326
10327
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.)
10334
10335 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
10336 must
10337 explicitly call AcpiEnableGpe.
10338 2) There is a new interface called AcpiSetGpeType. This should be called
10339 before enabling the GPE. Also, this interface will automatically disable
10340 the GPE if it is currently enabled.
10341 3) AcpiEnableGpe no longer supports a GPE type flag.
10342
10343 Specific drivers that must be changed:
10344 1) EC driver:
10345 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
10346 AeGpeHandler, NULL);
10347 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
10348 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
10349
10350 2) Button Drivers (Power, Lid, Sleep):
10351 Run _PRW method under parent device
10352 If _PRW exists: /* This is a control-method button */
10353 Extract GPE number and possibly GpeDevice
10354 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
10355 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
10356
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
10363 to allow the user to pick the wake devices.
10364
10365
10366 Code and Data Size: Current and previous core subsystem library sizes are
10367 shown below. These are the code and data sizes for the acpica.lib
10368 produced
10369 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10370 any ACPI driver or OSPM code. The debug version of the code includes the
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
10375 the compiler options used during generation.
10376
10377 Previous Release:
10378 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
10379 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
10380 Current Release:
10381
10382 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
10383 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
10384
10385
10386
10387 ----------------------------------------
10388 02 April 2004. Summary of changes for version 20040402:
10389
10390 1) ACPI CA Core Subsystem:
10391
10392 Fixed an interpreter problem where an indirect store through an ArgX
10393 parameter was incorrectly applying the "implicit conversion rules" during
10394 the store. From the ACPI specification: "If the target is a method local
10395 or
10396 argument (LocalX or ArgX), no conversion is performed and the result is
10397 stored directly to the target". The new behavior is to disable implicit
10398 conversion during ALL stores to an ArgX.
10399
10400 Changed the behavior of the _PRW method scan to ignore any and all errors
10401 returned by a given _PRW. This prevents the scan from aborting from the
10402 failure of any single _PRW.
10403
10404 Moved the runtime configuration parameters from the global init procedure
10405 to
10406 static variables in acglobal.h. This will allow the host to override the
10407 default values easily.
10408
10409 Code and Data Size: Current and previous core subsystem library sizes are
10410 shown below. These are the code and data sizes for the acpica.lib
10411 produced
10412 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10413 any ACPI driver or OSPM code. The debug version of the code includes the
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
10418 the compiler options used during generation.
10419
10420 Previous Release:
10421 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
10422 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
10423 Current Release:
10424 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
10425 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
10426
10427
10428 2) iASL Compiler/Disassembler:
10429
10430 iASL now fully disassembles SSDTs. However, External() statements are
10431 not
10432 generated automatically for unresolved symbols at this time. This is a
10433 planned feature for future implementation.
10434
10435 Fixed a scoping problem in the disassembler that occurs when the type of
10436 the
10437 target of a Scope() operator is overridden. This problem caused an
10438 incorrectly nested internal namespace to be constructed.
10439
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
10444 hand editing.
10445
10446 ----------------------------------------
10447 26 March 2004. Summary of changes for version 20040326:
10448
10449 1) ACPI CA Core Subsystem:
10450
10451 Implemented support for "wake" GPEs via interaction between GPEs and the
10452 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
10453 identified as a WAKE GPE and by default will no longer be enabled at
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
10458 believe this has been the cause of thousands of "spurious" GPEs on some
10459 systems.
10460
10461 This new GPE behavior is can be reverted to the original behavior (enable
10462 ALL GPEs at runtime) via a runtime flag.
10463
10464 Fixed a problem where aliased control methods could not access objects
10465 properly. The proper scope within the namespace was not initialized
10466 (transferred to the target of the aliased method) before executing the
10467 target method.
10468
10469 Fixed a potential race condition on internal object deletion on the
10470 return
10471 object in AcpiEvaluateObject.
10472
10473 Integrated a fix for resource descriptors where both _MEM and _MTP were
10474 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
10475 wide, 0x0F instead of 0x03.)
10476
10477 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
10478 preventing
10479 a
10480 fault in some cases.
10481
10482 Updated Notify() values for debug statements in evmisc.c
10483
10484 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
10485
10486 Code and Data Size: Current and previous core subsystem library sizes are
10487 shown below. These are the code and data sizes for the acpica.lib
10488 produced
10489 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10490 any ACPI driver or OSPM code. The debug version of the code includes the
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
10495 the compiler options used during generation.
10496
10497 Previous Release:
10498
10499 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
10500 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
10501 Current Release:
10502 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
10503 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
10504
10505 ----------------------------------------
10506 11 March 2004. Summary of changes for version 20040311:
10507
10508 1) ACPI CA Core Subsystem:
10509
10510 Fixed a problem where errors occurring during the parse phase of control
10511 method execution did not abort cleanly. For example, objects created and
10512 installed in the namespace were not deleted. This caused all subsequent
10513 invocations of the method to return the AE_ALREADY_EXISTS exception.
10514
10515 Implemented a mechanism to force a control method to "Serialized"
10516 execution
10517 if the method attempts to create namespace objects. (The root of the
10518 AE_ALREADY_EXISTS problem.)
10519
10520 Implemented support for the predefined _OSI "internal" control method.
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.
10525 This feature will allow "other" operating systems to execute the fully
10526 tested, "Windows" code path through the ASL code
10527
10528 Global Lock Support: Now allows multiple acquires and releases with any
10529 internal thread. Removed concept of "owning thread" for this special
10530 mutex.
10531
10532 Fixed two functions that were inappropriately declaring large objects on
10533 the
10534 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
10535 during
10536 method execution considerably.
10537
10538 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
10539 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
10540
10541 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
10542 defined on the machine.
10543
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
10548 if it causes problems on a given machine.
10549
10550 Code and Data Size: Current and previous core subsystem library sizes are
10551 shown below. These are the code and data sizes for the acpica.lib
10552 produced
10553 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10554 any ACPI driver or OSPM code. The debug version of the code includes the
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
10559 the compiler options used during generation.
10560
10561 Previous Release:
10562 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
10563 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
10564 Current Release:
10565 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
10566 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
10567
10568 2) iASL Compiler/Disassembler:
10569
10570 Fixed an array size problem for FreeBSD that would cause the compiler to
10571 fault.
10572
10573 ----------------------------------------
10574 20 February 2004. Summary of changes for version 20040220:
10575
10576
10577 1) ACPI CA Core Subsystem:
10578
10579 Implemented execution of _SxD methods for Device objects in the
10580 GetObjectInfo interface.
10581
10582 Fixed calls to _SST method to pass the correct arguments.
10583
10584 Added a call to _SST on wake to restore to "working" state.
10585
10586 Check for End-Of-Buffer failure case in the WalkResources interface.
10587
10588 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
10589 structures to the beginning of the file.
10590
10591 After wake, clear GPE status register(s) before enabling GPEs.
10592
10593 After wake, clear/enable power button. (Perhaps we should clear/enable
10594 all
10595 fixed events upon wake.)
10596
10597 Fixed a couple of possible memory leaks in the Namespace manager.
10598
10599 Integrated latest acnetbsd.h file.
10600
10601 ----------------------------------------
10602 11 February 2004. Summary of changes for version 20040211:
10603
10604
10605 1) ACPI CA Core Subsystem:
10606
10607 Completed investigation and implementation of the call-by-reference
10608 mechanism for control method arguments.
10609
10610 Fixed a problem where a store of an object into an indexed package could
10611 fail if the store occurs within a different method than the method that
10612 created the package.
10613
10614 Fixed a problem where the ToDecimal operator could return incorrect
10615 results.
10616
10617 Fixed a problem where the CopyObject operator could fail on some of the
10618 more
10619 obscure objects (e.g., Reference objects.)
10620
10621 Improved the output of the Debug object to display buffer, package, and
10622 index objects.
10623
10624 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
10625 return
10626 the expected result.
10627
10628 Added permanent ACPI_REPORT_ERROR macros for all instances of the
10629 ACPI_AML_INTERNAL exception.
10630
10631 Integrated latest version of acfreebsd.h
10632
10633 ----------------------------------------
10634 16 January 2004. Summary of changes for version 20040116:
10635
10636 The purpose of this release is primarily to update the copyright years in
10637 each module, thus causing a huge number of diffs. There are a few small
10638 functional changes, however.
10639
10640 1) ACPI CA Core Subsystem:
10641
10642 Improved error messages when there is a problem finding one or more of
10643 the
10644 required base ACPI tables
10645
10646 Reintroduced the definition of APIC_HEADER in actbl.h
10647
10648 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
10649
10650 Removed extraneous reference to NewObj in dsmthdat.c
10651
10652 2) iASL compiler
10653
10654 Fixed a problem introduced in December that disabled the correct
10655 disassembly
10656 of Resource Templates
10657
10658
10659 ----------------------------------------
10660 03 December 2003. Summary of changes for version 20031203:
10661
10662 1) ACPI CA Core Subsystem:
10663
10664 Changed the initialization of Operation Regions during subsystem
10665 init to perform two entire walks of the ACPI namespace; The first
10666 to initialize the regions themselves, the second to execute the
10667 _REG methods. This fixed some interdependencies across _REG
10668 methods found on some machines.
10669
10670 Fixed a problem where a Store(Local0, Local1) could simply update
10671 the object reference count, and not create a new copy of the
10672 object if the Local1 is uninitialized.
10673
10674 Implemented support for the _SST reserved method during sleep
10675 transitions.
10676
10677 Implemented support to clear the SLP_TYP and SLP_EN bits when
10678 waking up, this is apparently required by some machines.
10679
10680 When sleeping, clear the wake status only if SleepState is not S5.
10681
10682 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
10683 pointer arithmetic advanced a string pointer too far.
10684
10685 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
10686 could be returned if the requested table has not been loaded.
10687
10688 Within the support for IRQ resources, restructured the handling of
10689 the active and edge/level bits.
10690
10691 Fixed a few problems in AcpiPsxExecute() where memory could be
10692 leaked under certain error conditions.
10693
10694 Improved error messages for the cases where the ACPI mode could
10695 not be entered.
10696
10697 Code and Data Size: Current and previous core subsystem library
10698 sizes are shown below. These are the code and data sizes for the
10699 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10700 these values do not include any ACPI driver or OSPM code. The
10701 debug version of the code includes the debug output trace
10702 mechanism and has a much larger code and data size. Note that
10703 these values will vary depending on the efficiency of the compiler
10704 and the compiler options used during generation.
10705
10706 Previous Release (20031029):
10707 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
10708 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
10709 Current Release:
10710 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
10711 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
10712
10713 2) iASL Compiler/Disassembler:
10714
10715 Implemented a fix for the iASL disassembler where a bad index was
10716 generated. This was most noticeable on 64-bit platforms
10717
10718
10719 ----------------------------------------
10720 29 October 2003. Summary of changes for version 20031029:
10721
10722 1) ACPI CA Core Subsystem:
10723
10724
10725 Fixed a problem where a level-triggered GPE with an associated
10726 _Lxx control method was incorrectly cleared twice.
10727
10728 Fixed a problem with the Field support code where an access can
10729 occur beyond the end-of-region if the field is non-aligned but
10730 extends to the very end of the parent region (resulted in an
10731 AE_AML_REGION_LIMIT exception.)
10732
10733 Fixed a problem with ACPI Fixed Events where an RT Clock handler
10734 would not get invoked on an RTC event. The RTC event bitmasks for
10735 the PM1 registers were not being initialized properly.
10736
10737 Implemented support for executing _STA and _INI methods for
10738 Processor objects. Although this is currently not part of the
10739 ACPI specification, there is existing ASL code that depends on the
10740 init-time execution of these methods.
10741
10742 Implemented and deployed a GetDescriptorName function to decode
10743 the various types of internal descriptors. Guards against null
10744 descriptors during debug output also.
10745
10746 Implemented and deployed a GetNodeName function to extract the 4-
10747 character namespace node name. This function simplifies the debug
10748 and error output, as well as guarding against null pointers during
10749 output.
10750
10751 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
10752 simplify the debug and error output of 64-bit integers. This
10753 macro replaces the HIDWORD and LODWORD macros for dumping these
10754 integers.
10755
10756 Updated the implementation of the Stall() operator to only call
10757 AcpiOsStall(), and also return an error if the operand is larger
10758 than 255. This preserves the required behavior of not
10759 relinquishing the processor, as would happen if AcpiOsSleep() was
10760 called for "long stalls".
10761
10762 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
10763 initialized are now treated as NOOPs.
10764
10765 Cleaned up a handful of warnings during 64-bit generation.
10766
10767 Fixed a reported error where and incorrect GPE number was passed
10768 to the GPE dispatch handler. This value is only used for error
10769 output, however. Used this opportunity to clean up and streamline
10770 the GPE dispatch code.
10771
10772 Code and Data Size: Current and previous core subsystem library
10773 sizes are shown below. These are the code and data sizes for the
10774 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10775 these values do not include any ACPI driver or OSPM code. The
10776
10777 debug version of the code includes the debug output trace
10778 mechanism and has a much larger code and data size. Note that
10779 these values will vary depending on the efficiency of the compiler
10780 and the compiler options used during generation.
10781
10782 Previous Release (20031002):
10783 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
10784 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
10785 Current Release:
10786 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
10787 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
10788
10789
10790 2) iASL Compiler/Disassembler:
10791
10792 Updated the iASL compiler to return an error if the operand to the
10793 Stall() operator is larger than 255.
10794
10795
10796 ----------------------------------------
10797 02 October 2003. Summary of changes for version 20031002:
10798
10799
10800 1) ACPI CA Core Subsystem:
10801
10802 Fixed a problem with Index Fields where the index was not
10803 incremented for fields that require multiple writes to the
10804 index/data registers (Fields that are wider than the data
10805 register.)
10806
10807 Fixed a problem with all Field objects where a write could go
10808 beyond the end-of-field if the field was larger than the access
10809 granularity and therefore required multiple writes to complete the
10810 request. An extra write beyond the end of the field could happen
10811 inadvertently.
10812
10813 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
10814 would incorrectly be returned if the width of the Data Register
10815 was larger than the specified field access width.
10816
10817 Completed fixes for LoadTable() and Unload() and verified their
10818 operation. Implemented full support for the "DdbHandle" object
10819 throughout the ACPI CA subsystem.
10820
10821 Implemented full support for the MADT and ECDT tables in the ACPI
10822 CA header files. Even though these tables are not directly
10823 consumed by ACPI CA, the header definitions are useful for ACPI
10824 device drivers.
10825
10826 Integrated resource descriptor fixes posted to the Linux ACPI
10827 list. This included checks for minimum descriptor length, and
10828 support for trailing NULL strings within descriptors that have
10829 optional string elements.
10830
10831 Code and Data Size: Current and previous core subsystem library
10832 sizes are shown below. These are the code and data sizes for the
10833 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10834 these values do not include any ACPI driver or OSPM code. The
10835 debug version of the code includes the debug output trace
10836 mechanism and has a much larger code and data size. Note that
10837 these values will vary depending on the efficiency of the compiler
10838 and the compiler options used during generation.
10839
10840 Previous Release (20030918):
10841 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
10842 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
10843 Current Release:
10844 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
10845 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
10846
10847
10848 2) iASL Compiler:
10849
10850 Implemented detection of non-ASCII characters within the input
10851 source ASL file. This catches attempts to compile binary (AML)
10852 files early in the compile, with an informative error message.
10853
10854 Fixed a problem where the disassembler would fault if the output
10855 filename could not be generated or if the output file could not be
10856 opened.
10857
10858 ----------------------------------------
10859 18 September 2003. Summary of changes for version 20030918:
10860
10861
10862 1) ACPI CA Core Subsystem:
10863
10864 Found and fixed a longstanding problem with the late execution of
10865 the various deferred AML opcodes (such as Operation Regions,
10866 Buffer Fields, Buffers, and Packages). If the name string
10867 specified for the name of the new object placed the object in a
10868 scope other than the current scope, the initialization/execution
10869 of the opcode failed. The solution to this problem was to
10870 implement a mechanism where the late execution of such opcodes
10871 does not attempt to lookup/create the name a second time in an
10872 incorrect scope. This fixes the "region size computed
10873 incorrectly" problem.
10874
10875 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
10876 Global Lock AE_BAD_PARAMETER error.
10877
10878 Fixed several 64-bit issues with prototypes, casting and data
10879 types.
10880
10881 Removed duplicate prototype from acdisasm.h
10882
10883 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
10884
10885 Code and Data Size: Current and previous core subsystem library
10886 sizes are shown below. These are the code and data sizes for the
10887 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10888 these values do not include any ACPI driver or OSPM code. The
10889 debug version of the code includes the debug output trace
10890 mechanism and has a much larger code and data size. Note that
10891 these values will vary depending on the efficiency of the compiler
10892 and the compiler options used during generation.
10893
10894 Previous Release:
10895
10896 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
10897 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
10898 Current Release:
10899 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
10900 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
10901
10902
10903 2) Linux:
10904
10905 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
10906 correct sleep time in seconds.
10907
10908 ----------------------------------------
10909 14 July 2003. Summary of changes for version 20030619:
10910
10911 1) ACPI CA Core Subsystem:
10912
10913 Parse SSDTs in order discovered, as opposed to reverse order
10914 (Hrvoje Habjanic)
10915
10916 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
10917 Klausner,
10918 Nate Lawson)
10919
10920
10921 2) Linux:
10922
10923 Dynamically allocate SDT list (suggested by Andi Kleen)
10924
10925 proc function return value cleanups (Andi Kleen)
10926
10927 Correctly handle NMI watchdog during long stalls (Andrew Morton)
10928
10929 Make it so acpismp=force works (reported by Andrew Morton)
10930
10931
10932 ----------------------------------------
10933 19 June 2003. Summary of changes for version 20030619:
10934
10935 1) ACPI CA Core Subsystem:
10936
10937 Fix To/FromBCD, eliminating the need for an arch-specific #define.
10938
10939 Do not acquire a semaphore in the S5 shutdown path.
10940
10941 Fix ex_digits_needed for 0. (Takayoshi Kochi)
10942
10943 Fix sleep/stall code reversal. (Andi Kleen)
10944
10945 Revert a change having to do with control method calling
10946 semantics.
10947
10948 2) Linux:
10949
10950 acpiphp update (Takayoshi Kochi)
10951
10952 Export acpi_disabled for sonypi (Stelian Pop)
10953
10954 Mention acpismp=force in config help
10955
10956 Re-add acpitable.c and acpismp=force. This improves backwards
10957
10958 compatibility and also cleans up the code to a significant degree.
10959
10960 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
10961
10962 ----------------------------------------
10963 22 May 2003. Summary of changes for version 20030522:
10964
10965 1) ACPI CA Core Subsystem:
10966
10967 Found and fixed a reported problem where an AE_NOT_FOUND error
10968 occurred occasionally during _BST evaluation. This turned out to
10969 be an Owner ID allocation issue where a called method did not get
10970 a new ID assigned to it. Eventually, (after 64k calls), the Owner
10971 ID UINT16 would wraparound so that the ID would be the same as the
10972 caller's and the called method would delete the caller's
10973 namespace.
10974
10975 Implemented extended error reporting for control methods that are
10976 aborted due to a run-time exception. Output includes the exact
10977 AML instruction that caused the method abort, a dump of the method
10978 locals and arguments at the time of the abort, and a trace of all
10979 nested control method calls.
10980
10981 Modified the interpreter to allow the creation of buffers of zero
10982 length from the AML code. Implemented new code to ensure that no
10983 attempt is made to actually allocate a memory buffer (of length
10984 zero) - instead, a simple buffer object with a NULL buffer pointer
10985 and length zero is created. A warning is no longer issued when
10986 the AML attempts to create a zero-length buffer.
10987
10988 Implemented a workaround for the "leading asterisk issue" in
10989 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
10990 asterisk is automatically removed if present in any HID, UID, or
10991 CID strings. The iASL compiler will still flag this asterisk as
10992 an error, however.
10993
10994 Implemented full support for _CID methods that return a package of
10995 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
10996 now additionally returns a device _CID list if present. This
10997 required a change to the external interface in order to pass an
10998 ACPI_BUFFER object as a parameter since the _CID list is of
10999 variable length.
11000
11001 Fixed a problem with the new AE_SAME_HANDLER exception where
11002 handler initialization code did not know about this exception.
11003
11004 Code and Data Size: Current and previous core subsystem library
11005 sizes are shown below. These are the code and data sizes for the
11006 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
11007 these values do not include any ACPI driver or OSPM code. The
11008 debug version of the code includes the debug output trace
11009 mechanism and has a much larger code and data size. Note that
11010 these values will vary depending on the efficiency of the compiler
11011 and the compiler options used during generation.
11012
11013 Previous Release (20030509):
11014 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
11015 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
11016 Current Release:
11017 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
11018 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
11019
11020
11021 2) Linux:
11022
11023 Fixed a bug in which we would reinitialize the ACPI interrupt
11024 after it was already working, thus disabling all ACPI and the IRQs
11025 for any other device sharing the interrupt. (Thanks to Stian
11026 Jordet)
11027
11028 Toshiba driver update (John Belmonte)
11029
11030 Return only 0 or 1 for our interrupt handler status (Andrew
11031 Morton)
11032
11033
11034 3) iASL Compiler:
11035
11036 Fixed a reported problem where multiple (nested) ElseIf()
11037 statements were not handled correctly by the compiler, resulting
11038 in incorrect warnings and incorrect AML code. This was a problem
11039 in both the ASL parser and the code generator.
11040
11041
11042 4) Documentation:
11043
11044 Added changes to existing interfaces, new exception codes, and new
11045 text concerning reference count object management versus garbage
11046 collection.
11047
11048 ----------------------------------------
11049 09 May 2003. Summary of changes for version 20030509.
11050
11051
11052 1) ACPI CA Core Subsystem:
11053
11054 Changed the subsystem initialization sequence to hold off
11055 installation of address space handlers until the hardware has been
11056 initialized and the system has entered ACPI mode. This is because
11057 the installation of space handlers can cause _REG methods to be
11058 run. Previously, the _REG methods could potentially be run before
11059 ACPI mode was enabled.
11060
11061 Fixed some memory leak issues related to address space handler and
11062 notify handler installation. There were some problems with the
11063 reference count mechanism caused by the fact that the handler
11064 objects are shared across several namespace objects.
11065
11066 Fixed a reported problem where reference counts within the
11067 namespace were not properly updated when named objects created by
11068 method execution were deleted.
11069
11070 Fixed a reported problem where multiple SSDTs caused a deletion
11071 issue during subsystem termination. Restructured the table data
11072 structures to simplify the linked lists and the related code.
11073
11074 Fixed a problem where the table ID associated with secondary
11075 tables (SSDTs) was not being propagated into the namespace objects
11076 created by those tables. This would only present a problem for
11077 tables that are unloaded at run-time, however.
11078
11079 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
11080 type as the length parameter (instead of UINT32).
11081
11082 Solved a long-standing problem where an ALREADY_EXISTS error
11083 appears on various systems. This problem could happen when there
11084 are multiple PCI_Config operation regions under a single PCI root
11085 bus. This doesn't happen very frequently, but there are some
11086 systems that do this in the ASL.
11087
11088 Fixed a reported problem where the internal DeleteNode function
11089 was incorrectly handling the case where a namespace node was the
11090 first in the parent's child list, and had additional peers (not
11091 the only child, but first in the list of children.)
11092
11093 Code and Data Size: Current core subsystem library sizes are shown
11094 below. These are the code and data sizes for the acpica.lib
11095 produced by the Microsoft Visual C++ 6.0 compiler, and these
11096 values do not include any ACPI driver or OSPM code. The debug
11097 version of the code includes the debug output trace mechanism and
11098 has a much larger code and data size. Note that these values will
11099 vary depending on the efficiency of the compiler and the compiler
11100 options used during generation.
11101
11102 Previous Release
11103 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
11104 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
11105 Current Release:
11106 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
11107 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
11108
11109
11110 2) Linux:
11111
11112 Allow ":" in OS override string (Ducrot Bruno)
11113
11114 Kobject fix (Greg KH)
11115
11116
11117 3 iASL Compiler/Disassembler:
11118
11119 Fixed a problem in the generation of the C source code files (AML
11120 is emitted in C source statements for BIOS inclusion) where the
11121 Ascii dump that appears within a C comment at the end of each line
11122 could cause a compile time error if the AML sequence happens to
11123 have an open comment or close comment sequence embedded.
11124
11125
11126 ----------------------------------------
11127 24 April 2003. Summary of changes for version 20030424.
11128
11129
11130 1) ACPI CA Core Subsystem:
11131
11132 Support for big-endian systems has been implemented. Most of the
11133 support has been invisibly added behind big-endian versions of the
11134 ACPI_MOVE_* macros.
11135
11136 Fixed a problem in AcpiHwDisableGpeBlock() and
11137 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
11138 low level hardware write routine. The offset parameter was
11139 actually eliminated from the low level read/write routines because
11140 they had become obsolete.
11141
11142 Fixed a problem where a handler object was deleted twice during
11143 the removal of a fixed event handler.
11144
11145
11146 2) Linux:
11147
11148 A fix for SMP systems with link devices was contributed by
11149
11150 Compaq's Dan Zink.
11151
11152 (2.5) Return whether we handled the interrupt in our IRQ handler.
11153 (Linux ISRs no longer return void, so we can propagate the handler
11154 return value from the ACPI CA core back to the OS.)
11155
11156
11157
11158 3) Documentation:
11159
11160 The ACPI CA Programmer Reference has been updated to reflect new
11161 interfaces and changes to existing interfaces.
11162
11163 ----------------------------------------
11164 28 March 2003. Summary of changes for version 20030328.
11165
11166 1) ACPI CA Core Subsystem:
11167
11168 The GPE Block Device support has been completed. New interfaces
11169 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
11170 interfaces (enable, disable, clear, getstatus) have been split
11171 into separate interfaces for Fixed Events and General Purpose
11172 Events (GPEs) in order to support GPE Block Devices properly.
11173
11174 Fixed a problem where the error message "Failed to acquire
11175 semaphore" would appear during operations on the embedded
11176 controller (EC).
11177
11178 Code and Data Size: Current core subsystem library sizes are shown
11179 below. These are the code and data sizes for the acpica.lib
11180 produced by the Microsoft Visual C++ 6.0 compiler, and these
11181 values do not include any ACPI driver or OSPM code. The debug
11182 version of the code includes the debug output trace mechanism and
11183 has a much larger code and data size. Note that these values will
11184 vary depending on the efficiency of the compiler and the compiler
11185 options used during generation.
11186
11187 Previous Release
11188 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
11189 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
11190 Current Release:
11191 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
11192 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
11193
11194
11195 ----------------------------------------
11196 28 February 2003. Summary of changes for version 20030228.
11197
11198
11199 1) ACPI CA Core Subsystem:
11200
11201 The GPE handling and dispatch code has been completely overhauled
11202 in preparation for support of GPE Block Devices (ID ACPI0006).
11203 This affects internal data structures and code only; there should
11204 be no differences visible externally. One new file has been
11205 added, evgpeblk.c
11206
11207 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
11208 fields that are used to determine the GPE block lengths. The
11209 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
11210 structures are ignored. This is per the ACPI specification but it
11211 isn't very clear. The full 256 Block 0/1 GPEs are now supported
11212 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
11213
11214 In the SCI interrupt handler, removed the read of the PM1_CONTROL
11215 register to look at the SCI_EN bit. On some machines, this read
11216 causes an SMI event and greatly slows down SCI events. (This may
11217 in fact be the cause of slow battery status response on some
11218 systems.)
11219
11220 Fixed a problem where a store of a NULL string to a package object
11221 could cause the premature deletion of the object. This was seen
11222 during execution of the battery _BIF method on some systems,
11223 resulting in no battery data being returned.
11224
11225 Added AcpiWalkResources interface to simplify parsing of resource
11226 lists.
11227
11228 Code and Data Size: Current core subsystem library sizes are shown
11229 below. These are the code and data sizes for the acpica.lib
11230 produced by the Microsoft Visual C++ 6.0 compiler, and these
11231 values do not include any ACPI driver or OSPM code. The debug
11232 version of the code includes the debug output trace mechanism and
11233 has a much larger code and data size. Note that these values will
11234 vary depending on the efficiency of the compiler and the compiler
11235 options used during generation.
11236
11237 Previous Release
11238 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11239 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11240 Current Release:
11241 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
11242 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
11243
11244
11245 2) Linux
11246
11247 S3 fixes (Ole Rohne)
11248
11249 Update ACPI PHP driver with to use new acpi_walk_resource API
11250 (Bjorn Helgaas)
11251
11252 Add S4BIOS support (Pavel Machek)
11253
11254 Map in entire table before performing checksum (John Stultz)
11255
11256 Expand the mem= cmdline to allow the specification of reserved and
11257 ACPI DATA blocks (Pavel Machek)
11258
11259 Never use ACPI on VISWS
11260
11261 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
11262
11263 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
11264 causing us to think that some systems support C2 when they really
11265 don't.
11266
11267 Do not count processor objects for non-present CPUs (Thanks to
11268 Dominik Brodowski)
11269
11270
11271 3) iASL Compiler:
11272
11273 Fixed a problem where ASL include files could not be found and
11274 opened.
11275
11276 Added support for the _PDC reserved name.
11277
11278
11279 ----------------------------------------
11280 22 January 2003. Summary of changes for version 20030122.
11281
11282
11283 1) ACPI CA Core Subsystem:
11284
11285 Added a check for constructs of the form: Store (Local0, Local0)
11286 where Local0 is not initialized. Apparently, some BIOS
11287 programmers believe that this is a NOOP. Since this store doesn't
11288 do anything anyway, the new prototype behavior will ignore this
11289 error. This is a case where we can relax the strict checking in
11290 the interpreter in the name of compatibility.
11291
11292
11293 2) Linux
11294
11295 The AcpiSrc Source Conversion Utility has been released with the
11296 Linux package for the first time. This is the utility that is
11297 used to convert the ACPI CA base source code to the Linux version.
11298
11299 (Both) Handle P_BLK lengths shorter than 6 more gracefully
11300
11301 (Both) Move more headers to include/acpi, and delete an unused
11302 header.
11303
11304 (Both) Move drivers/acpi/include directory to include/acpi
11305
11306 (Both) Boot functions don't use cmdline, so don't pass it around
11307
11308 (Both) Remove include of unused header (Adrian Bunk)
11309
11310 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
11311 the
11312 former now also includes the latter, acpiphp.h only needs the one,
11313 now.
11314
11315 (2.5) Make it possible to select method of bios restoring after S3
11316 resume. [=> no more ugly ifdefs] (Pavel Machek)
11317
11318 (2.5) Make proc write interfaces work (Pavel Machek)
11319
11320 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
11321
11322 (2.5) Break out ACPI Perf code into its own module, under cpufreq
11323 (Dominik Brodowski)
11324
11325 (2.4) S4BIOS support (Ducrot Bruno)
11326
11327 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
11328 Visinoni)
11329
11330
11331 3) iASL Compiler:
11332
11333 Added support to disassemble SSDT and PSDTs.
11334
11335 Implemented support to obtain SSDTs from the Windows registry if
11336 available.
11337
11338
11339 ----------------------------------------
11340 09 January 2003. Summary of changes for version 20030109.
11341
11342 1) ACPI CA Core Subsystem:
11343
11344 Changed the behavior of the internal Buffer-to-String conversion
11345 function. The current ACPI specification states that the contents
11346 of the buffer are "converted to a string of two-character
11347 hexadecimal numbers, each separated by a space". Unfortunately,
11348 this definition is not backwards compatible with existing ACPI 1.0
11349 implementations (although the behavior was not defined in the ACPI
11350 1.0 specification). The new behavior simply copies data from the
11351 buffer to the string until a null character is found or the end of
11352 the buffer is reached. The new String object is always null
11353 terminated. This problem was seen during the generation of _BIF
11354 battery data where incorrect strings were returned for battery
11355 type, etc. This will also require an errata to the ACPI
11356 specification.
11357
11358 Renamed all instances of NATIVE_UINT and NATIVE_INT to
11359 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
11360
11361 Copyright in all module headers (both Linux and non-Linux) has be
11362 updated to 2003.
11363
11364 Code and Data Size: Current core subsystem library sizes are shown
11365 below. These are the code and data sizes for the acpica.lib
11366 produced by the Microsoft Visual C++ 6.0 compiler, and these
11367 values do not include any ACPI driver or OSPM code. The debug
11368 version of the code includes the debug output trace mechanism and
11369 has a much larger code and data size. Note that these values will
11370 vary depending on the efficiency of the compiler and the compiler
11371 options used during generation.
11372
11373 Previous Release
11374 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11375 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11376 Current Release:
11377 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11378 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11379
11380
11381 2) Linux
11382
11383 Fixed an oops on module insertion/removal (Matthew Tippett)
11384
11385 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
11386
11387 (2.5) Replace pr_debug (Randy Dunlap)
11388
11389 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
11390
11391 (Both) Eliminate spawning of thread from timer callback, in favor
11392 of schedule_work()
11393
11394 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
11395
11396 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
11397
11398 (Both) Add missing statics to button.c (Pavel Machek)
11399
11400 Several changes have been made to the source code translation
11401 utility that generates the Linux Code in order to make the code
11402 more "Linux-like":
11403
11404 All typedefs on structs and unions have been removed in keeping
11405 with the Linux coding style.
11406
11407 Removed the non-Linux SourceSafe module revision number from each
11408 module header.
11409
11410 Completed major overhaul of symbols to be lowercased for linux.
11411 Doubled the number of symbols that are lowercased.
11412
11413 Fixed a problem where identifiers within procedure headers and
11414 within quotes were not fully lower cased (they were left with a
11415 starting capital.)
11416
11417 Some C macros whose only purpose is to allow the generation of 16-
11418 bit code are now completely removed in the Linux code, increasing
11419 readability and maintainability.
11420
11421 ----------------------------------------
11422
11423 12 December 2002. Summary of changes for version 20021212.
11424
11425
11426 1) ACPI CA Core Subsystem:
11427
11428 Fixed a problem where the creation of a zero-length AML Buffer
11429 would cause a fault.
11430
11431 Fixed a problem where a Buffer object that pointed to a static AML
11432 buffer (in an ACPI table) could inadvertently be deleted, causing
11433 memory corruption.
11434
11435 Fixed a problem where a user buffer (passed in to the external
11436 ACPI CA interfaces) could be overwritten if the buffer was too
11437 small to complete the operation, causing memory corruption.
11438
11439 Fixed a problem in the Buffer-to-String conversion code where a
11440 string of length one was always returned, regardless of the size
11441 of the input Buffer object.
11442
11443 Removed the NATIVE_CHAR data type across the entire source due to
11444 lack of need and lack of consistent use.
11445
11446 Code and Data Size: Current core subsystem library sizes are shown
11447 below. These are the code and data sizes for the acpica.lib
11448 produced by the Microsoft Visual C++ 6.0 compiler, and these
11449 values do not include any ACPI driver or OSPM code. The debug
11450 version of the code includes the debug output trace mechanism and
11451 has a much larger code and data size. Note that these values will
11452 vary depending on the efficiency of the compiler and the compiler
11453 options used during generation.
11454
11455 Previous Release
11456 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
11457 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
11458 Current Release:
11459 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11460 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11461
11462
11463 ----------------------------------------
11464 05 December 2002. Summary of changes for version 20021205.
11465
11466 1) ACPI CA Core Subsystem:
11467
11468 Fixed a problem where a store to a String or Buffer object could
11469 cause corruption of the DSDT if the object type being stored was
11470 the same as the target object type and the length of the object
11471 being stored was equal to or smaller than the original (existing)
11472 target object. This was seen to cause corruption of battery _BIF
11473 buffers if the _BIF method modified the buffer on the fly.
11474
11475 Fixed a problem where an internal error was generated if a control
11476 method invocation was used in an OperationRegion, Buffer, or
11477 Package declaration. This was caused by the deferred parsing of
11478 the control method and thus the deferred creation of the internal
11479 method object. The solution to this problem was to create the
11480 internal method object at the moment the method is encountered in
11481 the first pass - so that subsequent references to the method will
11482 able to obtain the required parameter count and thus properly
11483 parse the method invocation. This problem presented itself as an
11484 AE_AML_INTERNAL during the pass 1 parse phase during table load.
11485
11486 Fixed a problem where the internal String object copy routine did
11487 not always allocate sufficient memory for the target String object
11488 and caused memory corruption. This problem was seen to cause
11489 "Allocation already present in list!" errors as memory allocation
11490 became corrupted.
11491
11492 Implemented a new function for the evaluation of namespace objects
11493 that allows the specification of the allowable return object
11494 types. This simplifies a lot of code that checks for a return
11495 object of one or more specific objects returned from the
11496 evaluation (such as _STA, etc.) This may become and external
11497 function if it would be useful to ACPI-related drivers.
11498
11499 Completed another round of prefixing #defines with "ACPI_" for
11500 clarity.
11501
11502 Completed additional code restructuring to allow more modular
11503 linking for iASL compiler and AcpiExec. Several files were split
11504 creating new files. New files: nsparse.c dsinit.c evgpe.c
11505
11506 Implemented an abort mechanism to terminate an executing control
11507 method via the AML debugger. This feature is useful for debugging
11508 control methods that depend (wait) for specific hardware
11509 responses.
11510
11511 Code and Data Size: Current core subsystem library sizes are shown
11512 below. These are the code and data sizes for the acpica.lib
11513 produced by the Microsoft Visual C++ 6.0 compiler, and these
11514 values do not include any ACPI driver or OSPM code. The debug
11515 version of the code includes the debug output trace mechanism and
11516 has a much larger code and data size. Note that these values will
11517 vary depending on the efficiency of the compiler and the compiler
11518 options used during generation.
11519
11520 Previous Release
11521 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11522 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
11523 Current Release:
11524 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
11525 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
11526
11527
11528 2) iASL Compiler/Disassembler
11529
11530 Fixed a compiler code generation problem for "Interrupt" Resource
11531 Descriptors. If specified in the ASL, the optional "Resource
11532 Source Index" and "Resource Source" fields were not inserted into
11533 the correct location within the AML resource descriptor, creating
11534 an invalid descriptor.
11535
11536 Fixed a disassembler problem for "Interrupt" resource descriptors.
11537 The optional "Resource Source Index" and "Resource Source" fields
11538 were ignored.
11539
11540
11541 ----------------------------------------
11542 22 November 2002. Summary of changes for version 20021122.
11543
11544
11545 1) ACPI CA Core Subsystem:
11546
11547 Fixed a reported problem where an object stored to a Method Local
11548 or Arg was not copied to a new object during the store - the
11549 object pointer was simply copied to the Local/Arg. This caused
11550 all subsequent operations on the Local/Arg to also affect the
11551 original source of the store operation.
11552
11553 Fixed a problem where a store operation to a Method Local or Arg
11554 was not completed properly if the Local/Arg contained a reference
11555 (from RefOf) to a named field. The general-purpose store-to-
11556 namespace-node code is now used so that this case is handled
11557 automatically.
11558
11559 Fixed a problem where the internal object copy routine would cause
11560 a protection fault if the object being copied was a Package and
11561 contained either 1) a NULL package element or 2) a nested sub-
11562 package.
11563
11564 Fixed a problem with the GPE initialization that resulted from an
11565 ambiguity in the ACPI specification. One section of the
11566 specification states that both the address and length of the GPE
11567 block must be zero if the block is not supported. Another section
11568 implies that only the address need be zero if the block is not
11569 supported. The code has been changed so that both the address and
11570 the length must be non-zero to indicate a valid GPE block (i.e.,
11571 if either the address or the length is zero, the GPE block is
11572 invalid.)
11573
11574 Code and Data Size: Current core subsystem library sizes are shown
11575 below. These are the code and data sizes for the acpica.lib
11576 produced by the Microsoft Visual C++ 6.0 compiler, and these
11577 values do not include any ACPI driver or OSPM code. The debug
11578 version of the code includes the debug output trace mechanism and
11579 has a much larger code and data size. Note that these values will
11580 vary depending on the efficiency of the compiler and the compiler
11581 options used during generation.
11582
11583 Previous Release
11584 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
11585 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
11586 Current Release:
11587 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11588 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
11589
11590
11591 2) Linux
11592
11593 Cleaned up EC driver. Exported an external EC read/write
11594 interface. By going through this, other drivers (most notably
11595 sonypi) will be able to serialize access to the EC.
11596
11597
11598 3) iASL Compiler/Disassembler
11599
11600 Implemented support to optionally generate include files for both
11601 ASM and C (the -i switch). This simplifies BIOS development by
11602 automatically creating include files that contain external
11603 declarations for the symbols that are created within the
11604
11605 (optionally generated) ASM and C AML source files.
11606
11607
11608 ----------------------------------------
11609 15 November 2002. Summary of changes for version 20021115.
11610
11611 1) ACPI CA Core Subsystem:
11612
11613 Fixed a memory leak problem where an error during resolution of
11614
11615 method arguments during a method invocation from another method
11616 failed to cleanup properly by deleting all successfully resolved
11617 argument objects.
11618
11619 Fixed a problem where the target of the Index() operator was not
11620 correctly constructed if the source object was a package. This
11621 problem has not been detected because the use of a target operand
11622 with Index() is very rare.
11623
11624 Fixed a problem with the Index() operator where an attempt was
11625 made to delete the operand objects twice.
11626
11627 Fixed a problem where an attempt was made to delete an operand
11628 twice during execution of the CondRefOf() operator if the target
11629 did not exist.
11630
11631 Implemented the first of perhaps several internal create object
11632 functions that create and initialize a specific object type. This
11633 consolidates duplicated code wherever the object is created, thus
11634 shrinking the size of the subsystem.
11635
11636 Implemented improved debug/error messages for errors that occur
11637 during nested method invocations. All executing method pathnames
11638 are displayed (with the error) as the call stack is unwound - thus
11639 simplifying debug.
11640
11641 Fixed a problem introduced in the 10/02 release that caused
11642 premature deletion of a buffer object if a buffer was used as an
11643 ASL operand where an integer operand is required (Thus causing an
11644 implicit object conversion from Buffer to Integer.) The change in
11645 the 10/02 release was attempting to fix a memory leak (albeit
11646 incorrectly.)
11647
11648 Code and Data Size: Current core subsystem library sizes are shown
11649 below. These are the code and data sizes for the acpica.lib
11650 produced by the Microsoft Visual C++ 6.0 compiler, and these
11651 values do not include any ACPI driver or OSPM code. The debug
11652 version of the code includes the debug output trace mechanism and
11653 has a much larger code and data size. Note that these values will
11654 vary depending on the efficiency of the compiler and the compiler
11655 options used during generation.
11656
11657 Previous Release
11658 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
11659 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
11660 Current Release:
11661 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
11662 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
11663
11664
11665 2) Linux
11666
11667 Changed the implementation of the ACPI semaphores to use down()
11668 instead of down_interruptable(). It is important that the
11669 execution of ACPI control methods not be interrupted by signals.
11670 Methods must run to completion, or the system may be left in an
11671 unknown/unstable state.
11672
11673 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
11674 (Shawn Starr)
11675
11676
11677 3) iASL Compiler/Disassembler
11678
11679
11680 Changed the default location of output files. All output files
11681 are now placed in the current directory by default instead of in
11682 the directory of the source file. This change may affect some
11683 existing makefiles, but it brings the behavior of the compiler in
11684 line with other similar tools. The location of the output files
11685 can be overridden with the -p command line switch.
11686
11687
11688 ----------------------------------------
11689 11 November 2002. Summary of changes for version 20021111.
11690
11691
11692 0) ACPI Specification 2.0B is released and is now available at:
11693 http://www.acpi.info/index.html
11694
11695
11696 1) ACPI CA Core Subsystem:
11697
11698 Implemented support for the ACPI 2.0 SMBus Operation Regions.
11699 This includes the early detection and handoff of the request to
11700 the SMBus region handler (avoiding all of the complex field
11701 support code), and support for the bidirectional return packet
11702 from an SMBus write operation. This paves the way for the
11703 development of SMBus drivers in each host operating system.
11704
11705 Fixed a problem where the semaphore WAIT_FOREVER constant was
11706 defined as 32 bits, but must be 16 bits according to the ACPI
11707 specification. This had the side effect of causing ASL
11708 Mutex/Event timeouts even though the ASL code requested a wait
11709 forever. Changed all internal references to the ACPI timeout
11710 parameter to 16 bits to prevent future problems. Changed the name
11711 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
11712
11713 Code and Data Size: Current core subsystem library sizes are shown
11714 below. These are the code and data sizes for the acpica.lib
11715 produced by the Microsoft Visual C++ 6.0 compiler, and these
11716 values do not include any ACPI driver or OSPM code. The debug
11717 version of the code includes the debug output trace mechanism and
11718 has a much larger code and data size. Note that these values will
11719 vary depending on the efficiency of the compiler and the compiler
11720 options used during generation.
11721
11722 Previous Release
11723 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11724 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
11725 Current Release:
11726 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
11727 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
11728
11729
11730 2) Linux
11731
11732 Module loading/unloading fixes (John Cagle)
11733
11734
11735 3) iASL Compiler/Disassembler
11736
11737 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
11738
11739 Implemented support for the disassembly of all SMBus protocol
11740 keywords (SMBQuick, SMBWord, etc.)
11741
11742 ----------------------------------------
11743 01 November 2002. Summary of changes for version 20021101.
11744
11745
11746 1) ACPI CA Core Subsystem:
11747
11748 Fixed a problem where platforms that have a GPE1 block but no GPE0
11749 block were not handled correctly. This resulted in a "GPE
11750 overlap" error message. GPE0 is no longer required.
11751
11752 Removed code added in the previous release that inserted nodes
11753 into the namespace in alphabetical order. This caused some side-
11754 effects on various machines. The root cause of the problem is
11755 still under investigation since in theory, the internal ordering
11756 of the namespace nodes should not matter.
11757
11758
11759 Enhanced error reporting for the case where a named object is not
11760 found during control method execution. The full ACPI namepath
11761 (name reference) of the object that was not found is displayed in
11762 this case.
11763
11764 Note: as a result of the overhaul of the namespace object types in
11765 the previous release, the namespace nodes for the predefined
11766 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
11767 instead of ACPI_TYPE_ANY. This simplifies the namespace
11768 management code but may affect code that walks the namespace tree
11769 looking for specific object types.
11770
11771 Code and Data Size: Current core subsystem library sizes are shown
11772 below. These are the code and data sizes for the acpica.lib
11773 produced by the Microsoft Visual C++ 6.0 compiler, and these
11774 values do not include any ACPI driver or OSPM code. The debug
11775 version of the code includes the debug output trace mechanism and
11776 has a much larger code and data size. Note that these values will
11777 vary depending on the efficiency of the compiler and the compiler
11778 options used during generation.
11779
11780 Previous Release
11781 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
11782 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
11783 Current Release:
11784 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11785 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
11786
11787
11788 2) Linux
11789
11790 Fixed a problem introduced in the previous release where the
11791 Processor and Thermal objects were not recognized and installed in
11792 /proc. This was related to the scope type change described above.
11793
11794
11795 3) iASL Compiler/Disassembler
11796
11797 Implemented the -g option to get all of the required ACPI tables
11798 from the registry and save them to files (Windows version of the
11799 compiler only.) The required tables are the FADT, FACS, and DSDT.
11800
11801 Added ACPI table checksum validation during table disassembly in
11802 order to catch corrupted tables.
11803
11804
11805 ----------------------------------------
11806 22 October 2002. Summary of changes for version 20021022.
11807
11808 1) ACPI CA Core Subsystem:
11809
11810 Implemented a restriction on the Scope operator that the target
11811 must already exist in the namespace at the time the operator is
11812 encountered (during table load or method execution). In other
11813 words, forward references are not allowed and Scope() cannot
11814 create a new object. This changes the previous behavior where the
11815 interpreter would create the name if not found. This new behavior
11816 correctly enables the search-to-root algorithm during namespace
11817 lookup of the target name. Because of this upsearch, this fixes
11818 the known Compaq _SB_.OKEC problem and makes both the AML
11819 interpreter and iASL compiler compatible with other ACPI
11820 implementations.
11821
11822 Completed a major overhaul of the internal ACPI object types for
11823 the ACPI Namespace and the associated operand objects. Many of
11824 these types had become obsolete with the introduction of the two-
11825 pass namespace load. This cleanup simplifies the code and makes
11826 the entire namespace load mechanism much clearer and easier to
11827 understand.
11828
11829 Improved debug output for tracking scope opening/closing to help
11830 diagnose scoping issues. The old scope name as well as the new
11831 scope name are displayed. Also improved error messages for
11832 problems with ASL Mutex objects and error messages for GPE
11833 problems.
11834
11835 Cleaned up the namespace dump code, removed obsolete code.
11836
11837 All string output (for all namespace/object dumps) now uses the
11838 common ACPI string output procedure which handles escapes properly
11839 and does not emit non-printable characters.
11840
11841 Fixed some issues with constants in the 64-bit version of the
11842 local C library (utclib.c)
11843
11844
11845 2) Linux
11846
11847 EC Driver: No longer attempts to acquire the Global Lock at
11848 interrupt level.
11849
11850
11851 3) iASL Compiler/Disassembler
11852
11853 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
11854 2 opcodes outside of a control method. This means that the
11855 "executable" operators (versus the "namespace" operators) cannot
11856 be used at the table level; they can only be used within a control
11857 method.
11858
11859 Implemented the restriction on the Scope() operator where the
11860 target must already exist in the namespace at the time the
11861 operator is encountered (during ASL compilation). In other words,
11862 forward references are not allowed and Scope() cannot create a new
11863 object. This makes the iASL compiler compatible with other ACPI
11864 implementations and makes the Scope() implementation adhere to the
11865 ACPI specification.
11866
11867 Fixed a problem where namepath optimization for the Alias operator
11868 was optimizing the wrong path (of the two namepaths.) This caused
11869 a "Missing alias link" error message.
11870
11871 Fixed a problem where an "unknown reserved name" warning could be
11872 incorrectly generated for names like "_SB" when the trailing
11873 underscore is not used in the original ASL.
11874
11875 Fixed a problem where the reserved name check did not handle
11876 NamePaths with multiple NameSegs correctly. The first nameseg of
11877 the NamePath was examined instead of the last NameSeg.
11878
11879
11880 ----------------------------------------
11881
11882 02 October 2002. Summary of changes for this release.
11883
11884
11885 1) ACPI CA Core Subsystem version 20021002:
11886
11887 Fixed a problem where a store/copy of a string to an existing
11888 string did not always set the string length properly in the String
11889 object.
11890
11891 Fixed a reported problem with the ToString operator where the
11892 behavior was identical to the ToHexString operator instead of just
11893 simply converting a raw buffer to a string data type.
11894
11895 Fixed a problem where CopyObject and the other "explicit"
11896 conversion operators were not updating the internal namespace node
11897 type as part of the store operation.
11898
11899 Fixed a memory leak during implicit source operand conversion
11900 where the original object was not deleted if it was converted to a
11901 new object of a different type.
11902
11903 Enhanced error messages for all problems associated with namespace
11904 lookups. Common procedure generates and prints the lookup name as
11905 well as the formatted status.
11906
11907 Completed implementation of a new design for the Alias support
11908 within the namespace. The existing design did not handle the case
11909 where a new object was assigned to one of the two names due to the
11910 use of an explicit conversion operator, resulting in the two names
11911 pointing to two different objects. The new design simply points
11912 the Alias name to the original name node - not to the object.
11913 This results in a level of indirection that must be handled in the
11914 name resolution mechanism.
11915
11916 Code and Data Size: Current core subsystem library sizes are shown
11917 below. These are the code and data sizes for the acpica.lib
11918 produced by the Microsoft Visual C++ 6.0 compiler, and these
11919 values do not include any ACPI driver or OSPM code. The debug
11920 version of the code includes the debug output trace mechanism and
11921 has a larger code and data size. Note that these values will vary
11922 depending on the efficiency of the compiler and the compiler
11923 options used during generation.
11924
11925 Previous Release
11926 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
11927 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
11928 Current Release:
11929 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
11930 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
11931
11932
11933 2) Linux
11934
11935 Initialize thermal driver's timer before it is used. (Knut
11936 Neumann)
11937
11938 Allow handling negative celsius values. (Kochi Takayoshi)
11939
11940 Fix thermal management and make trip points. R/W (Pavel Machek)
11941
11942 Fix /proc/acpi/sleep. (P. Christeas)
11943
11944 IA64 fixes. (David Mosberger)
11945
11946 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
11947
11948 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
11949 Brodowski)
11950
11951
11952 3) iASL Compiler/Disassembler
11953
11954 Clarified some warning/error messages.
11955
11956
11957 ----------------------------------------
11958 18 September 2002. Summary of changes for this release.
11959
11960
11961 1) ACPI CA Core Subsystem version 20020918:
11962
11963 Fixed a reported problem with reference chaining (via the Index()
11964 and RefOf() operators) in the ObjectType() and SizeOf() operators.
11965 The definition of these operators includes the dereferencing of
11966 all chained references to return information on the base object.
11967
11968 Fixed a problem with stores to indexed package elements - the
11969 existing code would not complete the store if an "implicit
11970 conversion" was not performed. In other words, if the existing
11971 object (package element) was to be replaced completely, the code
11972 didn't handle this case.
11973
11974 Relaxed typechecking on the ASL "Scope" operator to allow the
11975 target name to refer to an object of type Integer, String, or
11976 Buffer, in addition to the scoping object types (Device,
11977 predefined Scopes, Processor, PowerResource, and ThermalZone.)
11978 This allows existing AML code that has workarounds for a bug in
11979 Windows to function properly. A warning is issued, however. This
11980 affects both the AML interpreter and the iASL compiler. Below is
11981 an example of this type of ASL code:
11982
11983 Name(DEB,0x00)
11984 Scope(DEB)
11985 {
11986
11987 Fixed some reported problems with 64-bit integer support in the
11988 local implementation of C library functions (clib.c)
11989
11990
11991 2) Linux
11992
11993 Use ACPI fix map region instead of IOAPIC region, since it is
11994 undefined in non-SMP.
11995
11996 Ensure that the SCI has the proper polarity and trigger, even on
11997 systems that do not have an interrupt override entry in the MADT.
11998
11999 2.5 big driver reorganization (Pat Mochel)
12000
12001 Use early table mapping code from acpitable.c (Andi Kleen)
12002
12003 New blacklist entries (Andi Kleen)
12004
12005 Blacklist improvements. Split blacklist code out into a separate
12006 file. Move checking the blacklist to very early. Previously, we
12007 would use ACPI tables, and then halfway through init, check the
12008 blacklist -- too late. Now, it's early enough to completely fall-
12009 back to non-ACPI.
12010
12011
12012 3) iASL Compiler/Disassembler version 20020918:
12013
12014 Fixed a problem where the typechecking code didn't know that an
12015 alias could point to a method. In other words, aliases were not
12016 being dereferenced during typechecking.
12017
12018
12019 ----------------------------------------
12020 29 August 2002. Summary of changes for this release.
12021
12022 1) ACPI CA Core Subsystem Version 20020829:
12023
12024 If the target of a Scope() operator already exists, it must be an
12025 object type that actually opens a scope -- such as a Device,
12026 Method, Scope, etc. This is a fatal runtime error. Similar error
12027 check has been added to the iASL compiler also.
12028
12029 Tightened up the namespace load to disallow multiple names in the
12030 same scope. This previously was allowed if both objects were of
12031 the same type. (i.e., a lookup was the same as entering a new
12032 name).
12033
12034
12035 2) Linux
12036
12037 Ensure that the ACPI interrupt has the proper trigger and
12038 polarity.
12039
12040 local_irq_disable is extraneous. (Matthew Wilcox)
12041
12042 Make "acpi=off" actually do what it says, and not use the ACPI
12043 interpreter *or* the tables.
12044
12045 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
12046 Takayoshi)
12047
12048
12049 3) iASL Compiler/Disassembler Version 20020829:
12050
12051 Implemented namepath optimization for name declarations. For
12052 example, a declaration like "Method (\_SB_.ABCD)" would get
12053 optimized to "Method (ABCD)" if the declaration is within the
12054 \_SB_ scope. This optimization is in addition to the named
12055 reference path optimization first released in the previous
12056 version. This would seem to complete all possible optimizations
12057 for namepaths within the ASL/AML.
12058
12059 If the target of a Scope() operator already exists, it must be an
12060 object type that actually opens a scope -- such as a Device,
12061 Method, Scope, etc.
12062
12063 Implemented a check and warning for unreachable code in the same
12064 block below a Return() statement.
12065
12066 Fixed a problem where the listing file was not generated if the
12067 compiler aborted if the maximum error count was exceeded (200).
12068
12069 Fixed a problem where the typechecking of method return values was
12070 broken. This includes the check for a return value when the
12071 method is invoked as a TermArg (a return value is expected.)
12072
12073 Fixed a reported problem where EOF conditions during a quoted
12074 string or comment caused a fault.
12075
12076
12077 ----------------------------------------
12078 15 August 2002. Summary of changes for this release.
12079
12080 1) ACPI CA Core Subsystem Version 20020815:
12081
12082 Fixed a reported problem where a Store to a method argument that
12083 contains a reference did not perform the indirect store correctly.
12084 This problem was created during the conversion to the new
12085 reference object model - the indirect store to a method argument
12086 code was not updated to reflect the new model.
12087
12088 Reworked the ACPI mode change code to better conform to ACPI 2.0,
12089 handle corner cases, and improve code legibility (Kochi Takayoshi)
12090
12091 Fixed a problem with the pathname parsing for the carat (^)
12092 prefix. The heavy use of the carat operator by the new namepath
12093 optimization in the iASL compiler uncovered a problem with the AML
12094 interpreter handling of this prefix. In the case where one or
12095 more carats precede a single nameseg, the nameseg was treated as
12096 standalone and the search rule (to root) was inadvertently
12097 applied. This could cause both the iASL compiler and the
12098 interpreter to find the wrong object or to miss the error that
12099 should occur if the object does not exist at that exact pathname.
12100
12101 Found and fixed the problem where the HP Pavilion DSDT would not
12102 load. This was a relatively minor tweak to the table loading code
12103 (a problem caused by the unexpected encounter with a method
12104 invocation not within a control method), but it does not solve the
12105 overall issue of the execution of AML code at the table level.
12106 This investigation is still ongoing.
12107
12108 Code and Data Size: Current core subsystem library sizes are shown
12109 below. These are the code and data sizes for the acpica.lib
12110 produced by the Microsoft Visual C++ 6.0 compiler, and these
12111 values do not include any ACPI driver or OSPM code. The debug
12112 version of the code includes the debug output trace mechanism and
12113 has a larger code and data size. Note that these values will vary
12114 depending on the efficiency of the compiler and the compiler
12115 options used during generation.
12116
12117 Previous Release
12118 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
12119 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
12120 Current Release:
12121 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
12122 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
12123
12124
12125 2) Linux
12126
12127 Remove redundant slab.h include (Brad Hards)
12128
12129 Fix several bugs in thermal.c (Herbert Nachtnebel)
12130
12131 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
12132
12133 Change acpi_system_suspend to use updated irq functions (Pavel
12134 Machek)
12135
12136 Export acpi_get_firmware_table (Matthew Wilcox)
12137
12138 Use proper root proc entry for ACPI (Kochi Takayoshi)
12139
12140 Fix early-boot table parsing (Bjorn Helgaas)
12141
12142
12143 3) iASL Compiler/Disassembler
12144
12145 Reworked the compiler options to make them more consistent and to
12146 use two-letter options where appropriate. We were running out of
12147 sensible letters. This may break some makefiles, so check the
12148 current options list by invoking the compiler with no parameters.
12149
12150 Completed the design and implementation of the ASL namepath
12151 optimization option for the compiler. This option optimizes all
12152 references to named objects to the shortest possible path. The
12153 first attempt tries to utilize a single nameseg (4 characters) and
12154 the "search-to-root" algorithm used by the interpreter. If that
12155 cannot be used (because either the name is not in the search path
12156 or there is a conflict with another object with the same name),
12157 the pathname is optimized using the carat prefix (usually a
12158 shorter string than specifying the entire path from the root.)
12159
12160 Implemented support to obtain the DSDT from the Windows registry
12161 (when the disassembly option is specified with no input file).
12162 Added this code as the implementation for AcpiOsTableOverride in
12163 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
12164 utility) to scan memory for the DSDT to the AcpiOsTableOverride
12165 function in the DOS OSL to make the disassembler truly OS
12166 independent.
12167
12168 Implemented a new option to disassemble and compile in one step.
12169 When used without an input filename, this option will grab the
12170 DSDT from the local machine, disassemble it, and compile it in one
12171 step.
12172
12173 Added a warning message for invalid escapes (a backslash followed
12174 by any character other than the allowable escapes). This catches
12175 the quoted string error "\_SB_" (which should be "\\_SB_" ).
12176
12177 Also, there are numerous instances in the ACPI specification where
12178 this error occurs.
12179
12180 Added a compiler option to disable all optimizations. This is
12181 basically the "compatibility mode" because by using this option,
12182 the AML code will come out exactly the same as other ASL
12183 compilers.
12184
12185 Added error messages for incorrectly ordered dependent resource
12186 functions. This includes: missing EndDependentFn macro at end of
12187 dependent resource list, nested dependent function macros (both
12188 start and end), and missing StartDependentFn macro. These are
12189 common errors that should be caught at compile time.
12190
12191 Implemented _OSI support for the disassembler and compiler. _OSI
12192 must be included in the namespace for proper disassembly (because
12193 the disassembler must know the number of arguments.)
12194
12195 Added an "optimization" message type that is optional (off by
12196 default). This message is used for all optimizations - including
12197 constant folding, integer optimization, and namepath optimization.
12198
12199 ----------------------------------------
12200 25 July 2002. Summary of changes for this release.
12201
12202
12203 1) ACPI CA Core Subsystem Version 20020725:
12204
12205 The AML Disassembler has been enhanced to produce compilable ASL
12206 code and has been integrated into the iASL compiler (see below) as
12207 well as the single-step disassembly for the AML debugger and the
12208 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
12209 resource templates and macros are fully supported. The
12210 disassembler has been tested on over 30 different AML files,
12211 producing identical AML when the resulting disassembled ASL file
12212 is recompiled with the same ASL compiler.
12213
12214 Modified the Resource Manager to allow zero interrupts and zero
12215 dma channels during the GetCurrentResources call. This was
12216 causing problems on some platforms.
12217
12218 Added the AcpiOsRedirectOutput interface to the OSL to simplify
12219 output redirection for the AcpiOsPrintf and AcpiOsVprintf
12220 interfaces.
12221
12222 Code and Data Size: Current core subsystem library sizes are shown
12223 below. These are the code and data sizes for the acpica.lib
12224 produced by the Microsoft Visual C++ 6.0 compiler, and these
12225 values do not include any ACPI driver or OSPM code. The debug
12226 version of the code includes the debug output trace mechanism and
12227 has a larger code and data size. Note that these values will vary
12228 depending on the efficiency of the compiler and the compiler
12229 options used during generation.
12230
12231 Previous Release
12232 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
12233 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
12234 Current Release:
12235 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
12236 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
12237
12238
12239 2) Linux
12240
12241 Fixed a panic in the EC driver (Dominik Brodowski)
12242
12243 Implemented checksum of the R/XSDT itself during Linux table scan
12244 (Richard Schaal)
12245
12246
12247 3) iASL compiler
12248
12249 The AML disassembler is integrated into the compiler. The "-d"
12250 option invokes the disassembler to completely disassemble an
12251 input AML file, producing as output a text ASL file with the
12252 extension ".dsl" (to avoid name collisions with existing .asl
12253 source files.) A future enhancement will allow the disassembler
12254 to obtain the BIOS DSDT from the registry under Windows.
12255
12256 Fixed a problem with the VendorShort and VendorLong resource
12257 descriptors where an invalid AML sequence was created.
12258
12259 Implemented a fix for BufferData term in the ASL parser. It was
12260 inadvertently defined twice, allowing invalid syntax to pass and
12261 causing reduction conflicts.
12262
12263 Fixed a problem where the Ones opcode could get converted to a
12264 value of zero if "Ones" was used where a byte, word or dword value
12265 was expected. The 64-bit value is now truncated to the correct
12266 size with the correct value.
12267
12268
12269
12270 ----------------------------------------
12271 02 July 2002. Summary of changes for this release.
12272
12273
12274 1) ACPI CA Core Subsystem Version 20020702:
12275
12276 The Table Manager code has been restructured to add several new
12277 features. Tables that are not required by the core subsystem
12278 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
12279 validated in any way and are returned from AcpiGetFirmwareTable if
12280 requested. The AcpiOsTableOverride interface is now called for
12281 each table that is loaded by the subsystem in order to allow the
12282 host to override any table it chooses. Previously, only the DSDT
12283 could be overridden. Added one new files, tbrsdt.c and
12284 tbgetall.c.
12285
12286 Fixed a problem with the conversion of internal package objects to
12287 external objects (when a package is returned from a control
12288 method.) The return buffer length was set to zero instead of the
12289 proper length of the package object.
12290
12291 Fixed a reported problem with the use of the RefOf and DeRefOf
12292 operators when passing reference arguments to control methods. A
12293 new type of Reference object is used internally for references
12294 produced by the RefOf operator.
12295
12296 Added additional error messages in the Resource Manager to explain
12297 AE_BAD_DATA errors when they occur during resource parsing.
12298
12299 Split the AcpiEnableSubsystem into two primitives to enable a
12300 finer granularity initialization sequence. These two calls should
12301 be called in this order: AcpiEnableSubsystem (flags),
12302 AcpiInitializeObjects (flags). The flags parameter remains the
12303 same.
12304
12305
12306 2) Linux
12307
12308 Updated the ACPI utilities module to understand the new style of
12309 fully resolved package objects that are now returned from the core
12310 subsystem. This eliminates errors of the form:
12311
12312 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
12313 acpi_utils-0430 [145] acpi_evaluate_reference:
12314 Invalid element in package (not a device reference)
12315
12316 The method evaluation utility uses the new buffer allocation
12317 scheme instead of calling AcpiEvaluate Object twice.
12318
12319 Added support for ECDT. This allows the use of the Embedded
12320
12321 Controller before the namespace has been fully initialized, which
12322 is necessary for ACPI 2.0 support, and for some laptops to
12323 initialize properly. (Laptops using ECDT are still rare, so only
12324 limited testing was performed of the added functionality.)
12325
12326 Fixed memory leaks in the EC driver.
12327
12328 Eliminated a brittle code structure in acpi_bus_init().
12329
12330 Eliminated the acpi_evaluate() helper function in utils.c. It is
12331 no longer needed since acpi_evaluate_object can optionally
12332 allocate memory for the return object.
12333
12334 Implemented fix for keyboard hang when getting battery readings on
12335 some systems (Stephen White)
12336
12337 PCI IRQ routing update (Dominik Brodowski)
12338
12339 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
12340 support
12341
12342 ----------------------------------------
12343 11 June 2002. Summary of changes for this release.
12344
12345
12346 1) ACPI CA Core Subsystem Version 20020611:
12347
12348 Fixed a reported problem where constants such as Zero and One
12349 appearing within _PRT packages were not handled correctly within
12350 the resource manager code. Originally reported against the ASL
12351 compiler because the code generator now optimizes integers to
12352 their minimal AML representation (i.e. AML constants if possible.)
12353 The _PRT code now handles all AML constant opcodes correctly
12354 (Zero, One, Ones, Revision).
12355
12356 Fixed a problem with the Concatenate operator in the AML
12357 interpreter where a buffer result object was incorrectly marked as
12358 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
12359
12360 All package sub-objects are now fully resolved before they are
12361 returned from the external ACPI interfaces. This means that name
12362 strings are resolved to object handles, and constant operators
12363 (Zero, One, Ones, Revision) are resolved to Integers.
12364
12365 Implemented immediate resolution of the AML Constant opcodes
12366 (Zero, One, Ones, Revision) to Integer objects upon detection
12367 within the AML stream. This has simplified and reduced the
12368 generated code size of the subsystem by eliminating about 10
12369 switch statements for these constants (which previously were
12370 contained in Reference objects.) The complicating issues are that
12371 the Zero opcode is used as a "placeholder" for unspecified
12372 optional target operands and stores to constants are defined to be
12373 no-ops.
12374
12375 Code and Data Size: Current core subsystem library sizes are shown
12376 below. These are the code and data sizes for the acpica.lib
12377 produced by the Microsoft Visual C++ 6.0 compiler, and these
12378 values do not include any ACPI driver or OSPM code. The debug
12379 version of the code includes the debug output trace mechanism and
12380 has a larger code and data size. Note that these values will vary
12381 depending on the efficiency of the compiler and the compiler
12382 options used during generation.
12383
12384 Previous Release
12385 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
12386 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
12387 Current Release:
12388 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
12389 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
12390
12391
12392 2) Linux
12393
12394
12395 Added preliminary support for obtaining _TRA data for PCI root
12396 bridges (Bjorn Helgaas).
12397
12398
12399 3) iASL Compiler Version X2046:
12400
12401 Fixed a problem where the "_DDN" reserved name was defined to be a
12402 control method with one argument. There are no arguments, and
12403 _DDN does not have to be a control method.
12404
12405 Fixed a problem with the Linux version of the compiler where the
12406 source lines printed with error messages were the wrong lines.
12407 This turned out to be the "LF versus CR/LF" difference between
12408 Windows and Unix. This appears to be the longstanding issue
12409 concerning listing output and error messages.
12410
12411 Fixed a problem with the Linux version of compiler where opcode
12412 names within error messages were wrong. This was caused by a
12413 slight difference in the output of the Flex tool on Linux versus
12414 Windows.
12415
12416 Fixed a problem with the Linux compiler where the hex output files
12417 contained some garbage data caused by an internal buffer overrun.
12418
12419
12420 ----------------------------------------
12421 17 May 2002. Summary of changes for this release.
12422
12423
12424 1) ACPI CA Core Subsystem Version 20020517:
12425
12426 Implemented a workaround to an BIOS bug discovered on the HP
12427 OmniBook where the FADT revision number and the table size are
12428 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
12429 behavior is to fallback to using only the ACPI 1.0 fields of the
12430 FADT if the table is too small to be a ACPI 2.0 table as claimed
12431 by the revision number. Although this is a BIOS bug, this is a
12432 case where the workaround is simple enough and with no side
12433 effects, so it seemed prudent to add it. A warning message is
12434 issued, however.
12435
12436 Implemented minimum size checks for the fixed-length ACPI tables -
12437 - the FADT and FACS, as well as consistency checks between the
12438 revision number and the table size.
12439
12440 Fixed a reported problem in the table override support where the
12441 new table pointer was incorrectly treated as a physical address
12442 instead of a logical address.
12443
12444 Eliminated the use of the AE_AML_ERROR exception and replaced it
12445 with more descriptive codes.
12446
12447 Fixed a problem where an exception would occur if an ASL Field was
12448 defined with no named Field Units underneath it (used by some
12449 index fields).
12450
12451 Code and Data Size: Current core subsystem library sizes are shown
12452 below. These are the code and data sizes for the acpica.lib
12453 produced by the Microsoft Visual C++ 6.0 compiler, and these
12454 values do not include any ACPI driver or OSPM code. The debug
12455 version of the code includes the debug output trace mechanism and
12456 has a larger code and data size. Note that these values will vary
12457 depending on the efficiency of the compiler and the compiler
12458 options used during generation.
12459
12460 Previous Release
12461 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
12462 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
12463 Current Release:
12464 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
12465 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
12466
12467
12468
12469 2) Linux
12470
12471 Much work done on ACPI init (MADT and PCI IRQ routing support).
12472 (Paul D. and Dominik Brodowski)
12473
12474 Fix PCI IRQ-related panic on boot (Sam Revitch)
12475
12476 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
12477
12478 Fix "MHz" typo (Dominik Brodowski)
12479
12480 Fix RTC year 2000 issue (Dominik Brodowski)
12481
12482 Preclude multiple button proc entries (Eric Brunet)
12483
12484 Moved arch-specific code out of include/platform/aclinux.h
12485
12486 3) iASL Compiler Version X2044:
12487
12488 Implemented error checking for the string used in the EISAID macro
12489 (Usually used in the definition of the _HID object.) The code now
12490 strictly enforces the PnP format - exactly 7 characters, 3
12491 uppercase letters and 4 hex digits.
12492
12493 If a raw string is used in the definition of the _HID object
12494 (instead of the EISAID macro), the string must contain all
12495 alphanumeric characters (e.g., "*PNP0011" is not allowed because
12496 of the asterisk.)
12497
12498 Implemented checking for invalid use of ACPI reserved names for
12499 most of the name creation operators (Name, Device, Event, Mutex,
12500 OperationRegion, PowerResource, Processor, and ThermalZone.)
12501 Previously, this check was only performed for control methods.
12502
12503 Implemented an additional check on the Name operator to emit an
12504 error if a reserved name that must be implemented in ASL as a
12505 control method is used. We know that a reserved name must be a
12506 method if it is defined with input arguments.
12507
12508 The warning emitted when a namespace object reference is not found
12509 during the cross reference phase has been changed into an error.
12510 The "External" directive should be used for names defined in other
12511 modules.
12512
12513
12514 4) Tools and Utilities
12515
12516 The 16-bit tools (adump16 and aexec16) have been regenerated and
12517 tested.
12518
12519 Fixed a problem with the output of both acpidump and adump16 where
12520 the indentation of closing parentheses and brackets was not
12521
12522 aligned properly with the parent block.
12523
12524
12525 ----------------------------------------
12526 03 May 2002. Summary of changes for this release.
12527
12528
12529 1) ACPI CA Core Subsystem Version 20020503:
12530
12531 Added support a new OSL interface that allows the host operating
12532
12533 system software to override the DSDT found in the firmware -
12534 AcpiOsTableOverride. With this interface, the OSL can examine the
12535 version of the firmware DSDT and replace it with a different one
12536 if desired.
12537
12538 Added new external interfaces for accessing ACPI registers from
12539 device drivers and other system software - AcpiGetRegister and
12540 AcpiSetRegister. This was simply an externalization of the
12541 existing AcpiHwBitRegister interfaces.
12542
12543 Fixed a regression introduced in the previous build where the
12544 ASL/AML CreateField operator always returned an error,
12545 "destination must be a NS Node".
12546
12547 Extended the maximum time (before failure) to successfully enable
12548 ACPI mode to 3 seconds.
12549
12550 Code and Data Size: Current core subsystem library sizes are shown
12551 below. These are the code and data sizes for the acpica.lib
12552 produced by the Microsoft Visual C++ 6.0 compiler, and these
12553 values do not include any ACPI driver or OSPM code. The debug
12554 version of the code includes the debug output trace mechanism and
12555 has a larger code and data size. Note that these values will vary
12556 depending on the efficiency of the compiler and the compiler
12557 options used during generation.
12558
12559 Previous Release
12560 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
12561 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
12562 Current Release:
12563 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
12564 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
12565
12566
12567 2) Linux
12568
12569 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
12570 free. While 3 out of 4 of our in-house systems work fine, the last
12571 one still hangs when testing the LAPIC timer.
12572
12573 Renamed many files in 2.5 kernel release to omit "acpi_" from the
12574 name.
12575
12576 Added warning on boot for Presario 711FR.
12577
12578 Sleep improvements (Pavel Machek)
12579
12580 ACPI can now be built without CONFIG_PCI enabled.
12581
12582 IA64: Fixed memory map functions (JI Lee)
12583
12584
12585 3) iASL Compiler Version X2043:
12586
12587 Added support to allow the compiler to be integrated into the MS
12588 VC++ development environment for one-button compilation of single
12589 files or entire projects -- with error-to-source-line mapping.
12590
12591 Implemented support for compile-time constant folding for the
12592 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
12593 specification. This allows the ASL writer to use expressions
12594 instead of Integer/Buffer/String constants in terms that must
12595 evaluate to constants at compile time and will also simplify the
12596 emitted AML in any such sub-expressions that can be folded
12597 (evaluated at compile-time.) This increases the size of the
12598 compiler significantly because a portion of the ACPI CA AML
12599 interpreter is included within the compiler in order to pre-
12600 evaluate constant expressions.
12601
12602
12603 Fixed a problem with the "Unicode" ASL macro that caused the
12604 compiler to fault. (This macro is used in conjunction with the
12605 _STR reserved name.)
12606
12607 Implemented an AML opcode optimization to use the Zero, One, and
12608 Ones opcodes where possible to further reduce the size of integer
12609 constants and thus reduce the overall size of the generated AML
12610 code.
12611
12612 Implemented error checking for new reserved terms for ACPI version
12613 2.0A.
12614
12615 Implemented the -qr option to display the current list of ACPI
12616 reserved names known to the compiler.
12617
12618 Implemented the -qc option to display the current list of ASL
12619 operators that are allowed within constant expressions and can
12620 therefore be folded at compile time if the operands are constants.
12621
12622
12623 4) Documentation
12624
12625 Updated the Programmer's Reference for new interfaces, data types,
12626 and memory allocation model options.
12627
12628 Updated the iASL Compiler User Reference to apply new format and
12629 add information about new features and options.
12630
12631 ----------------------------------------
12632 19 April 2002. Summary of changes for this release.
12633
12634 1) ACPI CA Core Subsystem Version 20020419:
12635
12636 The source code base for the Core Subsystem has been completely
12637 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
12638 versions. The Lint option files used are included in the
12639 /acpi/generate/lint directory.
12640
12641 Implemented enhanced status/error checking across the entire
12642 Hardware manager subsystem. Any hardware errors (reported from
12643 the OSL) are now bubbled up and will abort a running control
12644 method.
12645
12646
12647 Fixed a problem where the per-ACPI-table integer width (32 or 64)
12648 was stored only with control method nodes, causing a fault when
12649 non-control method code was executed during table loading. The
12650 solution implemented uses a global variable to indicate table
12651 width across the entire ACPI subsystem. Therefore, ACPI CA does
12652 not support mixed integer widths across different ACPI tables
12653 (DSDT, SSDT).
12654
12655 Fixed a problem where NULL extended fields (X fields) in an ACPI
12656 2.0 ACPI FADT caused the table load to fail. Although the
12657 existing ACPI specification is a bit fuzzy on this topic, the new
12658 behavior is to fall back on a ACPI 1.0 field if the corresponding
12659 ACPI 2.0 X field is zero (even though the table revision indicates
12660 a full ACPI 2.0 table.) The ACPI specification will be updated to
12661 clarify this issue.
12662
12663 Fixed a problem with the SystemMemory operation region handler
12664 where memory was always accessed byte-wise even if the AML-
12665 specified access width was larger than a byte. This caused
12666 problems on systems with memory-mapped I/O. Memory is now
12667 accessed with the width specified. On systems that do not support
12668 non-aligned transfers, a check is made to guarantee proper address
12669 alignment before proceeding in order to avoid an AML-caused
12670 alignment fault within the kernel.
12671
12672
12673 Fixed a problem with the ExtendedIrq resource where only one byte
12674 of the 4-byte Irq field was extracted.
12675
12676 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
12677 function was out of date and required a rewrite.
12678
12679 Code and Data Size: Current core subsystem library sizes are shown
12680 below. These are the code and data sizes for the acpica.lib
12681 produced by the Microsoft Visual C++ 6.0 compiler, and these
12682 values do not include any ACPI driver or OSPM code. The debug
12683 version of the code includes the debug output trace mechanism and
12684 has a larger code and data size. Note that these values will vary
12685 depending on the efficiency of the compiler and the compiler
12686 options used during generation.
12687
12688 Previous Release
12689 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
12690 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
12691 Current Release:
12692 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
12693 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
12694
12695
12696 2) Linux
12697
12698 PCI IRQ routing fixes (Dominik Brodowski)
12699
12700
12701 3) iASL Compiler Version X2042:
12702
12703 Implemented an additional compile-time error check for a field
12704 unit whose size + minimum access width would cause a run-time
12705 access beyond the end-of-region. Previously, only the field size
12706 itself was checked.
12707
12708 The Core subsystem and iASL compiler now share a common parse
12709 object in preparation for compile-time evaluation of the type
12710 3/4/5 ASL operators.
12711
12712
12713 ----------------------------------------
12714 Summary of changes for this release: 03_29_02
12715
12716 1) ACPI CA Core Subsystem Version 20020329:
12717
12718 Implemented support for late evaluation of TermArg operands to
12719 Buffer and Package objects. This allows complex expressions to be
12720 used in the declarations of these object types.
12721
12722 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
12723 1.0, if the field was larger than 32 bits, it was returned as a
12724 buffer - otherwise it was returned as an integer. In ACPI 2.0,
12725 the field is returned as a buffer only if the field is larger than
12726 64 bits. The TableRevision is now considered when making this
12727 conversion to avoid incompatibility with existing ASL code.
12728
12729 Implemented logical addressing for AcpiOsGetRootPointer. This
12730 allows an RSDP with either a logical or physical address. With
12731 this support, the host OS can now override all ACPI tables with
12732 one logical RSDP. Includes implementation of "typed" pointer
12733 support to allow a common data type for both physical and logical
12734 pointers internally. This required a change to the
12735 AcpiOsGetRootPointer interface.
12736
12737 Implemented the use of ACPI 2.0 Generic Address Structures for all
12738 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
12739 mapped I/O for these ACPI features.
12740
12741 Initialization now ignores not only non-required tables (All
12742 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
12743 not validate the table headers of unrecognized tables.
12744
12745 Fixed a problem where a notify handler could only be
12746 installed/removed on an object of type Device. All "notify"
12747
12748 objects are now supported -- Devices, Processor, Power, and
12749 Thermal.
12750
12751 Removed most verbosity from the ACPI_DB_INFO debug level. Only
12752 critical information is returned when this debug level is enabled.
12753
12754 Code and Data Size: Current core subsystem library sizes are shown
12755 below. These are the code and data sizes for the acpica.lib
12756 produced by the Microsoft Visual C++ 6.0 compiler, and these
12757 values do not include any ACPI driver or OSPM code. The debug
12758 version of the code includes the debug output trace mechanism and
12759 has a larger code and data size. Note that these values will vary
12760 depending on the efficiency of the compiler and the compiler
12761 options used during generation.
12762
12763 Previous Release
12764 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
12765 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
12766 Current Release:
12767 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
12768 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
12769
12770
12771 2) Linux:
12772
12773 The processor driver (acpi_processor.c) now fully supports ACPI
12774 2.0-based processor performance control (e.g. Intel(R)
12775 SpeedStep(TM) technology) Note that older laptops that only have
12776 the Intel "applet" interface are not supported through this. The
12777 'limit' and 'performance' interface (/proc) are fully functional.
12778 [Note that basic policy for controlling performance state
12779 transitions will be included in the next version of ospmd.] The
12780 idle handler was modified to more aggressively use C2, and PIIX4
12781 errata handling underwent a complete overhaul (big thanks to
12782 Dominik Brodowski).
12783
12784 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
12785 based devices in the ACPI namespace are now dynamically bound
12786 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
12787 This allows, among other things, ACPI to resolve bus numbers for
12788 subordinate PCI bridges.
12789
12790 Enhanced PCI IRQ routing to get the proper bus number for _PRT
12791 entries defined underneath PCI bridges.
12792
12793 Added IBM 600E to bad bios list due to invalid _ADR value for
12794 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
12795
12796 In the process of adding full MADT support (e.g. IOAPIC) for IA32
12797 (acpi.c, mpparse.c) -- stay tuned.
12798
12799 Added back visual differentiation between fixed-feature and
12800 control-method buttons in dmesg. Buttons are also subtyped (e.g.
12801 button/power/PWRF) to simplify button identification.
12802
12803 We no longer use -Wno-unused when compiling debug. Please ignore
12804 any "_THIS_MODULE defined but not used" messages.
12805
12806 Can now shut down the system using "magic sysrq" key.
12807
12808
12809 3) iASL Compiler version 2041:
12810
12811 Fixed a problem where conversion errors for hex/octal/decimal
12812 constants were not reported.
12813
12814 Implemented a fix for the General Register template Address field.
12815 This field was 8 bits when it should be 64.
12816
12817 Fixed a problem where errors/warnings were no longer being emitted
12818 within the listing output file.
12819
12820 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
12821 exactly 4 characters, alphanumeric only.
12822
12823
12824
12825
12826 ----------------------------------------
12827 Summary of changes for this release: 03_08_02
12828
12829
12830 1) ACPI CA Core Subsystem Version 20020308:
12831
12832 Fixed a problem with AML Fields where the use of the "AccessAny"
12833 keyword could cause an interpreter error due to attempting to read
12834 or write beyond the end of the parent Operation Region.
12835
12836 Fixed a problem in the SystemMemory Operation Region handler where
12837 an attempt was made to map memory beyond the end of the region.
12838 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
12839 errors on some Linux systems.
12840
12841 Fixed a problem where the interpreter/namespace "search to root"
12842 algorithm was not functioning for some object types. Relaxed the
12843 internal restriction on the search to allow upsearches for all
12844 external object types as well as most internal types.
12845
12846
12847 2) Linux:
12848
12849 We now use safe_halt() macro versus individual calls to sti | hlt.
12850
12851 Writing to the processor limit interface should now work. "echo 1"
12852 will increase the limit, 2 will decrease, and 0 will reset to the
12853
12854 default.
12855
12856
12857 3) ASL compiler:
12858
12859 Fixed segfault on Linux version.
12860
12861
12862 ----------------------------------------
12863 Summary of changes for this release: 02_25_02
12864
12865 1) ACPI CA Core Subsystem:
12866
12867
12868 Fixed a problem where the GPE bit masks were not initialized
12869 properly, causing erratic GPE behavior.
12870
12871 Implemented limited support for multiple calling conventions. The
12872 code can be generated with either the VPL (variable parameter
12873 list, or "C") convention, or the FPL (fixed parameter list, or
12874 "Pascal") convention. The core subsystem is about 3.4% smaller
12875 when generated with FPL.
12876
12877
12878 2) Linux
12879
12880 Re-add some /proc/acpi/event functionality that was lost during
12881 the rewrite
12882
12883 Resolved issue with /proc events for fixed-feature buttons showing
12884 up as the system device.
12885
12886 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
12887
12888 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
12889
12890 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
12891
12892 Fixed limit interface & usage to fix bugs with passive cooling
12893 hysterisis.
12894
12895 Restructured PRT support.
12896
12897
12898 ----------------------------------------
12899 Summary of changes for this label: 02_14_02
12900
12901
12902 1) ACPI CA Core Subsystem:
12903
12904 Implemented support in AcpiLoadTable to allow loading of FACS and
12905 FADT tables.
12906
12907 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
12908 been removed. All 64-bit platforms should be migrated to the ACPI
12909 2.0 tables. The actbl71.h header has been removed from the source
12910 tree.
12911
12912 All C macros defined within the subsystem have been prefixed with
12913 "ACPI_" to avoid collision with other system include files.
12914
12915 Removed the return value for the two AcpiOsPrint interfaces, since
12916 it is never used and causes lint warnings for ignoring the return
12917 value.
12918
12919 Added error checking to all internal mutex acquire and release
12920 calls. Although a failure from one of these interfaces is
12921 probably a fatal system error, these checks will cause the
12922 immediate abort of the currently executing method or interface.
12923
12924 Fixed a problem where the AcpiSetCurrentResources interface could
12925 fault. This was a side effect of the deployment of the new memory
12926 allocation model.
12927
12928 Fixed a couple of problems with the Global Lock support introduced
12929 in the last major build. The "common" (1.0/2.0) internal FACS was
12930 being overwritten with the FACS signature and clobbering the
12931 Global Lock pointer. Also, the actual firmware FACS was being
12932 unmapped after construction of the "common" FACS, preventing
12933 access to the actual Global Lock field within it. The "common"
12934 internal FACS is no longer installed as an actual ACPI table; it
12935 is used simply as a global.
12936
12937 Code and Data Size: Current core subsystem library sizes are shown
12938 below. These are the code and data sizes for the acpica.lib
12939 produced by the Microsoft Visual C++ 6.0 compiler, and these
12940 values do not include any ACPI driver or OSPM code. The debug
12941 version of the code includes the debug output trace mechanism and
12942 has a larger code and data size. Note that these values will vary
12943 depending on the efficiency of the compiler and the compiler
12944 options used during generation.
12945
12946 Previous Release (02_07_01)
12947 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
12948 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
12949 Current Release:
12950 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
12951 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
12952
12953
12954 2) Linux
12955
12956 Updated Linux-specific code for core macro and OSL interface
12957 changes described above.
12958
12959 Improved /proc/acpi/event. It now can be opened only once and has
12960 proper poll functionality.
12961
12962 Fixed and restructured power management (acpi_bus).
12963
12964 Only create /proc "view by type" when devices of that class exist.
12965
12966 Fixed "charging/discharging" bug (and others) in acpi_battery.
12967
12968 Improved thermal zone code.
12969
12970
12971 3) ASL Compiler, version X2039:
12972
12973
12974 Implemented the new compiler restriction on ASL String hex/octal
12975 escapes to non-null, ASCII values. An error results if an invalid
12976 value is used. (This will require an ACPI 2.0 specification
12977 change.)
12978
12979 AML object labels that are output to the optional C and ASM source
12980 are now prefixed with both the ACPI table signature and table ID
12981 to help guarantee uniqueness within a large BIOS project.
12982
12983
12984 ----------------------------------------
12985 Summary of changes for this label: 02_01_02
12986
12987 1) ACPI CA Core Subsystem:
12988
12989 ACPI 2.0 support is complete in the entire Core Subsystem and the
12990 ASL compiler. All new ACPI 2.0 operators are implemented and all
12991 other changes for ACPI 2.0 support are complete. With
12992 simultaneous code and data optimizations throughout the subsystem,
12993 ACPI 2.0 support has been implemented with almost no additional
12994 cost in terms of code and data size.
12995
12996 Implemented a new mechanism for allocation of return buffers. If
12997 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
12998 be allocated on behalf of the caller. Consolidated all return
12999 buffer validation and allocation to a common procedure. Return
13000 buffers will be allocated via the primary OSL allocation interface
13001 since it appears that a separate pool is not needed by most users.
13002 If a separate pool is required for these buffers, the caller can
13003 still use the original mechanism and pre-allocate the buffer(s).
13004
13005 Implemented support for string operands within the DerefOf
13006 operator.
13007
13008 Restructured the Hardware and Event managers to be table driven,
13009 simplifying the source code and reducing the amount of generated
13010 code.
13011
13012 Split the common read/write low-level ACPI register bitfield
13013 procedure into a separate read and write, simplifying the code
13014 considerably.
13015
13016 Obsoleted the AcpiOsCallocate OSL interface. This interface was
13017 used only a handful of times and didn't have enough critical mass
13018 for a separate interface. Replaced with a common calloc procedure
13019 in the core.
13020
13021 Fixed a reported problem with the GPE number mapping mechanism
13022 that allows GPE1 numbers to be non-contiguous with GPE0.
13023 Reorganized the GPE information and shrunk a large array that was
13024 originally large enough to hold info for all possible GPEs (256)
13025 to simply large enough to hold all GPEs up to the largest GPE
13026 number on the machine.
13027
13028 Fixed a reported problem with resource structure alignment on 64-
13029 bit platforms.
13030
13031 Changed the AcpiEnableEvent and AcpiDisableEvent external
13032 interfaces to not require any flags for the common case of
13033 enabling/disabling a GPE.
13034
13035 Implemented support to allow a "Notify" on a Processor object.
13036
13037 Most TBDs in comments within the source code have been resolved
13038 and eliminated.
13039
13040
13041 Fixed a problem in the interpreter where a standalone parent
13042 prefix (^) was not handled correctly in the interpreter and
13043 debugger.
13044
13045 Removed obsolete and unnecessary GPE save/restore code.
13046
13047 Implemented Field support in the ASL Load operator. This allows a
13048 table to be loaded from a named field, in addition to loading a
13049 table directly from an Operation Region.
13050
13051 Implemented timeout and handle support in the external Global Lock
13052 interfaces.
13053
13054 Fixed a problem in the AcpiDump utility where pathnames were no
13055 longer being generated correctly during the dump of named objects.
13056
13057 Modified the AML debugger to give a full display of if/while
13058 predicates instead of just one AML opcode at a time. (The
13059 predicate can have several nested ASL statements.) The old method
13060 was confusing during single stepping.
13061
13062 Code and Data Size: Current core subsystem library sizes are shown
13063 below. These are the code and data sizes for the acpica.lib
13064 produced by the Microsoft Visual C++ 6.0 compiler, and these
13065 values do not include any ACPI driver or OSPM code. The debug
13066 version of the code includes the debug output trace mechanism and
13067 has a larger code and data size. Note that these values will vary
13068 depending on the efficiency of the compiler and the compiler
13069 options used during generation.
13070
13071 Previous Release (12_18_01)
13072 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
13073 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
13074 Current Release:
13075 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
13076 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
13077
13078 2) Linux
13079
13080 Implemented fix for PIIX reverse throttling errata (Processor
13081 driver)
13082
13083 Added new Limit interface (Processor and Thermal drivers)
13084
13085 New thermal policy (Thermal driver)
13086
13087 Many updates to /proc
13088
13089 Battery "low" event support (Battery driver)
13090
13091 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
13092
13093 IA32 - IA64 initialization unification, no longer experimental
13094
13095 Menuconfig options redesigned
13096
13097 3) ASL Compiler, version X2037:
13098
13099 Implemented several new output features to simplify integration of
13100 AML code into firmware: 1) Output the AML in C source code with
13101 labels for each named ASL object. The original ASL source code
13102 is interleaved as C comments. 2) Output the AML in ASM source code
13103 with labels and interleaved ASL source. 3) Output the AML in
13104 raw hex table form, in either C or ASM.
13105
13106 Implemented support for optional string parameters to the
13107 LoadTable operator.
13108
13109 Completed support for embedded escape sequences within string
13110 literals. The compiler now supports all single character escapes
13111 as well as the Octal and Hex escapes. Note: the insertion of a
13112 null byte into a string literal (via the hex/octal escape) causes
13113 the string to be immediately terminated. A warning is issued.
13114
13115 Fixed a problem where incorrect AML was generated for the case
13116 where an ASL namepath consists of a single parent prefix (
13117
13118 ) with no trailing name segments.
13119
13120 The compiler has been successfully generated with a 64-bit C
13121 compiler.
13122
13123
13124
13125
13126 ----------------------------------------
13127 Summary of changes for this label: 12_18_01
13128
13129 1) Linux
13130
13131 Enhanced blacklist with reason and severity fields. Any table's
13132 signature may now be used to identify a blacklisted system.
13133
13134 Call _PIC control method to inform the firmware which interrupt
13135 model the OS is using. Turn on any disabled link devices.
13136
13137 Cleaned up busmgr /proc error handling (Andreas Dilger)
13138
13139 2) ACPI CA Core Subsystem:
13140
13141 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
13142 while loop)
13143
13144 Completed implementation of the ACPI 2.0 "Continue",
13145 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
13146 operators. All new ACPI 2.0 operators are now implemented in both
13147 the ASL compiler and the AML interpreter. The only remaining ACPI
13148 2.0 task is support for the String data type in the DerefOf
13149 operator. Fixed a problem with AcquireMutex where the status code
13150 was lost if the caller had to actually wait for the mutex.
13151
13152 Increased the maximum ASL Field size from 64K bits to 4G bits.
13153
13154 Completed implementation of the external Global Lock interfaces --
13155 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
13156 Handler parameters were added.
13157
13158 Completed another pass at removing warnings and issues when
13159 compiling with 64-bit compilers. The code now compiles cleanly
13160 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
13161 add and subtract (diff) macros have changed considerably.
13162
13163
13164 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
13165 64-bit platforms, 32-bits on all others. This type is used
13166 wherever memory allocation and/or the C sizeof() operator is used,
13167 and affects the OSL memory allocation interfaces AcpiOsAllocate
13168 and AcpiOsCallocate.
13169
13170 Implemented sticky user breakpoints in the AML debugger.
13171
13172 Code and Data Size: Current core subsystem library sizes are shown
13173 below. These are the code and data sizes for the acpica.lib
13174 produced by the Microsoft Visual C++ 6.0 compiler, and these
13175 values do not include any ACPI driver or OSPM code. The debug
13176 version of the code includes the debug output trace mechanism and
13177 has a larger code and data size. Note that these values will vary
13178 depending on the efficiency of the compiler and the compiler
13179 options used during generation.
13180
13181 Previous Release (12_05_01)
13182 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
13183 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
13184 Current Release:
13185 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
13186 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
13187
13188 3) ASL Compiler, version X2034:
13189
13190 Now checks for (and generates an error if detected) the use of a
13191 Break or Continue statement without an enclosing While statement.
13192
13193
13194 Successfully generated the compiler with the Intel 64-bit C
13195 compiler.
13196
13197 ----------------------------------------
13198 Summary of changes for this label: 12_05_01
13199
13200 1) ACPI CA Core Subsystem:
13201
13202 The ACPI 2.0 CopyObject operator is fully implemented. This
13203 operator creates a new copy of an object (and is also used to
13204 bypass the "implicit conversion" mechanism of the Store operator.)
13205
13206 The ACPI 2.0 semantics for the SizeOf operator are fully
13207 implemented. The change is that performing a SizeOf on a
13208 reference object causes an automatic dereference of the object to
13209 tha actual value before the size is evaluated. This behavior was
13210 undefined in ACPI 1.0.
13211
13212 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
13213 have been implemented. The interrupt polarity and mode are now
13214 independently set.
13215
13216 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
13217 appearing in Package objects were not properly converted to
13218 integers when the internal Package was converted to an external
13219 object (via the AcpiEvaluateObject interface.)
13220
13221 Fixed a problem with the namespace object deletion mechanism for
13222 objects created by control methods. There were two parts to this
13223 problem: 1) Objects created during the initialization phase method
13224 parse were not being deleted, and 2) The object owner ID mechanism
13225 to track objects was broken.
13226
13227 Fixed a problem where the use of the ASL Scope operator within a
13228 control method would result in an invalid opcode exception.
13229
13230 Fixed a problem introduced in the previous label where the buffer
13231 length required for the _PRT structure was not being returned
13232 correctly.
13233
13234 Code and Data Size: Current core subsystem library sizes are shown
13235 below. These are the code and data sizes for the acpica.lib
13236 produced by the Microsoft Visual C++ 6.0 compiler, and these
13237 values do not include any ACPI driver or OSPM code. The debug
13238 version of the code includes the debug output trace mechanism and
13239 has a larger code and data size. Note that these values will vary
13240 depending on the efficiency of the compiler and the compiler
13241 options used during generation.
13242
13243 Previous Release (11_20_01)
13244 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
13245 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
13246
13247 Current Release:
13248 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
13249 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
13250
13251 2) Linux:
13252
13253 Updated all files to apply cleanly against 2.4.16.
13254
13255 Added basic PCI Interrupt Routing Table (PRT) support for IA32
13256 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
13257 version supports both static and dyanmic PRT entries, but dynamic
13258 entries are treated as if they were static (not yet
13259 reconfigurable). Architecture- specific code to use this data is
13260 absent on IA32 but should be available shortly.
13261
13262 Changed the initialization sequence to start the ACPI interpreter
13263 (acpi_init) prior to initialization of the PCI driver (pci_init)
13264 in init/main.c. This ordering is required to support PRT and
13265 facilitate other (future) enhancement. A side effect is that the
13266 ACPI bus driver and certain device drivers can no longer be loaded
13267 as modules.
13268
13269 Modified the 'make menuconfig' options to allow PCI Interrupt
13270 Routing support to be included without the ACPI Bus and other
13271 device drivers.
13272
13273 3) ASL Compiler, version X2033:
13274
13275 Fixed some issues with the use of the new CopyObject and
13276 DataTableRegion operators. Both are fully functional.
13277
13278 ----------------------------------------
13279 Summary of changes for this label: 11_20_01
13280
13281 20 November 2001. Summary of changes for this release.
13282
13283 1) ACPI CA Core Subsystem:
13284
13285 Updated Index support to match ACPI 2.0 semantics. Storing a
13286 Integer, String, or Buffer to an Index of a Buffer will store only
13287 the least-significant byte of the source to the Indexed buffer
13288 byte. Multiple writes are not performed.
13289
13290 Fixed a problem where the access type used in an AccessAs ASL
13291 operator was not recorded correctly into the field object.
13292
13293 Fixed a problem where ASL Event objects were created in a
13294 signalled state. Events are now created in an unsignalled state.
13295
13296 The internal object cache is now purged after table loading and
13297 initialization to reduce the use of dynamic kernel memory -- on
13298 the assumption that object use is greatest during the parse phase
13299 of the entire table (versus the run-time use of individual control
13300 methods.)
13301
13302 ACPI 2.0 variable-length packages are now fully operational.
13303
13304 Code and Data Size: Code and Data optimizations have permitted new
13305 feature development with an actual reduction in the library size.
13306 Current core subsystem library sizes are shown below. These are
13307 the code and data sizes for the acpica.lib produced by the
13308 Microsoft Visual C++ 6.0 compiler, and these values do not include
13309 any ACPI driver or OSPM code. The debug version of the code
13310 includes the debug output trace mechanism and has a larger code
13311 and data size. Note that these values will vary depending on the
13312 efficiency of the compiler and the compiler options used during
13313 generation.
13314
13315 Previous Release (11_09_01):
13316 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
13317 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
13318
13319 Current Release:
13320 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
13321 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
13322
13323 2) Linux:
13324
13325 Enhanced the ACPI boot-time initialization code to allow the use
13326 of Local APIC tables for processor enumeration on IA-32, and to
13327 pave the way for a fully MPS-free boot (on SMP systems) in the
13328 near future. This functionality replaces
13329 arch/i386/kernel/acpitables.c, which was introduced in an earlier
13330 2.4.15-preX release. To enable this feature you must add
13331 "acpi_boot=on" to the kernel command line -- see the help entry
13332 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
13333 the works...
13334
13335 Restructured the configuration options to allow boot-time table
13336 parsing support without inclusion of the ACPI Interpreter (and
13337 other) code.
13338
13339 NOTE: This release does not include fixes for the reported events,
13340 power-down, and thermal passive cooling issues (coming soon).
13341
13342 3) ASL Compiler:
13343
13344 Added additional typechecking for Fields within restricted access
13345 Operation Regions. All fields within EC and CMOS regions must be
13346 declared with ByteAcc. All fields withing SMBus regions must be
13347 declared with the BufferAcc access type.
13348
13349 Fixed a problem where the listing file output of control methods
13350 no longer interleaved the actual AML code with the ASL source
13351 code.
13352
13353
13354
13355
13356 ----------------------------------------
13357 Summary of changes for this label: 11_09_01
13358
13359 1) ACPI CA Core Subsystem:
13360
13361 Implemented ACPI 2.0-defined support for writes to fields with a
13362 Buffer, String, or Integer source operand that is smaller than the
13363 target field. In these cases, the source operand is zero-extended
13364 to fill the target field.
13365
13366 Fixed a problem where a Field starting bit offset (within the
13367 parent operation region) was calculated incorrectly if the
13368
13369 alignment of the field differed from the access width. This
13370 affected CreateWordField, CreateDwordField, CreateQwordField, and
13371 possibly other fields that use the "AccessAny" keyword.
13372
13373 Fixed a problem introduced in the 11_02_01 release where indirect
13374 stores through method arguments did not operate correctly.
13375
13376 2) Linux:
13377
13378 Implemented boot-time ACPI table parsing support
13379 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
13380 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
13381 legacy BIOS interfaces (e.g. MPS) for the configuration of system
13382 processors, memory, and interrupts during setup_arch(). Note that
13383 this patch does not include the required architecture-specific
13384 changes required to apply this information -- subsequent patches
13385 will be posted for both IA32 and IA64 to achieve this.
13386
13387 Added low-level sleep support for IA32 platforms, courtesy of Pat
13388 Mochel. This allows IA32 systems to transition to/from various
13389 sleeping states (e.g. S1, S3), although the lack of a centralized
13390 driver model and power-manageable drivers will prevent its
13391 (successful) use on most systems.
13392
13393 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
13394 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
13395 tables" option, etc.
13396
13397 Increased the default timeout for the EC driver from 1ms to 10ms
13398 (1000 cycles of 10us) to try to address AE_TIME errors during EC
13399 transactions.
13400
13401 ----------------------------------------
13402 Summary of changes for this label: 11_02_01
13403
13404 1) ACPI CA Core Subsystem:
13405
13406 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
13407 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
13408 implemented.
13409
13410 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
13411 changes to support ACPI 2.0 Qword field access. Read/Write
13412 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
13413 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
13414 the value parameter for the address space handler interface is now
13415 an ACPI_INTEGER. OSL implementations of these interfaces must now
13416 handle the case where the Width parameter is 64.
13417
13418 Index Fields: Fixed a problem where unaligned bit assembly and
13419 disassembly for IndexFields was not supported correctly.
13420
13421 Index and Bank Fields: Nested Index and Bank Fields are now
13422 supported. During field access, a check is performed to ensure
13423 that the value written to an Index or Bank register is not out of
13424 the range of the register. The Index (or Bank) register is
13425 written before each access to the field data. Future support will
13426 include allowing individual IndexFields to be wider than the
13427 DataRegister width.
13428
13429 Fields: Fixed a problem where the AML interpreter was incorrectly
13430 attempting to write beyond the end of a Field/OpRegion. This was
13431 a boundary case that occurred when a DWORD field was written to a
13432 BYTE access OpRegion, forcing multiple writes and causing the
13433 interpreter to write one datum too many.
13434
13435 Fields: Fixed a problem with Field/OpRegion access where the
13436 starting bit address of a field was incorrectly calculated if the
13437 current access type was wider than a byte (WordAcc, DwordAcc, or
13438 QwordAcc).
13439
13440 Fields: Fixed a problem where forward references to individual
13441 FieldUnits (individual Field names within a Field definition) were
13442 not resolved during the AML table load.
13443
13444 Fields: Fixed a problem where forward references from a Field
13445 definition to the parent Operation Region definition were not
13446 resolved during the AML table load.
13447
13448 Fields: Duplicate FieldUnit names within a scope are now detected
13449 during AML table load.
13450
13451 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
13452 returned an incorrect name for the root node.
13453
13454 Code and Data Size: Code and Data optimizations have permitted new
13455 feature development with an actual reduction in the library size.
13456 Current core subsystem library sizes are shown below. These are
13457 the code and data sizes for the acpica.lib produced by the
13458 Microsoft Visual C++ 6.0 compiler, and these values do not include
13459 any ACPI driver or OSPM code. The debug version of the code
13460 includes the debug output trace mechanism and has a larger code
13461 and data size. Note that these values will vary depending on the
13462 efficiency of the compiler and the compiler options used during
13463 generation.
13464
13465 Previous Release (10_18_01):
13466 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
13467 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
13468
13469 Current Release:
13470 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
13471 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
13472
13473 2) Linux:
13474
13475 Improved /proc processor output (Pavel Machek) Re-added
13476 MODULE_LICENSE("GPL") to all modules.
13477
13478 3) ASL Compiler version X2030:
13479
13480 Duplicate FieldUnit names within a scope are now detected and
13481 flagged as errors.
13482
13483 4) Documentation:
13484
13485 Programmer Reference updated to reflect OSL and address space
13486 handler interface changes described above.
13487
13488 ----------------------------------------
13489 Summary of changes for this label: 10_18_01
13490
13491 ACPI CA Core Subsystem:
13492
13493 Fixed a problem with the internal object reference count mechanism
13494 that occasionally caused premature object deletion. This resolves
13495 all of the outstanding problem reports where an object is deleted
13496 in the middle of an interpreter evaluation. Although this problem
13497 only showed up in rather obscure cases, the solution to the
13498 problem involved an adjustment of all reference counts involving
13499 objects attached to namespace nodes.
13500
13501 Fixed a problem with Field support in the interpreter where
13502 writing to an aligned field whose length is an exact multiple (2
13503 or greater) of the field access granularity would cause an attempt
13504 to write beyond the end of the field.
13505
13506 The top level AML opcode execution functions within the
13507 interpreter have been renamed with a more meaningful and
13508 consistent naming convention. The modules exmonad.c and
13509 exdyadic.c were eliminated. New modules are exoparg1.c,
13510 exoparg2.c, exoparg3.c, and exoparg6.c.
13511
13512 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
13513
13514 Fixed a problem where the AML debugger was causing some internal
13515 objects to not be deleted during subsystem termination.
13516
13517 Fixed a problem with the external AcpiEvaluateObject interface
13518 where the subsystem would fault if the named object to be
13519 evaluated refered to a constant such as Zero, Ones, etc.
13520
13521 Fixed a problem with IndexFields and BankFields where the
13522 subsystem would fault if the index, data, or bank registers were
13523 not defined in the same scope as the field itself.
13524
13525 Added printf format string checking for compilers that support
13526 this feature. Corrected more than 50 instances of issues with
13527 format specifiers within invocations of ACPI_DEBUG_PRINT
13528 throughout the core subsystem code.
13529
13530 The ASL "Revision" operator now returns the ACPI support level
13531 implemented in the core - the value "2" since the ACPI 2.0 support
13532 is more than 50% implemented.
13533
13534 Enhanced the output of the AML debugger "dump namespace" command
13535 to output in a more human-readable form.
13536
13537 Current core subsystem library code sizes are shown below. These
13538
13539 are the code and data sizes for the acpica.lib produced by the
13540 Microsoft Visual C++ 6.0 compiler, and these values do not include
13541 any ACPI driver or OSPM code. The debug version of the code
13542 includes the full debug trace mechanism -- leading to a much
13543
13544 larger code and data size. Note that these values will vary
13545 depending on the efficiency of the compiler and the compiler
13546 options used during generation.
13547
13548 Previous Label (09_20_01):
13549 Non-Debug Version: 65K Code, 5K Data, 70K Total
13550 Debug Version: 138K Code, 58K Data, 196K Total
13551
13552 This Label:
13553
13554 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
13555 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
13556
13557 Linux:
13558
13559 Implemented a "Bad BIOS Blacklist" to track machines that have
13560 known ASL/AML problems.
13561
13562 Enhanced the /proc interface for the thermal zone driver and added
13563 support for _HOT (the critical suspend trip point). The 'info'
13564 file now includes threshold/policy information, and allows setting
13565 of _SCP (cooling preference) and _TZP (polling frequency) values
13566 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
13567 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
13568 preference to the passive/quiet mode (if supported by the ASL).
13569
13570 Implemented a workaround for a gcc bug that resuted in an OOPs
13571 when loading the control method battery driver.
13572
13573 ----------------------------------------
13574 Summary of changes for this label: 09_20_01
13575
13576 ACPI CA Core Subsystem:
13577
13578 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
13579 modified to allow individual GPE levels to be flagged as wake-
13580 enabled (i.e., these GPEs are to remain enabled when the platform
13581 sleeps.)
13582
13583 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
13584 support wake-enabled GPEs. This means that upon entering the
13585 sleep state, all GPEs that are not wake-enabled are disabled.
13586 When leaving the sleep state, these GPEs are reenabled.
13587
13588 A local double-precision divide/modulo module has been added to
13589 enhance portability to OS kernels where a 64-bit math library is
13590 not available. The new module is "utmath.c".
13591
13592 Several optimizations have been made to reduce the use of CPU
13593 stack. Originally over 2K, the maximum stack usage is now below
13594 2K at 1860 bytes (1.82k)
13595
13596 Fixed a problem with the AcpiGetFirmwareTable interface where the
13597 root table pointer was not mapped into a logical address properly.
13598
13599 Fixed a problem where a NULL pointer was being dereferenced in the
13600 interpreter code for the ASL Notify operator.
13601
13602 Fixed a problem where the use of the ASL Revision operator
13603 returned an error. This operator now returns the current version
13604 of the ACPI CA core subsystem.
13605
13606 Fixed a problem where objects passed as control method parameters
13607 to AcpiEvaluateObject were always deleted at method termination.
13608 However, these objects may end up being stored into the namespace
13609 by the called method. The object reference count mechanism was
13610 applied to these objects instead of a force delete.
13611
13612 Fixed a problem where static strings or buffers (contained in the
13613 AML code) that are declared as package elements within the ASL
13614 code could cause a fault because the interpreter would attempt to
13615 delete them. These objects are now marked with the "static
13616 object" flag to prevent any attempt to delete them.
13617
13618 Implemented an interpreter optimization to use operands directly
13619 from the state object instead of extracting the operands to local
13620 variables. This reduces stack use and code size, and improves
13621 performance.
13622
13623 The module exxface.c was eliminated as it was an unnecessary extra
13624 layer of code.
13625
13626 Current core subsystem library code sizes are shown below. These
13627 are the code and data sizes for the acpica.lib produced by the
13628 Microsoft Visual C++ 6.0 compiler, and these values do not include
13629 any ACPI driver or OSPM code. The debug version of the code
13630 includes the full debug trace mechanism -- leading to a much
13631 larger code and data size. Note that these values will vary
13632 depending on the efficiency of the compiler and the compiler
13633 options used during generation.
13634
13635 Non-Debug Version: 65K Code, 5K Data, 70K Total
13636 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
13637 Total (Previously 195K)
13638
13639 Linux:
13640
13641 Support for ACPI 2.0 64-bit integers has been added. All ACPI
13642 Integer objects are now 64 bits wide
13643
13644 All Acpi data types and structures are now in lower case. Only
13645 Acpi macros are upper case for differentiation.
13646
13647 Documentation:
13648
13649 Changes to the external interfaces as described above.
13650
13651 ----------------------------------------
13652 Summary of changes for this label: 08_31_01
13653
13654 ACPI CA Core Subsystem:
13655
13656 A bug with interpreter implementation of the ASL Divide operator
13657 was found and fixed. The implicit function return value (not the
13658 explicit store operands) was returning the remainder instead of
13659 the quotient. This was a longstanding bug and it fixes several
13660 known outstanding issues on various platforms.
13661
13662 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
13663 been further optimized for size. There are 700 invocations of the
13664 DEBUG_PRINT macro alone, so each optimization reduces the size of
13665 the debug version of the subsystem significantly.
13666
13667 A stack trace mechanism has been implemented. The maximum stack
13668 usage is about 2K on 32-bit platforms. The debugger command "stat
13669 stack" will display the current maximum stack usage.
13670
13671 All public symbols and global variables within the subsystem are
13672 now prefixed with the string "Acpi". This keeps all of the
13673 symbols grouped together in a kernel map, and avoids conflicts
13674 with other kernel subsystems.
13675
13676 Most of the internal fixed lookup tables have been moved into the
13677 code segment via the const operator.
13678
13679 Several enhancements have been made to the interpreter to both
13680 reduce the code size and improve performance.
13681
13682 Current core subsystem library code sizes are shown below. These
13683 are the code and data sizes for the acpica.lib produced by the
13684 Microsoft Visual C++ 6.0 compiler, and these values do not include
13685 any ACPI driver or OSPM code. The debug version of the code
13686 includes the full debug trace mechanism which contains over 700
13687 invocations of the DEBUG_PRINT macro, 500 function entry macro
13688 invocations, and over 900 function exit macro invocations --
13689 leading to a much larger code and data size. Note that these
13690 values will vary depending on the efficiency of the compiler and
13691 the compiler options used during generation.
13692
13693 Non-Debug Version: 64K Code, 5K Data, 69K Total
13694 Debug Version: 137K Code, 58K Data, 195K Total
13695
13696 Linux:
13697
13698 Implemented wbinvd() macro, pending a kernel-wide definition.
13699
13700 Fixed /proc/acpi/event to handle poll() and short reads.
13701
13702 ASL Compiler, version X2026:
13703
13704 Fixed a problem introduced in the previous label where the AML
13705
13706 code emitted for package objects produced packages with zero
13707 length.
13708
13709 ----------------------------------------
13710 Summary of changes for this label: 08_16_01
13711
13712 ACPI CA Core Subsystem:
13713
13714 The following ACPI 2.0 ASL operators have been implemented in the
13715 AML interpreter (These are already supported by the Intel ASL
13716 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
13717 ToBuffer. Support for 64-bit AML constants is implemented in the
13718 AML parser, debugger, and disassembler.
13719
13720 The internal memory tracking mechanism (leak detection code) has
13721 been upgraded to reduce the memory overhead (a separate tracking
13722 block is no longer allocated for each memory allocation), and now
13723 supports all of the internal object caches.
13724
13725 The data structures and code for the internal object caches have
13726 been coelesced and optimized so that there is a single cache and
13727 memory list data structure and a single group of functions that
13728 implement generic cache management. This has reduced the code
13729 size in both the debug and release versions of the subsystem.
13730
13731 The DEBUG_PRINT macro(s) have been optimized for size and replaced
13732 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
13733 different, because it generates a single call to an internal
13734 function. This results in a savings of about 90 bytes per
13735 invocation, resulting in an overall code and data savings of about
13736 16% in the debug version of the subsystem.
13737
13738 Linux:
13739
13740 Fixed C3 disk corruption problems and re-enabled C3 on supporting
13741 machines.
13742
13743 Integrated low-level sleep code by Patrick Mochel.
13744
13745 Further tweaked source code Linuxization.
13746
13747 Other minor fixes.
13748
13749 ASL Compiler:
13750
13751 Support for ACPI 2.0 variable length packages is fixed/completed.
13752
13753 Fixed a problem where the optional length parameter for the ACPI
13754 2.0 ToString operator.
13755
13756 Fixed multiple extraneous error messages when a syntax error is
13757 detected within the declaration line of a control method.
13758
13759 ----------------------------------------
13760 Summary of changes for this label: 07_17_01
13761
13762 ACPI CA Core Subsystem:
13763
13764 Added a new interface named AcpiGetFirmwareTable to obtain any
13765 ACPI table via the ACPI signature. The interface can be called at
13766 any time during kernel initialization, even before the kernel
13767 virtual memory manager is initialized and paging is enabled. This
13768 allows kernel subsystems to obtain ACPI tables very early, even
13769 before the ACPI CA subsystem is initialized.
13770
13771 Fixed a problem where Fields defined with the AnyAcc attribute
13772 could be resolved to the incorrect address under the following
13773 conditions: 1) the field width is larger than 8 bits and 2) the
13774 parent operation region is not defined on a DWORD boundary.
13775
13776 Fixed a problem where the interpreter is not being locked during
13777 namespace initialization (during execution of the _INI control
13778 methods), causing an error when an attempt is made to release it
13779 later.
13780
13781 ACPI 2.0 support in the AML Interpreter has begun and will be
13782 ongoing throughout the rest of this year. In this label, The Mod
13783 operator is implemented.
13784
13785 Added a new data type to contain full PCI addresses named
13786 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
13787 and Function values.
13788
13789 Linux:
13790
13791 Enhanced the Linux version of the source code to change most
13792 capitalized ACPI type names to lowercase. For example, all
13793 instances of ACPI_STATUS are changed to acpi_status. This will
13794 result in a large diff, but the change is strictly cosmetic and
13795 aligns the CA code closer to the Linux coding standard.
13796
13797 OSL Interfaces:
13798
13799 The interfaces to the PCI configuration space have been changed to
13800 add the PCI Segment number and to split the single 32-bit combined
13801 DeviceFunction field into two 16-bit fields. This was
13802 accomplished by moving the four values that define an address in
13803 PCI configuration space (segment, bus, device, and function) to
13804 the new ACPI_PCI_ID structure.
13805
13806 The changes to the PCI configuration space interfaces led to a
13807 reexamination of the complete set of address space access
13808 interfaces for PCI, I/O, and Memory. The previously existing 18
13809 interfaces have proven difficult to maintain (any small change
13810 must be propagated across at least 6 interfaces) and do not easily
13811 allow for future expansion to 64 bits if necessary. Also, on some
13812 systems, it would not be appropriate to demultiplex the access
13813 width (8, 16, 32,or 64) before calling the OSL if the
13814 corresponding native OS interfaces contain a similar access width
13815 parameter. For these reasons, the 18 address space interfaces
13816 have been replaced by these 6 new ones:
13817
13818 AcpiOsReadPciConfiguration
13819 AcpiOsWritePciConfiguration
13820 AcpiOsReadMemory
13821 AcpiOsWriteMemory
13822 AcpiOsReadPort
13823 AcpiOsWritePort
13824
13825 Added a new interface named AcpiOsGetRootPointer to allow the OSL
13826 to perform the platform and/or OS-specific actions necessary to
13827 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
13828 interface will simply call down to the CA core to perform the low-
13829 memory search for the table. On IA-64, the RSDP is obtained from
13830 EFI. Migrating this interface to the OSL allows the CA core to
13831
13832 remain OS and platform independent.
13833
13834 Added a new interface named AcpiOsSignal to provide a generic
13835 "function code and pointer" interface for various miscellaneous
13836 signals and notifications that must be made to the host OS. The
13837 first such signals are intended to support the ASL Fatal and
13838 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
13839 interface has been obsoleted.
13840
13841 The definition of the AcpiFormatException interface has been
13842 changed to simplify its use. The caller no longer must supply a
13843 buffer to the call; A pointer to a const string is now returned
13844 directly. This allows the call to be easily used in printf
13845 statements, etc. since the caller does not have to manage a local
13846 buffer.
13847
13848
13849 ASL Compiler, Version X2025:
13850
13851 The ACPI 2.0 Switch/Case/Default operators have been implemented
13852 and are fully functional. They will work with all ACPI 1.0
13853 interpreters, since the operators are simply translated to If/Else
13854 pairs.
13855
13856 The ACPI 2.0 ElseIf operator is implemented and will also work
13857 with 1.0 interpreters, for the same reason.
13858
13859 Implemented support for ACPI 2.0 variable-length packages. These
13860 packages have a separate opcode, and their size is determined by
13861 the interpreter at run-time.
13862
13863 Documentation The ACPI CA Programmer Reference has been updated to
13864 reflect the new interfaces and changes to existing interfaces.
13865
13866 ------------------------------------------
13867 Summary of changes for this label: 06_15_01
13868
13869 ACPI CA Core Subsystem:
13870
13871 Fixed a problem where a DWORD-accessed field within a Buffer
13872 object would get its byte address inadvertently rounded down to
13873 the nearest DWORD. Buffers are always Byte-accessible.
13874
13875 ASL Compiler, version X2024:
13876
13877 Fixed a problem where the Switch() operator would either fault or
13878 hang the compiler. Note however, that the AML code for this ACPI
13879 2.0 operator is not yet implemented.
13880
13881 Compiler uses the new AcpiOsGetTimer interface to obtain compile
13882 timings.
13883
13884 Implementation of the CreateField operator automatically converts
13885 a reference to a named field within a resource descriptor from a
13886 byte offset to a bit offset if required.
13887
13888 Added some missing named fields from the resource descriptor
13889 support. These are the names that are automatically created by the
13890 compiler to reference fields within a descriptor. They are only
13891 valid at compile time and are not passed through to the AML
13892 interpreter.
13893
13894 Resource descriptor named fields are now typed as Integers and
13895 subject to compile-time typechecking when used in expressions.
13896
13897 ------------------------------------------
13898 Summary of changes for this label: 05_18_01
13899
13900 ACPI CA Core Subsystem:
13901
13902 Fixed a couple of problems in the Field support code where bits
13903 from adjacent fields could be returned along with the proper field
13904 bits. Restructured the field support code to improve performance,
13905 readability and maintainability.
13906
13907 New DEBUG_PRINTP macro automatically inserts the procedure name
13908 into the output, saving hundreds of copies of procedure name
13909 strings within the source, shrinking the memory footprint of the
13910 debug version of the core subsystem.
13911
13912 Source Code Structure:
13913
13914 The source code directory tree was restructured to reflect the
13915 current organization of the component architecture. Some files
13916 and directories have been moved and/or renamed.
13917
13918 Linux:
13919
13920 Fixed leaking kacpidpc processes.
13921
13922 Fixed queueing event data even when /proc/acpi/event is not
13923 opened.
13924
13925 ASL Compiler, version X2020:
13926
13927 Memory allocation performance enhancement - over 24X compile time
13928 improvement on large ASL files. Parse nodes and namestring
13929 buffers are now allocated from a large internal compiler buffer.
13930
13931 The temporary .SRC file is deleted unless the "-s" option is
13932 specified
13933
13934 The "-d" debug output option now sends all output to the .DBG file
13935 instead of the console.
13936
13937 "External" second parameter is now optional
13938
13939 "ElseIf" syntax now properly allows the predicate
13940
13941 Last operand to "Load" now recognized as a Target operand
13942
13943 Debug object can now be used anywhere as a normal object.
13944
13945 ResourceTemplate now returns an object of type BUFFER
13946
13947 EISAID now returns an object of type INTEGER
13948
13949 "Index" now works with a STRING operand
13950
13951 "LoadTable" now accepts optional parameters
13952
13953 "ToString" length parameter is now optional
13954
13955 "Interrupt (ResourceType," parse error fixed.
13956
13957 "Register" with a user-defined region space parse error fixed
13958
13959 Escaped backslash at the end of a string ("\\") scan/parse error
13960 fixed
13961
13962 "Revision" is now an object of type INTEGER.
13963
13964
13965
13966 ------------------------------------------
13967 Summary of changes for this label: 05_02_01
13968
13969 Linux:
13970
13971 /proc/acpi/event now blocks properly.
13972
13973 Removed /proc/sys/acpi. You can still dump your DSDT from
13974 /proc/acpi/dsdt.
13975
13976 ACPI CA Core Subsystem:
13977
13978 Fixed a problem introduced in the previous label where some of the
13979 "small" resource descriptor types were not recognized.
13980
13981 Improved error messages for the case where an ASL Field is outside
13982 the range of the parent operation region.
13983
13984 ASL Compiler, version X2018:
13985
13986
13987 Added error detection for ASL Fields that extend beyond the length
13988 of the parent operation region (only if the length of the region
13989 is known at compile time.) This includes fields that have a
13990 minimum access width that is smaller than the parent region, and
13991 individual field units that are partially or entirely beyond the
13992 extent of the parent.
13993
13994
13995
13996 ------------------------------------------
13997 Summary of changes for this label: 04_27_01
13998
13999 ACPI CA Core Subsystem:
14000
14001 Fixed a problem where the namespace mutex could be released at the
14002 wrong time during execution of AcpiRemoveAddressSpaceHandler.
14003
14004 Added optional thread ID output for debug traces, to simplify
14005 debugging of multiple threads. Added context switch notification
14006 when the debug code realizes that a different thread is now
14007 executing ACPI code.
14008
14009 Some additional external data types have been prefixed with the
14010 string "ACPI_" for consistency. This may effect existing code.
14011 The data types affected are the external callback typedefs - e.g.,
14012
14013 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
14014
14015 Linux:
14016
14017 Fixed an issue with the OSL semaphore implementation where a
14018 thread was waking up with an error from receiving a SIGCHLD
14019 signal.
14020
14021 Linux version of ACPI CA now uses the system C library for string
14022 manipulation routines instead of a local implementation.
14023
14024 Cleaned up comments and removed TBDs.
14025
14026 ASL Compiler, version X2017:
14027
14028 Enhanced error detection and reporting for all file I/O
14029 operations.
14030
14031 Documentation:
14032
14033 Programmer Reference updated to version 1.06.
14034
14035
14036
14037 ------------------------------------------
14038 Summary of changes for this label: 04_13_01
14039
14040 ACPI CA Core Subsystem:
14041
14042 Restructured support for BufferFields and RegionFields.
14043 BankFields support is now fully operational. All known 32-bit
14044 limitations on field sizes have been removed. Both BufferFields
14045 and (Operation) RegionFields are now supported by the same field
14046 management code.
14047
14048 Resource support now supports QWORD address and IO resources. The
14049 16/32/64 bit address structures and the Extended IRQ structure
14050 have been changed to properly handle Source Resource strings.
14051
14052 A ThreadId of -1 is now used to indicate a "mutex not acquired"
14053 condition internally and must never be returned by AcpiOsThreadId.
14054 This reserved value was changed from 0 since Unix systems allow a
14055 thread ID of 0.
14056
14057 Linux:
14058
14059 Driver code reorganized to enhance portability
14060
14061 Added a kernel configuration option to control ACPI_DEBUG
14062
14063 Fixed the EC driver to honor _GLK.
14064
14065 ASL Compiler, version X2016:
14066
14067 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
14068 address space was set to 0, not 0x7f as it should be.
14069
14070 ------------------------------------------
14071 Summary of changes for this label: 03_13_01
14072
14073 ACPI CA Core Subsystem:
14074
14075 During ACPI initialization, the _SB_._INI method is now run if
14076 present.
14077
14078 Notify handler fix - notifies are deferred until the parent method
14079 completes execution. This fixes the "mutex already acquired"
14080 issue seen occasionally.
14081
14082 Part of the "implicit conversion" rules in ACPI 2.0 have been
14083 found to cause compatibility problems with existing ASL/AML. The
14084 convert "result-to-target-type" implementation has been removed
14085 for stores to method Args and Locals. Source operand conversion
14086 is still fully implemented. Possible changes to ACPI 2.0
14087 specification pending.
14088
14089 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
14090 length.
14091
14092 Fix for compiler warnings for 64-bit compiles.
14093
14094 Linux:
14095
14096 /proc output aligned for easier parsing.
14097
14098 Release-version compile problem fixed.
14099
14100 New kernel configuration options documented in Configure.help.
14101
14102 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
14103 context" message.
14104
14105 OSPM:
14106
14107 Power resource driver integrated with bus manager.
14108
14109 Fixed kernel fault during active cooling for thermal zones.
14110
14111 Source Code:
14112
14113 The source code tree has been restructured.
14114
14115
14116
14117 ------------------------------------------
14118 Summary of changes for this label: 03_02_01
14119
14120 Linux OS Services Layer (OSL):
14121
14122 Major revision of all Linux-specific code.
14123
14124 Modularized all ACPI-specific drivers.
14125
14126 Added new thermal zone and power resource drivers.
14127
14128 Revamped /proc interface (new functionality is under /proc/acpi).
14129
14130 New kernel configuration options.
14131
14132 Linux known issues:
14133
14134 New kernel configuration options not documented in Configure.help
14135 yet.
14136
14137
14138 Module dependencies not currently implemented. If used, they
14139 should be loaded in this order: busmgr, power, ec, system,
14140 processor, battery, ac_adapter, button, thermal.
14141
14142 Modules will not load if CONFIG_MODVERSION is set.
14143
14144 IBM 600E - entering S5 may reboot instead of shutting down.
14145
14146 IBM 600E - Sleep button may generate "Invalid <NULL> context"
14147 message.
14148
14149 Some systems may fail with "execution mutex already acquired"
14150 message.
14151
14152 ACPI CA Core Subsystem:
14153
14154 Added a new OSL Interface, AcpiOsGetThreadId. This was required
14155 for the deadlock detection code. Defined to return a non-zero, 32-
14156 bit thread ID for the currently executing thread. May be a non-
14157 zero constant integer on single-thread systems.
14158
14159 Implemented deadlock detection for internal subsystem mutexes. We
14160 may add conditional compilation for this code (debug only) later.
14161
14162 ASL/AML Mutex object semantics are now fully supported. This
14163 includes multiple acquires/releases by owner and support for the
14164
14165 Mutex SyncLevel parameter.
14166
14167 A new "Force Release" mechanism automatically frees all ASL
14168 Mutexes that have been acquired but not released when a thread
14169 exits the interpreter. This forces conformance to the ACPI spec
14170 ("All mutexes must be released when an invocation exits") and
14171 prevents deadlocked ASL threads. This mechanism can be expanded
14172 (later) to monitor other resource acquisitions if OEM ASL code
14173 continues to misbehave (which it will).
14174
14175 Several new ACPI exception codes have been added for the Mutex
14176 support.
14177
14178 Recursive method calls are now allowed and supported (the ACPI
14179 spec does in fact allow recursive method calls.) The number of
14180 recursive calls is subject to the restrictions imposed by the
14181 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
14182 parameter.
14183
14184 Implemented support for the SyncLevel parameter for control
14185 methods (ACPI 2.0 feature)
14186
14187 Fixed a deadlock problem when multiple threads attempted to use
14188 the interpreter.
14189
14190 Fixed a problem where the string length of a String package
14191 element was not always set in a package returned from
14192 AcpiEvaluateObject.
14193
14194 Fixed a problem where the length of a String package element was
14195 not always included in the length of the overall package returned
14196 from AcpiEvaluateObject.
14197
14198 Added external interfaces (Acpi*) to the ACPI debug memory
14199 manager. This manager keeps a list of all outstanding
14200 allocations, and can therefore detect memory leaks and attempts to
14201 free memory blocks more than once. Useful for code such as the
14202 power manager, etc. May not be appropriate for device drivers.
14203 Performance with the debug code enabled is slow.
14204
14205 The ACPI Global Lock is now an optional hardware element.
14206
14207 ASL Compiler Version X2015:
14208
14209 Integrated changes to allow the compiler to be generated on
14210 multiple platforms.
14211
14212 Linux makefile added to generate the compiler on Linux
14213
14214 Source Code:
14215
14216 All platform-specific headers have been moved to their own
14217 subdirectory, Include/Platform.
14218
14219 New source file added, Interpreter/ammutex.c
14220
14221 New header file, Include/acstruct.h
14222
14223 Documentation:
14224
14225 The programmer reference has been updated for the following new
14226 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
14227
14228 ------------------------------------------
14229 Summary of changes for this label: 02_08_01
14230
14231 Core ACPI CA Subsystem: Fixed a problem where an error was
14232 incorrectly returned if the return resource buffer was larger than
14233 the actual data (in the resource interfaces).
14234
14235 References to named objects within packages are resolved to the
14236
14237 full pathname string before packages are returned directly (via
14238 the AcpiEvaluateObject interface) or indirectly via the resource
14239 interfaces.
14240
14241 Linux OS Services Layer (OSL):
14242
14243 Improved /proc battery interface.
14244
14245
14246 Added C-state debugging output and other miscellaneous fixes.
14247
14248 ASL Compiler Version X2014:
14249
14250 All defined method arguments can now be used as local variables,
14251 including the ones that are not actually passed in as parameters.
14252 The compiler tracks initialization of the arguments and issues an
14253 exception if they are used without prior assignment (just like
14254 locals).
14255
14256 The -o option now specifies a filename prefix that is used for all
14257 output files, including the AML output file. Otherwise, the
14258 default behavior is as follows: 1) the AML goes to the file
14259 specified in the DSDT. 2) all other output files use the input
14260 source filename as the base.
14261
14262 ------------------------------------------
14263 Summary of changes for this label: 01_25_01
14264
14265 Core ACPI CA Subsystem: Restructured the implementation of object
14266 store support within the interpreter. This includes support for
14267 the Store operator as well as any ASL operators that include a
14268 target operand.
14269
14270 Partially implemented support for Implicit Result-to-Target
14271 conversion. This is when a result object is converted on the fly
14272 to the type of an existing target object. Completion of this
14273 support is pending further analysis of the ACPI specification
14274 concerning this matter.
14275
14276 CPU-specific code has been removed from the subsystem (hardware
14277 directory).
14278
14279 New Power Management Timer functions added
14280
14281 Linux OS Services Layer (OSL): Moved system state transition code
14282 to the core, fixed it, and modified Linux OSL accordingly.
14283
14284 Fixed C2 and C3 latency calculations.
14285
14286
14287 We no longer use the compilation date for the version message on
14288 initialization, but retrieve the version from AcpiGetSystemInfo().
14289
14290 Incorporated for fix Sony VAIO machines.
14291
14292 Documentation: The Programmer Reference has been updated and
14293 reformatted.
14294
14295
14296 ASL Compiler: Version X2013: Fixed a problem where the line
14297 numbering and error reporting could get out of sync in the
14298 presence of multiple include files.
14299
14300 ------------------------------------------
14301 Summary of changes for this label: 01_15_01
14302
14303 Core ACPI CA Subsystem:
14304
14305 Implemented support for type conversions in the execution of the
14306 ASL Concatenate operator (The second operand is converted to
14307 match the type of the first operand before concatenation.)
14308
14309 Support for implicit source operand conversion is partially
14310 implemented. The ASL source operand types Integer, Buffer, and
14311 String are freely interchangeable for most ASL operators and are
14312 converted by the interpreter on the fly as required. Implicit
14313 Target operand conversion (where the result is converted to the
14314 target type before storing) is not yet implemented.
14315
14316 Support for 32-bit and 64-bit BCD integers is implemented.
14317
14318 Problem fixed where a field read on an aligned field could cause a
14319 read past the end of the field.
14320
14321 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
14322 does not return a value, but the caller expects one. (The ASL
14323 compiler flags this as a warning.)
14324
14325 ASL Compiler:
14326
14327 Version X2011:
14328 1. Static typechecking of all operands is implemented. This
14329 prevents the use of invalid objects (such as using a Package where
14330 an Integer is required) at compile time instead of at interpreter
14331 run-time.
14332 2. The ASL source line is printed with ALL errors and warnings.
14333 3. Bug fix for source EOF without final linefeed.
14334 4. Debug option is split into a parse trace and a namespace trace.
14335 5. Namespace output option (-n) includes initial values for
14336 integers and strings.
14337 6. Parse-only option added for quick syntax checking.
14338 7. Compiler checks for duplicate ACPI name declarations
14339
14340 Version X2012:
14341 1. Relaxed typechecking to allow interchangeability between
14342 strings, integers, and buffers. These types are now converted by
14343 the interpreter at runtime.
14344 2. Compiler reports time taken by each internal subsystem in the
14345 debug output file.
14346
14347
14348 ------------------------------------------
14349 Summary of changes for this label: 12_14_00
14350
14351 ASL Compiler:
14352
14353 This is the first official release of the compiler. Since the
14354 compiler requires elements of the Core Subsystem, this label
14355 synchronizes everything.
14356
14357 ------------------------------------------
14358 Summary of changes for this label: 12_08_00
14359
14360
14361 Fixed a problem where named references within the ASL definition
14362 of both OperationRegions and CreateXXXFields did not work
14363 properly. The symptom was an AE_AML_OPERAND_TYPE during
14364 initialization of the region/field. This is similar (but not
14365 related internally) to the problem that was fixed in the last
14366 label.
14367
14368 Implemented both 32-bit and 64-bit support for the BCD ASL
14369 functions ToBCD and FromBCD.
14370
14371 Updated all legal headers to include "2000" in the copyright
14372 years.
14373
14374 ------------------------------------------
14375 Summary of changes for this label: 12_01_00
14376
14377 Fixed a problem where method invocations within the ASL definition
14378 of both OperationRegions and CreateXXXFields did not work
14379 properly. The symptom was an AE_AML_OPERAND_TYPE during
14380 initialization of the region/field:
14381
14382 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
14383 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
14384 (0x3005)
14385
14386 Fixed a problem where operators with more than one nested
14387 subexpression would fail. The symptoms were varied, by mostly
14388 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
14389 problem that has gone unnoticed until now.
14390
14391 Subtract (Add (1,2), Multiply (3,4))
14392
14393 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
14394 previous build (The prefix part of a relative path was handled
14395 incorrectly).
14396
14397 Fixed a problem where Operation Region initialization failed if
14398 the operation region name was a "namepath" instead of a simple
14399 "nameseg". Symptom was an AE_NO_OPERAND error.
14400
14401 Fixed a problem where an assignment to a local variable via the
14402 indirect RefOf mechanism only worked for the first such
14403 assignment. Subsequent assignments were ignored.
14404
14405 ------------------------------------------
14406 Summary of changes for this label: 11_15_00
14407
14408 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
14409 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
14410 the AML interpreter does NOT have support for the new 2.0 ASL
14411 grammar terms at this time.
14412
14413 All ACPI hardware access is via the GAS structures in the ACPI 2.0
14414 FADT.
14415
14416 All physical memory addresses across all platforms are now 64 bits
14417 wide. Logical address width remains dependent on the platform
14418 (i.e., "void *").
14419
14420 AcpiOsMapMemory interface changed to a 64-bit physical address.
14421
14422 The AML interpreter integer size is now 64 bits, as per the ACPI
14423 2.0 specification.
14424
14425 For backwards compatibility with ACPI 1.0, ACPI tables with a
14426 revision number less than 2 use 32-bit integers only.
14427
14428 Fixed a problem where the evaluation of OpRegion operands did not
14429 always resolve them to numbers properly.
14430
14431 ------------------------------------------
14432 Summary of changes for this label: 10_20_00
14433
14434 Fix for CBN_._STA issue. This fix will allow correct access to
14435 CBN_ OpRegions when the _STA returns 0x8.
14436
14437 Support to convert ACPI constants (Ones, Zeros, One) to actual
14438 values before a package object is returned
14439
14440 Fix for method call as predicate to if/while construct causing
14441 incorrect if/while behavior
14442
14443 Fix for Else block package lengths sometimes calculated wrong (if
14444 block > 63 bytes)
14445
14446 Fix for Processor object length field, was always zero
14447
14448 Table load abort if FACP sanity check fails
14449
14450 Fix for problem with Scope(name) if name already exists
14451
14452 Warning emitted if a named object referenced cannot be found
14453 (resolved) during method execution.
14454
14455
14456
14457
14458
14459 ------------------------------------------
14460 Summary of changes for this label: 9_29_00
14461
14462 New table initialization interfaces: AcpiInitializeSubsystem no
14463 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
14464 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
14465 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
14466 AcpiLoadTables
14467
14468 Note: These interface changes require changes to all existing OSDs
14469
14470 The PCI_Config default address space handler is always installed
14471 at the root namespace object.
14472
14473 -------------------------------------------
14474 Summary of changes for this label: 09_15_00
14475
14476 The new initialization architecture is implemented. New
14477 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
14478 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
14479
14480 (Namespace is automatically loaded when a table is loaded)
14481
14482 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
14483 52 bytes to 32 bytes. There is usually one of these for every
14484 namespace object, so the memory savings is significant.
14485
14486 Implemented just-in-time evaluation of the CreateField operators.
14487
14488 Bug fixes for IA-64 support have been integrated.
14489
14490 Additional code review comments have been implemented
14491
14492 The so-called "third pass parse" has been replaced by a final walk
14493 through the namespace to initialize all operation regions (address
14494 spaces) and fields that have not yet been initialized during the
14495 execution of the various _INI and REG methods.
14496
14497 New file - namespace/nsinit.c
14498
14499 -------------------------------------------
14500 Summary of changes for this label: 09_01_00
14501
14502 Namespace manager data structures have been reworked to change the
14503 primary object from a table to a single object. This has
14504 resulted in dynamic memory savings of 3X within the namespace and
14505 2X overall in the ACPI CA subsystem.
14506
14507 Fixed problem where the call to AcpiEvFindPciRootBuses was
14508 inadvertently left commented out.
14509
14510 Reduced the warning count when generating the source with the GCC
14511 compiler.
14512
14513 Revision numbers added to each module header showing the
14514 SourceSafe version of the file. Please refer to this version
14515 number when giving us feedback or comments on individual modules.
14516
14517 The main object types within the subsystem have been renamed to
14518 clarify their purpose:
14519
14520 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
14521 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
14522 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
14523
14524 NOTE: no changes to the initialization sequence are included in
14525 this label.
14526
14527 -------------------------------------------
14528 Summary of changes for this label: 08_23_00
14529
14530 Fixed problem where TerminateControlMethod was being called
14531 multiple times per method
14532
14533 Fixed debugger problem where single stepping caused a semaphore to
14534 be oversignalled
14535
14536 Improved performance through additional parse object caching -
14537 added ACPI_EXTENDED_OP type
14538
14539 -------------------------------------------
14540 Summary of changes for this label: 08_10_00
14541
14542 Parser/Interpreter integration: Eliminated the creation of
14543 complete parse trees for ACPI tables and control methods.
14544 Instead, parse subtrees are created and then deleted as soon as
14545 they are processed (Either entered into the namespace or executed
14546 by the interpreter). This reduces the use of dynamic kernel
14547 memory significantly. (about 10X)
14548
14549 Exception codes broken into classes and renumbered. Be sure to
14550 recompile all code that includes acexcep.h. Hopefully we won't
14551 have to renumber the codes again now that they are split into
14552 classes (environment, programmer, AML code, ACPI table, and
14553 internal).
14554
14555 Fixed some additional alignment issues in the Resource Manager
14556 subcomponent
14557
14558 Implemented semaphore tracking in the AcpiExec utility, and fixed
14559 several places where mutexes/semaphores were being unlocked
14560 without a corresponding lock operation. There are no known
14561 semaphore or mutex "leaks" at this time.
14562
14563 Fixed the case where an ASL Return operator is used to return an
14564 unnamed package.
14565
14566 -------------------------------------------
14567 Summary of changes for this label: 07_28_00
14568
14569 Fixed a problem with the way addresses were calculated in
14570 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
14571 manifested itself when a Field was created with WordAccess or
14572 DwordAccess, but the field unit defined within the Field was less
14573
14574 than a Word or Dword.
14575
14576 Fixed a problem in AmlDumpOperands() module's loop to pull
14577 operands off of the operand stack to display information. The
14578 problem manifested itself as a TLB error on 64-bit systems when
14579 accessing an operand stack with two or more operands.
14580
14581 Fixed a problem with the PCI configuration space handlers where
14582 context was getting confused between accesses. This required a
14583 change to the generic address space handler and address space
14584 setup definitions. Handlers now get both a global handler context
14585 (this is the one passed in by the user when executing
14586 AcpiInstallAddressSpaceHandler() and a specific region context
14587 that is unique to each region (For example, the _ADR, _SEG and
14588 _BBN values associated with a specific region). The generic
14589 function definitions have changed to the following:
14590
14591 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
14592 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
14593 *HandlerContext, // This used to be void *Context void
14594 *RegionContext); // This is an additional parameter
14595
14596 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
14597 RegionHandle, UINT32 Function, void *HandlerContext, void
14598 **RegionContext); // This used to be **ReturnContext
14599
14600 -------------------------------------------
14601 Summary of changes for this label: 07_21_00
14602
14603 Major file consolidation and rename. All files within the
14604 interpreter have been renamed as well as most header files. This
14605 was done to prevent collisions with existing files in the host
14606 OSs -- filenames such as "config.h" and "global.h" seem to be
14607 quite common. The VC project files have been updated. All
14608 makefiles will require modification.
14609
14610 The parser/interpreter integration continues in Phase 5 with the
14611 implementation of a complete 2-pass parse (the AML is parsed
14612 twice) for each table; This avoids the construction of a huge
14613 parse tree and therefore reduces the amount of dynamic memory
14614 required by the subsystem. Greater use of the parse object cache
14615 means that performance is unaffected.
14616
14617 Many comments from the two code reviews have been rolled in.
14618
14619 The 64-bit alignment support is complete.
14620
14621 -------------------------------------------
14622 Summary of changes for this label: 06_30_00
14623
14624 With a nod and a tip of the hat to the technology of yesteryear,
14625 we've added support in the source code for 80 column output
14626 devices. The code is now mostly constrained to 80 columns or
14627 less to support environments and editors that 1) cannot display
14628 or print more than 80 characters on a single line, and 2) cannot
14629 disable line wrapping.
14630
14631 A major restructuring of the namespace data structure has been
14632 completed. The result is 1) cleaner and more
14633 understandable/maintainable code, and 2) a significant reduction
14634 in the dynamic memory requirement for each named ACPI object
14635 (almost half).
14636
14637 -------------------------------------------
14638 Summary of changes for this label: 06_23_00
14639
14640 Linux support has been added. In order to obtain approval to get
14641 the ACPI CA subsystem into the Linux kernel, we've had to make
14642 quite a few changes to the base subsystem that will affect all
14643 users (all the changes are generic and OS- independent). The
14644 effects of these global changes have been somewhat far reaching.
14645 Files have been merged and/or renamed and interfaces have been
14646 renamed. The major changes are described below.
14647
14648 Osd* interfaces renamed to AcpiOs* to eliminate namespace
14649 pollution/confusion within our target kernels. All OSD
14650 interfaces must be modified to match the new naming convention.
14651
14652 Files merged across the subsystem. A number of the smaller source
14653 and header files have been merged to reduce the file count and
14654 increase the density of the existing files. There are too many
14655 to list here. In general, makefiles that call out individual
14656 files will require rebuilding.
14657
14658 Interpreter files renamed. All interpreter files now have the
14659 prefix am* instead of ie* and is*.
14660
14661 Header files renamed: The acapi.h file is now acpixf.h. The
14662 acpiosd.h file is now acpiosxf.h. We are removing references to
14663 the acronym "API" since it is somewhat windowsy. The new name is
14664 "external interface" or xface or xf in the filenames.j
14665
14666
14667 All manifest constants have been forced to upper case (some were
14668 mixed case.) Also, the string "ACPI_" has been prepended to many
14669 (not all) of the constants, typedefs, and structs.
14670
14671 The globals "DebugLevel" and "DebugLayer" have been renamed
14672 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
14673
14674 All other globals within the subsystem are now prefixed with
14675 "AcpiGbl_" Internal procedures within the subsystem are now
14676 prefixed with "Acpi" (with only a few exceptions). The original
14677 two-letter abbreviation for the subcomponent remains after "Acpi"
14678 - for example, CmCallocate became AcpiCmCallocate.
14679
14680 Added a source code translation/conversion utility. Used to
14681 generate the Linux source code, it can be modified to generate
14682 other types of source as well. Can also be used to cleanup
14683 existing source by removing extraneous spaces and blank lines.
14684 Found in tools/acpisrc/*
14685
14686 OsdUnMapMemory was renamed to OsdUnmapMemory and then
14687 AcpiOsUnmapMemory. (UnMap became Unmap).
14688
14689 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
14690 When set to one, this indicates that the caller wants to use the
14691
14692 semaphore as a mutex, not a counting semaphore. ACPI CA uses
14693 both types. However, implementers of this call may want to use
14694 different OS primitives depending on the type of semaphore
14695 requested. For example, some operating systems provide separate
14696
14697 "mutex" and "semaphore" interfaces - where the mutex interface is
14698 much faster because it doesn't have all the overhead of a full
14699 semaphore implementation.
14700
14701 Fixed a deadlock problem where a method that accesses the PCI
14702 address space can block forever if it is the first access to the
14703 space.
14704
14705 -------------------------------------------
14706 Summary of changes for this label: 06_02_00
14707
14708 Support for environments that cannot handle unaligned data
14709 accesses (e.g. firmware and OS environments devoid of alignment
14710 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
14711 been added (via configurable macros) in these three areas: -
14712 Transfer of data from the raw AML byte stream is done via byte
14713 moves instead of word/dword/qword moves. - External objects are
14714 aligned within the user buffer, including package elements (sub-
14715 objects). - Conversion of name strings to UINT32 Acpi Names is now
14716 done byte-wise.
14717
14718 The Store operator was modified to mimic Microsoft's
14719 implementation when storing to a Buffer Field.
14720
14721 Added a check of the BM_STS bit before entering C3.
14722
14723 The methods subdirectory has been obsoleted and removed. A new
14724 file, cmeval.c subsumes the functionality.
14725
14726 A 16-bit (DOS) version of AcpiExec has been developed. The
14727 makefile is under the acpiexec directory.