xref: /freebsd/sys/contrib/dev/acpica/changes.txt (revision 09d325677d53a12c79a43664ff29871e92247629)
1----------------------------------------
223 August 2013. Summary of changes for version 20130823:
3
41) ACPICA kernel-resident subsystem:
5
6Implemented support for host-installed System Control Interrupt (SCI)
7handlers. Certain ACPI functionality requires the host to handle raw
8SCIs. For example, the "SCI Doorbell" that is defined for memory power
9state support requires the host device driver to handle SCIs to examine
10if the doorbell has been activated. Multiple SCI handlers can be
11installed to allow for future expansion. New external interfaces are
12AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
13details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
14
15Operation region support: Never locally free the handler "context"
16pointer. This change removes some dangerous code that attempts to free
17the handler context pointer in some (rare) circumstances. The owner of
18the handler owns this pointer and the ACPICA code should never touch it.
19Although not seen to be an issue in any kernel, it did show up as a
20problem (fault) under AcpiExec. Also, set the internal storage field for
21the context pointer to zero when the region is deactivated, simply for
22sanity. David Box. ACPICA BZ 1039.
23
24AcpiRead: On error, do not modify the return value target location. If an
25error happens in the middle of a split 32/32 64-bit I/O operation, do not
26modify the target of the return value pointer. Makes the code consistent
27with the rest of ACPICA. Bjorn Helgaas.
28
29Example Code and Data Size: These are the sizes for the OS-independent
30acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
31debug version of the code includes the debug output trace mechanism and
32has a much larger code and data size.
33
34  Current Release:
35    Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
36    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
37  Previous Release:
38    Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
39    Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
40
41
422) iASL Compiler/Disassembler and Tools:
43
44AcpiDump: Implemented several new features and fixed some problems:
451) Added support to dump the RSDP, RSDT, and XSDT tables.
462) Added support for multiple table instances (SSDT, UEFI).
473) Added option to dump "customized" (overridden) tables (-c).
484) Fixed a problem where some table filenames were improperly
49constructed.
505) Improved some error messages, removed some unnecessary messages.
51
52iASL: Implemented additional support for disassembly of ACPI tables that
53contain invocations of external control methods. The -fe<file> option
54allows the import of a file that specifies the external methods along
55with the required number of arguments for each -- allowing for the
56correct disassembly of the table. This is a workaround for a limitation
57of AML code where the disassembler often cannot determine the number of
58arguments required for an external control method and generates incorrect
59ASL code. See the iASL reference for details. ACPICA BZ 1030.
60
61Debugger: Implemented a new command (paths) that displays the full
62pathnames (namepaths) and object types of all objects in the namespace.
63This is an alternative to the namespace command.
64
65Debugger: Implemented a new command (sci) that invokes the SCI dispatch
66mechanism and any installed handlers.
67
68iASL: Fixed a possible segfault for "too many parent prefixes" condition.
69This can occur if there are too many parent prefixes in a namepath (for
70example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
71
72Application OSLs: Set the return value for the PCI read functions. These
73functions simply return AE_OK, but should set the return value to zero
74also. This change implements this. ACPICA BZ 1038.
75
76Debugger: Prevent possible command line buffer overflow. Increase the
77size of a couple of the debugger line buffers, and ensure that overflow
78cannot happen. ACPICA BZ 1037.
79
80iASL: Changed to abort immediately on serious errors during the parsing
81phase. Due to the nature of ASL, there is no point in attempting to
82compile these types of errors, and they typically end up causing a
83cascade of hundreds of errors which obscure the original problem.
84
85----------------------------------------
8625 July 2013. Summary of changes for version 20130725:
87
881) ACPICA kernel-resident subsystem:
89
90Fixed a problem with the DerefOf operator where references to FieldUnits
91and BufferFields incorrectly returned the parent object, not the actual
92value of the object. After this change, a dereference of a FieldUnit
93reference results in a read operation on the field to get the value, and
94likewise, the appropriate BufferField value is extracted from the target
95buffer.
96
97Fixed a problem where the _WAK method could cause a fault under these
98circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
99method returned no value. The problem is rarely seen because most kernels
100run ACPICA in slack mode.
101
102For the DerefOf operator, a fatal error now results if an attempt is made
103to dereference a reference (created by the Index operator) to a NULL
104package element. Provides compatibility with other ACPI implementations,
105and this behavior will be added to a future version of the ACPI
106specification.
107
108The ACPI Power Management Timer (defined in the FADT) is now optional.
109This provides compatibility with other ACPI implementations and will
110appear in the next version of the ACPI specification. If there is no PM
111Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
112zero in the FADT indicates no PM timer.
113
114Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
115allows the host to globally enable/disable all vendor strings, all
116feature strings, or both. Intended to be primarily used for debugging
117purposes only. Lv Zheng.
118
119Expose the collected _OSI data to the host via a global variable. This
120data tracks the highest level vendor ID that has been invoked by the BIOS
121so that the host (and potentially ACPICA itself) can change behaviors
122based upon the age of the BIOS.
123
124Example Code and Data Size: These are the sizes for the OS-independent
125acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
126debug version of the code includes the debug output trace mechanism and
127has a much larger code and data size.
128
129  Current Release:
130    Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
131    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
132  Previous Release:
133    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
134    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
135
136
1372) iASL Compiler/Disassembler and Tools:
138
139iASL: Created the following enhancements for the -so option (create
140offset table):
1411)Add offsets for the last nameseg in each namepath for every supported
142object type
1432)Add support for Processor, Device, Thermal Zone, and Scope objects
1443)Add the actual AML opcode for the parent object of every supported
145object type
1464)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
147
148Disassembler: Emit all unresolved external symbols in a single block.
149These are external references to control methods that could not be
150resolved, and thus, the disassembler had to make a guess at the number of
151arguments to parse.
152
153iASL: The argument to the -T option (create table template) is now
154optional. If not specified, the default table is a DSDT, typically the
155most common case.
156
157----------------------------------------
15826 June 2013. Summary of changes for version 20130626:
159
1601) ACPICA kernel-resident subsystem:
161
162Fixed an issue with runtime repair of the _CST object. Null or invalid
163elements were not always removed properly. Lv Zheng.
164
165Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
166FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
167the maximum number of GPEs is 1016. Use of multiple GPE block devices
168makes the system-wide number of GPEs essentially unlimited.
169
170Example Code and Data Size: These are the sizes for the OS-independent
171acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
172debug version of the code includes the debug output trace mechanism and
173has a much larger code and data size.
174
175  Current Release:
176    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
177    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
178  Previous Release:
179    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
180    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
181
182
1832) iASL Compiler/Disassembler and Tools:
184
185Portable AcpiDump: Implemented full support for the Linux and FreeBSD
186hosts. Now supports Linux, FreeBSD, and Windows.
187
188Disassembler: Added some missing types for the HEST and EINJ tables: "Set
189Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
190
191iASL/Preprocessor: Implemented full support for nested
192#if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
193
194Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
195max. The original purpose of this constraint was to limit the amount of
196debug output. However, the string function in question (UtPrintString) is
197now used for the disassembler also, where 256 bytes is insufficient.
198Reported by RehabMan@GitHub.
199
200iASL/DataTables: Fixed some problems and issues with compilation of DMAR
201tables. ACPICA BZ 999. Lv Zheng.
202
203iASL: Fixed a couple of error exit issues that could result in a "Could
204not delete <file>" message during ASL compilation.
205
206AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
207the actual signatures for these tables are "FACP" and "APIC",
208respectively.
209
210AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
211tables are allowed to have multiple instances.
212
213----------------------------------------
21417 May 2013. Summary of changes for version 20130517:
215
2161) ACPICA kernel-resident subsystem:
217
218Fixed a regression introduced in version 20130328 for _INI methods. This
219change fixes a problem introduced in 20130328 where _INI methods are no
220longer executed properly because of a memory block that was not
221initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
222<tomasz.nowicki@linaro.org>.
223
224Fixed a possible problem with the new extended sleep registers in the
225ACPI
2265.0 FADT. Do not use these registers (even if populated) unless the HW-
227reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
2281020. Lv Zheng.
229
230Implemented return value repair code for _CST predefined objects: Sort
231the
232list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
233
234Implemented a debug-only option to disable loading of SSDTs from the
235RSDT/XSDT during ACPICA initialization. This can be useful for debugging
236ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
237acglobal.h - ACPICA BZ 1005. Lv Zheng.
238
239Fixed some issues in the ACPICA initialization and termination code:
240Tomasz Nowicki <tomasz.nowicki@linaro.org>
2411) Clear events initialized flag upon event component termination. ACPICA
242BZ 1013.
2432) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
2443) Delete global lock pending lock during termination. ACPICA BZ 1012.
2454) Clear debug buffer global on termination to prevent possible multiple
246delete. ACPICA BZ 1010.
247
248Standardized all switch() blocks across the entire source base. After
249many
250years, different formatting for switch() had crept in. This change makes
251the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
252
253Split some files to enhance ACPICA modularity and configurability:
2541) Split buffer dump routines into utilities/utbuffer.c
2552) Split internal error message routines into utilities/uterror.c
2563) Split table print utilities into tables/tbprint.c
2574) Split iASL command-line option processing into asloptions.c
258
259Makefile enhancements:
2601) Support for all new files above.
2612) Abort make on errors from any subcomponent. Chao Guan.
2623) Add build support for Apple Mac OS X. Liang Qi.
263
264Example Code and Data Size: These are the sizes for the OS-independent
265acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
266debug version of the code includes the debug output trace mechanism and
267has a much larger code and data size.
268
269  Current Release:
270    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
271    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
272  Previous Release:
273    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
274    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
275
276
2772) iASL Compiler/Disassembler and Tools:
278
279New utility: Implemented an easily portable version of the acpidump
280utility to extract ACPI tables from the system (or a file) in an ASCII
281hex
282dump format. The top-level code implements the various command line
283options, file I/O, and table dump routines. To port to a new host, only
284three functions need to be implemented to get tables -- since this
285functionality is OS-dependent. See the tools/acpidump/apmain.c module and
286the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
2871) The Windows version obtains the ACPI tables from the Registry.
2882) The Linux version is under development.
2893) Other hosts - If an OS-dependent module is submitted, it will be
290distributed with ACPICA.
291
292iASL: Fixed a regression for -D preprocessor option (define symbol). A
293restructuring/change to the initialization sequence caused this option to
294no longer work properly.
295
296iASL: Implemented a mechanism to disable specific warnings and remarks.
297Adds a new command line option, "-vw <messageid> as well as "#pragma
298disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
299
300iASL: Fix for too-strict package object validation. The package object
301validation for return values from the predefined names is a bit too
302strict, it does not allow names references within the package (which will
303be resolved at runtime.) These types of references cannot be validated at
304compile time. This change ignores named references within package objects
305for names that return or define static packages.
306
307Debugger: Fixed the 80-character command line limitation for the History
308command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
309
310iASL: Added control method and package support for the -so option
311(generates AML offset table for BIOS support.)
312
313iASL: issue a remark if a non-serialized method creates named objects. If
314a thread blocks within the method for any reason, and another thread
315enters the method, the method will fail because an attempt will be made
316to
317create the same (named) object twice. In this case, issue a remark that
318the method should be marked serialized. NOTE: may become a warning later.
319ACPICA BZ 909.
320
321----------------------------------------
32218 April 2013. Summary of changes for version 20130418:
323
3241) ACPICA kernel-resident subsystem:
325
326Fixed a possible buffer overrun during some rare but specific field unit
327read operations. This overrun can only happen if the DSDT version is 1 --
328meaning that all AML integers are 32 bits -- and the field length is
329between 33 and 55 bits long. During the read, an internal buffer object
330is
331created for the field unit because the field is larger than an integer
332(32
333bits). However, in this case, the buffer will be incorrectly written
334beyond the end because the buffer length is less than the internal
335minimum
336of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
337long, but a full 8 bytes will be written.
338
339Updated the Embedded Controller "orphan" _REG method support. This refers
340to _REG methods under the EC device that have no corresponding operation
341region. This is allowed by the ACPI specification. This update removes a
342dependency on the existence an ECDT table. It will execute an orphan _REG
343method as long as the operation region handler for the EC is installed at
344the EC device node and not the namespace root. Rui Zhang (original
345update), Bob Moore (update/integrate).
346
347Implemented run-time argument typechecking for all predefined ACPI names
348(_STA, _BIF, etc.) This change performs object typechecking on all
349incoming arguments for all predefined names executed via
350AcpiEvaluateObject. This ensures that ACPI-related device drivers are
351passing correct object types as well as the correct number of arguments
352(therefore identifying any issues immediately). Also, the ASL/namespace
353definition of the predefined name is checked against the ACPI
354specification for the proper argument count. Adds one new file,
355nsarguments.c
356
357Changed an exception code for the ASL UnLoad() operator. Changed the
358exception code for the case where the input DdbHandle is invalid, from
359AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
360
361Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
362global makefile. The use of this flag causes compiler errors on earlier
363versions of GCC, so it has been removed for compatibility.
364
365Miscellaneous cleanup:
3661) Removed some unused/obsolete macros
3672) Fixed a possible memory leak in the _OSI support
3683) Removed an unused variable in the predefined name support
3694) Windows OSL: remove obsolete reference to a memory list field
370
371Example Code and Data Size: These are the sizes for the OS-independent
372acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
373debug version of the code includes the debug output trace mechanism and
374has a much larger code and data size.
375
376  Current Release:
377    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
378    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
379  Previous Release:
380    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
381    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
382
383
3842) iASL Compiler/Disassembler and Tools:
385
386AcpiExec: Added installation of a handler for the SystemCMOS address
387space. This prevents control method abort if a method accesses this
388space.
389
390AcpiExec: Added support for multiple EC devices, and now install EC
391operation region handler(s) at the actual EC device instead of the
392namespace root. This reflects the typical behavior of host operating
393systems.
394
395AcpiExec: Updated to ensure that all operation region handlers are
396installed before the _REG methods are executed. This prevents a _REG
397method from aborting if it accesses an address space has no handler.
398AcpiExec installs a handler for every possible address space.
399
400Debugger: Enhanced the "handlers" command to display non-root handlers.
401This change enhances the handlers command to display handlers associated
402with individual devices throughout the namespace, in addition to the
403currently supported display of handlers associated with the root
404namespace
405node.
406
407ASL Test Suite: Several test suite errors have been identified and
408resolved, reducing the total error count during execution. Chao Guan.
409
410----------------------------------------
41128 March 2013. Summary of changes for version 20130328:
412
4131) ACPICA kernel-resident subsystem:
414
415Fixed several possible race conditions with the internal object reference
416counting mechanism. Some of the external ACPICA interfaces update object
417reference counts without holding the interpreter or namespace lock. This
418change adds a spinlock to protect reference count updates on the internal
419ACPICA objects. Reported by and with assistance from Andriy Gapon
420(avg@FreeBSD.org).
421
422FADT support: Removed an extraneous warning for very large GPE register
423sets. This change removes a size mismatch warning if the legacy length
424field for a GPE register set is larger than the 64-bit GAS structure can
425accommodate. GPE register sets can be larger than the 255-bit width
426limitation of the GAS structure. Linn Crosetto (linn@hp.com).
427
428_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
429return from this interface. Handles a possible timeout case if
430ACPI_WAIT_FOREVER is modified by the host to be a value less than
431"forever". Jung-uk Kim.
432
433Predefined name support: Add allowed/required argument type information
434to
435the master predefined info table. This change adds the infrastructure to
436enable typechecking on incoming arguments for all predefined
437methods/objects. It does not actually contain the code that will fully
438utilize this information, this is still under development. Also condenses
439some duplicate code for the predefined names into a new module,
440utilities/utpredef.c
441
442Example Code and Data Size: These are the sizes for the OS-independent
443acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
444debug version of the code includes the debug output trace mechanism and
445has a much larger code and data size.
446
447  Previous Release:
448    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
449    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
450  Current Release:
451    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
452    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
453
454
4552) iASL Compiler/Disassembler and Tools:
456
457iASL: Implemented a new option to simplify the development of ACPI-
458related
459BIOS code. Adds support for a new "offset table" output file. The -so
460option will create a C table containing the AML table offsets of various
461named objects in the namespace so that BIOS code can modify them easily
462at
463boot time. This can simplify BIOS runtime code by eliminating expensive
464searches for "magic values", enhancing boot times and adding greater
465reliability. With assistance from Lee Hamel.
466
467iASL: Allow additional predefined names to return zero-length packages.
468Now, all predefined names that are defined by the ACPI specification to
469return a "variable-length package of packages" are allowed to return a
470zero length top-level package. This allows the BIOS to tell the host that
471the requested feature is not supported, and supports existing BIOS/ASL
472code and practices.
473
474iASL: Changed the "result not used" warning to an error. This is the case
475where an ASL operator is effectively a NOOP because the result of the
476operation is not stored anywhere. For example:
477    Add (4, Local0)
478There is no target (missing 3rd argument), nor is the function return
479value used. This is potentially a very serious problem -- since the code
480was probably intended to do something, but for whatever reason, the value
481was not stored. Therefore, this issue has been upgraded from a warning to
482an error.
483
484AcpiHelp: Added allowable/required argument types to the predefined names
485info display. This feature utilizes the recent update to the predefined
486names table (above).
487
488----------------------------------------
48914 February 2013. Summary of changes for version 20130214:
490
4911) ACPICA Kernel-resident Subsystem:
492
493Fixed a possible regression on some hosts: Reinstated the safe return
494macros (return_ACPI_STATUS, etc.) that ensure that the argument is
495evaluated only once. Although these macros are not needed for the ACPICA
496code itself, they are often used by ACPI-related host device drivers
497where
498the safe feature may be necessary.
499
500Fixed several issues related to the ACPI 5.0 reduced hardware support
501(SOC): Now ensure that if the platform declares itself as hardware-
502reduced
503via the FADT, the following functions become NOOPs (and always return
504AE_OK) because ACPI is always enabled by definition on these machines:
505  AcpiEnable
506  AcpiDisable
507  AcpiHwGetMode
508  AcpiHwSetMode
509
510Dynamic Object Repair: Implemented additional runtime repairs for
511predefined name return values. Both of these repairs can simplify code in
512the related device drivers that invoke these methods:
5131) For the _STR and _MLS names, automatically repair/convert an ASCII
514string to a Unicode buffer.
5152) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
516a
517lone end tag descriptor in the following cases: A Return(0) was executed,
518a null buffer was returned, or no object at all was returned (non-slack
519mode only). Adds a new file, nsconvert.c
520ACPICA BZ 998. Bob Moore, Lv Zheng.
521
522Resource Manager: Added additional code to prevent possible infinite
523loops
524while traversing corrupted or ill-formed resource template buffers. Check
525for zero-length resource descriptors in all code that loops through
526resource templates (the length field is used to index through the
527template). This change also hardens the external AcpiWalkResources and
528AcpiWalkResourceBuffer interfaces.
529
530Local Cache Manager: Enhanced the main data structure to eliminate an
531unnecessary mechanism to access the next object in the list. Actually
532provides a small performance enhancement for hosts that use the local
533ACPICA cache manager. Jung-uk Kim.
534
535Example Code and Data Size: These are the sizes for the OS-independent
536acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
537debug version of the code includes the debug output trace mechanism and
538has a much larger code and data size.
539
540  Previous Release:
541    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
542    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
543  Current Release:
544    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
545    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
546
547
5482) iASL Compiler/Disassembler and Tools:
549
550iASL/Disassembler: Fixed several issues with the definition of the ACPI
5515.0 RASF table (RAS Feature Table). This change incorporates late changes
552that were made to the ACPI 5.0 specification.
553
554iASL/Disassembler: Added full support for the following new ACPI tables:
555  1) The MTMR table (MID Timer Table)
556  2) The VRTC table (Virtual Real Time Clock Table).
557Includes header file, disassembler, table compiler, and template support
558for both tables.
559
560iASL: Implemented compile-time validation of package objects returned by
561predefined names. This new feature validates static package objects
562returned by the various predefined names defined to return packages. Both
563object types and package lengths are validated, for both parent packages
564and sub-packages, if any. The code is similar in structure and behavior
565to
566the runtime repair mechanism within the AML interpreter and uses the
567existing predefined name information table. Adds a new file, aslprepkg.c.
568ACPICA BZ 938.
569
570iASL: Implemented auto-detection of binary ACPI tables for disassembly.
571This feature detects a binary file with a valid ACPI table header and
572invokes the disassembler automatically. Eliminates the need to
573specifically invoke the disassembler with the -d option. ACPICA BZ 862.
574
575iASL/Disassembler: Added several warnings for the case where there are
576unresolved control methods during the disassembly. This can potentially
577cause errors when the output file is compiled, because the disassembler
578assumes zero method arguments in these cases (it cannot determine the
579actual number of arguments without resolution/definition of the method).
580
581Debugger: Added support to display all resources with a single command.
582Invocation of the resources command with no arguments will now display
583all
584resources within the current namespace.
585
586AcpiHelp: Added descriptive text for each ACPICA exception code displayed
587via the -e option.
588
589----------------------------------------
59017 January 2013. Summary of changes for version 20130117:
591
5921) ACPICA Kernel-resident Subsystem:
593
594Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
595return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
596objects to return a package containing one integer, most BIOS code
597returns
598two integers and the previous code reflects that. However, we also need
599to
600support BIOS code that actually implements to the ACPI spec, and this
601change reflects this.
602
603Fixed two issues with the ACPI_DEBUG_PRINT macros:
6041) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
605C compilers that require this support.
6062) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
607ACPI_DEBUG is already used by many of the various hosts.
608
609Updated all ACPICA copyrights and signons to 2013. Added the 2013
610copyright to all module headers and signons, including the standard Linux
611header. This affects virtually every file in the ACPICA core subsystem,
612iASL compiler, all ACPICA utilities, and the test suites.
613
614Example Code and Data Size: These are the sizes for the OS-independent
615acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
616debug version of the code includes the debug output trace mechanism and
617has a much larger code and data size.
618
619  Previous Release:
620    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
621    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
622  Current Release:
623    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
624    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
625
626
6272) iASL Compiler/Disassembler and Tools:
628
629Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
630prevent a possible fault on some hosts. Some C libraries modify the arg
631pointer parameter to vfprintf making it difficult to call it twice in the
632AcpiOsVprintf function. Use a local buffer to workaround this issue. This
633does not affect the Windows OSL since the Win C library does not modify
634the arg pointer. Chao Guan, Bob Moore.
635
636iASL: Fixed a possible infinite loop when the maximum error count is
637reached. If an output file other than the .AML file is specified (such as
638a listing file), and the maximum number of errors is reached, do not
639attempt to flush data to the output file(s) as the compiler is aborting.
640This can cause an infinite loop as the max error count code essentially
641keeps calling itself.
642
643iASL/Disassembler: Added an option (-in) to ignore NOOP
644opcodes/operators.
645Implemented for both the compiler and the disassembler. Often, the NOOP
646opcode is used as padding for packages that are changed dynamically by
647the
648BIOS. When disassembled and recompiled, these NOOPs will cause syntax
649errors. This option causes the disassembler to ignore all NOOP opcodes
650(0xA3), and it also causes the compiler to ignore all ASL source code
651NOOP
652statements as well.
653
654Debugger: Enhanced the Sleep command to execute all sleep states. This
655change allows Sleep to be invoked with no arguments and causes the
656debugger to execute all of the sleep states, 0-5, automatically.
657
658----------------------------------------
65920 December 2012. Summary of changes for version 20121220:
660
6611) ACPICA Kernel-resident Subsystem:
662
663Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
664alternate entry point for AcpiWalkResources and improves the usability of
665the resource manager by accepting as input a buffer containing the output
666of either a _CRS, _PRS, or _AEI method. The key functionality is that the
667input buffer is not deleted by this interface so that it can be used by
668the host later. See the ACPICA reference for details.
669
670Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
671(DSDT version < 2). The constant will be truncated and this warning
672reflects that behavior.
673
674Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
675ExtendedInterrupt, and GpioInt descriptors. This change adds support to
676both get and set the new wake bit in these descriptors, separately from
677the existing share bit. Reported by Aaron Lu.
678
679Interpreter: Fix Store() when an implicit conversion is not possible. For
680example, in the cases such as a store of a string to an existing package
681object, implement the store as a CopyObject(). This is a small departure
682from the ACPI specification which states that the control method should
683be
684aborted in this case. However, the ASLTS suite depends on this behavior.
685
686Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
687macros: check if debug output is currently enabled as soon as possible to
688minimize performance impact if debug is in fact not enabled.
689
690Source code restructuring: Cleanup to improve modularity. The following
691new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
692psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
693Associated makefiles and project files have been updated.
694
695Changed an exception code for LoadTable operator. For the case where one
696of the input strings is too long, change the returned exception code from
697AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
698
699Fixed a possible memory leak in dispatcher error path. On error, delete
700the mutex object created during method mutex creation. Reported by
701tim.gardner@canonical.com.
702
703Example Code and Data Size: These are the sizes for the OS-independent
704acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
705debug version of the code includes the debug output trace mechanism and
706has a much larger code and data size.
707
708  Previous Release:
709    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
710    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
711  Current Release:
712    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
713    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
714
715
7162) iASL Compiler/Disassembler and Tools:
717
718iASL: Disallow a method call as argument to the ObjectType ASL operator.
719This change tracks an errata to the ACPI 5.0 document. The AML grammar
720will not allow the interpreter to differentiate between a method and a
721method invocation when these are used as an argument to the ObjectType
722operator. The ACPI specification change is to disallow a method
723invocation
724(UserTerm) for the ObjectType operator.
725
726Finish support for the TPM2 and CSRT tables in the headers, table
727compiler, and disassembler.
728
729Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
730always expires immediately if the semaphore is not available. The
731original
732code was using a relative-time timeout, but sem_timedwait requires the
733use
734of an absolute time.
735
736iASL: Added a remark if the Timer() operator is used within a 32-bit
737table. This operator returns a 64-bit time value that will be truncated
738within a 32-bit table.
739
740iASL Source code restructuring: Cleanup to improve modularity. The
741following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
742aslmethod.c, and aslfileio.c. Associated makefiles and project files have
743been updated.
744
745
746----------------------------------------
74714 November 2012. Summary of changes for version 20121114:
748
7491) ACPICA Kernel-resident Subsystem:
750
751Implemented a performance enhancement for ACPI/AML Package objects. This
752change greatly increases the performance of Package objects within the
753interpreter. It changes the processing of reference counts for packages
754by
755optimizing for the most common case where the package sub-objects are
756either Integers, Strings, or Buffers. Increases the overall performance
757of
758the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
7592X.)
760Chao Guan. ACPICA BZ 943.
761
762Implemented and deployed common macros to extract flag bits from resource
763descriptors. Improves readability and maintainability of the code. Fixes
764a
765problem with the UART serial bus descriptor for the number of data bits
766flags (was incorrectly 2 bits, should be 3).
767
768Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
769of the macros and changed the SETx macros to the style of (destination,
770source). Also added ACPI_CASTx companion macros. Lv Zheng.
771
772Example Code and Data Size: These are the sizes for the OS-independent
773acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
774debug version of the code includes the debug output trace mechanism and
775has a much larger code and data size.
776
777  Previous Release:
778    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
779    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
780  Current Release:
781    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
782    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
783
784
7852) iASL Compiler/Disassembler and Tools:
786
787Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
788adds the ShareAndWake and ExclusiveAndWake flags which were added to the
789Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
790
791Disassembler: Fixed a problem with external declaration generation. Fixes
792a problem where an incorrect pathname could be generated for an external
793declaration if the original reference to the object includes leading
794carats (^). ACPICA BZ 984.
795
796Debugger: Completed a major update for the Disassemble<method> command.
797This command was out-of-date and did not properly disassemble control
798methods that had any reasonable complexity. This fix brings the command
799up
800to the same level as the rest of the disassembler. Adds one new file,
801dmdeferred.c, which is existing code that is now common with the main
802disassembler and the debugger disassemble command. ACPICA MZ 978.
803
804iASL: Moved the parser entry prototype to avoid a duplicate declaration.
805Newer versions of Bison emit this prototype, so moved the prototype out
806of
807the iASL header to where it is actually used in order to avoid a
808duplicate
809declaration.
810
811iASL/Tools: Standardized use of the stream I/O functions:
812  1) Ensure check for I/O error after every fopen/fread/fwrite
813  2) Ensure proper order of size/count arguments for fread/fwrite
814  3) Use test of (Actual != Requested) after all fwrite, and most fread
815  4) Standardize I/O error messages
816Improves reliability and maintainability of the code. Bob Moore, Lv
817Zheng.
818ACPICA BZ 981.
819
820Disassembler: Prevent duplicate External() statements. During generation
821of external statements, detect similar pathnames that are actually
822duplicates such as these:
823  External (\ABCD)
824  External (ABCD)
825Remove all leading '\' characters from pathnames during the external
826statement generation so that duplicates will be detected and tossed.
827ACPICA BZ 985.
828
829Tools: Replace low-level I/O with stream I/O functions. Replace
830open/read/write/close with the stream I/O equivalents
831fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
832Moore.
833
834AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
835name header so that AcpiXtract recognizes the output file/table.
836
837iASL: Remove obsolete -2 option flag. Originally intended to force the
838compiler/disassembler into an ACPI 2.0 mode, this was never implemented
839and the entire concept is now obsolete.
840
841----------------------------------------
84218 October 2012. Summary of changes for version 20121018:
843
844
8451) ACPICA Kernel-resident Subsystem:
846
847Updated support for the ACPI 5.0 MPST table. Fixes some problems
848introduced by late changes to the table as it was added to the ACPI 5.0
849specification. Includes header, disassembler, and data table compiler
850support as well as a new version of the MPST template.
851
852AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
8535.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
854methods: _HID, _CID, and _UID.
855
856Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
857ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
858name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
859names for their various drivers. Affects the AcpiGetObjectInfo external
860interface, and other internal interfaces as well.
861
862Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
863This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
864on machines that support non-aligned transfers. Optimizes for this case
865rather than using a strncpy. With assistance from Zheng Lv.
866
867Resource Manager: Small fix for buffer size calculation. Fixed a one byte
868error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
869
870Added a new debug print message for AML mutex objects that are force-
871released. At control method termination, any currently acquired mutex
872objects are force-released. Adds a new debug-only message for each one
873that is released.
874
875Audited/updated all ACPICA return macros and the function debug depth
876counter: 1) Ensure that all functions that use the various TRACE macros
877also use the appropriate ACPICA return macros. 2) Ensure that all normal
878return statements surround the return expression (value) with parens to
879ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
880Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
881
882Global source code changes/maintenance: All extra lines at the start and
883end of each source file have been removed for consistency. Also, within
884comments, all new sentences start with a single space instead of a double
885space, again for consistency across the code base.
886
887Example Code and Data Size: These are the sizes for the OS-independent
888acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
889debug version of the code includes the debug output trace mechanism and
890has a much larger code and data size.
891
892  Previous Release:
893    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
894    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
895  Current Release:
896    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
897    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
898
899
9002) iASL Compiler/Disassembler and Tools:
901
902AcpiExec: Improved the algorithm used for memory leak/corruption
903detection. Added some intelligence to the code that maintains the global
904list of allocated memory. The list is now ordered by allocated memory
905address, significantly improving performance. When running AcpiExec on
906the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
907on the platform and/or the environment. Note, this performance
908enhancement affects the AcpiExec utility only, not the kernel-resident
909ACPICA code.
910
911Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
912the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
913incorrect table offset reported for invalid opcodes. Report the original
91432-bit value for bad ACPI_NAMEs (as well as the repaired name.)
915
916Disassembler: Enhanced the -vt option to emit the binary table data in
917hex format to assist with debugging.
918
919Fixed a potential filename buffer overflow in osunixdir.c. Increased the
920size of file structure. Colin Ian King.
921
922----------------------------------------
92313 September 2012. Summary of changes for version 20120913:
924
925
9261) ACPICA Kernel-resident Subsystem:
927
928ACPI 5.0: Added two new notify types for the Hardware Error Notification
929Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
930and
931MCE(6).
932
933Table Manager: Merged/removed duplicate code in the root table resize
934functions. One function is external, the other is internal. Lv Zheng,
935ACPICA
936BZ 846.
937
938Makefiles: Completely removed the obsolete "Linux" makefiles under
939acpica/generate/linux. These makefiles are obsolete and have been
940replaced
941by
942the generic unix makefiles under acpica/generate/unix.
943
944Makefiles: Ensure that binary files always copied properly. Minor rule
945change
946to ensure that the final binary output files are always copied up to the
947appropriate binary directory (bin32 or bin64.)
948
949Example Code and Data Size: These are the sizes for the OS-independent
950acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
951debug
952version of the code includes the debug output trace mechanism and has a
953much
954larger code and data size.
955
956  Previous Release:
957    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
958    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
959  Current Release:
960    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
961    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
962
963
9642) iASL Compiler/Disassembler and Tools:
965
966Disassembler: Fixed a possible fault during the disassembly of resource
967descriptors when a second parse is required because of the invocation of
968external control methods within the table. With assistance from
969adq@lidskialf.net. ACPICA BZ 976.
970
971iASL: Fixed a namepath optimization problem. An error can occur if the
972parse
973node that contains the namepath to be optimized does not have a parent
974node
975that is a named object. This change fixes the problem.
976
977iASL: Fixed a regression where the AML file is not deleted on errors. The
978AML
979output file should be deleted if there are any errors during the
980compiler.
981The
982only exception is if the -f (force output) option is used. ACPICA BZ 974.
983
984iASL: Added a feature to automatically increase internal line buffer
985sizes.
986Via realloc(), automatically increase the internal line buffer sizes as
987necessary to support very long source code lines. The current version of
988the
989preprocessor requires a buffer long enough to contain full source code
990lines.
991This change increases the line buffer(s) if the input lines go beyond the
992current buffer size. This eliminates errors that occurred when a source
993code
994line was longer than the buffer.
995
996iASL: Fixed a problem with constant folding in method declarations. The
997SyncLevel term is a ByteConstExpr, and incorrect code would be generated
998if a
999Type3 opcode was used.
1000
1001Debugger: Improved command help support. For incorrect argument count,
1002display
1003full help for the command. For help command itself, allow an argument to
1004specify a command.
1005
1006Test Suites: Several bug fixes for the ASLTS suite reduces the number of
1007errors during execution of the suite. Guan Chao.
1008
1009----------------------------------------
101016 August 2012. Summary of changes for version 20120816:
1011
1012
10131) ACPICA Kernel-resident Subsystem:
1014
1015Removed all use of the deprecated _GTS and _BFS predefined methods. The
1016_GTS
1017(Going To Sleep) and _BFS (Back From Sleep) methods are essentially
1018deprecated and will probably be removed from the ACPI specification.
1019Windows
1020does not invoke them, and reportedly never will. The final nail in the
1021coffin
1022is that the ACPI specification states that these methods must be run with
1023interrupts off, which is not going to happen in a kernel interpreter.
1024Note:
1025Linux has removed all use of the methods also. It was discovered that
1026invoking these functions caused failures on some machines, probably
1027because
1028they were never tested since Windows does not call them. Affects two
1029external
1030interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
1031ACPICA BZ 969.
1032
1033Implemented support for complex bit-packed buffers returned from the _PLD
1034(Physical Location of Device) predefined method. Adds a new external
1035interface, AcpiDecodePldBuffer that parses the buffer into a more usable
1036C
1037structure. Note: C Bitfields cannot be used for this type of predefined
1038structure since the memory layout of individual bitfields is not defined
1039by
1040the C language. In addition, there are endian concerns where a compiler
1041will
1042change the bitfield ordering based on the machine type. The new ACPICA
1043interface eliminates these issues, and should be called after _PLD is
1044executed. ACPICA BZ 954.
1045
1046Implemented a change to allow a scope change to root (via "Scope (\)")
1047during
1048execution of module-level ASL code (code that is executed at table load
1049time.) Lin Ming.
1050
1051Added the Windows8/Server2012 string for the _OSI method. This change
1052adds
1053a
1054new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
10552012.
1056
1057Added header support for the new ACPI tables DBG2 (Debug Port Table Type
10582)
1059and CSRT (Core System Resource Table).
1060
1061Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
1062names. This simplifies access to the buffers returned by these predefined
1063names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
1064
1065GPE support: Removed an extraneous parameter from the various low-level
1066internal GPE functions. Tang Feng.
1067
1068Removed the linux makefiles from the unix packages. The generate/linux
1069makefiles are obsolete and have been removed from the unix tarball
1070release
1071packages. The replacement makefiles are under generate/unix, and there is
1072a
1073top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
1074
1075Updates for Unix makefiles:
10761) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
10772) Update linker flags (move to end of command line) for AcpiExec
1078utility.
1079Guan Chao.
1080
1081Split ACPICA initialization functions to new file, utxfinit.c. Split from
1082utxface.c to improve modularity and reduce file size.
1083
1084Example Code and Data Size: These are the sizes for the OS-independent
1085acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1086debug version of the code includes the debug output trace mechanism and
1087has a
1088much larger code and data size.
1089
1090  Previous Release:
1091    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
1092    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
1093  Current Release:
1094    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
1095    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
1096
1097
10982) iASL Compiler/Disassembler and Tools:
1099
1100iASL: Fixed a problem with constant folding for fixed-length constant
1101expressions. The constant-folding code was not being invoked for constant
1102expressions that allow the use of type 3/4/5 opcodes to generate
1103constants
1104for expressions such as ByteConstExpr, WordConstExpr, etc. This could
1105result
1106in the generation of invalid AML bytecode. ACPICA BZ 970.
1107
1108iASL: Fixed a generation issue on newer versions of Bison. Newer versions
1109apparently automatically emit some of the necessary externals. This
1110change
1111handles these versions in order to eliminate generation warnings.
1112
1113Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
1114
1115Disassembler: Add support to decode _PLD buffers. The decoded buffer
1116appears
1117within comments in the output file.
1118
1119Debugger: Fixed a regression with the "Threads" command where
1120AE_BAD_PARAMETER was always returned.
1121
1122----------------------------------------
112311 July 2012. Summary of changes for version 20120711:
1124
11251) ACPICA Kernel-resident Subsystem:
1126
1127Fixed a possible fault in the return package object repair code. Fixes a
1128problem that can occur when a lone package object is wrapped with an
1129outer
1130package object in order to force conformance to the ACPI specification.
1131Can
1132affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
1133_DLM,
1134_CSD, _PSD, _TSD.
1135
1136Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
1137PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
1138ARB_DIS bit must be implemented in the host-dependent C3 processor power
1139state
1140support. Note, ARB_DIS is obsolete and only applies to older chipsets,
1141both
1142Intel and other vendors. (for Intel: ICH4-M and earlier)
1143
1144This change removes the code to disable/enable bus master arbitration
1145during
1146suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
1147causes
1148resume problems on some machines. The change has been in use for over
1149seven
1150years within Linux.
1151
1152Implemented two new external interfaces to support host-directed dynamic
1153ACPI
1154table load and unload. They are intended to simplify the host
1155implementation
1156of hot-plug support:
1157  AcpiLoadTable: Load an SSDT from a buffer into the namespace.
1158  AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
1159table.
1160See the ACPICA reference for additional details. Adds one new file,
1161components/tables/tbxfload.c
1162
1163Implemented and deployed two new interfaces for errors and warnings that
1164are
1165known to be caused by BIOS/firmware issues:
1166  AcpiBiosError: Prints "ACPI Firmware Error" message.
1167  AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
1168Deployed these new interfaces in the ACPICA Table Manager code for ACPI
1169table
1170and FADT errors. Additional deployment to be completed as appropriate in
1171the
1172future. The associated conditional macros are ACPI_BIOS_ERROR and
1173ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
1174ACPICA
1175BZ
1176843.
1177
1178Implicit notify support: ensure that no memory allocation occurs within a
1179critical region. This fix moves a memory allocation outside of the time
1180that a
1181spinlock is held. Fixes issues on systems that do not allow this
1182behavior.
1183Jung-uk Kim.
1184
1185Split exception code utilities and tables into a new file,
1186utilities/utexcep.c
1187
1188Example Code and Data Size: These are the sizes for the OS-independent
1189acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1190debug
1191version of the code includes the debug output trace mechanism and has a
1192much
1193larger code and data size.
1194
1195  Previous Release:
1196    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
1197    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
1198  Current Release:
1199    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
1200    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
1201
1202
12032) iASL Compiler/Disassembler and Tools:
1204
1205iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
1206of
12070. Jung-uk Kim.
1208
1209Debugger: Enhanced the "tables" command to emit additional information
1210about
1211the current set of ACPI tables, including the owner ID and flags decode.
1212
1213Debugger: Reimplemented the "unload" command to use the new
1214AcpiUnloadParentTable external interface. This command was disable
1215previously
1216due to need for an unload interface.
1217
1218AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
1219option
1220will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
1221
1222----------------------------------------
122320 June 2012. Summary of changes for version 20120620:
1224
1225
12261) ACPICA Kernel-resident Subsystem:
1227
1228Implemented support to expand the "implicit notify" feature to allow
1229multiple
1230devices to be notified by a single GPE. This feature automatically
1231generates a
1232runtime device notification in the absence of a BIOS-provided GPE control
1233method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
1234notify is
1235provided by ACPICA for Windows compatibility, and is a workaround for
1236BIOS
1237AML
1238code errors. See the description of the AcpiSetupGpeForWake interface in
1239the
1240APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
1241
1242Changed some comments and internal function names to simplify and ensure
1243correctness of the Linux code translation. No functional changes.
1244
1245Example Code and Data Size: These are the sizes for the OS-independent
1246acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1247debug
1248version of the code includes the debug output trace mechanism and has a
1249much
1250larger code and data size.
1251
1252  Previous Release:
1253    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
1254    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
1255  Current Release:
1256    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
1257    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
1258
1259
12602) iASL Compiler/Disassembler and Tools:
1261
1262Disassembler: Added support to emit short, commented descriptions for the
1263ACPI
1264predefined names in order to improve the readability of the disassembled
1265output. ACPICA BZ 959. Changes include:
1266  1) Emit descriptions for all standard predefined names (_INI, _STA,
1267_PRW,
1268etc.)
1269  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
1270  3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
1271etc.)
1272
1273AcpiSrc: Fixed several long-standing Linux code translation issues.
1274Argument
1275descriptions in function headers are now translated properly to lower
1276case
1277and
1278underscores. ACPICA BZ 961. Also fixes translation problems such as
1279these:
1280(old -> new)
1281  i_aSL -> iASL
1282  00-7_f -> 00-7F
1283  16_k -> 16K
1284  local_fADT -> local_FADT
1285  execute_oSI -> execute_OSI
1286
1287iASL: Fixed a problem where null bytes were inadvertently emitted into
1288some
1289listing files.
1290
1291iASL: Added the existing debug options to the standard help screen. There
1292are
1293no longer two different help screens. ACPICA BZ 957.
1294
1295AcpiHelp: Fixed some typos in the various predefined name descriptions.
1296Also
1297expand some of the descriptions where appropriate.
1298
1299iASL: Fixed the -ot option (display compile times/statistics). Was not
1300working
1301properly for standard output; only worked for the debug file case.
1302
1303----------------------------------------
130418 May 2012. Summary of changes for version 20120518:
1305
1306
13071) ACPICA Core Subsystem:
1308
1309Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
1310defined
1311to block until asynchronous events such as notifies and GPEs have
1312completed.
1313Within ACPICA, it is only called before a notify or GPE handler is
1314removed/uninstalled. It also may be useful for the host OS within related
1315drivers such as the Embedded Controller driver. See the ACPICA reference
1316for
1317additional information. ACPICA BZ 868.
1318
1319ACPI Tables: Added a new error message for a possible overflow failure
1320during
1321the conversion of FADT 32-bit legacy register addresses to internal
1322common
132364-
1324bit GAS structure representation. The GAS has a one-byte "bit length"
1325field,
1326thus limiting the register length to 255 bits. ACPICA BZ 953.
1327
1328Example Code and Data Size: These are the sizes for the OS-independent
1329acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1330debug
1331version of the code includes the debug output trace mechanism and has a
1332much
1333larger code and data size.
1334
1335  Previous Release:
1336    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1337    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
1338  Current Release:
1339    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
1340    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
1341
1342
13432) iASL Compiler/Disassembler and Tools:
1344
1345iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
1346macro.
1347This keyword was added late in the ACPI 5.0 release cycle and was not
1348implemented until now.
1349
1350Disassembler: Added support for Operation Region externals. Adds missing
1351support for operation regions that are defined in another table, and
1352referenced locally via a Field or BankField ASL operator. Now generates
1353the
1354correct External statement.
1355
1356Disassembler: Several additional fixes for the External() statement
1357generation
1358related to some ASL operators. Also, order the External() statements
1359alphabetically in the disassembler output. Fixes the External()
1360generation
1361for
1362the Create* field, Alias, and Scope operators:
1363 1) Create* buffer field operators - fix type mismatch warning on
1364disassembly
1365 2) Alias - implement missing External support
1366 3) Scope - fix to make sure all necessary externals are emitted.
1367
1368iASL: Improved pathname support. For include files, merge the prefix
1369pathname
1370with the file pathname and eliminate unnecessary components. Convert
1371backslashes in all pathnames to forward slashes, for readability. Include
1372file
1373pathname changes affect both #include and Include() type operators.
1374
1375iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
1376end
1377of a valid line by inserting a newline and then returning the EOF during
1378the
1379next call to GetNextLine. Prevents the line from being ignored due to EOF
1380condition.
1381
1382iASL: Implemented some changes to enhance the IDE support (-vi option.)
1383Error
1384and Warning messages are now correctly recognized for both the source
1385code
1386browser and the global error and warning counts.
1387
1388----------------------------------------
138920 April 2012. Summary of changes for version 20120420:
1390
1391
13921) ACPICA Core Subsystem:
1393
1394Implemented support for multiple notify handlers. This change adds
1395support
1396to
1397allow multiple system and device notify handlers on Device, Thermal Zone,
1398and
1399Processor objects. This can simplify the host OS notification
1400implementation.
1401Also re-worked and restructured the entire notify support code to
1402simplify
1403handler installation, handler removal, notify event queuing, and notify
1404dispatch to handler(s). Note: there can still only be two global notify
1405handlers - one for system notifies and one for device notifies. There are
1406no
1407changes to the existing handler install/remove interfaces. Lin Ming, Bob
1408Moore, Rafael Wysocki.
1409
1410Fixed a regression in the package repair code where the object reference
1411count was calculated incorrectly. Regression was introduced in the commit
1412"Support to add Package wrappers".
1413
1414Fixed a couple possible memory leaks in the AML parser, in the error
1415recovery
1416path. Jesper Juhl, Lin Ming.
1417
1418Example Code and Data Size: These are the sizes for the OS-independent
1419acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1420debug version of the code includes the debug output trace mechanism and
1421has a
1422much larger code and data size.
1423
1424  Previous Release:
1425    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1426    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1427  Current Release:
1428    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1429    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
1430
1431
14322) iASL Compiler/Disassembler and Tools:
1433
1434iASL: Fixed a problem with the resource descriptor support where the
1435length
1436of the StartDependentFn and StartDependentFnNoPrio descriptors were not
1437included in cumulative descriptor offset, resulting in incorrect values
1438for
1439resource tags within resource descriptors appearing after a
1440StartDependent*
1441descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
1442
1443iASL and Preprocessor: Implemented full support for the #line directive
1444to
1445correctly track original source file line numbers through the .i
1446preprocessor
1447output file - for error and warning messages.
1448
1449iASL: Expand the allowable byte constants for address space IDs.
1450Previously,
1451the allowable range was 0x80-0xFF (user-defined spaces), now the range is
14520x0A-0xFF to allow for custom and new IDs without changing the compiler.
1453
1454iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
1455
1456iASL: Add option to completely disable the preprocessor (-Pn).
1457
1458iASL: Now emit all error/warning messages to standard error (stderr) by
1459default (instead of the previous stdout).
1460
1461ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
1462Update
1463for resource descriptor offset fix above. Update/cleanup error output
1464routines. Enable and send iASL errors/warnings to an error logfile
1465(error.txt). Send all other iASL output to a logfile (compiler.txt).
1466Fixed
1467several extraneous "unrecognized operator" messages.
1468
1469----------------------------------------
147020 March 2012. Summary of changes for version 20120320:
1471
1472
14731) ACPICA Core Subsystem:
1474
1475Enhanced the sleep/wake interfaces to optionally execute the _GTS method
1476(Going To Sleep) and the _BFS method (Back From Sleep). Windows
1477apparently
1478does not execute these methods, and therefore these methods are often
1479untested. It has been seen on some systems where the execution of these
1480methods causes errors and also prevents the machine from entering S5. It
1481is
1482therefore suggested that host operating systems do not execute these
1483methods
1484by default. In the future, perhaps these methods can be optionally
1485executed
1486based on the age of the system and/or what is the newest version of
1487Windows
1488that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
1489and
1490AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
1491Ming.
1492
1493Fixed a problem where the length of the local/common FADT was set too
1494early.
1495The local FADT table length cannot be set to the common length until the
1496original length has been examined. There is code that checks the table
1497length
1498and sets various fields appropriately. This can affect older machines
1499with
1500early FADT versions. For example, this can cause inadvertent writes to
1501the
1502CST_CNT register. Julian Anastasov.
1503
1504Fixed a mapping issue related to a physical table override. Use the
1505deferred
1506mapping mechanism for tables loaded via the physical override OSL
1507interface.
1508This allows for early mapping before the virtual memory manager is
1509available.
1510Thomas Renninger, Bob Moore.
1511
1512Enhanced the automatic return-object repair code: Repair a common problem
1513with
1514predefined methods that are defined to return a variable-length Package
1515of
1516sub-objects. If there is only one sub-object, some BIOS ASL code
1517mistakenly
1518simply returns the single object instead of a Package with one sub-
1519object.
1520This new support will repair this error by wrapping a Package object
1521around
1522the original object, creating the correct and expected Package with one
1523sub-
1524object. Names that can be repaired in this manner include: _ALR, _CSD,
1525_HPX,
1526_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
1527939.
1528
1529Changed the exception code returned for invalid ACPI paths passed as
1530parameters to external interfaces such as AcpiEvaluateObject. Was
1531AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
1532
1533Example Code and Data Size: These are the sizes for the OS-independent
1534acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1535debug
1536version of the code includes the debug output trace mechanism and has a
1537much
1538larger code and data size.
1539
1540  Previous Release:
1541    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1542    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1543  Current Release:
1544    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1545    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1546
1547
15482) iASL Compiler/Disassembler and Tools:
1549
1550iASL: Added the infrastructure and initial implementation of a integrated
1551C-
1552like preprocessor. This will simplify BIOS development process by
1553eliminating
1554the need for a separate preprocessing step during builds. On Windows, it
1555also
1556eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
1557features including full #define() macro support are still under
1558development.
1559These preprocessor directives are supported:
1560    #define
1561    #elif
1562    #else
1563    #endif
1564    #error
1565    #if
1566    #ifdef
1567    #ifndef
1568    #include
1569    #pragma message
1570    #undef
1571    #warning
1572In addition, these new command line options are supported:
1573    -D <symbol> Define symbol for preprocessor use
1574    -li         Create preprocessed output file (*.i)
1575    -P          Preprocess only and create preprocessor output file (*.i)
1576
1577Table Compiler: Fixed a problem where the equals operator within an
1578expression
1579did not work properly.
1580
1581Updated iASL to use the current versions of Bison/Flex. Updated the
1582Windows
1583project file to invoke these tools from the standard location. ACPICA BZ
1584904.
1585Versions supported:
1586    Flex for Windows:  V2.5.4
1587    Bison for Windows: V2.4.1
1588
1589----------------------------------------
159015 February 2012. Summary of changes for version 20120215:
1591
1592
15931) ACPICA Core Subsystem:
1594
1595There have been some major changes to the sleep/wake support code, as
1596described below (a - e).
1597
1598a) The AcpiLeaveSleepState has been split into two interfaces, similar to
1599AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
1600AcpiLeaveSleepStatePrep. This allows the host to perform actions between
1601the
1602time the _BFS method is called and the _WAK method is called. NOTE: all
1603hosts
1604must update their wake/resume code or else sleep/wake will not work
1605properly.
1606Rafael Wysocki.
1607
1608b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
1609_WAK
1610method. Some machines require that the GPEs are enabled before the _WAK
1611method
1612is executed. Thomas Renninger.
1613
1614c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
1615bit.
1616Some BIOS code assumes that WAK_STS will be cleared on resume and use it
1617to
1618determine whether the system is rebooting or resuming. Matthew Garrett.
1619
1620d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
1621Sleep) to
1622match the ACPI specification requirement. Rafael Wysocki.
1623
1624e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
1625registers within the V5 FADT. This support adds two new files:
1626hardware/hwesleep.c implements the support for the new registers. Moved
1627all
1628sleep/wake external interfaces to hardware/hwxfsleep.c.
1629
1630
1631Added a new OSL interface for ACPI table overrides,
1632AcpiOsPhysicalTableOverride. This interface allows the host to override a
1633table via a physical address, instead of the logical address required by
1634AcpiOsTableOverride. This simplifies the host implementation. Initial
1635implementation by Thomas Renninger. The ACPICA implementation creates a
1636single
1637shared function for table overrides that attempts both a logical and a
1638physical override.
1639
1640Expanded the OSL memory read/write interfaces to 64-bit data
1641(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
1642transfer support for GAS register structures passed to AcpiRead and
1643AcpiWrite.
1644
1645Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
1646custom
1647build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
1648model.
1649See the ACPICA reference for details. ACPICA BZ 942. This option removes
1650about
165110% of the code and 5% of the static data, and the following hardware
1652ACPI
1653features become unavailable:
1654    PM Event and Control registers
1655    SCI interrupt (and handler)
1656    Fixed Events
1657    General Purpose Events (GPEs)
1658    Global Lock
1659    ACPI PM timer
1660    FACS table (Waking vectors and Global Lock)
1661
1662Updated the unix tarball directory structure to match the ACPICA git
1663source
1664tree. This ensures that the generic unix makefiles work properly (in
1665generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ
1666867.
1667
1668Updated the return value of the _REV predefined method to integer value 5
1669to
1670reflect ACPI 5.0 support.
1671
1672Moved the external ACPI PM timer interface prototypes to the public
1673acpixf.h
1674file where they belong.
1675
1676Example Code and Data Size: These are the sizes for the OS-independent
1677acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1678debug
1679version of the code includes the debug output trace mechanism and has a
1680much
1681larger code and data size.
1682
1683  Previous Release:
1684    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1685    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1686  Current Release:
1687    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1688    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1689
1690
16912) iASL Compiler/Disassembler and Tools:
1692
1693Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
1694descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
1695incorrectly displayed.
1696
1697AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
1698specification.
1699
1700----------------------------------------
170111 January 2012. Summary of changes for version 20120111:
1702
1703
17041) ACPICA Core Subsystem:
1705
1706Implemented a new mechanism to allow host device drivers to check for
1707address
1708range conflicts with ACPI Operation Regions. Both SystemMemory and
1709SystemIO
1710address spaces are supported. A new external interface,
1711AcpiCheckAddressRange,
1712allows drivers to check an address range against the ACPI namespace. See
1713the
1714ACPICA reference for additional details. Adds one new file,
1715utilities/utaddress.c. Lin Ming, Bob Moore.
1716
1717Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
1718Control
1719and
1720Status registers, update the ACPI 5.0 flags, and update internal data
1721structures to handle an FADT larger than 256 bytes. The size of the ACPI
17225.0
1723FADT is 268 bytes.
1724
1725Updated all ACPICA copyrights and signons to 2012. Added the 2012
1726copyright to
1727all module headers and signons, including the standard Linux header. This
1728affects virtually every file in the ACPICA core subsystem, iASL compiler,
1729and
1730all ACPICA utilities.
1731
1732Example Code and Data Size: These are the sizes for the OS-independent
1733acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1734debug
1735version of the code includes the debug output trace mechanism and has a
1736much
1737larger code and data size.
1738
1739  Previous Release:
1740    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1741    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1742  Current Release:
1743    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1744    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1745
1746
17472) iASL Compiler/Disassembler and Tools:
1748
1749Disassembler: fixed a problem with the automatic resource tag generation
1750support. Fixes a problem where the resource tags are inadvertently not
1751constructed if the table being disassembled contains external references
1752to
1753control methods. Moved the actual construction of the tags to after the
1754final
1755namespace is constructed (after 2nd parse is invoked due to external
1756control
1757method references.) ACPICA BZ 941.
1758
1759Table Compiler: Make all "generic" operators caseless. These are the
1760operators
1761like UINT8, String, etc. Making these caseless improves ease-of-use.
1762ACPICA BZ
1763934.
1764
1765----------------------------------------
176623 November 2011. Summary of changes for version 20111123:
1767
17680) ACPI 5.0 Support:
1769
1770This release contains full support for the ACPI 5.0 specification, as
1771summarized below.
1772
1773Reduced Hardware Support:
1774-------------------------
1775
1776This support allows for ACPI systems without the usual ACPI hardware.
1777This
1778support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
1779will
1780not attempt to initialize or use any of the usual ACPI hardware. Note,
1781when
1782this flag is set, all of the following ACPI hardware is assumed to be not
1783present and is not initialized or accessed:
1784
1785    General Purpose Events (GPEs)
1786    Fixed Events (PM1a/PM1b and PM Control)
1787    Power Management Timer and Console Buttons (power/sleep)
1788    Real-time Clock Alarm
1789    Global Lock
1790    System Control Interrupt (SCI)
1791    The FACS is assumed to be non-existent
1792
1793ACPI Tables:
1794------------
1795
1796All new tables and updates to existing tables are fully supported in the
1797ACPICA headers (for use by device drivers), the disassembler, and the
1798iASL
1799Data Table Compiler. ACPI 5.0 defines these new tables:
1800
1801    BGRT        /* Boot Graphics Resource Table */
1802    DRTM        /* Dynamic Root of Trust for Measurement table */
1803    FPDT        /* Firmware Performance Data Table */
1804    GTDT        /* Generic Timer Description Table */
1805    MPST        /* Memory Power State Table */
1806    PCCT        /* Platform Communications Channel Table */
1807    PMTT        /* Platform Memory Topology Table */
1808    RASF        /* RAS Feature table */
1809
1810Operation Regions/SpaceIDs:
1811---------------------------
1812
1813All new operation regions are fully supported by the iASL compiler, the
1814disassembler, and the ACPICA runtime code (for dispatch to region
1815handlers.)
1816The new operation region Space IDs are:
1817
1818    GeneralPurposeIo
1819    GenericSerialBus
1820
1821Resource Descriptors:
1822---------------------
1823
1824All new ASL resource descriptors are fully supported by the iASL
1825compiler,
1826the
1827ASL/AML disassembler, and the ACPICA runtime Resource Manager code
1828(including
1829all new predefined resource tags). New descriptors are:
1830
1831    FixedDma
1832    GpioIo
1833    GpioInt
1834    I2cSerialBus
1835    SpiSerialBus
1836    UartSerialBus
1837
1838ASL/AML Operators, New and Modified:
1839------------------------------------
1840
1841One new operator is added, the Connection operator, which is used to
1842associate
1843a GeneralPurposeIo or GenericSerialBus resource descriptor with
1844individual
1845field objects within an operation region. Several new protocols are
1846associated
1847with the AccessAs operator. All are fully supported by the iASL compiler,
1848disassembler, and runtime ACPICA AML interpreter:
1849
1850    Connection                      // Declare Field Connection
1851attributes
1852    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
1853    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes
1854Protocol
1855    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
1856    RawDataBuffer                       // Data type for Vendor Data
1857fields
1858
1859Predefined ASL/AML Objects:
1860---------------------------
1861
1862All new predefined objects/control-methods are supported by the iASL
1863compiler
1864and the ACPICA runtime validation/repair (arguments and return values.)
1865New
1866predefined names include the following:
1867
1868Standard Predefined Names (Objects or Control Methods):
1869    _AEI, _CLS, _CPC, _CWS, _DEP,
1870    _DLM, _EVT, _GCP, _CRT, _GWS,
1871    _HRV, _PRE, _PSE, _SRT, _SUB.
1872
1873Resource Tags (Names used to access individual fields within resource
1874descriptors):
1875    _DBT, _DPL, _DRS, _END, _FLC,
1876    _IOR, _LIN, _MOD, _PAR, _PHA,
1877    _PIN, _PPI, _POL, _RXL, _SLV,
1878    _SPE, _STB, _TXL, _VEN.
1879
1880ACPICA External Interfaces:
1881---------------------------
1882
1883Several new interfaces have been defined for use by ACPI-related device
1884drivers and other host OS services:
1885
1886AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
1887to
1888acquire and release AML mutexes that are defined in the DSDT/SSDT tables
1889provided by the BIOS. They are intended to be used in conjunction with
1890the
1891ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
1892mutual exclusion with the AML code/interpreter.
1893
1894AcpiGetEventResources: Returns the (formatted) resource descriptors as
1895defined
1896by the ACPI 5.0 _AEI object (ACPI Event Information).  This object
1897provides
1898resource descriptors associated with hardware-reduced platform events,
1899similar
1900to the AcpiGetCurrentResources interface.
1901
1902Operation Region Handlers: For General Purpose IO and Generic Serial Bus
1903operation regions, information about the Connection() object and any
1904optional
1905length information is passed to the region handler within the Context
1906parameter.
1907
1908AcpiBufferToResource: This interface converts a raw AML buffer containing
1909a
1910resource template or resource descriptor to the ACPI_RESOURCE internal
1911format
1912suitable for use by device drivers. Can be used by an operation region
1913handler
1914to convert the Connection() buffer object into a ACPI_RESOURCE.
1915
1916Miscellaneous/Tools/TestSuites:
1917-------------------------------
1918
1919Support for extended _HID names (Four alpha characters instead of three).
1920Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
1921Support for ACPI 5.0 features in the ASLTS test suite.
1922Fully updated documentation (ACPICA and iASL reference documents.)
1923
1924ACPI Table Definition Language:
1925-------------------------------
1926
1927Support for this language was implemented and released as a subsystem of
1928the
1929iASL compiler in 2010. (See the iASL compiler User Guide.)
1930
1931
1932Non-ACPI 5.0 changes for this release:
1933--------------------------------------
1934
19351) ACPICA Core Subsystem:
1936
1937Fix a problem with operation region declarations where a failure can
1938occur
1939if
1940the region name and an argument that evaluates to an object (such as the
1941region address) are in different namespace scopes. Lin Ming, ACPICA BZ
1942937.
1943
1944Do not abort an ACPI table load if an invalid space ID is found within.
1945This
1946will be caught later if the offending method is executed. ACPICA BZ 925.
1947
1948Fixed an issue with the FFixedHW space ID where the ID was not always
1949recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
1950
1951Fixed a problem with the 32-bit generation of the unix-specific OSL
1952(osunixxf.c). Lin Ming, ACPICA BZ 936.
1953
1954Several changes made to enable generation with the GCC 4.6 compiler.
1955ACPICA BZ
1956935.
1957
1958New error messages: Unsupported I/O requests (not 8/16/32 bit), and
1959Index/Bank
1960field registers out-of-range.
1961
19622) iASL Compiler/Disassembler and Tools:
1963
1964iASL: Implemented the __PATH__ operator, which returns the full pathname
1965of
1966the current source file.
1967
1968AcpiHelp: Automatically display expanded keyword information for all ASL
1969operators.
1970
1971Debugger: Add "Template" command to disassemble/dump resource template
1972buffers.
1973
1974Added a new master script to generate and execute the ASLTS test suite.
1975Automatically handles 32- and 64-bit generation. See tests/aslts.sh
1976
1977iASL: Fix problem with listing generation during processing of the
1978Switch()
1979operator where AML listing was disabled until the entire Switch block was
1980completed.
1981
1982iASL: Improve support for semicolon statement terminators. Fix "invalid
1983character" message for some cases when the semicolon is used. Semicolons
1984are
1985now allowed after every <Term> grammar element. ACPICA BZ 927.
1986
1987iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
1988923.
1989
1990Disassembler: Fix problem with disassembly of the DataTableRegion
1991operator
1992where an inadvertent "Unhandled deferred opcode" message could be
1993generated.
1994
19953) Example Code and Data Size
1996
1997These are the sizes for the OS-independent acpica.lib produced by the
1998Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
1999includes the debug output trace mechanism and has a much larger code and
2000data
2001size.
2002
2003  Previous Release:
2004    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2005    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2006  Current Release:
2007    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
2008    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
2009
2010----------------------------------------
201122 September 2011. Summary of changes for version 20110922:
2012
20130) ACPI 5.0 News:
2014
2015Support for ACPI 5.0 in ACPICA has been underway for several months and
2016will
2017be released at the same time that ACPI 5.0 is officially released.
2018
2019The ACPI 5.0 specification is on track for release in the next few
2020months.
2021
20221) ACPICA Core Subsystem:
2023
2024Fixed a problem where the maximum sleep time for the Sleep() operator was
2025intended to be limited to two seconds, but was inadvertently limited to
202620
2027seconds instead.
2028
2029Linux and Unix makefiles: Added header file dependencies to ensure
2030correct
2031generation of ACPICA core code and utilities. Also simplified the
2032makefiles
2033considerably through the use of the vpath variable to specify search
2034paths.
2035ACPICA BZ 924.
2036
20372) iASL Compiler/Disassembler and Tools:
2038
2039iASL: Implemented support to check the access length for all fields
2040created to
2041access named Resource Descriptor fields. For example, if a resource field
2042is
2043defined to be two bits, a warning is issued if a CreateXxxxField() is
2044used
2045with an incorrect bit length. This is implemented for all current
2046resource
2047descriptor names. ACPICA BZ 930.
2048
2049Disassembler: Fixed a byte ordering problem with the output of 24-bit and
205056-
2051bit integers.
2052
2053iASL: Fixed a couple of issues associated with variable-length package
2054objects. 1) properly handle constants like One, Ones, Zero -- do not make
2055a
2056VAR_PACKAGE when these are used as a package length. 2) Allow the
2057VAR_PACKAGE
2058opcode (in addition to PACKAGE) when validating object types for
2059predefined
2060names.
2061
2062iASL: Emit statistics for all output files (instead of just the ASL input
2063and
2064AML output). Includes listings, hex files, etc.
2065
2066iASL: Added -G option to the table compiler to allow the compilation of
2067custom
2068ACPI tables. The only part of a table that is required is the standard
206936-
2070byte
2071ACPI header.
2072
2073AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
2074headers),
2075which also adds correct 64-bit support. Also, now all output filenames
2076are
2077completely lower case.
2078
2079AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
2080loading table files. A warning is issued for any such tables. The only
2081exception is an FADT. This also fixes a possible fault when attempting to
2082load
2083non-AML tables. ACPICA BZ 932.
2084
2085AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
2086a
2087missing table terminator could cause a fault when using the -p option.
2088
2089AcpiSrc: Fixed a possible divide-by-zero fault when generating file
2090statistics.
2091
20923) Example Code and Data Size
2093
2094These are the sizes for the OS-independent acpica.lib produced by the
2095Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
2096includes the debug output trace mechanism and has a much larger code and
2097data
2098size.
2099
2100  Previous Release (VC 9.0):
2101    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2102    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2103  Current Release (VC 9.0):
2104    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2105    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2106
2107
2108----------------------------------------
210923 June 2011. Summary of changes for version 20110623:
2110
21111) ACPI CA Core Subsystem:
2112
2113Updated the predefined name repair mechanism to not attempt repair of a
2114_TSS
2115return object if a _PSS object is present. We can only sort the _TSS
2116return
2117package if there is no _PSS within the same scope. This is because if
2118_PSS
2119is
2120present, the ACPI specification dictates that the _TSS Power Dissipation
2121field
2122is to be ignored, and therefore some BIOSs leave garbage values in the
2123_TSS
2124Power field(s). In this case, it is best to just return the _TSS package
2125as-
2126is. Reported by, and fixed with assistance from Fenghua Yu.
2127
2128Added an option to globally disable the control method return value
2129validation
2130and repair. This runtime option can be used to disable return value
2131repair
2132if
2133this is causing a problem on a particular machine. Also added an option
2134to
2135AcpiExec (-dr) to set this disable flag.
2136
2137All makefiles and project files: Major changes to improve generation of
2138ACPICA
2139tools. ACPICA BZ 912:
2140    Reduce default optimization levels to improve compatibility
2141    For Linux, add strict-aliasing=0 for gcc 4
2142    Cleanup and simplify use of command line defines
2143    Cleanup multithread library support
2144    Improve usage messages
2145
2146Linux-specific header: update handling of THREAD_ID and pthread. For the
214732-
2148bit case, improve casting to eliminate possible warnings, especially with
2149the
2150acpica tools.
2151
2152Example Code and Data Size: These are the sizes for the OS-independent
2153acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2154debug
2155version of the code includes the debug output trace mechanism and has a
2156much
2157larger code and data size.
2158
2159  Previous Release (VC 9.0):
2160    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
2161    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2162  Current Release (VC 9.0):
2163    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2164    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2165
21662) iASL Compiler/Disassembler and Tools:
2167
2168With this release, a new utility named "acpihelp" has been added to the
2169ACPICA
2170package. This utility summarizes the ACPI specification chapters for the
2171ASL
2172and AML languages. It generates under Linux/Unix as well as Windows, and
2173provides the following functionality:
2174    Find/display ASL operator(s) -- with description and syntax.
2175    Find/display ASL keyword(s) -- with exact spelling and descriptions.
2176    Find/display ACPI predefined name(s) -- with description, number
2177        of arguments, and the return value data type.
2178    Find/display AML opcode name(s) -- with opcode, arguments, and
2179grammar.
2180    Decode/display AML opcode -- with opcode name, arguments, and
2181grammar.
2182
2183Service Layers: Make multi-thread support configurable. Conditionally
2184compile
2185the multi-thread support so that threading libraries will not be linked
2186if
2187not
2188necessary. The only tool that requires multi-thread support is AcpiExec.
2189
2190iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
2191of
2192Bison appear to want the interface to yyerror to be a const char * (or at
2193least this is a problem when generating iASL on some systems.) ACPICA BZ
2194923
2195Pierre Lejeune.
2196
2197Tools: Fix for systems where O_BINARY is not defined. Only used for
2198Windows
2199versions of the tools.
2200
2201----------------------------------------
220227 May 2011. Summary of changes for version 20110527:
2203
22041) ACPI CA Core Subsystem:
2205
2206ASL Load() operator: Reinstate most restrictions on the incoming ACPI
2207table
2208signature. Now, only allow SSDT, OEMx, and a null signature. History:
2209    1) Originally, we checked the table signature for "SSDT" or "PSDT".
2210       (PSDT is now obsolete.)
2211    2) We added support for OEMx tables, signature "OEM" plus a fourth
2212       "don't care" character.
2213    3) Valid tables were encountered with a null signature, so we just
2214       gave up on validating the signature, (05/2008).
2215    4) We encountered non-AML tables such as the MADT, which caused
2216       interpreter errors and kernel faults. So now, we once again allow
2217       only SSDT, OEMx, and now, also a null signature. (05/2011).
2218
2219Added the missing _TDL predefined name to the global name list in order
2220to
2221enable validation. Affects both the core ACPICA code and the iASL
2222compiler.
2223
2224Example Code and Data Size: These are the sizes for the OS-independent
2225acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2226debug
2227version of the code includes the debug output trace mechanism and has a
2228much
2229larger code and data size.
2230
2231  Previous Release (VC 9.0):
2232    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
2233    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
2234  Current Release (VC 9.0):
2235    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
2236    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2237
22382) iASL Compiler/Disassembler and Tools:
2239
2240Debugger/AcpiExec: Implemented support for "complex" method arguments on
2241the
2242debugger command line. This adds support beyond simple integers --
2243including
2244Strings, Buffers, and Packages. Includes support for nested packages.
2245Increased the default command line buffer size to accommodate these
2246arguments.
2247See the ACPICA reference for details and syntax. ACPICA BZ 917.
2248
2249Debugger/AcpiExec: Implemented support for "default" method arguments for
2250the
2251Execute/Debug command. Now, the debugger will always invoke a control
2252method
2253with the required number of arguments -- even if the command line
2254specifies
2255none or insufficient arguments. It uses default integer values for any
2256missing
2257arguments. Also fixes a bug where only six method arguments maximum were
2258supported instead of the required seven.
2259
2260Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
2261and
2262also return status in order to prevent buffer overruns. See the ACPICA
2263reference for details and syntax. ACPICA BZ 921
2264
2265iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
2266makefiles to simplify support for the two different but similar parser
2267generators, bison and yacc.
2268
2269Updated the generic unix makefile for gcc 4. The default gcc version is
2270now
2271expected to be 4 or greater, since options specific to gcc 4 are used.
2272
2273----------------------------------------
227413 April 2011. Summary of changes for version 20110413:
2275
22761) ACPI CA Core Subsystem:
2277
2278Implemented support to execute a so-called "orphan" _REG method under the
2279EC
2280device. This change will force the execution of a _REG method underneath
2281the
2282EC
2283device even if there is no corresponding operation region of type
2284EmbeddedControl. Fixes a problem seen on some machines and apparently is
2285compatible with Windows behavior. ACPICA BZ 875.
2286
2287Added more predefined methods that are eligible for automatic NULL
2288package
2289element removal. This change adds another group of predefined names to
2290the
2291list
2292of names that can be repaired by having NULL package elements dynamically
2293removed. This group are those methods that return a single variable-
2294length
2295package containing simple data types such as integers, buffers, strings.
2296This
2297includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
2298_PSL,
2299_Sx,
2300and _TZD. ACPICA BZ 914.
2301
2302Split and segregated all internal global lock functions to a new file,
2303evglock.c.
2304
2305Updated internal address SpaceID for DataTable regions. Moved this
2306internal
2307space
2308id in preparation for ACPI 5.0 changes that will include some new space
2309IDs.
2310This
2311change should not affect user/host code.
2312
2313Example Code and Data Size: These are the sizes for the OS-independent
2314acpica.lib
2315produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2316version of
2317the code includes the debug output trace mechanism and has a much larger
2318code
2319and
2320data size.
2321
2322  Previous Release (VC 9.0):
2323    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
2324    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
2325  Current Release (VC 9.0):
2326    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
2327    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
2328
23292) iASL Compiler/Disassembler and Tools:
2330
2331iASL/DTC: Major update for new grammar features. Allow generic data types
2332in
2333custom ACPI tables. Field names are now optional. Any line can be split
2334to
2335multiple lines using the continuation char (\). Large buffers now use
2336line-
2337continuation character(s) and no colon on the continuation lines. See the
2338grammar
2339update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
2340Moore.
2341
2342iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
2343statements.
2344Since the parser stuffs a "zero" as the return value for these statements
2345(due
2346to
2347the underlying AML grammar), they were seen as "return with value" by the
2348iASL
2349semantic checking. They are now seen correctly as "null" return
2350statements.
2351
2352iASL: Check if a_REG declaration has a corresponding Operation Region.
2353Adds a
2354check for each _REG to ensure that there is in fact a corresponding
2355operation
2356region declaration in the same scope. If not, the _REG method is not very
2357useful
2358since it probably won't be executed. ACPICA BZ 915.
2359
2360iASL/DTC: Finish support for expression evaluation. Added a new
2361expression
2362parser
2363that implements c-style operator precedence and parenthesization. ACPICA
2364bugzilla
2365908.
2366
2367Disassembler/DTC: Remove support for () and <> style comments in data
2368tables.
2369Now
2370that DTC has full expression support, we don't want to have comment
2371strings
2372that
2373start with a parentheses or a less-than symbol. Now, only the standard /*
2374and
2375//
2376comments are supported, as well as the bracket [] comments.
2377
2378AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
2379"unusual"
2380headers in the acpidump file. Update the header validation to support
2381these
2382tables. Problem introduced in previous AcpiXtract version in the change
2383to
2384support "wrong checksum" error messages emitted by acpidump utility.
2385
2386iASL: Add a * option to generate all template files (as a synonym for
2387ALL)
2388as
2389in
2390"iasl -T *" or "iasl -T ALL".
2391
2392iASL/DTC: Do not abort compiler on fatal errors. We do not want to
2393completely
2394abort the compiler on "fatal" errors, simply should abort the current
2395compile.
2396This allows multiple compiles with a single (possibly wildcard) compiler
2397invocation.
2398
2399----------------------------------------
240016 March 2011. Summary of changes for version 20110316:
2401
24021) ACPI CA Core Subsystem:
2403
2404Fixed a problem caused by a _PRW method appearing at the namespace root
2405scope
2406during the setup of wake GPEs. A fault could occur if a _PRW directly
2407under
2408the
2409root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
2410
2411Implemented support for "spurious" Global Lock interrupts. On some
2412systems, a
2413global lock interrupt can occur without the pending flag being set. Upon
2414a
2415GL
2416interrupt, we now ensure that a thread is actually waiting for the lock
2417before
2418signaling GL availability. Rafael Wysocki, Bob Moore.
2419
2420Example Code and Data Size: These are the sizes for the OS-independent
2421acpica.lib
2422produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2423version of
2424the code includes the debug output trace mechanism and has a much larger
2425code
2426and
2427data size.
2428
2429  Previous Release (VC 9.0):
2430    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2431    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2432  Current Release (VC 9.0):
2433    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
2434    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
2435
24362) iASL Compiler/Disassembler and Tools:
2437
2438Implemented full support for the "SLIC" ACPI table. Includes support in
2439the
2440header files, disassembler, table compiler, and template generator. Bob
2441Moore,
2442Lin Ming.
2443
2444AcpiXtract: Correctly handle embedded comments and messages from
2445AcpiDump.
2446Apparently some or all versions of acpidump will occasionally emit a
2447comment
2448like
2449"Wrong checksum", etc., into the dump file. This was causing problems for
2450AcpiXtract. ACPICA BZ 905.
2451
2452iASL: Fix the Linux makefile by removing an inadvertent double file
2453inclusion.
2454ACPICA BZ 913.
2455
2456AcpiExec: Update installation of operation region handlers. Install one
2457handler
2458for a user-defined address space. This is used by the ASL test suite
2459(ASLTS).
2460
2461----------------------------------------
246211 February 2011. Summary of changes for version 20110211:
2463
24641) ACPI CA Core Subsystem:
2465
2466Added a mechanism to defer _REG methods for some early-installed
2467handlers.
2468Most user handlers should be installed before call to
2469AcpiEnableSubsystem.
2470However, Event handlers and region handlers should be installed after
2471AcpiInitializeObjects. Override handlers for the "default" regions should
2472be
2473installed early, however. This change executes all _REG methods for the
2474default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
2475chicken/egg issues between them. ACPICA BZ 848.
2476
2477Implemented an optimization for GPE detection. This optimization will
2478simply
2479ignore GPE registers that contain no enabled GPEs -- there is no need to
2480read the register since this information is available internally. This
2481becomes more important on machines with a large GPE space. ACPICA
2482bugzilla
2483884. Lin Ming. Suggestion from Joe Liu.
2484
2485Removed all use of the highly unreliable FADT revision field. The
2486revision
2487number in the FADT has been found to be completely unreliable and cannot
2488be
2489trusted. Only the actual table length can be used to infer the version.
2490This
2491change updates the ACPICA core and the disassembler so that both no
2492longer
2493even look at the FADT version and instead depend solely upon the FADT
2494length.
2495
2496Fix an unresolved name issue for the no-debug and no-error-message source
2497generation cases. The _AcpiModuleName was left undefined in these cases,
2498but
2499it is actually needed as a parameter to some interfaces. Define
2500_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
2501
2502Split several large files (makefiles and project files updated)
2503  utglobal.c   -> utdecode.c
2504  dbcomds.c    -> dbmethod.c dbnames.c
2505  dsopcode.c   -> dsargs.c dscontrol.c
2506  dsload.c     -> dsload2.c
2507  aslanalyze.c -> aslbtypes.c aslwalks.c
2508
2509Example Code and Data Size: These are the sizes for the OS-independent
2510acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2511debug version of the code includes the debug output trace mechanism and
2512has
2513a much larger code and data size.
2514
2515  Previous Release (VC 9.0):
2516    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2517    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2518  Current Release (VC 9.0):
2519    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2520    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2521
25222) iASL Compiler/Disassembler and Tools:
2523
2524iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
2525These are useful C-style macros with the standard definitions. ACPICA
2526bugzilla 898.
2527
2528iASL/DTC: Added support for integer expressions and labels. Support for
2529full
2530expressions for all integer fields in all ACPI tables. Support for labels
2531in
2532"generic" portions of tables such as UEFI. See the iASL reference manual.
2533
2534Debugger: Added a command to display the status of global handlers. The
2535"handlers" command will display op region, fixed event, and miscellaneous
2536global handlers. installation status -- and for op regions, whether
2537default
2538or user-installed handler will be used.
2539
2540iASL: Warn if reserved method incorrectly returns a value. Many
2541predefined
2542names are defined such that they do not return a value. If implemented as
2543a
2544method, issue a warning if such a name explicitly returns a value. ACPICA
2545Bugzilla 855.
2546
2547iASL: Added detection of GPE method name conflicts. Detects a conflict
2548where
2549there are two GPE methods of the form _Lxy and _Exy in the same scope.
2550(For
2551example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
2552
2553iASL/DTC: Fixed a couple input scanner issues with comments and line
2554numbers. Comment remover could get confused and miss a comment ending.
2555Fixed
2556a problem with line counter maintenance.
2557
2558iASL/DTC: Reduced the severity of some errors from fatal to error. There
2559is
2560no need to abort on simple errors within a field definition.
2561
2562Debugger: Simplified the output of the help command. All help output now
2563in
2564a single screen, instead of help subcommands. ACPICA Bugzilla 897.
2565
2566----------------------------------------
256712 January 2011. Summary of changes for version 20110112:
2568
25691) ACPI CA Core Subsystem:
2570
2571Fixed a race condition between method execution and namespace walks that
2572can
2573possibly cause a fault. The problem was apparently introduced in version
257420100528 as a result of a performance optimization that reduces the
2575number
2576of
2577namespace walks upon method exit by using the delete_namespace_subtree
2578function instead of the delete_namespace_by_owner function used
2579previously.
2580Bug is a missing namespace lock in the delete_namespace_subtree function.
2581dana.myers@oracle.com
2582
2583Fixed several issues and a possible fault with the automatic "serialized"
2584method support. History: This support changes a method to "serialized" on
2585the
2586fly if the method generates an AE_ALREADY_EXISTS error, indicating the
2587possibility that it cannot handle reentrancy. This fix repairs a couple
2588of
2589issues seen in the field, especially on machines with many cores:
2590
2591    1) Delete method children only upon the exit of the last thread,
2592       so as to not delete objects out from under other running threads
2593      (and possibly causing a fault.)
2594    2) Set the "serialized" bit for the method only upon the exit of the
2595       Last thread, so as to not cause deadlock when running threads
2596       attempt to exit.
2597    3) Cleanup the use of the AML "MethodFlags" and internal method flags
2598       so that there is no longer any confusion between the two.
2599
2600    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
2601
2602Debugger: Now lock the namespace for duration of a namespace dump.
2603Prevents
2604issues if the namespace is changing dynamically underneath the debugger.
2605Especially affects temporary namespace nodes, since the debugger displays
2606these also.
2607
2608Updated the ordering of include files. The ACPICA headers should appear
2609before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
2610set
2611any necessary compiler-specific defines, etc. Affects the ACPI-related
2612tools
2613and utilities.
2614
2615Updated all ACPICA copyrights and signons to 2011. Added the 2011
2616copyright
2617to all module headers and signons, including the Linux header. This
2618affects
2619virtually every file in the ACPICA core subsystem, iASL compiler, and all
2620utilities.
2621
2622Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
2623project files for VC++ 6.0 are now obsolete. New project files can be
2624found
2625under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
2626details.
2627
2628Example Code and Data Size: These are the sizes for the OS-independent
2629acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2630debug version of the code includes the debug output trace mechanism and
2631has a
2632much larger code and data size.
2633
2634  Previous Release (VC 6.0):
2635    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2636    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2637  Current Release (VC 9.0):
2638    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2639    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2640
26412) iASL Compiler/Disassembler and Tools:
2642
2643iASL: Added generic data types to the Data Table compiler. Add "generic"
2644data
2645types such as UINT32, String, Unicode, etc., to simplify the generation
2646of
2647platform-defined tables such as UEFI. Lin Ming.
2648
2649iASL: Added listing support for the Data Table Compiler. Adds listing
2650support
2651(-l) to display actual binary output for each line of input code.
2652
2653----------------------------------------
265409 December 2010. Summary of changes for version 20101209:
2655
26561) ACPI CA Core Subsystem:
2657
2658Completed the major overhaul of the GPE support code that was begun in
2659July
26602010. Major features include: removal of _PRW execution in ACPICA (host
2661executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
2662changes to existing interfaces, simplification of GPE handler operation,
2663and
2664a handful of new interfaces:
2665
2666    AcpiUpdateAllGpes
2667    AcpiFinishGpe
2668    AcpiSetupGpeForWake
2669    AcpiSetGpeWakeMask
2670    One new file, evxfgpe.c to consolidate all external GPE interfaces.
2671
2672See the ACPICA Programmer Reference for full details and programming
2673information. See the new section 4.4 "General Purpose Event (GPE)
2674Support"
2675for a full overview, and section 8.7 "ACPI General Purpose Event
2676Management"
2677for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
2678Ming,
2679Bob Moore, Rafael Wysocki.
2680
2681Implemented a new GPE feature for Windows compatibility, the "Implicit
2682Wake
2683GPE Notify". This feature will automatically issue a Notify(2) on a
2684device
2685when a Wake GPE is received if there is no corresponding GPE method or
2686handler. ACPICA BZ 870.
2687
2688Fixed a problem with the Scope() operator during table parse and load
2689phase.
2690During load phase (table load or method execution), the scope operator
2691should
2692not enter the target into the namespace. Instead, it should open a new
2693scope
2694at the target location. Linux BZ 19462, ACPICA BZ 882.
2695
2696Example Code and Data Size: These are the sizes for the OS-independent
2697acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2698debug version of the code includes the debug output trace mechanism and
2699has a
2700much larger code and data size.
2701
2702  Previous Release:
2703    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2704    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2705  Current Release:
2706    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2707    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2708
27092) iASL Compiler/Disassembler and Tools:
2710
2711iASL: Relax the alphanumeric restriction on _CID strings. These strings
2712are
2713"bus-specific" per the ACPI specification, and therefore any characters
2714are
2715acceptable. The only checks that can be performed are for a null string
2716and
2717perhaps for a leading asterisk. ACPICA BZ 886.
2718
2719iASL: Fixed a problem where a syntax error that caused a premature EOF
2720condition on the source file emitted a very confusing error message. The
2721premature EOF is now detected correctly. ACPICA BZ 891.
2722
2723Disassembler: Decode the AccessSize within a Generic Address Structure
2724(byte
2725access, word access, etc.) Note, this field does not allow arbitrary bit
2726access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
2727
2728New: AcpiNames utility - Example namespace dump utility. Shows an example
2729of
2730ACPICA configuration for a minimal namespace dump utility. Uses table and
2731namespace managers, but no AML interpreter. Does not add any
2732functionality
2733over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
2734partition and configure ACPICA. ACPICA BZ 883.
2735
2736AML Debugger: Increased the debugger buffer size for method return
2737objects.
2738Was 4K, increased to 16K. Also enhanced error messages for debugger
2739method
2740execution, including the buffer overflow case.
2741
2742----------------------------------------
274313 October 2010. Summary of changes for version 20101013:
2744
27451) ACPI CA Core Subsystem:
2746
2747Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
2748now
2749clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
2750HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
2751
2752Changed the type of the predefined namespace object _TZ from ThermalZone
2753to
2754Device. This was found to be confusing to the host software that
2755processes
2756the various thermal zones, since _TZ is not really a ThermalZone.
2757However,
2758a
2759Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
2760Zhang.
2761
2762Added Windows Vista SP2 to the list of supported _OSI strings. The actual
2763string is "Windows 2006 SP2".
2764
2765Eliminated duplicate code in AcpiUtExecute* functions. Now that the
2766nsrepair
2767code automatically repairs _HID-related strings, this type of code is no
2768longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
2769878.
2770
2771Example Code and Data Size: These are the sizes for the OS-independent
2772acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2773debug version of the code includes the debug output trace mechanism and
2774has a
2775much larger code and data size.
2776
2777  Previous Release:
2778    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2779    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2780  Current Release:
2781    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2782    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2783
27842) iASL Compiler/Disassembler and Tools:
2785
2786iASL: Implemented additional compile-time validation for _HID strings.
2787The
2788non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
2789length
2790of
2791the string must be exactly seven or eight characters. For both _HID and
2792_CID
2793strings, all characters must be alphanumeric. ACPICA BZ 874.
2794
2795iASL: Allow certain "null" resource descriptors. Some BIOS code creates
2796descriptors that are mostly or all zeros, with the expectation that they
2797will
2798be filled in at runtime. iASL now allows this as long as there is a
2799"resource
2800tag" (name) associated with the descriptor, which gives the ASL a handle
2801needed to modify the descriptor. ACPICA BZ 873.
2802
2803Added single-thread support to the generic Unix application OSL.
2804Primarily
2805for iASL support, this change removes the use of semaphores in the
2806single-
2807threaded ACPICA tools/applications - increasing performance. The
2808_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
2809option. ACPICA BZ 879.
2810
2811AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
2812support
2813for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
2814
2815iASL: Moved all compiler messages to a new file, aslmessages.h.
2816
2817----------------------------------------
281815 September 2010. Summary of changes for version 20100915:
2819
28201) ACPI CA Core Subsystem:
2821
2822Removed the AcpiOsDerivePciId OSL interface. The various host
2823implementations
2824of this function were not OS-dependent and are now obsolete and can be
2825removed from all host OSLs. This function has been replaced by
2826AcpiHwDerivePciId, which is now part of the ACPICA core code.
2827AcpiHwDerivePciId has been implemented without recursion. Adds one new
2828module, hwpci.c. ACPICA BZ 857.
2829
2830Implemented a dynamic repair for _HID and _CID strings. The following
2831problems are now repaired at runtime: 1) Remove a leading asterisk in the
2832string, and 2) the entire string is uppercased. Both repairs are in
2833accordance with the ACPI specification and will simplify host driver
2834code.
2835ACPICA BZ 871.
2836
2837The ACPI_THREAD_ID type is no longer configurable, internally it is now
2838always UINT64. This simplifies the ACPICA code, especially any printf
2839output.
2840UINT64 is the only common data type for all thread_id types across all
2841operating systems. It is now up to the host OSL to cast the native
2842thread_id
2843type to UINT64 before returning the value to ACPICA (via
2844AcpiOsGetThreadId).
2845Lin Ming, Bob Moore.
2846
2847Added the ACPI_INLINE type to enhance the ACPICA configuration. The
2848"inline"
2849keyword is not standard across compilers, and this type allows inline to
2850be
2851configured on a per-compiler basis. Lin Ming.
2852
2853Made the system global AcpiGbl_SystemAwakeAndRunning publically
2854available.
2855Added an extern for this boolean in acpixf.h. Some hosts utilize this
2856value
2857during suspend/restore operations. ACPICA BZ 869.
2858
2859All code that implements error/warning messages with the "ACPI:" prefix
2860has
2861been moved to a new module, utxferror.c.
2862
2863The UINT64_OVERLAY was moved to utmath.c, which is the only module where
2864it
2865is used. ACPICA BZ 829. Lin Ming, Bob Moore.
2866
2867Example Code and Data Size: These are the sizes for the OS-independent
2868acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2869debug version of the code includes the debug output trace mechanism and
2870has a
2871much larger code and data size.
2872
2873  Previous Release:
2874    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2875    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2876  Current Release:
2877    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2878    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2879
28802) iASL Compiler/Disassembler and Tools:
2881
2882iASL/Disassembler: Write ACPI errors to stderr instead of the output
2883file.
2884This keeps the output files free of random error messages that may
2885originate
2886from within the namespace/interpreter code. Used this opportunity to
2887merge
2888all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
2889866. Lin Ming, Bob Moore.
2890
2891Tools: update some printfs for ansi warnings on size_t. Handle width
2892change
2893of size_t on 32-bit versus 64-bit generations. Lin Ming.
2894
2895----------------------------------------
289606 August 2010. Summary of changes for version 20100806:
2897
28981) ACPI CA Core Subsystem:
2899
2900Designed and implemented a new host interface to the _OSI support code.
2901This
2902will allow the host to dynamically add or remove multiple _OSI strings,
2903as
2904well as install an optional handler that is called for each _OSI
2905invocation.
2906Also added a new AML debugger command, 'osi' to display and modify the
2907global
2908_OSI string table, and test support in the AcpiExec utility. See the
2909ACPICA
2910reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
2911New Functions:
2912    AcpiInstallInterface - Add an _OSI string.
2913    AcpiRemoveInterface - Delete an _OSI string.
2914    AcpiInstallInterfaceHandler - Install optional _OSI handler.
2915Obsolete Functions:
2916    AcpiOsValidateInterface - no longer used.
2917New Files:
2918    source/components/utilities/utosi.c
2919
2920Re-introduced the support to enable multi-byte transfers for Embedded
2921Controller (EC) operation regions. A reported problem was found to be a
2922bug
2923in the host OS, not in the multi-byte support. Previously, the maximum
2924data
2925size passed to the EC operation region handler was a single byte. There
2926are
2927often EC Fields larger than one byte that need to be transferred, and it
2928is
2929useful for the EC driver to lock these as a single transaction. This
2930change
2931enables single transfers larger than 8 bits. This effectively changes the
2932access to the EC space from ByteAcc to AnyAcc, and will probably require
2933changes to the host OS Embedded Controller driver to enable 16/32/64/256-
2934bit
2935transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
2936
2937Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
2938prototype in acpiosxf.h had the output value pointer as a (void *).
2939It should be a (UINT64 *). This may affect some host OSL code.
2940
2941Fixed a couple problems with the recently modified Linux makefiles for
2942iASL
2943and AcpiExec. These new makefiles place the generated object files in the
2944local directory so that there can be no collisions between the files that
2945are
2946shared between them that are compiled with different options.
2947
2948Example Code and Data Size: These are the sizes for the OS-independent
2949acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2950debug version of the code includes the debug output trace mechanism and
2951has a
2952much larger code and data size.
2953
2954  Previous Release:
2955    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2956    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2957  Current Release:
2958    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2959    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2960
29612) iASL Compiler/Disassembler and Tools:
2962
2963iASL/Disassembler: Added a new option (-da, "disassemble all") to load
2964the
2965namespace from and disassemble an entire group of AML files. Useful for
2966loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
2967and
2968disassembling with one simple command. ACPICA BZ 865. Lin Ming.
2969
2970iASL: Allow multiple invocations of -e option. This change allows
2971multiple
2972uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
2973834.
2974Lin Ming.
2975
2976----------------------------------------
297702 July 2010. Summary of changes for version 20100702:
2978
29791) ACPI CA Core Subsystem:
2980
2981Implemented several updates to the recently added GPE reference count
2982support. The model for "wake" GPEs is changing to give the host OS
2983complete
2984control of these GPEs. Eventually, the ACPICA core will not execute any
2985_PRW
2986methods, since the host already must execute them. Also, additional
2987changes
2988were made to help ensure that the reference counts are kept in proper
2989synchronization with reality. Rafael J. Wysocki.
2990
29911) Ensure that GPEs are not enabled twice during initialization.
29922) Ensure that GPE enable masks stay in sync with the reference count.
29933) Do not inadvertently enable GPEs when writing GPE registers.
29944) Remove the internal wake reference counter and add new AcpiGpeWakeup
2995interface. This interface will set or clear individual GPEs for wakeup.
29965) Remove GpeType argument from AcpiEnable and AcpiDisable. These
2997interfaces
2998are now used for "runtime" GPEs only.
2999
3000Changed the behavior of the GPE install/remove handler interfaces. The
3001GPE
3002is
3003no longer disabled during this process, as it was found to cause problems
3004on
3005some machines. Rafael J. Wysocki.
3006
3007Reverted a change introduced in version 20100528 to enable Embedded
3008Controller multi-byte transfers. This change was found to cause problems
3009with
3010Index Fields and possibly Bank Fields. It will be reintroduced when these
3011problems have been resolved.
3012
3013Fixed a problem with references to Alias objects within Package Objects.
3014A
3015reference to an Alias within the definition of a Package was not always
3016resolved properly. Aliases to objects like Processors, Thermal zones,
3017etc.
3018were resolved to the actual object instead of a reference to the object
3019as
3020it
3021should be. Package objects are only allowed to contain integer, string,
3022buffer, package, and reference objects. Redhat bugzilla 608648.
3023
3024Example Code and Data Size: These are the sizes for the OS-independent
3025acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3026debug version of the code includes the debug output trace mechanism and
3027has a
3028much larger code and data size.
3029
3030  Previous Release:
3031    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
3032    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
3033  Current Release:
3034    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
3035    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
3036
30372) iASL Compiler/Disassembler and Tools:
3038
3039iASL: Implemented a new compiler subsystem to allow definition and
3040compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
3041These
3042are called "ACPI Data Tables", and the new compiler is the "Data Table
3043Compiler". This compiler is intended to simplify the existing error-prone
3044process of creating these tables for the BIOS, as well as allowing the
3045disassembly, modification, recompilation, and override of existing ACPI
3046data
3047tables. See the iASL User Guide for detailed information.
3048
3049iASL: Implemented a new Template Generator option in support of the new
3050Data
3051Table Compiler. This option will create examples of all known ACPI tables
3052that can be used as the basis for table development. See the iASL
3053documentation and the -T option.
3054
3055Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
3056Descriptor Table).
3057
3058Updated the Linux makefiles for iASL and AcpiExec to place the generated
3059object files in the local directory so that there can be no collisions
3060between the shared files between them that are generated with different
3061options.
3062
3063Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
3064Use
3065the #define __APPLE__ to enable this support.
3066
3067----------------------------------------
306828 May 2010. Summary of changes for version 20100528:
3069
3070Note: The ACPI 4.0a specification was released on April 5, 2010 and is
3071available at www.acpi.info. This is primarily an errata release.
3072
30731) ACPI CA Core Subsystem:
3074
3075Undefined ACPI tables: We are looking for the definitions for the
3076following
3077ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
3078
3079Implemented support to enable multi-byte transfers for Embedded
3080Controller
3081(EC) operation regions. Previously, the maximum data size passed to the
3082EC
3083operation region handler was a single byte. There are often EC Fields
3084larger
3085than one byte that need to be transferred, and it is useful for the EC
3086driver
3087to lock these as a single transaction. This change enables single
3088transfers
3089larger than 8 bits. This effectively changes the access to the EC space
3090from
3091ByteAcc to AnyAcc, and will probably require changes to the host OS
3092Embedded
3093Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
3094bit
3095transfers. Alexey Starikovskiy, Lin Ming
3096
3097Implemented a performance enhancement for namespace search and access.
3098This
3099change enhances the performance of namespace searches and walks by adding
3100a
3101backpointer to the parent in each namespace node. On large namespaces,
3102this
3103change can improve overall ACPI performance by up to 9X. Adding a pointer
3104to
3105each namespace node increases the overall size of the internal namespace
3106by
3107about 5%, since each namespace entry usually consists of both a namespace
3108node and an ACPI operand object. However, this is the first growth of the
3109namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
3110
3111Implemented a performance optimization that reduces the number of
3112namespace
3113walks. On control method exit, only walk the namespace if the method is
3114known
3115to have created namespace objects outside of its local scope. Previously,
3116the
3117entire namespace was traversed on each control method exit. This change
3118can
3119improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
3120Moore.
3121
3122Added support to truncate I/O addresses to 16 bits for Windows
3123compatibility.
3124Some ASL code has been seen in the field that inadvertently has bits set
3125above bit 15. This feature is optional and is enabled if the BIOS
3126requests
3127any Windows OSI strings. It can also be enabled by the host OS. Matthew
3128Garrett, Bob Moore.
3129
3130Added support to limit the maximum time for the ASL Sleep() operator. To
3131prevent accidental deep sleeps, limit the maximum time that Sleep() will
3132actually sleep. Configurable, the default maximum is two seconds. ACPICA
3133bugzilla 854.
3134
3135Added run-time validation support for the _WDG and_WED Microsoft
3136predefined
3137methods. These objects are defined by "Windows Instrumentation", and are
3138not
3139part of the ACPI spec. ACPICA BZ 860.
3140
3141Expanded all statistic counters used during namespace and device
3142initialization from 16 to 32 bits in order to support very large
3143namespaces.
3144
3145Replaced all instances of %d in printf format specifiers with %u since
3146nearly
3147all integers in ACPICA are unsigned.
3148
3149Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
3150returned
3151as AE_NO_HANDLER.
3152
3153Example Code and Data Size: These are the sizes for the OS-independent
3154acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3155debug version of the code includes the debug output trace mechanism and
3156has a
3157much larger code and data size.
3158
3159  Previous Release:
3160    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
3161    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
3162  Current Release:
3163    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
3164    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
3165
31662) iASL Compiler/Disassembler and Tools:
3167
3168iASL: Added compiler support for the _WDG and_WED Microsoft predefined
3169methods. These objects are defined by "Windows Instrumentation", and are
3170not
3171part of the ACPI spec. ACPICA BZ 860.
3172
3173AcpiExec: added option to disable the memory tracking mechanism. The -dt
3174option will disable the tracking mechanism, which improves performance
3175considerably.
3176
3177AcpiExec: Restructured the command line options into -d (disable) and -e
3178(enable) options.
3179
3180----------------------------------------
318128 April 2010. Summary of changes for version 20100428:
3182
31831) ACPI CA Core Subsystem:
3184
3185Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
3186including FADT-based and GPE Block Devices, execute any _PRW methods in
3187the
3188new table, and process any _Lxx/_Exx GPE methods in the new table. Any
3189runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
3190immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
3191Devices. Provides compatibility with other ACPI implementations. Two new
3192files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
3193Moore.
3194
3195Fixed a regression introduced in version 20100331 within the table
3196manager
3197where initial table loading could fail. This was introduced in the fix
3198for
3199AcpiReallocateRootTable. Also, renamed some of fields in the table
3200manager
3201data structures to clarify their meaning and use.
3202
3203Fixed a possible allocation overrun during internal object copy in
3204AcpiUtCopySimpleObject. The original code did not correctly handle the
3205case
3206where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
3207847.
3208
3209Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
3210possible access beyond end-of-allocation. Also, now fully validate
3211descriptor
3212(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
3213
3214Example Code and Data Size: These are the sizes for the OS-independent
3215acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3216debug version of the code includes the debug output trace mechanism and
3217has a
3218much larger code and data size.
3219
3220  Previous Release:
3221    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
3222    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
3223  Current Release:
3224    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
3225    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
3226
32272) iASL Compiler/Disassembler and Tools:
3228
3229iASL: Implemented Min/Max/Len/Gran validation for address resource
3230descriptors. This change implements validation for the address fields
3231that
3232are common to all address-type resource descriptors. These checks are
3233implemented: Checks for valid Min/Max, length within the Min/Max window,
3234valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
3235per
3236table 6-40 in the ACPI 4.0a specification. Also split the large
3237aslrestype1.c
3238and aslrestype2.c files into five new files. ACPICA BZ 840.
3239
3240iASL: Added support for the _Wxx predefined names. This support was
3241missing
3242and these names were not recognized by the compiler as valid predefined
3243names. ACPICA BZ 851.
3244
3245iASL: Added an error for all predefined names that are defined to return
3246no
3247value and thus must be implemented as Control Methods. These include all
3248of
3249the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
3250names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
3251
3252iASL: Implemented the -ts option to emit hex AML data in ASL format, as
3253an
3254ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
3255be
3256dynamically loaded via the Load() operator. Also cleaned up output for
3257the
3258-
3259ta and -tc options. ACPICA BZ 853.
3260
3261Tests: Added a new file with examples of extended iASL error checking.
3262Demonstrates the advanced error checking ability of the iASL compiler.
3263Available at tests/misc/badcode.asl.
3264
3265----------------------------------------
326631 March 2010. Summary of changes for version 20100331:
3267
32681) ACPI CA Core Subsystem:
3269
3270Completed a major update for the GPE support in order to improve support
3271for
3272shared GPEs and to simplify both host OS and ACPICA code. Added a
3273reference
3274count mechanism to support shared GPEs that require multiple device
3275drivers.
3276Several external interfaces have changed. One external interface has been
3277removed. One new external interface was added. Most of the GPE external
3278interfaces now use the GPE spinlock instead of the events mutex (and the
3279Flags parameter for many GPE interfaces has been removed.) See the
3280updated
3281ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
3282Rafael
3283Wysocki. ACPICA BZ 831.
3284
3285Changed:
3286    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
3287Removed:
3288    AcpiSetGpeType
3289New:
3290    AcpiSetGpe
3291
3292Implemented write support for DataTable operation regions. These regions
3293are
3294defined via the DataTableRegion() operator. Previously, only read support
3295was
3296implemented. The ACPI specification allows DataTableRegions to be
3297read/write,
3298however.
3299
3300Implemented a new subsystem option to force a copy of the DSDT to local
3301memory. Optionally copy the entire DSDT to local memory (instead of
3302simply
3303mapping it.) There are some (albeit very rare) BIOSs that corrupt or
3304replace
3305the original DSDT, creating the need for this option. Default is FALSE,
3306do
3307not copy the DSDT.
3308
3309Implemented detection of a corrupted or replaced DSDT. This change adds
3310support to detect a DSDT that has been corrupted and/or replaced from
3311outside
3312the OS (by firmware). This is typically catastrophic for the system, but
3313has
3314been seen on some machines. Once this problem has been detected, the DSDT
3315copy option can be enabled via system configuration. Lin Ming, Bob Moore.
3316
3317Fixed two problems with AcpiReallocateRootTable during the root table
3318copy.
3319When copying the root table to the new allocation, the length used was
3320incorrect. The new size was used instead of the current table size,
3321meaning
3322too much data was copied. Also, the count of available slots for ACPI
3323tables
3324was not set correctly. Alexey Starikovskiy, Bob Moore.
3325
3326Example Code and Data Size: These are the sizes for the OS-independent
3327acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3328debug version of the code includes the debug output trace mechanism and
3329has a
3330much larger code and data size.
3331
3332  Previous Release:
3333    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
3334    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
3335  Current Release:
3336    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
3337    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
3338
33392) iASL Compiler/Disassembler and Tools:
3340
3341iASL: Implement limited typechecking for values returned from predefined
3342control methods. The type of any returned static (unnamed) object is now
3343validated. For example, Return(1). ACPICA BZ 786.
3344
3345iASL: Fixed a predefined name object verification regression. Fixes a
3346problem
3347introduced in version 20100304. An error is incorrectly generated if a
3348predefined name is declared as a static named object with a value defined
3349using the keywords "Zero", "One", or "Ones". Lin Ming.
3350
3351iASL: Added Windows 7 support for the -g option (get local ACPI tables)
3352by
3353reducing the requested registry access rights. ACPICA BZ 842.
3354
3355Disassembler: fixed a possible fault when generating External()
3356statements.
3357Introduced in commit ae7d6fd: Properly handle externals with parent-
3358prefix
3359(carat). Fixes a string length allocation calculation. Lin Ming.
3360
3361----------------------------------------
336204 March 2010. Summary of changes for version 20100304:
3363
33641) ACPI CA Core Subsystem:
3365
3366Fixed a possible problem with the AML Mutex handling function
3367AcpiExReleaseMutex where the function could fault under the very rare
3368condition when the interpreter has blocked, the interpreter lock is
3369released,
3370the interpreter is then reentered via the same thread, and attempts to
3371acquire an AML mutex that was previously acquired. FreeBSD report 140979.
3372Lin
3373Ming.
3374
3375Implemented additional configuration support for the AML "Debug Object".
3376Output from the debug object can now be enabled via a global variable,
3377AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
3378debugging.
3379This debug output is now available in the release version of ACPICA
3380instead
3381of just the debug version. Also, the entire debug output module can now
3382be
3383configured out of the ACPICA build if desired. One new file added,
3384executer/exdebug.c. Lin Ming, Bob Moore.
3385
3386Added header support for the ACPI MCHI table (Management Controller Host
3387Interface Table). This table was added in ACPI 4.0, but the defining
3388document
3389has only recently become available.
3390
3391Standardized output of integer values for ACPICA warnings/errors. Always
3392use
33930x prefix for hex output, always use %u for unsigned integer decimal
3394output.
3395Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
3396400
3397invocations.) These invocations were converted from the original
3398ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
3399
3400Example Code and Data Size: These are the sizes for the OS-independent
3401acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3402debug version of the code includes the debug output trace mechanism and
3403has a
3404much larger code and data size.
3405
3406  Previous Release:
3407    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
3408    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
3409  Current Release:
3410    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
3411    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
3412
34132) iASL Compiler/Disassembler and Tools:
3414
3415iASL: Implemented typechecking support for static (non-control method)
3416predefined named objects that are declared with the Name() operator. For
3417example, the type of this object is now validated to be of type Integer:
3418Name(_BBN, 1). This change migrates the compiler to using the core
3419predefined
3420name table instead of maintaining a local version. Added a new file,
3421aslpredef.c. ACPICA BZ 832.
3422
3423Disassembler: Added support for the ACPI 4.0 MCHI table.
3424
3425----------------------------------------
342621 January 2010. Summary of changes for version 20100121:
3427
34281) ACPI CA Core Subsystem:
3429
3430Added the 2010 copyright to all module headers and signons. This affects
3431virtually every file in the ACPICA core subsystem, the iASL compiler, the
3432tools/utilities, and the test suites.
3433
3434Implemented a change to the AcpiGetDevices interface to eliminate
3435unnecessary
3436invocations of the _STA method. In the case where a specific _HID is
3437requested, do not run _STA until a _HID match is found. This eliminates
3438potentially dozens of _STA calls during a search for a particular
3439device/HID,
3440which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
3441
3442Implemented an additional repair for predefined method return values.
3443Attempt
3444to repair unexpected NULL elements within returned Package objects.
3445Create
3446an
3447Integer of value zero, a NULL String, or a zero-length Buffer as
3448appropriate.
3449ACPICA BZ 818. Lin Ming, Bob Moore.
3450
3451Removed the obsolete ACPI_INTEGER data type. This type was introduced as
3452the
3453code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
3454(with
345564-bit AML integers). It is now obsolete and this change removes it from
3456the
3457ACPICA code base, replaced by UINT64. The original typedef has been
3458retained
3459for now for compatibility with existing device driver code. ACPICA BZ
3460824.
3461
3462Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
3463in
3464the parse tree object.
3465
3466Added additional warning options for the gcc-4 generation. Updated the
3467source
3468accordingly. This includes some code restructuring to eliminate
3469unreachable
3470code, elimination of some gotos, elimination of unused return values,
3471some
3472additional casting, and removal of redundant declarations.
3473
3474Example Code and Data Size: These are the sizes for the OS-independent
3475acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3476debug version of the code includes the debug output trace mechanism and
3477has a
3478much larger code and data size.
3479
3480  Previous Release:
3481    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
3482    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
3483  Current Release:
3484    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
3485    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
3486
34872) iASL Compiler/Disassembler and Tools:
3488
3489No functional changes for this release.
3490
3491----------------------------------------
349214 December 2009. Summary of changes for version 20091214:
3493
34941) ACPI CA Core Subsystem:
3495
3496Enhanced automatic data type conversions for predefined name repairs.
3497This
3498change expands the automatic repairs/conversions for predefined name
3499return
3500values to make Integers, Strings, and Buffers fully interchangeable.
3501Also,
3502a
3503Buffer can be converted to a Package of Integers if necessary. The
3504nsrepair.c
3505module was completely restructured. Lin Ming, Bob Moore.
3506
3507Implemented automatic removal of null package elements during predefined
3508name
3509repairs. This change will automatically remove embedded and trailing NULL
3510package elements from returned package objects that are defined to
3511contain
3512a
3513variable number of sub-packages. The driver is then presented with a
3514package
3515with no null elements to deal with. ACPICA BZ 819.
3516
3517Implemented a repair for the predefined _FDE and _GTM names. The expected
3518return value for both names is a Buffer of 5 DWORDs. This repair fixes
3519two
3520possible problems (both seen in the field), where a package of integers
3521is
3522returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
3523Kim.
3524
3525Implemented additional module-level code support. This change will
3526properly
3527execute module-level code that is not at the root of the namespace (under
3528a
3529Device object, etc.). Now executes the code within the current scope
3530instead
3531of the root. ACPICA BZ 762. Lin Ming.
3532
3533Fixed possible mutex acquisition errors when running _REG methods. Fixes
3534a
3535problem where mutex errors can occur when running a _REG method that is
3536in
3537the same scope as a method-defined operation region or an operation
3538region
3539under a module-level IF block. This type of code is rare, so the problem
3540has
3541not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
3542
3543Fixed a possible memory leak during module-level code execution. An
3544object
3545could be leaked for each block of executed module-level code if the
3546interpreter slack mode is enabled This change deletes any implicitly
3547returned
3548object from the module-level code block. Lin Ming.
3549
3550Removed messages for successful predefined repair(s). The repair
3551mechanism
3552was considered too wordy. Now, messages are only unconditionally emitted
3553if
3554the return object cannot be repaired. Existing messages for successful
3555repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
3556827.
3557
3558Example Code and Data Size: These are the sizes for the OS-independent
3559acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3560debug version of the code includes the debug output trace mechanism and
3561has a
3562much larger code and data size.
3563
3564  Previous Release:
3565    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3566    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3567  Current Release:
3568    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
3569    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
3570
35712) iASL Compiler/Disassembler and Tools:
3572
3573iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
3574files
3575were no longer automatically removed at the termination of the compile.
3576
3577acpiexec: Implemented the -f option to specify default region fill value.
3578This option specifies the value used to initialize buffers that simulate
3579operation regions. Default value is zero. Useful for debugging problems
3580that
3581depend on a specific initial value for a region or field.
3582
3583----------------------------------------
358412 November 2009. Summary of changes for version 20091112:
3585
35861) ACPI CA Core Subsystem:
3587
3588Implemented a post-order callback to AcpiWalkNamespace. The existing
3589interface only has a pre-order callback. This change adds an additional
3590parameter for a post-order callback which will be more useful for bus
3591scans.
3592ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
3593
3594Modified the behavior of the operation region memory mapping cache for
3595SystemMemory. Ensure that the memory mappings created for operation
3596regions
3597do not cross 4K page boundaries. Crossing a page boundary while mapping
3598regions can cause kernel warnings on some hosts if the pages have
3599different
3600attributes. Such regions are probably BIOS bugs, and this is the
3601workaround.
3602Linux BZ 14445. Lin Ming.
3603
3604Implemented an automatic repair for predefined methods that must return
3605sorted lists. This change will repair (by sorting) packages returned by
3606_ALR,
3607_PSS, and _TSS. Drivers can now assume that the packages are correctly
3608sorted
3609and do not contain NULL package elements. Adds one new file,
3610namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
3611
3612Fixed a possible fault during predefined name validation if a return
3613Package
3614object contains NULL elements. Also adds a warning if a NULL element is
3615followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
3616may
3617include repair or removal of all such NULL elements where possible.
3618
3619Implemented additional module-level executable AML code support. This
3620change
3621will execute module-level code that is not at the root of the namespace
3622(under a Device object, etc.) at table load time. Module-level executable
3623AML
3624code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
3625
3626Implemented a new internal function to create Integer objects. This
3627function
3628simplifies miscellaneous object creation code. ACPICA BZ 823.
3629
3630Reduced the severity of predefined repair messages, Warning to Info.
3631Since
3632the object was successfully repaired, a warning is too severe. Reduced to
3633an
3634info message for now. These messages may eventually be changed to debug-
3635only.
3636ACPICA BZ 812.
3637
3638Example Code and Data Size: These are the sizes for the OS-independent
3639acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3640debug version of the code includes the debug output trace mechanism and
3641has a
3642much larger code and data size.
3643
3644  Previous Release:
3645    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3646    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3647  Current Release:
3648    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3649    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3650
36512) iASL Compiler/Disassembler and Tools:
3652
3653iASL: Implemented Switch() with While(1) so that Break works correctly.
3654This
3655change correctly implements the Switch operator with a surrounding
3656While(1)
3657so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
3658
3659iASL: Added a message if a package initializer list is shorter than
3660package
3661length. Adds a new remark for a Package() declaration if an initializer
3662list
3663exists, but is shorter than the declared length of the package. Although
3664technically legal, this is probably a coding error and it is seen in the
3665field. ACPICA BZ 815. Lin Ming, Bob Moore.
3666
3667iASL: Fixed a problem where the compiler could fault after the maximum
3668number
3669of errors was reached (200).
3670
3671acpixtract: Fixed a possible warning for pointer cast if the compiler
3672warning
3673level set very high.
3674
3675----------------------------------------
367613 October 2009. Summary of changes for version 20091013:
3677
36781) ACPI CA Core Subsystem:
3679
3680Fixed a problem where an Operation Region _REG method could be executed
3681more
3682than once. If a custom address space handler is installed by the host
3683before
3684the "initialize operation regions" phase of the ACPICA initialization,
3685any
3686_REG methods for that address space could be executed twice. This change
3687fixes the problem. ACPICA BZ 427. Lin Ming.
3688
3689Fixed a possible memory leak for the Scope() ASL operator. When the exact
3690invocation of "Scope(\)" is executed (change scope to root), one internal
3691operand object was leaked. Lin Ming.
3692
3693Implemented a run-time repair for the _MAT predefined method. If the _MAT
3694return value is defined as a Field object in the AML, and the field
3695size is less than or equal to the default width of an integer (32 or
369664),_MAT
3697can incorrectly return an Integer instead of a Buffer. ACPICA now
3698automatically repairs this problem. ACPICA BZ 810.
3699
3700Implemented a run-time repair for the _BIF and _BIX predefined methods.
3701The
3702"OEM Information" field is often incorrectly returned as an Integer with
3703value zero if the field is not supported by the platform. This is due to
3704an
3705ambiguity in the ACPI specification. The field should always be a string.
3706ACPICA now automatically repairs this problem by returning a NULL string
3707within the returned Package. ACPICA BZ 807.
3708
3709Example Code and Data Size: These are the sizes for the OS-independent
3710acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3711debug version of the code includes the debug output trace mechanism and
3712has a
3713much larger code and data size.
3714
3715  Previous Release:
3716    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3717    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3718  Current Release:
3719    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3720    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3721
37222) iASL Compiler/Disassembler and Tools:
3723
3724Disassembler: Fixed a problem where references to external symbols that
3725contained one or more parent-prefixes (carats) were not handled
3726correctly,
3727possibly causing a fault. ACPICA BZ 806. Lin Ming.
3728
3729Disassembler: Restructured the code so that all functions that handle
3730external symbols are in a single module. One new file is added,
3731common/dmextern.c.
3732
3733AML Debugger: Added a max count argument for the Batch command (which
3734executes multiple predefined methods within the namespace.)
3735
3736iASL: Updated the compiler documentation (User Reference.) Available at
3737http://www.acpica.org/documentation/. ACPICA BZ 750.
3738
3739AcpiXtract: Updated for Lint and other formatting changes. Close all open
3740files.
3741
3742----------------------------------------
374303 September 2009. Summary of changes for version 20090903:
3744
37451) ACPI CA Core Subsystem:
3746
3747For Windows Vista compatibility, added the automatic execution of an _INI
3748method located at the namespace root (\_INI). This method is executed at
3749table load time. This support is in addition to the automatic execution
3750of
3751\_SB._INI. Lin Ming.
3752
3753Fixed a possible memory leak in the interpreter for AML package objects
3754if
3755the package initializer list is longer than the defined size of the
3756package.
3757This apparently can only happen if the BIOS changes the package size on
3758the
3759fly (seen in a _PSS object), as ASL compilers do not allow this. The
3760interpreter will truncate the package to the defined size (and issue an
3761error
3762message), but previously could leave the extra objects undeleted if they
3763were
3764pre-created during the argument processing (such is the case if the
3765package
3766consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
3767
3768Fixed a problem seen when a Buffer or String is stored to itself via ASL.
3769This has been reported in the field. Previously, ACPICA would zero out
3770the
3771buffer/string. Now, the operation is treated as a noop. Provides Windows
3772compatibility. ACPICA BZ 803. Lin Ming.
3773
3774Removed an extraneous error message for ASL constructs of the form
3775Store(LocalX,LocalX) when LocalX is uninitialized. These curious
3776statements
3777are seen in many BIOSs and are once again treated as NOOPs and no error
3778is
3779emitted when they are encountered. ACPICA BZ 785.
3780
3781Fixed an extraneous warning message if a _DSM reserved method returns a
3782Package object. _DSM can return any type of object, so validation on the
3783return type cannot be performed. ACPICA BZ 802.
3784
3785Example Code and Data Size: These are the sizes for the OS-independent
3786acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3787debug version of the code includes the debug output trace mechanism and
3788has a
3789much larger code and data size.
3790
3791  Previous Release:
3792    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3793    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3794  Current Release:
3795    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3796    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3797
37982) iASL Compiler/Disassembler and Tools:
3799
3800iASL: Fixed a problem with the use of the Alias operator and Resource
3801Templates. The correct alias is now constructed and no error is emitted.
3802ACPICA BZ 738.
3803
3804iASL: Implemented the -I option to specify additional search directories
3805for
3806include files. Allows multiple additional search paths for include files.
3807Directories are searched in the order specified on the command line
3808(after
3809the local directory is searched.) ACPICA BZ 800.
3810
3811iASL: Fixed a problem where the full pathname for include files was not
3812emitted for warnings/errors. This caused the IDE support to not work
3813properly. ACPICA BZ 765.
3814
3815iASL: Implemented the -@ option to specify a Windows-style response file
3816containing additional command line options. ACPICA BZ 801.
3817
3818AcpiExec: Added support to load multiple AML files simultaneously (such
3819as
3820a
3821DSDT and multiple SSDTs). Also added support for wildcards within the AML
3822pathname. These features allow all machine tables to be easily loaded and
3823debugged together. ACPICA BZ 804.
3824
3825Disassembler: Added missing support for disassembly of HEST table Error
3826Bank
3827subtables.
3828
3829----------------------------------------
383030 July 2009. Summary of changes for version 20090730:
3831
3832The ACPI 4.0 implementation for ACPICA is complete with this release.
3833
38341) ACPI CA Core Subsystem:
3835
3836ACPI 4.0: Added header file support for all new and changed ACPI tables.
3837Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
3838new
3839for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
3840BERT,
3841EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
3842There
3843have been some ACPI 4.0 changes to other existing tables. Split the large
3844actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
3845
3846ACPI 4.0: Implemented predefined name validation for all new names. There
3847are
384831 new names in ACPI 4.0. The predefined validation module was split into
3849two
3850files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
3851
3852Implemented support for so-called "module-level executable code". This is
3853executable AML code that exists outside of any control method and is
3854intended
3855to be executed at table load time. Although illegal since ACPI 2.0, this
3856type
3857of code still exists and is apparently still being created. Blocks of
3858this
3859code are now detected and executed as intended. Currently, the code
3860blocks
3861must exist under either an If, Else, or While construct; these are the
3862typical cases seen in the field. ACPICA BZ 762. Lin Ming.
3863
3864Implemented an automatic dynamic repair for predefined names that return
3865nested Package objects. This applies to predefined names that are defined
3866to
3867return a variable-length Package of sub-packages. If the number of sub-
3868packages is one, BIOS code is occasionally seen that creates a simple
3869single
3870package with no sub-packages. This code attempts to fix the problem by
3871wrapping a new package object around the existing package. These methods
3872can
3873be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
3874BZ
3875790.
3876
3877Fixed a regression introduced in 20090625 for the AcpiGetDevices
3878interface.
3879The _HID/_CID matching was broken and no longer matched IDs correctly.
3880ACPICA
3881BZ 793.
3882
3883Fixed a problem with AcpiReset where the reset would silently fail if the
3884register was one of the protected I/O ports. AcpiReset now bypasses the
3885port
3886validation mechanism. This may eventually be driven into the
3887AcpiRead/Write
3888interfaces.
3889
3890Fixed a regression related to the recent update of the AcpiRead/Write
3891interfaces. A sleep/suspend could fail if the optional PM2 Control
3892register
3893does not exist during an attempt to write the Bus Master Arbitration bit.
3894(However, some hosts already delete the code that writes this bit, and
3895the
3896code may in fact be obsolete at this date.) ACPICA BZ 799.
3897
3898Fixed a problem where AcpiTerminate could fault if inadvertently called
3899twice
3900in succession. ACPICA BZ 795.
3901
3902Example Code and Data Size: These are the sizes for the OS-independent
3903acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3904debug version of the code includes the debug output trace mechanism and
3905has a
3906much larger code and data size.
3907
3908  Previous Release:
3909    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3910    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3911  Current Release:
3912    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3913    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3914
39152) iASL Compiler/Disassembler and Tools:
3916
3917ACPI 4.0: Implemented disassembler support for all new ACPI tables and
3918changes to existing tables. ACPICA BZ 775.
3919
3920----------------------------------------
392125 June 2009. Summary of changes for version 20090625:
3922
3923The ACPI 4.0 Specification was released on June 16 and is available at
3924www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
3925continue for the next few releases.
3926
39271) ACPI CA Core Subsystem:
3928
3929ACPI 4.0: Implemented interpreter support for the IPMI operation region
3930address space. Includes support for bi-directional data buffers and an
3931IPMI
3932address space handler (to be installed by an IPMI device driver.) ACPICA
3933BZ
3934773. Lin Ming.
3935
3936ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
3937Includes
3938support in both the header files and the disassembler.
3939
3940Completed a major update for the AcpiGetObjectInfo external interface.
3941Changes include:
3942 - Support for variable, unlimited length HID, UID, and CID strings.
3943 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
3944etc.)
3945 - Call the _SxW power methods on behalf of a device object.
3946 - Determine if a device is a PCI root bridge.
3947 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
3948These changes will require an update to all callers of this interface.
3949See
3950the updated ACPICA Programmer Reference for details. One new source file
3951has
3952been added - utilities/utids.c. ACPICA BZ 368, 780.
3953
3954Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
3955transfers. The Value parameter has been extended from 32 bits to 64 bits
3956in
3957order to support new ACPI 4.0 tables. These changes will require an
3958update
3959to
3960all callers of these interfaces. See the ACPICA Programmer Reference for
3961details. ACPICA BZ 768.
3962
3963Fixed several problems with AcpiAttachData. The handler was not invoked
3964when
3965the host node was deleted. The data sub-object was not automatically
3966deleted
3967when the host node was deleted. The interface to the handler had an
3968unused
3969parameter, this was removed. ACPICA BZ 778.
3970
3971Enhanced the function that dumps ACPI table headers. All non-printable
3972characters in the string fields are now replaced with '?' (Signature,
3973OemId,
3974OemTableId, and CompilerId.) ACPI tables with non-printable characters in
3975these fields are occasionally seen in the field. ACPICA BZ 788.
3976
3977Fixed a problem with predefined method repair code where the code that
3978attempts to repair/convert an object of incorrect type is only executed
3979on
3980the first time the predefined method is called. The mechanism that
3981disables
3982warnings on subsequent calls was interfering with the repair mechanism.
3983ACPICA BZ 781.
3984
3985Fixed a possible memory leak in the predefined validation/repair code
3986when
3987a
3988buffer is automatically converted to an expected string object.
3989
3990Removed obsolete 16-bit files from the distribution and from the current
3991git
3992tree head. ACPICA BZ 776.
3993
3994Example Code and Data Size: These are the sizes for the OS-independent
3995acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3996debug version of the code includes the debug output trace mechanism and
3997has a
3998much larger code and data size.
3999
4000  Previous Release:
4001    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
4002    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
4003  Current Release:
4004    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
4005    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
4006
40072) iASL Compiler/Disassembler and Tools:
4008
4009ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
4010operation region keyword. ACPICA BZ 771, 772. Lin Ming.
4011
4012ACPI 4.0: iASL - implemented compile-time validation support for all new
4013predefined names and control methods (31 total). ACPICA BZ 769.
4014
4015----------------------------------------
401621 May 2009. Summary of changes for version 20090521:
4017
40181) ACPI CA Core Subsystem:
4019
4020Disabled the preservation of the SCI enable bit in the PM1 control
4021register.
4022The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
4023to
4024be
4025a "preserved" bit - "OSPM always preserves this bit position", section
40264.7.3.2.1. However, some machines fail if this bit is in fact preserved
4027because the bit needs to be explicitly set by the OS as a workaround. No
4028machines fail if the bit is not preserved. Therefore, ACPICA no longer
4029attempts to preserve this bit.
4030
4031Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
4032incorrectly formed _PRT package could cause a fault. Added validation to
4033ensure that each package element is actually a sub-package.
4034
4035Implemented a new interface to install or override a single control
4036method,
4037AcpiInstallMethod. This interface is useful when debugging in order to
4038repair
4039an existing method or to install a missing method without having to
4040override
4041the entire ACPI table. See the ACPICA Programmer Reference for use and
4042examples. Lin Ming, Bob Moore.
4043
4044Fixed several reference count issues with the DdbHandle object that is
4045created from a Load or LoadTable operator. Prevent premature deletion of
4046the
4047object. Also, mark the object as invalid once the table has been
4048unloaded.
4049This is needed because the handle itself may not be deleted after the
4050table
4051unload, depending on whether it has been stored in a named object by the
4052caller. Lin Ming.
4053
4054Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
4055mutexes of the same sync level are acquired but then not released in
4056strict
4057opposite order, the internally maintained Current Sync Level becomes
4058confused
4059and can cause subsequent execution errors. ACPICA BZ 471.
4060
4061Changed the allowable release order for ASL mutex objects. The ACPI 4.0
4062specification has been changed to make the SyncLevel for mutex objects
4063more
4064useful. When releasing a mutex, the SyncLevel of the mutex must now be
4065the
4066same as the current sync level. This makes more sense than the previous
4067rule
4068(SyncLevel less than or equal). This change updates the code to match the
4069specification.
4070
4071Fixed a problem with the local version of the AcpiOsPurgeCache function.
4072The
4073(local) cache must be locked during all cache object deletions. Andrew
4074Baumann.
4075
4076Updated the Load operator to use operation region interfaces. This
4077replaces
4078direct memory mapping with region access calls. Now, all region accesses
4079go
4080through the installed region handler as they should.
4081
4082Simplified and optimized the NsGetNextNode function. Reduced parameter
4083count
4084and reduced code for this frequently used function.
4085
4086Example Code and Data Size: These are the sizes for the OS-independent
4087acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4088debug version of the code includes the debug output trace mechanism and
4089has a
4090much larger code and data size.
4091
4092  Previous Release:
4093    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
4094    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
4095  Current Release:
4096    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
4097    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
4098
40992) iASL Compiler/Disassembler and Tools:
4100
4101Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
4102problems
4103with sub-table disassembly and handling invalid sub-tables. Attempt
4104recovery
4105after an invalid sub-table ID.
4106
4107----------------------------------------
410822 April 2009. Summary of changes for version 20090422:
4109
41101) ACPI CA Core Subsystem:
4111
4112Fixed a compatibility issue with the recently released I/O port
4113protection
4114mechanism. For windows compatibility, 1) On a port protection violation,
4115simply ignore the request and do not return an exception (allow the
4116control
4117method to continue execution.) 2) If only part of the request overlaps a
4118protected port, read/write the individual ports that are not protected.
4119Linux
4120BZ 13036. Lin Ming
4121
4122Enhanced the execution of the ASL/AML BreakPoint operator so that it
4123actually
4124breaks into the AML debugger if the debugger is present. This matches the
4125ACPI-defined behavior.
4126
4127Fixed several possible warnings related to the use of the configurable
4128ACPI_THREAD_ID. This type can now be configured as either an integer or a
4129pointer with no warnings. Also fixes several warnings in printf-like
4130statements for the 64-bit build when the type is configured as a pointer.
4131ACPICA BZ 766, 767.
4132
4133Fixed a number of possible warnings when compiling with gcc 4+ (depending
4134on
4135warning options.) Examples include printf formats, aliasing, unused
4136globals,
4137missing prototypes, missing switch default statements, use of non-ANSI
4138library functions, use of non-ANSI constructs. See generate/unix/Makefile
4139for
4140a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
4141
4142Example Code and Data Size: These are the sizes for the OS-independent
4143acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4144debug version of the code includes the debug output trace mechanism and
4145has a
4146much larger code and data size.
4147
4148  Previous Release:
4149    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
4150    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
4151  Current Release:
4152    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
4153    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
4154
41552) iASL Compiler/Disassembler and Tools:
4156
4157iASL: Fixed a generation warning from Bison 2.3 and fixed several
4158warnings
4159on
4160the 64-bit build.
4161
4162iASL: Fixed a problem where the Unix/Linux versions of the compiler could
4163not
4164correctly digest Windows/DOS formatted files (with CR/LF).
4165
4166iASL: Added a new option for "quiet mode" (-va) that produces only the
4167compilation summary, not individual errors and warnings. Useful for large
4168batch compilations.
4169
4170AcpiExec: Implemented a new option (-z) to enable a forced
4171semaphore/mutex
4172timeout that can be used to detect hang conditions during execution of
4173AML
4174code (includes both internal semaphores and AML-defined mutexes and
4175events.)
4176
4177Added new makefiles for the generation of acpica in a generic unix-like
4178environment. These makefiles are intended to generate the acpica tools
4179and
4180utilities from the original acpica git source tree structure.
4181
4182Test Suites: Updated and cleaned up the documentation files. Updated the
4183copyrights to 2009, affecting all source files. Use the new version of
4184iASL
4185with quiet mode. Increased the number of available semaphores in the
4186Windows
4187OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
4188added
4189an alternate implementation of the semaphore timeout to allow aslts to
4190execute fully on Cygwin.
4191
4192----------------------------------------
419320 March 2009. Summary of changes for version 20090320:
4194
41951) ACPI CA Core Subsystem:
4196
4197Fixed a possible race condition between AcpiWalkNamespace and dynamic
4198table
4199unloads. Added a reader/writer locking mechanism to allow multiple
4200concurrent
4201namespace walks (readers), but block a dynamic table unload until it can
4202gain
4203exclusive write access to the namespace. This fixes a problem where a
4204table
4205unload could (possibly catastrophically) delete the portion of the
4206namespace
4207that is currently being examined by a walk. Adds a new file, utlock.c,
4208that
4209implements the reader/writer lock mechanism. ACPICA BZ 749.
4210
4211Fixed a regression introduced in version 20090220 where a change to the
4212FADT
4213handling could cause the ACPICA subsystem to access non-existent I/O
4214ports.
4215
4216Modified the handling of FADT register and table (FACS/DSDT) addresses.
4217The
4218FADT can contain both 32-bit and 64-bit versions of these addresses.
4219Previously, the 64-bit versions were favored, meaning that if both 32 and
422064
4221versions were valid, but not equal, the 64-bit version was used. This was
4222found to cause some machines to fail. Now, in this case, the 32-bit
4223version
4224is used instead. This now matches the Windows behavior.
4225
4226Implemented a new mechanism to protect certain I/O ports. Provides
4227Microsoft
4228compatibility and protects the standard PC I/O ports from access via AML
4229code. Adds a new file, hwvalid.c
4230
4231Fixed a possible extraneous warning message from the FADT support. The
4232message warns of a 32/64 length mismatch between the legacy and GAS
4233definitions for a register.
4234
4235Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
4236is
4237made obsolete by the port protection mechanism above. It was previously
4238used
4239to validate the entire address range of an operation region, which could
4240be
4241incorrect if the range included illegal ports, but fields within the
4242operation region did not actually access those ports. Validation is now
4243performed on a per-field basis instead of the entire region.
4244
4245Modified the handling of the PM1 Status Register ignored bit (bit 11.)
4246Ignored bits must be "preserved" according to the ACPI spec. Usually,
4247this
4248means a read/modify/write when writing to the register. However, for
4249status
4250registers, writing a one means clear the event. Writing a zero means
4251preserve
4252the event (do not clear.) This behavior is clarified in the ACPI 4.0
4253spec,
4254and the ACPICA code now simply always writes a zero to the ignored bit.
4255
4256Modified the handling of ignored bits for the PM1 A/B Control Registers.
4257As
4258per the ACPI specification, for the control registers, preserve
4259(read/modify/write) all bits that are defined as either reserved or
4260ignored.
4261
4262Updated the handling of write-only bits in the PM1 A/B Control Registers.
4263When reading the register, zero the write-only bits as per the ACPI spec.
4264ACPICA BZ 443. Lin Ming.
4265
4266Removed "Linux" from the list of supported _OSI strings. Linux no longer
4267wants to reply true to this request. The Windows strings are the only
4268paths
4269through the AML that are tested and known to work properly.
4270
4271  Previous Release:
4272    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
4273    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
4274  Current Release:
4275    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
4276    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
4277
42782) iASL Compiler/Disassembler and Tools:
4279
4280Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
4281and
4282aetables.c
4283
4284----------------------------------------
428520 February 2009. Summary of changes for version 20090220:
4286
42871) ACPI CA Core Subsystem:
4288
4289Optimized the ACPI register locking. Removed locking for reads from the
4290ACPI
4291bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
4292is
4293not required when reading the single-bit registers. The
4294AcpiGetRegisterUnlocked function is no longer needed and has been
4295removed.
4296This will improve performance for reads on these registers. ACPICA BZ
4297760.
4298
4299Fixed the parameter validation for AcpiRead/Write. Now return
4300AE_BAD_PARAMETER if the input register pointer is null, and
4301AE_BAD_ADDRESS
4302if
4303the register has an address of zero. Previously, these cases simply
4304returned
4305AE_OK. For optional registers such as PM1B status/enable/control, the
4306caller
4307should check for a valid register address before calling. ACPICA BZ 748.
4308
4309Renamed the external ACPI bit register access functions. Renamed
4310AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
4311functions. The new names are AcpiReadBitRegister and
4312AcpiWriteBitRegister.
4313Also, restructured the code for these functions by simplifying the code
4314path
4315and condensing duplicate code to reduce code size.
4316
4317Added new functions to transparently handle the possibly split PM1 A/B
4318registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
4319functions
4320now handle the split registers for PM1 Status, Enable, and Control.
4321ACPICA
4322BZ
4323746.
4324
4325Added a function to handle the PM1 control registers,
4326AcpiHwWritePm1Control.
4327This function writes both of the PM1 control registers (A/B). These
4328registers
4329are different than the PM1 A/B status and enable registers in that
4330different
4331values can be written to the A/B registers. Most notably, the SLP_TYP
4332bits
4333can be different, as per the values returned from the _Sx predefined
4334methods.
4335
4336Removed an extra register write within AcpiHwClearAcpiStatus. This
4337function
4338was writing an optional PM1B status register twice. The existing call to
4339the
4340low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
4341A/B
4342register. ACPICA BZ 751.
4343
4344Split out the PM1 Status registers from the FADT. Added new globals for
4345these
4346registers (A/B), similar to the way the PM1 Enable registers are handled.
4347Instead of overloading the FADT Event Register blocks. This makes the
4348code
4349clearer and less prone to error.
4350
4351Fixed the warning message for when the platform contains too many ACPI
4352tables
4353for the default size of the global root table data structure. The
4354calculation
4355for the truncation value was incorrect.
4356
4357Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
4358obsolete macro, since it is now a simple reference to ->common.type.
4359There
4360were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
4361
4362Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
4363TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
4364simply SLEEP_TYPE. ACPICA BZ 754.
4365
4366Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
4367function is only needed on 64-bit host operating systems and is thus not
4368included for 32-bit hosts.
4369
4370Debug output: print the input and result for invocations of the _OSI
4371reserved
4372control method via the ACPI_LV_INFO debug level. Also, reduced some of
4373the
4374verbosity of this debug level. Len Brown.
4375
4376Example Code and Data Size: These are the sizes for the OS-independent
4377acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4378debug version of the code includes the debug output trace mechanism and
4379has a
4380much larger code and data size.
4381
4382  Previous Release:
4383    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
4384    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
4385  Current Release:
4386    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
4387    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
4388
43892) iASL Compiler/Disassembler and Tools:
4390
4391Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
4392various legal performance profiles.
4393
4394----------------------------------------
439523 January 2009. Summary of changes for version 20090123:
4396
43971) ACPI CA Core Subsystem:
4398
4399Added the 2009 copyright to all module headers and signons. This affects
4400virtually every file in the ACPICA core subsystem, the iASL compiler, and
4401the tools/utilities.
4402
4403Implemented a change to allow the host to override any ACPI table,
4404including
4405dynamically loaded tables. Previously, only the DSDT could be replaced by
4406the
4407host. With this change, the AcpiOsTableOverride interface is called for
4408each
4409table found in the RSDT/XSDT during ACPICA initialization, and also
4410whenever
4411a table is dynamically loaded via the AML Load operator.
4412
4413Updated FADT flag definitions, especially the Boot Architecture flags.
4414
4415Debugger: For the Find command, automatically pad the input ACPI name
4416with
4417underscores if the name is shorter than 4 characters. This enables a
4418match
4419with the actual namespace entry which is itself padded with underscores.
4420
4421Example Code and Data Size: These are the sizes for the OS-independent
4422acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4423debug version of the code includes the debug output trace mechanism and
4424has a
4425much larger code and data size.
4426
4427  Previous Release:
4428    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
4429    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
4430  Current Release:
4431    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
4432    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
4433
44342) iASL Compiler/Disassembler and Tools:
4435
4436Fix build error under Bison-2.4.
4437
4438Dissasembler: Enhanced FADT support. Added decoding of the Boot
4439Architecture
4440flags. Now decode all flags, regardless of the FADT version. Flag output
4441includes the FADT version which first defined each flag.
4442
4443The iASL -g option now dumps the RSDT to a file (in addition to the FADT
4444and
4445DSDT). Windows only.
4446
4447----------------------------------------
444804 December 2008. Summary of changes for version 20081204:
4449
44501) ACPI CA Core Subsystem:
4451
4452The ACPICA Programmer Reference has been completely updated and revamped
4453for
4454this release. This includes updates to the external interfaces, OSL
4455interfaces, the overview sections, and the debugger reference.
4456
4457Several new ACPICA interfaces have been implemented and documented in the
4458programmer reference:
4459AcpiReset - Writes the reset value to the FADT-defined reset register.
4460AcpiDisableAllGpes - Disable all available GPEs.
4461AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
4462AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
4463AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
4464AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
4465AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
4466
4467Most of the public ACPI hardware-related interfaces have been moved to a
4468new
4469file, components/hardware/hwxface.c
4470
4471Enhanced the FADT parsing and low-level ACPI register access: The ACPI
4472register lengths within the FADT are now used, and the low level ACPI
4473register access no longer hardcodes the ACPI register lengths. Given that
4474there may be some risk in actually trusting the FADT register lengths, a
4475run-
4476time option was added to fall back to the default hardcoded lengths if
4477the
4478FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
4479option is set to true for now, and a warning is issued if a suspicious
4480FADT
4481register length is overridden with the default value.
4482
4483Fixed a reference count issue in NsRepairObject. This problem was
4484introduced
4485in version 20081031 as part of a fix to repair Buffer objects within
4486Packages. Lin Ming.
4487
4488Added semaphore support to the Linux/Unix application OS-services layer
4489(OSL). ACPICA BZ 448. Lin Ming.
4490
4491Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
4492will
4493be implemented in the OSL, or will binary semaphores be used instead.
4494
4495Example Code and Data Size: These are the sizes for the OS-independent
4496acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4497debug version of the code includes the debug output trace mechanism and
4498has a
4499much larger code and data size.
4500
4501  Previous Release:
4502    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
4503    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
4504  Current Release:
4505    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
4506    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
4507
45082) iASL Compiler/Disassembler and Tools:
4509
4510iASL: Completed the '-e' option to include additional ACPI tables in
4511order
4512to
4513aid with disassembly and External statement generation. ACPICA BZ 742.
4514Lin
4515Ming.
4516
4517iASL: Removed the "named object in while loop" error. The compiler cannot
4518determine how many times a loop will execute. ACPICA BZ 730.
4519
4520Disassembler: Implemented support for FADT revision 2 (MS extension).
4521ACPICA
4522BZ 743.
4523
4524Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
4525MCFG).
4526
4527----------------------------------------
452831 October 2008. Summary of changes for version 20081031:
4529
45301) ACPI CA Core Subsystem:
4531
4532Restructured the ACPICA header files into public/private. acpi.h now
4533includes
4534only the "public" acpica headers. All other acpica headers are "private"
4535and
4536should not be included by acpica users. One new file, accommon.h is used
4537to
4538include the commonly used private headers for acpica code generation.
4539Future
4540plans include moving all private headers to a new subdirectory.
4541
4542Implemented an automatic Buffer->String return value conversion for
4543predefined ACPI methods. For these methods (such as _BIF), added
4544automatic
4545conversion for return objects that are required to be a String, but a
4546Buffer
4547was found instead. This can happen when reading string battery data from
4548an
4549operation region, because it used to be difficult to convert the data
4550from
4551buffer to string from within the ASL. Ensures that the host OS is
4552provided
4553with a valid null-terminated string. Linux BZ 11822.
4554
4555Updated the FACS waking vector interfaces. Split
4556AcpiSetFirmwareWakingVector
4557into two: one for the 32-bit vector, another for the 64-bit vector. This
4558is
4559required because the host OS must setup the wake much differently for
4560each
4561vector (real vs. protected mode, etc.) and the interface itself should
4562not
4563be
4564deciding which vector to use. Also, eliminated the
4565GetFirmwareWakingVector
4566interface, as it served no purpose (only the firmware reads the vector,
4567OS
4568only writes the vector.) ACPICA BZ 731.
4569
4570Implemented a mechanism to escape infinite AML While() loops. Added a
4571loop
4572counter to force exit from AML While loops if the count becomes too
4573large.
4574This can occur in poorly written AML when the hardware does not respond
4575within a while loop and the loop does not implement a timeout. The
4576maximum
4577loop count is configurable. A new exception code is returned when a loop
4578is
4579broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
4580
4581Optimized the execution of AML While loops. Previously, a control state
4582object was allocated and freed for each execution of the loop. The
4583optimization is to simply reuse the control state for each iteration.
4584This
4585speeds up the raw loop execution time by about 5%.
4586
4587Enhanced the implicit return mechanism. For Windows compatibility, return
4588an
4589implicit integer of value zero for methods that contain no executable
4590code.
4591Such methods are seen in the field as stubs (presumably), and can cause
4592drivers to fail if they expect a return value. Lin Ming.
4593
4594Allow multiple backslashes as root prefixes in namepaths. In a fully
4595qualified namepath, allow multiple backslash prefixes. This can happen
4596(and
4597is seen in the field) because of the use of a double-backslash in strings
4598(since backslash is the escape character) causing confusion. ACPICA BZ
4599739
4600Lin Ming.
4601
4602Emit a warning if two different FACS or DSDT tables are discovered in the
4603FADT. Checks if there are two valid but different addresses for the FACS
4604and
4605DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
4606
4607Consolidated the method argument count validation code. Merged the code
4608that
4609validates control method argument counts into the predefined validation
4610module. Eliminates possible multiple warnings for incorrect argument
4611counts.
4612
4613Implemented ACPICA example code. Includes code for ACPICA initialization,
4614handler installation, and calling a control method. Available at
4615source/tools/examples.
4616
4617Added a global pointer for FACS table to simplify internal FACS access.
4618Use
4619the global pointer instead of using AcpiGetTableByIndex for each FACS
4620access.
4621This simplifies the code for the Global Lock and the Firmware Waking
4622Vector(s).
4623
4624Example Code and Data Size: These are the sizes for the OS-independent
4625acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4626debug version of the code includes the debug output trace mechanism and
4627has a
4628much larger code and data size.
4629
4630  Previous Release:
4631    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4632    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4633  Current Release:
4634    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
4635    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
4636
46372) iASL Compiler/Disassembler and Tools:
4638
4639iASL: Improved disassembly of external method calls. Added the -e option
4640to
4641allow the inclusion of additional ACPI tables to help with the
4642disassembly
4643of
4644method invocations and the generation of external declarations during the
4645disassembly. Certain external method invocations cannot be disassembled
4646properly without the actual declaration of the method. Use the -e option
4647to
4648include the table where the external method(s) are actually declared.
4649Most
4650useful for disassembling SSDTs that make method calls back to the master
4651DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl
4652-d
4653-e dsdt.aml ssdt1.aml
4654
4655iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
4656problem where the use of an alias within a namepath would result in a not
4657found error or cause the compiler to fault. Also now allows forward
4658references from the Alias operator itself. ACPICA BZ 738.
4659
4660----------------------------------------
466126 September 2008. Summary of changes for version 20080926:
4662
46631) ACPI CA Core Subsystem:
4664
4665Designed and implemented a mechanism to validate predefined ACPI methods
4666and
4667objects. This code validates the predefined ACPI objects (objects whose
4668names
4669start with underscore) that appear in the namespace, at the time they are
4670evaluated. The argument count and the type of the returned object are
4671validated against the ACPI specification. The purpose of this validation
4672is
4673to detect problems with the BIOS-implemented predefined ACPI objects
4674before
4675the results are returned to the ACPI-related drivers. Future enhancements
4676may
4677include actual repair of incorrect return objects where possible. Two new
4678files are nspredef.c and acpredef.h.
4679
4680Fixed a fault in the AML parser if a memory allocation fails during the
4681Op
4682completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
4683
4684Fixed an issue with implicit return compatibility. This change improves
4685the
4686implicit return mechanism to be more compatible with the MS interpreter.
4687Lin
4688Ming, ACPICA BZ 349.
4689
4690Implemented support for zero-length buffer-to-string conversions. Allow
4691zero
4692length strings during interpreter buffer-to-string conversions. For
4693example,
4694during the ToDecimalString and ToHexString operators, as well as implicit
4695conversions. Fiodor Suietov, ACPICA BZ 585.
4696
4697Fixed two possible memory leaks in the error exit paths of
4698AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
4699are
4700similar in that they use a stack of state objects in order to eliminate
4701recursion. The stack must be fully unwound and deallocated if an error
4702occurs. Lin Ming. ACPICA BZ 383.
4703
4704Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
4705global
4706ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
4707Moore ACPICA BZ 442.
4708
4709Removed the obsolete version number in module headers. Removed the
4710"$Revision" number that appeared in each module header. This version
4711number
4712was useful under SourceSafe and CVS, but has no meaning under git. It is
4713not
4714only incorrect, it could also be misleading.
4715
4716Example Code and Data Size: These are the sizes for the OS-independent
4717acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4718debug version of the code includes the debug output trace mechanism and
4719has a
4720much larger code and data size.
4721
4722  Previous Release:
4723    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4724    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4725  Current Release:
4726    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4727    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4728
4729----------------------------------------
473029 August 2008. Summary of changes for version 20080829:
4731
47321) ACPI CA Core Subsystem:
4733
4734Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
4735Reference. Changes include the elimination of cheating on the Object
4736field
4737for the DdbHandle subtype, addition of a reference class field to
4738differentiate the various reference types (instead of an AML opcode), and
4739the
4740cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
4741
4742Reduce an error to a warning for an incorrect method argument count.
4743Previously aborted with an error if too few arguments were passed to a
4744control method via the external ACPICA interface. Now issue a warning
4745instead
4746and continue. Handles the case where the method inadvertently declares
4747too
4748many arguments, but does not actually use the extra ones. Applies mainly
4749to
4750the predefined methods. Lin Ming. Linux BZ 11032.
4751
4752Disallow the evaluation of named object types with no intrinsic value.
4753Return
4754AE_TYPE for objects that have no value and therefore evaluation is
4755undefined:
4756Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
4757of
4758these types were allowed, but an exception would be generated at some
4759point
4760during the evaluation. Now, the error is generated up front.
4761
4762Fixed a possible memory leak in the AcpiNsGetExternalPathname function
4763(nsnames.c). Fixes a leak in the error exit path.
4764
4765Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
4766debug
4767levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
4768ACPI_EXCEPTION
4769interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
4770ACPI_LV_EVENTS.
4771
4772Removed obsolete and/or unused exception codes from the acexcep.h header.
4773There is the possibility that certain device drivers may be affected if
4774they
4775use any of these exceptions.
4776
4777The ACPICA documentation has been added to the public git source tree,
4778under
4779acpica/documents. Included are the ACPICA programmer reference, the iASL
4780compiler reference, and the changes.txt release logfile.
4781
4782Example Code and Data Size: These are the sizes for the OS-independent
4783acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4784debug version of the code includes the debug output trace mechanism and
4785has a
4786much larger code and data size.
4787
4788  Previous Release:
4789    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4790    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4791  Current Release:
4792    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4793    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4794
47952) iASL Compiler/Disassembler and Tools:
4796
4797Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
4798defines _SCP with 3 arguments. Previous versions defined it with only 1
4799argument. iASL now allows both definitions.
4800
4801iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
4802zero-
4803length subtables when disassembling ACPI tables. Also fixed a couple of
4804errors where a full 16-bit table type field was not extracted from the
4805input
4806properly.
4807
4808acpisrc: Improve comment counting mechanism for generating source code
4809statistics. Count first and last lines of multi-line comments as
4810whitespace,
4811not comment lines. Handle Linux legal header in addition to standard
4812acpica
4813header.
4814
4815----------------------------------------
4816
481729 July 2008. Summary of changes for version 20080729:
4818
48191) ACPI CA Core Subsystem:
4820
4821Fix a possible deadlock in the GPE dispatch. Remove call to
4822AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
4823attempt
4824to acquire the GPE lock but can deadlock since the GPE lock is already
4825held
4826at dispatch time. This code was introduced in version 20060831 as a
4827response
4828to Linux BZ 6881 and has since been removed from Linux.
4829
4830Add a function to dereference returned reference objects. Examines the
4831return
4832object from a call to AcpiEvaluateObject. Any Index or RefOf references
4833are
4834automatically dereferenced in an attempt to return something useful
4835(these
4836reference types cannot be converted into an external ACPI_OBJECT.)
4837Provides
4838MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
4839
4840x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
4841subtables for the MADT and one new subtable for the SRAT. Includes
4842disassembler and AcpiSrc support. Data from the Intel 64 Architecture
4843x2APIC
4844Specification, June 2008.
4845
4846Additional error checking for pathname utilities. Add error check after
4847all
4848calls to AcpiNsGetPathnameLength. Add status return from
4849AcpiNsBuildExternalPath and check after all calls. Add parameter
4850validation
4851to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
4852
4853Return status from the global init function AcpiUtGlobalInitialize. This
4854is
4855used by both the kernel subsystem and the utilities such as iASL
4856compiler.
4857The function could possibly fail when the caches are initialized. Yang
4858Yi.
4859
4860Add a function to decode reference object types to strings. Created for
4861improved error messages.
4862
4863Improve object conversion error messages. Better error messages during
4864object
4865conversion from internal to the external ACPI_OBJECT. Used for external
4866calls
4867to AcpiEvaluateObject.
4868
4869Example Code and Data Size: These are the sizes for the OS-independent
4870acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4871debug version of the code includes the debug output trace mechanism and
4872has a
4873much larger code and data size.
4874
4875  Previous Release:
4876    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4877    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4878  Current Release:
4879    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4880    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4881
48822) iASL Compiler/Disassembler and Tools:
4883
4884Debugger: fix a possible hang when evaluating non-methods. Fixes a
4885problem
4886introduced in version 20080701. If the object being evaluated (via
4887execute
4888command) is not a method, the debugger can hang while trying to obtain
4889non-
4890existent parameters.
4891
4892iASL: relax error for using reserved "_T_x" identifiers. These names can
4893appear in a disassembled ASL file if they were emitted by the original
4894compiler. Instead of issuing an error or warning and forcing the user to
4895manually change these names, issue a remark instead.
4896
4897iASL: error if named object created in while loop. Emit an error if any
4898named
4899object is created within a While loop. If allowed, this code will
4900generate
4901a
4902run-time error on the second iteration of the loop when an attempt is
4903made
4904to
4905create the same named object twice. ACPICA bugzilla 730.
4906
4907iASL: Support absolute pathnames for include files. Add support for
4908absolute
4909pathnames within the Include operator. previously, only relative
4910pathnames
4911were supported.
4912
4913iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
4914Descriptor.
4915The ACPI spec requires one interrupt minimum. BZ 423
4916
4917iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
4918Handles the case for the Interrupt Resource Descriptor where
4919the ResourceSource argument is omitted but ResourceSourceIndex
4920is present. Now leave room for the Index. BZ 426
4921
4922iASL: Prevent error message if CondRefOf target does not exist. Fixes
4923cases
4924where an error message is emitted if the target does not exist. BZ 516
4925
4926iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
4927(get ACPI tables on Windows). This was apparently broken in version
492820070919.
4929
4930AcpiXtract: Handle EOF while extracting data. Correctly handle the case
4931where
4932the EOF happens immediately after the last table in the input file. Print
4933completion message. Previously, no message was displayed in this case.
4934
4935----------------------------------------
493601 July 2008. Summary of changes for version 20080701:
4937
49380) Git source tree / acpica.org
4939
4940Fixed a problem where a git-clone from http would not transfer the entire
4941source tree.
4942
49431) ACPI CA Core Subsystem:
4944
4945Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
4946enable bit. Now performs a read-change-write of the enable register
4947instead
4948of simply writing out the cached enable mask. This will prevent
4949inadvertent
4950enabling of GPEs if a rogue GPE is received during initialization (before
4951GPE
4952handlers are installed.)
4953
4954Implemented a copy for dynamically loaded tables. Previously, dynamically
4955loaded tables were simply mapped - but on some machines this memory is
4956corrupted after suspend. Now copy the table to a local buffer. For the
4957OpRegion case, added checksum verify. Use the table length from the table
4958header, not the region length. For the Buffer case, use the table length
4959also. Dennis Noordsij, Bob Moore. BZ 10734
4960
4961Fixed a problem where the same ACPI table could not be dynamically loaded
4962and
4963unloaded more than once. Without this change, a table cannot be loaded
4964again
4965once it has been loaded/unloaded one time. The current mechanism does not
4966unregister a table upon an unload. During a load, if the same table is
4967found,
4968this no longer returns an exception. BZ 722
4969
4970Fixed a problem where the wrong descriptor length was calculated for the
4971EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
4972EndTag
4973are calculated as 12 bytes long, but the actual length in the internal
4974descriptor is 16 because of the round-up to 8 on the 64-bit build.
4975Reported
4976by Linn Crosetto. BZ 728
4977
4978Fixed a possible memory leak in the Unload operator. The DdbHandle
4979returned
4980by Load() did not have its reference count decremented during unload,
4981leading
4982to a memory leak. Lin Ming. BZ 727
4983
4984Fixed a possible memory leak when deleting thermal/processor objects. Any
4985associated notify handlers (and objects) were not being deleted. Fiodor
4986Suietov. BZ 506
4987
4988Fixed the ordering of the ASCII names in the global mutex table to match
4989the
4990actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
4991only.
4992Vegard Nossum. BZ 726
4993
4994Enhanced the AcpiGetObjectInfo interface to return the number of required
4995arguments if the object is a control method. Added this call to the
4996debugger
4997so the proper number of default arguments are passed to a method. This
4998prevents a warning when executing methods from AcpiExec.
4999
5000Added a check for an invalid handle in AcpiGetObjectInfo. Return
5001AE_BAD_PARAMETER if input handle is invalid. BZ 474
5002
5003Fixed an extraneous warning from exconfig.c on the 64-bit build.
5004
5005Example Code and Data Size: These are the sizes for the OS-independent
5006acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5007debug version of the code includes the debug output trace mechanism and
5008has a
5009much larger code and data size.
5010
5011  Previous Release:
5012    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
5013    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
5014  Current Release:
5015    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
5016    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
5017
50182) iASL Compiler/Disassembler and Tools:
5019
5020iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
5021resource descriptor names.
5022
5023iASL: Detect invalid ASCII characters in input (windows version). Removed
5024the
5025"-CF" flag from the flex compile, enables correct detection of non-ASCII
5026characters in the input. BZ 441
5027
5028iASL: Eliminate warning when result of LoadTable is not used. Eliminate
5029the
5030"result of operation not used" warning when the DDB handle returned from
5031LoadTable is not used. The warning is not needed. BZ 590
5032
5033AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
5034method
5035to
5036pass address of table to the AML. Added option to disable OpRegion
5037simulation
5038to allow creation of an OpRegion with a real address that was passed to
5039_CFG.
5040All of this allows testing of the Load and Unload operators from
5041AcpiExec.
5042
5043Debugger: update tables command for unloaded tables. Handle unloaded
5044tables
5045and use the standard table header output routine.
5046
5047----------------------------------------
504809 June 2008. Summary of changes for version 20080609:
5049
50501) ACPI CA Core Subsystem:
5051
5052Implemented a workaround for reversed _PRT entries. A significant number
5053of
5054BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
5055change dynamically detects and repairs this problem. Provides
5056compatibility
5057with MS ACPI. BZ 6859
5058
5059Simplified the internal ACPI hardware interfaces to eliminate the locking
5060flag parameter from Register Read/Write. Added a new external interface,
5061AcpiGetRegisterUnlocked.
5062
5063Fixed a problem where the invocation of a GPE control method could hang.
5064This
5065was a regression introduced in 20080514. The new method argument count
5066validation mechanism can enter an infinite loop when a GPE method is
5067dispatched. Problem fixed by removing the obsolete code that passed GPE
5068block
5069information to the notify handler via the control method parameter
5070pointer.
5071
5072Fixed a problem where the _SST execution status was incorrectly returned
5073to
5074the caller of AcpiEnterSleepStatePrep. This was a regression introduced
5075in
507620080514. _SST is optional and a NOT_FOUND exception should never be
5077returned. BZ 716
5078
5079Fixed a problem where a deleted object could be accessed from within the
5080AML
5081parser. This was a regression introduced in version 20080123 as a fix for
5082the
5083Unload operator. Lin Ming. BZ 10669
5084
5085Cleaned up the debug operand dump mechanism. Eliminated unnecessary
5086operands
5087and eliminated the use of a negative index in a loop. Operands are now
5088displayed in the correct order, not backwards. This also fixes a
5089regression
5090introduced in 20080514 on 64-bit systems where the elimination of
5091ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
5092715
5093
5094Fixed a possible memory leak in EvPciConfigRegionSetup where the error
5095exit
5096path did not delete a locally allocated structure.
5097
5098Updated definitions for the DMAR and SRAT tables to synchronize with the
5099current specifications. Includes disassembler support.
5100
5101Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
5102loop termination value was used. Loop terminated on iteration early,
5103missing
5104one mutex. Linn Crosetto
5105
5106Example Code and Data Size: These are the sizes for the OS-independent
5107acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5108debug version of the code includes the debug output trace mechanism and
5109has a
5110much larger code and data size.
5111
5112  Previous Release:
5113    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
5114    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
5115  Current Release:
5116    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
5117    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
5118
51192) iASL Compiler/Disassembler and Tools:
5120
5121Disassembler: Implemented support for EisaId() within _CID objects. Now
5122disassemble integer _CID objects back to EisaId invocations, including
5123multiple integers within _CID packages. Includes single-step support for
5124debugger also.
5125
5126Disassembler: Added support for DMAR and SRAT table definition changes.
5127
5128----------------------------------------
512914 May 2008. Summary of changes for version 20080514:
5130
51311) ACPI CA Core Subsystem:
5132
5133Fixed a problem where GPEs were enabled too early during the ACPICA
5134initialization. This could lead to "handler not installed" errors on some
5135machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
5136This
5137ensures that all operation regions and devices throughout the namespace
5138have
5139been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
5140
5141Implemented a change to the enter sleep code. Moved execution of the _GTS
5142method to just before setting sleep enable bit. The execution was moved
5143from
5144AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
5145immediately before the SLP_EN bit is set, as per the ACPI specification.
5146Luming Yu, BZ 1653.
5147
5148Implemented a fix to disable unknown GPEs (2nd version). Now always
5149disable
5150the GPE, even if ACPICA thinks that that it is already disabled. It is
5151possible that the AML or some other code has enabled the GPE unbeknownst
5152to
5153the ACPICA code.
5154
5155Fixed a problem with the Field operator where zero-length fields would
5156return
5157an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
5158ASL
5159field declarations in Field(), BankField(), and IndexField(). BZ 10606.
5160
5161Implemented a fix for the Load operator, now load the table at the
5162namespace
5163root. This reverts a change introduced in version 20071019. The table is
5164now
5165loaded at the namespace root even though this goes against the ACPI
5166specification. This provides compatibility with other ACPI
5167implementations.
5168The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
5169Ming.
5170
5171Fixed a problem where ACPICA would not Load() tables with unusual
5172signatures.
5173Now ignore ACPI table signature for Load() operator. Only "SSDT" is
5174acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
5175Therefore, signature validation is worthless. Apparently MS ACPI accepts
5176such
5177signatures, ACPICA must be compatible. BZ 10454.
5178
5179Fixed a possible negative array index in AcpiUtValidateException. Added
5180NULL
5181fields to the exception string arrays to eliminate a -1 subtraction on
5182the
5183SubStatus field.
5184
5185Updated the debug tracking macros to reduce overall code and data size.
5186Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
5187instead of pointers to static strings. Jan Beulich and Bob Moore.
5188
5189Implemented argument count checking in control method invocation via
5190AcpiEvaluateObject. Now emit an error if too few arguments, warning if
5191too
5192many. This applies only to extern programmatic control method execution,
5193not
5194method-to-method calls within the AML. Lin Ming.
5195
5196Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
5197no
5198longer needed, especially with the removal of 16-bit support. It was
5199replaced
5200mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
5201bit
5202on
520332/64-bit platforms is required.
5204
5205Added the C const qualifier for appropriate string constants -- mostly
5206MODULE_NAME and printf format strings. Jan Beulich.
5207
5208Example Code and Data Size: These are the sizes for the OS-independent
5209acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5210debug version of the code includes the debug output trace mechanism and
5211has a
5212much larger code and data size.
5213
5214  Previous Release:
5215    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
5216    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
5217  Current Release:
5218    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
5219    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
5220
52212) iASL Compiler/Disassembler and Tools:
5222
5223Implemented ACPI table revision ID validation in the disassembler. Zero
5224is
5225always invalid. For DSDTs, the ID controls the interpreter integer width.
52261
5227means 32-bit and this is unusual. 2 or greater is 64-bit.
5228
5229----------------------------------------
523021 March 2008. Summary of changes for version 20080321:
5231
52321) ACPI CA Core Subsystem:
5233
5234Implemented an additional change to the GPE support in order to suppress
5235spurious or stray GPEs. The AcpiEvDisableGpe function will now
5236permanently
5237disable incoming GPEs that are neither enabled nor disabled -- meaning
5238that
5239the GPE is unknown to the system. This should prevent future interrupt
5240floods
5241from that GPE. BZ 6217 (Zhang Rui)
5242
5243Fixed a problem where NULL package elements were not returned to the
5244AcpiEvaluateObject interface correctly. The element was simply ignored
5245instead of returning a NULL ACPI_OBJECT package element, potentially
5246causing
5247a buffer overflow and/or confusing the caller who expected a fixed number
5248of
5249elements. BZ 10132 (Lin Ming, Bob Moore)
5250
5251Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
5252Dword,
5253Qword), Field, BankField, and IndexField operators when invoked from
5254inside
5255an executing control method. In this case, these operators created
5256namespace
5257nodes that were incorrectly left marked as permanent nodes instead of
5258temporary nodes. This could cause a problem if there is race condition
5259between an exiting control method and a running namespace walk. (Reported
5260by
5261Linn Crosetto)
5262
5263Fixed a problem where the CreateField and CreateXXXField operators would
5264incorrectly allow duplicate names (the name of the field) with no
5265exception
5266generated.
5267
5268Implemented several changes for Notify handling. Added support for new
5269Notify
5270values (ACPI 2.0+) and improved the Notify debug output. Notify on
5271PowerResource objects is no longer allowed, as per the ACPI
5272specification.
5273(Bob Moore, Zhang Rui)
5274
5275All Reference Objects returned via the AcpiEvaluateObject interface are
5276now
5277marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
5278for
5279NULL objects - either NULL package elements or unresolved named
5280references.
5281
5282Fixed a problem where an extraneous debug message was produced for
5283package
5284objects (when debugging enabled). The message "Package List length larger
5285than NumElements count" is now produced in the correct case, and is now
5286an
5287error message rather than a debug message. Added a debug message for the
5288opposite case, where NumElements is larger than the Package List (the
5289package
5290will be padded out with NULL elements as per the ACPI spec.)
5291
5292Implemented several improvements for the output of the ASL "Debug" object
5293to
5294clarify and keep all data for a given object on one output line.
5295
5296Fixed two size calculation issues with the variable-length Start
5297Dependent
5298resource descriptor.
5299
5300Example Code and Data Size: These are the sizes for the OS-independent
5301acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5302debug version of the code includes the debug output trace mechanism and
5303has
5304a much larger code and data size.
5305
5306  Previous Release:
5307    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
5308    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
5309  Current Release:
5310    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
5311    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
5312
53132) iASL Compiler/Disassembler and Tools:
5314
5315Fixed a problem with the use of the Switch operator where execution of
5316the
5317containing method by multiple concurrent threads could cause an
5318AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
5319actual Switch opcode, it must be simulated with local named temporary
5320variables and if/else pairs. The solution chosen was to mark any method
5321that
5322uses Switch as Serialized, thus preventing multiple thread entries. BZ
5323469.
5324
5325----------------------------------------
532613 February 2008. Summary of changes for version 20080213:
5327
53281) ACPI CA Core Subsystem:
5329
5330Implemented another MS compatibility design change for GPE/Notify
5331handling.
5332GPEs are now cleared/enabled asynchronously to allow all pending notifies
5333to
5334complete first. It is expected that the OSL will queue the enable request
5335behind all pending notify requests (may require changes to the local host
5336OSL
5337in AcpiOsExecute). Alexey Starikovskiy.
5338
5339Fixed a problem where buffer and package objects passed as arguments to a
5340control method via the external AcpiEvaluateObject interface could cause
5341an
5342AE_AML_INTERNAL exception depending on the order and type of operators
5343executed by the target control method.
5344
5345Fixed a problem where resource descriptor size optimization could cause a
5346problem when a _CRS resource template is passed to a _SRS method. The
5347_SRS
5348resource template must use the same descriptors (with the same size) as
5349returned from _CRS. This change affects the following resource
5350descriptors:
5351IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
53529487)
5353
5354Fixed a problem where a CopyObject to RegionField, BankField, and
5355IndexField
5356objects did not perform an implicit conversion as it should. These types
5357must
5358retain their initial type permanently as per the ACPI specification.
5359However,
5360a CopyObject to all other object types should not perform an implicit
5361conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
5362
5363Fixed a problem with the AcpiGetDevices interface where the mechanism to
5364match device CIDs did not examine the entire list of available CIDs, but
5365instead aborted on the first non-matching CID. Andrew Patterson.
5366
5367Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
5368was
5369inadvertently changed to return a 16-bit value instead of a 32-bit value,
5370truncating the upper dword of a 64-bit value. This macro is only used to
5371display debug output, so no incorrect calculations were made. Also,
5372reimplemented the macro so that a 64-bit shift is not performed by
5373inefficient compilers.
5374
5375Added missing va_end statements that should correspond with each va_start
5376statement.
5377
5378Example Code and Data Size: These are the sizes for the OS-independent
5379acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5380debug version of the code includes the debug output trace mechanism and
5381has
5382a much larger code and data size.
5383
5384  Previous Release:
5385    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
5386    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
5387  Current Release:
5388    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
5389    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
5390
53912) iASL Compiler/Disassembler and Tools:
5392
5393Implemented full disassembler support for the following new ACPI tables:
5394BERT, EINJ, and ERST. Implemented partial disassembler support for the
5395complicated HEST table. These tables support the Windows Hardware Error
5396Architecture (WHEA).
5397
5398----------------------------------------
539923 January 2008. Summary of changes for version 20080123:
5400
54011) ACPI CA Core Subsystem:
5402
5403Added the 2008 copyright to all module headers and signons. This affects
5404virtually every file in the ACPICA core subsystem, the iASL compiler, and
5405the tools/utilities.
5406
5407Fixed a problem with the SizeOf operator when used with Package and
5408Buffer
5409objects. These objects have deferred execution for some arguments, and
5410the
5411execution is now completed before the SizeOf is executed. This problem
5412caused
5413unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
5414BZ
54159558
5416
5417Implemented an enhancement to the interpreter "slack mode". In the
5418absence
5419of
5420an explicit return or an implicitly returned object from the last
5421executed
5422opcode, a control method will now implicitly return an integer of value 0
5423for
5424Microsoft compatibility. (Lin Ming) BZ 392
5425
5426Fixed a problem with the Load operator where an exception was not
5427returned
5428in
5429the case where the table is already loaded. (Lin Ming) BZ 463
5430
5431Implemented support for the use of DDBHandles as an Indexed Reference, as
5432per
5433the ACPI spec. (Lin Ming) BZ 486
5434
5435Implemented support for UserTerm (Method invocation) for the Unload
5436operator
5437as per the ACPI spec. (Lin Ming) BZ 580
5438
5439Fixed a problem with the LoadTable operator where the OemId and
5440OemTableId
5441input strings could cause unexpected failures if they were shorter than
5442the
5443maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
5444
5445Implemented support for UserTerm (Method invocation) for the Unload
5446operator
5447as per the ACPI spec. (Lin Ming) BZ 580
5448
5449Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
5450HEST,
5451IBFT, UEFI, WDAT. Disassembler support is forthcoming.
5452
5453Example Code and Data Size: These are the sizes for the OS-independent
5454acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5455debug version of the code includes the debug output trace mechanism and
5456has
5457a much larger code and data size.
5458
5459  Previous Release:
5460    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
5461    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
5462  Current Release:
5463    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
5464    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
5465
54662) iASL Compiler/Disassembler and Tools:
5467
5468Implemented support in the disassembler for checksum validation on
5469incoming
5470binary DSDTs and SSDTs. If incorrect, a message is displayed within the
5471table
5472header dump at the start of the disassembly.
5473
5474Implemented additional debugging information in the namespace listing
5475file
5476created during compilation. In addition to the namespace hierarchy, the
5477full
5478pathname to each namespace object is displayed.
5479
5480Fixed a problem with the disassembler where invalid ACPI tables could
5481cause
5482faults or infinite loops.
5483
5484Fixed an unexpected parse error when using the optional "parameter types"
5485list in a control method declaration. (Lin Ming) BZ 397
5486
5487Fixed a problem where two External declarations with the same name did
5488not
5489cause an error (Lin Ming) BZ 509
5490
5491Implemented support for full TermArgs (adding Argx, Localx and method
5492invocation) for the ParameterData parameter to the LoadTable operator.
5493(Lin
5494Ming) BZ 583,587
5495
5496----------------------------------------
549719 December 2007. Summary of changes for version 20071219:
5498
54991) ACPI CA Core Subsystem:
5500
5501Implemented full support for deferred execution for the TermArg string
5502arguments for DataTableRegion. This enables forward references and full
5503operand resolution for the three string arguments. Similar to
5504OperationRegion
5505deferred argument execution.) Lin Ming. BZ 430
5506
5507Implemented full argument resolution support for the BankValue argument
5508to
5509BankField. Previously, only constants were supported, now any TermArg may
5510be
5511used. Lin Ming BZ 387, 393
5512
5513Fixed a problem with AcpiGetDevices where the search of a branch of the
5514device tree could be terminated prematurely. In accordance with the ACPI
5515specification, the search down the current branch is terminated if a
5516device
5517is both not present and not functional (instead of just not present.)
5518Yakui
5519Zhao.
5520
5521Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
5522if
5523the underlying AML code changed the GPE enable registers. Now, any
5524unknown
5525incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
5526disabled
5527instead of simply ignored. Rui Zhang.
5528
5529Fixed a problem with Index Fields where the Index register was
5530incorrectly
5531limited to a maximum of 32 bits. Now any size may be used.
5532
5533Fixed a couple memory leaks associated with "implicit return" objects
5534when
5535the AML Interpreter slack mode is enabled. Lin Ming BZ 349
5536
5537Example Code and Data Size: These are the sizes for the OS-independent
5538acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5539debug version of the code includes the debug output trace mechanism and
5540has
5541a much larger code and data size.
5542
5543  Previous Release:
5544    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
5545    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
5546  Current Release:
5547    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
5548    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
5549
5550----------------------------------------
555114 November 2007. Summary of changes for version 20071114:
5552
55531) ACPI CA Core Subsystem:
5554
5555Implemented event counters for each of the Fixed Events, the ACPI SCI
5556(interrupt) itself, and control methods executed. Named
5557AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
5558These
5559should be useful for debugging and statistics.
5560
5561Implemented a new external interface, AcpiGetStatistics, to retrieve the
5562contents of the various event counters. Returns the current values for
5563AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
5564AcpiMethodCount. The interface can be expanded in the future if new
5565counters
5566are added. Device drivers should use this interface rather than access
5567the
5568counters directly.
5569
5570Fixed a problem with the FromBCD and ToBCD operators. With some
5571compilers,
5572the ShortDivide function worked incorrectly, causing problems with the
5573BCD
5574functions with large input values. A truncation from 64-bit to 32-bit
5575inadvertently occurred. Internal BZ 435. Lin Ming
5576
5577Fixed a problem with Index references passed as method arguments.
5578References
5579passed as arguments to control methods were dereferenced immediately
5580(before
5581control was passed to the called method). The references are now
5582correctly
5583passed directly to the called method. BZ 5389. Lin Ming
5584
5585Fixed a problem with CopyObject used in conjunction with the Index
5586operator.
5587The reference was incorrectly dereferenced before the copy. The reference
5588is
5589now correctly copied. BZ 5391. Lin Ming
5590
5591Fixed a problem with Control Method references within Package objects.
5592These
5593references are now correctly generated. This completes the package
5594construction overhaul that began in version 20071019.
5595
5596Example Code and Data Size: These are the sizes for the OS-independent
5597acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5598debug version of the code includes the debug output trace mechanism and
5599has
5600a much larger code and data size.
5601
5602  Previous Release:
5603    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
5604    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
5605  Current Release:
5606    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
5607    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
5608
5609
56102) iASL Compiler/Disassembler and Tools:
5611
5612The AcpiExec utility now installs handlers for all of the predefined
5613Operation Region types. New types supported are: PCI_Config, CMOS, and
5614PCIBARTarget.
5615
5616Fixed a problem with the 64-bit version of AcpiExec where the extended
5617(64-
5618bit) address fields for the DSDT and FACS within the FADT were not being
5619used, causing truncation of the upper 32-bits of these addresses. Lin
5620Ming
5621and Bob Moore
5622
5623----------------------------------------
562419 October 2007. Summary of changes for version 20071019:
5625
56261) ACPI CA Core Subsystem:
5627
5628Fixed a problem with the Alias operator when the target of the alias is a
5629named ASL operator that opens a new scope -- Scope, Device,
5630PowerResource,
5631Processor, and ThermalZone. In these cases, any children of the original
5632operator could not be accessed via the alias, potentially causing
5633unexpected
5634AE_NOT_FOUND exceptions. (BZ 9067)
5635
5636Fixed a problem with the Package operator where all named references were
5637created as object references and left otherwise unresolved. According to
5638the
5639ACPI specification, a Package can only contain Data Objects or references
5640to
5641control methods. The implication is that named references to Data Objects
5642(Integer, Buffer, String, Package, BufferField, Field) should be resolved
5643immediately upon package creation. This is the approach taken with this
5644change. References to all other named objects (Methods, Devices, Scopes,
5645etc.) are all now properly created as reference objects. (BZ 5328)
5646
5647Reverted a change to Notify handling that was introduced in version
564820070508. This version changed the Notify handling from asynchronous to
5649fully synchronous (Device driver Notify handling with respect to the
5650Notify
5651ASL operator). It was found that this change caused more problems than it
5652solved and was removed by most users.
5653
5654Fixed a problem with the Increment and Decrement operators where the type
5655of
5656the target object could be unexpectedly and incorrectly changed. (BZ 353)
5657Lin Ming.
5658
5659Fixed a problem with the Load and LoadTable operators where the table
5660location within the namespace was ignored. Instead, the table was always
5661loaded into the root or current scope. Lin Ming.
5662
5663Fixed a problem with the Load operator when loading a table from a buffer
5664object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
5665
5666Fixed a problem with the Debug object where a store of a DdbHandle
5667reference
5668object to the Debug object could cause a fault.
5669
5670Added a table checksum verification for the Load operator, in the case
5671where
5672the load is from a buffer. (BZ 578).
5673
5674Implemented additional parameter validation for the LoadTable operator.
5675The
5676length of the input strings SignatureString, OemIdString, and OemTableId
5677are
5678now checked for maximum lengths. (BZ 582) Lin Ming.
5679
5680Example Code and Data Size: These are the sizes for the OS-independent
5681acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5682debug version of the code includes the debug output trace mechanism and
5683has
5684a much larger code and data size.
5685
5686  Previous Release:
5687    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5688    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5689  Current Release:
5690    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
5691    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
5692
5693
56942) iASL Compiler/Disassembler:
5695
5696Fixed a problem where if a single file was specified and the file did not
5697exist, no error message was emitted. (Introduced with wildcard support in
5698version 20070917.)
5699
5700----------------------------------------
570119 September 2007. Summary of changes for version 20070919:
5702
57031) ACPI CA Core Subsystem:
5704
5705Designed and implemented new external interfaces to install and remove
5706handlers for ACPI table-related events. Current events that are defined
5707are
5708LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
5709they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
5710AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
5711
5712Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
5713(acpi_serialized option on Linux) could cause some systems to hang during
5714initialization. (Bob Moore) BZ 8171
5715
5716Fixed a problem where objects of certain types (Device, ThermalZone,
5717Processor, PowerResource) can be not found if they are declared and
5718referenced from within the same control method (Lin Ming) BZ 341
5719
5720Example Code and Data Size: These are the sizes for the OS-independent
5721acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5722debug version of the code includes the debug output trace mechanism and
5723has
5724a much larger code and data size.
5725
5726  Previous Release:
5727    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5728    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5729  Current Release:
5730    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5731    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5732
5733
57342) iASL Compiler/Disassembler:
5735
5736Implemented support to allow multiple files to be compiled/disassembled
5737in
5738a
5739single invocation. This includes command line wildcard support for both
5740the
5741Windows and Unix versions of the compiler. This feature simplifies the
5742disassembly and compilation of multiple ACPI tables in a single
5743directory.
5744
5745----------------------------------------
574608 May 2007. Summary of changes for version 20070508:
5747
57481) ACPI CA Core Subsystem:
5749
5750Implemented a Microsoft compatibility design change for the handling of
5751the
5752Notify AML operator. Previously, notify handlers were dispatched and
5753executed completely asynchronously in a deferred thread. The new design
5754still executes the notify handlers in a different thread, but the
5755original
5756thread that executed the Notify() now waits at a synchronization point
5757for
5758the notify handler to complete. Some machines depend on a synchronous
5759Notify
5760operator in order to operate correctly.
5761
5762Implemented support to allow Package objects to be passed as method
5763arguments to the external AcpiEvaluateObject interface. Previously, this
5764would return the AE_NOT_IMPLEMENTED exception. This feature had not been
5765implemented since there were no reserved control methods that required it
5766until recently.
5767
5768Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
5769that
5770contained invalid non-zero values in reserved fields could cause later
5771failures because these fields have meaning in later revisions of the
5772FADT.
5773For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
5774fields
5775are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
5776
5777Fixed a problem where the Global Lock handle was not properly updated if
5778a
5779thread that acquired the Global Lock via executing AML code then
5780attempted
5781to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
5782Joe
5783Liu.
5784
5785Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
5786could be corrupted if the interrupt being removed was at the head of the
5787list. Reported by Linn Crosetto.
5788
5789Example Code and Data Size: These are the sizes for the OS-independent
5790acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5791debug version of the code includes the debug output trace mechanism and
5792has
5793a much larger code and data size.
5794
5795  Previous Release:
5796    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5797    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5798  Current Release:
5799    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5800    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5801
5802----------------------------------------
580320 March 2007. Summary of changes for version 20070320:
5804
58051) ACPI CA Core Subsystem:
5806
5807Implemented a change to the order of interpretation and evaluation of AML
5808operand objects within the AML interpreter. The interpreter now evaluates
5809operands in the order that they appear in the AML stream (and the
5810corresponding ASL code), instead of in the reverse order (after the
5811entire
5812operand list has been parsed). The previous behavior caused several
5813subtle
5814incompatibilities with the Microsoft AML interpreter as well as being
5815somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
5816
5817Implemented a change to the ACPI Global Lock support. All interfaces to
5818the
5819global lock now allow the same thread to acquire the lock multiple times.
5820This affects the AcpiAcquireGlobalLock external interface to the global
5821lock
5822as well as the internal use of the global lock to support AML fields -- a
5823control method that is holding the global lock can now simultaneously
5824access
5825AML fields that require global lock protection. Previously, in both
5826cases,
5827this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
5828to
5829AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
5830Controller. There is no change to the behavior of the AML Acquire
5831operator,
5832as this can already be used to acquire a mutex multiple times by the same
5833thread. BZ 8066. With assistance from Alexey Starikovskiy.
5834
5835Fixed a problem where invalid objects could be referenced in the AML
5836Interpreter after error conditions. During operand evaluation, ensure
5837that
5838the internal "Return Object" field is cleared on error and only valid
5839pointers are stored there. Caused occasional access to deleted objects
5840that
5841resulted in "large reference count" warning messages. Valery Podrezov.
5842
5843Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
5844on
5845deeply nested control method invocations. BZ 7873, local BZ 487. Valery
5846Podrezov.
5847
5848Fixed an internal problem with the handling of result objects on the
5849interpreter result stack. BZ 7872. Valery Podrezov.
5850
5851Removed obsolete code that handled the case where AML_NAME_OP is the
5852target
5853of a reference (Reference.Opcode). This code was no longer necessary. BZ
58547874. Valery Podrezov.
5855
5856Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
5857was
5858a
5859remnant from the previously discontinued 16-bit support.
5860
5861Example Code and Data Size: These are the sizes for the OS-independent
5862acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5863debug version of the code includes the debug output trace mechanism and
5864has
5865a much larger code and data size.
5866
5867  Previous Release:
5868    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5869    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5870  Current Release:
5871    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5872    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5873
5874----------------------------------------
587526 January 2007. Summary of changes for version 20070126:
5876
58771) ACPI CA Core Subsystem:
5878
5879Added the 2007 copyright to all module headers and signons. This affects
5880virtually every file in the ACPICA core subsystem, the iASL compiler, and
5881the utilities.
5882
5883Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
5884during a table load. A bad pointer was passed in the case where the DSDT
5885is
5886overridden, causing a fault in this case.
5887
5888Example Code and Data Size: These are the sizes for the OS-independent
5889acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5890debug version of the code includes the debug output trace mechanism and
5891has
5892a much larger code and data size.
5893
5894  Previous Release:
5895    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5896    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5897  Current Release:
5898    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5899    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5900
5901----------------------------------------
590215 December 2006. Summary of changes for version 20061215:
5903
59041) ACPI CA Core Subsystem:
5905
5906Support for 16-bit ACPICA has been completely removed since it is no
5907longer
5908necessary and it clutters the code. All 16-bit macros, types, and
5909conditional compiles have been removed, cleaning up and simplifying the
5910code
5911across the entire subsystem. DOS support is no longer needed since the
5912bootable Linux firmware kit is now available.
5913
5914The handler for the Global Lock is now removed during AcpiTerminate to
5915enable a clean subsystem restart, via the implementation of the
5916AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
5917HP)
5918
5919Implemented enhancements to the multithreading support within the
5920debugger
5921to enable improved multithreading debugging and evaluation of the
5922subsystem.
5923(Valery Podrezov)
5924
5925Debugger: Enhanced the Statistics/Memory command to emit the total
5926(maximum)
5927memory used during the execution, as well as the maximum memory consumed
5928by
5929each of the various object types. (Valery Podrezov)
5930
5931Example Code and Data Size: These are the sizes for the OS-independent
5932acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5933debug version of the code includes the debug output trace mechanism and
5934has
5935a much larger code and data size.
5936
5937  Previous Release:
5938    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5939    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5940  Current Release:
5941    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5942    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5943
5944
59452) iASL Compiler/Disassembler and Tools:
5946
5947AcpiExec: Implemented a new option (-m) to display full memory use
5948statistics upon subsystem/program termination. (Valery Podrezov)
5949
5950----------------------------------------
595109 November 2006. Summary of changes for version 20061109:
5952
59531) ACPI CA Core Subsystem:
5954
5955Optimized the Load ASL operator in the case where the source operand is
5956an
5957operation region. Simply map the operation region memory, instead of
5958performing a bytewise read. (Region must be of type SystemMemory, see
5959below.)
5960
5961Fixed the Load ASL operator for the case where the source operand is a
5962region field. A buffer object is also allowed as the source operand. BZ
5963480
5964
5965Fixed a problem where the Load ASL operator allowed the source operand to
5966be
5967an operation region of any type. It is now restricted to regions of type
5968SystemMemory, as per the ACPI specification. BZ 481
5969
5970Additional cleanup and optimizations for the new Table Manager code.
5971
5972AcpiEnable will now fail if all of the required ACPI tables are not
5973loaded
5974(FADT, FACS, DSDT). BZ 477
5975
5976Added #pragma pack(8/4) to acobject.h to ensure that the structures in
5977this
5978header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
5979manually optimized to be aligned and will not work if it is byte-packed.
5980
5981Example Code and Data Size: These are the sizes for the OS-independent
5982acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5983debug version of the code includes the debug output trace mechanism and
5984has
5985a much larger code and data size.
5986
5987  Previous Release:
5988    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5989    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5990  Current Release:
5991    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5992    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5993
5994
59952) iASL Compiler/Disassembler and Tools:
5996
5997Fixed a problem where the presence of the _OSI predefined control method
5998within complex expressions could cause an internal compiler error.
5999
6000AcpiExec: Implemented full region support for multiple address spaces.
6001SpaceId is now part of the REGION object. BZ 429
6002
6003----------------------------------------
600411 October 2006. Summary of changes for version 20061011:
6005
60061) ACPI CA Core Subsystem:
6007
6008Completed an AML interpreter performance enhancement for control method
6009execution. Previously a 2-pass parse/execution, control methods are now
6010completely parsed and executed in a single pass. This improves overall
6011interpreter performance by ~25%, reduces code size, and reduces CPU stack
6012use. (Valery Podrezov + interpreter changes in version 20051202 that
6013eliminated namespace loading during the pass one parse.)
6014
6015Implemented _CID support for PCI Root Bridge detection. If the _HID does
6016not
6017match the predefined PCI Root Bridge IDs, the _CID list (if present) is
6018now
6019obtained and also checked for an ID match.
6020
6021Implemented additional support for the PCI _ADR execution: upsearch until
6022a
6023device scope is found before executing _ADR. This allows PCI_Config
6024operation regions to be declared locally within control methods
6025underneath
6026PCI device objects.
6027
6028Fixed a problem with a possible race condition between threads executing
6029AcpiWalkNamespace and the AML interpreter. This condition was removed by
6030modifying AcpiWalkNamespace to (by default) ignore all temporary
6031namespace
6032entries created during any concurrent control method execution. An
6033additional namespace race condition is known to exist between
6034AcpiWalkNamespace and the Load/Unload ASL operators and is still under
6035investigation.
6036
6037Restructured the AML ParseLoop function, breaking it into several
6038subfunctions in order to reduce CPU stack use and improve
6039maintainability.
6040(Mikhail Kouzmich)
6041
6042AcpiGetHandle: Fix for parameter validation to detect invalid
6043combinations
6044of prefix handle and pathname. BZ 478
6045
6046Example Code and Data Size: These are the sizes for the OS-independent
6047acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6048debug version of the code includes the debug output trace mechanism and
6049has
6050a much larger code and data size.
6051
6052  Previous Release:
6053    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6054    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
6055  Current Release:
6056    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
6057    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
6058
60592) iASL Compiler/Disassembler and Tools:
6060
6061Ported the -g option (get local ACPI tables) to the new ACPICA Table
6062Manager
6063to restore original behavior.
6064
6065----------------------------------------
606627 September 2006. Summary of changes for version 20060927:
6067
60681) ACPI CA Core Subsystem:
6069
6070Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
6071These functions now use a spinlock for mutual exclusion and the interrupt
6072level indication flag is not needed.
6073
6074Fixed a problem with the Global Lock where the lock could appear to be
6075obtained before it is actually obtained. The global lock semaphore was
6076inadvertently created with one unit instead of zero units. (BZ 464)
6077Fiodor
6078Suietov.
6079
6080Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
6081during
6082a read from a buffer or region field. (BZ 458) Fiodor Suietov.
6083
6084Example Code and Data Size: These are the sizes for the OS-independent
6085acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6086debug version of the code includes the debug output trace mechanism and
6087has
6088a much larger code and data size.
6089
6090  Previous Release:
6091    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6092    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
6093  Current Release:
6094    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6095    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
6096
6097
60982) iASL Compiler/Disassembler and Tools:
6099
6100Fixed a compilation problem with the pre-defined Resource Descriptor
6101field
6102names where an "object does not exist" error could be incorrectly
6103generated
6104if the parent ResourceTemplate pathname places the template within a
6105different namespace scope than the current scope. (BZ 7212)
6106
6107Fixed a problem where the compiler could hang after syntax errors
6108detected
6109in an ElseIf construct. (BZ 453)
6110
6111Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
6112operator. An incorrect output filename was produced when this parameter
6113was
6114a null string (""). Now, the original input filename is used as the AML
6115output filename, with an ".aml" extension.
6116
6117Implemented a generic batch command mode for the AcpiExec utility
6118(execute
6119any AML debugger command) (Valery Podrezov).
6120
6121----------------------------------------
612212 September 2006. Summary of changes for version 20060912:
6123
61241) ACPI CA Core Subsystem:
6125
6126Enhanced the implementation of the "serialized mode" of the interpreter
6127(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
6128specified, instead of creating a serialization semaphore per control
6129method,
6130the interpreter lock is simply no longer released before a blocking
6131operation during control method execution. This effectively makes the AML
6132Interpreter single-threaded. The overhead of a semaphore per-method is
6133eliminated.
6134
6135Fixed a regression where an error was no longer emitted if a control
6136method
6137attempts to create 2 objects of the same name. This once again returns
6138AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
6139that
6140will dynamically serialize the control method to possible prevent future
6141errors. (BZ 440)
6142
6143Integrated a fix for a problem with PCI Express HID detection in the PCI
6144Config Space setup procedure. (BZ 7145)
6145
6146Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
6147AcpiHwInitialize function - the FADT registers are now validated when the
6148table is loaded.
6149
6150Added two new warnings during FADT verification - 1) if the FADT is
6151larger
6152than the largest known FADT version, and 2) if there is a mismatch
6153between
6154a
615532-bit block address and the 64-bit X counterpart (when both are non-
6156zero.)
6157
6158Example Code and Data Size: These are the sizes for the OS-independent
6159acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6160debug version of the code includes the debug output trace mechanism and
6161has
6162a much larger code and data size.
6163
6164  Previous Release:
6165    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
6166    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
6167  Current Release:
6168    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6169    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
6170
6171
61722) iASL Compiler/Disassembler and Tools:
6173
6174Fixed a problem with the implementation of the Switch() operator where
6175the
6176temporary variable was declared too close to the actual Switch, instead
6177of
6178at method level. This could cause a problem if the Switch() operator is
6179within a while loop, causing an error on the second iteration. (BZ 460)
6180
6181Disassembler - fix for error emitted for unknown type for target of scope
6182operator. Now, ignore it and continue.
6183
6184Disassembly of an FADT now verifies the input FADT and reports any errors
6185found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
6186
6187Disassembly of raw data buffers with byte initialization data now
6188prefixes
6189each output line with the current buffer offset.
6190
6191Disassembly of ASF! table now includes all variable-length data fields at
6192the end of some of the subtables.
6193
6194The disassembler now emits a comment if a buffer appears to be a
6195ResourceTemplate, but cannot be disassembled as such because the EndTag
6196does
6197not appear at the very end of the buffer.
6198
6199AcpiExec - Added the "-t" command line option to enable the serialized
6200mode
6201of the AML interpreter.
6202
6203----------------------------------------
620431 August 2006. Summary of changes for version 20060831:
6205
62061) ACPI CA Core Subsystem:
6207
6208Miscellaneous fixes for the Table Manager:
6209- Correctly initialize internal common FADT for all 64-bit "X" fields
6210- Fixed a couple table mapping issues during table load
6211- Fixed a couple alignment issues for IA64
6212- Initialize input array to zero in AcpiInitializeTables
6213- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
6214AcpiGetTableByIndex
6215
6216Change for GPE support: when a "wake" GPE is received, all wake GPEs are
6217now
6218immediately disabled to prevent the waking GPE from firing again and to
6219prevent other wake GPEs from interrupting the wake process.
6220
6221Added the AcpiGpeCount global that tracks the number of processed GPEs,
6222to
6223be used for debugging systems with a large number of ACPI interrupts.
6224
6225Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
6226both the ACPICA headers and the disassembler.
6227
6228Example Code and Data Size: These are the sizes for the OS-independent
6229acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6230debug version of the code includes the debug output trace mechanism and
6231has
6232a much larger code and data size.
6233
6234  Previous Release:
6235    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
6236    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
6237  Current Release:
6238    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
6239    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
6240
6241
62422) iASL Compiler/Disassembler and Tools:
6243
6244Disassembler support for the DMAR ACPI table.
6245
6246----------------------------------------
624723 August 2006. Summary of changes for version 20060823:
6248
62491) ACPI CA Core Subsystem:
6250
6251The Table Manager component has been completely redesigned and
6252reimplemented. The new design is much simpler, and reduces the overall
6253code
6254and data size of the kernel-resident ACPICA by approximately 5%. Also, it
6255is
6256now possible to obtain the ACPI tables very early during kernel
6257initialization, even before dynamic memory management is initialized.
6258(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
6259
6260Obsolete ACPICA interfaces:
6261
6262- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
6263init
6264time).
6265- AcpiLoadTable: Not needed.
6266- AcpiUnloadTable: Not needed.
6267
6268New ACPICA interfaces:
6269
6270- AcpiInitializeTables: Must be called before the table manager can be
6271used.
6272- AcpiReallocateRootTable: Used to transfer the root table to dynamically
6273allocated memory after it becomes available.
6274- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
6275tables
6276in the RSDT/XSDT.
6277
6278Other ACPICA changes:
6279
6280- AcpiGetTableHeader returns the actual mapped table header, not a copy.
6281Use
6282AcpiOsUnmapMemory to free this mapping.
6283- AcpiGetTable returns the actual mapped table. The mapping is managed
6284internally and must not be deleted by the caller. Use of this interface
6285causes no additional dynamic memory allocation.
6286- AcpiFindRootPointer: Support for physical addressing has been
6287eliminated,
6288it appeared to be unused.
6289- The interface to AcpiOsMapMemory has changed to be consistent with the
6290other allocation interfaces.
6291- The interface to AcpiOsGetRootPointer has changed to eliminate
6292unnecessary
6293parameters.
6294- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
629564-
6296bit platforms. Was previously 64 bits on all platforms.
6297- The interface to the ACPI Global Lock acquire/release macros have
6298changed
6299slightly since ACPICA no longer keeps a local copy of the FACS with a
6300constructed pointer to the actual global lock.
6301
6302Porting to the new table manager:
6303
6304- AcpiInitializeTables: Must be called once, and can be called anytime
6305during the OS initialization process. It allows the host to specify an
6306area
6307of memory to be used to store the internal version of the RSDT/XSDT (root
6308table). This allows the host to access ACPI tables before memory
6309management
6310is initialized and running.
6311- AcpiReallocateRootTable: Can be called after memory management is
6312running
6313to copy the root table to a dynamically allocated array, freeing up the
6314scratch memory specified in the call to AcpiInitializeTables.
6315- AcpiSubsystemInitialize: This existing interface is independent of the
6316Table Manager, and does not have to be called before the Table Manager
6317can
6318be used, it only must be called before the rest of ACPICA can be used.
6319- ACPI Tables: Some changes have been made to the names and structure of
6320the
6321actbl.h and actbl1.h header files and may require changes to existing
6322code.
6323For example, bitfields have been completely removed because of their lack
6324of
6325portability across C compilers.
6326- Update interfaces to the Global Lock acquire/release macros if local
6327versions are used. (see acwin.h)
6328
6329Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
6330
6331New files: tbfind.c
6332
6333Example Code and Data Size: These are the sizes for the OS-independent
6334acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6335debug version of the code includes the debug output trace mechanism and
6336has
6337a much larger code and data size.
6338
6339  Previous Release:
6340    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
6341    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
6342  Current Release:
6343    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
6344    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
6345
6346
63472) iASL Compiler/Disassembler and Tools:
6348
6349No changes for this release.
6350
6351----------------------------------------
635221 July 2006. Summary of changes for version 20060721:
6353
63541) ACPI CA Core Subsystem:
6355
6356The full source code for the ASL test suite used to validate the iASL
6357compiler and the ACPICA core subsystem is being released with the ACPICA
6358source for the first time. The source is contained in a separate package
6359and
6360consists of over 1100 files that exercise all ASL/AML operators. The
6361package
6362should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
6363Fiodor
6364Suietov)
6365
6366Completed a new design and implementation for support of the ACPI Global
6367Lock. On the OS side, the global lock is now treated as a standard AML
6368mutex. Previously, multiple OS threads could "acquire" the global lock
6369simultaneously. However, this could cause the BIOS to be starved out of
6370the
6371lock - especially in cases such as the Embedded Controller driver where
6372there is a tight coupling between the OS and the BIOS.
6373
6374Implemented an optimization for the ACPI Global Lock interrupt mechanism.
6375The Global Lock interrupt handler no longer queues the execution of a
6376separate thread to signal the global lock semaphore. Instead, the
6377semaphore
6378is signaled directly from the interrupt handler.
6379
6380Implemented support within the AML interpreter for package objects that
6381contain a larger AML length (package list length) than the package
6382element
6383count. In this case, the length of the package is truncated to match the
6384package element count. Some BIOS code apparently modifies the package
6385length
6386on the fly, and this change supports this behavior. Provides
6387compatibility
6388with the MS AML interpreter. (With assistance from Fiodor Suietov)
6389
6390Implemented a temporary fix for the BankValue parameter of a Bank Field
6391to
6392support all constant values, now including the Zero and One opcodes.
6393Evaluation of this parameter must eventually be converted to a full
6394TermArg
6395evaluation. A not-implemented error is now returned (temporarily) for
6396non-
6397constant values for this parameter.
6398
6399Fixed problem reports (Fiodor Suietov) integrated:
6400- Fix for premature object deletion after CopyObject on Operation Region
6401(BZ
6402350)
6403
6404Example Code and Data Size: These are the sizes for the OS-independent
6405acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6406debug version of the code includes the debug output trace mechanism and
6407has
6408a much larger code and data size.
6409
6410  Previous Release:
6411    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
6412    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
6413  Current Release:
6414    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
6415    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
6416
6417
64182) iASL Compiler/Disassembler and Tools:
6419
6420No changes for this release.
6421
6422----------------------------------------
642307 July 2006. Summary of changes for version 20060707:
6424
64251) ACPI CA Core Subsystem:
6426
6427Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
6428that do not allow the initialization of address pointers within packed
6429structures - even though the hardware itself may support misaligned
6430transfers. Some of the debug data structures are packed by default to
6431minimize size.
6432
6433Added an error message for the case where AcpiOsGetThreadId() returns
6434zero.
6435A non-zero value is required by the core ACPICA code to ensure the proper
6436operation of AML mutexes and recursive control methods.
6437
6438The DSDT is now the only ACPI table that determines whether the AML
6439interpreter is in 32-bit or 64-bit mode. Not really a functional change,
6440but
6441the hooks for per-table 32/64 switching have been removed from the code.
6442A
6443clarification to the ACPI specification is forthcoming in ACPI 3.0B.
6444
6445Fixed a possible leak of an OwnerID in the error path of
6446AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
6447deletion to a single place in AcpiTbUninstallTable to correct possible
6448leaks
6449when using the AcpiTbDeleteTablesByType interface (with assistance from
6450Lance Ortiz.)
6451
6452Fixed a problem with Serialized control methods where the semaphore
6453associated with the method could be over-signaled after multiple method
6454invocations.
6455
6456Fixed two issues with the locking of the internal namespace data
6457structure.
6458Both the Unload() operator and AcpiUnloadTable interface now lock the
6459namespace during the namespace deletion associated with the table unload
6460(with assistance from Linn Crosetto.)
6461
6462Fixed problem reports (Valery Podrezov) integrated:
6463- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
6464
6465Fixed problem reports (Fiodor Suietov) integrated:
6466- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
6467- On Address Space handler deletion, needless deactivation call (BZ 374)
6468- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
6469375)
6470- Possible memory leak, Notify sub-objects of Processor, Power,
6471ThermalZone
6472(BZ 376)
6473- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
6474- Minimum Length of RSDT should be validated (BZ 379)
6475- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
6476Handler (BZ (380)
6477- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
6478loaded
6479(BZ 381)
6480
6481Example Code and Data Size: These are the sizes for the OS-independent
6482acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6483debug version of the code includes the debug output trace mechanism and
6484has
6485a much larger code and data size.
6486
6487  Previous Release:
6488    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
6489    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
6490  Current Release:
6491    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
6492    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
6493
6494
64952) iASL Compiler/Disassembler and Tools:
6496
6497Fixed problem reports:
6498Compiler segfault when ASL contains a long (>1024) String declaration (BZ
6499436)
6500
6501----------------------------------------
650223 June 2006. Summary of changes for version 20060623:
6503
65041) ACPI CA Core Subsystem:
6505
6506Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
6507allows the type to be customized to the host OS for improved efficiency
6508(since a spinlock is usually a very small object.)
6509
6510Implemented support for "ignored" bits in the ACPI registers. According
6511to
6512the ACPI specification, these bits should be preserved when writing the
6513registers via a read/modify/write cycle. There are 3 bits preserved in
6514this
6515manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
6516
6517Implemented the initial deployment of new OSL mutex interfaces. Since
6518some
6519host operating systems have separate mutex and semaphore objects, this
6520feature was requested. The base code now uses mutexes (and the new mutex
6521interfaces) wherever a binary semaphore was used previously. However, for
6522the current release, the mutex interfaces are defined as macros to map
6523them
6524to the existing semaphore interfaces. Therefore, no OSL changes are
6525required
6526at this time. (See acpiosxf.h)
6527
6528Fixed several problems with the support for the control method SyncLevel
6529parameter. The SyncLevel now works according to the ACPI specification
6530and
6531in concert with the Mutex SyncLevel parameter, since the current
6532SyncLevel
6533is a property of the executing thread. Mutual exclusion for control
6534methods
6535is now implemented with a mutex instead of a semaphore.
6536
6537Fixed three instances of the use of the C shift operator in the bitfield
6538support code (exfldio.c) to avoid the use of a shift value larger than
6539the
6540target data width. The behavior of C compilers is undefined in this case
6541and
6542can cause unpredictable results, and therefore the case must be detected
6543and
6544avoided. (Fiodor Suietov)
6545
6546Added an info message whenever an SSDT or OEM table is loaded dynamically
6547via the Load() or LoadTable() ASL operators. This should improve
6548debugging
6549capability since it will show exactly what tables have been loaded
6550(beyond
6551the tables present in the RSDT/XSDT.)
6552
6553Example Code and Data Size: These are the sizes for the OS-independent
6554acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6555debug version of the code includes the debug output trace mechanism and
6556has
6557a much larger code and data size.
6558
6559  Previous Release:
6560    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
6561    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
6562  Current Release:
6563    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
6564    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
6565
6566
65672) iASL Compiler/Disassembler and Tools:
6568
6569No changes for this release.
6570
6571----------------------------------------
657208 June 2006. Summary of changes for version 20060608:
6573
65741) ACPI CA Core Subsystem:
6575
6576Converted the locking mutex used for the ACPI hardware to a spinlock.
6577This
6578change should eliminate all problems caused by attempting to acquire a
6579semaphore at interrupt level, and it means that all ACPICA external
6580interfaces that directly access the ACPI hardware can be safely called
6581from
6582interrupt level. OSL code that implements the semaphore interfaces should
6583be
6584able to eliminate any workarounds for being called at interrupt level.
6585
6586Fixed a regression introduced in 20060526 where the ACPI device
6587initialization could be prematurely aborted with an AE_NOT_FOUND if a
6588device
6589did not have an optional _INI method.
6590
6591Fixed an IndexField issue where a write to the Data Register should be
6592limited in size to the AccessSize (width) of the IndexField itself. (BZ
6593433,
6594Fiodor Suietov)
6595
6596Fixed problem reports (Valery Podrezov) integrated:
6597- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
6598
6599Fixed problem reports (Fiodor Suietov) integrated:
6600- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
6601
6602Removed four global mutexes that were obsolete and were no longer being
6603used.
6604
6605Example Code and Data Size: These are the sizes for the OS-independent
6606acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6607debug version of the code includes the debug output trace mechanism and
6608has
6609a much larger code and data size.
6610
6611  Previous Release:
6612    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
6613    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
6614  Current Release:
6615    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
6616    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
6617
6618
66192) iASL Compiler/Disassembler and Tools:
6620
6621Fixed a fault when using -g option (get tables from registry) on Windows
6622machines.
6623
6624Fixed problem reports integrated:
6625- Generate error if CreateField NumBits parameter is zero. (BZ 405)
6626- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
6627Suietov)
6628- Global table revision override (-r) is ignored (BZ 413)
6629
6630----------------------------------------
663126 May 2006. Summary of changes for version 20060526:
6632
66331) ACPI CA Core Subsystem:
6634
6635Restructured, flattened, and simplified the internal interfaces for
6636namespace object evaluation - resulting in smaller code, less CPU stack
6637use,
6638and fewer interfaces. (With assistance from Mikhail Kouzmich)
6639
6640Fixed a problem with the CopyObject operator where the first parameter
6641was
6642not typed correctly for the parser, interpreter, compiler, and
6643disassembler.
6644Caused various errors and unexpected behavior.
6645
6646Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
6647produced incorrect results with some C compilers. Since the behavior of C
6648compilers when the shift value is larger than the datatype width is
6649apparently not well defined, the interpreter now detects this condition
6650and
6651simply returns zero as expected in all such cases. (BZ 395)
6652
6653Fixed problem reports (Valery Podrezov) integrated:
6654- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
6655- Allow interpreter to handle nested method declarations (BZ 5361)
6656
6657Fixed problem reports (Fiodor Suietov) integrated:
6658- AcpiTerminate doesn't free debug memory allocation list objects (BZ
6659355)
6660- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
6661356)
6662- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
6663- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
6664- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
6665- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
6666- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
6667- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
6668- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
6669365)
6670- Status of the Global Initialization Handler call not used (BZ 366)
6671- Incorrect object parameter to Global Initialization Handler (BZ 367)
6672
6673Example Code and Data Size: These are the sizes for the OS-independent
6674acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6675debug version of the code includes the debug output trace mechanism and
6676has
6677a much larger code and data size.
6678
6679  Previous Release:
6680    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
6681    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
6682  Current Release:
6683    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
6684    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
6685
6686
66872) iASL Compiler/Disassembler and Tools:
6688
6689Modified the parser to allow the names IO, DMA, and IRQ to be used as
6690namespace identifiers with no collision with existing resource descriptor
6691macro names. This provides compatibility with other ASL compilers and is
6692most useful for disassembly/recompilation of existing tables without
6693parse
6694errors. (With assistance from Thomas Renninger)
6695
6696Disassembler: fixed an incorrect disassembly problem with the
6697DataTableRegion and CopyObject operators. Fixed a possible fault during
6698disassembly of some Alias operators.
6699
6700----------------------------------------
670112 May 2006. Summary of changes for version 20060512:
6702
67031) ACPI CA Core Subsystem:
6704
6705Replaced the AcpiOsQueueForExecution interface with a new interface named
6706AcpiOsExecute. The major difference is that the new interface does not
6707have
6708a Priority parameter, this appeared to be useless and has been replaced
6709by
6710a
6711Type parameter. The Type tells the host what type of execution is being
6712requested, such as global lock handler, notify handler, GPE handler, etc.
6713This allows the host to queue and execute the request as appropriate for
6714the
6715request type, possibly using different work queues and different
6716priorities
6717for the various request types. This enables fixes for multithreading
6718deadlock problems such as BZ #5534, and will require changes to all
6719existing
6720OS interface layers. (Alexey Starikovskiy and Bob Moore)
6721
6722Fixed a possible memory leak associated with the support for the so-
6723called
6724"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
6725Suietov)
6726
6727Fixed a problem with the Load() operator where a table load from an
6728operation region could overwrite an internal table buffer by up to 7
6729bytes
6730and cause alignment faults on IPF systems. (With assistance from Luming
6731Yu)
6732
6733Example Code and Data Size: These are the sizes for the OS-independent
6734acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6735debug version of the code includes the debug output trace mechanism and
6736has
6737a much larger code and data size.
6738
6739  Previous Release:
6740    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6741    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6742  Current Release:
6743    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
6744    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
6745
6746
6747
67482) iASL Compiler/Disassembler and Tools:
6749
6750Disassembler: Implemented support to cross reference the internal
6751namespace
6752and automatically generate ASL External() statements for symbols not
6753defined
6754within the current table being disassembled. This will simplify the
6755disassembly and recompilation of interdependent tables such as SSDTs
6756since
6757these statements will no longer have to be added manually.
6758
6759Disassembler: Implemented experimental support to automatically detect
6760invocations of external control methods and generate appropriate
6761External()
6762statements. This is problematic because the AML cannot be correctly
6763parsed
6764until the number of arguments for each control method is known.
6765Currently,
6766standalone method invocations and invocations as the source operand of a
6767Store() statement are supported.
6768
6769Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
6770LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
6771LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
6772more readable and likely closer to the original ASL source.
6773
6774----------------------------------------
677521 April 2006. Summary of changes for version 20060421:
6776
67771) ACPI CA Core Subsystem:
6778
6779Removed a device initialization optimization introduced in 20051216 where
6780the _STA method was not run unless an _INI was also present for the same
6781device. This optimization could cause problems because it could allow
6782_INI
6783methods to be run within a not-present device subtree. (If a not-present
6784device had no _INI, _STA would not be run, the not-present status would
6785not
6786be discovered, and the children of the device would be incorrectly
6787traversed.)
6788
6789Implemented a new _STA optimization where namespace subtrees that do not
6790contain _INI are identified and ignored during device initialization.
6791Selectively running _STA can significantly improve boot time on large
6792machines (with assistance from Len Brown.)
6793
6794Implemented support for the device initialization case where the returned
6795_STA flags indicate a device not-present but functioning. In this case,
6796_INI
6797is not run, but the device children are examined for presence, as per the
6798ACPI specification.
6799
6800Implemented an additional change to the IndexField support in order to
6801conform to MS behavior. The value written to the Index Register is not
6802simply a byte offset, it is a byte offset in units of the access width of
6803the parent Index Field. (Fiodor Suietov)
6804
6805Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
6806interface is called during the creation of all AML operation regions, and
6807allows the host OS to exert control over what addresses it will allow the
6808AML code to access. Operation Regions whose addresses are disallowed will
6809cause a runtime exception when they are actually accessed (will not
6810affect
6811or abort table loading.) See oswinxf or osunixxf for an example
6812implementation.
6813
6814Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
6815interface allows the host OS to match the various "optional"
6816interface/behavior strings for the _OSI predefined control method as
6817appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
6818for an example implementation.
6819
6820Restructured and corrected various problems in the exception handling
6821code
6822paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
6823(with assistance from Takayoshi Kochi.)
6824
6825Modified the Linux source converter to ignore quoted string literals
6826while
6827converting identifiers from mixed to lower case. This will correct
6828problems
6829with the disassembler and other areas where such strings must not be
6830modified.
6831
6832The ACPI_FUNCTION_* macros no longer require quotes around the function
6833name. This allows the Linux source converter to convert the names, now
6834that
6835the converter ignores quoted strings.
6836
6837Example Code and Data Size: These are the sizes for the OS-independent
6838acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6839debug version of the code includes the debug output trace mechanism and
6840has
6841a much larger code and data size.
6842
6843  Previous Release:
6844
6845    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6846    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6847  Current Release:
6848    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6849    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6850
6851
68522) iASL Compiler/Disassembler and Tools:
6853
6854Implemented 3 new warnings for iASL, and implemented multiple warning
6855levels
6856(w2 flag).
6857
68581) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
6859not
6860WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
6861check for the possible timeout, a warning is issued.
6862
68632) Useless operators: If an ASL operator does not specify an optional
6864target
6865operand and it also does not use the function return value from the
6866operator, a warning is issued since the operator effectively does
6867nothing.
6868
68693) Unreferenced objects: If a namespace object is created, but never
6870referenced, a warning is issued. This is a warning level 2 since there
6871are
6872cases where this is ok, such as when a secondary table is loaded that
6873uses
6874the unreferenced objects. Even so, care is taken to only flag objects
6875that
6876don't look like they will ever be used. For example, the reserved methods
6877(starting with an underscore) are usually not referenced because it is
6878expected that the OS will invoke them.
6879
6880----------------------------------------
688131 March 2006. Summary of changes for version 20060331:
6882
68831) ACPI CA Core Subsystem:
6884
6885Implemented header file support for the following additional ACPI tables:
6886ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
6887support,
6888all current and known ACPI tables are now defined in the ACPICA headers
6889and
6890are available for use by device drivers and other software.
6891
6892Implemented support to allow tables that contain ACPI names with invalid
6893characters to be loaded. Previously, this would cause the table load to
6894fail, but since there are several known cases of such tables on existing
6895machines, this change was made to enable ACPI support for them. Also,
6896this
6897matches the behavior of the Microsoft ACPI implementation.
6898
6899Fixed a couple regressions introduced during the memory optimization in
6900the
690120060317 release. The namespace node definition required additional
6902reorganization and an internal datatype that had been changed to 8-bit
6903was
6904restored to 32-bit. (Valery Podrezov)
6905
6906Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
6907could be passed through to AcpiOsReleaseObject which is unexpected. Such
6908null pointers are now trapped and ignored, matching the behavior of the
6909previous implementation before the deployment of AcpiOsReleaseObject.
6910(Valery Podrezov, Fiodor Suietov)
6911
6912Fixed a memory mapping leak during the deletion of a SystemMemory
6913operation
6914region where a cached memory mapping was not deleted. This became a
6915noticeable problem for operation regions that are defined within
6916frequently
6917used control methods. (Dana Meyers)
6918
6919Reorganized the ACPI table header files into two main files: one for the
6920ACPI tables consumed by the ACPICA core, and another for the
6921miscellaneous
6922ACPI tables that are consumed by the drivers and other software. The
6923various
6924FADT definitions were merged into one common section and three different
6925tables (ACPI 1.0, 1.0+, and 2.0)
6926
6927Example Code and Data Size: These are the sizes for the OS-independent
6928acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6929debug version of the code includes the debug output trace mechanism and
6930has
6931a much larger code and data size.
6932
6933  Previous Release:
6934    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6935    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6936  Current Release:
6937    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6938    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6939
6940
69412) iASL Compiler/Disassembler and Tools:
6942
6943Disassembler: Implemented support to decode and format all non-AML ACPI
6944tables (tables other than DSDTs and SSDTs.) This includes the new tables
6945added to the ACPICA headers, therefore all current and known ACPI tables
6946are
6947supported.
6948
6949Disassembler: The change to allow ACPI names with invalid characters also
6950enables the disassembly of such tables. Invalid characters within names
6951are
6952changed to '*' to make the name printable; the iASL compiler will still
6953generate an error for such names, however, since this is an invalid ACPI
6954character.
6955
6956Implemented an option for AcpiXtract (-a) to extract all tables found in
6957the
6958input file. The default invocation extracts only the DSDTs and SSDTs.
6959
6960Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
6961makefile for the AcpiXtract utility.
6962
6963----------------------------------------
696417 March 2006. Summary of changes for version 20060317:
6965
69661) ACPI CA Core Subsystem:
6967
6968Implemented the use of a cache object for all internal namespace nodes.
6969Since there are about 1000 static nodes in a typical system, this will
6970decrease memory use for cache implementations that minimize per-
6971allocation
6972overhead (such as a slab allocator.)
6973
6974Removed the reference count mechanism for internal namespace nodes, since
6975it
6976was deemed unnecessary. This reduces the size of each namespace node by
6977about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
6978case,
6979and 32 bytes for the 64-bit case.
6980
6981Optimized several internal data structures to reduce object size on 64-
6982bit
6983platforms by packing data within the 64-bit alignment. This includes the
6984frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
6985instances corresponding to the namespace objects.
6986
6987Added two new strings for the predefined _OSI method: "Windows 2001.1
6988SP1"
6989and "Windows 2006".
6990
6991Split the allocation tracking mechanism out to a separate file, from
6992utalloc.c to uttrack.c. This mechanism appears to be only useful for
6993application-level code. Kernels may wish to not include uttrack.c in
6994distributions.
6995
6996Removed all remnants of the obsolete ACPI_REPORT_* macros and the
6997associated
6998code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
6999macros.)
7000
7001Code and Data Size: These are the sizes for the acpica.lib produced by
7002the
7003Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7004ACPI
7005driver or OSPM code. The debug version of the code includes the debug
7006output
7007trace mechanism and has a much larger code and data size. Note that these
7008values will vary depending on the efficiency of the compiler and the
7009compiler options used during generation.
7010
7011  Previous Release:
7012    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7013    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
7014  Current Release:
7015    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
7016    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
7017
7018
70192) iASL Compiler/Disassembler and Tools:
7020
7021Implemented an ANSI C version of the acpixtract utility. This version
7022will
7023automatically extract the DSDT and all SSDTs from the input acpidump text
7024file and dump the binary output to separate files. It can also display a
7025summary of the input file including the headers for each table found and
7026will extract any single ACPI table, with any signature. (See
7027source/tools/acpixtract)
7028
7029----------------------------------------
703010 March 2006. Summary of changes for version 20060310:
7031
70321) ACPI CA Core Subsystem:
7033
7034Tagged all external interfaces to the subsystem with the new
7035ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
7036assist
7037kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
7038macro. The default definition is NULL.
7039
7040Added the ACPI_THREAD_ID type for the return value from
7041AcpiOsGetThreadId.
7042This allows the host to define this as necessary to simplify kernel
7043integration. The default definition is ACPI_NATIVE_UINT.
7044
7045Fixed two interpreter problems related to error processing, the deletion
7046of
7047objects, and placing invalid pointers onto the internal operator result
7048stack. BZ 6028, 6151 (Valery Podrezov)
7049
7050Increased the reference count threshold where a warning is emitted for
7051large
7052reference counts in order to eliminate unnecessary warnings on systems
7053with
7054large namespaces (especially 64-bit.) Increased the value from 0x400 to
70550x800.
7056
7057Due to universal disagreement as to the meaning of the 'c' in the
7058calloc()
7059function, the ACPI_MEM_CALLOCATE macro has been renamed to
7060ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
7061ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
7062ACPI_FREE.
7063
7064Code and Data Size: These are the sizes for the acpica.lib produced by
7065the
7066Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7067ACPI
7068driver or OSPM code. The debug version of the code includes the debug
7069output
7070trace mechanism and has a much larger code and data size. Note that these
7071values will vary depending on the efficiency of the compiler and the
7072compiler options used during generation.
7073
7074  Previous Release:
7075    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
7076    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
7077  Current Release:
7078    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7079    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
7080
7081
70822) iASL Compiler/Disassembler:
7083
7084Disassembler: implemented support for symbolic resource descriptor
7085references. If a CreateXxxxField operator references a fixed offset
7086within
7087a
7088resource descriptor, a name is assigned to the descriptor and the offset
7089is
7090translated to the appropriate resource tag and pathname. The addition of
7091this support brings the disassembled code very close to the original ASL
7092source code and helps eliminate run-time errors when the disassembled
7093code
7094is modified (and recompiled) in such a way as to invalidate the original
7095fixed offsets.
7096
7097Implemented support for a Descriptor Name as the last parameter to the
7098ASL
7099Register() macro. This parameter was inadvertently left out of the ACPI
7100specification, and will be added for ACPI 3.0b.
7101
7102Fixed a problem where the use of the "_OSI" string (versus the full path
7103"\_OSI") caused an internal compiler error. ("No back ptr to op")
7104
7105Fixed a problem with the error message that occurs when an invalid string
7106is
7107used for a _HID object (such as one with an embedded asterisk:
7108"*PNP010A".)
7109The correct message is now displayed.
7110
7111----------------------------------------
711217 February 2006. Summary of changes for version 20060217:
7113
71141) ACPI CA Core Subsystem:
7115
7116Implemented a change to the IndexField support to match the behavior of
7117the
7118Microsoft AML interpreter. The value written to the Index register is now
7119a
7120byte offset, no longer an index based upon the width of the Data
7121register.
7122This should fix IndexField problems seen on some machines where the Data
7123register is not exactly one byte wide. The ACPI specification will be
7124clarified on this point.
7125
7126Fixed a problem where several resource descriptor types could overrun the
7127internal descriptor buffer due to size miscalculation: VendorShort,
7128VendorLong, and Interrupt. This was noticed on IA64 machines, but could
7129affect all platforms.
7130
7131Fixed a problem where individual resource descriptors were misaligned
7132within
7133the internal buffer, causing alignment faults on IA64 platforms.
7134
7135Code and Data Size: These are the sizes for the acpica.lib produced by
7136the
7137Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7138ACPI
7139driver or OSPM code. The debug version of the code includes the debug
7140output
7141trace mechanism and has a much larger code and data size. Note that these
7142values will vary depending on the efficiency of the compiler and the
7143compiler options used during generation.
7144
7145  Previous Release:
7146    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7147    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
7148  Current Release:
7149    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
7150    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
7151
7152
71532) iASL Compiler/Disassembler:
7154
7155Implemented support for new reserved names: _WDG and _WED are Microsoft
7156extensions for Windows Instrumentation Management, _TDL is a new ACPI-
7157defined method (Throttling Depth Limit.)
7158
7159Fixed a problem where a zero-length VendorShort or VendorLong resource
7160descriptor was incorrectly emitted as a descriptor of length one.
7161
7162----------------------------------------
716310 February 2006. Summary of changes for version 20060210:
7164
71651) ACPI CA Core Subsystem:
7166
7167Removed a couple of extraneous ACPI_ERROR messages that appeared during
7168normal execution. These became apparent after the conversion from
7169ACPI_DEBUG_PRINT.
7170
7171Fixed a problem where the CreateField operator could hang if the BitIndex
7172or
7173NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
7174
7175Fixed a problem where a DeRefOf operation on a buffer object incorrectly
7176failed with an exception. This also fixes a couple of related RefOf and
7177DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
7178
7179Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
7180of
7181AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
7182BZ
71835480)
7184
7185Implemented a memory cleanup at the end of the execution of each
7186iteration
7187of an AML While() loop, preventing the accumulation of outstanding
7188objects.
7189(Valery Podrezov, BZ 5427)
7190
7191Eliminated a chunk of duplicate code in the object resolution code.
7192(Valery
7193Podrezov, BZ 5336)
7194
7195Fixed several warnings during the 64-bit code generation.
7196
7197The AcpiSrc source code conversion tool now inserts one line of
7198whitespace
7199after an if() statement that is followed immediately by a comment,
7200improving
7201readability of the Linux code.
7202
7203Code and Data Size: The current and previous library sizes for the core
7204subsystem are shown below. These are the code and data sizes for the
7205acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7206These
7207values do not include any ACPI driver or OSPM code. The debug version of
7208the
7209code includes the debug output trace mechanism and has a much larger code
7210and data size. Note that these values will vary depending on the
7211efficiency
7212of the compiler and the compiler options used during generation.
7213
7214  Previous Release:
7215    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
7216    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
7217  Current Release:
7218    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7219    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
7220
7221
72222) iASL Compiler/Disassembler:
7223
7224Fixed a problem with the disassembly of a BankField operator with a
7225complex
7226expression for the BankValue parameter.
7227
7228----------------------------------------
722927 January 2006. Summary of changes for version 20060127:
7230
72311) ACPI CA Core Subsystem:
7232
7233Implemented support in the Resource Manager to allow unresolved
7234namestring
7235references within resource package objects for the _PRT method. This
7236support
7237is in addition to the previously implemented unresolved reference support
7238within the AML parser. If the interpreter slack mode is enabled, these
7239unresolved references will be passed through to the caller as a NULL
7240package
7241entry.
7242
7243Implemented and deployed new macros and functions for error and warning
7244messages across the subsystem. These macros are simpler and generate less
7245code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
7246ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
7247macros remain defined to allow ACPI drivers time to migrate to the new
7248macros.
7249
7250Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
7251the
7252Acquire/Release Lock OSL interfaces.
7253
7254Fixed a problem where Alias ASL operators are sometimes not correctly
7255resolved, in both the interpreter and the iASL compiler.
7256
7257Fixed several problems with the implementation of the
7258ConcatenateResTemplate
7259ASL operator. As per the ACPI specification, zero length buffers are now
7260treated as a single EndTag. One-length buffers always cause a fatal
7261exception. Non-zero length buffers that do not end with a full 2-byte
7262EndTag
7263cause a fatal exception.
7264
7265Fixed a possible structure overwrite in the AcpiGetObjectInfo external
7266interface. (With assistance from Thomas Renninger)
7267
7268Code and Data Size: The current and previous library sizes for the core
7269subsystem are shown below. These are the code and data sizes for the
7270acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7271These
7272values do not include any ACPI driver or OSPM code. The debug version of
7273the
7274code includes the debug output trace mechanism and has a much larger code
7275and data size. Note that these values will vary depending on the
7276efficiency
7277of the compiler and the compiler options used during generation.
7278
7279  Previous Release:
7280    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
7281    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
7282  Current Release:
7283    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
7284    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
7285
7286
72872) iASL Compiler/Disassembler:
7288
7289Fixed an internal error that was generated for any forward references to
7290ASL
7291Alias objects.
7292
7293----------------------------------------
729413 January 2006. Summary of changes for version 20060113:
7295
72961) ACPI CA Core Subsystem:
7297
7298Added 2006 copyright to all module headers and signons. This affects
7299virtually every file in the ACPICA core subsystem, iASL compiler, and the
7300utilities.
7301
7302Enhanced the ACPICA error reporting in order to simplify user migration
7303to
7304the non-debug version of ACPICA. Replaced all instances of the
7305ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
7306debug
7307levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
7308respectively. This preserves all error and warning messages in the non-
7309debug
7310version of the ACPICA code (this has been referred to as the "debug lite"
7311option.) Over 200 cases were converted to create a total of over 380
7312error/warning messages across the ACPICA code. This increases the code
7313and
7314data size of the default non-debug version of the code somewhat (about
731513K),
7316but all error/warning reporting may be disabled if desired (and code
7317eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
7318configuration option. The size of the debug version of ACPICA remains
7319about
7320the same.
7321
7322Fixed a memory leak within the AML Debugger "Set" command. One object was
7323not properly deleted for every successful invocation of the command.
7324
7325Code and Data Size: The current and previous library sizes for the core
7326subsystem are shown below. These are the code and data sizes for the
7327acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7328These
7329values do not include any ACPI driver or OSPM code. The debug version of
7330the
7331code includes the debug output trace mechanism and has a much larger code
7332and data size. Note that these values will vary depending on the
7333efficiency
7334of the compiler and the compiler options used during generation.
7335
7336  Previous Release:
7337    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
7338    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
7339  Current Release:
7340    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
7341    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
7342
7343
73442) iASL Compiler/Disassembler:
7345
7346The compiler now officially supports the ACPI 3.0a specification that was
7347released on December 30, 2005. (Specification is available at
7348www.acpi.info)
7349
7350----------------------------------------
735116 December 2005. Summary of changes for version 20051216:
7352
73531) ACPI CA Core Subsystem:
7354
7355Implemented optional support to allow unresolved names within ASL Package
7356objects. A null object is inserted in the package when a named reference
7357cannot be located in the current namespace. Enabled via the interpreter
7358slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
7359machines
7360that contain such code.
7361
7362Implemented an optimization to the initialization sequence that can
7363improve
7364boot time. During ACPI device initialization, the _STA method is now run
7365if
7366and only if the _INI method exists. The _STA method is used to determine
7367if
7368the device is present; An _INI can only be run if _STA returns present,
7369but
7370it is a waste of time to run the _STA method if the _INI does not exist.
7371(Prototype and assistance from Dong Wei)
7372
7373Implemented use of the C99 uintptr_t for the pointer casting macros if it
7374is
7375available in the current compiler. Otherwise, the default (void *) cast
7376is
7377used as before.
7378
7379Fixed some possible memory leaks found within the execution path of the
7380Break, Continue, If, and CreateField operators. (Valery Podrezov)
7381
7382Fixed a problem introduced in the 20051202 release where an exception is
7383generated during method execution if a control method attempts to declare
7384another method.
7385
7386Moved resource descriptor string constants that are used by both the AML
7387disassembler and AML debugger to the common utilities directory so that
7388these components are independent.
7389
7390Implemented support in the AcpiExec utility (-e switch) to globally
7391ignore
7392exceptions during control method execution (method is not aborted.)
7393
7394Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
7395generation.
7396
7397Code and Data Size: The current and previous library sizes for the core
7398subsystem are shown below. These are the code and data sizes for the
7399acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7400These
7401values do not include any ACPI driver or OSPM code. The debug version of
7402the
7403code includes the debug output trace mechanism and has a much larger code
7404and data size. Note that these values will vary depending on the
7405efficiency
7406of the compiler and the compiler options used during generation.
7407
7408  Previous Release:
7409    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7410    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
7411  Current Release:
7412    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
7413    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
7414
7415
74162) iASL Compiler/Disassembler:
7417
7418Fixed a problem where a CPU stack overflow fault could occur if a
7419recursive
7420method call was made from within a Return statement.
7421
7422----------------------------------------
742302 December 2005. Summary of changes for version 20051202:
7424
74251) ACPI CA Core Subsystem:
7426
7427Modified the parsing of control methods to no longer create namespace
7428objects during the first pass of the parse. Objects are now created only
7429during the execute phase, at the moment the namespace creation operator
7430is
7431encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
7432This
7433should eliminate ALREADY_EXISTS exceptions seen on some machines where
7434reentrant control methods are protected by an AML mutex. The mutex will
7435now
7436correctly block multiple threads from attempting to create the same
7437object
7438more than once.
7439
7440Increased the number of available Owner Ids for namespace object tracking
7441from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
7442on
7443some machines with a large number of ACPI tables (either static or
7444dynamic).
7445
7446Fixed a problem with the AcpiExec utility where a fault could occur when
7447the
7448-b switch (batch mode) is used.
7449
7450Enhanced the namespace dump routine to output the owner ID for each
7451namespace object.
7452
7453Code and Data Size: The current and previous library sizes for the core
7454subsystem are shown below. These are the code and data sizes for the
7455acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7456These
7457values do not include any ACPI driver or OSPM code. The debug version of
7458the
7459code includes the debug output trace mechanism and has a much larger code
7460and data size. Note that these values will vary depending on the
7461efficiency
7462of the compiler and the compiler options used during generation.
7463
7464  Previous Release:
7465    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7466    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7467  Current Release:
7468    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7469    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
7470
7471
74722) iASL Compiler/Disassembler:
7473
7474Fixed a parse error during compilation of certain Switch/Case constructs.
7475To
7476simplify the parse, the grammar now allows for multiple Default
7477statements
7478and this error is now detected and flagged during the analysis phase.
7479
7480Disassembler: The disassembly now includes the contents of the original
7481table header within a comment at the start of the file. This includes the
7482name and version of the original ASL compiler.
7483
7484----------------------------------------
748517 November 2005. Summary of changes for version 20051117:
7486
74871) ACPI CA Core Subsystem:
7488
7489Fixed a problem in the AML parser where the method thread count could be
7490decremented below zero if any errors occurred during the method parse
7491phase.
7492This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
7493machines.
7494This also fixed a related regression with the mechanism that detects and
7495corrects methods that cannot properly handle reentrancy (related to the
7496deployment of the new OwnerId mechanism.)
7497
7498Eliminated the pre-parsing of control methods (to detect errors) during
7499table load. Related to the problem above, this was causing unwind issues
7500if
7501any errors occurred during the parse, and it seemed to be overkill. A
7502table
7503load should not be aborted if there are problems with any single control
7504method, thus rendering this feature rather pointless.
7505
7506Fixed a problem with the new table-driven resource manager where an
7507internal
7508buffer overflow could occur for small resource templates.
7509
7510Implemented a new external interface, AcpiGetVendorResource. This
7511interface
7512will find and return a vendor-defined resource descriptor within a _CRS
7513or
7514_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
7515Helgaas.
7516
7517Removed the length limit (200) on string objects as per the upcoming ACPI
75183.0A specification. This affects the following areas of the interpreter:
75191)
7520any implicit conversion of a Buffer to a String, 2) a String object
7521result
7522of the ASL Concatentate operator, 3) the String object result of the ASL
7523ToString operator.
7524
7525Fixed a problem in the Windows OS interface layer (OSL) where a
7526WAIT_FOREVER
7527on a semaphore object would incorrectly timeout. This allows the
7528multithreading features of the AcpiExec utility to work properly under
7529Windows.
7530
7531Updated the Linux makefiles for the iASL compiler and AcpiExec to include
7532the recently added file named "utresrc.c".
7533
7534Code and Data Size: The current and previous library sizes for the core
7535subsystem are shown below. These are the code and data sizes for the
7536acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7537These
7538values do not include any ACPI driver or OSPM code. The debug version of
7539the
7540code includes the debug output trace mechanism and has a much larger code
7541and data size. Note that these values will vary depending on the
7542efficiency
7543of the compiler and the compiler options used during generation.
7544
7545  Previous Release:
7546    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
7547    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7548  Current Release:
7549    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7550    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7551
7552
75532) iASL Compiler/Disassembler:
7554
7555Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
7556specification. For the iASL compiler, this means that string literals
7557within
7558the source ASL can be of any length.
7559
7560Enhanced the listing output to dump the AML code for resource descriptors
7561immediately after the ASL code for each descriptor, instead of in a block
7562at
7563the end of the entire resource template.
7564
7565Enhanced the compiler debug output to dump the entire original parse tree
7566constructed during the parse phase, before any transforms are applied to
7567the
7568tree. The transformed tree is dumped also.
7569
7570----------------------------------------
757102 November 2005. Summary of changes for version 20051102:
7572
75731) ACPI CA Core Subsystem:
7574
7575Modified the subsystem initialization sequence to improve GPE support.
7576The
7577GPE initialization has been split into two parts in order to defer
7578execution
7579of the _PRW methods (Power Resources for Wake) until after the hardware
7580is
7581fully initialized and the SCI handler is installed. This allows the _PRW
7582methods to access fields protected by the Global Lock. This will fix
7583systems
7584where a NO_GLOBAL_LOCK exception has been seen during initialization.
7585
7586Converted the ACPI internal object disassemble and display code within
7587the
7588AML debugger to fully table-driven operation, reducing code size and
7589increasing maintainability.
7590
7591Fixed a regression with the ConcatenateResTemplate() ASL operator
7592introduced
7593in the 20051021 release.
7594
7595Implemented support for "local" internal ACPI object types within the
7596debugger "Object" command and the AcpiWalkNamespace external interfaces.
7597These local types include RegionFields, BankFields, IndexFields, Alias,
7598and
7599reference objects.
7600
7601Moved common AML resource handling code into a new file, "utresrc.c".
7602This
7603code is shared by both the Resource Manager and the AML Debugger.
7604
7605Code and Data Size: The current and previous library sizes for the core
7606subsystem are shown below. These are the code and data sizes for the
7607acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7608These
7609values do not include any ACPI driver or OSPM code. The debug version of
7610the
7611code includes the debug output trace mechanism and has a much larger code
7612and data size. Note that these values will vary depending on the
7613efficiency
7614of the compiler and the compiler options used during generation.
7615
7616  Previous Release:
7617    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
7618    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
7619  Current Release:
7620    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
7621    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7622
7623
76242) iASL Compiler/Disassembler:
7625
7626Fixed a problem with very large initializer lists (more than 4000
7627elements)
7628for both Buffer and Package objects where the parse stack could overflow.
7629
7630Enhanced the pre-compile source code scan for non-ASCII characters to
7631ignore
7632characters within comment fields. The scan is now always performed and is
7633no
7634longer optional, detecting invalid characters within a source file
7635immediately rather than during the parse phase or later.
7636
7637Enhanced the ASL grammar definition to force early reductions on all
7638list-
7639style grammar elements so that the overall parse stack usage is greatly
7640reduced. This should improve performance and reduce the possibility of
7641parse
7642stack overflow.
7643
7644Eliminated all reduce/reduce conflicts in the iASL parser generation.
7645Also,
7646with the addition of a %expected statement, the compiler generates from
7647source with no warnings.
7648
7649Fixed a possible segment fault in the disassembler if the input filename
7650does not contain a "dot" extension (Thomas Renninger).
7651
7652----------------------------------------
765321 October 2005. Summary of changes for version 20051021:
7654
76551) ACPI CA Core Subsystem:
7656
7657Implemented support for the EM64T and other x86-64 processors. This
7658essentially entails recognizing that these processors support non-aligned
7659memory transfers. Previously, all 64-bit processors were assumed to lack
7660hardware support for non-aligned transfers.
7661
7662Completed conversion of the Resource Manager to nearly full table-driven
7663operation. Specifically, the resource conversion code (convert AML to
7664internal format and the reverse) and the debug code to dump internal
7665resource descriptors are fully table-driven, reducing code and data size
7666and
7667improving maintainability.
7668
7669The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
7670word
7671on 64-bit processors instead of a fixed 32-bit word. (With assistance
7672from
7673Alexey Starikovskiy)
7674
7675Implemented support within the resource conversion code for the Type-
7676Specific byte within the various ACPI 3.0 *WordSpace macros.
7677
7678Fixed some issues within the resource conversion code for the type-
7679specific
7680flags for both Memory and I/O address resource descriptors. For Memory,
7681implemented support for the MTP and TTP flags. For I/O, split the TRS and
7682TTP flags into two separate fields.
7683
7684Code and Data Size: The current and previous library sizes for the core
7685subsystem are shown below. These are the code and data sizes for the
7686acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7687These
7688values do not include any ACPI driver or OSPM code. The debug version of
7689the
7690code includes the debug output trace mechanism and has a much larger code
7691and data size. Note that these values will vary depending on the
7692efficiency
7693of the compiler and the compiler options used during generation.
7694
7695  Previous Release:
7696    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
7697    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
7698  Current Release:
7699    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
7700    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
7701
7702
7703
77042) iASL Compiler/Disassembler:
7705
7706Relaxed a compiler restriction that disallowed a ResourceIndex byte if
7707the
7708corresponding ResourceSource string was not also present in a resource
7709descriptor declaration. This restriction caused problems with existing
7710AML/ASL code that includes the Index byte without the string. When such
7711AML
7712was disassembled, it could not be compiled without modification. Further,
7713the modified code created a resource template with a different size than
7714the
7715original, breaking code that used fixed offsets into the resource
7716template
7717buffer.
7718
7719Removed a recent feature of the disassembler to ignore a lone
7720ResourceIndex
7721byte. This byte is now emitted if present so that the exact AML can be
7722reproduced when the disassembled code is recompiled.
7723
7724Improved comments and text alignment for the resource descriptor code
7725emitted by the disassembler.
7726
7727Implemented disassembler support for the ACPI 3.0 AccessSize field within
7728a
7729Register() resource descriptor.
7730
7731----------------------------------------
773230 September 2005. Summary of changes for version 20050930:
7733
77341) ACPI CA Core Subsystem:
7735
7736Completed a major overhaul of the Resource Manager code - specifically,
7737optimizations in the area of the AML/internal resource conversion code.
7738The
7739code has been optimized to simplify and eliminate duplicated code, CPU
7740stack
7741use has been decreased by optimizing function parameters and local
7742variables, and naming conventions across the manager have been
7743standardized
7744for clarity and ease of maintenance (this includes function, parameter,
7745variable, and struct/typedef names.) The update may force changes in some
7746driver code, depending on how resources are handled by the host OS.
7747
7748All Resource Manager dispatch and information tables have been moved to a
7749single location for clarity and ease of maintenance. One new file was
7750created, named "rsinfo.c".
7751
7752The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
7753guarantee that the argument is not evaluated twice, making them less
7754prone
7755to macro side-effects. However, since there exists the possibility of
7756additional stack use if a particular compiler cannot optimize them (such
7757as
7758in the debug generation case), the original macros are optionally
7759available.
7760Note that some invocations of the return_VALUE macro may now cause size
7761mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
7762to
7763eliminate these. (From Randy Dunlap)
7764
7765Implemented a new mechanism to enable debug tracing for individual
7766control
7767methods. A new external interface, AcpiDebugTrace, is provided to enable
7768this mechanism. The intent is to allow the host OS to easily enable and
7769disable tracing for problematic control methods. This interface can be
7770easily exposed to a user or debugger interface if desired. See the file
7771psxface.c for details.
7772
7773AcpiUtCallocate will now return a valid pointer if a length of zero is
7774specified - a length of one is used and a warning is issued. This matches
7775the behavior of AcpiUtAllocate.
7776
7777Code and Data Size: The current and previous library sizes for the core
7778subsystem are shown below. These are the code and data sizes for the
7779acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7780These
7781values do not include any ACPI driver or OSPM code. The debug version of
7782the
7783code includes the debug output trace mechanism and has a much larger code
7784and data size. Note that these values will vary depending on the
7785efficiency
7786of the compiler and the compiler options used during generation.
7787
7788  Previous Release:
7789    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7790    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7791  Current Release:
7792    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
7793    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
7794
7795
77962) iASL Compiler/Disassembler:
7797
7798A remark is issued if the effective compile-time length of a package or
7799buffer is zero. Previously, this was a warning.
7800
7801----------------------------------------
780216 September 2005. Summary of changes for version 20050916:
7803
78041) ACPI CA Core Subsystem:
7805
7806Fixed a problem within the Resource Manager where support for the Generic
7807Register descriptor was not fully implemented. This descriptor is now
7808fully
7809recognized, parsed, disassembled, and displayed.
7810
7811Completely restructured the Resource Manager code to utilize table-driven
7812dispatch and lookup, eliminating many of the large switch() statements.
7813This
7814reduces overall subsystem code size and code complexity. Affects the
7815resource parsing and construction, disassembly, and debug dump output.
7816
7817Cleaned up and restructured the debug dump output for all resource
7818descriptors. Improved readability of the output and reduced code size.
7819
7820Fixed a problem where changes to internal data structures caused the
7821optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
7822
7823Code and Data Size: The current and previous library sizes for the core
7824subsystem are shown below. These are the code and data sizes for the
7825acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7826These
7827values do not include any ACPI driver or OSPM code. The debug version of
7828the
7829code includes the debug output trace mechanism and has a much larger code
7830and data size. Note that these values will vary depending on the
7831efficiency
7832of the compiler and the compiler options used during generation.
7833
7834  Previous Release:
7835    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7836    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7837  Current Release:
7838    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7839    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7840
7841
78422) iASL Compiler/Disassembler:
7843
7844Updated the disassembler to automatically insert an EndDependentFn()
7845macro
7846into the ASL stream if this macro is missing in the original AML code,
7847simplifying compilation of the resulting ASL module.
7848
7849Fixed a problem in the disassembler where a disassembled ResourceSource
7850string (within a large resource descriptor) was not surrounded by quotes
7851and
7852not followed by a comma, causing errors when the resulting ASL module was
7853compiled. Also, escape sequences within a ResourceSource string are now
7854handled correctly (especially "\\")
7855
7856----------------------------------------
785702 September 2005. Summary of changes for version 20050902:
7858
78591) ACPI CA Core Subsystem:
7860
7861Fixed a problem with the internal Owner ID allocation and deallocation
7862mechanisms for control method execution and recursive method invocation.
7863This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
7864messages seen on some systems. Recursive method invocation depth is
7865currently limited to 255. (Alexey Starikovskiy)
7866
7867Completely eliminated all vestiges of support for the "module-level
7868executable code" until this support is fully implemented and debugged.
7869This
7870should eliminate the NO_RETURN_VALUE exceptions seen during table load on
7871some systems that invoke this support.
7872
7873Fixed a problem within the resource manager code where the transaction
7874flags
7875for a 64-bit address descriptor were handled incorrectly in the type-
7876specific flag byte.
7877
7878Consolidated duplicate code within the address descriptor resource
7879manager
7880code, reducing overall subsystem code size.
7881
7882Fixed a fault when using the AML debugger "disassemble" command to
7883disassemble individual control methods.
7884
7885Removed references to the "release_current" directory within the Unix
7886release package.
7887
7888Code and Data Size: The current and previous core subsystem library sizes
7889are shown below. These are the code and data sizes for the acpica.lib
7890produced by the Microsoft Visual C++ 6.0 compiler. These values do not
7891include any ACPI driver or OSPM code. The debug version of the code
7892includes
7893the debug output trace mechanism and has a much larger code and data
7894size.
7895Note that these values will vary depending on the efficiency of the
7896compiler
7897and the compiler options used during generation.
7898
7899  Previous Release:
7900    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7901    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7902  Current Release:
7903    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7904    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7905
7906
79072) iASL Compiler/Disassembler:
7908
7909Implemented an error check for illegal duplicate values in the interrupt
7910and
7911dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
7912Interrupt().
7913
7914Implemented error checking for the Irq() and IrqNoFlags() macros to
7915detect
7916too many values in the interrupt list (16 max) and invalid values in the
7917list (range 0 - 15)
7918
7919The maximum length string literal within an ASL file is now restricted to
7920200 characters as per the ACPI specification.
7921
7922Fixed a fault when using the -ln option (generate namespace listing).
7923
7924Implemented an error check to determine if a DescriptorName within a
7925resource descriptor has already been used within the current scope.
7926
7927----------------------------------------
792815 August 2005.  Summary of changes for version 20050815:
7929
79301) ACPI CA Core Subsystem:
7931
7932Implemented a full bytewise compare to determine if a table load request
7933is
7934attempting to load a duplicate table. The compare is performed if the
7935table
7936signatures and table lengths match. This will allow different tables with
7937the same OEM Table ID and revision to be loaded - probably against the
7938ACPI
7939specification, but discovered in the field nonetheless.
7940
7941Added the changes.txt logfile to each of the zipped release packages.
7942
7943Code and Data Size: Current and previous core subsystem library sizes are
7944shown below. These are the code and data sizes for the acpica.lib
7945produced
7946by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7947any ACPI driver or OSPM code. The debug version of the code includes the
7948debug output trace mechanism and has a much larger code and data size.
7949Note
7950that these values will vary depending on the efficiency of the compiler
7951and
7952the compiler options used during generation.
7953
7954  Previous Release:
7955    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7956    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
7957  Current Release:
7958    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7959    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7960
7961
79622) iASL Compiler/Disassembler:
7963
7964Fixed a problem where incorrect AML code could be generated for Package
7965objects if optimization is disabled (via the -oa switch).
7966
7967Fixed a problem with where incorrect AML code is generated for variable-
7968length packages when the package length is not specified and the number
7969of
7970initializer values is greater than 255.
7971
7972
7973----------------------------------------
797429 July 2005.  Summary of changes for version 20050729:
7975
79761) ACPI CA Core Subsystem:
7977
7978Implemented support to ignore an attempt to install/load a particular
7979ACPI
7980table more than once. Apparently there exists BIOS code that repeatedly
7981attempts to load the same SSDT upon certain events. With assistance from
7982Venkatesh Pallipadi.
7983
7984Restructured the main interface to the AML parser in order to correctly
7985handle all exceptional conditions. This will prevent leakage of the
7986OwnerId
7987resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
7988some
7989machines. With assistance from Alexey Starikovskiy.
7990
7991Support for "module level code" has been disabled in this version due to
7992a
7993number of issues that have appeared on various machines. The support can
7994be
7995enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
7996compilation. When the issues are fully resolved, the code will be enabled
7997by
7998default again.
7999
8000Modified the internal functions for debug print support to define the
8001FunctionName parameter as a (const char *) for compatibility with
8002compiler
8003built-in macros such as __FUNCTION__, etc.
8004
8005Linted the entire ACPICA source tree for both 32-bit and 64-bit.
8006
8007Implemented support to display an object count summary for the AML
8008Debugger
8009commands Object and Methods.
8010
8011Code and Data Size: Current and previous core subsystem library sizes are
8012shown below. These are the code and data sizes for the acpica.lib
8013produced
8014by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8015any ACPI driver or OSPM code. The debug version of the code includes the
8016debug output trace mechanism and has a much larger code and data size.
8017Note
8018that these values will vary depending on the efficiency of the compiler
8019and
8020the compiler options used during generation.
8021
8022  Previous Release:
8023    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
8024    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
8025  Current Release:
8026    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
8027    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
8028
8029
80302) iASL Compiler/Disassembler:
8031
8032Fixed a regression that appeared in the 20050708 version of the compiler
8033where an error message was inadvertently emitted for invocations of the
8034_OSI
8035reserved control method.
8036
8037----------------------------------------
803808 July 2005.  Summary of changes for version 20050708:
8039
80401) ACPI CA Core Subsystem:
8041
8042The use of the CPU stack in the debug version of the subsystem has been
8043considerably reduced. Previously, a debug structure was declared in every
8044function that used the debug macros. This structure has been removed in
8045favor of declaring the individual elements as parameters to the debug
8046functions. This reduces the cumulative stack use during nested execution
8047of
8048ACPI function calls at the cost of a small increase in the code size of
8049the
8050debug version of the subsystem. With assistance from Alexey Starikovskiy
8051and
8052Len Brown.
8053
8054Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
8055headers to define a macro that will return the current function name at
8056runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
8057by
8058the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
8059compiler-dependent header, the function name is saved on the CPU stack
8060(one
8061pointer per function.) This mechanism is used because apparently there
8062exists no standard ANSI-C defined macro that that returns the function
8063name.
8064
8065Redesigned and reimplemented the "Owner ID" mechanism used to track
8066namespace objects created/deleted by ACPI tables and control method
8067execution. A bitmap is now used to allocate and free the IDs, thus
8068solving
8069the wraparound problem present in the previous implementation. The size
8070of
8071the namespace node descriptor was reduced by 2 bytes as a result (Alexey
8072Starikovskiy).
8073
8074Removed the UINT32_BIT and UINT16_BIT types that were used for the
8075bitfield
8076flag definitions within the headers for the predefined ACPI tables. These
8077have been replaced by UINT8_BIT in order to increase the code portability
8078of
8079the subsystem. If the use of UINT8 remains a problem, we may be forced to
8080eliminate bitfields entirely because of a lack of portability.
8081
8082Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
8083This
8084is a frequently used function and this improvement increases the
8085performance
8086of the entire subsystem (Alexey Starikovskiy).
8087
8088Fixed several possible memory leaks and the inverse - premature object
8089deletion (Alexey Starikovskiy).
8090
8091Code and Data Size: Current and previous core subsystem library sizes are
8092shown below. These are the code and data sizes for the acpica.lib
8093produced
8094by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8095any ACPI driver or OSPM code. The debug version of the code includes the
8096debug output trace mechanism and has a much larger code and data size.
8097Note
8098that these values will vary depending on the efficiency of the compiler
8099and
8100the compiler options used during generation.
8101
8102  Previous Release:
8103    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
8104    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
8105  Current Release:
8106    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
8107    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
8108
8109----------------------------------------
811024 June 2005.  Summary of changes for version 20050624:
8111
81121) ACPI CA Core Subsystem:
8113
8114Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
8115the host-defined cache object. This allows the OSL implementation to
8116define
8117and type this object in any manner desired, simplifying the OSL
8118implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
8119Linux, and should be defined in the OS-specific header file for other
8120operating systems as required.
8121
8122Changed the interface to AcpiOsAcquireObject to directly return the
8123requested object as the function return (instead of ACPI_STATUS.) This
8124change was made for performance reasons, since this is the purpose of the
8125interface in the first place. AcpiOsAcquireObject is now similar to the
8126AcpiOsAllocate interface.
8127
8128Implemented a new AML debugger command named Businfo. This command
8129displays
8130information about all devices that have an associate _PRT object. The
8131_ADR,
8132_HID, _UID, and _CID are displayed for these devices.
8133
8134Modified the initialization sequence in AcpiInitializeSubsystem to call
8135the
8136OSL interface AcpiOslInitialize first, before any local initialization.
8137This
8138change was required because the global initialization now calls OSL
8139interfaces.
8140
8141Enhanced the Dump command to display the entire contents of Package
8142objects
8143(including all sub-objects and their values.)
8144
8145Restructured the code base to split some files because of size and/or
8146because the code logically belonged in a separate file. New files are
8147listed
8148below. All makefiles and project files included in the ACPI CA release
8149have
8150been updated.
8151    utilities/utcache.c           /* Local cache interfaces */
8152    utilities/utmutex.c           /* Local mutex support */
8153    utilities/utstate.c           /* State object support */
8154    interpreter/parser/psloop.c   /* Main AML parse loop */
8155
8156Code and Data Size: Current and previous core subsystem library sizes are
8157shown below. These are the code and data sizes for the acpica.lib
8158produced
8159by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8160any ACPI driver or OSPM code. The debug version of the code includes the
8161debug output trace mechanism and has a much larger code and data size.
8162Note
8163that these values will vary depending on the efficiency of the compiler
8164and
8165the compiler options used during generation.
8166
8167  Previous Release:
8168    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
8169    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
8170  Current Release:
8171    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
8172    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
8173
8174
81752) iASL Compiler/Disassembler:
8176
8177Fixed a regression introduced in version 20050513 where the use of a
8178Package
8179object within a Case() statement caused a compile time exception. The
8180original behavior has been restored (a Match() operator is emitted.)
8181
8182----------------------------------------
818317 June 2005.  Summary of changes for version 20050617:
8184
81851) ACPI CA Core Subsystem:
8186
8187Moved the object cache operations into the OS interface layer (OSL) to
8188allow
8189the host OS to handle these operations if desired (for example, the Linux
8190OSL will invoke the slab allocator). This support is optional; the
8191compile
8192time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
8193cache
8194code in the ACPI CA core. The new OSL interfaces are shown below. See
8195utalloc.c for an example implementation, and acpiosxf.h for the exact
8196interface definitions. With assistance from Alexey Starikovskiy.
8197    AcpiOsCreateCache
8198    AcpiOsDeleteCache
8199    AcpiOsPurgeCache
8200    AcpiOsAcquireObject
8201    AcpiOsReleaseObject
8202
8203Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
8204return
8205and restore a flags parameter. This fits better with many OS lock models.
8206Note: the current execution state (interrupt handler or not) is no longer
8207passed to these interfaces. If necessary, the OSL must determine this
8208state
8209by itself, a simple and fast operation. With assistance from Alexey
8210Starikovskiy.
8211
8212Fixed a problem in the ACPI table handling where a valid XSDT was assumed
8213present if the revision of the RSDP was 2 or greater. According to the
8214ACPI
8215specification, the XSDT is optional in all cases, and the table manager
8216therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
8217Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
8218contain
8219only the RSDT.
8220
8221Fixed an interpreter problem with the Mid() operator in the case of an
8222input
8223string where the resulting output string is of zero length. It now
8224correctly
8225returns a valid, null terminated string object instead of a string object
8226with a null pointer.
8227
8228Fixed a problem with the control method argument handling to allow a
8229store
8230to an Arg object that already contains an object of type Device. The
8231Device
8232object is now correctly overwritten. Previously, an error was returned.
8233
8234
8235Enhanced the debugger Find command to emit object values in addition to
8236the
8237found object pathnames. The output format is the same as the dump
8238namespace
8239command.
8240
8241Enhanced the debugger Set command. It now has the ability to set the
8242value
8243of any Named integer object in the namespace (Previously, only method
8244locals
8245and args could be set.)
8246
8247Code and Data Size: Current and previous core subsystem library sizes are
8248shown below. These are the code and data sizes for the acpica.lib
8249produced
8250by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8251any ACPI driver or OSPM code. The debug version of the code includes the
8252debug output trace mechanism and has a much larger code and data size.
8253Note
8254that these values will vary depending on the efficiency of the compiler
8255and
8256the compiler options used during generation.
8257
8258  Previous Release:
8259    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
8260    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
8261  Current Release:
8262    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
8263    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
8264
8265
82662) iASL Compiler/Disassembler:
8267
8268Fixed a regression in the disassembler where if/else/while constructs
8269were
8270output incorrectly. This problem was introduced in the previous release
8271(20050526). This problem also affected the single-step disassembly in the
8272debugger.
8273
8274Fixed a problem where compiling the reserved _OSI method would randomly
8275(but
8276rarely) produce compile errors.
8277
8278Enhanced the disassembler to emit compilable code in the face of
8279incorrect
8280AML resource descriptors. If the optional ResourceSourceIndex is present,
8281but the ResourceSource is not, do not emit the ResourceSourceIndex in the
8282disassembly. Otherwise, the resulting code cannot be compiled without
8283errors.
8284
8285----------------------------------------
828626 May 2005.  Summary of changes for version 20050526:
8287
82881) ACPI CA Core Subsystem:
8289
8290Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
8291the module level (not within a control method.) These opcodes are
8292executed
8293exactly once at the time the table is loaded. This type of code was legal
8294up
8295until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
8296in
8297order to provide backwards compatibility with earlier BIOS
8298implementations.
8299This eliminates the "Encountered executable code at module level" warning
8300that was previously generated upon detection of such code.
8301
8302Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
8303inadvertently be generated during the lookup of namespace objects in the
8304second pass parse of ACPI tables and control methods. It appears that
8305this
8306problem could occur during the resolution of forward references to
8307namespace
8308objects.
8309
8310Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
8311corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
8312allows the deadlock detection debug code to be compiled out in the normal
8313case, improving mutex performance (and overall subsystem performance)
8314considerably.
8315
8316Implemented a handful of miscellaneous fixes for possible memory leaks on
8317error conditions and error handling control paths. These fixes were
8318suggested by FreeBSD and the Coverity Prevent source code analysis tool.
8319
8320Added a check for a null RSDT pointer in AcpiGetFirmwareTable
8321(tbxfroot.c)
8322to prevent a fault in this error case.
8323
8324Code and Data Size: Current and previous core subsystem library sizes are
8325shown below. These are the code and data sizes for the acpica.lib
8326produced
8327by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8328any ACPI driver or OSPM code. The debug version of the code includes the
8329debug output trace mechanism and has a much larger code and data size.
8330Note
8331that these values will vary depending on the efficiency of the compiler
8332and
8333the compiler options used during generation.
8334
8335  Previous Release:
8336    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8337    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8338  Current Release:
8339    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
8340    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
8341
8342
83432) iASL Compiler/Disassembler:
8344
8345Implemented support to allow Type 1 and Type 2 ASL operators to appear at
8346the module level (not within a control method.) These operators will be
8347executed once at the time the table is loaded. This type of code was
8348legal
8349up until the release of ACPI 2.0B (2002) and is now supported by the iASL
8350compiler in order to provide backwards compatibility with earlier BIOS
8351ASL
8352code.
8353
8354The ACPI integer width (specified via the table revision ID or the -r
8355override, 32 or 64 bits) is now used internally during compile-time
8356constant
8357folding to ensure that constants are truncated to 32 bits if necessary.
8358Previously, the revision ID value was only emitted in the AML table
8359header.
8360
8361An error message is now generated for the Mutex and Method operators if
8362the
8363SyncLevel parameter is outside the legal range of 0 through 15.
8364
8365Fixed a problem with the Method operator ParameterTypes list handling
8366(ACPI
83673.0). Previously, more than 2 types or 2 arguments generated a syntax
8368error.
8369The actual underlying implementation of method argument typechecking is
8370still under development, however.
8371
8372----------------------------------------
837313 May 2005.  Summary of changes for version 20050513:
8374
83751) ACPI CA Core Subsystem:
8376
8377Implemented support for PCI Express root bridges -- added support for
8378device
8379PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
8380
8381The interpreter now automatically truncates incoming 64-bit constants to
838232
8383bits if currently executing out of a 32-bit ACPI table (Revision < 2).
8384This
8385also affects the iASL compiler constant folding. (Note: as per below, the
8386iASL compiler no longer allows 64-bit constants within 32-bit tables.)
8387
8388Fixed a problem where string and buffer objects with "static" pointers
8389(pointers to initialization data within an ACPI table) were not handled
8390consistently. The internal object copy operation now always copies the
8391data
8392to a newly allocated buffer, regardless of whether the source object is
8393static or not.
8394
8395Fixed a problem with the FromBCD operator where an implicit result
8396conversion was improperly performed while storing the result to the
8397target
8398operand. Since this is an "explicit conversion" operator, the implicit
8399conversion should never be performed on the output.
8400
8401Fixed a problem with the CopyObject operator where a copy to an existing
8402named object did not always completely overwrite the existing object
8403stored
8404at name. Specifically, a buffer-to-buffer copy did not delete the
8405existing
8406buffer.
8407
8408Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
8409and
8410structs for consistency.
8411
8412Code and Data Size: Current and previous core subsystem library sizes are
8413shown below. These are the code and data sizes for the acpica.lib
8414produced
8415by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8416any ACPI driver or OSPM code. The debug version of the code includes the
8417debug output trace mechanism and has a much larger code and data size.
8418Note
8419that these values will vary depending on the efficiency of the compiler
8420and
8421the compiler options used during generation.
8422
8423  Previous Release:
8424    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8425    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8426  Current Release: (Same sizes)
8427    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8428    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8429
8430
84312) iASL Compiler/Disassembler:
8432
8433The compiler now emits a warning if an attempt is made to generate a 64-
8434bit
8435integer constant from within a 32-bit ACPI table (Revision < 2). The
8436integer
8437is truncated to 32 bits.
8438
8439Fixed a problem with large package objects: if the static length of the
8440package is greater than 255, the "variable length package" opcode is
8441emitted. Previously, this caused an error. This requires an update to the
8442ACPI spec, since it currently (incorrectly) states that packages larger
8443than
8444255 elements are not allowed.
8445
8446The disassembler now correctly handles variable length packages and
8447packages
8448larger than 255 elements.
8449
8450----------------------------------------
845108 April 2005.  Summary of changes for version 20050408:
8452
84531) ACPI CA Core Subsystem:
8454
8455Fixed three cases in the interpreter where an "index" argument to an ASL
8456function was still (internally) 32 bits instead of the required 64 bits.
8457This was the Index argument to the Index, Mid, and Match operators.
8458
8459The "strupr" function is now permanently local (AcpiUtStrupr), since this
8460is
8461not a POSIX-defined function and not present in most kernel-level C
8462libraries. All references to the C library strupr function have been
8463removed
8464from the headers.
8465
8466Completed the deployment of static functions/prototypes. All prototypes
8467with
8468the static attribute have been moved from the headers to the owning C
8469file.
8470
8471Implemented an extract option (-e) for the AcpiBin utility (AML binary
8472utility). This option allows the utility to extract individual ACPI
8473tables
8474from the output of AcpiDmp. It provides the same functionality of the
8475acpixtract.pl perl script without the worry of setting the correct perl
8476options. AcpiBin runs on Windows and has not yet been generated/validated
8477in
8478the Linux/Unix environment (but should be soon).
8479
8480Updated and fixed the table dump option for AcpiBin (-d). This option
8481converts a single ACPI table to a hex/ascii file, similar to the output
8482of
8483AcpiDmp.
8484
8485Code and Data Size: Current and previous core subsystem library sizes are
8486shown below. These are the code and data sizes for the acpica.lib
8487produced
8488by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8489any ACPI driver or OSPM code. The debug version of the code includes the
8490debug output trace mechanism and has a much larger code and data size.
8491Note
8492that these values will vary depending on the efficiency of the compiler
8493and
8494the compiler options used during generation.
8495
8496  Previous Release:
8497    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
8498    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
8499  Current Release:
8500    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8501    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8502
8503
85042) iASL Compiler/Disassembler:
8505
8506Disassembler fix: Added a check to ensure that the table length found in
8507the
8508ACPI table header within the input file is not longer than the actual
8509input
8510file size. This indicates some kind of file or table corruption.
8511
8512----------------------------------------
851329 March 2005.  Summary of changes for version 20050329:
8514
85151) ACPI CA Core Subsystem:
8516
8517An error is now generated if an attempt is made to create a Buffer Field
8518of
8519length zero (A CreateField with a length operand of zero.)
8520
8521The interpreter now issues a warning whenever executable code at the
8522module
8523level is detected during ACPI table load. This will give some idea of the
8524prevalence of this type of code.
8525
8526Implemented support for references to named objects (other than control
8527methods) within package objects.
8528
8529Enhanced package object output for the debug object. Package objects are
8530now
8531completely dumped, showing all elements.
8532
8533Enhanced miscellaneous object output for the debug object. Any object can
8534now be written to the debug object (for example, a device object can be
8535written, and the type of the object will be displayed.)
8536
8537The "static" qualifier has been added to all local functions across both
8538the
8539core subsystem and the iASL compiler.
8540
8541The number of "long" lines (> 80 chars) within the source has been
8542significantly reduced, by about 1/3.
8543
8544Cleaned up all header files to ensure that all CA/iASL functions are
8545prototyped (even static functions) and the formatting is consistent.
8546
8547Two new header files have been added, acopcode.h and acnames.h.
8548
8549Removed several obsolete functions that were no longer used.
8550
8551Code and Data Size: Current and previous core subsystem library sizes are
8552shown below. These are the code and data sizes for the acpica.lib
8553produced
8554by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8555any ACPI driver or OSPM code. The debug version of the code includes the
8556debug output trace mechanism and has a much larger code and data size.
8557Note
8558that these values will vary depending on the efficiency of the compiler
8559and
8560the compiler options used during generation.
8561
8562  Previous Release:
8563    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8564    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
8565  Current Release:
8566    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
8567    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
8568
8569
8570
85712) iASL Compiler/Disassembler:
8572
8573Fixed a problem with the resource descriptor generation/support. For the
8574ResourceSourceIndex and the ResourceSource fields, both must be present,
8575or
8576both must be not present - can't have one without the other.
8577
8578The compiler now returns non-zero from the main procedure if any errors
8579have
8580occurred during the compilation.
8581
8582
8583----------------------------------------
858409 March 2005.  Summary of changes for version 20050309:
8585
85861) ACPI CA Core Subsystem:
8587
8588The string-to-buffer implicit conversion code has been modified again
8589after
8590a change to the ACPI specification.  In order to match the behavior of
8591the
8592other major ACPI implementation, the target buffer is no longer truncated
8593if
8594the source string is smaller than an existing target buffer. This change
8595requires an update to the ACPI spec, and should eliminate the recent
8596AE_AML_BUFFER_LIMIT issues.
8597
8598The "implicit return" support was rewritten to a new algorithm that
8599solves
8600the general case. Rather than attempt to determine when a method is about
8601to
8602exit, the result of every ASL operator is saved momentarily until the
8603very
8604next ASL operator is executed. Therefore, no matter how the method exits,
8605there will always be a saved implicit return value. This feature is only
8606enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
8607eliminate
8608AE_AML_NO_RETURN_VALUE errors when enabled.
8609
8610Implemented implicit conversion support for the predicate (operand) of
8611the
8612If, Else, and While operators. String and Buffer arguments are
8613automatically
8614converted to Integers.
8615
8616Changed the string-to-integer conversion behavior to match the new ACPI
8617errata: "If no integer object exists, a new integer is created. The ASCII
8618string is interpreted as a hexadecimal constant. Each string character is
8619interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
8620with the first character as the most significant digit, and ending with
8621the
8622first non-hexadecimal character or end-of-string." This means that the
8623first
8624non-hex character terminates the conversion and this is the code that was
8625changed.
8626
8627Fixed a problem where the ObjectType operator would fail (fault) when
8628used
8629on an Index of a Package which pointed to a null package element. The
8630operator now properly returns zero (Uninitialized) in this case.
8631
8632Fixed a problem where the While operator used excessive memory by not
8633properly popping the result stack during execution. There was no memory
8634leak
8635after execution, however. (Code provided by Valery Podrezov.)
8636
8637Fixed a problem where references to control methods within Package
8638objects
8639caused the method to be invoked, instead of producing a reference object
8640pointing to the method.
8641
8642Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
8643to
8644improve performance and reduce code size. (Code provided by Alexey
8645Starikovskiy.)
8646
8647Code and Data Size: Current and previous core subsystem library sizes are
8648shown below. These are the code and data sizes for the acpica.lib
8649produced
8650by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8651any ACPI driver or OSPM code. The debug version of the code includes the
8652debug output trace mechanism and has a much larger code and data size.
8653Note
8654that these values will vary depending on the efficiency of the compiler
8655and
8656the compiler options used during generation.
8657
8658  Previous Release:
8659    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8660    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
8661  Current Release:
8662    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8663    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
8664
8665
86662) iASL Compiler/Disassembler:
8667
8668Fixed a problem with the Return operator with no arguments. Since the AML
8669grammar for the byte encoding requires an operand for the Return opcode,
8670the
8671compiler now emits a Return(Zero) for this case.  An ACPI specification
8672update has been written for this case.
8673
8674For tables other than the DSDT, namepath optimization is automatically
8675disabled. This is because SSDTs can be loaded anywhere in the namespace,
8676the
8677compiler has no knowledge of where, and thus cannot optimize namepaths.
8678
8679Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
8680inadvertently omitted from the ACPI specification, and will require an
8681update to the spec.
8682
8683The source file scan for ASCII characters is now optional (-a). This
8684change
8685was made because some vendors place non-ascii characters within comments.
8686However, the scan is simply a brute-force byte compare to ensure all
8687characters in the file are in the range 0x00 to 0x7F.
8688
8689Fixed a problem with the CondRefOf operator where the compiler was
8690inappropriately checking for the existence of the target. Since the point
8691of
8692the operator is to check for the existence of the target at run-time, the
8693compiler no longer checks for the target existence.
8694
8695Fixed a problem where errors generated from the internal AML interpreter
8696during constant folding were not handled properly, causing a fault.
8697
8698Fixed a problem with overly aggressive range checking for the Stall
8699operator. The valid range (max 255) is now only checked if the operand is
8700of
8701type Integer. All other operand types cannot be statically checked.
8702
8703Fixed a problem where control method references within the RefOf,
8704DeRefOf,
8705and ObjectType operators were not treated properly. They are now treated
8706as
8707actual references, not method invocations.
8708
8709Fixed and enhanced the "list namespace" option (-ln). This option was
8710broken
8711a number of releases ago.
8712
8713Improved error handling for the Field, IndexField, and BankField
8714operators.
8715The compiler now cleanly reports and recovers from errors in the field
8716component (FieldUnit) list.
8717
8718Fixed a disassembler problem where the optional ResourceDescriptor fields
8719TRS and TTP were not always handled correctly.
8720
8721Disassembler - Comments in output now use "//" instead of "/*"
8722
8723----------------------------------------
872428 February 2005.  Summary of changes for version 20050228:
8725
87261) ACPI CA Core Subsystem:
8727
8728Fixed a problem where the result of an Index() operator (an object
8729reference) must increment the reference count on the target object for
8730the
8731life of the object reference.
8732
8733Implemented AML Interpreter and Debugger support for the new ACPI 3.0
8734Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
8735WordSpace
8736resource descriptors.
8737
8738Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
8739Space Descriptor" string, indicating interpreter support for the
8740descriptors
8741above.
8742
8743Implemented header support for the new ACPI 3.0 FADT flag bits.
8744
8745Implemented header support for the new ACPI 3.0 PCI Express bits for the
8746PM1
8747status/enable registers.
8748
8749Updated header support for the MADT processor local Apic struct and MADT
8750platform interrupt source struct for new ACPI 3.0 fields.
8751
8752Implemented header support for the SRAT and SLIT ACPI tables.
8753
8754Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
8755flag
8756at runtime.
8757
8758Code and Data Size: Current and previous core subsystem library sizes are
8759shown below. These are the code and data sizes for the acpica.lib
8760produced
8761by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8762any ACPI driver or OSPM code. The debug version of the code includes the
8763debug output trace mechanism and has a much larger code and data size.
8764Note
8765that these values will vary depending on the efficiency of the compiler
8766and
8767the compiler options used during generation.
8768
8769  Previous Release:
8770    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
8771    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
8772  Current Release:
8773    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8774    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
8775
8776
87772) iASL Compiler/Disassembler:
8778
8779Fixed a problem with the internal 64-bit String-to-integer conversion
8780with
8781strings less than two characters long.
8782
8783Fixed a problem with constant folding where the result of the Index()
8784operator can not be considered a constant. This means that Index() cannot
8785be
8786a type3 opcode and this will require an update to the ACPI specification.
8787
8788Disassembler: Implemented support for the TTP, MTP, and TRS resource
8789descriptor fields. These fields were inadvertently ignored and not output
8790in
8791the disassembly of the resource descriptor.
8792
8793
8794 ----------------------------------------
879511 February 2005.  Summary of changes for version 20050211:
8796
87971) ACPI CA Core Subsystem:
8798
8799Implemented ACPI 3.0 support for implicit conversion within the Match()
8800operator. MatchObjects can now be of type integer, buffer, or string
8801instead
8802of just type integer.  Package elements are implicitly converted to the
8803type
8804of the MatchObject. This change aligns the behavior of Match() with the
8805behavior of the other logical operators (LLess(), etc.) It also requires
8806an
8807errata change to the ACPI specification as this support was intended for
8808ACPI 3.0, but was inadvertently omitted.
8809
8810Fixed a problem with the internal implicit "to buffer" conversion.
8811Strings
8812that are converted to buffers will cause buffer truncation if the string
8813is
8814smaller than the target buffer. Integers that are converted to buffers
8815will
8816not cause buffer truncation, only zero extension (both as per the ACPI
8817spec.) The problem was introduced when code was added to truncate the
8818buffer, but this should not be performed in all cases, only the string
8819case.
8820
8821Fixed a problem with the Buffer and Package operators where the
8822interpreter
8823would get confused if two such operators were used as operands to an ASL
8824operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
8825stack was not being popped after the execution of these operators,
8826resulting
8827in an AE_NO_RETURN_VALUE exception.
8828
8829Fixed a problem with constructs of the form Store(Index(...),...). The
8830reference object returned from Index was inadvertently resolved to an
8831actual
8832value. This problem was introduced in version 20050114 when the behavior
8833of
8834Store() was modified to restrict the object types that can be used as the
8835source operand (to match the ACPI specification.)
8836
8837Reduced excessive stack use within the AcpiGetObjectInfo procedure.
8838
8839Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
8840
8841Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
8842
8843Code and Data Size: Current and previous core subsystem library sizes are
8844shown below. These are the code and data sizes for the acpica.lib
8845produced
8846by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8847any ACPI driver or OSPM code. The debug version of the code includes the
8848debug output trace mechanism and has a much larger code and data size.
8849Note
8850that these values will vary depending on the efficiency of the compiler
8851and
8852the compiler options used during generation.
8853
8854  Previous Release:
8855    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
8856    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
8857  Current Release:
8858    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
8859    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
8860
8861
88622) iASL Compiler/Disassembler:
8863
8864Fixed a code generation problem in the constant folding optimization code
8865where incorrect code was generated if a constant was reduced to a buffer
8866object (i.e., a reduced type 5 opcode.)
8867
8868Fixed a typechecking problem for the ToBuffer operator. Caused by an
8869incorrect return type in the internal opcode information table.
8870
8871----------------------------------------
887225 January 2005.  Summary of changes for version 20050125:
8873
88741) ACPI CA Core Subsystem:
8875
8876Fixed a recently introduced problem with the Global Lock where the
8877underlying semaphore was not created.  This problem was introduced in
8878version 20050114, and caused an AE_AML_NO_OPERAND exception during an
8879Acquire() operation on _GL.
8880
8881The local object cache is now optional, and is disabled by default. Both
8882AcpiExec and the iASL compiler enable the cache because they run in user
8883mode and this enhances their performance. #define
8884ACPI_ENABLE_OBJECT_CACHE
8885to enable the local cache.
8886
8887Fixed an issue in the internal function AcpiUtEvaluateObject concerning
8888the
8889optional "implicit return" support where an error was returned if no
8890return
8891object was expected, but one was implicitly returned. AE_OK is now
8892returned
8893in this case and the implicitly returned object is deleted.
8894AcpiUtEvaluateObject is only occasionally used, and only to execute
8895reserved
8896methods such as _STA and _INI where the return type is known up front.
8897
8898Fixed a few issues with the internal convert-to-integer code. It now
8899returns
8900an error if an attempt is made to convert a null string, a string of only
8901blanks/tabs, or a zero-length buffer. This affects both implicit
8902conversion
8903and explicit conversion via the ToInteger() operator.
8904
8905The internal debug code in AcpiUtAcquireMutex has been commented out. It
8906is
8907not needed for normal operation and should increase the performance of
8908the
8909entire subsystem. The code remains in case it is needed for debug
8910purposes
8911again.
8912
8913The AcpiExec source and makefile are included in the Unix/Linux package
8914for
8915the first time.
8916
8917Code and Data Size: Current and previous core subsystem library sizes are
8918shown below. These are the code and data sizes for the acpica.lib
8919produced
8920by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8921any ACPI driver or OSPM code. The debug version of the code includes the
8922debug output trace mechanism and has a much larger code and data size.
8923Note
8924that these values will vary depending on the efficiency of the compiler
8925and
8926the compiler options used during generation.
8927
8928  Previous Release:
8929    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
8930    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
8931  Current Release:
8932    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
8933    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
8934
89352) iASL Compiler/Disassembler:
8936
8937Switch/Case support: A warning is now issued if the type of the Switch
8938value
8939cannot be determined at compile time. For example, Switch(Arg0) will
8940generate the warning, and the type is assumed to be an integer. As per
8941the
8942ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
8943the
8944warning.
8945
8946Switch/Case support: Implemented support for buffer and string objects as
8947the switch value.  This is an ACPI 3.0 feature, now that LEqual supports
8948buffers and strings.
8949
8950Switch/Case support: The emitted code for the LEqual() comparisons now
8951uses
8952the switch value as the first operand, not the second. The case value is
8953now
8954the second operand, and this allows the case value to be implicitly
8955converted to the type of the switch value, not the other way around.
8956
8957Switch/Case support: Temporary variables are now emitted immediately
8958within
8959the control method, not at the global level. This means that there are
8960now
896136 temps available per-method, not 36 temps per-module as was the case
8962with
8963the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
8964
8965----------------------------------------
896614 January 2005.  Summary of changes for version 20050114:
8967
8968Added 2005 copyright to all module headers.  This affects every module in
8969the core subsystem, iASL compiler, and the utilities.
8970
89711) ACPI CA Core Subsystem:
8972
8973Fixed an issue with the String-to-Buffer conversion code where the string
8974null terminator was not included in the buffer after conversion, but
8975there
8976is existing ASL that assumes the string null terminator is included. This
8977is
8978the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
8979introduced in the previous version when the code was updated to correctly
8980set the converted buffer size as per the ACPI specification. The ACPI
8981spec
8982is ambiguous and will be updated to specify that the null terminator must
8983be
8984included in the converted buffer. This also affects the ToBuffer() ASL
8985operator.
8986
8987Fixed a problem with the Mid() ASL/AML operator where it did not work
8988correctly on Buffer objects. Newly created sub-buffers were not being
8989marked
8990as initialized.
8991
8992
8993Fixed a problem in AcpiTbFindTable where incorrect string compares were
8994performed on the OemId and OemTableId table header fields.  These fields
8995are
8996not null terminated, so strncmp is now used instead of strcmp.
8997
8998Implemented a restriction on the Store() ASL/AML operator to align the
8999behavior with the ACPI specification.  Previously, any object could be
9000used
9001as the source operand.  Now, the only objects that may be used are
9002Integers,
9003Buffers, Strings, Packages, Object References, and DDB Handles.  If
9004necessary, the original behavior can be restored by enabling the
9005EnableInterpreterSlack flag.
9006
9007Enhanced the optional "implicit return" support to allow an implicit
9008return
9009value from methods that are invoked externally via the AcpiEvaluateObject
9010interface.  This enables implicit returns from the _STA and _INI methods,
9011for example.
9012
9013Changed the Revision() ASL/AML operator to return the current version of
9014the
9015AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
9016returned
9017the supported ACPI version (This is the function of the _REV method).
9018
9019Updated the _REV predefined method to return the currently supported
9020version
9021of ACPI, now 3.
9022
9023Implemented batch mode option for the AcpiExec utility (-b).
9024
9025Code and Data Size: Current and previous core subsystem library sizes are
9026shown below. These are the code and data sizes for the acpica.lib
9027produced
9028by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9029any ACPI driver or OSPM code. The debug version of the code includes the
9030debug output trace mechanism and has a much larger code and data size.
9031Note
9032that these values will vary depending on the efficiency of the compiler
9033and
9034the compiler options used during generation.
9035
9036  Previous Release:
9037    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
9038    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
9039  Current Release:
9040    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
9041    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
9042
9043----------------------------------------
904410 December 2004.  Summary of changes for version 20041210:
9045
9046ACPI 3.0 support is nearing completion in both the iASL compiler and the
9047ACPI CA core subsystem.
9048
90491) ACPI CA Core Subsystem:
9050
9051Fixed a problem in the ToDecimalString operator where the resulting
9052string
9053length was incorrectly calculated. The length is now calculated exactly,
9054eliminating incorrect AE_STRING_LIMIT exceptions.
9055
9056Fixed a problem in the ToHexString operator to allow a maximum 200
9057character
9058string to be produced.
9059
9060Fixed a problem in the internal string-to-buffer and buffer-to-buffer
9061copy
9062routine where the length of the resulting buffer was not truncated to the
9063new size (if the target buffer already existed).
9064
9065Code and Data Size: Current and previous core subsystem library sizes are
9066shown below. These are the code and data sizes for the acpica.lib
9067produced
9068by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9069any ACPI driver or OSPM code. The debug version of the code includes the
9070debug output trace mechanism and has a much larger code and data size.
9071Note
9072that these values will vary depending on the efficiency of the compiler
9073and
9074the compiler options used during generation.
9075
9076  Previous Release:
9077    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
9078    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
9079  Current Release:
9080    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
9081    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
9082
9083
90842) iASL Compiler/Disassembler:
9085
9086Implemented the new ACPI 3.0 resource template macros - DWordSpace,
9087ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
9088Includes support in the disassembler.
9089
9090Implemented support for the new (ACPI 3.0) parameter to the Register
9091macro,
9092AccessSize.
9093
9094Fixed a problem where the _HE resource name for the Interrupt macro was
9095referencing bit 0 instead of bit 1.
9096
9097Implemented check for maximum 255 interrupts in the Interrupt macro.
9098
9099Fixed a problem with the predefined resource descriptor names where
9100incorrect AML code was generated if the offset within the resource buffer
9101was 0 or 1.  The optimizer shortened the AML code to a single byte opcode
9102but did not update the surrounding package lengths.
9103
9104Changes to the Dma macro:  All channels within the channel list must be
9105in
9106the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is
9107optional (default is BusMaster).
9108
9109Implemented check for maximum 7 data bytes for the VendorShort macro.
9110
9111The ReadWrite parameter is now optional for the Memory32 and similar
9112macros.
9113
9114----------------------------------------
911503 December 2004.  Summary of changes for version 20041203:
9116
91171) ACPI CA Core Subsystem:
9118
9119The low-level field insertion/extraction code (exfldio) has been
9120completely
9121rewritten to eliminate unnecessary complexity, bugs, and boundary
9122conditions.
9123
9124Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
9125ToDecimalString
9126operators where the input operand could be inadvertently deleted if no
9127conversion was necessary (e.g., if the input to ToInteger was an Integer
9128object.)
9129
9130Fixed a problem with the ToDecimalString and ToHexString where an
9131incorrect
9132exception code was returned if the resulting string would be > 200 chars.
9133AE_STRING_LIMIT is now returned.
9134
9135Fixed a problem with the Concatenate operator where AE_OK was always
9136returned, even if the operation failed.
9137
9138Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
9139semaphores to be allocated.
9140
9141Code and Data Size: Current and previous core subsystem library sizes are
9142shown below. These are the code and data sizes for the acpica.lib
9143produced
9144by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9145any ACPI driver or OSPM code. The debug version of the code includes the
9146debug output trace mechanism and has a much larger code and data size.
9147Note
9148that these values will vary depending on the efficiency of the compiler
9149and
9150the compiler options used during generation.
9151
9152  Previous Release:
9153    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9154    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9155  Current Release:
9156    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
9157    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
9158
9159
91602) iASL Compiler/Disassembler:
9161
9162Fixed typechecking for the ObjectType and SizeOf operators.  Problem was
9163recently introduced in 20041119.
9164
9165Fixed a problem with the ToUUID macro where the upper nybble of each
9166buffer
9167byte was inadvertently set to zero.
9168
9169----------------------------------------
917019 November 2004.  Summary of changes for version 20041119:
9171
91721) ACPI CA Core Subsystem:
9173
9174Fixed a problem in the internal ConvertToInteger routine where new
9175integers
9176were not truncated to 32 bits for 32-bit ACPI tables. This routine
9177converts
9178buffers and strings to integers.
9179
9180Implemented support to store a value to an Index() on a String object.
9181This
9182is an ACPI 2.0 feature that had not yet been implemented.
9183
9184Implemented new behavior for storing objects to individual package
9185elements
9186(via the Index() operator). The previous behavior was to invoke the
9187implicit
9188conversion rules if an object was already present at the index.  The new
9189behavior is to simply delete any existing object and directly store the
9190new
9191object. Although the ACPI specification seems unclear on this subject,
9192other
9193ACPI implementations behave in this manner.  (This is the root of the
9194AE_BAD_HEX_CONSTANT issue.)
9195
9196Modified the RSDP memory scan mechanism to support the extended checksum
9197for
9198ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
9199RSDP signature is found with a valid checksum.
9200
9201Code and Data Size: Current and previous core subsystem library sizes are
9202shown below. These are the code and data sizes for the acpica.lib
9203produced
9204by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9205any ACPI driver or OSPM code. The debug version of the code includes the
9206debug output trace mechanism and has a much larger code and data size.
9207Note
9208that these values will vary depending on the efficiency of the compiler
9209and
9210the compiler options used during generation.
9211
9212  Previous Release:
9213    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9214    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9215  Current Release:
9216    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9217    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9218
9219
92202) iASL Compiler/Disassembler:
9221
9222Fixed a missing semicolon in the aslcompiler.y file.
9223
9224----------------------------------------
922505 November 2004.  Summary of changes for version 20041105:
9226
92271) ACPI CA Core Subsystem:
9228
9229Implemented support for FADT revision 2.  This was an interim table
9230(between
9231ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
9232
9233Implemented optional support to allow uninitialized LocalX and ArgX
9234variables in a control method.  The variables are initialized to an
9235Integer
9236object with a value of zero.  This support is enabled by setting the
9237AcpiGbl_EnableInterpreterSlack flag to TRUE.
9238
9239Implemented support for Integer objects for the SizeOf operator.  Either
92404
9241or 8 is returned, depending on the current integer size (32-bit or 64-
9242bit,
9243depending on the parent table revision).
9244
9245Fixed a problem in the implementation of the SizeOf and ObjectType
9246operators
9247where the operand was resolved to a value too early, causing incorrect
9248return values for some objects.
9249
9250Fixed some possible memory leaks during exceptional conditions.
9251
9252Code and Data Size: Current and previous core subsystem library sizes are
9253shown below. These are the code and data sizes for the acpica.lib
9254produced
9255by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9256any ACPI driver or OSPM code. The debug version of the code includes the
9257debug output trace mechanism and has a much larger code and data size.
9258Note
9259that these values will vary depending on the efficiency of the compiler
9260and
9261the compiler options used during generation.
9262
9263  Previous Release:
9264    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9265    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
9266  Current Release:
9267    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9268    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9269
9270
92712) iASL Compiler/Disassembler:
9272
9273Implemented support for all ACPI 3.0 reserved names and methods.
9274
9275Implemented all ACPI 3.0 grammar elements in the front-end, including
9276support for semicolons.
9277
9278Implemented the ACPI 3.0 Function() and ToUUID() macros
9279
9280Fixed a problem in the disassembler where a Scope() operator would not be
9281emitted properly if the target of the scope was in another table.
9282
9283----------------------------------------
928415 October 2004.  Summary of changes for version 20041015:
9285
9286Note:  ACPI CA is currently undergoing an in-depth and complete formal
9287evaluation to test/verify the following areas. Other suggestions are
9288welcome. This will result in an increase in the frequency of releases and
9289the number of bug fixes in the next few months.
9290  - Functional tests for all ASL/AML operators
9291  - All implicit/explicit type conversions
9292  - Bit fields and operation regions
9293  - 64-bit math support and 32-bit-only "truncated" math support
9294  - Exceptional conditions, both compiler and interpreter
9295  - Dynamic object deletion and memory leaks
9296  - ACPI 3.0 support when implemented
9297  - External interfaces to the ACPI subsystem
9298
9299
93001) ACPI CA Core Subsystem:
9301
9302Fixed two alignment issues on 64-bit platforms - within debug statements
9303in
9304AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
9305Address
9306field within the non-aligned ACPI generic address structure.
9307
9308Fixed a problem in the Increment and Decrement operators where incorrect
9309operand resolution could result in the inadvertent modification of the
9310original integer when the integer is passed into another method as an
9311argument and the arg is then incremented/decremented.
9312
9313Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
9314bit
9315BCD number were truncated during conversion.
9316
9317Fixed a problem in the ToDecimal operator where the length of the
9318resulting
9319string could be set incorrectly too long if the input operand was a
9320Buffer
9321object.
9322
9323Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
9324(0)
9325within a buffer would prematurely terminate a compare between buffer
9326objects.
9327
9328Added a check for string overflow (>200 characters as per the ACPI
9329specification) during the Concatenate operator with two string operands.
9330
9331Code and Data Size: Current and previous core subsystem library sizes are
9332shown below. These are the code and data sizes for the acpica.lib
9333produced
9334by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9335any ACPI driver or OSPM code. The debug version of the code includes the
9336debug output trace mechanism and has a much larger code and data size.
9337Note
9338that these values will vary depending on the efficiency of the compiler
9339and
9340the compiler options used during generation.
9341
9342  Previous Release:
9343    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9344    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
9345  Current Release:
9346    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9347    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
9348
9349
9350
93512) iASL Compiler/Disassembler:
9352
9353Allow the use of the ObjectType operator on uninitialized Locals and Args
9354(returns 0 as per the ACPI specification).
9355
9356Fixed a problem where the compiler would fault if there was a syntax
9357error
9358in the FieldName of all of the various CreateXXXField operators.
9359
9360Disallow the use of lower case letters within the EISAID macro, as per
9361the
9362ACPI specification.  All EISAID strings must be of the form "UUUNNNN"
9363Where
9364U is an uppercase letter and N is a hex digit.
9365
9366
9367----------------------------------------
936806 October 2004.  Summary of changes for version 20041006:
9369
93701) ACPI CA Core Subsystem:
9371
9372Implemented support for the ACPI 3.0 Timer operator. This ASL function
9373implements a 64-bit timer with 100 nanosecond granularity.
9374
9375Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
9376implement the ACPI 3.0 Timer operator.  This allows the host OS to
9377implement
9378the timer with the best clock available. Also, it keeps the core
9379subsystem
9380out of the clock handling business, since the host OS (usually) performs
9381this function.
9382
9383Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
9384functions use a 64-bit address which is part of the packed ACPI Generic
9385Address Structure. Since the structure is non-aligned, the alignment
9386macros
9387are now used to extract the address to a local variable before use.
9388
9389Fixed a problem where the ToInteger operator assumed all input strings
9390were
9391hexadecimal. The operator now handles both decimal strings and hex
9392strings
9393(prefixed with "0x").
9394
9395Fixed a problem where the string length in the string object created as a
9396result of the internal ConvertToString procedure could be incorrect. This
9397potentially affected all implicit conversions and also the
9398ToDecimalString
9399and ToHexString operators.
9400
9401Fixed two problems in the ToString operator. If the length parameter was
9402zero, an incorrect string object was created and the value of the input
9403length parameter was inadvertently changed from zero to Ones.
9404
9405Fixed a problem where the optional ResourceSource string in the
9406ExtendedIRQ
9407resource macro was ignored.
9408
9409Simplified the interfaces to the internal division functions, reducing
9410code
9411size and complexity.
9412
9413Code and Data Size: Current and previous core subsystem library sizes are
9414shown below. These are the code and data sizes for the acpica.lib
9415produced
9416by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9417any ACPI driver or OSPM code. The debug version of the code includes the
9418debug output trace mechanism and has a much larger code and data size.
9419Note
9420that these values will vary depending on the efficiency of the compiler
9421and
9422the compiler options used during generation.
9423
9424  Previous Release:
9425    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
9426    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
9427  Current Release:
9428    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9429    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
9430
9431
94322) iASL Compiler/Disassembler:
9433
9434Implemented support for the ACPI 3.0 Timer operator.
9435
9436Fixed a problem where the Default() operator was inadvertently ignored in
9437a
9438Switch/Case block.  This was a problem in the translation of the Switch
9439statement to If...Else pairs.
9440
9441Added support to allow a standalone Return operator, with no parentheses
9442(or
9443operands).
9444
9445Fixed a problem with code generation for the ElseIf operator where the
9446translated Else...If parse tree was improperly constructed leading to the
9447loss of some code.
9448
9449----------------------------------------
945022 September 2004.  Summary of changes for version 20040922:
9451
94521) ACPI CA Core Subsystem:
9453
9454Fixed a problem with the implementation of the LNot() operator where
9455"Ones"
9456was not returned for the TRUE case. Changed the code to return Ones
9457instead
9458of (!Arg) which was usually 1. This change affects iASL constant folding
9459for
9460this operator also.
9461
9462Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
9463not
9464initialized properly -- Now zero the entire buffer in this case where the
9465buffer already exists.
9466
9467Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
9468Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
9469related code considerably. This will require changes/updates to all OS
9470interface layers (OSLs.)
9471
9472Implemented a new external interface, AcpiInstallExceptionHandler, to
9473allow
9474a system exception handler to be installed. This handler is invoked upon
9475any
9476run-time exception that occurs during control method execution.
9477
9478Added support for the DSDT in AcpiTbFindTable. This allows the
9479DataTableRegion() operator to access the local copy of the DSDT.
9480
9481Code and Data Size: Current and previous core subsystem library sizes are
9482shown below. These are the code and data sizes for the acpica.lib
9483produced
9484by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9485any ACPI driver or OSPM code. The debug version of the code includes the
9486debug output trace mechanism and has a much larger code and data size.
9487Note
9488that these values will vary depending on the efficiency of the compiler
9489and
9490the compiler options used during generation.
9491
9492  Previous Release:
9493    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
9494    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
9495  Current Release:
9496    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
9497    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
9498
9499
95002) iASL Compiler/Disassembler:
9501
9502Fixed a problem with constant folding and the LNot operator. LNot was
9503returning 1 in the TRUE case, not Ones as per the ACPI specification.
9504This
9505could result in the generation of an incorrect folded/reduced constant.
9506
9507End-Of-File is now allowed within a "//"-style comment.  A parse error no
9508longer occurs if such a comment is at the very end of the input ASL
9509source
9510file.
9511
9512Implemented the "-r" option to override the Revision in the table header.
9513The initial use of this option will be to simplify the evaluation of the
9514AML
9515interpreter by allowing a single ASL source module to be compiled for
9516either
951732-bit or 64-bit integers.
9518
9519
9520----------------------------------------
952127 August 2004.  Summary of changes for version 20040827:
9522
95231) ACPI CA Core Subsystem:
9524
9525- Implemented support for implicit object conversion in the non-numeric
9526logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
9527and
9528LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used;
9529the second operand is implicitly converted on the fly to match the type
9530of
9531the first operand.  For example:
9532
9533    LEqual (Source1, Source2)
9534
9535Source1 and Source2 must each evaluate to an integer, a string, or a
9536buffer.
9537The data type of Source1 dictates the required type of Source2. Source2
9538is
9539implicitly converted if necessary to match the type of Source1.
9540
9541- Updated and corrected the behavior of the string conversion support.
9542The
9543rules concerning conversion of buffers to strings (according to the ACPI
9544specification) are as follows:
9545
9546ToDecimalString - explicit byte-wise conversion of buffer to string of
9547decimal values (0-255) separated by commas. ToHexString - explicit byte-
9548wise
9549conversion of buffer to string of hex values (0-FF) separated by commas.
9550ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
9551byte
9552copy with no transform except NULL terminated. Any other implicit buffer-
9553to-
9554string conversion - byte-wise conversion of buffer to string of hex
9555values
9556(0-FF) separated by spaces.
9557
9558- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
9559
9560- Fixed a problem in AcpiNsGetPathnameLength where the returned length
9561was
9562one byte too short in the case of a node in the root scope.  This could
9563cause a fault during debug output.
9564
9565- Code and Data Size: Current and previous core subsystem library sizes
9566are
9567shown below.  These are the code and data sizes for the acpica.lib
9568produced
9569by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9570any ACPI driver or OSPM code.  The debug version of the code includes the
9571debug output trace mechanism and has a much larger code and data size.
9572Note
9573that these values will vary depending on the efficiency of the compiler
9574and
9575the compiler options used during generation.
9576
9577  Previous Release:
9578    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
9579    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
9580  Current Release:
9581    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
9582    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
9583
9584
95852) iASL Compiler/Disassembler:
9586
9587- Fixed a Linux generation error.
9588
9589
9590----------------------------------------
959116 August 2004.  Summary of changes for version 20040816:
9592
95931) ACPI CA Core Subsystem:
9594
9595Designed and implemented support within the AML interpreter for the so-
9596called "implicit return".  This support returns the result of the last
9597ASL
9598operation within a control method, in the absence of an explicit Return()
9599operator.  A few machines depend on this behavior, even though it is not
9600explicitly supported by the ASL language.  It is optional support that
9601can
9602be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
9603
9604Removed support for the PCI_Config address space from the internal low
9605level
9606hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This
9607support was not used internally, and would not work correctly anyway
9608because
9609the PCI bus number and segment number were not supported.  There are
9610separate interfaces for PCI configuration space access because of the
9611unique
9612interface.
9613
9614Code and Data Size: Current and previous core subsystem library sizes are
9615shown below.  These are the code and data sizes for the acpica.lib
9616produced
9617by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9618any ACPI driver or OSPM code.  The debug version of the code includes the
9619debug output trace mechanism and has a much larger code and data size.
9620Note
9621that these values will vary depending on the efficiency of the compiler
9622and
9623the compiler options used during generation.
9624
9625  Previous Release:
9626    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9627    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
9628  Current Release:
9629    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
9630    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
9631
9632
96332) iASL Compiler/Disassembler:
9634
9635Fixed a problem where constants in ASL expressions at the root level (not
9636within a control method) could be inadvertently truncated during code
9637generation.  This problem was introduced in the 20040715 release.
9638
9639
9640----------------------------------------
964115 July 2004.  Summary of changes for version 20040715:
9642
96431) ACPI CA Core Subsystem:
9644
9645Restructured the internal HW GPE interfaces to pass/track the current
9646state
9647of interrupts (enabled/disabled) in order to avoid possible deadlock and
9648increase flexibility of the interfaces.
9649
9650Implemented a "lexicographical compare" for String and Buffer objects
9651within
9652the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
9653-
9654as per further clarification to the ACPI specification.  Behavior is
9655similar
9656to C library "strcmp".
9657
9658Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
9659external function.  In the 32-bit non-debug case, the stack use has been
9660reduced from 168 bytes to 32 bytes.
9661
9662Deployed a new run-time configuration flag,
9663AcpiGbl_EnableInterpreterSlack,
9664whose purpose is to allow the AML interpreter to forgive certain bad AML
9665constructs.  Default setting is FALSE.
9666
9667Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
9668IO
9669support code.  If enabled, it allows field access to go beyond the end of
9670a
9671region definition if the field is within the region length rounded up to
9672the
9673next access width boundary (a common coding error.)
9674
9675Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
9676ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also,
9677these
9678symbols are lowercased by the latest version of the AcpiSrc tool.
9679
9680The prototypes for the PCI interfaces in acpiosxf.h have been updated to
9681rename "Register" to simply "Reg" to prevent certain compilers from
9682complaining.
9683
9684Code and Data Size: Current and previous core subsystem library sizes are
9685shown below.  These are the code and data sizes for the acpica.lib
9686produced
9687by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9688any ACPI driver or OSPM code.  The debug version of the code includes the
9689debug output trace mechanism and has a much larger code and data size.
9690Note
9691that these values will vary depending on the efficiency of the compiler
9692and
9693the compiler options used during generation.
9694
9695  Previous Release:
9696    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9697    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
9698  Current Release:
9699    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9700    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
9701
9702
97032) iASL Compiler/Disassembler:
9704
9705Implemented full support for Package objects within the Case() operator.
9706Note: The Break() operator is currently not supported within Case blocks
9707(TermLists) as there is some question about backward compatibility with
9708ACPI
97091.0 interpreters.
9710
9711
9712Fixed a problem where complex terms were not supported properly within
9713the
9714Switch() operator.
9715
9716Eliminated extraneous warning for compiler-emitted reserved names of the
9717form "_T_x".  (Used in Switch/Case operators.)
9718
9719Eliminated optimization messages for "_T_x" objects and small constants
9720within the DefinitionBlock operator.
9721
9722
9723----------------------------------------
972415 June 2004.  Summary of changes for version 20040615:
9725
97261) ACPI CA Core Subsystem:
9727
9728Implemented support for Buffer and String objects (as per ACPI 2.0) for
9729the
9730following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
9731LLessEqual.
9732
9733All directory names in the entire source package are lower case, as they
9734were in earlier releases.
9735
9736Implemented "Disassemble" command in the AML debugger that will
9737disassemble
9738a single control method.
9739
9740Code and Data Size: Current and previous core subsystem library sizes are
9741shown below.  These are the code and data sizes for the acpica.lib
9742produced
9743by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9744any ACPI driver or OSPM code.  The debug version of the code includes the
9745debug output trace mechanism and has a much larger code and data size.
9746Note
9747that these values will vary depending on the efficiency of the compiler
9748and
9749the compiler options used during generation.
9750
9751  Previous Release:
9752    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
9753    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
9754
9755  Current Release:
9756    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9757    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
9758
9759
97602) iASL Compiler/Disassembler:
9761
9762Implemented support for Buffer and String objects (as per ACPI 2.0) for
9763the
9764following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
9765LLessEqual.
9766
9767All directory names in the entire source package are lower case, as they
9768were in earlier releases.
9769
9770Fixed a fault when using the -g or -d<nofilename> options if the FADT was
9771not found.
9772
9773Fixed an issue with the Windows version of the compiler where later
9774versions
9775of Windows place the FADT in the registry under the name "FADT" and not
9776"FACP" as earlier versions did.  This applies when using the -g or -
9777d<nofilename> options.  The compiler now looks for both strings as
9778necessary.
9779
9780Fixed a problem with compiler namepath optimization where a namepath
9781within
9782the Scope() operator could not be optimized if the namepath was a subpath
9783of
9784the current scope path.
9785
9786----------------------------------------
978727 May 2004.  Summary of changes for version 20040527:
9788
97891) ACPI CA Core Subsystem:
9790
9791Completed a new design and implementation for EBDA (Extended BIOS Data
9792Area)
9793support in the RSDP scan code.  The original code improperly scanned for
9794the
9795EBDA by simply scanning from memory location 0 to 0x400.  The correct
9796method
9797is to first obtain the EBDA pointer from within the BIOS data area, then
9798scan 1K of memory starting at the EBDA pointer.  There appear to be few
9799if
9800any machines that place the RSDP in the EBDA, however.
9801
9802Integrated a fix for a possible fault during evaluation of BufferField
9803arguments.  Obsolete code that was causing the problem was removed.
9804
9805Found and fixed a problem in the Field Support Code where data could be
9806corrupted on a bit field read that starts on an aligned boundary but does
9807not end on an aligned boundary.  Merged the read/write "datum length"
9808calculation code into a common procedure.
9809
9810Rolled in a couple of changes to the FreeBSD-specific header.
9811
9812
9813Code and Data Size: Current and previous core subsystem library sizes are
9814shown below.  These are the code and data sizes for the acpica.lib
9815produced
9816by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9817any ACPI driver or OSPM code.  The debug version of the code includes the
9818debug output trace mechanism and has a much larger code and data size.
9819Note
9820that these values will vary depending on the efficiency of the compiler
9821and
9822the compiler options used during generation.
9823
9824  Previous Release:
9825    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9826    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
9827  Current Release:
9828    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
9829    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
9830
9831
98322) iASL Compiler/Disassembler:
9833
9834Fixed a generation warning produced by some overly-verbose compilers for
9835a
983664-bit constant.
9837
9838----------------------------------------
983914 May 2004.  Summary of changes for version 20040514:
9840
98411) ACPI CA Core Subsystem:
9842
9843Fixed a problem where hardware GPE enable bits sometimes not set properly
9844during and after GPE method execution.  Result of 04/27 changes.
9845
9846Removed extra "clear all GPEs" when sleeping/waking.
9847
9848Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
9849AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
9850to
9851the new AcpiEv* calls as appropriate.
9852
9853ACPI_OS_NAME was removed from the OS-specific headers.  The default name
9854is
9855now "Microsoft Windows NT" for maximum compatibility.  However this can
9856be
9857changed by modifying the acconfig.h file.
9858
9859Allow a single invocation of AcpiInstallNotifyHandler for a handler that
9860traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag.
9861
9862Run _INI methods on ThermalZone objects.  This is against the ACPI
9863specification, but there is apparently ASL code in the field that has
9864these
9865_INI methods, and apparently "other" AML interpreters execute them.
9866
9867Performed a full 16/32/64 bit lint that resulted in some small changes.
9868
9869Added a sleep simulation command to the AML debugger to test sleep code.
9870
9871Code and Data Size: Current and previous core subsystem library sizes are
9872shown below.  These are the code and data sizes for the acpica.lib
9873produced
9874by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9875any ACPI driver or OSPM code.  The debug version of the code includes the
9876debug output trace mechanism and has a much larger code and data size.
9877Note
9878that these values will vary depending on the efficiency of the compiler
9879and
9880the compiler options used during generation.
9881
9882  Previous Release:
9883    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9884    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
9885  Current Release:
9886    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9887    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
9888
9889----------------------------------------
989027 April 2004.  Summary of changes for version 20040427:
9891
98921) ACPI CA Core Subsystem:
9893
9894Completed a major overhaul of the GPE handling within ACPI CA.  There are
9895now three types of GPEs:  wake-only, runtime-only, and combination
9896wake/run.
9897The only GPEs allowed to be combination wake/run are for button-style
9898devices such as a control-method power button, control-method sleep
9899button,
9900or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are
9901not
9902referenced by any _PRW methods are marked for "runtime" and hardware
9903enabled.  Any GPE that is referenced by a _PRW method is marked for
9904"wake"
9905(and disabled at runtime).  However, at sleep time, only those GPEs that
9906have been specifically enabled for wake via the AcpiEnableGpe interface
9907will
9908actually be hardware enabled.
9909
9910A new external interface has been added, AcpiSetGpeType(), that is meant
9911to
9912be used by device drivers to force a GPE to a particular type.  It will
9913be
9914especially useful for the drivers for the button devices mentioned above.
9915
9916Completed restructuring of the ACPI CA initialization sequence so that
9917default operation region handlers are installed before GPEs are
9918initialized
9919and the _PRW methods are executed.  This will prevent errors when the
9920_PRW
9921methods attempt to access system memory or I/O space.
9922
9923GPE enable/disable no longer reads the GPE enable register.  We now keep
9924the
9925enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We
9926thus no longer depend on the hardware to maintain these bits.
9927
9928Always clear the wake status and fixed/GPE status bits before sleep, even
9929for state S5.
9930
9931Improved the AML debugger output for displaying the GPE blocks and their
9932current status.
9933
9934Added new strings for the _OSI method, of the form "Windows 2001 SPx"
9935where
9936x = 0,1,2,3,4.
9937
9938Fixed a problem where the physical address was incorrectly calculated
9939when
9940the Load() operator was used to directly load from an Operation Region
9941(vs.
9942loading from a Field object.)  Also added check for minimum table length
9943for
9944this case.
9945
9946Fix for multiple mutex acquisition.  Restore original thread SyncLevel on
9947mutex release.
9948
9949Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
9950consistency with the other fields returned.
9951
9952Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such
9953structure for each GPE in the system, so the size of this structure is
9954important.
9955
9956CPU stack requirement reduction:  Cleaned up the method execution and
9957object
9958evaluation paths so that now a parameter structure is passed, instead of
9959copying the various method parameters over and over again.
9960
9961In evregion.c:  Correctly exit and reenter the interpreter region if and
9962only if dispatching an operation region request to a user-installed
9963handler.
9964Do not exit/reenter when dispatching to a default handler (e.g., default
9965system memory or I/O handlers)
9966
9967
9968Notes for updating drivers for the new GPE support.  The following
9969changes
9970must be made to ACPI-related device drivers that are attached to one or
9971more
9972GPEs: (This information will be added to the ACPI CA Programmer
9973Reference.)
9974
99751) AcpiInstallGpeHandler no longer automatically enables the GPE, you
9976must
9977explicitly call AcpiEnableGpe.
99782) There is a new interface called AcpiSetGpeType. This should be called
9979before enabling the GPE.  Also, this interface will automatically disable
9980the GPE if it is currently enabled.
99813) AcpiEnableGpe no longer supports a GPE type flag.
9982
9983Specific drivers that must be changed:
99841) EC driver:
9985    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
9986AeGpeHandler, NULL);
9987    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
9988    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
9989
99902) Button Drivers (Power, Lid, Sleep):
9991Run _PRW method under parent device
9992If _PRW exists: /* This is a control-method button */
9993    Extract GPE number and possibly GpeDevice
9994    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
9995    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
9996
9997For all other devices that have _PRWs, we automatically set the GPE type
9998to
9999ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
10000This
10001must be done on a selective basis, usually requiring some kind of user
10002app
10003to allow the user to pick the wake devices.
10004
10005
10006Code and Data Size: Current and previous core subsystem library sizes are
10007shown below.  These are the code and data sizes for the acpica.lib
10008produced
10009by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10010any ACPI driver or OSPM code.  The debug version of the code includes the
10011debug output trace mechanism and has a much larger code and data size.
10012Note
10013that these values will vary depending on the efficiency of the compiler
10014and
10015the compiler options used during generation.
10016
10017  Previous Release:
10018    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
10019    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
10020  Current Release:
10021
10022    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
10023    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
10024
10025
10026
10027----------------------------------------
1002802 April 2004.  Summary of changes for version 20040402:
10029
100301) ACPI CA Core Subsystem:
10031
10032Fixed an interpreter problem where an indirect store through an ArgX
10033parameter was incorrectly applying the "implicit conversion rules" during
10034the store.  From the ACPI specification: "If the target is a method local
10035or
10036argument (LocalX or ArgX), no conversion is performed and the result is
10037stored directly to the target".  The new behavior is to disable implicit
10038conversion during ALL stores to an ArgX.
10039
10040Changed the behavior of the _PRW method scan to ignore any and all errors
10041returned by a given _PRW.  This prevents the scan from aborting from the
10042failure of any single _PRW.
10043
10044Moved the runtime configuration parameters from the global init procedure
10045to
10046static variables in acglobal.h.  This will allow the host to override the
10047default values easily.
10048
10049Code and Data Size: Current and previous core subsystem library sizes are
10050shown below.  These are the code and data sizes for the acpica.lib
10051produced
10052by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10053any ACPI driver or OSPM code.  The debug version of the code includes the
10054debug output trace mechanism and has a much larger code and data size.
10055Note
10056that these values will vary depending on the efficiency of the compiler
10057and
10058the compiler options used during generation.
10059
10060  Previous Release:
10061    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
10062    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
10063  Current Release:
10064    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
10065    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
10066
10067
100682) iASL Compiler/Disassembler:
10069
10070iASL now fully disassembles SSDTs.  However, External() statements are
10071not
10072generated automatically for unresolved symbols at this time.  This is a
10073planned feature for future implementation.
10074
10075Fixed a scoping problem in the disassembler that occurs when the type of
10076the
10077target of a Scope() operator is overridden.  This problem caused an
10078incorrectly nested internal namespace to be constructed.
10079
10080Any warnings or errors that are emitted during disassembly are now
10081commented
10082out automatically so that the resulting file can be recompiled without
10083any
10084hand editing.
10085
10086----------------------------------------
1008726 March 2004.  Summary of changes for version 20040326:
10088
100891) ACPI CA Core Subsystem:
10090
10091Implemented support for "wake" GPEs via interaction between GPEs and the
10092_PRW methods.  Every GPE that is pointed to by one or more _PRWs is
10093identified as a WAKE GPE and by default will no longer be enabled at
10094runtime.  Previously, we were blindly enabling all GPEs with a
10095corresponding
10096_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
10097We
10098believe this has been the cause of thousands of "spurious" GPEs on some
10099systems.
10100
10101This new GPE behavior is can be reverted to the original behavior (enable
10102ALL GPEs at runtime) via a runtime flag.
10103
10104Fixed a problem where aliased control methods could not access objects
10105properly.  The proper scope within the namespace was not initialized
10106(transferred to the target of the aliased method) before executing the
10107target method.
10108
10109Fixed a potential race condition on internal object deletion on the
10110return
10111object in AcpiEvaluateObject.
10112
10113Integrated a fix for resource descriptors where both _MEM and _MTP were
10114being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too
10115wide, 0x0F instead of 0x03.)
10116
10117Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
10118preventing
10119a
10120fault in some cases.
10121
10122Updated Notify() values for debug statements in evmisc.c
10123
10124Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
10125
10126Code and Data Size: Current and previous core subsystem library sizes are
10127shown below.  These are the code and data sizes for the acpica.lib
10128produced
10129by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10130any ACPI driver or OSPM code.  The debug version of the code includes the
10131debug output trace mechanism and has a much larger code and data size.
10132Note
10133that these values will vary depending on the efficiency of the compiler
10134and
10135the compiler options used during generation.
10136
10137  Previous Release:
10138
10139    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
10140    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
10141  Current Release:
10142    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
10143    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
10144
10145----------------------------------------
1014611 March 2004.  Summary of changes for version 20040311:
10147
101481) ACPI CA Core Subsystem:
10149
10150Fixed a problem where errors occurring during the parse phase of control
10151method execution did not abort cleanly.  For example, objects created and
10152installed in the namespace were not deleted.  This caused all subsequent
10153invocations of the method to return the AE_ALREADY_EXISTS exception.
10154
10155Implemented a mechanism to force a control method to "Serialized"
10156execution
10157if the method attempts to create namespace objects. (The root of the
10158AE_ALREADY_EXISTS problem.)
10159
10160Implemented support for the predefined _OSI "internal" control method.
10161Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
10162and
10163"Windows 2001.1", and can be easily upgraded for new strings as
10164necessary.
10165This feature will allow "other" operating systems to execute the fully
10166tested, "Windows" code path through the ASL code
10167
10168Global Lock Support:  Now allows multiple acquires and releases with any
10169internal thread.  Removed concept of "owning thread" for this special
10170mutex.
10171
10172Fixed two functions that were inappropriately declaring large objects on
10173the
10174CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage
10175during
10176method execution considerably.
10177
10178Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
10179S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
10180
10181Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
10182defined on the machine.
10183
10184Implemented two runtime options:  One to force all control method
10185execution
10186to "Serialized" to mimic Windows behavior, another to disable _OSI
10187support
10188if it causes problems on a given machine.
10189
10190Code and Data Size: Current and previous core subsystem library sizes are
10191shown below.  These are the code and data sizes for the acpica.lib
10192produced
10193by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10194any ACPI driver or OSPM code.  The debug version of the code includes the
10195debug output trace mechanism and has a much larger code and data size.
10196Note
10197that these values will vary depending on the efficiency of the compiler
10198and
10199the compiler options used during generation.
10200
10201  Previous Release:
10202    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
10203    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
10204  Current Release:
10205    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
10206    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
10207
102082) iASL Compiler/Disassembler:
10209
10210Fixed an array size problem for FreeBSD that would cause the compiler to
10211fault.
10212
10213----------------------------------------
1021420 February 2004.  Summary of changes for version 20040220:
10215
10216
102171) ACPI CA Core Subsystem:
10218
10219Implemented execution of _SxD methods for Device objects in the
10220GetObjectInfo interface.
10221
10222Fixed calls to _SST method to pass the correct arguments.
10223
10224Added a call to _SST on wake to restore to "working" state.
10225
10226Check for End-Of-Buffer failure case in the WalkResources interface.
10227
10228Integrated fix for 64-bit alignment issue in acglobal.h by moving two
10229structures to the beginning of the file.
10230
10231After wake, clear GPE status register(s) before enabling GPEs.
10232
10233After wake, clear/enable power button.  (Perhaps we should clear/enable
10234all
10235fixed events upon wake.)
10236
10237Fixed a couple of possible memory leaks in the Namespace manager.
10238
10239Integrated latest acnetbsd.h file.
10240
10241----------------------------------------
1024211 February 2004.  Summary of changes for version 20040211:
10243
10244
102451) ACPI CA Core Subsystem:
10246
10247Completed investigation and implementation of the call-by-reference
10248mechanism for control method arguments.
10249
10250Fixed a problem where a store of an object into an indexed package could
10251fail if the store occurs within a different method than the method that
10252created the package.
10253
10254Fixed a problem where the ToDecimal operator could return incorrect
10255results.
10256
10257Fixed a problem where the CopyObject operator could fail on some of the
10258more
10259obscure objects (e.g., Reference objects.)
10260
10261Improved the output of the Debug object to display buffer, package, and
10262index objects.
10263
10264Fixed a problem where constructs of the form "RefOf (ArgX)" did not
10265return
10266the expected result.
10267
10268Added permanent ACPI_REPORT_ERROR macros for all instances of the
10269ACPI_AML_INTERNAL exception.
10270
10271Integrated latest version of acfreebsd.h
10272
10273----------------------------------------
1027416 January 2004.  Summary of changes for version 20040116:
10275
10276The purpose of this release is primarily to update the copyright years in
10277each module, thus causing a huge number of diffs.  There are a few small
10278functional changes, however.
10279
102801) ACPI CA Core Subsystem:
10281
10282Improved error messages when there is a problem finding one or more of
10283the
10284required base ACPI tables
10285
10286Reintroduced the definition of APIC_HEADER in actbl.h
10287
10288Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
10289
10290Removed extraneous reference to NewObj in dsmthdat.c
10291
102922) iASL compiler
10293
10294Fixed a problem introduced in December that disabled the correct
10295disassembly
10296of Resource Templates
10297
10298
10299----------------------------------------
1030003 December 2003.  Summary of changes for version 20031203:
10301
103021) ACPI CA Core Subsystem:
10303
10304Changed the initialization of Operation Regions during subsystem
10305init to perform two entire walks of the ACPI namespace; The first
10306to initialize the regions themselves, the second to execute the
10307_REG methods.  This fixed some interdependencies across _REG
10308methods found on some machines.
10309
10310Fixed a problem where a Store(Local0, Local1) could simply update
10311the object reference count, and not create a new copy of the
10312object if the Local1 is uninitialized.
10313
10314Implemented support for the _SST reserved method during sleep
10315transitions.
10316
10317Implemented support to clear the SLP_TYP and SLP_EN bits when
10318waking up, this is apparently required by some machines.
10319
10320When sleeping, clear the wake status only if SleepState is not S5.
10321
10322Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
10323pointer arithmetic advanced a string pointer too far.
10324
10325Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
10326could be returned if the requested table has not been loaded.
10327
10328Within the support for IRQ resources, restructured the handling of
10329the active and edge/level bits.
10330
10331Fixed a few problems in AcpiPsxExecute() where memory could be
10332leaked under certain error conditions.
10333
10334Improved error messages for the cases where the ACPI mode could
10335not be entered.
10336
10337Code and Data Size: Current and previous core subsystem library
10338sizes are shown below.  These are the code and data sizes for the
10339acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10340these values do not include any ACPI driver or OSPM code.  The
10341debug version of the code includes the debug output trace
10342mechanism and has a much larger code and data size.  Note that
10343these values will vary depending on the efficiency of the compiler
10344and the compiler options used during generation.
10345
10346  Previous Release (20031029):
10347    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
10348    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
10349  Current Release:
10350    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
10351    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
10352
103532) iASL Compiler/Disassembler:
10354
10355Implemented a fix for the iASL disassembler where a bad index was
10356generated.  This was most noticeable on 64-bit platforms
10357
10358
10359----------------------------------------
1036029 October 2003.  Summary of changes for version 20031029:
10361
103621) ACPI CA Core Subsystem:
10363
10364
10365Fixed a problem where a level-triggered GPE with an associated
10366_Lxx control method was incorrectly cleared twice.
10367
10368Fixed a problem with the Field support code where an access can
10369occur beyond the end-of-region if the field is non-aligned but
10370extends to the very end of the parent region (resulted in an
10371AE_AML_REGION_LIMIT exception.)
10372
10373Fixed a problem with ACPI Fixed Events where an RT Clock handler
10374would not get invoked on an RTC event.  The RTC event bitmasks for
10375the PM1 registers were not being initialized properly.
10376
10377Implemented support for executing _STA and _INI methods for
10378Processor objects.  Although this is currently not part of the
10379ACPI specification, there is existing ASL code that depends on the
10380init-time execution of these methods.
10381
10382Implemented and deployed a GetDescriptorName function to decode
10383the various types of internal descriptors.  Guards against null
10384descriptors during debug output also.
10385
10386Implemented and deployed a GetNodeName function to extract the 4-
10387character namespace node name.  This function simplifies the debug
10388and error output, as well as guarding against null pointers during
10389output.
10390
10391Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
10392simplify the debug and error output of 64-bit integers.  This
10393macro replaces the HIDWORD and LODWORD macros for dumping these
10394integers.
10395
10396Updated the implementation of the Stall() operator to only call
10397AcpiOsStall(), and also return an error if the operand is larger
10398than 255.  This preserves the required behavior of not
10399relinquishing the processor, as would happen if AcpiOsSleep() was
10400called for "long stalls".
10401
10402Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
10403initialized are now treated as NOOPs.
10404
10405Cleaned up a handful of warnings during 64-bit generation.
10406
10407Fixed a reported error where and incorrect GPE number was passed
10408to the GPE dispatch handler.  This value is only used for error
10409output, however.  Used this opportunity to clean up and streamline
10410the GPE dispatch code.
10411
10412Code and Data Size: Current and previous core subsystem library
10413sizes are shown below.  These are the code and data sizes for the
10414acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10415these values do not include any ACPI driver or OSPM code.  The
10416
10417debug version of the code includes the debug output trace
10418mechanism and has a much larger code and data size.  Note that
10419these values will vary depending on the efficiency of the compiler
10420and the compiler options used during generation.
10421
10422  Previous Release (20031002):
10423    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
10424    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
10425  Current Release:
10426    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
10427    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
10428
10429
104302) iASL Compiler/Disassembler:
10431
10432Updated the iASL compiler to return an error if the operand to the
10433Stall() operator is larger than 255.
10434
10435
10436----------------------------------------
1043702 October 2003.  Summary of changes for version 20031002:
10438
10439
104401) ACPI CA Core Subsystem:
10441
10442Fixed a problem with Index Fields where the index was not
10443incremented for fields that require multiple writes to the
10444index/data registers (Fields that are wider than the data
10445register.)
10446
10447Fixed a problem with all Field objects where a write could go
10448beyond the end-of-field if the field was larger than the access
10449granularity and therefore required multiple writes to complete the
10450request.  An extra write beyond the end of the field could happen
10451inadvertently.
10452
10453Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
10454would incorrectly be returned if the width of the Data Register
10455was larger than the specified field access width.
10456
10457Completed fixes for LoadTable() and Unload() and verified their
10458operation.  Implemented full support for the "DdbHandle" object
10459throughout the ACPI CA subsystem.
10460
10461Implemented full support for the MADT and ECDT tables in the ACPI
10462CA header files.  Even though these tables are not directly
10463consumed by ACPI CA, the header definitions are useful for ACPI
10464device drivers.
10465
10466Integrated resource descriptor fixes posted to the Linux ACPI
10467list.  This included checks for minimum descriptor length, and
10468support for trailing NULL strings within descriptors that have
10469optional string elements.
10470
10471Code and Data Size: Current and previous core subsystem library
10472sizes are shown below.  These are the code and data sizes for the
10473acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10474these values do not include any ACPI driver or OSPM code.  The
10475debug version of the code includes the debug output trace
10476mechanism and has a much larger code and data size.  Note that
10477these values will vary depending on the efficiency of the compiler
10478and the compiler options used during generation.
10479
10480  Previous Release (20030918):
10481    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
10482    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
10483  Current Release:
10484    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
10485    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
10486
10487
104882) iASL Compiler:
10489
10490Implemented detection of non-ASCII characters within the input
10491source ASL file.  This catches attempts to compile binary (AML)
10492files early in the compile, with an informative error message.
10493
10494Fixed a problem where the disassembler would fault if the output
10495filename could not be generated or if the output file could not be
10496opened.
10497
10498----------------------------------------
1049918 September 2003.  Summary of changes for version 20030918:
10500
10501
105021) ACPI CA Core Subsystem:
10503
10504Found and fixed a longstanding problem with the late execution of
10505the various deferred AML opcodes (such as Operation Regions,
10506Buffer Fields, Buffers, and Packages).  If the name string
10507specified for the name of the new object placed the object in a
10508scope other than the current scope, the initialization/execution
10509of the opcode failed.  The solution to this problem was to
10510implement a mechanism where the late execution of such opcodes
10511does not attempt to lookup/create the name a second time in an
10512incorrect scope.  This fixes the "region size computed
10513incorrectly" problem.
10514
10515Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
10516Global Lock AE_BAD_PARAMETER error.
10517
10518Fixed several 64-bit issues with prototypes, casting and data
10519types.
10520
10521Removed duplicate prototype from acdisasm.h
10522
10523Fixed an issue involving EC Operation Region Detach (Shaohua Li)
10524
10525Code and Data Size: Current and previous core subsystem library
10526sizes are shown below.  These are the code and data sizes for the
10527acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10528these values do not include any ACPI driver or OSPM code.  The
10529debug version of the code includes the debug output trace
10530mechanism and has a much larger code and data size.  Note that
10531these values will vary depending on the efficiency of the compiler
10532and the compiler options used during generation.
10533
10534  Previous Release:
10535
10536    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
10537    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
10538  Current Release:
10539    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
10540    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
10541
10542
105432) Linux:
10544
10545Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
10546correct sleep time in seconds.
10547
10548----------------------------------------
1054914 July 2003.  Summary of changes for version 20030619:
10550
105511) ACPI CA Core Subsystem:
10552
10553Parse SSDTs in order discovered, as opposed to reverse order
10554(Hrvoje Habjanic)
10555
10556Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
10557Klausner,
10558   Nate Lawson)
10559
10560
105612) Linux:
10562
10563Dynamically allocate SDT list (suggested by Andi Kleen)
10564
10565proc function return value cleanups (Andi Kleen)
10566
10567Correctly handle NMI watchdog during long stalls (Andrew Morton)
10568
10569Make it so acpismp=force works (reported by Andrew Morton)
10570
10571
10572----------------------------------------
1057319 June 2003.  Summary of changes for version 20030619:
10574
105751) ACPI CA Core Subsystem:
10576
10577Fix To/FromBCD, eliminating the need for an arch-specific #define.
10578
10579Do not acquire a semaphore in the S5 shutdown path.
10580
10581Fix ex_digits_needed for 0. (Takayoshi Kochi)
10582
10583Fix sleep/stall code reversal. (Andi Kleen)
10584
10585Revert a change having to do with control method calling
10586semantics.
10587
105882) Linux:
10589
10590acpiphp update (Takayoshi Kochi)
10591
10592Export acpi_disabled for sonypi (Stelian Pop)
10593
10594Mention acpismp=force in config help
10595
10596Re-add acpitable.c and acpismp=force. This improves backwards
10597
10598compatibility and also cleans up the code to a significant degree.
10599
10600Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
10601
10602----------------------------------------
1060322 May 2003.  Summary of changes for version 20030522:
10604
106051) ACPI CA Core Subsystem:
10606
10607Found and fixed a reported problem where an AE_NOT_FOUND error
10608occurred occasionally during _BST evaluation.  This turned out to
10609be an Owner ID allocation issue where a called method did not get
10610a new ID assigned to it.  Eventually, (after 64k calls), the Owner
10611ID UINT16 would wraparound so that the ID would be the same as the
10612caller's and the called method would delete the caller's
10613namespace.
10614
10615Implemented extended error reporting for control methods that are
10616aborted due to a run-time exception.  Output includes the exact
10617AML instruction that caused the method abort, a dump of the method
10618locals and arguments at the time of the abort, and a trace of all
10619nested control method calls.
10620
10621Modified the interpreter to allow the creation of buffers of zero
10622length from the AML code. Implemented new code to ensure that no
10623attempt is made to actually allocate a memory buffer (of length
10624zero) - instead, a simple buffer object with a NULL buffer pointer
10625and length zero is created.  A warning is no longer issued when
10626the AML attempts to create a zero-length buffer.
10627
10628Implemented a workaround for the "leading asterisk issue" in
10629_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
10630asterisk is automatically removed if present in any HID, UID, or
10631CID strings.  The iASL compiler will still flag this asterisk as
10632an error, however.
10633
10634Implemented full support for _CID methods that return a package of
10635multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
10636now additionally returns a device _CID list if present.  This
10637required a change to the external interface in order to pass an
10638ACPI_BUFFER object as a parameter since the _CID list is of
10639variable length.
10640
10641Fixed a problem with the new AE_SAME_HANDLER exception where
10642handler initialization code did not know about this exception.
10643
10644Code and Data Size: Current and previous core subsystem library
10645sizes are shown below.  These are the code and data sizes for the
10646acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10647these values do not include any ACPI driver or OSPM code.  The
10648debug version of the code includes the debug output trace
10649mechanism and has a much larger code and data size.  Note that
10650these values will vary depending on the efficiency of the compiler
10651and the compiler options used during generation.
10652
10653  Previous Release (20030509):
10654    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
10655    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
10656  Current Release:
10657    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
10658    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
10659
10660
106612) Linux:
10662
10663Fixed a bug in which we would reinitialize the ACPI interrupt
10664after it was already working, thus disabling all ACPI and the IRQs
10665for any other device sharing the interrupt. (Thanks to Stian
10666Jordet)
10667
10668Toshiba driver update (John Belmonte)
10669
10670Return only 0 or 1 for our interrupt handler status (Andrew
10671Morton)
10672
10673
106743) iASL Compiler:
10675
10676Fixed a reported problem where multiple (nested) ElseIf()
10677statements were not handled correctly by the compiler, resulting
10678in incorrect warnings and incorrect AML code.  This was a problem
10679in both the ASL parser and the code generator.
10680
10681
106824) Documentation:
10683
10684Added changes to existing interfaces, new exception codes, and new
10685text concerning reference count object management versus garbage
10686collection.
10687
10688----------------------------------------
1068909 May 2003.  Summary of changes for version 20030509.
10690
10691
106921) ACPI CA Core Subsystem:
10693
10694Changed the subsystem initialization sequence to hold off
10695installation of address space handlers until the hardware has been
10696initialized and the system has entered ACPI mode.  This is because
10697the installation of space handlers can cause _REG methods to be
10698run.  Previously, the _REG methods could potentially be run before
10699ACPI mode was enabled.
10700
10701Fixed some memory leak issues related to address space handler and
10702notify handler installation.  There were some problems with the
10703reference count mechanism caused by the fact that the handler
10704objects are shared across several namespace objects.
10705
10706Fixed a reported problem where reference counts within the
10707namespace were not properly updated when named objects created by
10708method execution were deleted.
10709
10710Fixed a reported problem where multiple SSDTs caused a deletion
10711issue during subsystem termination.  Restructured the table data
10712structures to simplify the linked lists and the related code.
10713
10714Fixed a problem where the table ID associated with secondary
10715tables (SSDTs) was not being propagated into the namespace objects
10716created by those tables.  This would only present a problem for
10717tables that are unloaded at run-time, however.
10718
10719Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
10720type as the length parameter (instead of UINT32).
10721
10722Solved a long-standing problem where an ALREADY_EXISTS error
10723appears on various systems.  This problem could happen when there
10724are multiple PCI_Config operation regions under a single PCI root
10725bus.  This doesn't happen very frequently, but there are some
10726systems that do this in the ASL.
10727
10728Fixed a reported problem where the internal DeleteNode function
10729was incorrectly handling the case where a namespace node was the
10730first in the parent's child list, and had additional peers (not
10731the only child, but first in the list of children.)
10732
10733Code and Data Size: Current core subsystem library sizes are shown
10734below.  These are the code and data sizes for the acpica.lib
10735produced by the Microsoft Visual C++ 6.0 compiler, and these
10736values do not include any ACPI driver or OSPM code.  The debug
10737version of the code includes the debug output trace mechanism and
10738has a much larger code and data size.  Note that these values will
10739vary depending on the efficiency of the compiler and the compiler
10740options used during generation.
10741
10742  Previous Release
10743    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
10744    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
10745  Current Release:
10746    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
10747    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
10748
10749
107502) Linux:
10751
10752Allow ":" in OS override string (Ducrot Bruno)
10753
10754Kobject fix (Greg KH)
10755
10756
107573 iASL Compiler/Disassembler:
10758
10759Fixed a problem in the generation of the C source code files (AML
10760is emitted in C source statements for BIOS inclusion) where the
10761Ascii dump that appears within a C comment at the end of each line
10762could cause a compile time error if the AML sequence happens to
10763have an open comment or close comment sequence embedded.
10764
10765
10766----------------------------------------
1076724 April 2003.  Summary of changes for version 20030424.
10768
10769
107701) ACPI CA Core Subsystem:
10771
10772Support for big-endian systems has been implemented.  Most of the
10773support has been invisibly added behind big-endian versions of the
10774ACPI_MOVE_* macros.
10775
10776Fixed a problem in AcpiHwDisableGpeBlock() and
10777AcpiHwClearGpeBlock() where an incorrect offset was passed to the
10778low level hardware write routine.  The offset parameter was
10779actually eliminated from the low level read/write routines because
10780they had become obsolete.
10781
10782Fixed a problem where a handler object was deleted twice during
10783the removal of a fixed event handler.
10784
10785
107862) Linux:
10787
10788A fix for SMP systems with link devices was contributed by
10789
10790Compaq's Dan Zink.
10791
10792(2.5) Return whether we handled the interrupt in our IRQ handler.
10793(Linux ISRs no longer return void, so we can propagate the handler
10794return value from the ACPI CA core back to the OS.)
10795
10796
10797
107983) Documentation:
10799
10800The ACPI CA Programmer Reference has been updated to reflect new
10801interfaces and changes to existing interfaces.
10802
10803----------------------------------------
1080428 March 2003.  Summary of changes for version 20030328.
10805
108061) ACPI CA Core Subsystem:
10807
10808The GPE Block Device support has been completed.  New interfaces
10809are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
10810interfaces (enable, disable, clear, getstatus) have been split
10811into separate interfaces for Fixed Events and General Purpose
10812Events (GPEs) in order to support GPE Block Devices properly.
10813
10814Fixed a problem where the error message "Failed to acquire
10815semaphore" would appear during operations on the embedded
10816controller (EC).
10817
10818Code and Data Size: Current core subsystem library sizes are shown
10819below.  These are the code and data sizes for the acpica.lib
10820produced by the Microsoft Visual C++ 6.0 compiler, and these
10821values do not include any ACPI driver or OSPM code.  The debug
10822version of the code includes the debug output trace mechanism and
10823has a much larger code and data size.  Note that these values will
10824vary depending on the efficiency of the compiler and the compiler
10825options used during generation.
10826
10827  Previous Release
10828    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
10829    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
10830  Current Release:
10831    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
10832    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
10833
10834
10835----------------------------------------
1083628 February 2003.  Summary of changes for version 20030228.
10837
10838
108391) ACPI CA Core Subsystem:
10840
10841The GPE handling and dispatch code has been completely overhauled
10842in preparation for support of GPE Block Devices (ID ACPI0006).
10843This affects internal data structures and code only; there should
10844be no differences visible externally.  One new file has been
10845added, evgpeblk.c
10846
10847The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
10848fields that are used to determine the GPE block lengths.  The
10849REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
10850structures are ignored.  This is per the ACPI specification but it
10851isn't very clear.  The full 256 Block 0/1 GPEs are now supported
10852(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
10853
10854In the SCI interrupt handler, removed the read of the PM1_CONTROL
10855register to look at the SCI_EN bit.  On some machines, this read
10856causes an SMI event and greatly slows down SCI events.  (This may
10857in fact be the cause of slow battery status response on some
10858systems.)
10859
10860Fixed a problem where a store of a NULL string to a package object
10861could cause the premature deletion of the object.  This was seen
10862during execution of the battery _BIF method on some systems,
10863resulting in no battery data being returned.
10864
10865Added AcpiWalkResources interface to simplify parsing of resource
10866lists.
10867
10868Code and Data Size: Current core subsystem library sizes are shown
10869below.  These are the code and data sizes for the acpica.lib
10870produced by the Microsoft Visual C++ 6.0 compiler, and these
10871values do not include any ACPI driver or OSPM code.  The debug
10872version of the code includes the debug output trace mechanism and
10873has a much larger code and data size.  Note that these values will
10874vary depending on the efficiency of the compiler and the compiler
10875options used during generation.
10876
10877  Previous Release
10878    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10879    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10880  Current Release:
10881    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
10882    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
10883
10884
108852) Linux
10886
10887S3 fixes (Ole Rohne)
10888
10889Update ACPI PHP driver with to use new acpi_walk_resource API
10890(Bjorn Helgaas)
10891
10892Add S4BIOS support (Pavel Machek)
10893
10894Map in entire table before performing checksum (John Stultz)
10895
10896Expand the mem= cmdline to allow the specification of reserved and
10897ACPI DATA blocks (Pavel Machek)
10898
10899Never use ACPI on VISWS
10900
10901Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
10902
10903Revert a change that allowed P_BLK lengths to be 4 or 5. This is
10904causing us to think that some systems support C2 when they really
10905don't.
10906
10907Do not count processor objects for non-present CPUs (Thanks to
10908Dominik Brodowski)
10909
10910
109113) iASL Compiler:
10912
10913Fixed a problem where ASL include files could not be found and
10914opened.
10915
10916Added support for the _PDC reserved name.
10917
10918
10919----------------------------------------
1092022 January 2003.  Summary of changes for version 20030122.
10921
10922
109231) ACPI CA Core Subsystem:
10924
10925Added a check for constructs of the form:  Store (Local0, Local0)
10926where Local0 is not initialized.  Apparently, some BIOS
10927programmers believe that this is a NOOP.  Since this store doesn't
10928do anything anyway, the new prototype behavior will ignore this
10929error.  This is a case where we can relax the strict checking in
10930the interpreter in the name of compatibility.
10931
10932
109332) Linux
10934
10935The AcpiSrc Source Conversion Utility has been released with the
10936Linux package for the first time.  This is the utility that is
10937used to convert the ACPI CA base source code to the Linux version.
10938
10939(Both) Handle P_BLK lengths shorter than 6 more gracefully
10940
10941(Both) Move more headers to include/acpi, and delete an unused
10942header.
10943
10944(Both) Move drivers/acpi/include directory to include/acpi
10945
10946(Both) Boot functions don't use cmdline, so don't pass it around
10947
10948(Both) Remove include of unused header (Adrian Bunk)
10949
10950(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
10951the
10952former now also includes the latter, acpiphp.h only needs the one,
10953now.
10954
10955(2.5) Make it possible to select method of bios restoring after S3
10956resume. [=> no more ugly ifdefs] (Pavel Machek)
10957
10958(2.5) Make proc write interfaces work (Pavel Machek)
10959
10960(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
10961
10962(2.5) Break out ACPI Perf code into its own module, under cpufreq
10963(Dominik Brodowski)
10964
10965(2.4) S4BIOS support (Ducrot Bruno)
10966
10967(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
10968Visinoni)
10969
10970
109713) iASL Compiler:
10972
10973Added support to disassemble SSDT and PSDTs.
10974
10975Implemented support to obtain SSDTs from the Windows registry if
10976available.
10977
10978
10979----------------------------------------
1098009 January 2003.  Summary of changes for version 20030109.
10981
109821) ACPI CA Core Subsystem:
10983
10984Changed the behavior of the internal Buffer-to-String conversion
10985function.  The current ACPI specification states that the contents
10986of the buffer are "converted to a string of two-character
10987hexadecimal numbers, each separated by a space".  Unfortunately,
10988this definition is not backwards compatible with existing ACPI 1.0
10989implementations (although the behavior was not defined in the ACPI
109901.0 specification).  The new behavior simply copies data from the
10991buffer to the string until a null character is found or the end of
10992the buffer is reached.  The new String object is always null
10993terminated.  This problem was seen during the generation of _BIF
10994battery data where incorrect strings were returned for battery
10995type, etc.  This will also require an errata to the ACPI
10996specification.
10997
10998Renamed all instances of NATIVE_UINT and NATIVE_INT to
10999ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
11000
11001Copyright in all module headers (both Linux and non-Linux) has be
11002updated to 2003.
11003
11004Code and Data Size: Current core subsystem library sizes are shown
11005below.  These are the code and data sizes for the acpica.lib
11006produced by the Microsoft Visual C++ 6.0 compiler, and these
11007values do not include any ACPI driver or OSPM code.  The debug
11008version of the code includes the debug output trace mechanism and
11009has a much larger code and data size.  Note that these values will
11010vary depending on the efficiency of the compiler and the compiler
11011options used during generation.
11012
11013  Previous Release
11014    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
11015    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
11016  Current Release:
11017    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
11018    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
11019
11020
110212) Linux
11022
11023Fixed an oops on module insertion/removal (Matthew Tippett)
11024
11025(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
11026
11027(2.5) Replace pr_debug (Randy Dunlap)
11028
11029(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
11030
11031(Both) Eliminate spawning of thread from timer callback, in favor
11032of schedule_work()
11033
11034(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
11035
11036(Both) Added define for Fixed Function HW region (Matthew Wilcox)
11037
11038(Both) Add missing statics to button.c (Pavel Machek)
11039
11040Several changes have been made to the source code translation
11041utility that generates the Linux Code in order to make the code
11042more "Linux-like":
11043
11044All typedefs on structs and unions have been removed in keeping
11045with the Linux coding style.
11046
11047Removed the non-Linux SourceSafe module revision number from each
11048module header.
11049
11050Completed major overhaul of symbols to be lowercased for linux.
11051Doubled the number of symbols that are lowercased.
11052
11053Fixed a problem where identifiers within procedure headers and
11054within quotes were not fully lower cased (they were left with a
11055starting capital.)
11056
11057Some C macros whose only purpose is to allow the generation of 16-
11058bit code are now completely removed in the Linux code, increasing
11059readability and maintainability.
11060
11061----------------------------------------
11062
1106312 December 2002.  Summary of changes for version 20021212.
11064
11065
110661) ACPI CA Core Subsystem:
11067
11068Fixed a problem where the creation of a zero-length AML Buffer
11069would cause a fault.
11070
11071Fixed a problem where a Buffer object that pointed to a static AML
11072buffer (in an ACPI table) could inadvertently be deleted, causing
11073memory corruption.
11074
11075Fixed a problem where a user buffer (passed in to the external
11076ACPI CA interfaces) could be overwritten if the buffer was too
11077small to complete the operation, causing memory corruption.
11078
11079Fixed a problem in the Buffer-to-String conversion code where a
11080string of length one was always returned, regardless of the size
11081of the input Buffer object.
11082
11083Removed the NATIVE_CHAR data type across the entire source due to
11084lack of need and lack of consistent use.
11085
11086Code and Data Size: Current core subsystem library sizes are shown
11087below.  These are the code and data sizes for the acpica.lib
11088produced by the Microsoft Visual C++ 6.0 compiler, and these
11089values do not include any ACPI driver or OSPM code.  The debug
11090version of the code includes the debug output trace mechanism and
11091has a much larger code and data size.  Note that these values will
11092vary depending on the efficiency of the compiler and the compiler
11093options used during generation.
11094
11095  Previous Release
11096    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
11097    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
11098  Current Release:
11099    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
11100    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
11101
11102
11103----------------------------------------
1110405 December 2002.  Summary of changes for version 20021205.
11105
111061) ACPI CA Core Subsystem:
11107
11108Fixed a problem where a store to a String or Buffer object could
11109cause corruption of the DSDT if the object type being stored was
11110the same as the target object type and the length of the object
11111being stored was equal to or smaller than the original (existing)
11112target object.  This was seen to cause corruption of battery _BIF
11113buffers if the _BIF method modified the buffer on the fly.
11114
11115Fixed a problem where an internal error was generated if a control
11116method invocation was used in an OperationRegion, Buffer, or
11117Package declaration.  This was caused by the deferred parsing of
11118the control method and thus the deferred creation of the internal
11119method object.  The solution to this problem was to create the
11120internal method object at the moment the method is encountered in
11121the first pass - so that subsequent references to the method will
11122able to obtain the required parameter count and thus properly
11123parse the method invocation.  This problem presented itself as an
11124AE_AML_INTERNAL during the pass 1 parse phase during table load.
11125
11126Fixed a problem where the internal String object copy routine did
11127not always allocate sufficient memory for the target String object
11128and caused memory corruption.  This problem was seen to cause
11129"Allocation already present in list!" errors as memory allocation
11130became corrupted.
11131
11132Implemented a new function for the evaluation of namespace objects
11133that allows the specification of the allowable return object
11134types.  This simplifies a lot of code that checks for a return
11135object of one or more specific objects returned from the
11136evaluation (such as _STA, etc.)  This may become and external
11137function if it would be useful to ACPI-related drivers.
11138
11139Completed another round of prefixing #defines with "ACPI_" for
11140clarity.
11141
11142Completed additional code restructuring to allow more modular
11143linking for iASL compiler and AcpiExec.  Several files were split
11144creating new files.  New files:  nsparse.c dsinit.c evgpe.c
11145
11146Implemented an abort mechanism to terminate an executing control
11147method via the AML debugger.  This feature is useful for debugging
11148control methods that depend (wait) for specific hardware
11149responses.
11150
11151Code and Data Size: Current core subsystem library sizes are shown
11152below.  These are the code and data sizes for the acpica.lib
11153produced by the Microsoft Visual C++ 6.0 compiler, and these
11154values do not include any ACPI driver or OSPM code.  The debug
11155version of the code includes the debug output trace mechanism and
11156has a much larger code and data size.  Note that these values will
11157vary depending on the efficiency of the compiler and the compiler
11158options used during generation.
11159
11160  Previous Release
11161    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11162    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
11163  Current Release:
11164    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
11165    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
11166
11167
111682) iASL Compiler/Disassembler
11169
11170Fixed a compiler code generation problem for "Interrupt" Resource
11171Descriptors.  If specified in the ASL, the optional "Resource
11172Source Index" and "Resource Source" fields were not inserted into
11173the correct location within the AML resource descriptor, creating
11174an invalid descriptor.
11175
11176Fixed a disassembler problem for "Interrupt" resource descriptors.
11177The optional "Resource Source Index" and "Resource Source" fields
11178were ignored.
11179
11180
11181----------------------------------------
1118222 November 2002.  Summary of changes for version 20021122.
11183
11184
111851) ACPI CA Core Subsystem:
11186
11187Fixed a reported problem where an object stored to a Method Local
11188or Arg was not copied to a new object during the store - the
11189object pointer was simply copied to the Local/Arg.  This caused
11190all subsequent operations on the Local/Arg to also affect the
11191original source of the store operation.
11192
11193Fixed a problem where a store operation to a Method Local or Arg
11194was not completed properly if the Local/Arg contained a reference
11195(from RefOf) to a named field.  The general-purpose store-to-
11196namespace-node code is now used so that this case is handled
11197automatically.
11198
11199Fixed a problem where the internal object copy routine would cause
11200a protection fault if the object being copied was a Package and
11201contained either 1) a NULL package element or 2) a nested sub-
11202package.
11203
11204Fixed a problem with the GPE initialization that resulted from an
11205ambiguity in the ACPI specification.  One section of the
11206specification states that both the address and length of the GPE
11207block must be zero if the block is not supported.  Another section
11208implies that only the address need be zero if the block is not
11209supported.  The code has been changed so that both the address and
11210the length must be non-zero to indicate a valid GPE block (i.e.,
11211if either the address or the length is zero, the GPE block is
11212invalid.)
11213
11214Code and Data Size: Current core subsystem library sizes are shown
11215below.  These are the code and data sizes for the acpica.lib
11216produced by the Microsoft Visual C++ 6.0 compiler, and these
11217values do not include any ACPI driver or OSPM code.  The debug
11218version of the code includes the debug output trace mechanism and
11219has a much larger code and data size.  Note that these values will
11220vary depending on the efficiency of the compiler and the compiler
11221options used during generation.
11222
11223  Previous Release
11224    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
11225    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
11226  Current Release:
11227    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11228    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
11229
11230
112312) Linux
11232
11233Cleaned up EC driver. Exported an external EC read/write
11234interface. By going through this, other drivers (most notably
11235sonypi) will be able to serialize access to the EC.
11236
11237
112383) iASL Compiler/Disassembler
11239
11240Implemented support to optionally generate include files for both
11241ASM and C (the -i switch).  This simplifies BIOS development by
11242automatically creating include files that contain external
11243declarations for the symbols that are created within the
11244
11245(optionally generated) ASM and C AML source files.
11246
11247
11248----------------------------------------
1124915 November 2002.  Summary of changes for version 20021115.
11250
112511) ACPI CA Core Subsystem:
11252
11253Fixed a memory leak problem where an error during resolution of
11254
11255method arguments during a method invocation from another method
11256failed to cleanup properly by deleting all successfully resolved
11257argument objects.
11258
11259Fixed a problem where the target of the Index() operator was not
11260correctly constructed if the source object was a package.  This
11261problem has not been detected because the use of a target operand
11262with Index() is very rare.
11263
11264Fixed a problem with the Index() operator where an attempt was
11265made to delete the operand objects twice.
11266
11267Fixed a problem where an attempt was made to delete an operand
11268twice during execution of the CondRefOf() operator if the target
11269did not exist.
11270
11271Implemented the first of perhaps several internal create object
11272functions that create and initialize a specific object type.  This
11273consolidates duplicated code wherever the object is created, thus
11274shrinking the size of the subsystem.
11275
11276Implemented improved debug/error messages for errors that occur
11277during nested method invocations.  All executing method pathnames
11278are displayed (with the error) as the call stack is unwound - thus
11279simplifying debug.
11280
11281Fixed a problem introduced in the 10/02 release that caused
11282premature deletion of a buffer object if a buffer was used as an
11283ASL operand where an integer operand is required (Thus causing an
11284implicit object conversion from Buffer to Integer.)  The change in
11285the 10/02 release was attempting to fix a memory leak (albeit
11286incorrectly.)
11287
11288Code and Data Size: Current core subsystem library sizes are shown
11289below.  These are the code and data sizes for the acpica.lib
11290produced by the Microsoft Visual C++ 6.0 compiler, and these
11291values do not include any ACPI driver or OSPM code.  The debug
11292version of the code includes the debug output trace mechanism and
11293has a much larger code and data size.  Note that these values will
11294vary depending on the efficiency of the compiler and the compiler
11295options used during generation.
11296
11297  Previous Release
11298    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
11299    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
11300  Current Release:
11301    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
11302    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
11303
11304
113052) Linux
11306
11307Changed the implementation of the ACPI semaphores to use down()
11308instead of down_interruptable().  It is important that the
11309execution of ACPI control methods not be interrupted by signals.
11310Methods must run to completion, or the system may be left in an
11311unknown/unstable state.
11312
11313Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
11314(Shawn Starr)
11315
11316
113173) iASL Compiler/Disassembler
11318
11319
11320Changed the default location of output files.  All output files
11321are now placed in the current directory by default instead of in
11322the directory of the source file.  This change may affect some
11323existing makefiles, but it brings the behavior of the compiler in
11324line with other similar tools.  The location of the output files
11325can be overridden with the -p command line switch.
11326
11327
11328----------------------------------------
1132911 November 2002.  Summary of changes for version 20021111.
11330
11331
113320) ACPI Specification 2.0B is released and is now available at:
11333http://www.acpi.info/index.html
11334
11335
113361) ACPI CA Core Subsystem:
11337
11338Implemented support for the ACPI 2.0 SMBus Operation Regions.
11339This includes the early detection and handoff of the request to
11340the SMBus region handler (avoiding all of the complex field
11341support code), and support for the bidirectional return packet
11342from an SMBus write operation.  This paves the way for the
11343development of SMBus drivers in each host operating system.
11344
11345Fixed a problem where the semaphore WAIT_FOREVER constant was
11346defined as 32 bits, but must be 16 bits according to the ACPI
11347specification.  This had the side effect of causing ASL
11348Mutex/Event timeouts even though the ASL code requested a wait
11349forever.  Changed all internal references to the ACPI timeout
11350parameter to 16 bits to prevent future problems.  Changed the name
11351of WAIT_FOREVER to ACPI_WAIT_FOREVER.
11352
11353Code and Data Size: Current core subsystem library sizes are shown
11354below.  These are the code and data sizes for the acpica.lib
11355produced by the Microsoft Visual C++ 6.0 compiler, and these
11356values do not include any ACPI driver or OSPM code.  The debug
11357version of the code includes the debug output trace mechanism and
11358has a much larger code and data size.  Note that these values will
11359vary depending on the efficiency of the compiler and the compiler
11360options used during generation.
11361
11362  Previous Release
11363    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11364    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
11365  Current Release:
11366    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
11367    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
11368
11369
113702) Linux
11371
11372Module loading/unloading fixes (John Cagle)
11373
11374
113753) iASL Compiler/Disassembler
11376
11377Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
11378
11379Implemented support for the disassembly of all SMBus protocol
11380keywords (SMBQuick, SMBWord, etc.)
11381
11382----------------------------------------
1138301 November 2002.  Summary of changes for version 20021101.
11384
11385
113861) ACPI CA Core Subsystem:
11387
11388Fixed a problem where platforms that have a GPE1 block but no GPE0
11389block were not handled correctly.  This resulted in a "GPE
11390overlap" error message.  GPE0 is no longer required.
11391
11392Removed code added in the previous release that inserted nodes
11393into the namespace in alphabetical order.  This caused some side-
11394effects on various machines.  The root cause of the problem is
11395still under investigation since in theory, the internal ordering
11396of the namespace nodes should not matter.
11397
11398
11399Enhanced error reporting for the case where a named object is not
11400found during control method execution.  The full ACPI namepath
11401(name reference) of the object that was not found is displayed in
11402this case.
11403
11404Note: as a result of the overhaul of the namespace object types in
11405the previous release, the namespace nodes for the predefined
11406scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
11407instead of ACPI_TYPE_ANY.  This simplifies the namespace
11408management code but may affect code that walks the namespace tree
11409looking for specific object types.
11410
11411Code and Data Size: Current core subsystem library sizes are shown
11412below.  These are the code and data sizes for the acpica.lib
11413produced by the Microsoft Visual C++ 6.0 compiler, and these
11414values do not include any ACPI driver or OSPM code.  The debug
11415version of the code includes the debug output trace mechanism and
11416has a much larger code and data size.  Note that these values will
11417vary depending on the efficiency of the compiler and the compiler
11418options used during generation.
11419
11420  Previous Release
11421    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
11422    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
11423  Current Release:
11424    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11425    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
11426
11427
114282) Linux
11429
11430Fixed a problem introduced in the previous release where the
11431Processor and Thermal objects were not recognized and installed in
11432/proc.  This was related to the scope type change described above.
11433
11434
114353) iASL Compiler/Disassembler
11436
11437Implemented the -g option to get all of the required ACPI tables
11438from the registry and save them to files (Windows version of the
11439compiler only.)  The required tables are the FADT, FACS, and DSDT.
11440
11441Added ACPI table checksum validation during table disassembly in
11442order to catch corrupted tables.
11443
11444
11445----------------------------------------
1144622 October 2002.  Summary of changes for version 20021022.
11447
114481) ACPI CA Core Subsystem:
11449
11450Implemented a restriction on the Scope operator that the target
11451must already exist in the namespace at the time the operator is
11452encountered (during table load or method execution).  In other
11453words, forward references are not allowed and Scope() cannot
11454create a new object. This changes the previous behavior where the
11455interpreter would create the name if not found.  This new behavior
11456correctly enables the search-to-root algorithm during namespace
11457lookup of the target name.  Because of this upsearch, this fixes
11458the known Compaq _SB_.OKEC problem and makes both the AML
11459interpreter and iASL compiler compatible with other ACPI
11460implementations.
11461
11462Completed a major overhaul of the internal ACPI object types for
11463the ACPI Namespace and the associated operand objects.  Many of
11464these types had become obsolete with the introduction of the two-
11465pass namespace load.  This cleanup simplifies the code and makes
11466the entire namespace load mechanism much clearer and easier to
11467understand.
11468
11469Improved debug output for tracking scope opening/closing to help
11470diagnose scoping issues.  The old scope name as well as the new
11471scope name are displayed.  Also improved error messages for
11472problems with ASL Mutex objects and error messages for GPE
11473problems.
11474
11475Cleaned up the namespace dump code, removed obsolete code.
11476
11477All string output (for all namespace/object dumps) now uses the
11478common ACPI string output procedure which handles escapes properly
11479and does not emit non-printable characters.
11480
11481Fixed some issues with constants in the 64-bit version of the
11482local C library (utclib.c)
11483
11484
114852) Linux
11486
11487EC Driver:  No longer attempts to acquire the Global Lock at
11488interrupt level.
11489
11490
114913) iASL Compiler/Disassembler
11492
11493Implemented ACPI 2.0B grammar change that disallows all Type 1 and
114942 opcodes outside of a control method.  This means that the
11495"executable" operators (versus the "namespace" operators) cannot
11496be used at the table level; they can only be used within a control
11497method.
11498
11499Implemented the restriction on the Scope() operator where the
11500target must already exist in the namespace at the time the
11501operator is encountered (during ASL compilation). In other words,
11502forward references are not allowed and Scope() cannot create a new
11503object.  This makes the iASL compiler compatible with other ACPI
11504implementations and makes the Scope() implementation adhere to the
11505ACPI specification.
11506
11507Fixed a problem where namepath optimization for the Alias operator
11508was optimizing the wrong path (of the two namepaths.)  This caused
11509a "Missing alias link" error message.
11510
11511Fixed a problem where an "unknown reserved name" warning could be
11512incorrectly generated for names like "_SB" when the trailing
11513underscore is not used in the original ASL.
11514
11515Fixed a problem where the reserved name check did not handle
11516NamePaths with multiple NameSegs correctly.  The first nameseg of
11517the NamePath was examined instead of the last NameSeg.
11518
11519
11520----------------------------------------
11521
1152202 October 2002.  Summary of changes for this release.
11523
11524
115251) ACPI CA Core Subsystem version 20021002:
11526
11527Fixed a problem where a store/copy of a string to an existing
11528string did not always set the string length properly in the String
11529object.
11530
11531Fixed a reported problem with the ToString operator where the
11532behavior was identical to the ToHexString operator instead of just
11533simply converting a raw buffer to a string data type.
11534
11535Fixed a problem where CopyObject and the other "explicit"
11536conversion operators were not updating the internal namespace node
11537type as part of the store operation.
11538
11539Fixed a memory leak during implicit source operand conversion
11540where the original object was not deleted if it was converted to a
11541new object of a different type.
11542
11543Enhanced error messages for all problems associated with namespace
11544lookups.  Common procedure generates and prints the lookup name as
11545well as the formatted status.
11546
11547Completed implementation of a new design for the Alias support
11548within the namespace.  The existing design did not handle the case
11549where a new object was assigned to one of the two names due to the
11550use of an explicit conversion operator, resulting in the two names
11551pointing to two different objects.  The new design simply points
11552the Alias name to the original name node - not to the object.
11553This results in a level of indirection that must be handled in the
11554name resolution mechanism.
11555
11556Code and Data Size: Current core subsystem library sizes are shown
11557below.  These are the code and data sizes for the acpica.lib
11558produced by the Microsoft Visual C++ 6.0 compiler, and these
11559values do not include any ACPI driver or OSPM code.  The debug
11560version of the code includes the debug output trace mechanism and
11561has a larger code and data size.  Note that these values will vary
11562depending on the efficiency of the compiler and the compiler
11563options used during generation.
11564
11565  Previous Release
11566    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
11567    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
11568  Current Release:
11569    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
11570    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
11571
11572
115732) Linux
11574
11575Initialize thermal driver's timer before it is used. (Knut
11576Neumann)
11577
11578Allow handling negative celsius values. (Kochi Takayoshi)
11579
11580Fix thermal management and make trip points. R/W (Pavel Machek)
11581
11582Fix /proc/acpi/sleep. (P. Christeas)
11583
11584IA64 fixes. (David Mosberger)
11585
11586Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
11587
11588Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
11589Brodowski)
11590
11591
115923) iASL Compiler/Disassembler
11593
11594Clarified some warning/error messages.
11595
11596
11597----------------------------------------
1159818 September 2002.  Summary of changes for this release.
11599
11600
116011) ACPI CA Core Subsystem version 20020918:
11602
11603Fixed a reported problem with reference chaining (via the Index()
11604and RefOf() operators) in the ObjectType() and SizeOf() operators.
11605The definition of these operators includes the dereferencing of
11606all chained references to return information on the base object.
11607
11608Fixed a problem with stores to indexed package elements - the
11609existing code would not complete the store if an "implicit
11610conversion" was not performed.  In other words, if the existing
11611object (package element) was to be replaced completely, the code
11612didn't handle this case.
11613
11614Relaxed typechecking on the ASL "Scope" operator to allow the
11615target name to refer to an object of type Integer, String, or
11616Buffer, in addition to the scoping object types (Device,
11617predefined Scopes, Processor, PowerResource, and ThermalZone.)
11618This allows existing AML code that has workarounds for a bug in
11619Windows to function properly.  A warning is issued, however.  This
11620affects both the AML interpreter and the iASL compiler. Below is
11621an example of this type of ASL code:
11622
11623      Name(DEB,0x00)
11624      Scope(DEB)
11625      {
11626
11627Fixed some reported problems with 64-bit integer support in the
11628local implementation of C library functions (clib.c)
11629
11630
116312) Linux
11632
11633Use ACPI fix map region instead of IOAPIC region, since it is
11634undefined in non-SMP.
11635
11636Ensure that the SCI has the proper polarity and trigger, even on
11637systems that do not have an interrupt override entry in the MADT.
11638
116392.5 big driver reorganization (Pat Mochel)
11640
11641Use early table mapping code from acpitable.c (Andi Kleen)
11642
11643New blacklist entries (Andi Kleen)
11644
11645Blacklist improvements. Split blacklist code out into a separate
11646file. Move checking the blacklist to very early. Previously, we
11647would use ACPI tables, and then halfway through init, check the
11648blacklist -- too late. Now, it's early enough to completely fall-
11649back to non-ACPI.
11650
11651
116523) iASL Compiler/Disassembler version 20020918:
11653
11654Fixed a problem where the typechecking code didn't know that an
11655alias could point to a method.  In other words, aliases were not
11656being dereferenced during typechecking.
11657
11658
11659----------------------------------------
1166029 August 2002.  Summary of changes for this release.
11661
116621) ACPI CA Core Subsystem Version 20020829:
11663
11664If the target of a Scope() operator already exists, it must be an
11665object type that actually opens a scope -- such as a Device,
11666Method, Scope, etc.  This is a fatal runtime error.  Similar error
11667check has been added to the iASL compiler also.
11668
11669Tightened up the namespace load to disallow multiple names in the
11670same scope.  This previously was allowed if both objects were of
11671the same type.  (i.e., a lookup was the same as entering a new
11672name).
11673
11674
116752) Linux
11676
11677Ensure that the ACPI interrupt has the proper trigger and
11678polarity.
11679
11680local_irq_disable is extraneous. (Matthew Wilcox)
11681
11682Make "acpi=off" actually do what it says, and not use the ACPI
11683interpreter *or* the tables.
11684
11685Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
11686Takayoshi)
11687
11688
116893) iASL Compiler/Disassembler  Version 20020829:
11690
11691Implemented namepath optimization for name declarations.  For
11692example, a declaration like "Method (\_SB_.ABCD)" would get
11693optimized to "Method (ABCD)" if the declaration is within the
11694\_SB_ scope.  This optimization is in addition to the named
11695reference path optimization first released in the previous
11696version. This would seem to complete all possible optimizations
11697for namepaths within the ASL/AML.
11698
11699If the target of a Scope() operator already exists, it must be an
11700object type that actually opens a scope -- such as a Device,
11701Method, Scope, etc.
11702
11703Implemented a check and warning for unreachable code in the same
11704block below a Return() statement.
11705
11706Fixed a problem where the listing file was not generated if the
11707compiler aborted if the maximum error count was exceeded (200).
11708
11709Fixed a problem where the typechecking of method return values was
11710broken.  This includes the check for a return value when the
11711method is invoked as a TermArg (a return value is expected.)
11712
11713Fixed a reported problem where EOF conditions during a quoted
11714string or comment caused a fault.
11715
11716
11717----------------------------------------
1171815 August 2002.  Summary of changes for this release.
11719
117201) ACPI CA Core Subsystem Version 20020815:
11721
11722Fixed a reported problem where a Store to a method argument that
11723contains a reference did not perform the indirect store correctly.
11724This problem was created during the conversion to the new
11725reference object model - the indirect store to a method argument
11726code was not updated to reflect the new model.
11727
11728Reworked the ACPI mode change code to better conform to ACPI 2.0,
11729handle corner cases, and improve code legibility (Kochi Takayoshi)
11730
11731Fixed a problem with the pathname parsing for the carat (^)
11732prefix.  The heavy use of the carat operator by the new namepath
11733optimization in the iASL compiler uncovered a problem with the AML
11734interpreter handling of this prefix.  In the case where one or
11735more carats precede a single nameseg, the nameseg was treated as
11736standalone and the search rule (to root) was inadvertently
11737applied.  This could cause both the iASL compiler and the
11738interpreter to find the wrong object or to miss the error that
11739should occur if the object does not exist at that exact pathname.
11740
11741Found and fixed the problem where the HP Pavilion DSDT would not
11742load.  This was a relatively minor tweak to the table loading code
11743(a problem caused by the unexpected encounter with a method
11744invocation not within a control method), but it does not solve the
11745overall issue of the execution of AML code at the table level.
11746This investigation is still ongoing.
11747
11748Code and Data Size: Current core subsystem library sizes are shown
11749below.  These are the code and data sizes for the acpica.lib
11750produced by the Microsoft Visual C++ 6.0 compiler, and these
11751values do not include any ACPI driver or OSPM code.  The debug
11752version of the code includes the debug output trace mechanism and
11753has a larger code and data size.  Note that these values will vary
11754depending on the efficiency of the compiler and the compiler
11755options used during generation.
11756
11757  Previous Release
11758    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
11759    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
11760  Current Release:
11761    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
11762    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
11763
11764
117652) Linux
11766
11767Remove redundant slab.h include (Brad Hards)
11768
11769Fix several bugs in thermal.c (Herbert Nachtnebel)
11770
11771Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
11772
11773Change acpi_system_suspend to use updated irq functions (Pavel
11774Machek)
11775
11776Export acpi_get_firmware_table (Matthew Wilcox)
11777
11778Use proper root proc entry for ACPI (Kochi Takayoshi)
11779
11780Fix early-boot table parsing (Bjorn Helgaas)
11781
11782
117833) iASL Compiler/Disassembler
11784
11785Reworked the compiler options to make them more consistent and to
11786use two-letter options where appropriate.  We were running out of
11787sensible letters.   This may break some makefiles, so check the
11788current options list by invoking the compiler with no parameters.
11789
11790Completed the design and implementation of the ASL namepath
11791optimization option for the compiler.  This option optimizes all
11792references to named objects to the shortest possible path.  The
11793first attempt tries to utilize a single nameseg (4 characters) and
11794the "search-to-root" algorithm used by the interpreter.  If that
11795cannot be used (because either the name is not in the search path
11796or there is a conflict with another object with the same name),
11797the pathname is optimized using the carat prefix (usually a
11798shorter string than specifying the entire path from the root.)
11799
11800Implemented support to obtain the DSDT from the Windows registry
11801(when the disassembly option is specified with no input file).
11802Added this code as the implementation for AcpiOsTableOverride in
11803the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
11804utility) to scan memory for the DSDT to the AcpiOsTableOverride
11805function in the DOS OSL to make the disassembler truly OS
11806independent.
11807
11808Implemented a new option to disassemble and compile in one step.
11809When used without an input filename, this option will grab the
11810DSDT from the local machine, disassemble it, and compile it in one
11811step.
11812
11813Added a warning message for invalid escapes (a backslash followed
11814by any character other than the allowable escapes).  This catches
11815the quoted string error "\_SB_" (which should be "\\_SB_" ).
11816
11817Also, there are numerous instances in the ACPI specification where
11818this error occurs.
11819
11820Added a compiler option to disable all optimizations.  This is
11821basically the "compatibility mode" because by using this option,
11822the AML code will come out exactly the same as other ASL
11823compilers.
11824
11825Added error messages for incorrectly ordered dependent resource
11826functions.  This includes: missing EndDependentFn macro at end of
11827dependent resource list, nested dependent function macros (both
11828start and end), and missing StartDependentFn macro.  These are
11829common errors that should be caught at compile time.
11830
11831Implemented _OSI support for the disassembler and compiler.  _OSI
11832must be included in the namespace for proper disassembly (because
11833the disassembler must know the number of arguments.)
11834
11835Added an "optimization" message type that is optional (off by
11836default).  This message is used for all optimizations - including
11837constant folding, integer optimization, and namepath optimization.
11838
11839----------------------------------------
1184025 July 2002.  Summary of changes for this release.
11841
11842
118431) ACPI CA Core Subsystem Version 20020725:
11844
11845The AML Disassembler has been enhanced to produce compilable ASL
11846code and has been integrated into the iASL compiler (see below) as
11847well as the single-step disassembly for the AML debugger and the
11848disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
11849resource templates and macros are fully supported.  The
11850disassembler has been tested on over 30 different AML files,
11851producing identical AML when the resulting disassembled ASL file
11852is recompiled with the same ASL compiler.
11853
11854Modified the Resource Manager to allow zero interrupts and zero
11855dma channels during the GetCurrentResources call.  This was
11856causing problems on some platforms.
11857
11858Added the AcpiOsRedirectOutput interface to the OSL to simplify
11859output redirection for the AcpiOsPrintf and AcpiOsVprintf
11860interfaces.
11861
11862Code and Data Size: Current core subsystem library sizes are shown
11863below.  These are the code and data sizes for the acpica.lib
11864produced by the Microsoft Visual C++ 6.0 compiler, and these
11865values do not include any ACPI driver or OSPM code.  The debug
11866version of the code includes the debug output trace mechanism and
11867has a larger code and data size.  Note that these values will vary
11868depending on the efficiency of the compiler and the compiler
11869options used during generation.
11870
11871  Previous Release
11872    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
11873    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
11874  Current Release:
11875    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
11876    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
11877
11878
118792) Linux
11880
11881Fixed a panic in the EC driver (Dominik Brodowski)
11882
11883Implemented checksum of the R/XSDT itself during Linux table scan
11884(Richard Schaal)
11885
11886
118873) iASL compiler
11888
11889The AML disassembler is integrated into the compiler.  The "-d"
11890option invokes the disassembler  to completely disassemble an
11891input AML file, producing as output a text ASL file with the
11892extension ".dsl" (to avoid name collisions with existing .asl
11893source files.)  A future enhancement will allow the disassembler
11894to obtain the BIOS DSDT from the registry under Windows.
11895
11896Fixed a problem with the VendorShort and VendorLong resource
11897descriptors where an invalid AML sequence was created.
11898
11899Implemented a fix for BufferData term in the ASL parser.  It was
11900inadvertently defined twice, allowing invalid syntax to pass and
11901causing reduction conflicts.
11902
11903Fixed a problem where the Ones opcode could get converted to a
11904value of zero if "Ones" was used where a byte, word or dword value
11905was expected.  The 64-bit value is now truncated to the correct
11906size with the correct value.
11907
11908
11909
11910----------------------------------------
1191102 July 2002.  Summary of changes for this release.
11912
11913
119141) ACPI CA Core Subsystem Version 20020702:
11915
11916The Table Manager code has been restructured to add several new
11917features.  Tables that are not required by the core subsystem
11918(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
11919validated in any way and are returned from AcpiGetFirmwareTable if
11920requested.  The AcpiOsTableOverride interface is now called for
11921each table that is loaded by the subsystem in order to allow the
11922host to override any table it chooses.  Previously, only the DSDT
11923could be overridden.  Added one new files, tbrsdt.c and
11924tbgetall.c.
11925
11926Fixed a problem with the conversion of internal package objects to
11927external objects (when a package is returned from a control
11928method.)  The return buffer length was set to zero instead of the
11929proper length of the package object.
11930
11931Fixed a reported problem with the use of the RefOf and DeRefOf
11932operators when passing reference arguments to control methods.  A
11933new type of Reference object is used internally for references
11934produced by the RefOf operator.
11935
11936Added additional error messages in the Resource Manager to explain
11937AE_BAD_DATA errors when they occur during resource parsing.
11938
11939Split the AcpiEnableSubsystem into two primitives to enable a
11940finer granularity initialization sequence.  These two calls should
11941be called in this order: AcpiEnableSubsystem (flags),
11942AcpiInitializeObjects (flags).  The flags parameter remains the
11943same.
11944
11945
119462) Linux
11947
11948Updated the ACPI utilities module to understand the new style of
11949fully resolved package objects that are now returned from the core
11950subsystem.  This eliminates errors of the form:
11951
11952    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
11953    acpi_utils-0430 [145] acpi_evaluate_reference:
11954        Invalid element in package (not a device reference)
11955
11956The method evaluation utility uses the new buffer allocation
11957scheme instead of calling AcpiEvaluate Object twice.
11958
11959Added support for ECDT. This allows the use of the Embedded
11960
11961Controller before the namespace has been fully initialized, which
11962is necessary for ACPI 2.0 support, and for some laptops to
11963initialize properly. (Laptops using ECDT are still rare, so only
11964limited testing was performed of the added functionality.)
11965
11966Fixed memory leaks in the EC driver.
11967
11968Eliminated a brittle code structure in acpi_bus_init().
11969
11970Eliminated the acpi_evaluate() helper function in utils.c. It is
11971no longer needed since acpi_evaluate_object can optionally
11972allocate memory for the return object.
11973
11974Implemented fix for keyboard hang when getting battery readings on
11975some systems (Stephen White)
11976
11977PCI IRQ routing update (Dominik Brodowski)
11978
11979Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
11980support
11981
11982----------------------------------------
1198311 June 2002.  Summary of changes for this release.
11984
11985
119861) ACPI CA Core Subsystem Version 20020611:
11987
11988Fixed a reported problem where constants such as Zero and One
11989appearing within _PRT packages were not handled correctly within
11990the resource manager code.  Originally reported against the ASL
11991compiler because the code generator now optimizes integers to
11992their minimal AML representation (i.e. AML constants if possible.)
11993The _PRT code now handles all AML constant opcodes correctly
11994(Zero, One, Ones, Revision).
11995
11996Fixed a problem with the Concatenate operator in the AML
11997interpreter where a buffer result object was incorrectly marked as
11998not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
11999
12000All package sub-objects are now fully resolved before they are
12001returned from the external ACPI interfaces.  This means that name
12002strings are resolved to object handles, and constant operators
12003(Zero, One, Ones, Revision) are resolved to Integers.
12004
12005Implemented immediate resolution of the AML Constant opcodes
12006(Zero, One, Ones, Revision) to Integer objects upon detection
12007within the AML stream. This has simplified and reduced the
12008generated code size of the subsystem by eliminating about 10
12009switch statements for these constants (which previously were
12010contained in Reference objects.)  The complicating issues are that
12011the Zero opcode is used as a "placeholder" for unspecified
12012optional target operands and stores to constants are defined to be
12013no-ops.
12014
12015Code and Data Size: Current core subsystem library sizes are shown
12016below. These are the code and data sizes for the acpica.lib
12017produced by the Microsoft Visual C++ 6.0 compiler, and these
12018values do not include any ACPI driver or OSPM code.  The debug
12019version of the code includes the debug output trace mechanism and
12020has a larger code and data size.  Note that these values will vary
12021depending on the efficiency of the compiler and the compiler
12022options used during generation.
12023
12024  Previous Release
12025    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
12026    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
12027  Current Release:
12028    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
12029    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
12030
12031
120322) Linux
12033
12034
12035Added preliminary support for obtaining _TRA data for PCI root
12036bridges (Bjorn Helgaas).
12037
12038
120393) iASL Compiler Version X2046:
12040
12041Fixed a problem where the "_DDN" reserved name was defined to be a
12042control method with one argument.  There are no arguments, and
12043_DDN does not have to be a control method.
12044
12045Fixed a problem with the Linux version of the compiler where the
12046source lines printed with error messages were the wrong lines.
12047This turned out to be the "LF versus CR/LF" difference between
12048Windows and Unix.  This appears to be the longstanding issue
12049concerning listing output and error messages.
12050
12051Fixed a problem with the Linux version of compiler where opcode
12052names within error messages were wrong.  This was caused by a
12053slight difference in the output of the Flex tool on Linux versus
12054Windows.
12055
12056Fixed a problem with the Linux compiler where the hex output files
12057contained some garbage data caused by an internal buffer overrun.
12058
12059
12060----------------------------------------
1206117 May 2002.  Summary of changes for this release.
12062
12063
120641) ACPI CA Core Subsystem Version 20020517:
12065
12066Implemented a workaround to an BIOS bug discovered on the HP
12067OmniBook where the FADT revision number and the table size are
12068inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
12069behavior is to fallback to using only the ACPI 1.0 fields of the
12070FADT if the table is too small to be a ACPI 2.0 table as claimed
12071by the revision number.  Although this is a BIOS bug, this is a
12072case where the workaround is simple enough and with no side
12073effects, so it seemed prudent to add it.  A warning message is
12074issued, however.
12075
12076Implemented minimum size checks for the fixed-length ACPI tables -
12077- the FADT and FACS, as well as consistency checks between the
12078revision number and the table size.
12079
12080Fixed a reported problem in the table override support where the
12081new table pointer was incorrectly treated as a physical address
12082instead of a logical address.
12083
12084Eliminated the use of the AE_AML_ERROR exception and replaced it
12085with more descriptive codes.
12086
12087Fixed a problem where an exception would occur if an ASL Field was
12088defined with no named Field Units underneath it (used by some
12089index fields).
12090
12091Code and Data Size: Current core subsystem library sizes are shown
12092below.  These are the code and data sizes for the acpica.lib
12093produced by the Microsoft Visual C++ 6.0 compiler, and these
12094values do not include any ACPI driver or OSPM code.  The debug
12095version of the code includes the debug output trace mechanism and
12096has a larger code and data size.  Note that these values will vary
12097depending on the efficiency of the compiler and the compiler
12098options used during generation.
12099
12100  Previous Release
12101    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
12102    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
12103  Current Release:
12104    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
12105    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
12106
12107
12108
121092) Linux
12110
12111Much work done on ACPI init (MADT and PCI IRQ routing support).
12112(Paul D. and Dominik Brodowski)
12113
12114Fix PCI IRQ-related panic on boot (Sam Revitch)
12115
12116Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
12117
12118Fix "MHz" typo (Dominik Brodowski)
12119
12120Fix RTC year 2000 issue (Dominik Brodowski)
12121
12122Preclude multiple button proc entries (Eric Brunet)
12123
12124Moved arch-specific code out of include/platform/aclinux.h
12125
121263) iASL Compiler Version X2044:
12127
12128Implemented error checking for the string used in the EISAID macro
12129(Usually used in the definition of the _HID object.)  The code now
12130strictly enforces the PnP format - exactly 7 characters, 3
12131uppercase letters and 4 hex digits.
12132
12133If a raw string is used in the definition of the _HID object
12134(instead of the EISAID macro), the string must contain all
12135alphanumeric characters (e.g., "*PNP0011" is not allowed because
12136of the asterisk.)
12137
12138Implemented checking for invalid use of ACPI reserved names for
12139most of the name creation operators (Name, Device, Event, Mutex,
12140OperationRegion, PowerResource, Processor, and ThermalZone.)
12141Previously, this check was only performed for control methods.
12142
12143Implemented an additional check on the Name operator to emit an
12144error if a reserved name that must be implemented in ASL as a
12145control method is used.  We know that a reserved name must be a
12146method if it is defined with input arguments.
12147
12148The warning emitted when a namespace object reference is not found
12149during the cross reference phase has been changed into an error.
12150The "External" directive should be used for names defined in other
12151modules.
12152
12153
121544) Tools and Utilities
12155
12156The 16-bit tools (adump16 and aexec16) have been regenerated and
12157tested.
12158
12159Fixed a problem with the output of both acpidump and adump16 where
12160the indentation of closing parentheses and brackets was not
12161
12162aligned properly with the parent block.
12163
12164
12165----------------------------------------
1216603 May 2002.  Summary of changes for this release.
12167
12168
121691) ACPI CA Core Subsystem Version 20020503:
12170
12171Added support a new OSL interface that allows the host operating
12172
12173system software to override the DSDT found in the firmware -
12174AcpiOsTableOverride.  With this interface, the OSL can examine the
12175version of the firmware DSDT and replace it with a different one
12176if desired.
12177
12178Added new external interfaces for accessing ACPI registers from
12179device drivers and other system software - AcpiGetRegister and
12180AcpiSetRegister.  This was simply an externalization of the
12181existing AcpiHwBitRegister interfaces.
12182
12183Fixed a regression introduced in the previous build where the
12184ASL/AML CreateField operator always returned an error,
12185"destination must be a NS Node".
12186
12187Extended the maximum time (before failure) to successfully enable
12188ACPI mode to 3 seconds.
12189
12190Code and Data Size: Current core subsystem library sizes are shown
12191below.  These are the code and data sizes for the acpica.lib
12192produced by the Microsoft Visual C++ 6.0 compiler, and these
12193values do not include any ACPI driver or OSPM code.  The debug
12194version of the code includes the debug output trace mechanism and
12195has a larger code and data size.  Note that these values will vary
12196depending on the efficiency of the compiler and the compiler
12197options used during generation.
12198
12199  Previous Release
12200    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
12201    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
12202  Current Release:
12203    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
12204    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
12205
12206
122072) Linux
12208
12209Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
12210free. While 3 out of 4 of our in-house systems work fine, the last
12211one still hangs when testing the LAPIC timer.
12212
12213Renamed many files in 2.5 kernel release to omit "acpi_" from the
12214name.
12215
12216Added warning on boot for Presario 711FR.
12217
12218Sleep improvements (Pavel Machek)
12219
12220ACPI can now be built without CONFIG_PCI enabled.
12221
12222IA64: Fixed memory map functions (JI Lee)
12223
12224
122253) iASL Compiler Version X2043:
12226
12227Added support to allow the compiler to be integrated into the MS
12228VC++ development environment for one-button compilation of single
12229files or entire projects -- with error-to-source-line mapping.
12230
12231Implemented support for compile-time constant folding for the
12232Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
12233specification.  This allows the ASL writer to use expressions
12234instead of Integer/Buffer/String constants in terms that must
12235evaluate to constants at compile time and will also simplify the
12236emitted AML in any such sub-expressions that can be folded
12237(evaluated at compile-time.)  This increases the size of the
12238compiler significantly because a portion of the ACPI CA AML
12239interpreter is included within the compiler in order to pre-
12240evaluate constant expressions.
12241
12242
12243Fixed a problem with the "Unicode" ASL macro that caused the
12244compiler to fault.  (This macro is used in conjunction with the
12245_STR reserved name.)
12246
12247Implemented an AML opcode optimization to use the Zero, One, and
12248Ones opcodes where possible to further reduce the size of integer
12249constants and thus reduce the overall size of the generated AML
12250code.
12251
12252Implemented error checking for new reserved terms for ACPI version
122532.0A.
12254
12255Implemented the -qr option to display the current list of ACPI
12256reserved names known to the compiler.
12257
12258Implemented the -qc option to display the current list of ASL
12259operators that are allowed within constant expressions and can
12260therefore be folded at compile time if the operands are constants.
12261
12262
122634) Documentation
12264
12265Updated the Programmer's Reference for new interfaces, data types,
12266and memory allocation model options.
12267
12268Updated the iASL Compiler User Reference to apply new format and
12269add information about new features and options.
12270
12271----------------------------------------
1227219 April 2002.  Summary of changes for this release.
12273
122741) ACPI CA Core Subsystem Version 20020419:
12275
12276The source code base for the Core Subsystem has been completely
12277cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
12278versions.  The Lint option files used are included in the
12279/acpi/generate/lint directory.
12280
12281Implemented enhanced status/error checking across the entire
12282Hardware manager subsystem.  Any hardware errors (reported from
12283the OSL) are now bubbled up and will abort a running control
12284method.
12285
12286
12287Fixed a problem where the per-ACPI-table integer width (32 or 64)
12288was stored only with control method nodes, causing a fault when
12289non-control method code was executed during table loading.  The
12290solution implemented uses a global variable to indicate table
12291width across the entire ACPI subsystem.  Therefore, ACPI CA does
12292not support mixed integer widths across different ACPI tables
12293(DSDT, SSDT).
12294
12295Fixed a problem where NULL extended fields (X fields) in an ACPI
122962.0 ACPI FADT caused the table load to fail.  Although the
12297existing ACPI specification is a bit fuzzy on this topic, the new
12298behavior is to fall back on a ACPI 1.0 field if the corresponding
12299ACPI 2.0 X field is zero (even though the table revision indicates
12300a full ACPI 2.0 table.)  The ACPI specification will be updated to
12301clarify this issue.
12302
12303Fixed a problem with the SystemMemory operation region handler
12304where memory was always accessed byte-wise even if the AML-
12305specified access width was larger than a byte.  This caused
12306problems on systems with memory-mapped I/O.  Memory is now
12307accessed with the width specified.  On systems that do not support
12308non-aligned transfers, a check is made to guarantee proper address
12309alignment before proceeding in order to avoid an AML-caused
12310alignment fault within the kernel.
12311
12312
12313Fixed a problem with the ExtendedIrq resource where only one byte
12314of the 4-byte Irq field was extracted.
12315
12316Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
12317function was out of date and required a rewrite.
12318
12319Code and Data Size: Current core subsystem library sizes are shown
12320below.  These are the code and data sizes for the acpica.lib
12321produced by the Microsoft Visual C++ 6.0 compiler, and these
12322values do not include any ACPI driver or OSPM code.  The debug
12323version of the code includes the debug output trace mechanism and
12324has a larger code and data size.  Note that these values will vary
12325depending on the efficiency of the compiler and the compiler
12326options used during generation.
12327
12328  Previous Release
12329    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
12330    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
12331  Current Release:
12332    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
12333    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
12334
12335
123362) Linux
12337
12338PCI IRQ routing fixes (Dominik Brodowski)
12339
12340
123413) iASL Compiler Version X2042:
12342
12343Implemented an additional compile-time error check for a field
12344unit whose size + minimum access width would cause a run-time
12345access beyond the end-of-region.  Previously, only the field size
12346itself was checked.
12347
12348The Core subsystem and iASL compiler now share a common parse
12349object in preparation for compile-time evaluation of the type
123503/4/5 ASL operators.
12351
12352
12353----------------------------------------
12354Summary of changes for this release: 03_29_02
12355
123561) ACPI CA Core Subsystem Version 20020329:
12357
12358Implemented support for late evaluation of TermArg operands to
12359Buffer and Package objects.  This allows complex expressions to be
12360used in the declarations of these object types.
12361
12362Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
123631.0, if the field was larger than 32 bits, it was returned as a
12364buffer - otherwise it was returned as an integer.  In ACPI 2.0,
12365the field is returned as a buffer only if the field is larger than
1236664 bits.  The TableRevision is now considered when making this
12367conversion to avoid incompatibility with existing ASL code.
12368
12369Implemented logical addressing for AcpiOsGetRootPointer.  This
12370allows an RSDP with either a logical or physical address.  With
12371this support, the host OS can now override all ACPI tables with
12372one logical RSDP.  Includes implementation of  "typed" pointer
12373support to allow a common data type for both physical and logical
12374pointers internally.  This required a change to the
12375AcpiOsGetRootPointer interface.
12376
12377Implemented the use of ACPI 2.0 Generic Address Structures for all
12378GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
12379mapped I/O for these ACPI features.
12380
12381Initialization now ignores not only non-required tables (All
12382tables other than the FADT, FACS, DSDT, and SSDTs), but also does
12383not validate the table headers of unrecognized tables.
12384
12385Fixed a problem where a notify handler could only be
12386installed/removed on an object of type Device.  All "notify"
12387
12388objects are now supported -- Devices, Processor, Power, and
12389Thermal.
12390
12391Removed most verbosity from the ACPI_DB_INFO debug level.  Only
12392critical information is returned when this debug level is enabled.
12393
12394Code and Data Size: Current core subsystem library sizes are shown
12395below.  These are the code and data sizes for the acpica.lib
12396produced by the Microsoft Visual C++ 6.0 compiler, and these
12397values do not include any ACPI driver or OSPM code.  The debug
12398version of the code includes the debug output trace mechanism and
12399has a larger code and data size.  Note that these values will vary
12400depending on the efficiency of the compiler and the compiler
12401options used during generation.
12402
12403  Previous Release
12404    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
12405    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
12406  Current Release:
12407    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
12408    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
12409
12410
124112) Linux:
12412
12413The processor driver (acpi_processor.c) now fully supports ACPI
124142.0-based processor performance control (e.g. Intel(R)
12415SpeedStep(TM) technology) Note that older laptops that only have
12416the Intel "applet" interface are not supported through this.  The
12417'limit' and 'performance' interface (/proc) are fully functional.
12418[Note that basic policy for controlling performance state
12419transitions will be included in the next version of ospmd.]  The
12420idle handler was modified to more aggressively use C2, and PIIX4
12421errata handling underwent a complete overhaul (big thanks to
12422Dominik Brodowski).
12423
12424Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
12425based devices in the ACPI namespace are now dynamically bound
12426(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
12427This allows, among other things, ACPI to resolve bus numbers for
12428subordinate PCI bridges.
12429
12430Enhanced PCI IRQ routing to get the proper bus number for _PRT
12431entries defined underneath PCI bridges.
12432
12433Added IBM 600E to bad bios list due to invalid _ADR value for
12434PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
12435
12436In the process of adding full MADT support (e.g. IOAPIC) for IA32
12437(acpi.c, mpparse.c) -- stay tuned.
12438
12439Added back visual differentiation between fixed-feature and
12440control-method buttons in dmesg.  Buttons are also subtyped (e.g.
12441button/power/PWRF) to simplify button identification.
12442
12443We no longer use -Wno-unused when compiling debug. Please ignore
12444any "_THIS_MODULE defined but not used" messages.
12445
12446Can now shut down the system using "magic sysrq" key.
12447
12448
124493) iASL Compiler version 2041:
12450
12451Fixed a problem where conversion errors for hex/octal/decimal
12452constants were not reported.
12453
12454Implemented a fix for the General Register template Address field.
12455This field was 8 bits when it should be 64.
12456
12457Fixed a problem where errors/warnings were no longer being emitted
12458within the listing output file.
12459
12460Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
12461exactly 4 characters, alphanumeric only.
12462
12463
12464
12465
12466----------------------------------------
12467Summary of changes for this release: 03_08_02
12468
12469
124701) ACPI CA Core Subsystem Version 20020308:
12471
12472Fixed a problem with AML Fields where the use of the "AccessAny"
12473keyword could cause an interpreter error due to attempting to read
12474or write beyond the end of the parent Operation Region.
12475
12476Fixed a problem in the SystemMemory Operation Region handler where
12477an attempt was made to map memory beyond the end of the region.
12478This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
12479errors on some Linux systems.
12480
12481Fixed a problem where the interpreter/namespace "search to root"
12482algorithm was not functioning for some object types.  Relaxed the
12483internal restriction on the search to allow upsearches for all
12484external object types as well as most internal types.
12485
12486
124872) Linux:
12488
12489We now use safe_halt() macro versus individual calls to sti | hlt.
12490
12491Writing to the processor limit interface should now work. "echo 1"
12492will increase the limit, 2 will decrease, and 0 will reset to the
12493
12494default.
12495
12496
124973) ASL compiler:
12498
12499Fixed segfault on Linux version.
12500
12501
12502----------------------------------------
12503Summary of changes for this release: 02_25_02
12504
125051) ACPI CA Core Subsystem:
12506
12507
12508Fixed a problem where the GPE bit masks were not initialized
12509properly, causing erratic GPE behavior.
12510
12511Implemented limited support for multiple calling conventions.  The
12512code can be generated with either the VPL (variable parameter
12513list, or "C") convention, or the FPL (fixed parameter list, or
12514"Pascal") convention.  The core subsystem is about 3.4% smaller
12515when generated with FPL.
12516
12517
125182) Linux
12519
12520Re-add some /proc/acpi/event functionality that was lost during
12521the rewrite
12522
12523Resolved issue with /proc events for fixed-feature buttons showing
12524up as the system device.
12525
12526Fixed checks on C2/C3 latencies to be inclusive of maximum values.
12527
12528Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
12529
12530Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
12531
12532Fixed limit interface & usage to fix bugs with passive cooling
12533hysterisis.
12534
12535Restructured PRT support.
12536
12537
12538----------------------------------------
12539Summary of changes for this label: 02_14_02
12540
12541
125421) ACPI CA Core Subsystem:
12543
12544Implemented support in AcpiLoadTable to allow loading of FACS and
12545FADT tables.
12546
12547Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
12548been removed.  All 64-bit platforms should be migrated to the ACPI
125492.0 tables.  The actbl71.h header has been removed from the source
12550tree.
12551
12552All C macros defined within the subsystem have been prefixed with
12553"ACPI_" to avoid collision with other system include files.
12554
12555Removed the return value for the two AcpiOsPrint interfaces, since
12556it is never used and causes lint warnings for ignoring the return
12557value.
12558
12559Added error checking to all internal mutex acquire and release
12560calls.  Although a failure from one of these interfaces is
12561probably a fatal system error, these checks will cause the
12562immediate abort of the currently executing method or interface.
12563
12564Fixed a problem where the AcpiSetCurrentResources interface could
12565fault.  This was a side effect of the deployment of the new memory
12566allocation model.
12567
12568Fixed a couple of problems with the Global Lock support introduced
12569in the last major build.  The "common" (1.0/2.0) internal FACS was
12570being overwritten with the FACS signature and clobbering the
12571Global Lock pointer.  Also, the actual firmware FACS was being
12572unmapped after construction of the "common" FACS, preventing
12573access to the actual Global Lock field within it.  The "common"
12574internal FACS is no longer installed as an actual ACPI table; it
12575is used simply as a global.
12576
12577Code and Data Size: Current core subsystem library sizes are shown
12578below.  These are the code and data sizes for the acpica.lib
12579produced by the Microsoft Visual C++ 6.0 compiler, and these
12580values do not include any ACPI driver or OSPM code.  The debug
12581version of the code includes the debug output trace mechanism and
12582has a larger code and data size.  Note that these values will vary
12583depending on the efficiency of the compiler and the compiler
12584options used during generation.
12585
12586  Previous Release (02_07_01)
12587    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
12588    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
12589  Current Release:
12590    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
12591    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
12592
12593
125942) Linux
12595
12596Updated Linux-specific code for core macro and OSL interface
12597changes described above.
12598
12599Improved /proc/acpi/event. It now can be opened only once and has
12600proper poll functionality.
12601
12602Fixed and restructured power management (acpi_bus).
12603
12604Only create /proc "view by type" when devices of that class exist.
12605
12606Fixed "charging/discharging" bug (and others) in acpi_battery.
12607
12608Improved thermal zone code.
12609
12610
126113) ASL Compiler, version X2039:
12612
12613
12614Implemented the new compiler restriction on ASL String hex/octal
12615escapes to non-null, ASCII values.  An error results if an invalid
12616value is used.  (This will require an ACPI 2.0 specification
12617change.)
12618
12619AML object labels that are output to the optional C and ASM source
12620are now prefixed with both the ACPI table signature and table ID
12621to help guarantee uniqueness within a large BIOS project.
12622
12623
12624----------------------------------------
12625Summary of changes for this label: 02_01_02
12626
126271) ACPI CA Core Subsystem:
12628
12629ACPI 2.0 support is complete in the entire Core Subsystem and the
12630ASL compiler. All new ACPI 2.0 operators are implemented and all
12631other changes for ACPI 2.0 support are complete.  With
12632simultaneous code and data optimizations throughout the subsystem,
12633ACPI 2.0 support has been implemented with almost no additional
12634cost in terms of code and data size.
12635
12636Implemented a new mechanism for allocation of return buffers.  If
12637the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
12638be allocated on behalf of the caller.  Consolidated all return
12639buffer validation and allocation to a common procedure.  Return
12640buffers will be allocated via the primary OSL allocation interface
12641since it appears that a separate pool is not needed by most users.
12642If a separate pool is required for these buffers, the caller can
12643still use the original mechanism and pre-allocate the buffer(s).
12644
12645Implemented support for string operands within the DerefOf
12646operator.
12647
12648Restructured the Hardware and Event managers to be table driven,
12649simplifying the source code and reducing the amount of generated
12650code.
12651
12652Split the common read/write low-level ACPI register bitfield
12653procedure into a separate read and write, simplifying the code
12654considerably.
12655
12656Obsoleted the AcpiOsCallocate OSL interface.  This interface was
12657used only a handful of times and didn't have enough critical mass
12658for a separate interface.  Replaced with a common calloc procedure
12659in the core.
12660
12661Fixed a reported problem with the GPE number mapping mechanism
12662that allows GPE1 numbers to be non-contiguous with GPE0.
12663Reorganized the GPE information and shrunk a large array that was
12664originally large enough to hold info for all possible GPEs (256)
12665to simply large enough to hold all GPEs up to the largest GPE
12666number on the machine.
12667
12668Fixed a reported problem with resource structure alignment on 64-
12669bit platforms.
12670
12671Changed the AcpiEnableEvent and AcpiDisableEvent external
12672interfaces to not require any flags for the common case of
12673enabling/disabling a GPE.
12674
12675Implemented support to allow a "Notify" on a Processor object.
12676
12677Most TBDs in comments within the source code have been resolved
12678and eliminated.
12679
12680
12681Fixed a problem in the interpreter where a standalone parent
12682prefix (^) was not handled correctly in the interpreter and
12683debugger.
12684
12685Removed obsolete and unnecessary GPE save/restore code.
12686
12687Implemented Field support in the ASL Load operator.  This allows a
12688table to be loaded from a named field, in addition to loading a
12689table directly from an Operation Region.
12690
12691Implemented timeout and handle support in the external Global Lock
12692interfaces.
12693
12694Fixed a problem in the AcpiDump utility where pathnames were no
12695longer being generated correctly during the dump of named objects.
12696
12697Modified the AML debugger to give a full display of if/while
12698predicates instead of just one AML opcode at a time.  (The
12699predicate can have several nested ASL statements.)  The old method
12700was confusing during single stepping.
12701
12702Code and Data Size: Current core subsystem library sizes are shown
12703below. These are the code and data sizes for the acpica.lib
12704produced by the Microsoft Visual C++ 6.0 compiler, and these
12705values do not include any ACPI driver or OSPM code.  The debug
12706version of the code includes the debug output trace mechanism and
12707has a larger code and data size.  Note that these values will vary
12708depending on the efficiency of the compiler and the compiler
12709options used during generation.
12710
12711  Previous Release (12_18_01)
12712     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
12713     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
12714   Current Release:
12715     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
12716     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
12717
127182) Linux
12719
12720 Implemented fix for PIIX reverse throttling errata (Processor
12721driver)
12722
12723Added new Limit interface (Processor and Thermal drivers)
12724
12725New thermal policy (Thermal driver)
12726
12727Many updates to /proc
12728
12729Battery "low" event support (Battery driver)
12730
12731Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
12732
12733IA32 - IA64 initialization unification, no longer experimental
12734
12735Menuconfig options redesigned
12736
127373) ASL Compiler, version X2037:
12738
12739Implemented several new output features to simplify integration of
12740AML code into  firmware: 1) Output the AML in C source code with
12741labels for each named ASL object.  The    original ASL source code
12742is interleaved as C comments. 2) Output the AML in ASM source code
12743with labels and interleaved ASL    source. 3) Output the AML in
12744raw hex table form, in either C or ASM.
12745
12746Implemented support for optional string parameters to the
12747LoadTable operator.
12748
12749Completed support for embedded escape sequences within string
12750literals.  The compiler now supports all single character escapes
12751as well as the Octal and Hex escapes.  Note: the insertion of a
12752null byte into a string literal (via the hex/octal escape) causes
12753the string to be immediately terminated.  A warning is issued.
12754
12755Fixed a problem where incorrect AML was generated for the case
12756where an ASL namepath consists of a single parent prefix (
12757
12758) with no trailing name segments.
12759
12760The compiler has been successfully generated with a 64-bit C
12761compiler.
12762
12763
12764
12765
12766----------------------------------------
12767Summary of changes for this label: 12_18_01
12768
127691) Linux
12770
12771Enhanced blacklist with reason and severity fields. Any table's
12772signature may now be used to identify a blacklisted system.
12773
12774Call _PIC control method to inform the firmware which interrupt
12775model the OS is using. Turn on any disabled link devices.
12776
12777Cleaned up busmgr /proc error handling (Andreas Dilger)
12778
12779 2) ACPI CA Core Subsystem:
12780
12781Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
12782while loop)
12783
12784Completed implementation of the ACPI 2.0 "Continue",
12785"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
12786operators.  All new ACPI 2.0 operators are now implemented in both
12787the ASL compiler and the AML interpreter.  The only remaining ACPI
127882.0 task is support for the String data type in the DerefOf
12789operator.  Fixed a problem with AcquireMutex where the status code
12790was lost if the caller had to actually wait for the mutex.
12791
12792Increased the maximum ASL Field size from 64K bits to 4G bits.
12793
12794Completed implementation of the external Global Lock interfaces --
12795AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
12796Handler parameters were added.
12797
12798Completed another pass at removing warnings and issues when
12799compiling with 64-bit compilers.  The code now compiles cleanly
12800with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
12801add and subtract (diff) macros have changed considerably.
12802
12803
12804Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1280564-bit platforms, 32-bits on all others.  This type is used
12806wherever memory allocation and/or the C sizeof() operator is used,
12807and affects the OSL memory allocation interfaces AcpiOsAllocate
12808and AcpiOsCallocate.
12809
12810Implemented sticky user breakpoints in the AML debugger.
12811
12812Code and Data Size: Current core subsystem library sizes are shown
12813below. These are the code and data sizes for the acpica.lib
12814produced by the Microsoft Visual C++ 6.0 compiler, and these
12815values do not include any ACPI driver or OSPM code.  The debug
12816version of the code includes the debug output trace mechanism and
12817has a larger code and data size. Note that these values will vary
12818depending on the efficiency of the compiler and the compiler
12819options used during generation.
12820
12821  Previous Release (12_05_01)
12822     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
12823     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
12824   Current Release:
12825     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
12826     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
12827
12828 3) ASL Compiler, version X2034:
12829
12830Now checks for (and generates an error if detected) the use of a
12831Break or Continue statement without an enclosing While statement.
12832
12833
12834Successfully generated the compiler with the Intel 64-bit C
12835compiler.
12836
12837 ----------------------------------------
12838Summary of changes for this label: 12_05_01
12839
12840 1) ACPI CA Core Subsystem:
12841
12842The ACPI 2.0 CopyObject operator is fully implemented.  This
12843operator creates a new copy of an object (and is also used to
12844bypass the "implicit conversion" mechanism of the Store operator.)
12845
12846The ACPI 2.0 semantics for the SizeOf operator are fully
12847implemented.  The change is that performing a SizeOf on a
12848reference object causes an automatic dereference of the object to
12849tha actual value before the size is evaluated. This behavior was
12850undefined in ACPI 1.0.
12851
12852The ACPI 2.0 semantics for the Extended IRQ resource descriptor
12853have been implemented.  The interrupt polarity and mode are now
12854independently set.
12855
12856Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
12857appearing in Package objects were not properly converted to
12858integers when the internal Package was converted to an external
12859object (via the AcpiEvaluateObject interface.)
12860
12861Fixed a problem with the namespace object deletion mechanism for
12862objects created by control methods.  There were two parts to this
12863problem: 1) Objects created during the initialization phase method
12864parse were not being deleted, and 2) The object owner ID mechanism
12865to track objects was broken.
12866
12867Fixed a problem where the use of the ASL Scope operator within a
12868control method would result in an invalid opcode exception.
12869
12870Fixed a problem introduced in the previous label where the buffer
12871length required for the _PRT structure was not being returned
12872correctly.
12873
12874Code and Data Size: Current core subsystem library sizes are shown
12875below. These are the code and data sizes for the acpica.lib
12876produced by the Microsoft Visual C++ 6.0 compiler, and these
12877values do not include any ACPI driver or OSPM code.  The debug
12878version of the code includes the debug output trace mechanism and
12879has a larger code and data size.  Note that these values will vary
12880depending on the efficiency of the compiler and the compiler
12881options used during generation.
12882
12883  Previous Release (11_20_01)
12884     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
12885     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
12886
12887  Current Release:
12888     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
12889     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
12890
12891 2) Linux:
12892
12893Updated all files to apply cleanly against 2.4.16.
12894
12895Added basic PCI Interrupt Routing Table (PRT) support for IA32
12896(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
12897version supports both static and dyanmic PRT entries, but dynamic
12898entries are treated as if they were static (not yet
12899reconfigurable).  Architecture- specific code to use this data is
12900absent on IA32 but should be available shortly.
12901
12902Changed the initialization sequence to start the ACPI interpreter
12903(acpi_init) prior to initialization of the PCI driver (pci_init)
12904in init/main.c.  This ordering is required to support PRT and
12905facilitate other (future) enhancement.  A side effect is that the
12906ACPI bus driver and certain device drivers can no longer be loaded
12907as modules.
12908
12909Modified the 'make menuconfig' options to allow PCI Interrupt
12910Routing support to be included without the ACPI Bus and other
12911device drivers.
12912
12913 3) ASL Compiler, version X2033:
12914
12915Fixed some issues with the use of the new CopyObject and
12916DataTableRegion operators.  Both are fully functional.
12917
12918 ----------------------------------------
12919Summary of changes for this label: 11_20_01
12920
12921 20 November 2001.  Summary of changes for this release.
12922
12923 1) ACPI CA Core Subsystem:
12924
12925Updated Index support to match ACPI 2.0 semantics.  Storing a
12926Integer, String, or Buffer to an Index of a Buffer will store only
12927the least-significant byte of the source to the Indexed buffer
12928byte.  Multiple writes are not performed.
12929
12930Fixed a problem where the access type used in an AccessAs ASL
12931operator was not recorded correctly into the field object.
12932
12933Fixed a problem where ASL Event objects were created in a
12934signalled state. Events are now created in an unsignalled state.
12935
12936The internal object cache is now purged after table loading and
12937initialization to reduce the use of dynamic kernel memory -- on
12938the assumption that object use is greatest during the parse phase
12939of the entire table (versus the run-time use of individual control
12940methods.)
12941
12942ACPI 2.0 variable-length packages are now fully operational.
12943
12944Code and Data Size: Code and Data optimizations have permitted new
12945feature development with an actual reduction in the library size.
12946Current core subsystem library sizes are shown below.  These are
12947the code and data sizes for the acpica.lib produced by the
12948Microsoft Visual C++ 6.0 compiler, and these values do not include
12949any ACPI driver or OSPM code.  The debug version of the code
12950includes the debug output trace mechanism and has a larger code
12951and data size.  Note that these values will vary depending on the
12952efficiency of the compiler and the compiler options used during
12953generation.
12954
12955  Previous Release (11_09_01):
12956     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
12957     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
12958
12959  Current Release:
12960     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
12961     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
12962
12963 2) Linux:
12964
12965Enhanced the ACPI boot-time initialization code to allow the use
12966of Local APIC tables for processor enumeration on IA-32, and to
12967pave the way for a fully MPS-free boot (on SMP systems) in the
12968near future.  This functionality replaces
12969arch/i386/kernel/acpitables.c, which was introduced in an earlier
129702.4.15-preX release.  To enable this feature you must add
12971"acpi_boot=on" to the kernel command line -- see the help entry
12972for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
12973the works...
12974
12975Restructured the configuration options to allow boot-time table
12976parsing support without inclusion of the ACPI Interpreter (and
12977other) code.
12978
12979NOTE: This release does not include fixes for the reported events,
12980power-down, and thermal passive cooling issues (coming soon).
12981
12982 3) ASL Compiler:
12983
12984Added additional typechecking for Fields within restricted access
12985Operation Regions.  All fields within EC and CMOS regions must be
12986declared with ByteAcc. All fields withing SMBus regions must be
12987declared with the BufferAcc access type.
12988
12989Fixed a problem where the listing file output of control methods
12990no longer interleaved the actual AML code with the ASL source
12991code.
12992
12993
12994
12995
12996----------------------------------------
12997Summary of changes for this label: 11_09_01
12998
129991) ACPI CA Core Subsystem:
13000
13001Implemented ACPI 2.0-defined support for writes to fields with a
13002Buffer, String, or Integer source operand that is smaller than the
13003target field. In these cases, the source operand is zero-extended
13004to fill the target field.
13005
13006Fixed a problem where a Field starting bit offset (within the
13007parent operation region) was calculated incorrectly if the
13008
13009alignment of the field differed from the access width.  This
13010affected CreateWordField, CreateDwordField, CreateQwordField, and
13011possibly other fields that use the "AccessAny" keyword.
13012
13013Fixed a problem introduced in the 11_02_01 release where indirect
13014stores through method arguments did not operate correctly.
13015
130162) Linux:
13017
13018Implemented boot-time ACPI table parsing support
13019(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
13020facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
13021legacy BIOS interfaces (e.g. MPS) for the configuration of system
13022processors, memory, and interrupts during setup_arch().  Note that
13023this patch does not include the required architecture-specific
13024changes required to apply this information -- subsequent patches
13025will be posted for both IA32 and IA64 to achieve this.
13026
13027Added low-level sleep support for IA32 platforms, courtesy of Pat
13028Mochel. This allows IA32 systems to transition to/from various
13029sleeping states (e.g. S1, S3), although the lack of a centralized
13030driver model and power-manageable drivers will prevent its
13031(successful) use on most systems.
13032
13033Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
13034submenu, unified IA32 and IA64 options, added new "Boot using ACPI
13035tables" option, etc.
13036
13037Increased the default timeout for the EC driver from 1ms to 10ms
13038(1000 cycles of 10us) to try to address AE_TIME errors during EC
13039transactions.
13040
13041 ----------------------------------------
13042Summary of changes for this label: 11_02_01
13043
130441) ACPI CA Core Subsystem:
13045
13046ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
13047(QWordAcc keyword). All ACPI 2.0 64-bit support is now
13048implemented.
13049
13050OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
13051changes to support ACPI 2.0 Qword field access.  Read/Write
13052PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
13053accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
13054the value parameter for the address space handler interface is now
13055an ACPI_INTEGER.  OSL implementations of these interfaces must now
13056handle the case where the Width parameter is 64.
13057
13058Index Fields: Fixed a problem where unaligned bit assembly and
13059disassembly for IndexFields was not supported correctly.
13060
13061Index and Bank Fields:  Nested Index and Bank Fields are now
13062supported. During field access, a check is performed to ensure
13063that the value written to an Index or Bank register is not out of
13064the range of the register.  The Index (or Bank) register is
13065written before each access to the field data. Future support will
13066include allowing individual IndexFields to be wider than the
13067DataRegister width.
13068
13069Fields: Fixed a problem where the AML interpreter was incorrectly
13070attempting to write beyond the end of a Field/OpRegion.  This was
13071a boundary case that occurred when a DWORD field was written to a
13072BYTE access OpRegion, forcing multiple writes and causing the
13073interpreter to write one datum too many.
13074
13075Fields: Fixed a problem with Field/OpRegion access where the
13076starting bit address of a field was incorrectly calculated if the
13077current access type was wider than a byte (WordAcc, DwordAcc, or
13078QwordAcc).
13079
13080Fields: Fixed a problem where forward references to individual
13081FieldUnits (individual Field names within a Field definition) were
13082not resolved during the AML table load.
13083
13084Fields: Fixed a problem where forward references from a Field
13085definition to the parent Operation Region definition were not
13086resolved during the AML table load.
13087
13088Fields: Duplicate FieldUnit names within a scope are now detected
13089during AML table load.
13090
13091Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
13092returned an incorrect name for the root node.
13093
13094Code and Data Size: Code and Data optimizations have permitted new
13095feature development with an actual reduction in the library size.
13096Current core subsystem library sizes are shown below.  These are
13097the code and data sizes for the acpica.lib produced by the
13098Microsoft Visual C++ 6.0 compiler, and these values do not include
13099any ACPI driver or OSPM code.  The debug version of the code
13100includes the debug output trace mechanism and has a larger code
13101and data size.  Note that these values will vary depending on the
13102efficiency of the compiler and the compiler options used during
13103generation.
13104
13105  Previous Release (10_18_01):
13106     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
13107     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
13108
13109  Current Release:
13110     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
13111     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
13112
13113 2) Linux:
13114
13115Improved /proc processor output (Pavel Machek) Re-added
13116MODULE_LICENSE("GPL") to all modules.
13117
13118 3) ASL Compiler version X2030:
13119
13120Duplicate FieldUnit names within a scope are now detected and
13121flagged as errors.
13122
13123 4) Documentation:
13124
13125Programmer Reference updated to reflect OSL and address space
13126handler interface changes described above.
13127
13128----------------------------------------
13129Summary of changes for this label: 10_18_01
13130
13131ACPI CA Core Subsystem:
13132
13133Fixed a problem with the internal object reference count mechanism
13134that occasionally caused premature object deletion. This resolves
13135all of the outstanding problem reports where an object is deleted
13136in the middle of an interpreter evaluation.  Although this problem
13137only showed up in rather obscure cases, the solution to the
13138problem involved an adjustment of all reference counts involving
13139objects attached to namespace nodes.
13140
13141Fixed a problem with Field support in the interpreter where
13142writing to an aligned field whose length is an exact multiple (2
13143or greater) of the field access granularity would cause an attempt
13144to write beyond the end of the field.
13145
13146The top level AML opcode execution functions within the
13147interpreter have been renamed with a more meaningful and
13148consistent naming convention.  The modules exmonad.c and
13149exdyadic.c were eliminated.  New modules are exoparg1.c,
13150exoparg2.c, exoparg3.c, and exoparg6.c.
13151
13152Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
13153
13154Fixed a problem where the AML debugger was causing some internal
13155objects to not be deleted during subsystem termination.
13156
13157Fixed a problem with the external AcpiEvaluateObject interface
13158where the subsystem would fault if the named object to be
13159evaluated refered to a constant such as Zero, Ones, etc.
13160
13161Fixed a problem with IndexFields and BankFields where the
13162subsystem would fault if the index, data, or bank registers were
13163not defined in the same scope as the field itself.
13164
13165Added printf format string checking for compilers that support
13166this feature.  Corrected more than 50 instances of issues with
13167format specifiers within invocations of ACPI_DEBUG_PRINT
13168throughout the core subsystem code.
13169
13170The ASL "Revision" operator now returns the ACPI support level
13171implemented in the core - the value "2" since the ACPI 2.0 support
13172is more than 50% implemented.
13173
13174Enhanced the output of the AML debugger "dump namespace" command
13175to output in a more human-readable form.
13176
13177Current core subsystem library code sizes are shown below.  These
13178
13179are the code and data sizes for the acpica.lib produced by the
13180Microsoft Visual C++ 6.0 compiler, and these values do not include
13181any ACPI driver or OSPM code.  The debug version of the code
13182includes the full debug trace mechanism -- leading to a much
13183
13184larger code and data size.  Note that these values will vary
13185depending on the efficiency of the compiler and the compiler
13186options used during generation.
13187
13188     Previous Label (09_20_01):
13189     Non-Debug Version:    65K Code,     5K Data,     70K Total
13190     Debug Version:       138K Code,    58K Data,    196K Total
13191
13192     This Label:
13193
13194     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
13195     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
13196
13197Linux:
13198
13199Implemented a "Bad BIOS Blacklist" to track machines that have
13200known ASL/AML problems.
13201
13202Enhanced the /proc interface for the thermal zone driver and added
13203support for _HOT (the critical suspend trip point).  The 'info'
13204file now includes threshold/policy information, and allows setting
13205of _SCP (cooling preference) and _TZP (polling frequency) values
13206to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
13207frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
13208preference to the passive/quiet mode (if supported by the ASL).
13209
13210Implemented a workaround for a gcc bug that resuted in an OOPs
13211when loading the control method battery driver.
13212
13213 ----------------------------------------
13214Summary of changes for this label: 09_20_01
13215
13216 ACPI CA Core Subsystem:
13217
13218The AcpiEnableEvent and AcpiDisableEvent interfaces have been
13219modified to allow individual GPE levels to be flagged as wake-
13220enabled (i.e., these GPEs are to remain enabled when the platform
13221sleeps.)
13222
13223The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
13224support wake-enabled GPEs.  This means that upon entering the
13225sleep state, all GPEs that are not wake-enabled are disabled.
13226When leaving the sleep state, these GPEs are reenabled.
13227
13228A local double-precision divide/modulo module has been added to
13229enhance portability to OS kernels where a 64-bit math library is
13230not available.  The new module is "utmath.c".
13231
13232Several optimizations have been made to reduce the use of CPU
13233stack.  Originally over 2K, the maximum stack usage is now below
132342K at 1860  bytes (1.82k)
13235
13236Fixed a problem with the AcpiGetFirmwareTable interface where the
13237root table pointer was not mapped into a logical address properly.
13238
13239Fixed a problem where a NULL pointer was being dereferenced in the
13240interpreter code for the ASL Notify operator.
13241
13242Fixed a problem where the use of the ASL Revision operator
13243returned an error. This operator now returns the current version
13244of the ACPI CA core subsystem.
13245
13246Fixed a problem where objects passed as control method parameters
13247to AcpiEvaluateObject were always deleted at method termination.
13248However, these objects may end up being stored into the namespace
13249by the called method.  The object reference count mechanism was
13250applied to these objects instead of a force delete.
13251
13252Fixed a problem where static strings or buffers (contained in the
13253AML code) that are declared as package elements within the ASL
13254code could cause a fault because the interpreter would attempt to
13255delete them.  These objects are now marked with the "static
13256object" flag to prevent any attempt to delete them.
13257
13258Implemented an interpreter optimization to use operands directly
13259from the state object instead of extracting the operands to local
13260variables.  This reduces stack use and code size, and improves
13261performance.
13262
13263The module exxface.c was eliminated as it was an unnecessary extra
13264layer of code.
13265
13266Current core subsystem library code sizes are shown below.  These
13267are the code and data sizes for the acpica.lib produced by the
13268Microsoft Visual C++ 6.0 compiler, and these values do not include
13269any ACPI driver or OSPM code.  The debug version of the code
13270includes the full debug trace mechanism -- leading to a much
13271larger code and data size.  Note that these values will vary
13272depending on the efficiency of the compiler and the compiler
13273options used during generation.
13274
13275  Non-Debug Version:  65K Code,   5K Data,   70K Total
13276(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
13277Total  (Previously 195K)
13278
13279Linux:
13280
13281Support for ACPI 2.0 64-bit integers has been added.   All ACPI
13282Integer objects are now 64 bits wide
13283
13284All Acpi data types and structures are now in lower case.  Only
13285Acpi macros are upper case for differentiation.
13286
13287 Documentation:
13288
13289Changes to the external interfaces as described above.
13290
13291 ----------------------------------------
13292Summary of changes for this label: 08_31_01
13293
13294 ACPI CA Core Subsystem:
13295
13296A bug with interpreter implementation of the ASL Divide operator
13297was found and fixed.  The implicit function return value (not the
13298explicit store operands) was returning the remainder instead of
13299the quotient.  This was a longstanding bug and it fixes several
13300known outstanding issues on various platforms.
13301
13302The ACPI_DEBUG_PRINT and function trace entry/exit macros have
13303been further optimized for size.  There are 700 invocations of the
13304DEBUG_PRINT macro alone, so each optimization reduces the size of
13305the debug version of the subsystem significantly.
13306
13307A stack trace mechanism has been implemented.  The maximum stack
13308usage is about 2K on 32-bit platforms.  The debugger command "stat
13309stack" will display the current maximum stack usage.
13310
13311All public symbols and global variables within the subsystem are
13312now prefixed with the string "Acpi".  This keeps all of the
13313symbols grouped together in a kernel map, and avoids conflicts
13314with other kernel subsystems.
13315
13316Most of the internal fixed lookup tables have been moved into the
13317code segment via the const operator.
13318
13319Several enhancements have been made to the interpreter to both
13320reduce the code size and improve performance.
13321
13322Current core subsystem library code sizes are shown below.  These
13323are the code and data sizes for the acpica.lib produced by the
13324Microsoft Visual C++ 6.0 compiler, and these values do not include
13325any ACPI driver or OSPM code.  The debug version of the code
13326includes the full debug trace mechanism which contains over 700
13327invocations of the DEBUG_PRINT macro, 500 function entry macro
13328invocations, and over 900 function exit macro invocations --
13329leading to a much larger code and data size.  Note that these
13330values will vary depending on the efficiency of the compiler and
13331the compiler options used during generation.
13332
13333        Non-Debug Version:  64K Code,   5K Data,   69K Total
13334Debug Version:     137K Code,  58K Data,  195K Total
13335
13336 Linux:
13337
13338Implemented wbinvd() macro, pending a kernel-wide definition.
13339
13340Fixed /proc/acpi/event to handle poll() and short reads.
13341
13342 ASL Compiler, version X2026:
13343
13344Fixed a problem introduced in the previous label where the AML
13345
13346code emitted for package objects produced packages with zero
13347length.
13348
13349 ----------------------------------------
13350Summary of changes for this label: 08_16_01
13351
13352ACPI CA Core Subsystem:
13353
13354The following ACPI 2.0 ASL operators have been implemented in the
13355AML interpreter (These are already supported by the Intel ASL
13356compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
13357ToBuffer.  Support for 64-bit AML constants is implemented in the
13358AML parser, debugger, and disassembler.
13359
13360The internal memory tracking mechanism (leak detection code) has
13361been upgraded to reduce the memory overhead (a separate tracking
13362block is no longer allocated for each memory allocation), and now
13363supports all of the internal object caches.
13364
13365The data structures and code for the internal object caches have
13366been coelesced and optimized so that there is a single cache and
13367memory list data structure and a single group of functions that
13368implement generic cache management.  This has reduced the code
13369size in both the debug and release versions of the subsystem.
13370
13371The DEBUG_PRINT macro(s) have been optimized for size and replaced
13372by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
13373different, because it generates a single call to an internal
13374function.  This results in a savings of about 90 bytes per
13375invocation, resulting in an overall code and data savings of about
1337616% in the debug version of the subsystem.
13377
13378 Linux:
13379
13380Fixed C3 disk corruption problems and re-enabled C3 on supporting
13381machines.
13382
13383Integrated low-level sleep code by Patrick Mochel.
13384
13385Further tweaked source code Linuxization.
13386
13387Other minor fixes.
13388
13389 ASL Compiler:
13390
13391Support for ACPI 2.0 variable length packages is fixed/completed.
13392
13393Fixed a problem where the optional length parameter for the ACPI
133942.0 ToString operator.
13395
13396Fixed multiple extraneous error messages when a syntax error is
13397detected within the declaration line of a control method.
13398
13399 ----------------------------------------
13400Summary of changes for this label: 07_17_01
13401
13402ACPI CA Core Subsystem:
13403
13404Added a new interface named AcpiGetFirmwareTable to obtain any
13405ACPI table via the ACPI signature.  The interface can be called at
13406any time during kernel initialization, even before the kernel
13407virtual memory manager is initialized and paging is enabled.  This
13408allows kernel subsystems to obtain ACPI tables very early, even
13409before the ACPI CA subsystem is initialized.
13410
13411Fixed a problem where Fields defined with the AnyAcc attribute
13412could be resolved to the incorrect address under the following
13413conditions: 1) the field width is larger than 8 bits and 2) the
13414parent operation region is not defined on a DWORD boundary.
13415
13416Fixed a problem where the interpreter is not being locked during
13417namespace initialization (during execution of the _INI control
13418methods), causing an error when an attempt is made to release it
13419later.
13420
13421ACPI 2.0 support in the AML Interpreter has begun and will be
13422ongoing throughout the rest of this year.  In this label, The Mod
13423operator is implemented.
13424
13425Added a new data type to contain full PCI addresses named
13426ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
13427and Function values.
13428
13429 Linux:
13430
13431Enhanced the Linux version of the source code to change most
13432capitalized ACPI type names to lowercase. For example, all
13433instances of ACPI_STATUS are changed to acpi_status.  This will
13434result in a large diff, but the change is strictly cosmetic and
13435aligns the CA code closer to the Linux coding standard.
13436
13437OSL Interfaces:
13438
13439The interfaces to the PCI configuration space have been changed to
13440add the PCI Segment number and to split the single 32-bit combined
13441DeviceFunction field into two 16-bit fields.  This was
13442accomplished by moving the four values that define an address in
13443PCI configuration space (segment, bus, device, and function) to
13444the new ACPI_PCI_ID structure.
13445
13446The changes to the PCI configuration space interfaces led to a
13447reexamination of the complete set of address space access
13448interfaces for PCI, I/O, and Memory.  The previously existing 18
13449interfaces have proven difficult to maintain (any small change
13450must be propagated across at least 6 interfaces) and do not easily
13451allow for future expansion to 64 bits if necessary.  Also, on some
13452systems, it would not be appropriate to demultiplex the access
13453width (8, 16, 32,or 64) before calling the OSL if the
13454corresponding native OS interfaces contain a similar access width
13455parameter.  For these reasons, the 18 address space interfaces
13456have been replaced by these 6 new ones:
13457
13458AcpiOsReadPciConfiguration
13459AcpiOsWritePciConfiguration
13460AcpiOsReadMemory
13461AcpiOsWriteMemory
13462AcpiOsReadPort
13463AcpiOsWritePort
13464
13465Added a new interface named AcpiOsGetRootPointer to allow the OSL
13466to perform the platform and/or OS-specific actions necessary to
13467obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
13468interface will simply call down to the CA core to perform the low-
13469memory search for the table.  On IA-64, the RSDP is obtained from
13470EFI.  Migrating this interface to the OSL allows the CA core to
13471
13472remain OS and platform independent.
13473
13474Added a new interface named AcpiOsSignal to provide a generic
13475"function code and pointer" interface for various miscellaneous
13476signals and notifications that must be made to the host OS.   The
13477first such signals are intended to support the ASL Fatal and
13478Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
13479interface has been obsoleted.
13480
13481The definition of the AcpiFormatException interface has been
13482changed to simplify its use.  The caller no longer must supply a
13483buffer to the call; A pointer to a const string is now returned
13484directly.  This allows the call to be easily used in printf
13485statements, etc. since the caller does not have to manage a local
13486buffer.
13487
13488
13489 ASL Compiler, Version X2025:
13490
13491The ACPI 2.0 Switch/Case/Default operators have been implemented
13492and are fully functional.  They will work with all ACPI 1.0
13493interpreters, since the operators are simply translated to If/Else
13494pairs.
13495
13496The ACPI 2.0 ElseIf operator is implemented and will also work
13497with 1.0 interpreters, for the same reason.
13498
13499Implemented support for ACPI 2.0 variable-length packages.  These
13500packages have a separate opcode, and their size is determined by
13501the interpreter at run-time.
13502
13503Documentation The ACPI CA Programmer Reference has been updated to
13504reflect the new interfaces and changes to existing interfaces.
13505
13506 ------------------------------------------
13507Summary of changes for this label: 06_15_01
13508
13509 ACPI CA Core Subsystem:
13510
13511Fixed a problem where a DWORD-accessed field within a Buffer
13512object would get its byte address inadvertently rounded down to
13513the nearest DWORD.  Buffers are always Byte-accessible.
13514
13515 ASL Compiler, version X2024:
13516
13517Fixed a problem where the Switch() operator would either fault or
13518hang the compiler.  Note however, that the AML code for this ACPI
135192.0 operator is not yet implemented.
13520
13521Compiler uses the new AcpiOsGetTimer interface to obtain compile
13522timings.
13523
13524Implementation of the CreateField operator automatically converts
13525a reference to a named field within a resource descriptor from a
13526byte offset to a bit offset if required.
13527
13528Added some missing named fields from the resource descriptor
13529support. These are the names that are automatically created by the
13530compiler to reference fields within a descriptor.  They are only
13531valid at compile time and are not passed through to the AML
13532interpreter.
13533
13534Resource descriptor named fields are now typed as Integers and
13535subject to compile-time typechecking when used in expressions.
13536
13537 ------------------------------------------
13538Summary of changes for this label: 05_18_01
13539
13540 ACPI CA Core Subsystem:
13541
13542Fixed a couple of problems in the Field support code where bits
13543from adjacent fields could be returned along with the proper field
13544bits. Restructured the field support code to improve performance,
13545readability and maintainability.
13546
13547New DEBUG_PRINTP macro automatically inserts the procedure name
13548into the output, saving hundreds of copies of procedure name
13549strings within the source, shrinking the memory footprint of the
13550debug version of the core subsystem.
13551
13552 Source Code Structure:
13553
13554The source code directory tree was restructured to reflect the
13555current organization of the component architecture.  Some files
13556and directories have been moved and/or renamed.
13557
13558 Linux:
13559
13560Fixed leaking kacpidpc processes.
13561
13562Fixed queueing event data even when /proc/acpi/event is not
13563opened.
13564
13565 ASL Compiler, version X2020:
13566
13567Memory allocation performance enhancement - over 24X compile time
13568improvement on large ASL files.  Parse nodes and namestring
13569buffers are now allocated from a large internal compiler buffer.
13570
13571The temporary .SRC file is deleted unless the "-s" option is
13572specified
13573
13574The "-d" debug output option now sends all output to the .DBG file
13575instead of the console.
13576
13577"External" second parameter is now optional
13578
13579"ElseIf" syntax now properly allows the predicate
13580
13581Last operand to "Load" now recognized as a Target operand
13582
13583Debug object can now be used anywhere as a normal object.
13584
13585ResourceTemplate now returns an object of type BUFFER
13586
13587EISAID now returns an object of type INTEGER
13588
13589"Index" now works with a STRING operand
13590
13591"LoadTable" now accepts optional parameters
13592
13593"ToString" length parameter is now optional
13594
13595"Interrupt (ResourceType," parse error fixed.
13596
13597"Register" with a user-defined region space parse error fixed
13598
13599Escaped backslash at the end of a string ("\\") scan/parse error
13600fixed
13601
13602"Revision" is now an object of type INTEGER.
13603
13604
13605
13606------------------------------------------
13607Summary of changes for this label: 05_02_01
13608
13609Linux:
13610
13611/proc/acpi/event now blocks properly.
13612
13613Removed /proc/sys/acpi. You can still dump your DSDT from
13614/proc/acpi/dsdt.
13615
13616 ACPI CA Core Subsystem:
13617
13618Fixed a problem introduced in the previous label where some of the
13619"small" resource descriptor types were not recognized.
13620
13621Improved error messages for the case where an ASL Field is outside
13622the range of the parent operation region.
13623
13624 ASL Compiler, version X2018:
13625
13626
13627Added error detection for ASL Fields that extend beyond the length
13628of the parent operation region (only if the length of the region
13629is known at compile time.)  This includes fields that have a
13630minimum access width that is smaller than the parent region, and
13631individual field units that are partially or entirely beyond the
13632extent of the parent.
13633
13634
13635
13636------------------------------------------
13637Summary of changes for this label: 04_27_01
13638
13639 ACPI CA Core Subsystem:
13640
13641Fixed a problem where the namespace mutex could be released at the
13642wrong time during execution of AcpiRemoveAddressSpaceHandler.
13643
13644Added optional thread ID output for debug traces, to simplify
13645debugging of multiple threads.  Added context switch notification
13646when the debug code realizes that a different thread is now
13647executing ACPI code.
13648
13649Some additional external data types have been prefixed with the
13650string "ACPI_" for consistency.  This may effect existing code.
13651The data types affected are the external callback typedefs - e.g.,
13652
13653WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
13654
13655 Linux:
13656
13657Fixed an issue with the OSL semaphore implementation where a
13658thread was waking up with an error from receiving a SIGCHLD
13659signal.
13660
13661Linux version of ACPI CA now uses the system C library for string
13662manipulation routines instead of a local implementation.
13663
13664Cleaned up comments and removed TBDs.
13665
13666 ASL Compiler, version X2017:
13667
13668Enhanced error detection and reporting for all file I/O
13669operations.
13670
13671 Documentation:
13672
13673Programmer Reference updated to version 1.06.
13674
13675
13676
13677------------------------------------------
13678Summary of changes for this label: 04_13_01
13679
13680 ACPI CA Core Subsystem:
13681
13682Restructured support for BufferFields and RegionFields.
13683BankFields support is now fully operational.  All known 32-bit
13684limitations on field sizes have been removed.  Both BufferFields
13685and (Operation) RegionFields are now supported by the same field
13686management code.
13687
13688Resource support now supports QWORD address and IO resources. The
1368916/32/64 bit address structures and the Extended IRQ structure
13690have been changed to properly handle Source Resource strings.
13691
13692A ThreadId of -1 is now used to indicate a "mutex not acquired"
13693condition internally and must never be returned by AcpiOsThreadId.
13694This reserved value was changed from 0 since Unix systems allow a
13695thread ID of 0.
13696
13697Linux:
13698
13699Driver code reorganized to enhance portability
13700
13701Added a kernel configuration option to control ACPI_DEBUG
13702
13703Fixed the EC driver to honor _GLK.
13704
13705ASL Compiler, version X2016:
13706
13707Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
13708address space was set to 0, not 0x7f as it should be.
13709
13710 ------------------------------------------
13711Summary of changes for this label: 03_13_01
13712
13713 ACPI CA Core Subsystem:
13714
13715During ACPI initialization, the _SB_._INI method is now run if
13716present.
13717
13718Notify handler fix - notifies are deferred until the parent method
13719completes execution.  This fixes the "mutex already acquired"
13720issue seen occasionally.
13721
13722Part of the "implicit conversion" rules in ACPI 2.0 have been
13723found to cause compatibility problems with existing ASL/AML.  The
13724convert "result-to-target-type" implementation has been removed
13725for stores to method Args and Locals.  Source operand conversion
13726is still fully implemented.  Possible changes to ACPI 2.0
13727specification pending.
13728
13729Fix to AcpiRsCalculatePciRoutingTableLength to return correct
13730length.
13731
13732Fix for compiler warnings for 64-bit compiles.
13733
13734 Linux:
13735
13736/proc output aligned for easier parsing.
13737
13738Release-version compile problem fixed.
13739
13740New kernel configuration options documented in Configure.help.
13741
13742IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
13743context" message.
13744
13745 OSPM:
13746
13747Power resource driver integrated with bus manager.
13748
13749Fixed kernel fault during active cooling for thermal zones.
13750
13751Source Code:
13752
13753The source code tree has been restructured.
13754
13755
13756
13757------------------------------------------
13758Summary of changes for this label: 03_02_01
13759
13760 Linux OS Services Layer (OSL):
13761
13762Major revision of all Linux-specific code.
13763
13764Modularized all ACPI-specific drivers.
13765
13766Added new thermal zone and power resource drivers.
13767
13768Revamped /proc interface (new functionality is under /proc/acpi).
13769
13770New kernel configuration options.
13771
13772 Linux known issues:
13773
13774New kernel configuration options not documented in Configure.help
13775yet.
13776
13777
13778Module dependencies not currently implemented. If used, they
13779should be loaded in this order: busmgr, power, ec, system,
13780processor, battery, ac_adapter, button, thermal.
13781
13782Modules will not load if CONFIG_MODVERSION is set.
13783
13784IBM 600E - entering S5 may reboot instead of shutting down.
13785
13786IBM 600E - Sleep button may generate "Invalid <NULL> context"
13787message.
13788
13789Some systems may fail with "execution mutex already acquired"
13790message.
13791
13792 ACPI CA Core Subsystem:
13793
13794Added a new OSL Interface, AcpiOsGetThreadId.  This was required
13795for the  deadlock detection code. Defined to return a non-zero, 32-
13796bit thread ID for the currently executing thread.  May be a non-
13797zero constant integer on single-thread systems.
13798
13799Implemented deadlock detection for internal subsystem mutexes.  We
13800may add conditional compilation for this code (debug only) later.
13801
13802ASL/AML Mutex object semantics are now fully supported.  This
13803includes multiple acquires/releases by owner and support for the
13804
13805Mutex SyncLevel parameter.
13806
13807A new "Force Release" mechanism automatically frees all ASL
13808Mutexes that have been acquired but not released when a thread
13809exits the interpreter.  This forces conformance to the ACPI spec
13810("All mutexes must be released when an invocation exits") and
13811prevents deadlocked ASL threads.  This mechanism can be expanded
13812(later) to monitor other resource acquisitions if OEM ASL code
13813continues to misbehave (which it will).
13814
13815Several new ACPI exception codes have been added for the Mutex
13816support.
13817
13818Recursive method calls are now allowed and supported (the ACPI
13819spec does in fact allow recursive method calls.)  The number of
13820recursive calls is subject to the restrictions imposed by the
13821SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
13822parameter.
13823
13824Implemented support for the SyncLevel parameter for control
13825methods (ACPI 2.0 feature)
13826
13827Fixed a deadlock problem when multiple threads attempted to use
13828the interpreter.
13829
13830Fixed a problem where the string length of a String package
13831element was not always set in a package returned from
13832AcpiEvaluateObject.
13833
13834Fixed a problem where the length of a String package element was
13835not always included in the length of the overall package returned
13836from AcpiEvaluateObject.
13837
13838Added external interfaces (Acpi*) to the ACPI debug memory
13839manager.  This manager keeps a list of all outstanding
13840allocations, and can therefore detect memory leaks and attempts to
13841free memory blocks more than once. Useful for code such as the
13842power manager, etc.  May not be appropriate for device drivers.
13843Performance with the debug code enabled is slow.
13844
13845The ACPI Global Lock is now an optional hardware element.
13846
13847 ASL Compiler Version X2015:
13848
13849Integrated changes to allow the compiler to be generated on
13850multiple platforms.
13851
13852Linux makefile added to generate the compiler on Linux
13853
13854 Source Code:
13855
13856All platform-specific headers have been moved to their own
13857subdirectory, Include/Platform.
13858
13859New source file added, Interpreter/ammutex.c
13860
13861New header file, Include/acstruct.h
13862
13863 Documentation:
13864
13865The programmer reference has been updated for the following new
13866interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
13867
13868 ------------------------------------------
13869Summary of changes for this label: 02_08_01
13870
13871Core ACPI CA Subsystem: Fixed a problem where an error was
13872incorrectly returned if the return resource buffer was larger than
13873the actual data (in the resource interfaces).
13874
13875References to named objects within packages are resolved to the
13876
13877full pathname string before packages are returned directly (via
13878the AcpiEvaluateObject interface) or indirectly via the resource
13879interfaces.
13880
13881Linux OS Services Layer (OSL):
13882
13883Improved /proc battery interface.
13884
13885
13886Added C-state debugging output and other miscellaneous fixes.
13887
13888ASL Compiler Version X2014:
13889
13890All defined method arguments can now be used as local variables,
13891including the ones that are not actually passed in as parameters.
13892The compiler tracks initialization of the arguments and issues an
13893exception if they are used without prior assignment (just like
13894locals).
13895
13896The -o option now specifies a filename prefix that is used for all
13897output files, including the AML output file.  Otherwise, the
13898default behavior is as follows:  1) the AML goes to the file
13899specified in the DSDT.  2) all other output files use the input
13900source filename as the base.
13901
13902 ------------------------------------------
13903Summary of changes for this label: 01_25_01
13904
13905Core ACPI CA Subsystem: Restructured the implementation of object
13906store support within the  interpreter.  This includes support for
13907the Store operator as well  as any ASL operators that include a
13908target operand.
13909
13910Partially implemented support for Implicit Result-to-Target
13911conversion. This is when a result object is converted on the fly
13912to the type of  an existing target object.  Completion of this
13913support is pending  further analysis of the ACPI specification
13914concerning this matter.
13915
13916CPU-specific code has been removed from the subsystem (hardware
13917directory).
13918
13919New Power Management Timer functions added
13920
13921Linux OS Services Layer (OSL): Moved system state transition code
13922to the core, fixed it, and modified  Linux OSL accordingly.
13923
13924Fixed C2 and C3 latency calculations.
13925
13926
13927We no longer use the compilation date for the version message on
13928initialization, but retrieve the version from AcpiGetSystemInfo().
13929
13930Incorporated for fix Sony VAIO machines.
13931
13932Documentation:  The Programmer Reference has been updated and
13933reformatted.
13934
13935
13936ASL Compiler:  Version X2013: Fixed a problem where the line
13937numbering and error reporting could get out  of sync in the
13938presence of multiple include files.
13939
13940 ------------------------------------------
13941Summary of changes for this label: 01_15_01
13942
13943Core ACPI CA Subsystem:
13944
13945Implemented support for type conversions in the execution of the
13946ASL  Concatenate operator (The second operand is converted to
13947match the type  of the first operand before concatenation.)
13948
13949Support for implicit source operand conversion is partially
13950implemented.   The ASL source operand types Integer, Buffer, and
13951String are freely  interchangeable for most ASL operators and are
13952converted by the interpreter  on the fly as required.  Implicit
13953Target operand conversion (where the  result is converted to the
13954target type before storing) is not yet implemented.
13955
13956Support for 32-bit and 64-bit BCD integers is implemented.
13957
13958Problem fixed where a field read on an aligned field could cause a
13959read  past the end of the field.
13960
13961New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
13962does not return a value, but the caller expects one.  (The ASL
13963compiler flags this as a warning.)
13964
13965ASL Compiler:
13966
13967Version X2011:
139681. Static typechecking of all operands is implemented. This
13969prevents the use of invalid objects (such as using a Package where
13970an Integer is required) at compile time instead of at interpreter
13971run-time.
139722. The ASL source line is printed with ALL errors and warnings.
139733. Bug fix for source EOF without final linefeed.
139744. Debug option is split into a parse trace and a namespace trace.
139755. Namespace output option (-n) includes initial values for
13976integers and strings.
139776. Parse-only option added for quick syntax checking.
139787. Compiler checks for duplicate ACPI name declarations
13979
13980Version X2012:
139811. Relaxed typechecking to allow interchangeability between
13982strings, integers, and buffers.  These types are now converted by
13983the interpreter at runtime.
139842. Compiler reports time taken by each internal subsystem in the
13985debug         output file.
13986
13987
13988 ------------------------------------------
13989Summary of changes for this label: 12_14_00
13990
13991ASL Compiler:
13992
13993This is the first official release of the compiler. Since the
13994compiler requires elements of the Core Subsystem, this label
13995synchronizes everything.
13996
13997------------------------------------------
13998Summary of changes for this label: 12_08_00
13999
14000
14001Fixed a problem where named references within the ASL definition
14002of both OperationRegions and CreateXXXFields did not work
14003properly.  The symptom was an AE_AML_OPERAND_TYPE during
14004initialization of the region/field. This is similar (but not
14005related internally) to the problem that was fixed in the last
14006label.
14007
14008Implemented both 32-bit and 64-bit support for the BCD ASL
14009functions ToBCD and FromBCD.
14010
14011Updated all legal headers to include "2000" in the copyright
14012years.
14013
14014 ------------------------------------------
14015Summary of changes for this label: 12_01_00
14016
14017Fixed a problem where method invocations within the ASL definition
14018of both OperationRegions and CreateXXXFields did not work
14019properly.  The symptom was an AE_AML_OPERAND_TYPE during
14020initialization of the region/field:
14021
14022  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
14023[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
14024(0x3005)
14025
14026Fixed a problem where operators with more than one nested
14027subexpression would fail.  The symptoms were varied, by mostly
14028AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
14029problem that has gone unnoticed until now.
14030
14031  Subtract (Add (1,2), Multiply (3,4))
14032
14033Fixed a problem where AcpiGetHandle didn't quite get fixed in the
14034previous build (The prefix part of a relative path was handled
14035incorrectly).
14036
14037Fixed a problem where Operation Region initialization failed if
14038the operation region name was a "namepath" instead of a simple
14039"nameseg". Symptom was an AE_NO_OPERAND error.
14040
14041Fixed a problem where an assignment to a local variable via the
14042indirect RefOf mechanism only worked for the first such
14043assignment.  Subsequent assignments were ignored.
14044
14045 ------------------------------------------
14046Summary of changes for this label: 11_15_00
14047
14048ACPI 2.0 table support with backwards support for ACPI 1.0 and the
140490.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
14050the AML  interpreter does NOT have support for the new 2.0 ASL
14051grammar terms at this time.
14052
14053All ACPI hardware access is via the GAS structures in the ACPI 2.0
14054FADT.
14055
14056All physical memory addresses across all platforms are now 64 bits
14057wide. Logical address width remains dependent on the platform
14058(i.e., "void *").
14059
14060AcpiOsMapMemory interface changed to a 64-bit physical address.
14061
14062The AML interpreter integer size is now 64 bits, as per the ACPI
140632.0 specification.
14064
14065For backwards compatibility with ACPI 1.0, ACPI tables with a
14066revision number less than 2 use 32-bit integers only.
14067
14068Fixed a problem where the evaluation of OpRegion operands did not
14069always resolve them to numbers properly.
14070
14071------------------------------------------
14072Summary of changes for this label: 10_20_00
14073
14074Fix for CBN_._STA issue.  This fix will allow correct access to
14075CBN_ OpRegions when the _STA returns 0x8.
14076
14077Support to convert ACPI constants (Ones, Zeros, One) to actual
14078values before a package object is returned
14079
14080Fix for method call as predicate to if/while construct causing
14081incorrect if/while behavior
14082
14083Fix for Else block package lengths sometimes calculated wrong (if
14084block > 63 bytes)
14085
14086Fix for Processor object length field, was always zero
14087
14088Table load abort if FACP sanity check fails
14089
14090Fix for problem with Scope(name) if name already exists
14091
14092Warning emitted if a named object referenced cannot be found
14093(resolved) during method execution.
14094
14095
14096
14097
14098
14099------------------------------------------
14100Summary of changes for this label: 9_29_00
14101
14102New table initialization interfaces: AcpiInitializeSubsystem no
14103longer has any parameters AcpiFindRootPointer - Find the RSDP (if
14104necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
14105>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
14106AcpiLoadTables
14107
14108Note: These interface changes require changes to all existing OSDs
14109
14110The PCI_Config default address space handler is always installed
14111at the root namespace object.
14112
14113-------------------------------------------
14114Summary of changes for this label: 09_15_00
14115
14116The new initialization architecture is implemented.  New
14117interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
14118AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
14119
14120(Namespace is automatically loaded when a table is loaded)
14121
14122The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1412352 bytes to 32 bytes.  There is usually one of these for every
14124namespace object, so the memory savings is significant.
14125
14126Implemented just-in-time evaluation of the CreateField operators.
14127
14128Bug fixes for IA-64 support have been integrated.
14129
14130Additional code review comments have been implemented
14131
14132The so-called "third pass parse" has been replaced by a final walk
14133through the namespace to initialize all operation regions (address
14134spaces) and fields that have not yet been initialized during the
14135execution of the various _INI and REG methods.
14136
14137New file - namespace/nsinit.c
14138
14139-------------------------------------------
14140Summary of changes for this label: 09_01_00
14141
14142Namespace manager data structures have been reworked to change the
14143primary  object from a table to a single object.  This has
14144resulted in dynamic memory  savings of 3X within the namespace and
141452X overall in the ACPI CA subsystem.
14146
14147Fixed problem where the call to AcpiEvFindPciRootBuses was
14148inadvertently left  commented out.
14149
14150Reduced the warning count when generating the source with the GCC
14151compiler.
14152
14153Revision numbers added to each module header showing the
14154SourceSafe version of the file.  Please refer to this version
14155number when giving us feedback or comments on individual modules.
14156
14157The main object types within the subsystem have been renamed to
14158clarify their  purpose:
14159
14160ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
14161ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
14162ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
14163
14164NOTE: no changes to the initialization sequence are included in
14165this label.
14166
14167-------------------------------------------
14168Summary of changes for this label: 08_23_00
14169
14170Fixed problem where TerminateControlMethod was being called
14171multiple times per  method
14172
14173Fixed debugger problem where single stepping caused a semaphore to
14174be  oversignalled
14175
14176Improved performance through additional parse object caching -
14177added  ACPI_EXTENDED_OP type
14178
14179-------------------------------------------
14180Summary of changes for this label: 08_10_00
14181
14182Parser/Interpreter integration:  Eliminated the creation of
14183complete parse trees  for ACPI tables and control methods.
14184Instead, parse subtrees are created and  then deleted as soon as
14185they are processed (Either entered into the namespace or  executed
14186by the interpreter).  This reduces the use of dynamic kernel
14187memory  significantly. (about 10X)
14188
14189Exception codes broken into classes and renumbered.  Be sure to
14190recompile all  code that includes acexcep.h.  Hopefully we won't
14191have to renumber the codes  again now that they are split into
14192classes (environment, programmer, AML code,  ACPI table, and
14193internal).
14194
14195Fixed some additional alignment issues in the Resource Manager
14196subcomponent
14197
14198Implemented semaphore tracking in the AcpiExec utility, and fixed
14199several places  where mutexes/semaphores were being unlocked
14200without a corresponding lock  operation.  There are no known
14201semaphore or mutex "leaks" at this time.
14202
14203Fixed the case where an ASL Return operator is used to return an
14204unnamed  package.
14205
14206-------------------------------------------
14207Summary of changes for this label: 07_28_00
14208
14209Fixed a problem with the way addresses were calculated in
14210AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
14211manifested itself when a Field was  created with WordAccess or
14212DwordAccess, but the field unit defined within the  Field was less
14213
14214than a Word or Dword.
14215
14216Fixed a problem in AmlDumpOperands() module's loop to pull
14217operands off of the  operand stack to display information. The
14218problem manifested itself as a TLB  error on 64-bit systems when
14219accessing an operand stack with two or more  operands.
14220
14221Fixed a problem with the PCI configuration space handlers where
14222context was  getting confused between accesses. This required a
14223change to the generic address  space handler and address space
14224setup definitions. Handlers now get both a  global handler context
14225(this is the one passed in by the user when executing
14226AcpiInstallAddressSpaceHandler() and a specific region context
14227that is unique to  each region (For example, the _ADR, _SEG and
14228_BBN values associated with a  specific region). The generic
14229function definitions have changed to the  following:
14230
14231typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
14232UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
14233*HandlerContext, // This used to be void *Context void
14234*RegionContext); // This is an additional parameter
14235
14236typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
14237RegionHandle, UINT32 Function, void *HandlerContext,  void
14238**RegionContext); // This used to be **ReturnContext
14239
14240-------------------------------------------
14241Summary of changes for this label: 07_21_00
14242
14243Major file consolidation and rename.  All files within the
14244interpreter have been  renamed as well as most header files.  This
14245was done to prevent collisions with  existing files in the host
14246OSs -- filenames such as "config.h" and "global.h"  seem to be
14247quite common.  The VC project files have been updated.  All
14248makefiles  will require modification.
14249
14250The parser/interpreter integration continues in Phase 5 with the
14251implementation  of a complete 2-pass parse (the AML is parsed
14252twice) for each table;  This  avoids the construction of a huge
14253parse tree and therefore reduces the amount of  dynamic memory
14254required by the subsystem.  Greater use of the parse object cache
14255means that performance is unaffected.
14256
14257Many comments from the two code reviews have been rolled in.
14258
14259The 64-bit alignment support is complete.
14260
14261-------------------------------------------
14262Summary of changes for this label: 06_30_00
14263
14264With a nod and a tip of the hat to the technology of yesteryear,
14265we've added  support in the source code for 80 column output
14266devices.  The code is now mostly  constrained to 80 columns or
14267less to support environments and editors that 1)  cannot display
14268or print more than 80 characters on a single line, and 2) cannot
14269disable line wrapping.
14270
14271A major restructuring of the namespace data structure has been
14272completed.  The  result is 1) cleaner and more
14273understandable/maintainable code, and 2) a  significant reduction
14274in the dynamic memory requirement for each named ACPI  object
14275(almost half).
14276
14277-------------------------------------------
14278Summary of changes for this label: 06_23_00
14279
14280Linux support has been added.  In order to obtain approval to get
14281the ACPI CA  subsystem into the Linux kernel, we've had to make
14282quite a few changes to the  base subsystem that will affect all
14283users (all the changes are generic and OS- independent).  The
14284effects of these global changes have been somewhat far  reaching.
14285Files have been merged and/or renamed and interfaces have been
14286renamed.   The major changes are described below.
14287
14288Osd* interfaces renamed to AcpiOs* to eliminate namespace
14289pollution/confusion  within our target kernels.  All OSD
14290interfaces must be modified to match the new  naming convention.
14291
14292Files merged across the subsystem.  A number of the smaller source
14293and header  files have been merged to reduce the file count and
14294increase the density of the  existing files.  There are too many
14295to list here.  In general, makefiles that  call out individual
14296files will require rebuilding.
14297
14298Interpreter files renamed.  All interpreter files now have the
14299prefix am*  instead of ie* and is*.
14300
14301Header files renamed:  The acapi.h file is now acpixf.h.  The
14302acpiosd.h file is  now acpiosxf.h.  We are removing references to
14303the acronym "API" since it is  somewhat windowsy. The new name is
14304"external interface" or xface or xf in the  filenames.j
14305
14306
14307All manifest constants have been forced to upper case (some were
14308mixed case.)   Also, the string "ACPI_" has been prepended to many
14309(not all) of the constants,  typedefs, and structs.
14310
14311The globals "DebugLevel" and "DebugLayer" have been renamed
14312"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
14313
14314All other globals within the subsystem are now prefixed with
14315"AcpiGbl_" Internal procedures within the subsystem are now
14316prefixed with "Acpi" (with only  a few exceptions).  The original
14317two-letter abbreviation for the subcomponent  remains after "Acpi"
14318- for example, CmCallocate became AcpiCmCallocate.
14319
14320Added a source code translation/conversion utility.  Used to
14321generate the Linux  source code, it can be modified to generate
14322other types of source as well. Can  also be used to cleanup
14323existing source by removing extraneous spaces and blank  lines.
14324Found in tools/acpisrc/*
14325
14326OsdUnMapMemory was renamed to OsdUnmapMemory and then
14327AcpiOsUnmapMemory.  (UnMap  became Unmap).
14328
14329A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
14330When set to  one, this indicates that the caller wants to use the
14331
14332semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
14333both types.  However, implementers of this  call may want to use
14334different OS primitives depending on the type of semaphore
14335requested.  For example, some operating systems provide separate
14336
14337"mutex" and  "semaphore" interfaces - where the mutex interface is
14338much faster because it  doesn't have all the overhead of a full
14339semaphore implementation.
14340
14341Fixed a deadlock problem where a method that accesses the PCI
14342address space can  block forever if it is the first access to the
14343space.
14344
14345-------------------------------------------
14346Summary of changes for this label: 06_02_00
14347
14348Support for environments that cannot handle unaligned data
14349accesses (e.g.  firmware and OS environments devoid of alignment
14350handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
14351been added (via configurable macros) in  these three areas: -
14352Transfer of data from the raw AML byte stream is done via byte
14353moves instead of    word/dword/qword moves. - External objects are
14354aligned within the user buffer, including package   elements (sub-
14355objects). - Conversion of name strings to UINT32 Acpi Names is now
14356done byte-wise.
14357
14358The Store operator was modified to mimic Microsoft's
14359implementation when storing  to a Buffer Field.
14360
14361Added a check of the BM_STS bit before entering C3.
14362
14363The methods subdirectory has been obsoleted and removed.  A new
14364file, cmeval.c  subsumes the functionality.
14365
14366A 16-bit (DOS) version of AcpiExec has been developed.  The
14367makefile is under  the acpiexec directory.
14368