changes.txt revision 209746
1----------------------------------------
202 July 2010. Summary of changes for version 20100702:
3
4This release is available at www.acpica.org/downloads
5
61) ACPI CA Core Subsystem:
7
8Implemented several updates to the recently added GPE reference count 
9support. The model for "wake" GPEs is changing to give the host OS complete 
10control of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
11methods, since the host already must execute them. Also, additional changes 
12were made to help ensure that the reference counts are kept in proper 
13synchronization with reality. Rafael J. Wysocki.
14
151) Ensure that GPEs are not enabled twice during initialization.
162) Ensure that GPE enable masks stay in sync with the reference count.
173) Do not inadvertently enable GPEs when writing GPE registers.
184) Remove the internal wake reference counter and add new AcpiGpeWakeup 
19interface. This interface will set or clear individual GPEs for wakeup.
205) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
21are now used for "runtime" GPEs only.
22
23Changed the behavior of the GPE install/remove handler interfaces. The GPE is 
24no longer disabled during this process, as it was found to cause problems on 
25some machines. Rafael J. Wysocki.
26
27Reverted a change introduced in version 20100528 to enable Embedded 
28Controller multi-byte transfers. This change was found to cause problems with 
29Index Fields and possibly Bank Fields. It will be reintroduced when these 
30problems have been resolved.
31
32Fixed a problem with references to Alias objects within Package Objects. A 
33reference to an Alias within the definition of a Package was not always 
34resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
35were resolved to the actual object instead of a reference to the object as it 
36should be. Package objects are only allowed to contain integer, string, 
37buffer, package, and reference objects. Redhat bugzilla 608648.
38
39Example Code and Data Size: These are the sizes for the OS-independent 
40acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
41debug version of the code includes the debug output trace mechanism and has a 
42much larger code and data size.
43
44  Previous Release:
45    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
46    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
47  Current Release:
48    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
49    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
50
512) iASL Compiler/Disassembler and Tools:
52
53iASL: Implemented a new compiler subsystem to allow definition and 
54compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
55are called "ACPI Data Tables", and the new compiler is the "Data Table 
56Compiler". This compiler is intended to simplify the existing error-prone 
57process of creating these tables for the BIOS, as well as allowing the 
58disassembly, modification, recompilation, and override of existing ACPI data 
59tables. See the iASL User Guide for detailed information.
60
61iASL: Implemented a new Template Generator option in support of the new Data 
62Table Compiler. This option will create examples of all known ACPI tables 
63that can be used as the basis for table development. See the iASL 
64documentation and the -T option.
65
66Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
67Descriptor Table).
68
69Updated the Linux makefiles for iASL and AcpiExec to place the generated 
70object files in the local directory so that there can be no collisions 
71between the shared files between them that are generated with different 
72options.
73
74Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
75the #define __APPLE__ to enable this support.
76
77----------------------------------------
7828 May 2010. Summary of changes for version 20100528:
79
80This release is available at www.acpica.org/downloads
81
82Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
83available at www.acpi.info. This is primarily an errata release.
84
851) ACPI CA Core Subsystem:
86
87Undefined ACPI tables: We are looking for the definitions for the following 
88ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
89
90Implemented support to enable multi-byte transfers for Embedded Controller 
91(EC) operation regions. Previously, the maximum data size passed to the EC 
92operation region handler was a single byte. There are often EC Fields larger 
93than one byte that need to be transferred, and it is useful for the EC driver 
94to lock these as a single transaction. This change enables single transfers 
95larger than 8 bits. This effectively changes the access to the EC space from 
96ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
97Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
98transfers. Alexey Starikovskiy, Lin Ming
99
100Implemented a performance enhancement for namespace search and access. This 
101change enhances the performance of namespace searches and walks by adding a 
102backpointer to the parent in each namespace node. On large namespaces, this 
103change can improve overall ACPI performance by up to 9X. Adding a pointer to 
104each namespace node increases the overall size of the internal namespace by 
105about 5%, since each namespace entry usually consists of both a namespace 
106node and an ACPI operand object. However, this is the first growth of the 
107namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
108
109Implemented a performance optimization that reduces the number of namespace 
110walks. On control method exit, only walk the namespace if the method is known 
111to have created namespace objects outside of its local scope. Previously, the 
112entire namespace was traversed on each control method exit. This change can 
113improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
114
115Added support to truncate I/O addresses to 16 bits for Windows compatibility. 
116Some ASL code has been seen in the field that inadvertently has bits set 
117above bit 15. This feature is optional and is enabled if the BIOS requests 
118any Windows OSI strings. It can also be enabled by the host OS. Matthew 
119Garrett, Bob Moore.
120
121Added support to limit the maximum time for the ASL Sleep() operator. To 
122prevent accidental deep sleeps, limit the maximum time that Sleep() will 
123actually sleep. Configurable, the default maximum is two seconds. ACPICA 
124bugzilla 854.
125
126Added run-time validation support for the _WDG and_WED Microsoft predefined 
127methods. These objects are defined by "Windows Instrumentation", and are not 
128part of the ACPI spec. ACPICA BZ 860.
129
130Expanded all statistic counters used during namespace and device 
131initialization from 16 to 32 bits in order to support very large namespaces.
132
133Replaced all instances of %d in printf format specifiers with %u since nearly 
134all integers in ACPICA are unsigned.
135
136Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
137as AE_NO_HANDLER.
138
139Example Code and Data Size: These are the sizes for the OS-independent 
140acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
141debug version of the code includes the debug output trace mechanism and has a 
142much larger code and data size.
143
144  Previous Release:
145    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
146    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
147  Current Release:
148    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
149    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
150
1512) iASL Compiler/Disassembler and Tools:
152
153iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
154methods. These objects are defined by "Windows Instrumentation", and are not 
155part of the ACPI spec. ACPICA BZ 860.
156
157AcpiExec: added option to disable the memory tracking mechanism. The -dt 
158option will disable the tracking mechanism, which improves performance 
159considerably.
160
161AcpiExec: Restructured the command line options into -d (disable) and -e 
162(enable) options.
163
164----------------------------------------
16528 April 2010. Summary of changes for version 20100428:
166
1671) ACPI CA Core Subsystem:
168
169Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
170including FADT-based and GPE Block Devices, execute any _PRW methods in the 
171new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
172runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
173immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
174Devices. Provides compatibility with other ACPI implementations. Two new 
175files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
176
177Fixed a regression introduced in version 20100331 within the table manager 
178where initial table loading could fail. This was introduced in the fix for 
179AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
180data structures to clarify their meaning and use.
181
182Fixed a possible allocation overrun during internal object copy in 
183AcpiUtCopySimpleObject. The original code did not correctly handle the case 
184where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
185
186Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
187possible access beyond end-of-allocation. Also, now fully validate descriptor 
188(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
189
190Example Code and Data Size: These are the sizes for the OS-independent 
191acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
192debug version of the code includes the debug output trace mechanism and has a 
193much larger code and data size.
194
195  Previous Release:
196    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
197    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
198  Current Release:
199    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
200    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
201
2022) iASL Compiler/Disassembler and Tools:
203
204iASL: Implemented Min/Max/Len/Gran validation for address resource 
205descriptors. This change implements validation for the address fields that 
206are common to all address-type resource descriptors. These checks are 
207implemented: Checks for valid Min/Max, length within the Min/Max window, 
208valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
209table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
210and aslrestype2.c files into five new files. ACPICA BZ 840.
211
212iASL: Added support for the _Wxx predefined names. This support was missing 
213and these names were not recognized by the compiler as valid predefined 
214names. ACPICA BZ 851.
215
216iASL: Added an error for all predefined names that are defined to return no 
217value and thus must be implemented as Control Methods. These include all of 
218the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
219names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
220
221iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
222ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
223dynamically loaded via the Load() operator. Also cleaned up output for the -
224ta and -tc options. ACPICA BZ 853.
225
226Tests: Added a new file with examples of extended iASL error checking. 
227Demonstrates the advanced error checking ability of the iASL compiler. 
228Available at tests/misc/badcode.asl.
229
230----------------------------------------
23131 March 2010. Summary of changes for version 20100331:
232
2331) ACPI CA Core Subsystem:
234
235Completed a major update for the GPE support in order to improve support for 
236shared GPEs and to simplify both host OS and ACPICA code. Added a reference 
237count mechanism to support shared GPEs that require multiple device drivers. 
238Several external interfaces have changed. One external interface has been 
239removed. One new external interface was added. Most of the GPE external 
240interfaces now use the GPE spinlock instead of the events mutex (and the 
241Flags parameter for many GPE interfaces has been removed.) See the updated 
242ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
243Wysocki. ACPICA BZ 831.
244
245Changed:
246    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
247Removed:
248    AcpiSetGpeType
249New:
250    AcpiSetGpe
251
252Implemented write support for DataTable operation regions. These regions are 
253defined via the DataTableRegion() operator. Previously, only read support was 
254implemented. The ACPI specification allows DataTableRegions to be read/write, 
255however.
256
257Implemented a new subsystem option to force a copy of the DSDT to local 
258memory. Optionally copy the entire DSDT to local memory (instead of simply 
259mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
260the original DSDT, creating the need for this option. Default is FALSE, do 
261not copy the DSDT.
262
263Implemented detection of a corrupted or replaced DSDT. This change adds 
264support to detect a DSDT that has been corrupted and/or replaced from outside 
265the OS (by firmware). This is typically catastrophic for the system, but has 
266been seen on some machines. Once this problem has been detected, the DSDT 
267copy option can be enabled via system configuration. Lin Ming, Bob Moore.
268
269Fixed two problems with AcpiReallocateRootTable during the root table copy. 
270When copying the root table to the new allocation, the length used was 
271incorrect. The new size was used instead of the current table size, meaning 
272too much data was copied. Also, the count of available slots for ACPI tables 
273was not set correctly. Alexey Starikovskiy, Bob Moore.
274
275Example Code and Data Size: These are the sizes for the OS-independent 
276acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
277debug version of the code includes the debug output trace mechanism and has a 
278much larger code and data size.
279
280  Previous Release:
281    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
282    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
283  Current Release:
284    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
285    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
286
2872) iASL Compiler/Disassembler and Tools:
288
289iASL: Implement limited typechecking for values returned from predefined 
290control methods. The type of any returned static (unnamed) object is now 
291validated. For example, Return(1). ACPICA BZ 786.
292
293iASL: Fixed a predefined name object verification regression. Fixes a problem 
294introduced in version 20100304. An error is incorrectly generated if a 
295predefined name is declared as a static named object with a value defined 
296using the keywords "Zero", "One", or "Ones". Lin Ming.
297
298iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
299reducing the requested registry access rights. ACPICA BZ 842.
300
301Disassembler: fixed a possible fault when generating External() statements. 
302Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
303(carat). Fixes a string length allocation calculation. Lin Ming.
304
305----------------------------------------
30604 March 2010. Summary of changes for version 20100304:
307
3081) ACPI CA Core Subsystem:
309
310Fixed a possible problem with the AML Mutex handling function 
311AcpiExReleaseMutex where the function could fault under the very rare 
312condition when the interpreter has blocked, the interpreter lock is released, 
313the interpreter is then reentered via the same thread, and attempts to 
314acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
315Ming.
316
317Implemented additional configuration support for the AML "Debug Object". 
318Output from the debug object can now be enabled via a global variable, 
319AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
320This debug output is now available in the release version of ACPICA instead 
321of just the debug version. Also, the entire debug output module can now be 
322configured out of the ACPICA build if desired. One new file added, 
323executer/exdebug.c. Lin Ming, Bob Moore.
324
325Added header support for the ACPI MCHI table (Management Controller Host 
326Interface Table). This table was added in ACPI 4.0, but the defining document 
327has only recently become available.
328
329Standardized output of integer values for ACPICA warnings/errors. Always use 
3300x prefix for hex output, always use %u for unsigned integer decimal output. 
331Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
332invocations.) These invocations were converted from the original 
333ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
334
335Example Code and Data Size: These are the sizes for the OS-independent 
336acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
337debug version of the code includes the debug output trace mechanism and has a 
338much larger code and data size.
339
340  Previous Release:
341    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
342    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
343  Current Release:
344    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
345    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
346
3472) iASL Compiler/Disassembler and Tools:
348
349iASL: Implemented typechecking support for static (non-control method) 
350predefined named objects that are declared with the Name() operator. For 
351example, the type of this object is now validated to be of type Integer: 
352Name(_BBN, 1). This change migrates the compiler to using the core predefined 
353name table instead of maintaining a local version. Added a new file, 
354aslpredef.c. ACPICA BZ 832.
355
356Disassembler: Added support for the ACPI 4.0 MCHI table.
357
358----------------------------------------
35921 January 2010. Summary of changes for version 20100121:
360
3611) ACPI CA Core Subsystem:
362
363Added the 2010 copyright to all module headers and signons. This affects 
364virtually every file in the ACPICA core subsystem, the iASL compiler, the 
365tools/utilities, and the test suites.
366
367Implemented a change to the AcpiGetDevices interface to eliminate unnecessary 
368invocations of the _STA method. In the case where a specific _HID is 
369requested, do not run _STA until a _HID match is found. This eliminates 
370potentially dozens of _STA calls during a search for a particular device/HID, 
371which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
372
373Implemented an additional repair for predefined method return values. Attempt 
374to repair unexpected NULL elements within returned Package objects. Create an 
375Integer of value zero, a NULL String, or a zero-length Buffer as appropriate. 
376ACPICA BZ 818. Lin Ming, Bob Moore.
377
378Removed the obsolete ACPI_INTEGER data type. This type was introduced as the 
379code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
38064-bit AML integers). It is now obsolete and this change removes it from the 
381ACPICA code base, replaced by UINT64. The original typedef has been retained 
382for now for compatibility with existing device driver code. ACPICA BZ 824.
383
384Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
385the parse tree object.
386
387Added additional warning options for the gcc-4 generation. Updated the source 
388accordingly. This includes some code restructuring to eliminate unreachable 
389code, elimination of some gotos, elimination of unused return values, some 
390additional casting, and removal of redundant declarations.
391
392Example Code and Data Size: These are the sizes for the OS-independent 
393acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
394debug version of the code includes the debug output trace mechanism and has a 
395much larger code and data size.
396
397  Previous Release:
398    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
399    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
400  Current Release:
401    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
402    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
403
4042) iASL Compiler/Disassembler and Tools:
405
406No functional changes for this release.
407
408----------------------------------------
40914 December 2009. Summary of changes for version 20091214:
410
4111) ACPI CA Core Subsystem:
412
413Enhanced automatic data type conversions for predefined name repairs. This 
414change expands the automatic repairs/conversions for predefined name return 
415values to make Integers, Strings, and Buffers fully interchangeable. Also, a 
416Buffer can be converted to a Package of Integers if necessary. The nsrepair.c 
417module was completely restructured. Lin Ming, Bob Moore.
418
419Implemented automatic removal of null package elements during predefined name 
420repairs. This change will automatically remove embedded and trailing NULL 
421package elements from returned package objects that are defined to contain a 
422variable number of sub-packages. The driver is then presented with a package 
423with no null elements to deal with. ACPICA BZ 819.
424
425Implemented a repair for the predefined _FDE and _GTM names. The expected 
426return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
427possible problems (both seen in the field), where a package of integers is 
428returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
429
430Implemented additional module-level code support. This change will properly 
431execute module-level code that is not at the root of the namespace (under a 
432Device object, etc.). Now executes the code within the current scope instead 
433of the root. ACPICA BZ 762. Lin Ming.
434
435Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
436problem where mutex errors can occur when running a _REG method that is in 
437the same scope as a method-defined operation region or an operation region 
438under a module-level IF block. This type of code is rare, so the problem has 
439not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
440
441Fixed a possible memory leak during module-level code execution. An object 
442could be leaked for each block of executed module-level code if the 
443interpreter slack mode is enabled This change deletes any implicitly returned 
444object from the module-level code block. Lin Ming.
445
446Removed messages for successful predefined repair(s). The repair mechanism 
447was considered too wordy. Now, messages are only unconditionally emitted if 
448the return object cannot be repaired. Existing messages for successful 
449repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
450
451Example Code and Data Size: These are the sizes for the OS-independent 
452acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
453debug version of the code includes the debug output trace mechanism and has a 
454much larger code and data size.
455
456  Previous Release:
457    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
458    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
459  Current Release:
460    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
461    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
462
4632) iASL Compiler/Disassembler and Tools:
464
465iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
466were no longer automatically removed at the termination of the compile.
467
468acpiexec: Implemented the -f option to specify default region fill value. 
469This option specifies the value used to initialize buffers that simulate 
470operation regions. Default value is zero. Useful for debugging problems that 
471depend on a specific initial value for a region or field.
472
473----------------------------------------
47412 November 2009. Summary of changes for version 20091112:
475
4761) ACPI CA Core Subsystem:
477
478Implemented a post-order callback to AcpiWalkNamespace. The existing 
479interface only has a pre-order callback. This change adds an additional 
480parameter for a post-order callback which will be more useful for bus scans. 
481ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
482
483Modified the behavior of the operation region memory mapping cache for 
484SystemMemory. Ensure that the memory mappings created for operation regions 
485do not cross 4K page boundaries. Crossing a page boundary while mapping 
486regions can cause kernel warnings on some hosts if the pages have different 
487attributes. Such regions are probably BIOS bugs, and this is the workaround. 
488Linux BZ 14445. Lin Ming.
489
490Implemented an automatic repair for predefined methods that must return 
491sorted lists. This change will repair (by sorting) packages returned by _ALR, 
492_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
493and do not contain NULL package elements. Adds one new file, 
494namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
495
496Fixed a possible fault during predefined name validation if a return Package 
497object contains NULL elements. Also adds a warning if a NULL element is 
498followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
499include repair or removal of all such NULL elements where possible.
500
501Implemented additional module-level executable AML code support. This change 
502will execute module-level code that is not at the root of the namespace 
503(under a Device object, etc.) at table load time. Module-level executable AML 
504code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
505
506Implemented a new internal function to create Integer objects. This function 
507simplifies miscellaneous object creation code. ACPICA BZ 823.
508
509Reduced the severity of predefined repair messages, Warning to Info. Since 
510the object was successfully repaired, a warning is too severe. Reduced to an 
511info message for now. These messages may eventually be changed to debug-only. 
512ACPICA BZ 812.
513
514Example Code and Data Size: These are the sizes for the OS-independent 
515acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
516debug version of the code includes the debug output trace mechanism and has a 
517much larger code and data size.
518
519  Previous Release:
520    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
521    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
522  Current Release:
523    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
524    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
525
5262) iASL Compiler/Disassembler and Tools:
527
528iASL: Implemented Switch() with While(1) so that Break works correctly. This 
529change correctly implements the Switch operator with a surrounding While(1) 
530so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
531
532iASL: Added a message if a package initializer list is shorter than package 
533length. Adds a new remark for a Package() declaration if an initializer list 
534exists, but is shorter than the declared length of the package. Although 
535technically legal, this is probably a coding error and it is seen in the 
536field. ACPICA BZ 815. Lin Ming, Bob Moore.
537
538iASL: Fixed a problem where the compiler could fault after the maximum number 
539of errors was reached (200).
540
541acpixtract: Fixed a possible warning for pointer cast if the compiler warning 
542level set very high.
543
544----------------------------------------
54513 October 2009. Summary of changes for version 20091013:
546
5471) ACPI CA Core Subsystem:
548
549Fixed a problem where an Operation Region _REG method could be executed more 
550than once. If a custom address space handler is installed by the host before 
551the "initialize operation regions" phase of the ACPICA initialization, any 
552_REG methods for that address space could be executed twice. This change 
553fixes the problem. ACPICA BZ 427. Lin Ming.
554
555Fixed a possible memory leak for the Scope() ASL operator. When the exact 
556invocation of "Scope(\)" is executed (change scope to root), one internal 
557operand object was leaked. Lin Ming.
558
559Implemented a run-time repair for the _MAT predefined method. If the _MAT 
560return value is defined as a Field object in the AML, and the field
561size is less than or equal to the default width of an integer (32 or 64),_MAT 
562can incorrectly return an Integer instead of a Buffer. ACPICA now 
563automatically repairs this problem. ACPICA BZ 810.
564
565Implemented a run-time repair for the _BIF and _BIX predefined methods. The 
566"OEM Information" field is often incorrectly returned as an Integer with 
567value zero if the field is not supported by the platform. This is due to an 
568ambiguity in the ACPI specification. The field should always be a string. 
569ACPICA now automatically repairs this problem by returning a NULL string 
570within the returned Package. ACPICA BZ 807.
571
572Example Code and Data Size: These are the sizes for the OS-independent 
573acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
574debug version of the code includes the debug output trace mechanism and has a 
575much larger code and data size.
576
577  Previous Release:
578    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
579    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
580  Current Release:
581    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
582    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
583
5842) iASL Compiler/Disassembler and Tools:
585
586Disassembler: Fixed a problem where references to external symbols that 
587contained one or more parent-prefixes (carats) were not handled correctly, 
588possibly causing a fault. ACPICA BZ 806. Lin Ming.
589
590Disassembler: Restructured the code so that all functions that handle 
591external symbols are in a single module. One new file is added, 
592common/dmextern.c.
593
594AML Debugger: Added a max count argument for the Batch command (which 
595executes multiple predefined methods within the namespace.)
596
597iASL: Updated the compiler documentation (User Reference.) Available at 
598http://www.acpica.org/documentation/. ACPICA BZ 750.
599
600AcpiXtract: Updated for Lint and other formatting changes. Close all open 
601files.
602
603----------------------------------------
60403 September 2009. Summary of changes for version 20090903:
605
6061) ACPI CA Core Subsystem:
607
608For Windows Vista compatibility, added the automatic execution of an _INI 
609method located at the namespace root (\_INI). This method is executed at 
610table load time. This support is in addition to the automatic execution of 
611\_SB._INI. Lin Ming.
612
613Fixed a possible memory leak in the interpreter for AML package objects if 
614the package initializer list is longer than the defined size of the package. 
615This apparently can only happen if the BIOS changes the package size on the 
616fly (seen in a _PSS object), as ASL compilers do not allow this. The 
617interpreter will truncate the package to the defined size (and issue an error 
618message), but previously could leave the extra objects undeleted if they were 
619pre-created during the argument processing (such is the case if the package 
620consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
621
622Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
623This has been reported in the field. Previously, ACPICA would zero out the 
624buffer/string. Now, the operation is treated as a noop. Provides Windows 
625compatibility. ACPICA BZ 803. Lin Ming.
626
627Removed an extraneous error message for ASL constructs of the form 
628Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
629are seen in many BIOSs and are once again treated as NOOPs and no error is 
630emitted when they are encountered. ACPICA BZ 785.
631
632Fixed an extraneous warning message if a _DSM reserved method returns a 
633Package object. _DSM can return any type of object, so validation on the 
634return type cannot be performed. ACPICA BZ 802.
635
636Example Code and Data Size: These are the sizes for the OS-independent 
637acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
638debug version of the code includes the debug output trace mechanism and has a 
639much larger code and data size.
640
641  Previous Release:
642    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
643    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
644  Current Release:
645    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
646    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
647
6482) iASL Compiler/Disassembler and Tools:
649
650iASL: Fixed a problem with the use of the Alias operator and Resource 
651Templates. The correct alias is now constructed and no error is emitted. 
652ACPICA BZ 738.
653
654iASL: Implemented the -I option to specify additional search directories for 
655include files. Allows multiple additional search paths for include files. 
656Directories are searched in the order specified on the command line (after 
657the local directory is searched.) ACPICA BZ 800.
658
659iASL: Fixed a problem where the full pathname for include files was not 
660emitted for warnings/errors. This caused the IDE support to not work 
661properly. ACPICA BZ 765.
662
663iASL: Implemented the -@ option to specify a Windows-style response file 
664containing additional command line options. ACPICA BZ 801.
665
666AcpiExec: Added support to load multiple AML files simultaneously (such as a 
667DSDT and multiple SSDTs). Also added support for wildcards within the AML 
668pathname. These features allow all machine tables to be easily loaded and 
669debugged together. ACPICA BZ 804.
670
671Disassembler: Added missing support for disassembly of HEST table Error Bank 
672subtables. 
673
674----------------------------------------
67530 July 2009. Summary of changes for version 20090730:
676
677The ACPI 4.0 implementation for ACPICA is complete with this release.
678
6791) ACPI CA Core Subsystem:
680
681ACPI 4.0: Added header file support for all new and changed ACPI tables. 
682Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
683for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
684EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
685have been some ACPI 4.0 changes to other existing tables. Split the large 
686actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
687
688ACPI 4.0: Implemented predefined name validation for all new names. There are 
68931 new names in ACPI 4.0. The predefined validation module was split into two 
690files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
691
692Implemented support for so-called "module-level executable code". This is 
693executable AML code that exists outside of any control method and is intended 
694to be executed at table load time. Although illegal since ACPI 2.0, this type 
695of code still exists and is apparently still being created. Blocks of this 
696code are now detected and executed as intended. Currently, the code blocks 
697must exist under either an If, Else, or While construct; these are the 
698typical cases seen in the field. ACPICA BZ 762. Lin Ming.
699
700Implemented an automatic dynamic repair for predefined names that return 
701nested Package objects. This applies to predefined names that are defined to 
702return a variable-length Package of sub-packages. If the number of sub-
703packages is one, BIOS code is occasionally seen that creates a simple single 
704package with no sub-packages. This code attempts to fix the problem by 
705wrapping a new package object around the existing package. These methods can 
706be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
707790.
708
709Fixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
710The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
711BZ 793.
712
713Fixed a problem with AcpiReset where the reset would silently fail if the 
714register was one of the protected I/O ports. AcpiReset now bypasses the port 
715validation mechanism. This may eventually be driven into the AcpiRead/Write 
716interfaces.
717
718Fixed a regression related to the recent update of the AcpiRead/Write 
719interfaces. A sleep/suspend could fail if the optional PM2 Control register 
720does not exist during an attempt to write the Bus Master Arbitration bit. 
721(However, some hosts already delete the code that writes this bit, and the 
722code may in fact be obsolete at this date.) ACPICA BZ 799.
723
724Fixed a problem where AcpiTerminate could fault if inadvertently called twice 
725in succession. ACPICA BZ 795.
726
727Example Code and Data Size: These are the sizes for the OS-independent 
728acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
729debug version of the code includes the debug output trace mechanism and has a 
730much larger code and data size.
731
732  Previous Release:
733    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
734    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
735  Current Release:
736    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
737    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
738
7392) iASL Compiler/Disassembler and Tools:
740
741ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
742changes to existing tables. ACPICA BZ 775.
743
744----------------------------------------
74525 June 2009. Summary of changes for version 20090625:
746
747The ACPI 4.0 Specification was released on June 16 and is available at 
748www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
749continue for the next few releases.
750
7511) ACPI CA Core Subsystem:
752
753ACPI 4.0: Implemented interpreter support for the IPMI operation region 
754address space. Includes support for bi-directional data buffers and an IPMI 
755address space handler (to be installed by an IPMI device driver.) ACPICA BZ 
756773. Lin Ming.
757
758ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
759support in both the header files and the disassembler.
760
761Completed a major update for the AcpiGetObjectInfo external interface. 
762Changes include:
763 - Support for variable, unlimited length HID, UID, and CID strings.
764 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
765 - Call the _SxW power methods on behalf of a device object.
766 - Determine if a device is a PCI root bridge.
767 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
768These changes will require an update to all callers of this interface. See 
769the updated ACPICA Programmer Reference for details. One new source file has 
770been added - utilities/utids.c. ACPICA BZ 368, 780.
771
772Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
773transfers. The Value parameter has been extended from 32 bits to 64 bits in 
774order to support new ACPI 4.0 tables. These changes will require an update to 
775all callers of these interfaces. See the ACPICA Programmer Reference for 
776details. ACPICA BZ 768.
777
778Fixed several problems with AcpiAttachData. The handler was not invoked when 
779the host node was deleted. The data sub-object was not automatically deleted 
780when the host node was deleted. The interface to the handler had an unused 
781parameter, this was removed. ACPICA BZ 778.
782
783Enhanced the function that dumps ACPI table headers. All non-printable 
784characters in the string fields are now replaced with '?' (Signature, OemId, 
785OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
786these fields are occasionally seen in the field. ACPICA BZ 788.
787
788Fixed a problem with predefined method repair code where the code that 
789attempts to repair/convert an object of incorrect type is only executed on 
790the first time the predefined method is called. The mechanism that disables 
791warnings on subsequent calls was interfering with the repair mechanism. 
792ACPICA BZ 781.
793
794Fixed a possible memory leak in the predefined validation/repair code when a 
795buffer is automatically converted to an expected string object.
796
797Removed obsolete 16-bit files from the distribution and from the current git 
798tree head. ACPICA BZ 776.
799
800Example Code and Data Size: These are the sizes for the OS-independent 
801acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
802debug version of the code includes the debug output trace mechanism and has a 
803much larger code and data size.
804
805  Previous Release:
806    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
807    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
808  Current Release:
809    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
810    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
811
8122) iASL Compiler/Disassembler and Tools:
813
814ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
815operation region keyword. ACPICA BZ 771, 772. Lin Ming.
816
817ACPI 4.0: iASL - implemented compile-time validation support for all new 
818predefined names and control methods (31 total). ACPICA BZ 769.
819
820----------------------------------------
82121 May 2009. Summary of changes for version 20090521:
822
8231) ACPI CA Core Subsystem:
824
825Disabled the preservation of the SCI enable bit in the PM1 control register. 
826The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
827a "preserved" bit - "OSPM always preserves this bit position", section 
8284.7.3.2.1. However, some machines fail if this bit is in fact preserved 
829because the bit needs to be explicitly set by the OS as a workaround. No 
830machines fail if the bit is not preserved. Therefore, ACPICA no longer 
831attempts to preserve this bit.
832
833Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
834incorrectly formed _PRT package could cause a fault. Added validation to 
835ensure that each package element is actually a sub-package.
836
837Implemented a new interface to install or override a single control method, 
838AcpiInstallMethod. This interface is useful when debugging in order to repair 
839an existing method or to install a missing method without having to override 
840the entire ACPI table. See the ACPICA Programmer Reference for use and 
841examples. Lin Ming, Bob Moore.
842
843Fixed several reference count issues with the DdbHandle object that is 
844created from a Load or LoadTable operator. Prevent premature deletion of the 
845object. Also, mark the object as invalid once the table has been unloaded. 
846This is needed because the handle itself may not be deleted after the table 
847unload, depending on whether it has been stored in a named object by the 
848caller. Lin Ming.
849
850Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
851mutexes of the same sync level are acquired but then not released in strict 
852opposite order, the internally maintained Current Sync Level becomes confused 
853and can cause subsequent execution errors. ACPICA BZ 471.
854
855Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
856specification has been changed to make the SyncLevel for mutex objects more 
857useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
858same as the current sync level. This makes more sense than the previous rule 
859(SyncLevel less than or equal). This change updates the code to match the 
860specification.
861
862Fixed a problem with the local version of the AcpiOsPurgeCache function. The 
863(local) cache must be locked during all cache object deletions. Andrew 
864Baumann.
865
866Updated the Load operator to use operation region interfaces. This replaces 
867direct memory mapping with region access calls. Now, all region accesses go 
868through the installed region handler as they should.
869
870Simplified and optimized the NsGetNextNode function. Reduced parameter count 
871and reduced code for this frequently used function.
872
873Example Code and Data Size: These are the sizes for the OS-independent 
874acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
875debug version of the code includes the debug output trace mechanism and has a 
876much larger code and data size.
877
878  Previous Release:
879    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
880    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
881  Current Release:
882    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
883    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
884
8852) iASL Compiler/Disassembler and Tools:
886
887Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
888with sub-table disassembly and handling invalid sub-tables. Attempt recovery 
889after an invalid sub-table ID.
890
891----------------------------------------
89222 April 2009. Summary of changes for version 20090422:
893
8941) ACPI CA Core Subsystem:
895
896Fixed a compatibility issue with the recently released I/O port protection 
897mechanism. For windows compatibility, 1) On a port protection violation, 
898simply ignore the request and do not return an exception (allow the control 
899method to continue execution.) 2) If only part of the request overlaps a 
900protected port, read/write the individual ports that are not protected. Linux 
901BZ 13036. Lin Ming
902
903Enhanced the execution of the ASL/AML BreakPoint operator so that it actually 
904breaks into the AML debugger if the debugger is present. This matches the 
905ACPI-defined behavior.
906
907Fixed several possible warnings related to the use of the configurable 
908ACPI_THREAD_ID. This type can now be configured as either an integer or a 
909pointer with no warnings. Also fixes several warnings in printf-like 
910statements for the 64-bit build when the type is configured as a pointer. 
911ACPICA BZ 766, 767.
912
913Fixed a number of possible warnings when compiling with gcc 4+ (depending on 
914warning options.) Examples include printf formats, aliasing, unused globals, 
915missing prototypes, missing switch default statements, use of non-ANSI 
916library functions, use of non-ANSI constructs. See generate/unix/Makefile for 
917a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
918
919Example Code and Data Size: These are the sizes for the OS-independent 
920acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
921debug version of the code includes the debug output trace mechanism and has a 
922much larger code and data size.
923
924  Previous Release:
925    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
926    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
927  Current Release:
928    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
929    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
930
9312) iASL Compiler/Disassembler and Tools:
932
933iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
934the 64-bit build.
935
936iASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
937correctly digest Windows/DOS formatted files (with CR/LF).
938
939iASL: Added a new option for "quiet mode" (-va) that produces only the 
940compilation summary, not individual errors and warnings. Useful for large 
941batch compilations.
942
943AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
944timeout that can be used to detect hang conditions during execution of AML 
945code (includes both internal semaphores and AML-defined mutexes and events.)
946
947Added new makefiles for the generation of acpica in a generic unix-like 
948environment. These makefiles are intended to generate the acpica tools and 
949utilities from the original acpica git source tree structure.
950
951Test Suites: Updated and cleaned up the documentation files. Updated the 
952copyrights to 2009, affecting all source files. Use the new version of iASL 
953with quiet mode. Increased the number of available semaphores in the Windows 
954OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
955an alternate implementation of the semaphore timeout to allow aslts to 
956execute fully on Cygwin.
957
958----------------------------------------
95920 March 2009. Summary of changes for version 20090320:
960
9611) ACPI CA Core Subsystem:
962
963Fixed a possible race condition between AcpiWalkNamespace and dynamic table 
964unloads. Added a reader/writer locking mechanism to allow multiple concurrent 
965namespace walks (readers), but block a dynamic table unload until it can gain 
966exclusive write access to the namespace. This fixes a problem where a table 
967unload could (possibly catastrophically) delete the portion of the namespace 
968that is currently being examined by a walk. Adds a new file, utlock.c, that 
969implements the reader/writer lock mechanism. ACPICA BZ 749.
970
971Fixed a regression introduced in version 20090220 where a change to the FADT 
972handling could cause the ACPICA subsystem to access non-existent I/O ports.
973
974Modified the handling of FADT register and table (FACS/DSDT) addresses. The 
975FADT can contain both 32-bit and 64-bit versions of these addresses. 
976Previously, the 64-bit versions were favored, meaning that if both 32 and 64 
977versions were valid, but not equal, the 64-bit version was used. This was 
978found to cause some machines to fail. Now, in this case, the 32-bit version 
979is used instead. This now matches the Windows behavior.
980
981Implemented a new mechanism to protect certain I/O ports. Provides Microsoft 
982compatibility and protects the standard PC I/O ports from access via AML 
983code. Adds a new file, hwvalid.c
984
985Fixed a possible extraneous warning message from the FADT support. The 
986message warns of a 32/64 length mismatch between the legacy and GAS 
987definitions for a register.
988
989Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is 
990made obsolete by the port protection mechanism above. It was previously used 
991to validate the entire address range of an operation region, which could be 
992incorrect if the range included illegal ports, but fields within the 
993operation region did not actually access those ports. Validation is now 
994performed on a per-field basis instead of the entire region.
995
996Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
997Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
998means a read/modify/write when writing to the register. However, for status 
999registers, writing a one means clear the event. Writing a zero means preserve 
1000the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
1001and the ACPICA code now simply always writes a zero to the ignored bit.
1002
1003Modified the handling of ignored bits for the PM1 A/B Control Registers. As 
1004per the ACPI specification, for the control registers, preserve 
1005(read/modify/write) all bits that are defined as either reserved or ignored.
1006
1007Updated the handling of write-only bits in the PM1 A/B Control Registers. 
1008When reading the register, zero the write-only bits as per the ACPI spec. 
1009ACPICA BZ 443. Lin Ming.
1010
1011Removed "Linux" from the list of supported _OSI strings. Linux no longer 
1012wants to reply true to this request. The Windows strings are the only paths 
1013through the AML that are tested and known to work properly.
1014
1015  Previous Release:
1016    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1017    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1018  Current Release:
1019    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1020    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1021
10222) iASL Compiler/Disassembler and Tools:
1023
1024Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
1025aetables.c
1026
1027----------------------------------------
102820 February 2009. Summary of changes for version 20090220:
1029
10301) ACPI CA Core Subsystem:
1031
1032Optimized the ACPI register locking. Removed locking for reads from the ACPI 
1033bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
1034not required when reading the single-bit registers. The 
1035AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
1036This will improve performance for reads on these registers. ACPICA BZ 760.
1037
1038Fixed the parameter validation for AcpiRead/Write. Now return 
1039AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
1040the register has an address of zero. Previously, these cases simply returned 
1041AE_OK. For optional registers such as PM1B status/enable/control, the caller 
1042should check for a valid register address before calling. ACPICA BZ 748.
1043
1044Renamed the external ACPI bit register access functions. Renamed 
1045AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
1046functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
1047Also, restructured the code for these functions by simplifying the code path 
1048and condensing duplicate code to reduce code size.
1049
1050Added new functions to transparently handle the possibly split PM1 A/B 
1051registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
1052now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
1053746.
1054
1055Added a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
1056This function writes both of the PM1 control registers (A/B). These registers 
1057are different than the PM1 A/B status and enable registers in that different 
1058values can be written to the A/B registers. Most notably, the SLP_TYP bits 
1059can be different, as per the values returned from the _Sx predefined methods.
1060
1061Removed an extra register write within AcpiHwClearAcpiStatus. This function 
1062was writing an optional PM1B status register twice. The existing call to the 
1063low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
1064register. ACPICA BZ 751.
1065
1066Split out the PM1 Status registers from the FADT. Added new globals for these 
1067registers (A/B), similar to the way the PM1 Enable registers are handled. 
1068Instead of overloading the FADT Event Register blocks. This makes the code 
1069clearer and less prone to error.
1070
1071Fixed the warning message for when the platform contains too many ACPI tables 
1072for the default size of the global root table data structure. The calculation 
1073for the truncation value was incorrect.
1074
1075Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
1076obsolete macro, since it is now a simple reference to ->common.type. There 
1077were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
1078
1079Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
1080TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
1081simply SLEEP_TYPE. ACPICA BZ 754.
1082
1083Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
1084function is only needed on 64-bit host operating systems and is thus not 
1085included for 32-bit hosts.
1086
1087Debug output: print the input and result for invocations of the _OSI reserved 
1088control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
1089verbosity of this debug level. Len Brown.
1090
1091Example Code and Data Size: These are the sizes for the OS-independent 
1092acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1093debug version of the code includes the debug output trace mechanism and has a 
1094much larger code and data size.
1095
1096  Previous Release:
1097    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1098    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1099  Current Release:
1100    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1101    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1102
11032) iASL Compiler/Disassembler and Tools:
1104
1105Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
1106various legal performance profiles.
1107
1108----------------------------------------
110923 January 2009. Summary of changes for version 20090123:
1110
11111) ACPI CA Core Subsystem:
1112
1113Added the 2009 copyright to all module headers and signons. This affects 
1114virtually every file in the ACPICA core subsystem, the iASL compiler, and 
1115the tools/utilities.
1116
1117Implemented a change to allow the host to override any ACPI table, including 
1118dynamically loaded tables. Previously, only the DSDT could be replaced by the 
1119host. With this change, the AcpiOsTableOverride interface is called for each 
1120table found in the RSDT/XSDT during ACPICA initialization, and also whenever 
1121a table is dynamically loaded via the AML Load operator.
1122
1123Updated FADT flag definitions, especially the Boot Architecture flags.
1124
1125Debugger: For the Find command, automatically pad the input ACPI name with 
1126underscores if the name is shorter than 4 characters. This enables a match 
1127with the actual namespace entry which is itself padded with underscores.
1128
1129Example Code and Data Size: These are the sizes for the OS-independent 
1130acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1131debug version of the code includes the debug output trace mechanism and has a 
1132much larger code and data size.
1133
1134  Previous Release:
1135    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1136    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1137  Current Release:
1138    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1139    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1140
11412) iASL Compiler/Disassembler and Tools:
1142
1143Fix build error under Bison-2.4.
1144
1145Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
1146flags. Now decode all flags, regardless of the FADT version. Flag output 
1147includes the FADT version which first defined each flag.
1148
1149The iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
1150DSDT). Windows only.
1151
1152----------------------------------------
115304 December 2008. Summary of changes for version 20081204:
1154
11551) ACPI CA Core Subsystem:
1156
1157The ACPICA Programmer Reference has been completely updated and revamped for 
1158this release. This includes updates to the external interfaces, OSL 
1159interfaces, the overview sections, and the debugger reference.
1160
1161Several new ACPICA interfaces have been implemented and documented in the 
1162programmer reference:
1163AcpiReset - Writes the reset value to the FADT-defined reset register.
1164AcpiDisableAllGpes - Disable all available GPEs.
1165AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
1166AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
1167AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
1168AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
1169AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
1170
1171Most of the public ACPI hardware-related interfaces have been moved to a new 
1172file, components/hardware/hwxface.c
1173
1174Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
1175register lengths within the FADT are now used, and the low level ACPI 
1176register access no longer hardcodes the ACPI register lengths. Given that 
1177there may be some risk in actually trusting the FADT register lengths, a run-
1178time option was added to fall back to the default hardcoded lengths if the 
1179FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
1180option is set to true for now, and a warning is issued if a suspicious FADT 
1181register length is overridden with the default value.
1182
1183Fixed a reference count issue in NsRepairObject. This problem was introduced 
1184in version 20081031 as part of a fix to repair Buffer objects within 
1185Packages. Lin Ming.
1186
1187Added semaphore support to the Linux/Unix application OS-services layer 
1188(OSL). ACPICA BZ 448. Lin Ming.
1189
1190Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
1191be implemented in the OSL, or will binary semaphores be used instead.
1192
1193Example Code and Data Size: These are the sizes for the OS-independent 
1194acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1195debug version of the code includes the debug output trace mechanism and has a 
1196much larger code and data size.
1197
1198  Previous Release:
1199    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1200    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1201  Current Release:
1202    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1203    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1204
12052) iASL Compiler/Disassembler and Tools:
1206
1207iASL: Completed the '-e' option to include additional ACPI tables in order to 
1208aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
1209Ming.
1210
1211iASL: Removed the "named object in while loop" error. The compiler cannot 
1212determine how many times a loop will execute. ACPICA BZ 730.
1213
1214Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
1215BZ 743.
1216
1217Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
1218
1219----------------------------------------
122031 October 2008. Summary of changes for version 20081031:
1221
12221) ACPI CA Core Subsystem:
1223
1224Restructured the ACPICA header files into public/private. acpi.h now includes 
1225only the "public" acpica headers. All other acpica headers are "private" and 
1226should not be included by acpica users. One new file, accommon.h is used to 
1227include the commonly used private headers for acpica code generation. Future 
1228plans include moving all private headers to a new subdirectory.
1229
1230Implemented an automatic Buffer->String return value conversion for 
1231predefined ACPI methods. For these methods (such as _BIF), added automatic 
1232conversion for return objects that are required to be a String, but a Buffer 
1233was found instead. This can happen when reading string battery data from an 
1234operation region, because it used to be difficult to convert the data from 
1235buffer to string from within the ASL. Ensures that the host OS is provided 
1236with a valid null-terminated string. Linux BZ 11822.
1237
1238Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
1239into two: one for the 32-bit vector, another for the 64-bit vector. This is 
1240required because the host OS must setup the wake much differently for each 
1241vector (real vs. protected mode, etc.) and the interface itself should not be 
1242deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
1243interface, as it served no purpose (only the firmware reads the vector, OS 
1244only writes the vector.) ACPICA BZ 731.
1245
1246Implemented a mechanism to escape infinite AML While() loops. Added a loop 
1247counter to force exit from AML While loops if the count becomes too large. 
1248This can occur in poorly written AML when the hardware does not respond 
1249within a while loop and the loop does not implement a timeout. The maximum 
1250loop count is configurable. A new exception code is returned when a loop is 
1251broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
1252
1253Optimized the execution of AML While loops. Previously, a control state 
1254object was allocated and freed for each execution of the loop. The 
1255optimization is to simply reuse the control state for each iteration. This 
1256speeds up the raw loop execution time by about 5%.
1257
1258Enhanced the implicit return mechanism. For Windows compatibility, return an 
1259implicit integer of value zero for methods that contain no executable code. 
1260Such methods are seen in the field as stubs (presumably), and can cause 
1261drivers to fail if they expect a return value. Lin Ming.
1262
1263Allow multiple backslashes as root prefixes in namepaths. In a fully 
1264qualified namepath, allow multiple backslash prefixes. This can happen (and 
1265is seen in the field) because of the use of a double-backslash in strings 
1266(since backslash is the escape character) causing confusion. ACPICA BZ 739 
1267Lin Ming.
1268
1269Emit a warning if two different FACS or DSDT tables are discovered in the 
1270FADT. Checks if there are two valid but different addresses for the FACS and 
1271DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
1272
1273Consolidated the method argument count validation code. Merged the code that 
1274validates control method argument counts into the predefined validation 
1275module. Eliminates possible multiple warnings for incorrect argument counts.
1276
1277Implemented ACPICA example code. Includes code for ACPICA initialization, 
1278handler installation, and calling a control method. Available at 
1279source/tools/examples.
1280
1281Added a global pointer for FACS table to simplify internal FACS access. Use 
1282the global pointer instead of using AcpiGetTableByIndex for each FACS access. 
1283This simplifies the code for the Global Lock and the Firmware Waking 
1284Vector(s).
1285
1286Example Code and Data Size: These are the sizes for the OS-independent 
1287acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1288debug version of the code includes the debug output trace mechanism and has a 
1289much larger code and data size.
1290
1291  Previous Release:
1292    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1293    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1294  Current Release:
1295    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1296    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1297
12982) iASL Compiler/Disassembler and Tools:
1299
1300iASL: Improved disassembly of external method calls. Added the -e option to 
1301allow the inclusion of additional ACPI tables to help with the disassembly of 
1302method invocations and the generation of external declarations during the 
1303disassembly. Certain external method invocations cannot be disassembled 
1304properly without the actual declaration of the method. Use the -e option to 
1305include the table where the external method(s) are actually declared. Most 
1306useful for disassembling SSDTs that make method calls back to the master 
1307DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
1308-e dsdt.aml ssdt1.aml
1309
1310iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
1311problem where the use of an alias within a namepath would result in a not 
1312found error or cause the compiler to fault. Also now allows forward 
1313references from the Alias operator itself. ACPICA BZ 738.
1314
1315----------------------------------------
131626 September 2008. Summary of changes for version 20080926:
1317
13181) ACPI CA Core Subsystem:
1319
1320Designed and implemented a mechanism to validate predefined ACPI methods and 
1321objects. This code validates the predefined ACPI objects (objects whose names 
1322start with underscore) that appear in the namespace, at the time they are 
1323evaluated. The argument count and the type of the returned object are 
1324validated against the ACPI specification. The purpose of this validation is 
1325to detect problems with the BIOS-implemented predefined ACPI objects before 
1326the results are returned to the ACPI-related drivers. Future enhancements may 
1327include actual repair of incorrect return objects where possible. Two new 
1328files are nspredef.c and acpredef.h.
1329
1330Fixed a fault in the AML parser if a memory allocation fails during the Op 
1331completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
1332
1333Fixed an issue with implicit return compatibility. This change improves the 
1334implicit return mechanism to be more compatible with the MS interpreter. Lin 
1335Ming, ACPICA BZ 349.
1336
1337Implemented support for zero-length buffer-to-string conversions. Allow zero 
1338length strings during interpreter buffer-to-string conversions. For example, 
1339during the ToDecimalString and ToHexString operators, as well as implicit 
1340conversions. Fiodor Suietov, ACPICA BZ 585.
1341
1342Fixed two possible memory leaks in the error exit paths of 
1343AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
1344similar in that they use a stack of state objects in order to eliminate 
1345recursion. The stack must be fully unwound and deallocated if an error 
1346occurs. Lin Ming. ACPICA BZ 383.
1347
1348Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
1349ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
1350Moore ACPICA BZ 442.
1351
1352Removed the obsolete version number in module headers. Removed the 
1353"$Revision" number that appeared in each module header. This version number 
1354was useful under SourceSafe and CVS, but has no meaning under git. It is not 
1355only incorrect, it could also be misleading.
1356
1357Example Code and Data Size: These are the sizes for the OS-independent 
1358acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1359debug version of the code includes the debug output trace mechanism and has a 
1360much larger code and data size.
1361
1362  Previous Release:
1363    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1364    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1365  Current Release:
1366    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1367    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1368
1369----------------------------------------
137029 August 2008. Summary of changes for version 20080829:
1371
13721) ACPI CA Core Subsystem:
1373
1374Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
1375Reference. Changes include the elimination of cheating on the Object field 
1376for the DdbHandle subtype, addition of a reference class field to 
1377differentiate the various reference types (instead of an AML opcode), and the 
1378cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
1379
1380Reduce an error to a warning for an incorrect method argument count. 
1381Previously aborted with an error if too few arguments were passed to a 
1382control method via the external ACPICA interface. Now issue a warning instead 
1383and continue. Handles the case where the method inadvertently declares too 
1384many arguments, but does not actually use the extra ones. Applies mainly to 
1385the predefined methods. Lin Ming. Linux BZ 11032.
1386
1387Disallow the evaluation of named object types with no intrinsic value. Return 
1388AE_TYPE for objects that have no value and therefore evaluation is undefined: 
1389Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
1390these types were allowed, but an exception would be generated at some point 
1391during the evaluation. Now, the error is generated up front.
1392
1393Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
1394(nsnames.c). Fixes a leak in the error exit path.
1395
1396Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
1397levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
1398interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
1399ACPI_LV_EVENTS.
1400
1401Removed obsolete and/or unused exception codes from the acexcep.h header. 
1402There is the possibility that certain device drivers may be affected if they 
1403use any of these exceptions.
1404
1405The ACPICA documentation has been added to the public git source tree, under 
1406acpica/documents. Included are the ACPICA programmer reference, the iASL 
1407compiler reference, and the changes.txt release logfile.
1408
1409Example Code and Data Size: These are the sizes for the OS-independent 
1410acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1411debug version of the code includes the debug output trace mechanism and has a 
1412much larger code and data size.
1413
1414  Previous Release:
1415    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1416    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
1417  Current Release:
1418    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1419    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1420
14212) iASL Compiler/Disassembler and Tools:
1422
1423Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
1424defines _SCP with 3 arguments. Previous versions defined it with only 1 
1425argument. iASL now allows both definitions.
1426
1427iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
1428length subtables when disassembling ACPI tables. Also fixed a couple of 
1429errors where a full 16-bit table type field was not extracted from the input 
1430properly.
1431
1432acpisrc: Improve comment counting mechanism for generating source code 
1433statistics. Count first and last lines of multi-line comments as whitespace, 
1434not comment lines. Handle Linux legal header in addition to standard acpica 
1435header.
1436
1437----------------------------------------
1438
143929 July 2008. Summary of changes for version 20080729:
1440
14411) ACPI CA Core Subsystem:
1442
1443Fix a possible deadlock in the GPE dispatch. Remove call to 
1444AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
1445to acquire the GPE lock but can deadlock since the GPE lock is already held 
1446at dispatch time. This code was introduced in version 20060831 as a response 
1447to Linux BZ 6881 and has since been removed from Linux.
1448
1449Add a function to dereference returned reference objects. Examines the return 
1450object from a call to AcpiEvaluateObject. Any Index or RefOf references are 
1451automatically dereferenced in an attempt to return something useful (these 
1452reference types cannot be converted into an external ACPI_OBJECT.) Provides 
1453MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
1454
1455x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
1456subtables for the MADT and one new subtable for the SRAT. Includes 
1457disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
1458Specification, June 2008.
1459
1460Additional error checking for pathname utilities. Add error check after all 
1461calls to AcpiNsGetPathnameLength. Add status return from 
1462AcpiNsBuildExternalPath and check after all calls. Add parameter validation 
1463to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
1464
1465Return status from the global init function AcpiUtGlobalInitialize. This is 
1466used by both the kernel subsystem and the utilities such as iASL compiler. 
1467The function could possibly fail when the caches are initialized. Yang Yi.
1468
1469Add a function to decode reference object types to strings. Created for 
1470improved error messages. 
1471
1472Improve object conversion error messages. Better error messages during object 
1473conversion from internal to the external ACPI_OBJECT. Used for external calls 
1474to AcpiEvaluateObject.
1475
1476Example Code and Data Size: These are the sizes for the OS-independent 
1477acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1478debug version of the code includes the debug output trace mechanism and has a 
1479much larger code and data size.
1480
1481  Previous Release:
1482    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
1483    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
1484  Current Release:
1485    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1486    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
1487
14882) iASL Compiler/Disassembler and Tools:
1489
1490Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
1491introduced in version 20080701. If the object being evaluated (via execute 
1492command) is not a method, the debugger can hang while trying to obtain non-
1493existent parameters.
1494
1495iASL: relax error for using reserved "_T_x" identifiers. These names can 
1496appear in a disassembled ASL file if they were emitted by the original 
1497compiler. Instead of issuing an error or warning and forcing the user to 
1498manually change these names, issue a remark instead.
1499
1500iASL: error if named object created in while loop. Emit an error if any named 
1501object is created within a While loop. If allowed, this code will generate a 
1502run-time error on the second iteration of the loop when an attempt is made to 
1503create the same named object twice. ACPICA bugzilla 730.
1504
1505iASL: Support absolute pathnames for include files. Add support for absolute 
1506pathnames within the Include operator. previously, only relative pathnames 
1507were supported.
1508
1509iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
1510The ACPI spec requires one interrupt minimum. BZ 423
1511
1512iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
1513Handles the case for the Interrupt Resource Descriptor where
1514the ResourceSource argument is omitted but ResourceSourceIndex
1515is present. Now leave room for the Index. BZ 426
1516
1517iASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
1518where an error message is emitted if the target does not exist. BZ 516
1519
1520iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
1521(get ACPI tables on Windows). This was apparently broken in version 20070919.
1522
1523AcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
1524the EOF happens immediately after the last table in the input file. Print 
1525completion message. Previously, no message was displayed in this case.
1526
1527----------------------------------------
152801 July 2008. Summary of changes for version 20080701:
1529
15300) Git source tree / acpica.org
1531
1532Fixed a problem where a git-clone from http would not transfer the entire 
1533source tree.
1534
15351) ACPI CA Core Subsystem:
1536
1537Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
1538enable bit. Now performs a read-change-write of the enable register instead 
1539of simply writing out the cached enable mask. This will prevent inadvertent 
1540enabling of GPEs if a rogue GPE is received during initialization (before GPE 
1541handlers are installed.)
1542
1543Implemented a copy for dynamically loaded tables. Previously, dynamically 
1544loaded tables were simply mapped - but on some machines this memory is 
1545corrupted after suspend. Now copy the table to a local buffer. For the 
1546OpRegion case, added checksum verify. Use the table length from the table 
1547header, not the region length. For the Buffer case, use the table length 
1548also. Dennis Noordsij, Bob Moore. BZ 10734
1549
1550Fixed a problem where the same ACPI table could not be dynamically loaded and 
1551unloaded more than once. Without this change, a table cannot be loaded again 
1552once it has been loaded/unloaded one time. The current mechanism does not 
1553unregister a table upon an unload. During a load, if the same table is found, 
1554this no longer returns an exception. BZ 722
1555
1556Fixed a problem where the wrong descriptor length was calculated for the 
1557EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
1558are calculated as 12 bytes long, but the actual length in the internal 
1559descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
1560by Linn Crosetto. BZ 728
1561
1562Fixed a possible memory leak in the Unload operator. The DdbHandle returned 
1563by Load() did not have its reference count decremented during unload, leading 
1564to a memory leak. Lin Ming. BZ 727
1565
1566Fixed a possible memory leak when deleting thermal/processor objects. Any 
1567associated notify handlers (and objects) were not being deleted. Fiodor 
1568Suietov. BZ 506
1569
1570Fixed the ordering of the ASCII names in the global mutex table to match the 
1571actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
1572Vegard Nossum. BZ 726
1573
1574Enhanced the AcpiGetObjectInfo interface to return the number of required 
1575arguments if the object is a control method. Added this call to the debugger 
1576so the proper number of default arguments are passed to a method. This 
1577prevents a warning when executing methods from AcpiExec.
1578
1579Added a check for an invalid handle in AcpiGetObjectInfo. Return 
1580AE_BAD_PARAMETER if input handle is invalid. BZ 474
1581
1582Fixed an extraneous warning from exconfig.c on the 64-bit build.
1583
1584Example Code and Data Size: These are the sizes for the OS-independent 
1585acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1586debug version of the code includes the debug output trace mechanism and has a 
1587much larger code and data size.
1588
1589  Previous Release:
1590    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
1591    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
1592  Current Release:
1593    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
1594    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
1595
15962) iASL Compiler/Disassembler and Tools:
1597
1598iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
1599resource descriptor names.
1600
1601iASL: Detect invalid ASCII characters in input (windows version). Removed the 
1602"-CF" flag from the flex compile, enables correct detection of non-ASCII 
1603characters in the input. BZ 441
1604
1605iASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
1606"result of operation not used" warning when the DDB handle returned from 
1607LoadTable is not used. The warning is not needed. BZ 590
1608
1609AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
1610pass address of table to the AML. Added option to disable OpRegion simulation 
1611to allow creation of an OpRegion with a real address that was passed to _CFG. 
1612All of this allows testing of the Load and Unload operators from AcpiExec.
1613
1614Debugger: update tables command for unloaded tables. Handle unloaded tables 
1615and use the standard table header output routine.
1616
1617----------------------------------------
161809 June 2008. Summary of changes for version 20080609:
1619
16201) ACPI CA Core Subsystem:
1621
1622Implemented a workaround for reversed _PRT entries. A significant number of 
1623BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
1624change dynamically detects and repairs this problem. Provides compatibility 
1625with MS ACPI. BZ 6859
1626
1627Simplified the internal ACPI hardware interfaces to eliminate the locking 
1628flag parameter from Register Read/Write. Added a new external interface, 
1629AcpiGetRegisterUnlocked.
1630
1631Fixed a problem where the invocation of a GPE control method could hang. This 
1632was a regression introduced in 20080514. The new method argument count 
1633validation mechanism can enter an infinite loop when a GPE method is 
1634dispatched. Problem fixed by removing the obsolete code that passed GPE block 
1635information to the notify handler via the control method parameter pointer.
1636
1637Fixed a problem where the _SST execution status was incorrectly returned to 
1638the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
163920080514. _SST is optional and a NOT_FOUND exception should never be 
1640returned. BZ 716
1641
1642Fixed a problem where a deleted object could be accessed from within the AML 
1643parser. This was a regression introduced in version 20080123 as a fix for the 
1644Unload operator. Lin Ming. BZ 10669
1645
1646Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
1647and eliminated the use of a negative index in a loop. Operands are now 
1648displayed in the correct order, not backwards. This also fixes a regression 
1649introduced in 20080514 on 64-bit systems where the elimination of 
1650ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
1651
1652Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
1653path did not delete a locally allocated structure.
1654
1655Updated definitions for the DMAR and SRAT tables to synchronize with the 
1656current specifications. Includes disassembler support.
1657
1658Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
1659loop termination value was used. Loop terminated on iteration early, missing 
1660one mutex. Linn Crosetto
1661
1662Example Code and Data Size: These are the sizes for the OS-independent 
1663acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1664debug version of the code includes the debug output trace mechanism and has a 
1665much larger code and data size.
1666
1667  Previous Release:
1668    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
1669    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
1670  Current Release:
1671    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
1672    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
1673
16742) iASL Compiler/Disassembler and Tools:
1675
1676Disassembler: Implemented support for EisaId() within _CID objects. Now 
1677disassemble integer _CID objects back to EisaId invocations, including 
1678multiple integers within _CID packages. Includes single-step support for 
1679debugger also.
1680
1681Disassembler: Added support for DMAR and SRAT table definition changes.
1682
1683----------------------------------------
168414 May 2008. Summary of changes for version 20080514:
1685
16861) ACPI CA Core Subsystem:
1687
1688Fixed a problem where GPEs were enabled too early during the ACPICA 
1689initialization. This could lead to "handler not installed" errors on some 
1690machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
1691ensures that all operation regions and devices throughout the namespace have 
1692been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
1693
1694Implemented a change to the enter sleep code. Moved execution of the _GTS 
1695method to just before setting sleep enable bit. The execution was moved from 
1696AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
1697immediately before the SLP_EN bit is set, as per the ACPI specification. 
1698Luming Yu, BZ 1653.
1699
1700Implemented a fix to disable unknown GPEs (2nd version). Now always disable 
1701the GPE, even if ACPICA thinks that that it is already disabled. It is 
1702possible that the AML or some other code has enabled the GPE unbeknownst to 
1703the ACPICA code.
1704
1705Fixed a problem with the Field operator where zero-length fields would return 
1706an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
1707field declarations in Field(), BankField(), and IndexField(). BZ 10606.
1708
1709Implemented a fix for the Load operator, now load the table at the namespace 
1710root. This reverts a change introduced in version 20071019. The table is now 
1711loaded at the namespace root even though this goes against the ACPI 
1712specification. This provides compatibility with other ACPI implementations. 
1713The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
1714
1715Fixed a problem where ACPICA would not Load() tables with unusual signatures. 
1716Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
1717acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
1718Therefore, signature validation is worthless. Apparently MS ACPI accepts such 
1719signatures, ACPICA must be compatible. BZ 10454.
1720
1721Fixed a possible negative array index in AcpiUtValidateException. Added NULL 
1722fields to the exception string arrays to eliminate a -1 subtraction on the 
1723SubStatus field.
1724
1725Updated the debug tracking macros to reduce overall code and data size. 
1726Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
1727instead of pointers to static strings. Jan Beulich and Bob Moore.
1728
1729Implemented argument count checking in control method invocation via 
1730AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
1731many. This applies only to extern programmatic control method execution, not 
1732method-to-method calls within the AML. Lin Ming.
1733
1734Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
1735longer needed, especially with the removal of 16-bit support. It was replaced 
1736mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
173732/64-bit platforms is required.
1738
1739Added the C const qualifier for appropriate string constants -- mostly 
1740MODULE_NAME and printf format strings. Jan Beulich.
1741
1742Example Code and Data Size: These are the sizes for the OS-independent 
1743acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1744debug version of the code includes the debug output trace mechanism and has a 
1745much larger code and data size.
1746
1747  Previous Release:
1748    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
1749    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
1750  Current Release:
1751    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
1752    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
1753
17542) iASL Compiler/Disassembler and Tools:
1755
1756Implemented ACPI table revision ID validation in the disassembler. Zero is 
1757always invalid. For DSDTs, the ID controls the interpreter integer width. 1 
1758means 32-bit and this is unusual. 2 or greater is 64-bit.
1759
1760----------------------------------------
176121 March 2008. Summary of changes for version 20080321:
1762
17631) ACPI CA Core Subsystem:
1764
1765Implemented an additional change to the GPE support in order to suppress 
1766spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
1767disable incoming GPEs that are neither enabled nor disabled -- meaning that 
1768the GPE is unknown to the system. This should prevent future interrupt floods 
1769from that GPE. BZ 6217 (Zhang Rui)
1770
1771Fixed a problem where NULL package elements were not returned to the 
1772AcpiEvaluateObject interface correctly. The element was simply ignored 
1773instead of returning a NULL ACPI_OBJECT package element, potentially causing 
1774a buffer overflow and/or confusing the caller who expected a fixed number of 
1775elements. BZ 10132 (Lin Ming, Bob Moore)
1776
1777Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
1778Qword), Field, BankField, and IndexField operators when invoked from inside 
1779an executing control method. In this case, these operators created namespace 
1780nodes that were incorrectly left marked as permanent nodes instead of 
1781temporary nodes. This could cause a problem if there is race condition 
1782between an exiting control method and a running namespace walk. (Reported by 
1783Linn Crosetto)
1784
1785Fixed a problem where the CreateField and CreateXXXField operators would 
1786incorrectly allow duplicate names (the name of the field) with no exception 
1787generated.
1788
1789Implemented several changes for Notify handling. Added support for new Notify 
1790values (ACPI 2.0+) and improved the Notify debug output. Notify on 
1791PowerResource objects is no longer allowed, as per the ACPI specification. 
1792(Bob Moore, Zhang Rui)
1793
1794All Reference Objects returned via the AcpiEvaluateObject interface are now 
1795marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
1796NULL objects - either NULL package elements or unresolved named references.
1797
1798Fixed a problem where an extraneous debug message was produced for package 
1799objects (when debugging enabled). The message "Package List length larger 
1800than NumElements count" is now produced in the correct case, and is now an 
1801error message rather than a debug message. Added a debug message for the 
1802opposite case, where NumElements is larger than the Package List (the package 
1803will be padded out with NULL elements as per the ACPI spec.)
1804
1805Implemented several improvements for the output of the ASL "Debug" object to 
1806clarify and keep all data for a given object on one output line.
1807
1808Fixed two size calculation issues with the variable-length Start Dependent 
1809resource descriptor.
1810
1811Example Code and Data Size: These are the sizes for the OS-independent 
1812acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1813debug version of the code includes the debug output trace mechanism and has 
1814a much larger code and data size.
1815
1816  Previous Release:
1817    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
1818    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
1819  Current Release:
1820    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
1821    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
1822
18232) iASL Compiler/Disassembler and Tools:
1824
1825Fixed a problem with the use of the Switch operator where execution of the 
1826containing method by multiple concurrent threads could cause an 
1827AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
1828actual Switch opcode, it must be simulated with local named temporary 
1829variables and if/else pairs. The solution chosen was to mark any method that 
1830uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
1831
1832----------------------------------------
183313 February 2008. Summary of changes for version 20080213:
1834
18351) ACPI CA Core Subsystem:
1836
1837Implemented another MS compatibility design change for GPE/Notify handling. 
1838GPEs are now cleared/enabled asynchronously to allow all pending notifies to 
1839complete first. It is expected that the OSL will queue the enable request 
1840behind all pending notify requests (may require changes to the local host OSL 
1841in AcpiOsExecute). Alexey Starikovskiy.
1842
1843Fixed a problem where buffer and package objects passed as arguments to a 
1844control method via the external AcpiEvaluateObject interface could cause an 
1845AE_AML_INTERNAL exception depending on the order and type of operators 
1846executed by the target control method.
1847
1848Fixed a problem where resource descriptor size optimization could cause a 
1849problem when a _CRS resource template is passed to a _SRS method. The _SRS 
1850resource template must use the same descriptors (with the same size) as 
1851returned from _CRS. This change affects the following resource descriptors: 
1852IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
1853
1854Fixed a problem where a CopyObject to RegionField, BankField, and IndexField 
1855objects did not perform an implicit conversion as it should. These types must 
1856retain their initial type permanently as per the ACPI specification. However, 
1857a CopyObject to all other object types should not perform an implicit 
1858conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
1859
1860Fixed a problem with the AcpiGetDevices interface where the mechanism to 
1861match device CIDs did not examine the entire list of available CIDs, but 
1862instead aborted on the first non-matching CID. Andrew Patterson.
1863
1864Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
1865inadvertently changed to return a 16-bit value instead of a 32-bit value, 
1866truncating the upper dword of a 64-bit value. This macro is only used to 
1867display debug output, so no incorrect calculations were made. Also, 
1868reimplemented the macro so that a 64-bit shift is not performed by 
1869inefficient compilers.
1870
1871Added missing va_end statements that should correspond with each va_start 
1872statement.
1873
1874Example Code and Data Size: These are the sizes for the OS-independent 
1875acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1876debug version of the code includes the debug output trace mechanism and has 
1877a much larger code and data size.
1878
1879  Previous Release:
1880    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
1881    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
1882  Current Release:
1883    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
1884    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
1885
18862) iASL Compiler/Disassembler and Tools:
1887
1888Implemented full disassembler support for the following new ACPI tables: 
1889BERT, EINJ, and ERST. Implemented partial disassembler support for the 
1890complicated HEST table. These tables support the Windows Hardware Error 
1891Architecture (WHEA).
1892
1893----------------------------------------
189423 January 2008. Summary of changes for version 20080123:
1895
18961) ACPI CA Core Subsystem:
1897
1898Added the 2008 copyright to all module headers and signons. This affects 
1899virtually every file in the ACPICA core subsystem, the iASL compiler, and 
1900the tools/utilities.
1901
1902Fixed a problem with the SizeOf operator when used with Package and Buffer 
1903objects. These objects have deferred execution for some arguments, and the 
1904execution is now completed before the SizeOf is executed. This problem caused 
1905unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
19069558
1907
1908Implemented an enhancement to the interpreter "slack mode". In the absence of 
1909an explicit return or an implicitly returned object from the last executed 
1910opcode, a control method will now implicitly return an integer of value 0 for 
1911Microsoft compatibility. (Lin Ming) BZ 392
1912
1913Fixed a problem with the Load operator where an exception was not returned in 
1914the case where the table is already loaded. (Lin Ming) BZ 463
1915
1916Implemented support for the use of DDBHandles as an Indexed Reference, as per 
1917the ACPI spec. (Lin Ming) BZ 486
1918
1919Implemented support for UserTerm (Method invocation) for the Unload operator 
1920as per the ACPI spec. (Lin Ming) BZ 580
1921
1922Fixed a problem with the LoadTable operator where the OemId and OemTableId 
1923input strings could cause unexpected failures if they were shorter than the 
1924maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
1925
1926Implemented support for UserTerm (Method invocation) for the Unload operator 
1927as per the ACPI spec. (Lin Ming) BZ 580
1928
1929Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
1930IBFT, UEFI, WDAT. Disassembler support is forthcoming.
1931
1932Example Code and Data Size: These are the sizes for the OS-independent 
1933acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1934debug version of the code includes the debug output trace mechanism and has 
1935a much larger code and data size.
1936
1937  Previous Release:
1938    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
1939    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
1940  Current Release:
1941    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
1942    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
1943
19442) iASL Compiler/Disassembler and Tools:
1945
1946Implemented support in the disassembler for checksum validation on incoming 
1947binary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
1948header dump at the start of the disassembly.
1949
1950Implemented additional debugging information in the namespace listing file 
1951created during compilation. In addition to the namespace hierarchy, the full 
1952pathname to each namespace object is displayed.
1953
1954Fixed a problem with the disassembler where invalid ACPI tables could cause 
1955faults or infinite loops.
1956
1957Fixed an unexpected parse error when using the optional "parameter types" 
1958list in a control method declaration. (Lin Ming) BZ 397
1959
1960Fixed a problem where two External declarations with the same name did not 
1961cause an error (Lin Ming) BZ 509
1962
1963Implemented support for full TermArgs (adding Argx, Localx and method 
1964invocation) for the ParameterData parameter to the LoadTable operator. (Lin 
1965Ming) BZ 583,587
1966
1967----------------------------------------
196819 December 2007. Summary of changes for version 20071219:
1969
19701) ACPI CA Core Subsystem:
1971
1972Implemented full support for deferred execution for the TermArg string 
1973arguments for DataTableRegion. This enables forward references and full 
1974operand resolution for the three string arguments. Similar to OperationRegion 
1975deferred argument execution.) Lin Ming. BZ 430
1976
1977Implemented full argument resolution support for the BankValue argument to 
1978BankField. Previously, only constants were supported, now any TermArg may be 
1979used. Lin Ming BZ 387, 393
1980
1981Fixed a problem with AcpiGetDevices where the search of a branch of the 
1982device tree could be terminated prematurely. In accordance with the ACPI 
1983specification, the search down the current branch is terminated if a device 
1984is both not present and not functional (instead of just not present.) Yakui 
1985Zhao.
1986
1987Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
1988the underlying AML code changed the GPE enable registers. Now, any unknown 
1989incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
1990instead of simply ignored. Rui Zhang.
1991
1992Fixed a problem with Index Fields where the Index register was incorrectly 
1993limited to a maximum of 32 bits. Now any size may be used.
1994
1995Fixed a couple memory leaks associated with "implicit return" objects when 
1996the AML Interpreter slack mode is enabled. Lin Ming BZ 349
1997
1998Example Code and Data Size: These are the sizes for the OS-independent 
1999acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2000debug version of the code includes the debug output trace mechanism and has 
2001a much larger code and data size.
2002
2003  Previous Release:
2004    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2005    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2006  Current Release:
2007    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2008    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2009
2010----------------------------------------
201114 November 2007. Summary of changes for version 20071114:
2012
20131) ACPI CA Core Subsystem:
2014
2015Implemented event counters for each of the Fixed Events, the ACPI SCI 
2016(interrupt) itself, and control methods executed. Named 
2017AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
2018should be useful for debugging and statistics.
2019
2020Implemented a new external interface, AcpiGetStatistics, to retrieve the 
2021contents of the various event counters. Returns the current values for 
2022AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
2023AcpiMethodCount. The interface can be expanded in the future if new counters 
2024are added. Device drivers should use this interface rather than access the 
2025counters directly.
2026
2027Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
2028the ShortDivide function worked incorrectly, causing problems with the BCD 
2029functions with large input values. A truncation from 64-bit to 32-bit 
2030inadvertently occurred. Internal BZ 435. Lin Ming
2031
2032Fixed a problem with Index references passed as method arguments. References 
2033passed as arguments to control methods were dereferenced immediately (before 
2034control was passed to the called method). The references are now correctly 
2035passed directly to the called method. BZ 5389. Lin Ming
2036
2037Fixed a problem with CopyObject used in conjunction with the Index operator. 
2038The reference was incorrectly dereferenced before the copy. The reference is 
2039now correctly copied. BZ 5391. Lin Ming
2040
2041Fixed a problem with Control Method references within Package objects. These 
2042references are now correctly generated. This completes the package 
2043construction overhaul that began in version 20071019.
2044
2045Example Code and Data Size: These are the sizes for the OS-independent 
2046acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2047debug version of the code includes the debug output trace mechanism and has 
2048a much larger code and data size.
2049
2050  Previous Release:
2051    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2052    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2053  Current Release:
2054    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2055    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2056
2057
20582) iASL Compiler/Disassembler and Tools:
2059
2060The AcpiExec utility now installs handlers for all of the predefined 
2061Operation Region types. New types supported are: PCI_Config, CMOS, and 
2062PCIBARTarget.
2063
2064Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
2065bit) address fields for the DSDT and FACS within the FADT were not being 
2066used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
2067and Bob Moore
2068
2069----------------------------------------
207019 October 2007. Summary of changes for version 20071019:
2071
20721) ACPI CA Core Subsystem:
2073
2074Fixed a problem with the Alias operator when the target of the alias is a 
2075named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
2076Processor, and ThermalZone. In these cases, any children of the original 
2077operator could not be accessed via the alias, potentially causing unexpected 
2078AE_NOT_FOUND exceptions. (BZ 9067)
2079
2080Fixed a problem with the Package operator where all named references were 
2081created as object references and left otherwise unresolved. According to the 
2082ACPI specification, a Package can only contain Data Objects or references to 
2083control methods. The implication is that named references to Data Objects 
2084(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
2085immediately upon package creation. This is the approach taken with this 
2086change. References to all other named objects (Methods, Devices, Scopes, 
2087etc.) are all now properly created as reference objects. (BZ 5328)
2088
2089Reverted a change to Notify handling that was introduced in version 
209020070508. This version changed the Notify handling from asynchronous to 
2091fully synchronous (Device driver Notify handling with respect to the Notify 
2092ASL operator). It was found that this change caused more problems than it 
2093solved and was removed by most users.
2094
2095Fixed a problem with the Increment and Decrement operators where the type of 
2096the target object could be unexpectedly and incorrectly changed. (BZ 353) 
2097Lin Ming.
2098
2099Fixed a problem with the Load and LoadTable operators where the table 
2100location within the namespace was ignored. Instead, the table was always 
2101loaded into the root or current scope. Lin Ming.
2102
2103Fixed a problem with the Load operator when loading a table from a buffer 
2104object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
2105
2106Fixed a problem with the Debug object where a store of a DdbHandle reference 
2107object to the Debug object could cause a fault.
2108
2109Added a table checksum verification for the Load operator, in the case where 
2110the load is from a buffer. (BZ 578).
2111
2112Implemented additional parameter validation for the LoadTable operator. The 
2113length of the input strings SignatureString, OemIdString, and OemTableId are 
2114now checked for maximum lengths. (BZ 582) Lin Ming.
2115
2116Example Code and Data Size: These are the sizes for the OS-independent 
2117acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2118debug version of the code includes the debug output trace mechanism and has 
2119a much larger code and data size.
2120
2121  Previous Release:
2122    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2123    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2124  Current Release:
2125    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2126    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2127
2128
21292) iASL Compiler/Disassembler:
2130
2131Fixed a problem where if a single file was specified and the file did not 
2132exist, no error message was emitted. (Introduced with wildcard support in 
2133version 20070917.)
2134
2135----------------------------------------
213619 September 2007. Summary of changes for version 20070919:
2137
21381) ACPI CA Core Subsystem:
2139
2140Designed and implemented new external interfaces to install and remove 
2141handlers for ACPI table-related events. Current events that are defined are 
2142LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
2143they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
2144AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2145
2146Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
2147(acpi_serialized option on Linux) could cause some systems to hang during 
2148initialization. (Bob Moore) BZ 8171
2149
2150Fixed a problem where objects of certain types (Device, ThermalZone, 
2151Processor, PowerResource) can be not found if they are declared and 
2152referenced from within the same control method (Lin Ming) BZ 341
2153
2154Example Code and Data Size: These are the sizes for the OS-independent 
2155acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2156debug version of the code includes the debug output trace mechanism and has 
2157a much larger code and data size.
2158
2159  Previous Release:
2160    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2161    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2162  Current Release:
2163    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2164    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2165
2166
21672) iASL Compiler/Disassembler:
2168
2169Implemented support to allow multiple files to be compiled/disassembled in a 
2170single invocation. This includes command line wildcard support for both the 
2171Windows and Unix versions of the compiler. This feature simplifies the 
2172disassembly and compilation of multiple ACPI tables in a single directory.
2173
2174----------------------------------------
217508 May 2007. Summary of changes for version 20070508:
2176
21771) ACPI CA Core Subsystem:
2178
2179Implemented a Microsoft compatibility design change for the handling of the 
2180Notify AML operator. Previously, notify handlers were dispatched and 
2181executed completely asynchronously in a deferred thread. The new design 
2182still executes the notify handlers in a different thread, but the original 
2183thread that executed the Notify() now waits at a synchronization point for 
2184the notify handler to complete. Some machines depend on a synchronous Notify 
2185operator in order to operate correctly.
2186
2187Implemented support to allow Package objects to be passed as method 
2188arguments to the external AcpiEvaluateObject interface. Previously, this 
2189would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
2190implemented since there were no reserved control methods that required it 
2191until recently.
2192
2193Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
2194contained invalid non-zero values in reserved fields could cause later 
2195failures because these fields have meaning in later revisions of the FADT. 
2196For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
2197are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
2198
2199Fixed a problem where the Global Lock handle was not properly updated if a 
2200thread that acquired the Global Lock via executing AML code then attempted 
2201to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
2202Liu.
2203
2204Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
2205could be corrupted if the interrupt being removed was at the head of the 
2206list. Reported by Linn Crosetto.
2207
2208Example Code and Data Size: These are the sizes for the OS-independent 
2209acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2210debug version of the code includes the debug output trace mechanism and has 
2211a much larger code and data size.
2212
2213  Previous Release:
2214    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2215    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2216  Current Release:
2217    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2218    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2219
2220----------------------------------------
222120 March 2007. Summary of changes for version 20070320:
2222
22231) ACPI CA Core Subsystem:
2224
2225Implemented a change to the order of interpretation and evaluation of AML 
2226operand objects within the AML interpreter. The interpreter now evaluates 
2227operands in the order that they appear in the AML stream (and the 
2228corresponding ASL code), instead of in the reverse order (after the entire 
2229operand list has been parsed). The previous behavior caused several subtle 
2230incompatibilities with the Microsoft AML interpreter as well as being 
2231somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
2232
2233Implemented a change to the ACPI Global Lock support. All interfaces to the 
2234global lock now allow the same thread to acquire the lock multiple times. 
2235This affects the AcpiAcquireGlobalLock external interface to the global lock 
2236as well as the internal use of the global lock to support AML fields -- a 
2237control method that is holding the global lock can now simultaneously access 
2238AML fields that require global lock protection. Previously, in both cases, 
2239this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
2240AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
2241Controller. There is no change to the behavior of the AML Acquire operator, 
2242as this can already be used to acquire a mutex multiple times by the same 
2243thread. BZ 8066. With assistance from Alexey Starikovskiy.
2244
2245Fixed a problem where invalid objects could be referenced in the AML 
2246Interpreter after error conditions. During operand evaluation, ensure that 
2247the internal "Return Object" field is cleared on error and only valid 
2248pointers are stored there. Caused occasional access to deleted objects that 
2249resulted in "large reference count" warning messages. Valery Podrezov.
2250
2251Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
2252deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
2253Podrezov.
2254
2255Fixed an internal problem with the handling of result objects on the 
2256interpreter result stack. BZ 7872. Valery Podrezov.
2257
2258Removed obsolete code that handled the case where AML_NAME_OP is the target 
2259of a reference (Reference.Opcode). This code was no longer necessary. BZ 
22607874. Valery Podrezov.
2261
2262Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
2263remnant from the previously discontinued 16-bit support.
2264
2265Example Code and Data Size: These are the sizes for the OS-independent 
2266acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2267debug version of the code includes the debug output trace mechanism and has 
2268a much larger code and data size.
2269
2270  Previous Release:
2271    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2272    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2273  Current Release:
2274    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2275    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2276
2277----------------------------------------
227826 January 2007. Summary of changes for version 20070126:
2279
22801) ACPI CA Core Subsystem:
2281
2282Added the 2007 copyright to all module headers and signons. This affects 
2283virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2284the utilities.
2285
2286Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
2287during a table load. A bad pointer was passed in the case where the DSDT is 
2288overridden, causing a fault in this case.
2289
2290Example Code and Data Size: These are the sizes for the OS-independent 
2291acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2292debug version of the code includes the debug output trace mechanism and has 
2293a much larger code and data size.
2294
2295  Previous Release:
2296    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2297    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2298  Current Release:
2299    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2300    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2301
2302----------------------------------------
230315 December 2006. Summary of changes for version 20061215:
2304
23051) ACPI CA Core Subsystem:
2306
2307Support for 16-bit ACPICA has been completely removed since it is no longer 
2308necessary and it clutters the code. All 16-bit macros, types, and 
2309conditional compiles have been removed, cleaning up and simplifying the code 
2310across the entire subsystem. DOS support is no longer needed since the 
2311bootable Linux firmware kit is now available.
2312
2313The handler for the Global Lock is now removed during AcpiTerminate to 
2314enable a clean subsystem restart, via the implementation of the 
2315AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
2316HP)
2317
2318Implemented enhancements to the multithreading support within the debugger 
2319to enable improved multithreading debugging and evaluation of the subsystem. 
2320(Valery Podrezov)
2321
2322Debugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
2323memory used during the execution, as well as the maximum memory consumed by 
2324each of the various object types. (Valery Podrezov)
2325
2326Example Code and Data Size: These are the sizes for the OS-independent 
2327acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2328debug version of the code includes the debug output trace mechanism and has 
2329a much larger code and data size.
2330
2331  Previous Release:
2332    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2333    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2334  Current Release:
2335    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2336    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2337
2338
23392) iASL Compiler/Disassembler and Tools:
2340
2341AcpiExec: Implemented a new option (-m) to display full memory use 
2342statistics upon subsystem/program termination. (Valery Podrezov)
2343
2344----------------------------------------
234509 November 2006. Summary of changes for version 20061109:
2346
23471) ACPI CA Core Subsystem:
2348
2349Optimized the Load ASL operator in the case where the source operand is an 
2350operation region. Simply map the operation region memory, instead of 
2351performing a bytewise read. (Region must be of type SystemMemory, see 
2352below.)
2353
2354Fixed the Load ASL operator for the case where the source operand is a 
2355region field. A buffer object is also allowed as the source operand. BZ 480
2356
2357Fixed a problem where the Load ASL operator allowed the source operand to be 
2358an operation region of any type. It is now restricted to regions of type 
2359SystemMemory, as per the ACPI specification. BZ 481
2360
2361Additional cleanup and optimizations for the new Table Manager code.
2362
2363AcpiEnable will now fail if all of the required ACPI tables are not loaded 
2364(FADT, FACS, DSDT). BZ 477
2365
2366Added #pragma pack(8/4) to acobject.h to ensure that the structures in this 
2367header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
2368manually optimized to be aligned and will not work if it is byte-packed. 
2369
2370Example Code and Data Size: These are the sizes for the OS-independent 
2371acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2372debug version of the code includes the debug output trace mechanism and has 
2373a much larger code and data size.
2374
2375  Previous Release:
2376    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
2377    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
2378  Current Release:
2379    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2380    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2381
2382
23832) iASL Compiler/Disassembler and Tools:
2384
2385Fixed a problem where the presence of the _OSI predefined control method 
2386within complex expressions could cause an internal compiler error.
2387
2388AcpiExec: Implemented full region support for multiple address spaces. 
2389SpaceId is now part of the REGION object. BZ 429
2390
2391----------------------------------------
239211 October 2006. Summary of changes for version 20061011:
2393
23941) ACPI CA Core Subsystem:
2395
2396Completed an AML interpreter performance enhancement for control method 
2397execution. Previously a 2-pass parse/execution, control methods are now 
2398completely parsed and executed in a single pass. This improves overall 
2399interpreter performance by ~25%, reduces code size, and reduces CPU stack 
2400use. (Valery Podrezov + interpreter changes in version 20051202 that 
2401eliminated namespace loading during the pass one parse.)
2402
2403Implemented _CID support for PCI Root Bridge detection. If the _HID does not 
2404match the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
2405obtained and also checked for an ID match.
2406
2407Implemented additional support for the PCI _ADR execution: upsearch until a 
2408device scope is found before executing _ADR. This allows PCI_Config 
2409operation regions to be declared locally within control methods underneath 
2410PCI device objects.
2411
2412Fixed a problem with a possible race condition between threads executing 
2413AcpiWalkNamespace and the AML interpreter. This condition was removed by 
2414modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
2415entries created during any concurrent control method execution. An 
2416additional namespace race condition is known to exist between 
2417AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
2418investigation.
2419
2420Restructured the AML ParseLoop function, breaking it into several 
2421subfunctions in order to reduce CPU stack use and improve maintainability. 
2422(Mikhail Kouzmich)
2423
2424AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
2425of prefix handle and pathname. BZ 478
2426
2427Example Code and Data Size: These are the sizes for the OS-independent 
2428acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2429debug version of the code includes the debug output trace mechanism and has 
2430a much larger code and data size.
2431
2432  Previous Release:
2433    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2434    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
2435  Current Release:
2436    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
2437    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
2438
24392) iASL Compiler/Disassembler and Tools:
2440
2441Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager 
2442to restore original behavior.
2443
2444----------------------------------------
244527 September 2006. Summary of changes for version 20060927:
2446
24471) ACPI CA Core Subsystem:
2448
2449Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
2450These functions now use a spinlock for mutual exclusion and the interrupt 
2451level indication flag is not needed.
2452
2453Fixed a problem with the Global Lock where the lock could appear to be 
2454obtained before it is actually obtained. The global lock semaphore was 
2455inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
2456Suietov.
2457
2458Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
2459a read from a buffer or region field. (BZ 458) Fiodor Suietov.
2460
2461Example Code and Data Size: These are the sizes for the OS-independent 
2462acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2463debug version of the code includes the debug output trace mechanism and has 
2464a much larger code and data size.
2465
2466  Previous Release:
2467    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2468    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
2469  Current Release:
2470    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2471    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
2472
2473
24742) iASL Compiler/Disassembler and Tools:
2475
2476Fixed a compilation problem with the pre-defined Resource Descriptor field 
2477names where an "object does not exist" error could be incorrectly generated 
2478if the parent ResourceTemplate pathname places the template within a 
2479different namespace scope than the current scope. (BZ 7212)
2480
2481Fixed a problem where the compiler could hang after syntax errors detected 
2482in an ElseIf construct. (BZ 453)
2483
2484Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
2485operator. An incorrect output filename was produced when this parameter was 
2486a null string (""). Now, the original input filename is used as the AML 
2487output filename, with an ".aml" extension.
2488
2489Implemented a generic batch command mode for the AcpiExec utility (execute 
2490any AML debugger command) (Valery Podrezov).
2491
2492----------------------------------------
249312 September 2006. Summary of changes for version 20060912:
2494
24951) ACPI CA Core Subsystem:
2496
2497Enhanced the implementation of the "serialized mode" of the interpreter 
2498(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
2499specified, instead of creating a serialization semaphore per control method, 
2500the interpreter lock is simply no longer released before a blocking 
2501operation during control method execution. This effectively makes the AML 
2502Interpreter single-threaded. The overhead of a semaphore per-method is 
2503eliminated.
2504
2505Fixed a regression where an error was no longer emitted if a control method 
2506attempts to create 2 objects of the same name. This once again returns 
2507AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
2508will dynamically serialize the control method to possible prevent future 
2509errors. (BZ 440)
2510
2511Integrated a fix for a problem with PCI Express HID detection in the PCI 
2512Config Space setup procedure. (BZ 7145)
2513
2514Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
2515AcpiHwInitialize function - the FADT registers are now validated when the 
2516table is loaded.
2517
2518Added two new warnings during FADT verification - 1) if the FADT is larger 
2519than the largest known FADT version, and 2) if there is a mismatch between a 
252032-bit block address and the 64-bit X counterpart (when both are non-zero.)
2521
2522Example Code and Data Size: These are the sizes for the OS-independent 
2523acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2524debug version of the code includes the debug output trace mechanism and has 
2525a much larger code and data size.
2526
2527  Previous Release:
2528    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
2529    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
2530  Current Release:
2531    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
2532    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
2533
2534
25352) iASL Compiler/Disassembler and Tools:
2536
2537Fixed a problem with the implementation of the Switch() operator where the 
2538temporary variable was declared too close to the actual Switch, instead of 
2539at method level. This could cause a problem if the Switch() operator is 
2540within a while loop, causing an error on the second iteration. (BZ 460)
2541
2542Disassembler - fix for error emitted for unknown type for target of scope 
2543operator. Now, ignore it and continue.
2544
2545Disassembly of an FADT now verifies the input FADT and reports any errors 
2546found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
2547
2548Disassembly of raw data buffers with byte initialization data now prefixes 
2549each output line with the current buffer offset.
2550
2551Disassembly of ASF! table now includes all variable-length data fields at 
2552the end of some of the subtables.
2553
2554The disassembler now emits a comment if a buffer appears to be a 
2555ResourceTemplate, but cannot be disassembled as such because the EndTag does 
2556not appear at the very end of the buffer.
2557
2558AcpiExec - Added the "-t" command line option to enable the serialized mode 
2559of the AML interpreter.
2560
2561----------------------------------------
256231 August 2006. Summary of changes for version 20060831:
2563
25641) ACPI CA Core Subsystem:
2565
2566Miscellaneous fixes for the Table Manager:
2567- Correctly initialize internal common FADT for all 64-bit "X" fields
2568- Fixed a couple table mapping issues during table load
2569- Fixed a couple alignment issues for IA64
2570- Initialize input array to zero in AcpiInitializeTables
2571- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
2572AcpiGetTableByIndex
2573
2574Change for GPE support: when a "wake" GPE is received, all wake GPEs are now 
2575immediately disabled to prevent the waking GPE from firing again and to 
2576prevent other wake GPEs from interrupting the wake process.
2577
2578Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
2579be used for debugging systems with a large number of ACPI interrupts.
2580
2581Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
2582both the ACPICA headers and the disassembler.
2583
2584Example Code and Data Size: These are the sizes for the OS-independent 
2585acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2586debug version of the code includes the debug output trace mechanism and has 
2587a much larger code and data size.
2588
2589  Previous Release:
2590    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
2591    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
2592  Current Release:
2593    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
2594    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
2595
2596
25972) iASL Compiler/Disassembler and Tools:
2598
2599Disassembler support for the DMAR ACPI table.
2600
2601----------------------------------------
260223 August 2006. Summary of changes for version 20060823:
2603
26041) ACPI CA Core Subsystem:
2605
2606The Table Manager component has been completely redesigned and 
2607reimplemented. The new design is much simpler, and reduces the overall code 
2608and data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
2609now possible to obtain the ACPI tables very early during kernel 
2610initialization, even before dynamic memory management is initialized. 
2611(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
2612
2613Obsolete ACPICA interfaces:
2614
2615- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
2616time).
2617- AcpiLoadTable: Not needed.
2618- AcpiUnloadTable: Not needed.
2619
2620New ACPICA interfaces:
2621
2622- AcpiInitializeTables: Must be called before the table manager can be used.
2623- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
2624allocated memory after it becomes available.
2625- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
2626in the RSDT/XSDT.
2627
2628Other ACPICA changes:
2629
2630- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
2631AcpiOsUnmapMemory to free this mapping.
2632- AcpiGetTable returns the actual mapped table. The mapping is managed 
2633internally and must not be deleted by the caller. Use of this interface 
2634causes no additional dynamic memory allocation.
2635- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
2636it appeared to be unused.
2637- The interface to AcpiOsMapMemory has changed to be consistent with the 
2638other allocation interfaces.
2639- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
2640parameters.
2641- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
2642bit platforms. Was previously 64 bits on all platforms.
2643- The interface to the ACPI Global Lock acquire/release macros have changed 
2644slightly since ACPICA no longer keeps a local copy of the FACS with a 
2645constructed pointer to the actual global lock.
2646
2647Porting to the new table manager:
2648
2649- AcpiInitializeTables: Must be called once, and can be called anytime 
2650during the OS initialization process. It allows the host to specify an area 
2651of memory to be used to store the internal version of the RSDT/XSDT (root 
2652table). This allows the host to access ACPI tables before memory management 
2653is initialized and running.
2654- AcpiReallocateRootTable: Can be called after memory management is running 
2655to copy the root table to a dynamically allocated array, freeing up the 
2656scratch memory specified in the call to AcpiInitializeTables.
2657- AcpiSubsystemInitialize: This existing interface is independent of the 
2658Table Manager, and does not have to be called before the Table Manager can 
2659be used, it only must be called before the rest of ACPICA can be used.
2660- ACPI Tables: Some changes have been made to the names and structure of the 
2661actbl.h and actbl1.h header files and may require changes to existing code. 
2662For example, bitfields have been completely removed because of their lack of 
2663portability across C compilers.
2664- Update interfaces to the Global Lock acquire/release macros if local 
2665versions are used. (see acwin.h)
2666
2667Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
2668
2669New files: tbfind.c
2670
2671Example Code and Data Size: These are the sizes for the OS-independent 
2672acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2673debug version of the code includes the debug output trace mechanism and has 
2674a much larger code and data size.
2675
2676  Previous Release:
2677    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2678    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2679  Current Release:
2680    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
2681    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
2682
2683
26842) iASL Compiler/Disassembler and Tools:
2685
2686No changes for this release.
2687
2688----------------------------------------
268921 July 2006. Summary of changes for version 20060721:
2690
26911) ACPI CA Core Subsystem:
2692
2693The full source code for the ASL test suite used to validate the iASL 
2694compiler and the ACPICA core subsystem is being released with the ACPICA 
2695source for the first time. The source is contained in a separate package and 
2696consists of over 1100 files that exercise all ASL/AML operators. The package 
2697should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
2698Suietov)
2699
2700Completed a new design and implementation for support of the ACPI Global 
2701Lock. On the OS side, the global lock is now treated as a standard AML 
2702mutex. Previously, multiple OS threads could "acquire" the global lock 
2703simultaneously. However, this could cause the BIOS to be starved out of the 
2704lock - especially in cases such as the Embedded Controller driver where 
2705there is a tight coupling between the OS and the BIOS.
2706
2707Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
2708The Global Lock interrupt handler no longer queues the execution of a 
2709separate thread to signal the global lock semaphore. Instead, the semaphore 
2710is signaled directly from the interrupt handler.
2711
2712Implemented support within the AML interpreter for package objects that 
2713contain a larger AML length (package list length) than the package element 
2714count. In this case, the length of the package is truncated to match the 
2715package element count. Some BIOS code apparently modifies the package length 
2716on the fly, and this change supports this behavior. Provides compatibility 
2717with the MS AML interpreter. (With assistance from Fiodor Suietov)
2718
2719Implemented a temporary fix for the BankValue parameter of a Bank Field to 
2720support all constant values, now including the Zero and One opcodes. 
2721Evaluation of this parameter must eventually be converted to a full TermArg 
2722evaluation. A not-implemented error is now returned (temporarily) for non-
2723constant values for this parameter.
2724
2725Fixed problem reports (Fiodor Suietov) integrated:
2726- Fix for premature object deletion after CopyObject on Operation Region (BZ 
2727350)
2728
2729Example Code and Data Size: These are the sizes for the OS-independent 
2730acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2731debug version of the code includes the debug output trace mechanism and has 
2732a much larger code and data size.
2733
2734  Previous Release:
2735    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
2736    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
2737  Current Release:
2738    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2739    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2740
2741
27422) iASL Compiler/Disassembler and Tools:
2743
2744No changes for this release.
2745
2746----------------------------------------
274707 July 2006. Summary of changes for version 20060707:
2748
27491) ACPI CA Core Subsystem:
2750
2751Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
2752that do not allow the initialization of address pointers within packed 
2753structures - even though the hardware itself may support misaligned 
2754transfers. Some of the debug data structures are packed by default to 
2755minimize size.
2756
2757Added an error message for the case where AcpiOsGetThreadId() returns zero. 
2758A non-zero value is required by the core ACPICA code to ensure the proper 
2759operation of AML mutexes and recursive control methods.
2760
2761The DSDT is now the only ACPI table that determines whether the AML 
2762interpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
2763the hooks for per-table 32/64 switching have been removed from the code. A 
2764clarification to the ACPI specification is forthcoming in ACPI 3.0B.
2765
2766Fixed a possible leak of an OwnerID in the error path of 
2767AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
2768deletion to a single place in AcpiTbUninstallTable to correct possible leaks 
2769when using the AcpiTbDeleteTablesByType interface (with assistance from 
2770Lance Ortiz.)
2771
2772Fixed a problem with Serialized control methods where the semaphore 
2773associated with the method could be over-signaled after multiple method 
2774invocations.
2775
2776Fixed two issues with the locking of the internal namespace data structure. 
2777Both the Unload() operator and AcpiUnloadTable interface now lock the 
2778namespace during the namespace deletion associated with the table unload 
2779(with assistance from Linn Crosetto.)
2780
2781Fixed problem reports (Valery Podrezov) integrated:
2782- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
2783
2784Fixed problem reports (Fiodor Suietov) integrated:
2785- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
2786- On Address Space handler deletion, needless deactivation call (BZ 374)
2787- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
2788- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
2789(BZ 376)
2790- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
2791- Minimum Length of RSDT should be validated (BZ 379)
2792- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
2793Handler (BZ (380)
2794- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
2795(BZ 381)
2796
2797Example Code and Data Size: These are the sizes for the OS-independent 
2798acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2799debug version of the code includes the debug output trace mechanism and has 
2800a much larger code and data size.
2801
2802  Previous Release:
2803    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
2804    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
2805  Current Release:
2806    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
2807    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
2808
2809
28102) iASL Compiler/Disassembler and Tools:
2811
2812Fixed problem reports:
2813Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
2814436)
2815
2816----------------------------------------
281723 June 2006. Summary of changes for version 20060623:
2818
28191) ACPI CA Core Subsystem:
2820
2821Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
2822allows the type to be customized to the host OS for improved efficiency 
2823(since a spinlock is usually a very small object.)
2824
2825Implemented support for "ignored" bits in the ACPI registers. According to 
2826the ACPI specification, these bits should be preserved when writing the 
2827registers via a read/modify/write cycle. There are 3 bits preserved in this 
2828manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
2829
2830Implemented the initial deployment of new OSL mutex interfaces. Since some 
2831host operating systems have separate mutex and semaphore objects, this 
2832feature was requested. The base code now uses mutexes (and the new mutex 
2833interfaces) wherever a binary semaphore was used previously. However, for 
2834the current release, the mutex interfaces are defined as macros to map them 
2835to the existing semaphore interfaces. Therefore, no OSL changes are required 
2836at this time. (See acpiosxf.h)
2837
2838Fixed several problems with the support for the control method SyncLevel 
2839parameter. The SyncLevel now works according to the ACPI specification and 
2840in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
2841is a property of the executing thread. Mutual exclusion for control methods 
2842is now implemented with a mutex instead of a semaphore.
2843
2844Fixed three instances of the use of the C shift operator in the bitfield 
2845support code (exfldio.c) to avoid the use of a shift value larger than the 
2846target data width. The behavior of C compilers is undefined in this case and 
2847can cause unpredictable results, and therefore the case must be detected and 
2848avoided. (Fiodor Suietov)
2849
2850Added an info message whenever an SSDT or OEM table is loaded dynamically 
2851via the Load() or LoadTable() ASL operators. This should improve debugging 
2852capability since it will show exactly what tables have been loaded (beyond 
2853the tables present in the RSDT/XSDT.)
2854
2855Example Code and Data Size: These are the sizes for the OS-independent 
2856acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2857debug version of the code includes the debug output trace mechanism and has 
2858a much larger code and data size.
2859
2860  Previous Release:
2861    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
2862    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
2863  Current Release:
2864    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
2865    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
2866
2867
28682) iASL Compiler/Disassembler and Tools:
2869
2870No changes for this release.
2871
2872----------------------------------------
287308 June 2006. Summary of changes for version 20060608:
2874
28751) ACPI CA Core Subsystem:
2876
2877Converted the locking mutex used for the ACPI hardware to a spinlock. This 
2878change should eliminate all problems caused by attempting to acquire a 
2879semaphore at interrupt level, and it means that all ACPICA external 
2880interfaces that directly access the ACPI hardware can be safely called from 
2881interrupt level. OSL code that implements the semaphore interfaces should be 
2882able to eliminate any workarounds for being called at interrupt level.
2883
2884Fixed a regression introduced in 20060526 where the ACPI device 
2885initialization could be prematurely aborted with an AE_NOT_FOUND if a device 
2886did not have an optional _INI method.
2887
2888Fixed an IndexField issue where a write to the Data Register should be 
2889limited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
2890Fiodor Suietov)
2891
2892Fixed problem reports (Valery Podrezov) integrated:
2893- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
2894
2895Fixed problem reports (Fiodor Suietov) integrated:
2896- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
2897
2898Removed four global mutexes that were obsolete and were no longer being 
2899used.
2900
2901Example Code and Data Size: These are the sizes for the OS-independent 
2902acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2903debug version of the code includes the debug output trace mechanism and has 
2904a much larger code and data size.
2905
2906  Previous Release:
2907    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
2908    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
2909  Current Release:
2910    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
2911    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
2912
2913
29142) iASL Compiler/Disassembler and Tools:
2915
2916Fixed a fault when using -g option (get tables from registry) on Windows 
2917machines.
2918
2919Fixed problem reports integrated:
2920- Generate error if CreateField NumBits parameter is zero. (BZ 405)
2921- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
2922Suietov)
2923- Global table revision override (-r) is ignored (BZ 413)
2924
2925----------------------------------------
292626 May 2006. Summary of changes for version 20060526:
2927
29281) ACPI CA Core Subsystem:
2929
2930Restructured, flattened, and simplified the internal interfaces for 
2931namespace object evaluation - resulting in smaller code, less CPU stack use, 
2932and fewer interfaces. (With assistance from Mikhail Kouzmich)
2933
2934Fixed a problem with the CopyObject operator where the first parameter was 
2935not typed correctly for the parser, interpreter, compiler, and disassembler. 
2936Caused various errors and unexpected behavior.
2937
2938Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
2939produced incorrect results with some C compilers. Since the behavior of C 
2940compilers when the shift value is larger than the datatype width is 
2941apparently not well defined, the interpreter now detects this condition and 
2942simply returns zero as expected in all such cases. (BZ 395)
2943
2944Fixed problem reports (Valery Podrezov) integrated:
2945- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
2946- Allow interpreter to handle nested method declarations (BZ 5361)
2947
2948Fixed problem reports (Fiodor Suietov) integrated:
2949- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
2950- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
2951- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
2952- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
2953- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
2954- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
2955- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
2956- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
2957- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
2958- Status of the Global Initialization Handler call not used (BZ 366)
2959- Incorrect object parameter to Global Initialization Handler (BZ 367)
2960
2961Example Code and Data Size: These are the sizes for the OS-independent 
2962acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2963debug version of the code includes the debug output trace mechanism and has 
2964a much larger code and data size.
2965
2966  Previous Release:
2967    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
2968    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
2969  Current Release:
2970    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
2971    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
2972
2973
29742) iASL Compiler/Disassembler and Tools:
2975
2976Modified the parser to allow the names IO, DMA, and IRQ to be used as 
2977namespace identifiers with no collision with existing resource descriptor 
2978macro names. This provides compatibility with other ASL compilers and is 
2979most useful for disassembly/recompilation of existing tables without parse 
2980errors. (With assistance from Thomas Renninger)
2981
2982Disassembler: fixed an incorrect disassembly problem with the 
2983DataTableRegion and CopyObject operators. Fixed a possible fault during 
2984disassembly of some Alias operators.
2985
2986----------------------------------------
298712 May 2006. Summary of changes for version 20060512:
2988
29891) ACPI CA Core Subsystem:
2990
2991Replaced the AcpiOsQueueForExecution interface with a new interface named 
2992AcpiOsExecute. The major difference is that the new interface does not have 
2993a Priority parameter, this appeared to be useless and has been replaced by a 
2994Type parameter. The Type tells the host what type of execution is being 
2995requested, such as global lock handler, notify handler, GPE handler, etc. 
2996This allows the host to queue and execute the request as appropriate for the 
2997request type, possibly using different work queues and different priorities 
2998for the various request types. This enables fixes for multithreading 
2999deadlock problems such as BZ #5534, and will require changes to all existing 
3000OS interface layers. (Alexey Starikovskiy and Bob Moore)
3001
3002Fixed a possible memory leak associated with the support for the so-called 
3003"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
3004Suietov)
3005
3006Fixed a problem with the Load() operator where a table load from an 
3007operation region could overwrite an internal table buffer by up to 7 bytes 
3008and cause alignment faults on IPF systems. (With assistance from Luming Yu)
3009
3010Example Code and Data Size: These are the sizes for the OS-independent 
3011acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3012debug version of the code includes the debug output trace mechanism and has 
3013a much larger code and data size.
3014
3015  Previous Release:
3016    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3017    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3018  Current Release:
3019    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3020    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3021
3022
3023
30242) iASL Compiler/Disassembler and Tools:
3025
3026Disassembler: Implemented support to cross reference the internal namespace 
3027and automatically generate ASL External() statements for symbols not defined 
3028within the current table being disassembled. This will simplify the 
3029disassembly and recompilation of interdependent tables such as SSDTs since 
3030these statements will no longer have to be added manually.
3031
3032Disassembler: Implemented experimental support to automatically detect 
3033invocations of external control methods and generate appropriate External() 
3034statements. This is problematic because the AML cannot be correctly parsed 
3035until the number of arguments for each control method is known. Currently, 
3036standalone method invocations and invocations as the source operand of a 
3037Store() statement are supported.
3038
3039Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
3040LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
3041LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
3042more readable and likely closer to the original ASL source.
3043
3044----------------------------------------
304521 April 2006. Summary of changes for version 20060421:
3046
30471) ACPI CA Core Subsystem:
3048
3049Removed a device initialization optimization introduced in 20051216 where 
3050the _STA method was not run unless an _INI was also present for the same 
3051device. This optimization could cause problems because it could allow _INI 
3052methods to be run within a not-present device subtree. (If a not-present 
3053device had no _INI, _STA would not be run, the not-present status would not 
3054be discovered, and the children of the device would be incorrectly 
3055traversed.)
3056
3057Implemented a new _STA optimization where namespace subtrees that do not 
3058contain _INI are identified and ignored during device initialization. 
3059Selectively running _STA can significantly improve boot time on large 
3060machines (with assistance from Len Brown.)
3061
3062Implemented support for the device initialization case where the returned 
3063_STA flags indicate a device not-present but functioning. In this case, _INI 
3064is not run, but the device children are examined for presence, as per the 
3065ACPI specification.
3066
3067Implemented an additional change to the IndexField support in order to 
3068conform to MS behavior. The value written to the Index Register is not 
3069simply a byte offset, it is a byte offset in units of the access width of 
3070the parent Index Field. (Fiodor Suietov)
3071
3072Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
3073interface is called during the creation of all AML operation regions, and 
3074allows the host OS to exert control over what addresses it will allow the 
3075AML code to access. Operation Regions whose addresses are disallowed will 
3076cause a runtime exception when they are actually accessed (will not affect 
3077or abort table loading.) See oswinxf or osunixxf for an example 
3078implementation.
3079
3080Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
3081interface allows the host OS to match the various "optional" 
3082interface/behavior strings for the _OSI predefined control method as 
3083appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
3084for an example implementation.
3085
3086Restructured and corrected various problems in the exception handling code 
3087paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
3088(with assistance from Takayoshi Kochi.)
3089
3090Modified the Linux source converter to ignore quoted string literals while 
3091converting identifiers from mixed to lower case. This will correct problems 
3092with the disassembler and other areas where such strings must not be 
3093modified.
3094
3095The ACPI_FUNCTION_* macros no longer require quotes around the function 
3096name. This allows the Linux source converter to convert the names, now that 
3097the converter ignores quoted strings.
3098
3099Example Code and Data Size: These are the sizes for the OS-independent 
3100acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3101debug version of the code includes the debug output trace mechanism and has 
3102a much larger code and data size.
3103
3104  Previous Release:
3105
3106    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3107    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3108  Current Release:
3109    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3110    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3111
3112
31132) iASL Compiler/Disassembler and Tools:
3114
3115Implemented 3 new warnings for iASL, and implemented multiple warning levels 
3116(w2 flag).
3117
31181) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
3119WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
3120check for the possible timeout, a warning is issued.
3121
31222) Useless operators: If an ASL operator does not specify an optional target 
3123operand and it also does not use the function return value from the 
3124operator, a warning is issued since the operator effectively does nothing.
3125
31263) Unreferenced objects: If a namespace object is created, but never 
3127referenced, a warning is issued. This is a warning level 2 since there are 
3128cases where this is ok, such as when a secondary table is loaded that uses 
3129the unreferenced objects. Even so, care is taken to only flag objects that 
3130don't look like they will ever be used. For example, the reserved methods 
3131(starting with an underscore) are usually not referenced because it is 
3132expected that the OS will invoke them.
3133
3134----------------------------------------
313531 March 2006. Summary of changes for version 20060331:
3136
31371) ACPI CA Core Subsystem:
3138
3139Implemented header file support for the following additional ACPI tables: 
3140ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
3141all current and known ACPI tables are now defined in the ACPICA headers and 
3142are available for use by device drivers and other software.
3143
3144Implemented support to allow tables that contain ACPI names with invalid 
3145characters to be loaded. Previously, this would cause the table load to 
3146fail, but since there are several known cases of such tables on existing 
3147machines, this change was made to enable ACPI support for them. Also, this 
3148matches the behavior of the Microsoft ACPI implementation.
3149
3150Fixed a couple regressions introduced during the memory optimization in the 
315120060317 release. The namespace node definition required additional 
3152reorganization and an internal datatype that had been changed to 8-bit was 
3153restored to 32-bit. (Valery Podrezov)
3154
3155Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
3156could be passed through to AcpiOsReleaseObject which is unexpected. Such 
3157null pointers are now trapped and ignored, matching the behavior of the 
3158previous implementation before the deployment of AcpiOsReleaseObject.
3159(Valery Podrezov, Fiodor Suietov)
3160
3161Fixed a memory mapping leak during the deletion of a SystemMemory operation 
3162region where a cached memory mapping was not deleted. This became a 
3163noticeable problem for operation regions that are defined within frequently 
3164used control methods. (Dana Meyers)
3165
3166Reorganized the ACPI table header files into two main files: one for the 
3167ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
3168ACPI tables that are consumed by the drivers and other software. The various 
3169FADT definitions were merged into one common section and three different 
3170tables (ACPI 1.0, 1.0+, and 2.0)
3171
3172Example Code and Data Size: These are the sizes for the OS-independent 
3173acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3174debug version of the code includes the debug output trace mechanism and has 
3175a much larger code and data size.
3176
3177  Previous Release:
3178    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3179    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3180  Current Release:
3181    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3182    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3183
3184
31852) iASL Compiler/Disassembler and Tools:
3186
3187Disassembler: Implemented support to decode and format all non-AML ACPI 
3188tables (tables other than DSDTs and SSDTs.) This includes the new tables 
3189added to the ACPICA headers, therefore all current and known ACPI tables are 
3190supported.
3191
3192Disassembler: The change to allow ACPI names with invalid characters also 
3193enables the disassembly of such tables. Invalid characters within names are 
3194changed to '*' to make the name printable; the iASL compiler will still 
3195generate an error for such names, however, since this is an invalid ACPI 
3196character.
3197
3198Implemented an option for AcpiXtract (-a) to extract all tables found in the 
3199input file. The default invocation extracts only the DSDTs and SSDTs.
3200
3201Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
3202makefile for the AcpiXtract utility.
3203
3204----------------------------------------
320517 March 2006. Summary of changes for version 20060317:
3206
32071) ACPI CA Core Subsystem:
3208
3209Implemented the use of a cache object for all internal namespace nodes. 
3210Since there are about 1000 static nodes in a typical system, this will 
3211decrease memory use for cache implementations that minimize per-allocation 
3212overhead (such as a slab allocator.)
3213
3214Removed the reference count mechanism for internal namespace nodes, since it 
3215was deemed unnecessary. This reduces the size of each namespace node by 
3216about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
3217and 32 bytes for the 64-bit case.
3218
3219Optimized several internal data structures to reduce object size on 64-bit 
3220platforms by packing data within the 64-bit alignment. This includes the 
3221frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
3222instances corresponding to the namespace objects.
3223
3224Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
3225and "Windows 2006".
3226
3227Split the allocation tracking mechanism out to a separate file, from 
3228utalloc.c to uttrack.c. This mechanism appears to be only useful for 
3229application-level code. Kernels may wish to not include uttrack.c in 
3230distributions.
3231
3232Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated 
3233code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
3234macros.)
3235
3236Code and Data Size: These are the sizes for the acpica.lib produced by the 
3237Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3238driver or OSPM code. The debug version of the code includes the debug output 
3239trace mechanism and has a much larger code and data size. Note that these 
3240values will vary depending on the efficiency of the compiler and the 
3241compiler options used during generation.
3242
3243  Previous Release:
3244    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3245    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3246  Current Release:
3247    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3248    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3249
3250
32512) iASL Compiler/Disassembler and Tools:
3252
3253Implemented an ANSI C version of the acpixtract utility. This version will 
3254automatically extract the DSDT and all SSDTs from the input acpidump text 
3255file and dump the binary output to separate files. It can also display a 
3256summary of the input file including the headers for each table found and 
3257will extract any single ACPI table, with any signature. (See 
3258source/tools/acpixtract)
3259
3260----------------------------------------
326110 March 2006. Summary of changes for version 20060310:
3262
32631) ACPI CA Core Subsystem:
3264
3265Tagged all external interfaces to the subsystem with the new 
3266ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
3267kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
3268macro. The default definition is NULL.
3269
3270Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
3271This allows the host to define this as necessary to simplify kernel 
3272integration. The default definition is ACPI_NATIVE_UINT.
3273
3274Fixed two interpreter problems related to error processing, the deletion of 
3275objects, and placing invalid pointers onto the internal operator result 
3276stack. BZ 6028, 6151 (Valery Podrezov)
3277
3278Increased the reference count threshold where a warning is emitted for large 
3279reference counts in order to eliminate unnecessary warnings on systems with 
3280large namespaces (especially 64-bit.) Increased the value from 0x400 to 
32810x800.
3282
3283Due to universal disagreement as to the meaning of the 'c' in the calloc() 
3284function, the ACPI_MEM_CALLOCATE macro has been renamed to 
3285ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
3286ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
3287ACPI_FREE.
3288
3289Code and Data Size: These are the sizes for the acpica.lib produced by the 
3290Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3291driver or OSPM code. The debug version of the code includes the debug output 
3292trace mechanism and has a much larger code and data size. Note that these 
3293values will vary depending on the efficiency of the compiler and the 
3294compiler options used during generation.
3295
3296  Previous Release:
3297    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3298    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3299  Current Release:
3300    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3301    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3302
3303
33042) iASL Compiler/Disassembler:
3305
3306Disassembler: implemented support for symbolic resource descriptor 
3307references. If a CreateXxxxField operator references a fixed offset within a 
3308resource descriptor, a name is assigned to the descriptor and the offset is 
3309translated to the appropriate resource tag and pathname. The addition of 
3310this support brings the disassembled code very close to the original ASL 
3311source code and helps eliminate run-time errors when the disassembled code 
3312is modified (and recompiled) in such a way as to invalidate the original 
3313fixed offsets.
3314
3315Implemented support for a Descriptor Name as the last parameter to the ASL 
3316Register() macro. This parameter was inadvertently left out of the ACPI 
3317specification, and will be added for ACPI 3.0b.
3318
3319Fixed a problem where the use of the "_OSI" string (versus the full path 
3320"\_OSI") caused an internal compiler error. ("No back ptr to op")
3321
3322Fixed a problem with the error message that occurs when an invalid string is 
3323used for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
3324The correct message is now displayed.
3325
3326----------------------------------------
332717 February 2006. Summary of changes for version 20060217:
3328
33291) ACPI CA Core Subsystem:
3330
3331Implemented a change to the IndexField support to match the behavior of the 
3332Microsoft AML interpreter. The value written to the Index register is now a 
3333byte offset, no longer an index based upon the width of the Data register. 
3334This should fix IndexField problems seen on some machines where the Data 
3335register is not exactly one byte wide. The ACPI specification will be 
3336clarified on this point.
3337
3338Fixed a problem where several resource descriptor types could overrun the 
3339internal descriptor buffer due to size miscalculation: VendorShort, 
3340VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
3341affect all platforms.
3342
3343Fixed a problem where individual resource descriptors were misaligned within 
3344the internal buffer, causing alignment faults on IA64 platforms.
3345
3346Code and Data Size: These are the sizes for the acpica.lib produced by the 
3347Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3348driver or OSPM code. The debug version of the code includes the debug output 
3349trace mechanism and has a much larger code and data size. Note that these 
3350values will vary depending on the efficiency of the compiler and the 
3351compiler options used during generation.
3352
3353  Previous Release:
3354    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3355    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3356  Current Release:
3357    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3358    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3359
3360
33612) iASL Compiler/Disassembler:
3362
3363Implemented support for new reserved names: _WDG and _WED are Microsoft 
3364extensions for Windows Instrumentation Management, _TDL is a new ACPI-
3365defined method (Throttling Depth Limit.)
3366
3367Fixed a problem where a zero-length VendorShort or VendorLong resource 
3368descriptor was incorrectly emitted as a descriptor of length one.
3369
3370----------------------------------------
337110 February 2006. Summary of changes for version 20060210:
3372
33731) ACPI CA Core Subsystem:
3374
3375Removed a couple of extraneous ACPI_ERROR messages that appeared during 
3376normal execution. These became apparent after the conversion from 
3377ACPI_DEBUG_PRINT.
3378
3379Fixed a problem where the CreateField operator could hang if the BitIndex or 
3380NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
3381
3382Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
3383failed with an exception. This also fixes a couple of related RefOf and 
3384DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
3385
3386Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
3387AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
33885480)
3389
3390Implemented a memory cleanup at the end of the execution of each iteration 
3391of an AML While() loop, preventing the accumulation of outstanding objects. 
3392(Valery Podrezov, BZ 5427)
3393
3394Eliminated a chunk of duplicate code in the object resolution code. (Valery 
3395Podrezov, BZ 5336)
3396
3397Fixed several warnings during the 64-bit code generation.
3398
3399The AcpiSrc source code conversion tool now inserts one line of whitespace 
3400after an if() statement that is followed immediately by a comment, improving 
3401readability of the Linux code.
3402
3403Code and Data Size: The current and previous library sizes for the core 
3404subsystem are shown below. These are the code and data sizes for the 
3405acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3406values do not include any ACPI driver or OSPM code. The debug version of the 
3407code includes the debug output trace mechanism and has a much larger code 
3408and data size. Note that these values will vary depending on the efficiency 
3409of the compiler and the compiler options used during generation.
3410
3411  Previous Release:
3412    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
3413    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
3414  Current Release:
3415    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3416    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3417
3418
34192) iASL Compiler/Disassembler:
3420
3421Fixed a problem with the disassembly of a BankField operator with a complex 
3422expression for the BankValue parameter.
3423
3424----------------------------------------
342527 January 2006. Summary of changes for version 20060127:
3426
34271) ACPI CA Core Subsystem:
3428
3429Implemented support in the Resource Manager to allow unresolved namestring 
3430references within resource package objects for the _PRT method. This support 
3431is in addition to the previously implemented unresolved reference support 
3432within the AML parser. If the interpreter slack mode is enabled, these 
3433unresolved references will be passed through to the caller as a NULL package 
3434entry.
3435
3436Implemented and deployed new macros and functions for error and warning 
3437messages across the subsystem. These macros are simpler and generate less 
3438code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
3439ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
3440macros remain defined to allow ACPI drivers time to migrate to the new 
3441macros.
3442
3443Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
3444Acquire/Release Lock OSL interfaces.
3445
3446Fixed a problem where Alias ASL operators are sometimes not correctly 
3447resolved, in both the interpreter and the iASL compiler.
3448
3449Fixed several problems with the implementation of the ConcatenateResTemplate 
3450ASL operator. As per the ACPI specification, zero length buffers are now 
3451treated as a single EndTag. One-length buffers always cause a fatal 
3452exception. Non-zero length buffers that do not end with a full 2-byte EndTag 
3453cause a fatal exception.
3454
3455Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
3456interface. (With assistance from Thomas Renninger)
3457
3458Code and Data Size: The current and previous library sizes for the core 
3459subsystem are shown below. These are the code and data sizes for the 
3460acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3461values do not include any ACPI driver or OSPM code. The debug version of the 
3462code includes the debug output trace mechanism and has a much larger code 
3463and data size. Note that these values will vary depending on the efficiency 
3464of the compiler and the compiler options used during generation.
3465
3466  Previous Release:
3467    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
3468    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
3469  Current Release:
3470    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
3471    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
3472
3473
34742) iASL Compiler/Disassembler:
3475
3476Fixed an internal error that was generated for any forward references to ASL 
3477Alias objects.
3478
3479----------------------------------------
348013 January 2006. Summary of changes for version 20060113:
3481
34821) ACPI CA Core Subsystem:
3483
3484Added 2006 copyright to all module headers and signons. This affects 
3485virtually every file in the ACPICA core subsystem, iASL compiler, and the 
3486utilities.
3487 
3488Enhanced the ACPICA error reporting in order to simplify user migration to 
3489the non-debug version of ACPICA. Replaced all instances of the 
3490ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
3491levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
3492respectively. This preserves all error and warning messages in the non-debug 
3493version of the ACPICA code (this has been referred to as the "debug lite" 
3494option.) Over 200 cases were converted to create a total of over 380 
3495error/warning messages across the ACPICA code. This increases the code and 
3496data size of the default non-debug version of the code somewhat (about 13K), 
3497but all error/warning reporting may be disabled if desired (and code 
3498eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
3499configuration option. The size of the debug version of ACPICA remains about 
3500the same.
3501
3502Fixed a memory leak within the AML Debugger "Set" command. One object was 
3503not properly deleted for every successful invocation of the command.
3504
3505Code and Data Size: The current and previous library sizes for the core 
3506subsystem are shown below. These are the code and data sizes for the 
3507acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3508values do not include any ACPI driver or OSPM code. The debug version of the 
3509code includes the debug output trace mechanism and has a much larger code 
3510and data size. Note that these values will vary depending on the efficiency 
3511of the compiler and the compiler options used during generation.
3512
3513  Previous Release:
3514    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
3515    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
3516  Current Release:
3517    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
3518    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
3519
3520
35212) iASL Compiler/Disassembler:
3522
3523The compiler now officially supports the ACPI 3.0a specification that was 
3524released on December 30, 2005. (Specification is available at www.acpi.info)
3525
3526----------------------------------------
352716 December 2005. Summary of changes for version 20051216:
3528
35291) ACPI CA Core Subsystem:
3530
3531Implemented optional support to allow unresolved names within ASL Package 
3532objects. A null object is inserted in the package when a named reference 
3533cannot be located in the current namespace. Enabled via the interpreter 
3534slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
3535that contain such code.
3536
3537Implemented an optimization to the initialization sequence that can improve 
3538boot time. During ACPI device initialization, the _STA method is now run if 
3539and only if the _INI method exists. The _STA method is used to determine if 
3540the device is present; An _INI can only be run if _STA returns present, but 
3541it is a waste of time to run the _STA method if the _INI does not exist. 
3542(Prototype and assistance from Dong Wei)
3543
3544Implemented use of the C99 uintptr_t for the pointer casting macros if it is 
3545available in the current compiler. Otherwise, the default (void *) cast is 
3546used as before.
3547
3548Fixed some possible memory leaks found within the execution path of the 
3549Break, Continue, If, and CreateField operators. (Valery Podrezov)
3550
3551Fixed a problem introduced in the 20051202 release where an exception is 
3552generated during method execution if a control method attempts to declare 
3553another method.
3554
3555Moved resource descriptor string constants that are used by both the AML 
3556disassembler and AML debugger to the common utilities directory so that 
3557these components are independent.
3558
3559Implemented support in the AcpiExec utility (-e switch) to globally ignore 
3560exceptions during control method execution (method is not aborted.)
3561
3562Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
3563generation.
3564
3565Code and Data Size: The current and previous library sizes for the core 
3566subsystem are shown below. These are the code and data sizes for the 
3567acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3568values do not include any ACPI driver or OSPM code. The debug version of the 
3569code includes the debug output trace mechanism and has a much larger code 
3570and data size. Note that these values will vary depending on the efficiency 
3571of the compiler and the compiler options used during generation.
3572
3573  Previous Release:
3574    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3575    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
3576  Current Release:
3577    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
3578    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
3579
3580
35812) iASL Compiler/Disassembler:
3582
3583Fixed a problem where a CPU stack overflow fault could occur if a recursive 
3584method call was made from within a Return statement.
3585
3586----------------------------------------
358702 December 2005. Summary of changes for version 20051202:
3588
35891) ACPI CA Core Subsystem:
3590
3591Modified the parsing of control methods to no longer create namespace 
3592objects during the first pass of the parse. Objects are now created only 
3593during the execute phase, at the moment the namespace creation operator is 
3594encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
3595should eliminate ALREADY_EXISTS exceptions seen on some machines where 
3596reentrant control methods are protected by an AML mutex. The mutex will now 
3597correctly block multiple threads from attempting to create the same object 
3598more than once.
3599
3600Increased the number of available Owner Ids for namespace object tracking 
3601from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
3602some machines with a large number of ACPI tables (either static or dynamic).
3603
3604Fixed a problem with the AcpiExec utility where a fault could occur when the 
3605-b switch (batch mode) is used.
3606
3607Enhanced the namespace dump routine to output the owner ID for each 
3608namespace object.
3609
3610Code and Data Size: The current and previous library sizes for the core 
3611subsystem are shown below. These are the code and data sizes for the 
3612acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3613values do not include any ACPI driver or OSPM code. The debug version of the 
3614code includes the debug output trace mechanism and has a much larger code 
3615and data size. Note that these values will vary depending on the efficiency 
3616of the compiler and the compiler options used during generation.
3617
3618  Previous Release:
3619    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3620    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3621  Current Release:
3622    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3623    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
3624
3625
36262) iASL Compiler/Disassembler:
3627
3628Fixed a parse error during compilation of certain Switch/Case constructs. To 
3629simplify the parse, the grammar now allows for multiple Default statements 
3630and this error is now detected and flagged during the analysis phase.
3631
3632Disassembler: The disassembly now includes the contents of the original 
3633table header within a comment at the start of the file. This includes the 
3634name and version of the original ASL compiler.
3635
3636----------------------------------------
363717 November 2005. Summary of changes for version 20051117:
3638
36391) ACPI CA Core Subsystem:
3640
3641Fixed a problem in the AML parser where the method thread count could be 
3642decremented below zero if any errors occurred during the method parse phase. 
3643This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
3644This also fixed a related regression with the mechanism that detects and 
3645corrects methods that cannot properly handle reentrancy (related to the 
3646deployment of the new OwnerId mechanism.)
3647
3648Eliminated the pre-parsing of control methods (to detect errors) during 
3649table load. Related to the problem above, this was causing unwind issues if 
3650any errors occurred during the parse, and it seemed to be overkill. A table 
3651load should not be aborted if there are problems with any single control 
3652method, thus rendering this feature rather pointless.
3653
3654Fixed a problem with the new table-driven resource manager where an internal 
3655buffer overflow could occur for small resource templates.
3656
3657Implemented a new external interface, AcpiGetVendorResource. This interface 
3658will find and return a vendor-defined resource descriptor within a _CRS or 
3659_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
3660
3661Removed the length limit (200) on string objects as per the upcoming ACPI 
36623.0A specification. This affects the following areas of the interpreter: 1) 
3663any implicit conversion of a Buffer to a String, 2) a String object result 
3664of the ASL Concatentate operator, 3) the String object result of the ASL 
3665ToString operator.
3666
3667Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
3668on a semaphore object would incorrectly timeout. This allows the 
3669multithreading features of the AcpiExec utility to work properly under 
3670Windows.
3671
3672Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
3673the recently added file named "utresrc.c".
3674
3675Code and Data Size: The current and previous library sizes for the core 
3676subsystem are shown below. These are the code and data sizes for the 
3677acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3678values do not include any ACPI driver or OSPM code. The debug version of the 
3679code includes the debug output trace mechanism and has a much larger code 
3680and data size. Note that these values will vary depending on the efficiency 
3681of the compiler and the compiler options used during generation.
3682
3683  Previous Release:
3684    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
3685    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3686  Current Release:
3687    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
3688    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3689
3690
36912) iASL Compiler/Disassembler:
3692
3693Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
3694specification. For the iASL compiler, this means that string literals within 
3695the source ASL can be of any length. 
3696
3697Enhanced the listing output to dump the AML code for resource descriptors 
3698immediately after the ASL code for each descriptor, instead of in a block at 
3699the end of the entire resource template.
3700
3701Enhanced the compiler debug output to dump the entire original parse tree 
3702constructed during the parse phase, before any transforms are applied to the 
3703tree. The transformed tree is dumped also.
3704
3705----------------------------------------
370602 November 2005. Summary of changes for version 20051102:
3707
37081) ACPI CA Core Subsystem:
3709
3710Modified the subsystem initialization sequence to improve GPE support. The 
3711GPE initialization has been split into two parts in order to defer execution 
3712of the _PRW methods (Power Resources for Wake) until after the hardware is 
3713fully initialized and the SCI handler is installed. This allows the _PRW 
3714methods to access fields protected by the Global Lock. This will fix systems 
3715where a NO_GLOBAL_LOCK exception has been seen during initialization.
3716
3717Converted the ACPI internal object disassemble and display code within the 
3718AML debugger to fully table-driven operation, reducing code size and 
3719increasing maintainability.
3720
3721Fixed a regression with the ConcatenateResTemplate() ASL operator introduced 
3722in the 20051021 release.
3723
3724Implemented support for "local" internal ACPI object types within the 
3725debugger "Object" command and the AcpiWalkNamespace external interfaces. 
3726These local types include RegionFields, BankFields, IndexFields, Alias, and 
3727reference objects.
3728
3729Moved common AML resource handling code into a new file, "utresrc.c". This 
3730code is shared by both the Resource Manager and the AML Debugger.
3731
3732Code and Data Size: The current and previous library sizes for the core 
3733subsystem are shown below. These are the code and data sizes for the 
3734acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3735values do not include any ACPI driver or OSPM code. The debug version of the 
3736code includes the debug output trace mechanism and has a much larger code 
3737and data size. Note that these values will vary depending on the efficiency 
3738of the compiler and the compiler options used during generation.
3739
3740  Previous Release:
3741    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
3742    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
3743  Current Release:
3744    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
3745    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
3746
3747
37482) iASL Compiler/Disassembler:
3749
3750Fixed a problem with very large initializer lists (more than 4000 elements) 
3751for both Buffer and Package objects where the parse stack could overflow.
3752
3753Enhanced the pre-compile source code scan for non-ASCII characters to ignore 
3754characters within comment fields. The scan is now always performed and is no 
3755longer optional, detecting invalid characters within a source file 
3756immediately rather than during the parse phase or later.
3757
3758Enhanced the ASL grammar definition to force early reductions on all list-
3759style grammar elements so that the overall parse stack usage is greatly 
3760reduced. This should improve performance and reduce the possibility of parse 
3761stack overflow.
3762
3763Eliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
3764with the addition of a %expected statement, the compiler generates from 
3765source with no warnings.
3766
3767Fixed a possible segment fault in the disassembler if the input filename 
3768does not contain a "dot" extension (Thomas Renninger).
3769
3770----------------------------------------
377121 October 2005. Summary of changes for version 20051021:
3772
37731) ACPI CA Core Subsystem:
3774
3775Implemented support for the EM64T and other x86-64 processors. This 
3776essentially entails recognizing that these processors support non-aligned 
3777memory transfers. Previously, all 64-bit processors were assumed to lack 
3778hardware support for non-aligned transfers.
3779
3780Completed conversion of the Resource Manager to nearly full table-driven 
3781operation. Specifically, the resource conversion code (convert AML to 
3782internal format and the reverse) and the debug code to dump internal 
3783resource descriptors are fully table-driven, reducing code and data size and 
3784improving maintainability.
3785
3786The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
3787on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
3788Alexey Starikovskiy)
3789
3790Implemented support within the resource conversion code for the Type-
3791Specific byte within the various ACPI 3.0 *WordSpace macros.
3792
3793Fixed some issues within the resource conversion code for the type-specific 
3794flags for both Memory and I/O address resource descriptors. For Memory, 
3795implemented support for the MTP and TTP flags. For I/O, split the TRS and 
3796TTP flags into two separate fields.
3797
3798Code and Data Size: The current and previous library sizes for the core 
3799subsystem are shown below. These are the code and data sizes for the 
3800acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3801values do not include any ACPI driver or OSPM code. The debug version of the 
3802code includes the debug output trace mechanism and has a much larger code 
3803and data size. Note that these values will vary depending on the efficiency 
3804of the compiler and the compiler options used during generation.
3805
3806  Previous Release:
3807    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
3808    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
3809  Current Release:
3810    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
3811    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
3812
3813
3814
38152) iASL Compiler/Disassembler:
3816
3817Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
3818corresponding ResourceSource string was not also present in a resource 
3819descriptor declaration. This restriction caused problems with existing 
3820AML/ASL code that includes the Index byte without the string. When such AML 
3821was disassembled, it could not be compiled without modification. Further, 
3822the modified code created a resource template with a different size than the 
3823original, breaking code that used fixed offsets into the resource template 
3824buffer.
3825
3826Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
3827byte. This byte is now emitted if present so that the exact AML can be 
3828reproduced when the disassembled code is recompiled.
3829
3830Improved comments and text alignment for the resource descriptor code 
3831emitted by the disassembler.
3832
3833Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
3834Register() resource descriptor.
3835
3836----------------------------------------
383730 September 2005. Summary of changes for version 20050930:
3838
38391) ACPI CA Core Subsystem:
3840
3841Completed a major overhaul of the Resource Manager code - specifically, 
3842optimizations in the area of the AML/internal resource conversion code. The 
3843code has been optimized to simplify and eliminate duplicated code, CPU stack 
3844use has been decreased by optimizing function parameters and local 
3845variables, and naming conventions across the manager have been standardized 
3846for clarity and ease of maintenance (this includes function, parameter, 
3847variable, and struct/typedef names.) The update may force changes in some 
3848driver code, depending on how resources are handled by the host OS.
3849
3850All Resource Manager dispatch and information tables have been moved to a 
3851single location for clarity and ease of maintenance. One new file was 
3852created, named "rsinfo.c".
3853
3854The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
3855guarantee that the argument is not evaluated twice, making them less prone 
3856to macro side-effects. However, since there exists the possibility of 
3857additional stack use if a particular compiler cannot optimize them (such as 
3858in the debug generation case), the original macros are optionally available.  
3859Note that some invocations of the return_VALUE macro may now cause size 
3860mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
3861eliminate these. (From Randy Dunlap)
3862
3863Implemented a new mechanism to enable debug tracing for individual control 
3864methods. A new external interface, AcpiDebugTrace, is provided to enable 
3865this mechanism. The intent is to allow the host OS to easily enable and 
3866disable tracing for problematic control methods. This interface can be 
3867easily exposed to a user or debugger interface if desired. See the file 
3868psxface.c for details.
3869
3870AcpiUtCallocate will now return a valid pointer if a length of zero is 
3871specified - a length of one is used and a warning is issued. This matches 
3872the behavior of AcpiUtAllocate.
3873
3874Code and Data Size: The current and previous library sizes for the core 
3875subsystem are shown below. These are the code and data sizes for the 
3876acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3877values do not include any ACPI driver or OSPM code. The debug version of the 
3878code includes the debug output trace mechanism and has a much larger code 
3879and data size. Note that these values will vary depending on the efficiency 
3880of the compiler and the compiler options used during generation.
3881
3882  Previous Release:
3883    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
3884    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
3885  Current Release:
3886    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
3887    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
3888
3889
38902) iASL Compiler/Disassembler:
3891
3892A remark is issued if the effective compile-time length of a package or 
3893buffer is zero. Previously, this was a warning.
3894
3895----------------------------------------
389616 September 2005. Summary of changes for version 20050916:
3897
38981) ACPI CA Core Subsystem:
3899
3900Fixed a problem within the Resource Manager where support for the Generic 
3901Register descriptor was not fully implemented. This descriptor is now fully 
3902recognized, parsed, disassembled, and displayed.
3903
3904Completely restructured the Resource Manager code to utilize table-driven 
3905dispatch and lookup, eliminating many of the large switch() statements. This 
3906reduces overall subsystem code size and code complexity. Affects the 
3907resource parsing and construction, disassembly, and debug dump output.
3908
3909Cleaned up and restructured the debug dump output for all resource 
3910descriptors. Improved readability of the output and reduced code size.
3911
3912Fixed a problem where changes to internal data structures caused the 
3913optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
3914
3915Code and Data Size: The current and previous library sizes for the core 
3916subsystem are shown below. These are the code and data sizes for the 
3917acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
3918values do not include any ACPI driver or OSPM code. The debug version of the 
3919code includes the debug output trace mechanism and has a much larger code 
3920and data size. Note that these values will vary depending on the efficiency 
3921of the compiler and the compiler options used during generation.
3922
3923  Previous Release:
3924    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
3925    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
3926  Current Release:
3927    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
3928    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
3929
3930
39312) iASL Compiler/Disassembler:
3932
3933Updated the disassembler to automatically insert an EndDependentFn() macro 
3934into the ASL stream if this macro is missing in the original AML code, 
3935simplifying compilation of the resulting ASL module.
3936
3937Fixed a problem in the disassembler where a disassembled ResourceSource 
3938string (within a large resource descriptor) was not surrounded by quotes and 
3939not followed by a comma, causing errors when the resulting ASL module was 
3940compiled. Also, escape sequences within a ResourceSource string are now 
3941handled correctly (especially "\\")
3942
3943----------------------------------------
394402 September 2005. Summary of changes for version 20050902:
3945
39461) ACPI CA Core Subsystem:
3947
3948Fixed a problem with the internal Owner ID allocation and deallocation 
3949mechanisms for control method execution and recursive method invocation. 
3950This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
3951messages seen on some systems. Recursive method invocation depth is 
3952currently limited to 255. (Alexey Starikovskiy)
3953
3954Completely eliminated all vestiges of support for the "module-level 
3955executable code" until this support is fully implemented and debugged. This 
3956should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
3957some systems that invoke this support.
3958
3959Fixed a problem within the resource manager code where the transaction flags 
3960for a 64-bit address descriptor were handled incorrectly in the type-
3961specific flag byte.
3962
3963Consolidated duplicate code within the address descriptor resource manager 
3964code, reducing overall subsystem code size.
3965
3966Fixed a fault when using the AML debugger "disassemble" command to 
3967disassemble individual control methods.
3968
3969Removed references to the "release_current" directory within the Unix 
3970release package.
3971
3972Code and Data Size: The current and previous core subsystem library sizes 
3973are shown below. These are the code and data sizes for the acpica.lib 
3974produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
3975include any ACPI driver or OSPM code. The debug version of the code includes 
3976the debug output trace mechanism and has a much larger code and data size. 
3977Note that these values will vary depending on the efficiency of the compiler 
3978and the compiler options used during generation.
3979
3980  Previous Release:
3981    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
3982    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
3983  Current Release:
3984    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
3985    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
3986
3987
39882) iASL Compiler/Disassembler:
3989
3990Implemented an error check for illegal duplicate values in the interrupt and 
3991dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
3992Interrupt().
3993
3994Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
3995too many values in the interrupt list (16 max) and invalid values in the 
3996list (range 0 - 15)
3997
3998The maximum length string literal within an ASL file is now restricted to 
3999200 characters as per the ACPI specification.
4000
4001Fixed a fault when using the -ln option (generate namespace listing).
4002
4003Implemented an error check to determine if a DescriptorName within a 
4004resource descriptor has already been used within the current scope.
4005
4006----------------------------------------
400715 August 2005.  Summary of changes for version 20050815:
4008 
40091) ACPI CA Core Subsystem:
4010 
4011Implemented a full bytewise compare to determine if a table load request is 
4012attempting to load a duplicate table. The compare is performed if the table 
4013signatures and table lengths match. This will allow different tables with 
4014the same OEM Table ID and revision to be loaded - probably against the ACPI 
4015specification, but discovered in the field nonetheless.
4016 
4017Added the changes.txt logfile to each of the zipped release packages.
4018 
4019Code and Data Size: Current and previous core subsystem library sizes are 
4020shown below. These are the code and data sizes for the acpica.lib produced 
4021by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4022any ACPI driver or OSPM code. The debug version of the code includes the 
4023debug output trace mechanism and has a much larger code and data size. Note 
4024that these values will vary depending on the efficiency of the compiler and 
4025the compiler options used during generation.
4026 
4027  Previous Release:
4028    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4029    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4030  Current Release:
4031    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4032    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4033 
4034 
40352) iASL Compiler/Disassembler:
4036 
4037Fixed a problem where incorrect AML code could be generated for Package 
4038objects if optimization is disabled (via the -oa switch).
4039 
4040Fixed a problem with where incorrect AML code is generated for variable-
4041length packages when the package length is not specified and the number of 
4042initializer values is greater than 255.
4043 
4044
4045----------------------------------------
404629 July 2005.  Summary of changes for version 20050729:
4047
40481) ACPI CA Core Subsystem:
4049
4050Implemented support to ignore an attempt to install/load a particular ACPI 
4051table more than once. Apparently there exists BIOS code that repeatedly 
4052attempts to load the same SSDT upon certain events. With assistance from 
4053Venkatesh Pallipadi.
4054
4055Restructured the main interface to the AML parser in order to correctly 
4056handle all exceptional conditions. This will prevent leakage of the OwnerId 
4057resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
4058machines. With assistance from Alexey Starikovskiy.
4059
4060Support for "module level code" has been disabled in this version due to a 
4061number of issues that have appeared on various machines. The support can be 
4062enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
4063compilation. When the issues are fully resolved, the code will be enabled by 
4064default again.
4065
4066Modified the internal functions for debug print support to define the 
4067FunctionName parameter as a (const char *) for compatibility with compiler 
4068built-in macros such as __FUNCTION__, etc.
4069
4070Linted the entire ACPICA source tree for both 32-bit and 64-bit.
4071
4072Implemented support to display an object count summary for the AML Debugger 
4073commands Object and Methods.
4074
4075Code and Data Size: Current and previous core subsystem library sizes are 
4076shown below. These are the code and data sizes for the acpica.lib produced 
4077by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4078any ACPI driver or OSPM code. The debug version of the code includes the 
4079debug output trace mechanism and has a much larger code and data size. Note 
4080that these values will vary depending on the efficiency of the compiler and 
4081the compiler options used during generation.
4082
4083  Previous Release:
4084    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4085    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4086  Current Release:
4087    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4088    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4089
4090
40912) iASL Compiler/Disassembler:
4092
4093Fixed a regression that appeared in the 20050708 version of the compiler 
4094where an error message was inadvertently emitted for invocations of the _OSI 
4095reserved control method.
4096
4097----------------------------------------
409808 July 2005.  Summary of changes for version 20050708:
4099
41001) ACPI CA Core Subsystem:
4101
4102The use of the CPU stack in the debug version of the subsystem has been 
4103considerably reduced. Previously, a debug structure was declared in every 
4104function that used the debug macros. This structure has been removed in 
4105favor of declaring the individual elements as parameters to the debug 
4106functions. This reduces the cumulative stack use during nested execution of 
4107ACPI function calls at the cost of a small increase in the code size of the 
4108debug version of the subsystem. With assistance from Alexey Starikovskiy and 
4109Len Brown.
4110
4111Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
4112headers to define a macro that will return the current function name at 
4113runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
4114the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
4115compiler-dependent header, the function name is saved on the CPU stack (one 
4116pointer per function.) This mechanism is used because apparently there 
4117exists no standard ANSI-C defined macro that that returns the function name.
4118
4119Redesigned and reimplemented the "Owner ID" mechanism used to track 
4120namespace objects created/deleted by ACPI tables and control method 
4121execution. A bitmap is now used to allocate and free the IDs, thus solving 
4122the wraparound problem present in the previous implementation. The size of 
4123the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
4124Starikovskiy).
4125
4126Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
4127flag definitions within the headers for the predefined ACPI tables. These 
4128have been replaced by UINT8_BIT in order to increase the code portability of 
4129the subsystem. If the use of UINT8 remains a problem, we may be forced to 
4130eliminate bitfields entirely because of a lack of portability.
4131
4132Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
4133is a frequently used function and this improvement increases the performance 
4134of the entire subsystem (Alexey Starikovskiy).
4135
4136Fixed several possible memory leaks and the inverse - premature object 
4137deletion (Alexey Starikovskiy).
4138
4139Code and Data Size: Current and previous core subsystem library sizes are 
4140shown below. These are the code and data sizes for the acpica.lib produced 
4141by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4142any ACPI driver or OSPM code. The debug version of the code includes the 
4143debug output trace mechanism and has a much larger code and data size. Note 
4144that these values will vary depending on the efficiency of the compiler and 
4145the compiler options used during generation.
4146
4147  Previous Release:
4148    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4149    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4150  Current Release:
4151    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4152    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4153
4154----------------------------------------
415524 June 2005.  Summary of changes for version 20050624:
4156
41571) ACPI CA Core Subsystem:
4158
4159Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
4160the host-defined cache object. This allows the OSL implementation to define 
4161and type this object in any manner desired, simplifying the OSL 
4162implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
4163Linux, and should be defined in the OS-specific header file for other 
4164operating systems as required.
4165
4166Changed the interface to AcpiOsAcquireObject to directly return the 
4167requested object as the function return (instead of ACPI_STATUS.) This 
4168change was made for performance reasons, since this is the purpose of the 
4169interface in the first place. AcpiOsAcquireObject is now similar to the 
4170AcpiOsAllocate interface.
4171
4172Implemented a new AML debugger command named Businfo. This command displays 
4173information about all devices that have an associate _PRT object. The _ADR, 
4174_HID, _UID, and _CID are displayed for these devices.
4175
4176Modified the initialization sequence in AcpiInitializeSubsystem to call the 
4177OSL interface AcpiOslInitialize first, before any local initialization. This 
4178change was required because the global initialization now calls OSL 
4179interfaces.
4180
4181Enhanced the Dump command to display the entire contents of Package objects 
4182(including all sub-objects and their values.) 
4183
4184Restructured the code base to split some files because of size and/or 
4185because the code logically belonged in a separate file. New files are listed 
4186below. All makefiles and project files included in the ACPI CA release have 
4187been updated.
4188    utilities/utcache.c           /* Local cache interfaces */
4189    utilities/utmutex.c           /* Local mutex support */
4190    utilities/utstate.c           /* State object support */
4191    interpreter/parser/psloop.c   /* Main AML parse loop */
4192
4193Code and Data Size: Current and previous core subsystem library sizes are 
4194shown below. These are the code and data sizes for the acpica.lib produced 
4195by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4196any ACPI driver or OSPM code. The debug version of the code includes the 
4197debug output trace mechanism and has a much larger code and data size. Note 
4198that these values will vary depending on the efficiency of the compiler and 
4199the compiler options used during generation.
4200
4201  Previous Release:
4202    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4203    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4204  Current Release:
4205    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4206    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4207
4208
42092) iASL Compiler/Disassembler:
4210
4211Fixed a regression introduced in version 20050513 where the use of a Package 
4212object within a Case() statement caused a compile time exception. The 
4213original behavior has been restored (a Match() operator is emitted.)
4214
4215----------------------------------------
421617 June 2005.  Summary of changes for version 20050617:
4217
42181) ACPI CA Core Subsystem:
4219
4220Moved the object cache operations into the OS interface layer (OSL) to allow 
4221the host OS to handle these operations if desired (for example, the Linux 
4222OSL will invoke the slab allocator). This support is optional; the compile 
4223time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
4224code in the ACPI CA core. The new OSL interfaces are shown below. See 
4225utalloc.c for an example implementation, and acpiosxf.h for the exact 
4226interface definitions. With assistance from Alexey Starikovskiy.
4227    AcpiOsCreateCache
4228    AcpiOsDeleteCache
4229    AcpiOsPurgeCache
4230    AcpiOsAcquireObject
4231    AcpiOsReleaseObject
4232
4233Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
4234and restore a flags parameter. This fits better with many OS lock models. 
4235Note: the current execution state (interrupt handler or not) is no longer 
4236passed to these interfaces. If necessary, the OSL must determine this state 
4237by itself, a simple and fast operation. With assistance from Alexey 
4238Starikovskiy.
4239
4240Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
4241present if the revision of the RSDP was 2 or greater. According to the ACPI 
4242specification, the XSDT is optional in all cases, and the table manager 
4243therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
4244Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
4245only the RSDT.
4246
4247Fixed an interpreter problem with the Mid() operator in the case of an input 
4248string where the resulting output string is of zero length. It now correctly 
4249returns a valid, null terminated string object instead of a string object 
4250with a null pointer.
4251
4252Fixed a problem with the control method argument handling to allow a store 
4253to an Arg object that already contains an object of type Device. The Device 
4254object is now correctly overwritten. Previously, an error was returned.
4255
4256
4257Enhanced the debugger Find command to emit object values in addition to the 
4258found object pathnames. The output format is the same as the dump namespace 
4259command.
4260
4261Enhanced the debugger Set command. It now has the ability to set the value 
4262of any Named integer object in the namespace (Previously, only method locals 
4263and args could be set.)
4264
4265Code and Data Size: Current and previous core subsystem library sizes are 
4266shown below. These are the code and data sizes for the acpica.lib produced 
4267by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4268any ACPI driver or OSPM code. The debug version of the code includes the 
4269debug output trace mechanism and has a much larger code and data size. Note 
4270that these values will vary depending on the efficiency of the compiler and 
4271the compiler options used during generation.
4272
4273  Previous Release:
4274    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4275    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4276  Current Release:
4277    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4278    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4279
4280
42812) iASL Compiler/Disassembler:
4282
4283Fixed a regression in the disassembler where if/else/while constructs were 
4284output incorrectly. This problem was introduced in the previous release 
4285(20050526). This problem also affected the single-step disassembly in the 
4286debugger.
4287
4288Fixed a problem where compiling the reserved _OSI method would randomly (but 
4289rarely) produce compile errors.
4290
4291Enhanced the disassembler to emit compilable code in the face of incorrect 
4292AML resource descriptors. If the optional ResourceSourceIndex is present, 
4293but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
4294disassembly. Otherwise, the resulting code cannot be compiled without 
4295errors.
4296
4297----------------------------------------
429826 May 2005.  Summary of changes for version 20050526:
4299
43001) ACPI CA Core Subsystem:
4301
4302Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
4303the module level (not within a control method.) These opcodes are executed 
4304exactly once at the time the table is loaded. This type of code was legal up 
4305until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
4306order to provide backwards compatibility with earlier BIOS implementations. 
4307This eliminates the "Encountered executable code at module level" warning 
4308that was previously generated upon detection of such code.
4309
4310Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
4311inadvertently be generated during the lookup of namespace objects in the 
4312second pass parse of ACPI tables and control methods. It appears that this 
4313problem could occur during the resolution of forward references to namespace 
4314objects.
4315
4316Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
4317corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
4318allows the deadlock detection debug code to be compiled out in the normal 
4319case, improving mutex performance (and overall subsystem performance) 
4320considerably.
4321
4322Implemented a handful of miscellaneous fixes for possible memory leaks on 
4323error conditions and error handling control paths. These fixes were 
4324suggested by FreeBSD and the Coverity Prevent source code analysis tool.
4325
4326Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
4327to prevent a fault in this error case.
4328
4329Code and Data Size: Current and previous core subsystem library sizes are 
4330shown below. These are the code and data sizes for the acpica.lib produced 
4331by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4332any ACPI driver or OSPM code. The debug version of the code includes the 
4333debug output trace mechanism and has a much larger code and data size. Note 
4334that these values will vary depending on the efficiency of the compiler and 
4335the compiler options used during generation.
4336
4337  Previous Release:
4338    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4339    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4340  Current Release:
4341    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4342    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4343
4344
43452) iASL Compiler/Disassembler:
4346
4347Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
4348the module level (not within a control method.) These operators will be 
4349executed once at the time the table is loaded. This type of code was legal 
4350up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
4351compiler in order to provide backwards compatibility with earlier BIOS ASL 
4352code.
4353
4354The ACPI integer width (specified via the table revision ID or the -r 
4355override, 32 or 64 bits) is now used internally during compile-time constant 
4356folding to ensure that constants are truncated to 32 bits if necessary. 
4357Previously, the revision ID value was only emitted in the AML table header.
4358
4359An error message is now generated for the Mutex and Method operators if the 
4360SyncLevel parameter is outside the legal range of 0 through 15.
4361
4362Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
43633.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
4364The actual underlying implementation of method argument typechecking is 
4365still under development, however.
4366
4367----------------------------------------
436813 May 2005.  Summary of changes for version 20050513:
4369
43701) ACPI CA Core Subsystem:
4371
4372Implemented support for PCI Express root bridges -- added support for device 
4373PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
4374
4375The interpreter now automatically truncates incoming 64-bit constants to 32 
4376bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
4377also affects the iASL compiler constant folding. (Note: as per below, the 
4378iASL compiler no longer allows 64-bit constants within 32-bit tables.)
4379
4380Fixed a problem where string and buffer objects with "static" pointers 
4381(pointers to initialization data within an ACPI table) were not handled 
4382consistently. The internal object copy operation now always copies the data 
4383to a newly allocated buffer, regardless of whether the source object is 
4384static or not.
4385
4386Fixed a problem with the FromBCD operator where an implicit result 
4387conversion was improperly performed while storing the result to the target 
4388operand. Since this is an "explicit conversion" operator, the implicit 
4389conversion should never be performed on the output.
4390
4391Fixed a problem with the CopyObject operator where a copy to an existing 
4392named object did not always completely overwrite the existing object stored 
4393at name. Specifically, a buffer-to-buffer copy did not delete the existing 
4394buffer.
4395
4396Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
4397structs for consistency.
4398
4399Code and Data Size: Current and previous core subsystem library sizes are 
4400shown below. These are the code and data sizes for the acpica.lib produced 
4401by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4402any ACPI driver or OSPM code. The debug version of the code includes the 
4403debug output trace mechanism and has a much larger code and data size. Note 
4404that these values will vary depending on the efficiency of the compiler and 
4405the compiler options used during generation.
4406
4407  Previous Release:
4408    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4409    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4410  Current Release: (Same sizes)
4411    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4412    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4413
4414
44152) iASL Compiler/Disassembler:
4416
4417The compiler now emits a warning if an attempt is made to generate a 64-bit 
4418integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
4419is truncated to 32 bits.
4420
4421Fixed a problem with large package objects: if the static length of the 
4422package is greater than 255, the "variable length package" opcode is 
4423emitted. Previously, this caused an error. This requires an update to the 
4424ACPI spec, since it currently (incorrectly) states that packages larger than 
4425255 elements are not allowed.
4426
4427The disassembler now correctly handles variable length packages and packages 
4428larger than 255 elements.
4429
4430----------------------------------------
443108 April 2005.  Summary of changes for version 20050408:
4432
44331) ACPI CA Core Subsystem:
4434
4435Fixed three cases in the interpreter where an "index" argument to an ASL 
4436function was still (internally) 32 bits instead of the required 64 bits. 
4437This was the Index argument to the Index, Mid, and Match operators.
4438
4439The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
4440not a POSIX-defined function and not present in most kernel-level C 
4441libraries. All references to the C library strupr function have been removed 
4442from the headers.
4443
4444Completed the deployment of static functions/prototypes. All prototypes with 
4445the static attribute have been moved from the headers to the owning C file.
4446
4447Implemented an extract option (-e) for the AcpiBin utility (AML binary 
4448utility). This option allows the utility to extract individual ACPI tables 
4449from the output of AcpiDmp. It provides the same functionality of the 
4450acpixtract.pl perl script without the worry of setting the correct perl 
4451options. AcpiBin runs on Windows and has not yet been generated/validated in 
4452the Linux/Unix environment (but should be soon).
4453 
4454Updated and fixed the table dump option for AcpiBin (-d). This option 
4455converts a single ACPI table to a hex/ascii file, similar to the output of 
4456AcpiDmp.
4457
4458Code and Data Size: Current and previous core subsystem library sizes are 
4459shown below. These are the code and data sizes for the acpica.lib produced 
4460by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4461any ACPI driver or OSPM code. The debug version of the code includes the 
4462debug output trace mechanism and has a much larger code and data size. Note 
4463that these values will vary depending on the efficiency of the compiler and 
4464the compiler options used during generation.
4465
4466  Previous Release:
4467    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
4468    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
4469  Current Release:
4470    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4471    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4472
4473
44742) iASL Compiler/Disassembler:
4475
4476Disassembler fix: Added a check to ensure that the table length found in the 
4477ACPI table header within the input file is not longer than the actual input 
4478file size. This indicates some kind of file or table corruption.
4479
4480----------------------------------------
448129 March 2005.  Summary of changes for version 20050329:
4482
44831) ACPI CA Core Subsystem:
4484
4485An error is now generated if an attempt is made to create a Buffer Field of 
4486length zero (A CreateField with a length operand of zero.)
4487
4488The interpreter now issues a warning whenever executable code at the module 
4489level is detected during ACPI table load. This will give some idea of the 
4490prevalence of this type of code.
4491
4492Implemented support for references to named objects (other than control 
4493methods) within package objects.
4494
4495Enhanced package object output for the debug object. Package objects are now 
4496completely dumped, showing all elements.
4497
4498Enhanced miscellaneous object output for the debug object. Any object can 
4499now be written to the debug object (for example, a device object can be 
4500written, and the type of the object will be displayed.)
4501
4502The "static" qualifier has been added to all local functions across both the 
4503core subsystem and the iASL compiler.
4504
4505The number of "long" lines (> 80 chars) within the source has been 
4506significantly reduced, by about 1/3.
4507
4508Cleaned up all header files to ensure that all CA/iASL functions are 
4509prototyped (even static functions) and the formatting is consistent.
4510
4511Two new header files have been added, acopcode.h and acnames.h.
4512
4513Removed several obsolete functions that were no longer used.
4514
4515Code and Data Size: Current and previous core subsystem library sizes are 
4516shown below. These are the code and data sizes for the acpica.lib produced 
4517by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4518any ACPI driver or OSPM code. The debug version of the code includes the 
4519debug output trace mechanism and has a much larger code and data size. Note 
4520that these values will vary depending on the efficiency of the compiler and 
4521the compiler options used during generation.
4522
4523  Previous Release:
4524    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4525    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
4526  Current Release:
4527    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
4528    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
4529
4530
4531
45322) iASL Compiler/Disassembler:
4533
4534Fixed a problem with the resource descriptor generation/support. For the 
4535ResourceSourceIndex and the ResourceSource fields, both must be present, or 
4536both must be not present - can't have one without the other.
4537
4538The compiler now returns non-zero from the main procedure if any errors have 
4539occurred during the compilation.
4540
4541
4542----------------------------------------
454309 March 2005.  Summary of changes for version 20050309:
4544
45451) ACPI CA Core Subsystem:
4546
4547The string-to-buffer implicit conversion code has been modified again after 
4548a change to the ACPI specification.  In order to match the behavior of the 
4549other major ACPI implementation, the target buffer is no longer truncated if 
4550the source string is smaller than an existing target buffer. This change 
4551requires an update to the ACPI spec, and should eliminate the recent 
4552AE_AML_BUFFER_LIMIT issues.
4553
4554The "implicit return" support was rewritten to a new algorithm that solves 
4555the general case. Rather than attempt to determine when a method is about to 
4556exit, the result of every ASL operator is saved momentarily until the very 
4557next ASL operator is executed. Therefore, no matter how the method exits, 
4558there will always be a saved implicit return value. This feature is only 
4559enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
4560AE_AML_NO_RETURN_VALUE errors when enabled.
4561
4562Implemented implicit conversion support for the predicate (operand) of the 
4563If, Else, and While operators. String and Buffer arguments are automatically 
4564converted to Integers.
4565
4566Changed the string-to-integer conversion behavior to match the new ACPI 
4567errata: "If no integer object exists, a new integer is created. The ASCII 
4568string is interpreted as a hexadecimal constant. Each string character is 
4569interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
4570with the first character as the most significant digit, and ending with the 
4571first non-hexadecimal character or end-of-string." This means that the first 
4572non-hex character terminates the conversion and this is the code that was 
4573changed.
4574
4575Fixed a problem where the ObjectType operator would fail (fault) when used 
4576on an Index of a Package which pointed to a null package element. The 
4577operator now properly returns zero (Uninitialized) in this case.
4578
4579Fixed a problem where the While operator used excessive memory by not 
4580properly popping the result stack during execution. There was no memory leak 
4581after execution, however. (Code provided by Valery Podrezov.)
4582
4583Fixed a problem where references to control methods within Package objects 
4584caused the method to be invoked, instead of producing a reference object 
4585pointing to the method.
4586
4587Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
4588improve performance and reduce code size. (Code provided by Alexey 
4589Starikovskiy.)
4590
4591Code and Data Size: Current and previous core subsystem library sizes are 
4592shown below. These are the code and data sizes for the acpica.lib produced 
4593by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4594any ACPI driver or OSPM code. The debug version of the code includes the 
4595debug output trace mechanism and has a much larger code and data size. Note 
4596that these values will vary depending on the efficiency of the compiler and 
4597the compiler options used during generation.
4598
4599  Previous Release:
4600    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4601    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
4602  Current Release:
4603    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4604    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
4605
4606
46072) iASL Compiler/Disassembler:
4608
4609Fixed a problem with the Return operator with no arguments. Since the AML 
4610grammar for the byte encoding requires an operand for the Return opcode, the 
4611compiler now emits a Return(Zero) for this case.  An ACPI specification 
4612update has been written for this case.
4613
4614For tables other than the DSDT, namepath optimization is automatically 
4615disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
4616compiler has no knowledge of where, and thus cannot optimize namepaths.
4617
4618Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
4619inadvertently omitted from the ACPI specification, and will require an 
4620update to the spec.
4621
4622The source file scan for ASCII characters is now optional (-a). This change 
4623was made because some vendors place non-ascii characters within comments. 
4624However, the scan is simply a brute-force byte compare to ensure all 
4625characters in the file are in the range 0x00 to 0x7F.
4626
4627Fixed a problem with the CondRefOf operator where the compiler was 
4628inappropriately checking for the existence of the target. Since the point of 
4629the operator is to check for the existence of the target at run-time, the 
4630compiler no longer checks for the target existence.
4631
4632Fixed a problem where errors generated from the internal AML interpreter 
4633during constant folding were not handled properly, causing a fault.
4634
4635Fixed a problem with overly aggressive range checking for the Stall 
4636operator. The valid range (max 255) is now only checked if the operand is of 
4637type Integer. All other operand types cannot be statically checked.
4638
4639Fixed a problem where control method references within the RefOf, DeRefOf, 
4640and ObjectType operators were not treated properly. They are now treated as 
4641actual references, not method invocations.
4642
4643Fixed and enhanced the "list namespace" option (-ln). This option was broken 
4644a number of releases ago.
4645
4646Improved error handling for the Field, IndexField, and BankField operators. 
4647The compiler now cleanly reports and recovers from errors in the field 
4648component (FieldUnit) list.
4649
4650Fixed a disassembler problem where the optional ResourceDescriptor fields 
4651TRS and TTP were not always handled correctly.
4652
4653Disassembler - Comments in output now use "//" instead of "/*"
4654
4655----------------------------------------
465628 February 2005.  Summary of changes for version 20050228:
4657
46581) ACPI CA Core Subsystem:
4659
4660Fixed a problem where the result of an Index() operator (an object 
4661reference) must increment the reference count on the target object for the 
4662life of the object reference.
4663
4664Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
4665Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
4666resource descriptors.
4667
4668Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
4669Space Descriptor" string, indicating interpreter support for the descriptors 
4670above.
4671
4672Implemented header support for the new ACPI 3.0 FADT flag bits.
4673
4674Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
4675status/enable registers.
4676
4677Updated header support for the MADT processor local Apic struct and MADT 
4678platform interrupt source struct for new ACPI 3.0 fields.
4679
4680Implemented header support for the SRAT and SLIT ACPI tables.
4681
4682Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
4683at runtime.
4684
4685Code and Data Size: Current and previous core subsystem library sizes are 
4686shown below. These are the code and data sizes for the acpica.lib produced 
4687by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4688any ACPI driver or OSPM code. The debug version of the code includes the 
4689debug output trace mechanism and has a much larger code and data size. Note 
4690that these values will vary depending on the efficiency of the compiler and 
4691the compiler options used during generation.
4692
4693  Previous Release:
4694    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
4695    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
4696  Current Release:
4697    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
4698    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
4699
4700
47012) iASL Compiler/Disassembler:
4702
4703Fixed a problem with the internal 64-bit String-to-integer conversion with 
4704strings less than two characters long.
4705
4706Fixed a problem with constant folding where the result of the Index() 
4707operator can not be considered a constant. This means that Index() cannot be 
4708a type3 opcode and this will require an update to the ACPI specification.
4709
4710Disassembler: Implemented support for the TTP, MTP, and TRS resource 
4711descriptor fields. These fields were inadvertently ignored and not output in 
4712the disassembly of the resource descriptor.
4713
4714
4715 ----------------------------------------
471611 February 2005.  Summary of changes for version 20050211:
4717
47181) ACPI CA Core Subsystem:
4719
4720Implemented ACPI 3.0 support for implicit conversion within the Match() 
4721operator. MatchObjects can now be of type integer, buffer, or string instead 
4722of just type integer.  Package elements are implicitly converted to the type 
4723of the MatchObject. This change aligns the behavior of Match() with the 
4724behavior of the other logical operators (LLess(), etc.) It also requires an 
4725errata change to the ACPI specification as this support was intended for 
4726ACPI 3.0, but was inadvertently omitted.
4727
4728Fixed a problem with the internal implicit "to buffer" conversion. Strings 
4729that are converted to buffers will cause buffer truncation if the string is 
4730smaller than the target buffer. Integers that are converted to buffers will 
4731not cause buffer truncation, only zero extension (both as per the ACPI 
4732spec.) The problem was introduced when code was added to truncate the 
4733buffer, but this should not be performed in all cases, only the string case.
4734
4735Fixed a problem with the Buffer and Package operators where the interpreter 
4736would get confused if two such operators were used as operands to an ASL 
4737operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
4738stack was not being popped after the execution of these operators, resulting 
4739in an AE_NO_RETURN_VALUE exception.
4740
4741Fixed a problem with constructs of the form Store(Index(...),...). The 
4742reference object returned from Index was inadvertently resolved to an actual 
4743value. This problem was introduced in version 20050114 when the behavior of 
4744Store() was modified to restrict the object types that can be used as the 
4745source operand (to match the ACPI specification.)
4746
4747Reduced excessive stack use within the AcpiGetObjectInfo procedure.
4748
4749Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
4750
4751Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
4752
4753Code and Data Size: Current and previous core subsystem library sizes are 
4754shown below. These are the code and data sizes for the acpica.lib produced 
4755by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4756any ACPI driver or OSPM code. The debug version of the code includes the 
4757debug output trace mechanism and has a much larger code and data size. Note 
4758that these values will vary depending on the efficiency of the compiler and 
4759the compiler options used during generation.
4760
4761  Previous Release:
4762    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
4763    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
4764  Current Release:
4765    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
4766    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
4767
4768
47692) iASL Compiler/Disassembler:
4770
4771Fixed a code generation problem in the constant folding optimization code 
4772where incorrect code was generated if a constant was reduced to a buffer 
4773object (i.e., a reduced type 5 opcode.)
4774
4775Fixed a typechecking problem for the ToBuffer operator. Caused by an 
4776incorrect return type in the internal opcode information table.
4777
4778----------------------------------------
477925 January 2005.  Summary of changes for version 20050125:
4780
47811) ACPI CA Core Subsystem:
4782
4783Fixed a recently introduced problem with the Global Lock where the 
4784underlying semaphore was not created.  This problem was introduced in 
4785version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
4786Acquire() operation on _GL.
4787
4788The local object cache is now optional, and is disabled by default. Both 
4789AcpiExec and the iASL compiler enable the cache because they run in user 
4790mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
4791to enable the local cache.
4792
4793Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
4794optional "implicit return" support where an error was returned if no return 
4795object was expected, but one was implicitly returned. AE_OK is now returned 
4796in this case and the implicitly returned object is deleted. 
4797AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
4798methods such as _STA and _INI where the return type is known up front.
4799
4800Fixed a few issues with the internal convert-to-integer code. It now returns 
4801an error if an attempt is made to convert a null string, a string of only 
4802blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
4803and explicit conversion via the ToInteger() operator.
4804
4805The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
4806not needed for normal operation and should increase the performance of the 
4807entire subsystem. The code remains in case it is needed for debug purposes 
4808again.
4809
4810The AcpiExec source and makefile are included in the Unix/Linux package for 
4811the first time.
4812
4813Code and Data Size: Current and previous core subsystem library sizes are 
4814shown below. These are the code and data sizes for the acpica.lib produced 
4815by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4816any ACPI driver or OSPM code. The debug version of the code includes the 
4817debug output trace mechanism and has a much larger code and data size. Note 
4818that these values will vary depending on the efficiency of the compiler and 
4819the compiler options used during generation.
4820
4821  Previous Release:
4822    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
4823    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
4824  Current Release:
4825    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
4826    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
4827
48282) iASL Compiler/Disassembler:
4829
4830Switch/Case support: A warning is now issued if the type of the Switch value 
4831cannot be determined at compile time. For example, Switch(Arg0) will 
4832generate the warning, and the type is assumed to be an integer. As per the 
4833ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
4834warning.
4835
4836Switch/Case support: Implemented support for buffer and string objects as 
4837the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
4838buffers and strings.
4839
4840Switch/Case support: The emitted code for the LEqual() comparisons now uses 
4841the switch value as the first operand, not the second. The case value is now 
4842the second operand, and this allows the case value to be implicitly 
4843converted to the type of the switch value, not the other way around.
4844
4845Switch/Case support: Temporary variables are now emitted immediately within 
4846the control method, not at the global level. This means that there are now 
484736 temps available per-method, not 36 temps per-module as was the case with 
4848the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
4849
4850----------------------------------------
485114 January 2005.  Summary of changes for version 20050114:
4852
4853Added 2005 copyright to all module headers.  This affects every module in 
4854the core subsystem, iASL compiler, and the utilities.
4855
48561) ACPI CA Core Subsystem:
4857
4858Fixed an issue with the String-to-Buffer conversion code where the string 
4859null terminator was not included in the buffer after conversion, but there 
4860is existing ASL that assumes the string null terminator is included. This is 
4861the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
4862introduced in the previous version when the code was updated to correctly 
4863set the converted buffer size as per the ACPI specification. The ACPI spec 
4864is ambiguous and will be updated to specify that the null terminator must be 
4865included in the converted buffer. This also affects the ToBuffer() ASL 
4866operator.
4867
4868Fixed a problem with the Mid() ASL/AML operator where it did not work 
4869correctly on Buffer objects. Newly created sub-buffers were not being marked 
4870as initialized.
4871
4872
4873Fixed a problem in AcpiTbFindTable where incorrect string compares were 
4874performed on the OemId and OemTableId table header fields.  These fields are 
4875not null terminated, so strncmp is now used instead of strcmp.
4876
4877Implemented a restriction on the Store() ASL/AML operator to align the 
4878behavior with the ACPI specification.  Previously, any object could be used 
4879as the source operand.  Now, the only objects that may be used are Integers, 
4880Buffers, Strings, Packages, Object References, and DDB Handles.  If 
4881necessary, the original behavior can be restored by enabling the 
4882EnableInterpreterSlack flag.
4883
4884Enhanced the optional "implicit return" support to allow an implicit return 
4885value from methods that are invoked externally via the AcpiEvaluateObject 
4886interface.  This enables implicit returns from the _STA and _INI methods, 
4887for example.
4888
4889Changed the Revision() ASL/AML operator to return the current version of the 
4890AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
4891the supported ACPI version (This is the function of the _REV method).
4892
4893Updated the _REV predefined method to return the currently supported version 
4894of ACPI, now 3.
4895
4896Implemented batch mode option for the AcpiExec utility (-b).
4897
4898Code and Data Size: Current and previous core subsystem library sizes are 
4899shown below. These are the code and data sizes for the acpica.lib produced 
4900by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4901any ACPI driver or OSPM code. The debug version of the code includes the 
4902debug output trace mechanism and has a much larger code and data size. Note 
4903that these values will vary depending on the efficiency of the compiler and 
4904the compiler options used during generation.
4905
4906  Previous Release:
4907    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
4908    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
4909  Current Release:
4910    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
4911    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
4912
4913----------------------------------------
491410 December 2004.  Summary of changes for version 20041210:
4915
4916ACPI 3.0 support is nearing completion in both the iASL compiler and the 
4917ACPI CA core subsystem.
4918
49191) ACPI CA Core Subsystem:
4920
4921Fixed a problem in the ToDecimalString operator where the resulting string 
4922length was incorrectly calculated. The length is now calculated exactly, 
4923eliminating incorrect AE_STRING_LIMIT exceptions.
4924
4925Fixed a problem in the ToHexString operator to allow a maximum 200 character 
4926string to be produced.
4927
4928Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
4929routine where the length of the resulting buffer was not truncated to the 
4930new size (if the target buffer already existed).
4931
4932Code and Data Size: Current and previous core subsystem library sizes are 
4933shown below. These are the code and data sizes for the acpica.lib produced 
4934by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4935any ACPI driver or OSPM code. The debug version of the code includes the 
4936debug output trace mechanism and has a much larger code and data size. Note 
4937that these values will vary depending on the efficiency of the compiler and 
4938the compiler options used during generation.
4939
4940  Previous Release:
4941    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
4942    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
4943  Current Release:
4944    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
4945    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
4946
4947
49482) iASL Compiler/Disassembler:
4949
4950Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
4951ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
4952Includes support in the disassembler.
4953
4954Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
4955AccessSize.
4956
4957Fixed a problem where the _HE resource name for the Interrupt macro was 
4958referencing bit 0 instead of bit 1.
4959
4960Implemented check for maximum 255 interrupts in the Interrupt macro.
4961
4962Fixed a problem with the predefined resource descriptor names where 
4963incorrect AML code was generated if the offset within the resource buffer 
4964was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
4965but did not update the surrounding package lengths.
4966
4967Changes to the Dma macro:  All channels within the channel list must be in 
4968the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
4969optional (default is BusMaster).
4970
4971Implemented check for maximum 7 data bytes for the VendorShort macro.
4972
4973The ReadWrite parameter is now optional for the Memory32 and similar macros.
4974
4975----------------------------------------
497603 December 2004.  Summary of changes for version 20041203:
4977
49781) ACPI CA Core Subsystem:
4979
4980The low-level field insertion/extraction code (exfldio) has been completely 
4981rewritten to eliminate unnecessary complexity, bugs, and boundary 
4982conditions.
4983
4984Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
4985operators where the input operand could be inadvertently deleted if no 
4986conversion was necessary (e.g., if the input to ToInteger was an Integer 
4987object.)
4988
4989Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
4990exception code was returned if the resulting string would be > 200 chars.  
4991AE_STRING_LIMIT is now returned.
4992
4993Fixed a problem with the Concatenate operator where AE_OK was always 
4994returned, even if the operation failed.
4995
4996Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
4997semaphores to be allocated.
4998
4999Code and Data Size: Current and previous core subsystem library sizes are 
5000shown below. These are the code and data sizes for the acpica.lib produced 
5001by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5002any ACPI driver or OSPM code. The debug version of the code includes the 
5003debug output trace mechanism and has a much larger code and data size. Note 
5004that these values will vary depending on the efficiency of the compiler and 
5005the compiler options used during generation.
5006
5007  Previous Release:
5008    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5009    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5010  Current Release:
5011    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5012    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5013
5014
50152) iASL Compiler/Disassembler:
5016
5017Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
5018recently introduced in 20041119.
5019
5020Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
5021byte was inadvertently set to zero.
5022
5023----------------------------------------
502419 November 2004.  Summary of changes for version 20041119:
5025
50261) ACPI CA Core Subsystem:
5027
5028Fixed a problem in the internal ConvertToInteger routine where new integers 
5029were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
5030buffers and strings to integers.
5031
5032Implemented support to store a value to an Index() on a String object. This 
5033is an ACPI 2.0 feature that had not yet been implemented.
5034
5035Implemented new behavior for storing objects to individual package elements 
5036(via the Index() operator). The previous behavior was to invoke the implicit 
5037conversion rules if an object was already present at the index.  The new 
5038behavior is to simply delete any existing object and directly store the new 
5039object. Although the ACPI specification seems unclear on this subject, other 
5040ACPI implementations behave in this manner.  (This is the root of the 
5041AE_BAD_HEX_CONSTANT issue.)
5042
5043Modified the RSDP memory scan mechanism to support the extended checksum for 
5044ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
5045RSDP signature is found with a valid checksum.
5046
5047Code and Data Size: Current and previous core subsystem library sizes are 
5048shown below. These are the code and data sizes for the acpica.lib produced 
5049by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5050any ACPI driver or OSPM code. The debug version of the code includes the 
5051debug output trace mechanism and has a much larger code and data size. Note 
5052that these values will vary depending on the efficiency of the compiler and 
5053the compiler options used during generation.
5054
5055  Previous Release:
5056    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5057    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5058  Current Release:
5059    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5060    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5061
5062
50632) iASL Compiler/Disassembler:
5064
5065Fixed a missing semicolon in the aslcompiler.y file.
5066
5067----------------------------------------
506805 November 2004.  Summary of changes for version 20041105:
5069
50701) ACPI CA Core Subsystem:
5071
5072Implemented support for FADT revision 2.  This was an interim table (between 
5073ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
5074
5075Implemented optional support to allow uninitialized LocalX and ArgX 
5076variables in a control method.  The variables are initialized to an Integer 
5077object with a value of zero.  This support is enabled by setting the 
5078AcpiGbl_EnableInterpreterSlack flag to TRUE.
5079
5080Implemented support for Integer objects for the SizeOf operator.  Either 4 
5081or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
5082depending on the parent table revision).
5083
5084Fixed a problem in the implementation of the SizeOf and ObjectType operators 
5085where the operand was resolved to a value too early, causing incorrect 
5086return values for some objects.
5087
5088Fixed some possible memory leaks during exceptional conditions.
5089
5090Code and Data Size: Current and previous core subsystem library sizes are 
5091shown below. These are the code and data sizes for the acpica.lib produced 
5092by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5093any ACPI driver or OSPM code. The debug version of the code includes the 
5094debug output trace mechanism and has a much larger code and data size. Note 
5095that these values will vary depending on the efficiency of the compiler and 
5096the compiler options used during generation.
5097
5098  Previous Release:
5099    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5100    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5101  Current Release:
5102    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5103    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5104
5105
51062) iASL Compiler/Disassembler:
5107
5108Implemented support for all ACPI 3.0 reserved names and methods.
5109
5110Implemented all ACPI 3.0 grammar elements in the front-end, including 
5111support for semicolons.
5112
5113Implemented the ACPI 3.0 Function() and ToUUID() macros
5114
5115Fixed a problem in the disassembler where a Scope() operator would not be 
5116emitted properly if the target of the scope was in another table.
5117
5118----------------------------------------
511915 October 2004.  Summary of changes for version 20041015:
5120
5121Note:  ACPI CA is currently undergoing an in-depth and complete formal 
5122evaluation to test/verify the following areas. Other suggestions are 
5123welcome. This will result in an increase in the frequency of releases and 
5124the number of bug fixes in the next few months.
5125  - Functional tests for all ASL/AML operators
5126  - All implicit/explicit type conversions
5127  - Bit fields and operation regions
5128  - 64-bit math support and 32-bit-only "truncated" math support
5129  - Exceptional conditions, both compiler and interpreter
5130  - Dynamic object deletion and memory leaks
5131  - ACPI 3.0 support when implemented
5132  - External interfaces to the ACPI subsystem
5133
5134
51351) ACPI CA Core Subsystem:
5136
5137Fixed two alignment issues on 64-bit platforms - within debug statements in 
5138AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
5139field within the non-aligned ACPI generic address structure.
5140
5141Fixed a problem in the Increment and Decrement operators where incorrect 
5142operand resolution could result in the inadvertent modification of the 
5143original integer when the integer is passed into another method as an 
5144argument and the arg is then incremented/decremented.
5145
5146Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
5147BCD number were truncated during conversion.
5148
5149Fixed a problem in the ToDecimal operator where the length of the resulting 
5150string could be set incorrectly too long if the input operand was a Buffer 
5151object.
5152
5153Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
5154within a buffer would prematurely terminate a compare between buffer 
5155objects.
5156
5157Added a check for string overflow (>200 characters as per the ACPI 
5158specification) during the Concatenate operator with two string operands.
5159
5160Code and Data Size: Current and previous core subsystem library sizes are 
5161shown below. These are the code and data sizes for the acpica.lib produced 
5162by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5163any ACPI driver or OSPM code. The debug version of the code includes the 
5164debug output trace mechanism and has a much larger code and data size. Note 
5165that these values will vary depending on the efficiency of the compiler and 
5166the compiler options used during generation.
5167
5168  Previous Release:
5169    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5170    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5171  Current Release:
5172    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5173    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5174
5175
5176
51772) iASL Compiler/Disassembler:
5178
5179Allow the use of the ObjectType operator on uninitialized Locals and Args 
5180(returns 0 as per the ACPI specification).
5181
5182Fixed a problem where the compiler would fault if there was a syntax error 
5183in the FieldName of all of the various CreateXXXField operators.
5184
5185Disallow the use of lower case letters within the EISAID macro, as per the 
5186ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
5187U is an uppercase letter and N is a hex digit.
5188
5189
5190----------------------------------------
519106 October 2004.  Summary of changes for version 20041006:
5192
51931) ACPI CA Core Subsystem:
5194
5195Implemented support for the ACPI 3.0 Timer operator. This ASL function 
5196implements a 64-bit timer with 100 nanosecond granularity.
5197
5198Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
5199implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
5200the timer with the best clock available. Also, it keeps the core subsystem 
5201out of the clock handling business, since the host OS (usually) performs 
5202this function.
5203
5204Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
5205functions use a 64-bit address which is part of the packed ACPI Generic 
5206Address Structure. Since the structure is non-aligned, the alignment macros 
5207are now used to extract the address to a local variable before use.
5208
5209Fixed a problem where the ToInteger operator assumed all input strings were 
5210hexadecimal. The operator now handles both decimal strings and hex strings 
5211(prefixed with "0x").
5212
5213Fixed a problem where the string length in the string object created as a 
5214result of the internal ConvertToString procedure could be incorrect. This 
5215potentially affected all implicit conversions and also the ToDecimalString 
5216and ToHexString operators.
5217
5218Fixed two problems in the ToString operator. If the length parameter was 
5219zero, an incorrect string object was created and the value of the input 
5220length parameter was inadvertently changed from zero to Ones.
5221
5222Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
5223resource macro was ignored.
5224
5225Simplified the interfaces to the internal division functions, reducing code 
5226size and complexity.
5227
5228Code and Data Size: Current and previous core subsystem library sizes are 
5229shown below. These are the code and data sizes for the acpica.lib produced 
5230by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5231any ACPI driver or OSPM code. The debug version of the code includes the 
5232debug output trace mechanism and has a much larger code and data size. Note 
5233that these values will vary depending on the efficiency of the compiler and 
5234the compiler options used during generation.
5235
5236  Previous Release:
5237    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5238    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5239  Current Release:
5240    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5241    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5242
5243
52442) iASL Compiler/Disassembler:
5245
5246Implemented support for the ACPI 3.0 Timer operator.
5247
5248Fixed a problem where the Default() operator was inadvertently ignored in a 
5249Switch/Case block.  This was a problem in the translation of the Switch 
5250statement to If...Else pairs.
5251
5252Added support to allow a standalone Return operator, with no parentheses (or 
5253operands).
5254
5255Fixed a problem with code generation for the ElseIf operator where the 
5256translated Else...If parse tree was improperly constructed leading to the 
5257loss of some code.
5258
5259----------------------------------------
526022 September 2004.  Summary of changes for version 20040922:
5261
52621) ACPI CA Core Subsystem:
5263
5264Fixed a problem with the implementation of the LNot() operator where "Ones" 
5265was not returned for the TRUE case. Changed the code to return Ones instead 
5266of (!Arg) which was usually 1. This change affects iASL constant folding for 
5267this operator also.
5268
5269Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
5270initialized properly -- Now zero the entire buffer in this case where the 
5271buffer already exists.
5272
5273Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
5274Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
5275related code considerably. This will require changes/updates to all OS 
5276interface layers (OSLs.)
5277
5278Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
5279a system exception handler to be installed. This handler is invoked upon any 
5280run-time exception that occurs during control method execution.
5281
5282Added support for the DSDT in AcpiTbFindTable. This allows the 
5283DataTableRegion() operator to access the local copy of the DSDT.
5284
5285Code and Data Size: Current and previous core subsystem library sizes are 
5286shown below. These are the code and data sizes for the acpica.lib produced 
5287by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5288any ACPI driver or OSPM code. The debug version of the code includes the 
5289debug output trace mechanism and has a much larger code and data size. Note 
5290that these values will vary depending on the efficiency of the compiler and 
5291the compiler options used during generation.
5292
5293  Previous Release:
5294    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5295    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5296  Current Release:
5297    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5298    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5299
5300
53012) iASL Compiler/Disassembler:
5302
5303Fixed a problem with constant folding and the LNot operator. LNot was 
5304returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
5305could result in the generation of an incorrect folded/reduced constant.
5306
5307End-Of-File is now allowed within a "//"-style comment.  A parse error no 
5308longer occurs if such a comment is at the very end of the input ASL source 
5309file.
5310
5311Implemented the "-r" option to override the Revision in the table header. 
5312The initial use of this option will be to simplify the evaluation of the AML 
5313interpreter by allowing a single ASL source module to be compiled for either 
531432-bit or 64-bit integers.
5315
5316
5317----------------------------------------
531827 August 2004.  Summary of changes for version 20040827:
5319
53201) ACPI CA Core Subsystem:
5321
5322- Implemented support for implicit object conversion in the non-numeric 
5323logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
5324LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
5325the second operand is implicitly converted on the fly to match the type of 
5326the first operand.  For example:
5327
5328    LEqual (Source1, Source2)
5329
5330Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
5331The data type of Source1 dictates the required type of Source2. Source2 is 
5332implicitly converted if necessary to match the type of Source1.
5333
5334- Updated and corrected the behavior of the string conversion support.  The 
5335rules concerning conversion of buffers to strings (according to the ACPI 
5336specification) are as follows:
5337
5338ToDecimalString - explicit byte-wise conversion of buffer to string of 
5339decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
5340conversion of buffer to string of hex values (0-FF) separated by commas. 
5341ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
5342copy with no transform except NULL terminated. Any other implicit buffer-to-
5343string conversion - byte-wise conversion of buffer to string of hex values 
5344(0-FF) separated by spaces.
5345
5346- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
5347
5348- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
5349one byte too short in the case of a node in the root scope.  This could 
5350cause a fault during debug output.
5351
5352- Code and Data Size: Current and previous core subsystem library sizes are 
5353shown below.  These are the code and data sizes for the acpica.lib produced 
5354by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5355any ACPI driver or OSPM code.  The debug version of the code includes the 
5356debug output trace mechanism and has a much larger code and data size.  Note 
5357that these values will vary depending on the efficiency of the compiler and 
5358the compiler options used during generation.
5359
5360  Previous Release:
5361    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5362    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5363  Current Release:
5364    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5365    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5366
5367
53682) iASL Compiler/Disassembler:
5369
5370- Fixed a Linux generation error.
5371
5372
5373----------------------------------------
537416 August 2004.  Summary of changes for version 20040816:
5375
53761) ACPI CA Core Subsystem:
5377
5378Designed and implemented support within the AML interpreter for the so-
5379called "implicit return".  This support returns the result of the last ASL 
5380operation within a control method, in the absence of an explicit Return() 
5381operator.  A few machines depend on this behavior, even though it is not 
5382explicitly supported by the ASL language.  It is optional support that can 
5383be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
5384
5385Removed support for the PCI_Config address space from the internal low level 
5386hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
5387support was not used internally, and would not work correctly anyway because 
5388the PCI bus number and segment number were not supported.  There are 
5389separate interfaces for PCI configuration space access because of the unique 
5390interface.
5391
5392Code and Data Size: Current and previous core subsystem library sizes are 
5393shown below.  These are the code and data sizes for the acpica.lib produced 
5394by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5395any ACPI driver or OSPM code.  The debug version of the code includes the 
5396debug output trace mechanism and has a much larger code and data size.  Note 
5397that these values will vary depending on the efficiency of the compiler and 
5398the compiler options used during generation.
5399
5400  Previous Release:
5401    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5402    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
5403  Current Release:
5404    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5405    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5406
5407
54082) iASL Compiler/Disassembler:
5409
5410Fixed a problem where constants in ASL expressions at the root level (not 
5411within a control method) could be inadvertently truncated during code 
5412generation.  This problem was introduced in the 20040715 release.
5413
5414
5415----------------------------------------
541615 July 2004.  Summary of changes for version 20040715:
5417
54181) ACPI CA Core Subsystem:
5419
5420Restructured the internal HW GPE interfaces to pass/track the current state 
5421of interrupts (enabled/disabled) in order to avoid possible deadlock and 
5422increase flexibility of the interfaces.
5423
5424Implemented a "lexicographical compare" for String and Buffer objects within 
5425the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
5426as per further clarification to the ACPI specification.  Behavior is similar 
5427to C library "strcmp".
5428
5429Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
5430external function.  In the 32-bit non-debug case, the stack use has been 
5431reduced from 168 bytes to 32 bytes.
5432
5433Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
5434whose purpose is to allow the AML interpreter to forgive certain bad AML 
5435constructs.  Default setting is FALSE.
5436
5437Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
5438support code.  If enabled, it allows field access to go beyond the end of a 
5439region definition if the field is within the region length rounded up to the 
5440next access width boundary (a common coding error.)
5441
5442Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
5443ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
5444symbols are lowercased by the latest version of the AcpiSrc tool.
5445
5446The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
5447rename "Register" to simply "Reg" to prevent certain compilers from 
5448complaining.
5449
5450Code and Data Size: Current and previous core subsystem library sizes are 
5451shown below.  These are the code and data sizes for the acpica.lib produced 
5452by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5453any ACPI driver or OSPM code.  The debug version of the code includes the 
5454debug output trace mechanism and has a much larger code and data size.  Note 
5455that these values will vary depending on the efficiency of the compiler and 
5456the compiler options used during generation.
5457
5458  Previous Release:
5459    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5460    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
5461  Current Release:
5462    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5463    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
5464
5465
54662) iASL Compiler/Disassembler:
5467
5468Implemented full support for Package objects within the Case() operator.  
5469Note: The Break() operator is currently not supported within Case blocks 
5470(TermLists) as there is some question about backward compatibility with ACPI 
54711.0 interpreters.
5472
5473
5474Fixed a problem where complex terms were not supported properly within the 
5475Switch() operator.
5476
5477Eliminated extraneous warning for compiler-emitted reserved names of the 
5478form "_T_x".  (Used in Switch/Case operators.)
5479
5480Eliminated optimization messages for "_T_x" objects and small constants 
5481within the DefinitionBlock operator.
5482
5483
5484----------------------------------------
548515 June 2004.  Summary of changes for version 20040615:
5486
54871) ACPI CA Core Subsystem:
5488
5489Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
5490following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
5491LLessEqual.
5492
5493All directory names in the entire source package are lower case, as they 
5494were in earlier releases.
5495
5496Implemented "Disassemble" command in the AML debugger that will disassemble 
5497a single control method.
5498
5499Code and Data Size: Current and previous core subsystem library sizes are 
5500shown below.  These are the code and data sizes for the acpica.lib produced 
5501by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5502any ACPI driver or OSPM code.  The debug version of the code includes the 
5503debug output trace mechanism and has a much larger code and data size.  Note 
5504that these values will vary depending on the efficiency of the compiler and 
5505the compiler options used during generation.
5506
5507  Previous Release:
5508    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
5509    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
5510
5511  Current Release:
5512    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5513    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
5514
5515
55162) iASL Compiler/Disassembler:
5517
5518Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
5519following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
5520LLessEqual.
5521
5522All directory names in the entire source package are lower case, as they 
5523were in earlier releases.
5524
5525Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
5526not found.
5527
5528Fixed an issue with the Windows version of the compiler where later versions 
5529of Windows place the FADT in the registry under the name "FADT" and not 
5530"FACP" as earlier versions did.  This applies when using the -g or -
5531d<nofilename> options.  The compiler now looks for both strings as 
5532necessary.
5533
5534Fixed a problem with compiler namepath optimization where a namepath within 
5535the Scope() operator could not be optimized if the namepath was a subpath of 
5536the current scope path.
5537
5538----------------------------------------
553927 May 2004.  Summary of changes for version 20040527:
5540
55411) ACPI CA Core Subsystem:
5542
5543Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
5544support in the RSDP scan code.  The original code improperly scanned for the 
5545EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
5546is to first obtain the EBDA pointer from within the BIOS data area, then 
5547scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
5548any machines that place the RSDP in the EBDA, however.
5549
5550Integrated a fix for a possible fault during evaluation of BufferField 
5551arguments.  Obsolete code that was causing the problem was removed.
5552
5553Found and fixed a problem in the Field Support Code where data could be 
5554corrupted on a bit field read that starts on an aligned boundary but does 
5555not end on an aligned boundary.  Merged the read/write "datum length" 
5556calculation code into a common procedure.
5557
5558Rolled in a couple of changes to the FreeBSD-specific header.
5559
5560
5561Code and Data Size: Current and previous core subsystem library sizes are 
5562shown below.  These are the code and data sizes for the acpica.lib produced 
5563by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5564any ACPI driver or OSPM code.  The debug version of the code includes the 
5565debug output trace mechanism and has a much larger code and data size.  Note 
5566that these values will vary depending on the efficiency of the compiler and 
5567the compiler options used during generation.
5568
5569  Previous Release:
5570    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5571    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
5572  Current Release:
5573    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
5574    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
5575
5576
55772) iASL Compiler/Disassembler:
5578
5579Fixed a generation warning produced by some overly-verbose compilers for a 
558064-bit constant.
5581
5582----------------------------------------
558314 May 2004.  Summary of changes for version 20040514:
5584
55851) ACPI CA Core Subsystem:
5586
5587Fixed a problem where hardware GPE enable bits sometimes not set properly 
5588during and after GPE method execution.  Result of 04/27 changes.
5589
5590Removed extra "clear all GPEs" when sleeping/waking.
5591
5592Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
5593AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
5594the new AcpiEv* calls as appropriate.
5595
5596ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
5597now "Microsoft Windows NT" for maximum compatibility.  However this can be 
5598changed by modifying the acconfig.h file.
5599
5600Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
5601traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
5602
5603Run _INI methods on ThermalZone objects.  This is against the ACPI 
5604specification, but there is apparently ASL code in the field that has these 
5605_INI methods, and apparently "other" AML interpreters execute them.
5606
5607Performed a full 16/32/64 bit lint that resulted in some small changes.
5608
5609Added a sleep simulation command to the AML debugger to test sleep code. 
5610
5611Code and Data Size: Current and previous core subsystem library sizes are 
5612shown below.  These are the code and data sizes for the acpica.lib produced 
5613by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5614any ACPI driver or OSPM code.  The debug version of the code includes the 
5615debug output trace mechanism and has a much larger code and data size.  Note 
5616that these values will vary depending on the efficiency of the compiler and 
5617the compiler options used during generation.
5618
5619  Previous Release:
5620    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5621    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
5622  Current Release:
5623    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5624    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
5625
5626----------------------------------------
562727 April 2004.  Summary of changes for version 20040427:
5628
56291) ACPI CA Core Subsystem:
5630
5631Completed a major overhaul of the GPE handling within ACPI CA.  There are 
5632now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
5633The only GPEs allowed to be combination wake/run are for button-style 
5634devices such as a control-method power button, control-method sleep button, 
5635or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
5636referenced by any _PRW methods are marked for "runtime" and hardware 
5637enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
5638(and disabled at runtime).  However, at sleep time, only those GPEs that 
5639have been specifically enabled for wake via the AcpiEnableGpe interface will 
5640actually be hardware enabled.
5641
5642A new external interface has been added, AcpiSetGpeType(), that is meant to 
5643be used by device drivers to force a GPE to a particular type.  It will be 
5644especially useful for the drivers for the button devices mentioned above.
5645
5646Completed restructuring of the ACPI CA initialization sequence so that 
5647default operation region handlers are installed before GPEs are initialized 
5648and the _PRW methods are executed.  This will prevent errors when the _PRW 
5649methods attempt to access system memory or I/O space.
5650
5651GPE enable/disable no longer reads the GPE enable register.  We now keep the 
5652enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
5653thus no longer depend on the hardware to maintain these bits.
5654
5655Always clear the wake status and fixed/GPE status bits before sleep, even 
5656for state S5.
5657
5658Improved the AML debugger output for displaying the GPE blocks and their 
5659current status.
5660
5661Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
5662x = 0,1,2,3,4.
5663
5664Fixed a problem where the physical address was incorrectly calculated when 
5665the Load() operator was used to directly load from an Operation Region (vs. 
5666loading from a Field object.)  Also added check for minimum table length for 
5667this case.
5668
5669Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
5670mutex release.
5671
5672Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
5673consistency with the other fields returned.
5674
5675Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
5676structure for each GPE in the system, so the size of this structure is 
5677important.
5678
5679CPU stack requirement reduction:  Cleaned up the method execution and object 
5680evaluation paths so that now a parameter structure is passed, instead of 
5681copying the various method parameters over and over again.
5682
5683In evregion.c:  Correctly exit and reenter the interpreter region if and 
5684only if dispatching an operation region request to a user-installed handler.  
5685Do not exit/reenter when dispatching to a default handler (e.g., default 
5686system memory or I/O handlers)
5687
5688
5689Notes for updating drivers for the new GPE support.  The following changes 
5690must be made to ACPI-related device drivers that are attached to one or more 
5691GPEs: (This information will be added to the ACPI CA Programmer Reference.)
5692
56931) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
5694explicitly call AcpiEnableGpe.
56952) There is a new interface called AcpiSetGpeType. This should be called 
5696before enabling the GPE.  Also, this interface will automatically disable 
5697the GPE if it is currently enabled.
56983) AcpiEnableGpe no longer supports a GPE type flag.
5699
5700Specific drivers that must be changed:
57011) EC driver:
5702    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
5703AeGpeHandler, NULL);
5704    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
5705    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
5706
57072) Button Drivers (Power, Lid, Sleep):
5708Run _PRW method under parent device
5709If _PRW exists: /* This is a control-method button */
5710    Extract GPE number and possibly GpeDevice
5711    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
5712    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
5713
5714For all other devices that have _PRWs, we automatically set the GPE type to 
5715ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
5716must be done on a selective basis, usually requiring some kind of user app 
5717to allow the user to pick the wake devices.
5718
5719
5720Code and Data Size: Current and previous core subsystem library sizes are 
5721shown below.  These are the code and data sizes for the acpica.lib produced 
5722by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5723any ACPI driver or OSPM code.  The debug version of the code includes the 
5724debug output trace mechanism and has a much larger code and data size.  Note 
5725that these values will vary depending on the efficiency of the compiler and 
5726the compiler options used during generation.
5727
5728  Previous Release:
5729    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
5730    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
5731  Current Release:
5732
5733    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
5734    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
5735
5736
5737
5738----------------------------------------
573902 April 2004.  Summary of changes for version 20040402:
5740
57411) ACPI CA Core Subsystem:
5742
5743Fixed an interpreter problem where an indirect store through an ArgX 
5744parameter was incorrectly applying the "implicit conversion rules" during 
5745the store.  From the ACPI specification: "If the target is a method local or 
5746argument (LocalX or ArgX), no conversion is performed and the result is 
5747stored directly to the target".  The new behavior is to disable implicit 
5748conversion during ALL stores to an ArgX.
5749
5750Changed the behavior of the _PRW method scan to ignore any and all errors 
5751returned by a given _PRW.  This prevents the scan from aborting from the 
5752failure of any single _PRW.
5753
5754Moved the runtime configuration parameters from the global init procedure to 
5755static variables in acglobal.h.  This will allow the host to override the 
5756default values easily.
5757
5758Code and Data Size: Current and previous core subsystem library sizes are 
5759shown below.  These are the code and data sizes for the acpica.lib produced 
5760by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5761any ACPI driver or OSPM code.  The debug version of the code includes the 
5762debug output trace mechanism and has a much larger code and data size.  Note 
5763that these values will vary depending on the efficiency of the compiler and 
5764the compiler options used during generation.
5765
5766  Previous Release:
5767    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
5768    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
5769  Current Release:
5770    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
5771    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
5772
5773
57742) iASL Compiler/Disassembler:
5775
5776iASL now fully disassembles SSDTs.  However, External() statements are not 
5777generated automatically for unresolved symbols at this time.  This is a 
5778planned feature for future implementation.
5779
5780Fixed a scoping problem in the disassembler that occurs when the type of the 
5781target of a Scope() operator is overridden.  This problem caused an 
5782incorrectly nested internal namespace to be constructed.
5783
5784Any warnings or errors that are emitted during disassembly are now commented 
5785out automatically so that the resulting file can be recompiled without any 
5786hand editing.
5787
5788----------------------------------------
578926 March 2004.  Summary of changes for version 20040326:
5790
57911) ACPI CA Core Subsystem:
5792
5793Implemented support for "wake" GPEs via interaction between GPEs and the 
5794_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
5795identified as a WAKE GPE and by default will no longer be enabled at 
5796runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
5797_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
5798believe this has been the cause of thousands of "spurious" GPEs on some 
5799systems.
5800
5801This new GPE behavior is can be reverted to the original behavior (enable 
5802ALL GPEs at runtime) via a runtime flag.
5803
5804Fixed a problem where aliased control methods could not access objects 
5805properly.  The proper scope within the namespace was not initialized 
5806(transferred to the target of the aliased method) before executing the 
5807target method.
5808
5809Fixed a potential race condition on internal object deletion on the return 
5810object in AcpiEvaluateObject. 
5811
5812Integrated a fix for resource descriptors where both _MEM and _MTP were 
5813being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
5814wide, 0x0F instead of 0x03.)
5815
5816Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
5817fault in some cases.
5818
5819Updated Notify() values for debug statements in evmisc.c
5820
5821Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
5822
5823Code and Data Size: Current and previous core subsystem library sizes are 
5824shown below.  These are the code and data sizes for the acpica.lib produced 
5825by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5826any ACPI driver or OSPM code.  The debug version of the code includes the 
5827debug output trace mechanism and has a much larger code and data size.  Note 
5828that these values will vary depending on the efficiency of the compiler and 
5829the compiler options used during generation.
5830
5831  Previous Release:
5832
5833    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
5834    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
5835  Current Release:
5836    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
5837    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
5838
5839----------------------------------------
584011 March 2004.  Summary of changes for version 20040311:
5841
58421) ACPI CA Core Subsystem:
5843
5844Fixed a problem where errors occurring during the parse phase of control 
5845method execution did not abort cleanly.  For example, objects created and 
5846installed in the namespace were not deleted.  This caused all subsequent 
5847invocations of the method to return the AE_ALREADY_EXISTS exception.
5848
5849Implemented a mechanism to force a control method to "Serialized" execution 
5850if the method attempts to create namespace objects. (The root of the 
5851AE_ALREADY_EXISTS problem.)
5852
5853Implemented support for the predefined _OSI "internal" control method.  
5854Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
5855"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
5856This feature will allow "other" operating systems to execute the fully 
5857tested, "Windows" code path through the ASL code
5858
5859Global Lock Support:  Now allows multiple acquires and releases with any 
5860internal thread.  Removed concept of "owning thread" for this special mutex.
5861
5862Fixed two functions that were inappropriately declaring large objects on the 
5863CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
5864method execution considerably.
5865
5866Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
5867S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
5868
5869Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
5870defined on the machine.
5871
5872Implemented two runtime options:  One to force all control method execution 
5873to "Serialized" to mimic Windows behavior, another to disable _OSI support 
5874if it causes problems on a given machine.
5875
5876Code and Data Size: Current and previous core subsystem library sizes are 
5877shown below.  These are the code and data sizes for the acpica.lib produced 
5878by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5879any ACPI driver or OSPM code.  The debug version of the code includes the 
5880debug output trace mechanism and has a much larger code and data size.  Note 
5881that these values will vary depending on the efficiency of the compiler and 
5882the compiler options used during generation.
5883
5884  Previous Release:
5885    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
5886    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
5887  Current Release:
5888    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
5889    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
5890
58912) iASL Compiler/Disassembler:
5892
5893Fixed an array size problem for FreeBSD that would cause the compiler to 
5894fault.
5895
5896----------------------------------------
589720 February 2004.  Summary of changes for version 20040220:
5898
5899
59001) ACPI CA Core Subsystem:
5901
5902Implemented execution of _SxD methods for Device objects in the 
5903GetObjectInfo interface.
5904
5905Fixed calls to _SST method to pass the correct arguments.
5906
5907Added a call to _SST on wake to restore to "working" state.
5908
5909Check for End-Of-Buffer failure case in the WalkResources interface.
5910
5911Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
5912structures to the beginning of the file.
5913
5914After wake, clear GPE status register(s) before enabling GPEs.
5915
5916After wake, clear/enable power button.  (Perhaps we should clear/enable all 
5917fixed events upon wake.)
5918
5919Fixed a couple of possible memory leaks in the Namespace manager.
5920
5921Integrated latest acnetbsd.h file.
5922
5923----------------------------------------
592411 February 2004.  Summary of changes for version 20040211:
5925
5926
59271) ACPI CA Core Subsystem:
5928
5929Completed investigation and implementation of the call-by-reference 
5930mechanism for control method arguments.
5931
5932Fixed a problem where a store of an object into an indexed package could 
5933fail if the store occurs within a different method than the method that 
5934created the package.
5935
5936Fixed a problem where the ToDecimal operator could return incorrect results.
5937
5938Fixed a problem where the CopyObject operator could fail on some of the more 
5939obscure objects (e.g., Reference objects.)
5940
5941Improved the output of the Debug object to display buffer, package, and 
5942index objects.
5943
5944Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
5945the expected result.
5946
5947Added permanent ACPI_REPORT_ERROR macros for all instances of the 
5948ACPI_AML_INTERNAL exception.
5949
5950Integrated latest version of acfreebsd.h
5951
5952----------------------------------------
595316 January 2004.  Summary of changes for version 20040116:
5954
5955The purpose of this release is primarily to update the copyright years in 
5956each module, thus causing a huge number of diffs.  There are a few small 
5957functional changes, however.
5958
59591) ACPI CA Core Subsystem:
5960
5961Improved error messages when there is a problem finding one or more of the 
5962required base ACPI tables
5963
5964Reintroduced the definition of APIC_HEADER in actbl.h
5965
5966Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
5967
5968Removed extraneous reference to NewObj in dsmthdat.c
5969
59702) iASL compiler
5971
5972Fixed a problem introduced in December that disabled the correct disassembly 
5973of Resource Templates
5974
5975
5976----------------------------------------
597703 December 2003.  Summary of changes for version 20031203:
5978
59791) ACPI CA Core Subsystem:
5980
5981Changed the initialization of Operation Regions during subsystem
5982init to perform two entire walks of the ACPI namespace; The first
5983to initialize the regions themselves, the second to execute the
5984_REG methods.  This fixed some interdependencies across _REG
5985methods found on some machines.
5986
5987Fixed a problem where a Store(Local0, Local1) could simply update
5988the object reference count, and not create a new copy of the
5989object if the Local1 is uninitialized.
5990
5991Implemented support for the _SST reserved method during sleep
5992transitions.
5993
5994Implemented support to clear the SLP_TYP and SLP_EN bits when
5995waking up, this is apparently required by some machines.
5996
5997When sleeping, clear the wake status only if SleepState is not S5.
5998
5999Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
6000pointer arithmetic advanced a string pointer too far.
6001
6002Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
6003could be returned if the requested table has not been loaded.
6004
6005Within the support for IRQ resources, restructured the handling of
6006the active and edge/level bits.
6007
6008Fixed a few problems in AcpiPsxExecute() where memory could be
6009leaked under certain error conditions.
6010
6011Improved error messages for the cases where the ACPI mode could
6012not be entered.
6013
6014Code and Data Size: Current and previous core subsystem library
6015sizes are shown below.  These are the code and data sizes for the
6016acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6017these values do not include any ACPI driver or OSPM code.  The
6018debug version of the code includes the debug output trace
6019mechanism and has a much larger code and data size.  Note that
6020these values will vary depending on the efficiency of the compiler
6021and the compiler options used during generation.
6022
6023  Previous Release (20031029):
6024    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6025    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6026  Current Release:
6027    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6028    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6029
60302) iASL Compiler/Disassembler:
6031
6032Implemented a fix for the iASL disassembler where a bad index was
6033generated.  This was most noticeable on 64-bit platforms
6034
6035
6036----------------------------------------
603729 October 2003.  Summary of changes for version 20031029:
6038
60391) ACPI CA Core Subsystem:
6040
6041
6042Fixed a problem where a level-triggered GPE with an associated
6043_Lxx control method was incorrectly cleared twice.
6044
6045Fixed a problem with the Field support code where an access can
6046occur beyond the end-of-region if the field is non-aligned but
6047extends to the very end of the parent region (resulted in an
6048AE_AML_REGION_LIMIT exception.)
6049
6050Fixed a problem with ACPI Fixed Events where an RT Clock handler
6051would not get invoked on an RTC event.  The RTC event bitmasks for
6052the PM1 registers were not being initialized properly.
6053
6054Implemented support for executing _STA and _INI methods for
6055Processor objects.  Although this is currently not part of the
6056ACPI specification, there is existing ASL code that depends on the
6057init-time execution of these methods.
6058
6059Implemented and deployed a GetDescriptorName function to decode
6060the various types of internal descriptors.  Guards against null
6061descriptors during debug output also.
6062
6063Implemented and deployed a GetNodeName function to extract the 4-
6064character namespace node name.  This function simplifies the debug
6065and error output, as well as guarding against null pointers during
6066output.
6067
6068Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
6069simplify the debug and error output of 64-bit integers.  This
6070macro replaces the HIDWORD and LODWORD macros for dumping these
6071integers.
6072
6073Updated the implementation of the Stall() operator to only call
6074AcpiOsStall(), and also return an error if the operand is larger
6075than 255.  This preserves the required behavior of not
6076relinquishing the processor, as would happen if AcpiOsSleep() was
6077called for "long stalls".
6078
6079Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
6080initialized are now treated as NOOPs.
6081
6082Cleaned up a handful of warnings during 64-bit generation.
6083
6084Fixed a reported error where and incorrect GPE number was passed
6085to the GPE dispatch handler.  This value is only used for error
6086output, however.  Used this opportunity to clean up and streamline
6087the GPE dispatch code.
6088
6089Code and Data Size: Current and previous core subsystem library
6090sizes are shown below.  These are the code and data sizes for the
6091acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6092these values do not include any ACPI driver or OSPM code.  The
6093
6094debug version of the code includes the debug output trace
6095mechanism and has a much larger code and data size.  Note that
6096these values will vary depending on the efficiency of the compiler
6097and the compiler options used during generation.
6098
6099  Previous Release (20031002):
6100    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6101    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6102  Current Release:
6103    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6104    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6105
6106
61072) iASL Compiler/Disassembler:
6108
6109Updated the iASL compiler to return an error if the operand to the
6110Stall() operator is larger than 255.
6111
6112
6113----------------------------------------
611402 October 2003.  Summary of changes for version 20031002:
6115
6116
61171) ACPI CA Core Subsystem:
6118
6119Fixed a problem with Index Fields where the index was not
6120incremented for fields that require multiple writes to the
6121index/data registers (Fields that are wider than the data
6122register.)
6123
6124Fixed a problem with all Field objects where a write could go
6125beyond the end-of-field if the field was larger than the access
6126granularity and therefore required multiple writes to complete the
6127request.  An extra write beyond the end of the field could happen
6128inadvertently.
6129
6130Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
6131would incorrectly be returned if the width of the Data Register
6132was larger than the specified field access width.
6133
6134Completed fixes for LoadTable() and Unload() and verified their
6135operation.  Implemented full support for the "DdbHandle" object
6136throughout the ACPI CA subsystem.
6137
6138Implemented full support for the MADT and ECDT tables in the ACPI
6139CA header files.  Even though these tables are not directly
6140consumed by ACPI CA, the header definitions are useful for ACPI
6141device drivers.
6142
6143Integrated resource descriptor fixes posted to the Linux ACPI
6144list.  This included checks for minimum descriptor length, and
6145support for trailing NULL strings within descriptors that have
6146optional string elements.
6147
6148Code and Data Size: Current and previous core subsystem library
6149sizes are shown below.  These are the code and data sizes for the
6150acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6151these values do not include any ACPI driver or OSPM code.  The
6152debug version of the code includes the debug output trace
6153mechanism and has a much larger code and data size.  Note that
6154these values will vary depending on the efficiency of the compiler
6155and the compiler options used during generation.
6156
6157  Previous Release (20030918):
6158    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6159    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6160  Current Release:
6161    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6162    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6163
6164
61652) iASL Compiler:
6166
6167Implemented detection of non-ASCII characters within the input
6168source ASL file.  This catches attempts to compile binary (AML)
6169files early in the compile, with an informative error message.
6170
6171Fixed a problem where the disassembler would fault if the output
6172filename could not be generated or if the output file could not be
6173opened.
6174
6175----------------------------------------
617618 September 2003.  Summary of changes for version 20030918:
6177
6178
61791) ACPI CA Core Subsystem:
6180
6181Found and fixed a longstanding problem with the late execution of
6182the various deferred AML opcodes (such as Operation Regions,
6183Buffer Fields, Buffers, and Packages).  If the name string
6184specified for the name of the new object placed the object in a
6185scope other than the current scope, the initialization/execution
6186of the opcode failed.  The solution to this problem was to
6187implement a mechanism where the late execution of such opcodes
6188does not attempt to lookup/create the name a second time in an
6189incorrect scope.  This fixes the "region size computed
6190incorrectly" problem.
6191
6192Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
6193Global Lock AE_BAD_PARAMETER error.
6194
6195Fixed several 64-bit issues with prototypes, casting and data
6196types.
6197
6198Removed duplicate prototype from acdisasm.h
6199
6200Fixed an issue involving EC Operation Region Detach (Shaohua Li)
6201
6202Code and Data Size: Current and previous core subsystem library
6203sizes are shown below.  These are the code and data sizes for the
6204acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6205these values do not include any ACPI driver or OSPM code.  The
6206debug version of the code includes the debug output trace
6207mechanism and has a much larger code and data size.  Note that
6208these values will vary depending on the efficiency of the compiler
6209and the compiler options used during generation.
6210
6211  Previous Release:
6212
6213    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6214    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6215  Current Release:
6216    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6217    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6218
6219
62202) Linux:
6221
6222Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
6223correct sleep time in seconds.
6224
6225----------------------------------------
622614 July 2003.  Summary of changes for version 20030619:
6227
62281) ACPI CA Core Subsystem:
6229
6230Parse SSDTs in order discovered, as opposed to reverse order
6231(Hrvoje Habjanic)
6232
6233Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
6234Klausner,
6235   Nate Lawson)
6236
6237
62382) Linux:
6239
6240Dynamically allocate SDT list (suggested by Andi Kleen)
6241
6242proc function return value cleanups (Andi Kleen)
6243
6244Correctly handle NMI watchdog during long stalls (Andrew Morton)
6245
6246Make it so acpismp=force works (reported by Andrew Morton)
6247
6248
6249----------------------------------------
625019 June 2003.  Summary of changes for version 20030619:
6251
62521) ACPI CA Core Subsystem:
6253
6254Fix To/FromBCD, eliminating the need for an arch-specific #define.
6255
6256Do not acquire a semaphore in the S5 shutdown path.
6257
6258Fix ex_digits_needed for 0. (Takayoshi Kochi)
6259
6260Fix sleep/stall code reversal. (Andi Kleen)
6261
6262Revert a change having to do with control method calling
6263semantics.
6264
62652) Linux:
6266
6267acpiphp update (Takayoshi Kochi)
6268
6269Export acpi_disabled for sonypi (Stelian Pop)
6270
6271Mention acpismp=force in config help
6272
6273Re-add acpitable.c and acpismp=force. This improves backwards
6274
6275compatibility and also cleans up the code to a significant degree.
6276
6277Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
6278
6279----------------------------------------
628022 May 2003.  Summary of changes for version 20030522:
6281
62821) ACPI CA Core Subsystem:
6283
6284Found and fixed a reported problem where an AE_NOT_FOUND error
6285occurred occasionally during _BST evaluation.  This turned out to
6286be an Owner ID allocation issue where a called method did not get
6287a new ID assigned to it.  Eventually, (after 64k calls), the Owner
6288ID UINT16 would wraparound so that the ID would be the same as the
6289caller's and the called method would delete the caller's
6290namespace.
6291
6292Implemented extended error reporting for control methods that are
6293aborted due to a run-time exception.  Output includes the exact
6294AML instruction that caused the method abort, a dump of the method
6295locals and arguments at the time of the abort, and a trace of all
6296nested control method calls.
6297
6298Modified the interpreter to allow the creation of buffers of zero
6299length from the AML code. Implemented new code to ensure that no
6300attempt is made to actually allocate a memory buffer (of length
6301zero) - instead, a simple buffer object with a NULL buffer pointer
6302and length zero is created.  A warning is no longer issued when
6303the AML attempts to create a zero-length buffer.
6304
6305Implemented a workaround for the "leading asterisk issue" in
6306_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
6307asterisk is automatically removed if present in any HID, UID, or
6308CID strings.  The iASL compiler will still flag this asterisk as
6309an error, however.
6310
6311Implemented full support for _CID methods that return a package of
6312multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
6313now additionally returns a device _CID list if present.  This
6314required a change to the external interface in order to pass an
6315ACPI_BUFFER object as a parameter since the _CID list is of
6316variable length.
6317
6318Fixed a problem with the new AE_SAME_HANDLER exception where
6319handler initialization code did not know about this exception.
6320
6321Code and Data Size: Current and previous core subsystem library
6322sizes are shown below.  These are the code and data sizes for the
6323acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6324these values do not include any ACPI driver or OSPM code.  The
6325debug version of the code includes the debug output trace
6326mechanism and has a much larger code and data size.  Note that
6327these values will vary depending on the efficiency of the compiler
6328and the compiler options used during generation.
6329
6330  Previous Release (20030509):
6331    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6332    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6333  Current Release:
6334    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6335    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6336
6337
63382) Linux:
6339
6340Fixed a bug in which we would reinitialize the ACPI interrupt
6341after it was already working, thus disabling all ACPI and the IRQs
6342for any other device sharing the interrupt. (Thanks to Stian
6343Jordet)
6344
6345Toshiba driver update (John Belmonte)
6346
6347Return only 0 or 1 for our interrupt handler status (Andrew
6348Morton)
6349
6350
63513) iASL Compiler:
6352
6353Fixed a reported problem where multiple (nested) ElseIf()
6354statements were not handled correctly by the compiler, resulting
6355in incorrect warnings and incorrect AML code.  This was a problem
6356in both the ASL parser and the code generator.
6357
6358
63594) Documentation:
6360
6361Added changes to existing interfaces, new exception codes, and new
6362text concerning reference count object management versus garbage
6363collection.
6364
6365----------------------------------------
636609 May 2003.  Summary of changes for version 20030509.
6367
6368
63691) ACPI CA Core Subsystem:
6370
6371Changed the subsystem initialization sequence to hold off
6372installation of address space handlers until the hardware has been
6373initialized and the system has entered ACPI mode.  This is because
6374the installation of space handlers can cause _REG methods to be
6375run.  Previously, the _REG methods could potentially be run before
6376ACPI mode was enabled.
6377
6378Fixed some memory leak issues related to address space handler and
6379notify handler installation.  There were some problems with the
6380reference count mechanism caused by the fact that the handler
6381objects are shared across several namespace objects.
6382
6383Fixed a reported problem where reference counts within the
6384namespace were not properly updated when named objects created by
6385method execution were deleted.
6386
6387Fixed a reported problem where multiple SSDTs caused a deletion
6388issue during subsystem termination.  Restructured the table data
6389structures to simplify the linked lists and the related code.
6390
6391Fixed a problem where the table ID associated with secondary
6392tables (SSDTs) was not being propagated into the namespace objects
6393created by those tables.  This would only present a problem for
6394tables that are unloaded at run-time, however.
6395
6396Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
6397type as the length parameter (instead of UINT32).
6398
6399Solved a long-standing problem where an ALREADY_EXISTS error
6400appears on various systems.  This problem could happen when there
6401are multiple PCI_Config operation regions under a single PCI root
6402bus.  This doesn't happen very frequently, but there are some
6403systems that do this in the ASL.
6404
6405Fixed a reported problem where the internal DeleteNode function
6406was incorrectly handling the case where a namespace node was the
6407first in the parent's child list, and had additional peers (not
6408the only child, but first in the list of children.)
6409
6410Code and Data Size: Current core subsystem library sizes are shown
6411below.  These are the code and data sizes for the acpica.lib
6412produced by the Microsoft Visual C++ 6.0 compiler, and these
6413values do not include any ACPI driver or OSPM code.  The debug
6414version of the code includes the debug output trace mechanism and
6415has a much larger code and data size.  Note that these values will
6416vary depending on the efficiency of the compiler and the compiler
6417options used during generation.
6418
6419  Previous Release
6420    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
6421    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
6422  Current Release:
6423    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6424    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6425
6426
64272) Linux:
6428
6429Allow ":" in OS override string (Ducrot Bruno)
6430
6431Kobject fix (Greg KH)
6432
6433
64343 iASL Compiler/Disassembler:
6435
6436Fixed a problem in the generation of the C source code files (AML
6437is emitted in C source statements for BIOS inclusion) where the
6438Ascii dump that appears within a C comment at the end of each line
6439could cause a compile time error if the AML sequence happens to
6440have an open comment or close comment sequence embedded.
6441
6442
6443----------------------------------------
644424 April 2003.  Summary of changes for version 20030424.
6445
6446
64471) ACPI CA Core Subsystem:
6448
6449Support for big-endian systems has been implemented.  Most of the
6450support has been invisibly added behind big-endian versions of the
6451ACPI_MOVE_* macros.
6452
6453Fixed a problem in AcpiHwDisableGpeBlock() and
6454AcpiHwClearGpeBlock() where an incorrect offset was passed to the
6455low level hardware write routine.  The offset parameter was
6456actually eliminated from the low level read/write routines because
6457they had become obsolete.
6458
6459Fixed a problem where a handler object was deleted twice during
6460the removal of a fixed event handler.
6461
6462
64632) Linux:
6464
6465A fix for SMP systems with link devices was contributed by
6466
6467Compaq's Dan Zink.
6468
6469(2.5) Return whether we handled the interrupt in our IRQ handler.
6470(Linux ISRs no longer return void, so we can propagate the handler
6471return value from the ACPI CA core back to the OS.)
6472
6473
6474
64753) Documentation:
6476
6477The ACPI CA Programmer Reference has been updated to reflect new
6478interfaces and changes to existing interfaces.
6479
6480----------------------------------------
648128 March 2003.  Summary of changes for version 20030328.
6482
64831) ACPI CA Core Subsystem:
6484
6485The GPE Block Device support has been completed.  New interfaces
6486are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
6487interfaces (enable, disable, clear, getstatus) have been split
6488into separate interfaces for Fixed Events and General Purpose
6489Events (GPEs) in order to support GPE Block Devices properly.
6490
6491Fixed a problem where the error message "Failed to acquire
6492semaphore" would appear during operations on the embedded
6493controller (EC).
6494
6495Code and Data Size: Current core subsystem library sizes are shown
6496below.  These are the code and data sizes for the acpica.lib
6497produced by the Microsoft Visual C++ 6.0 compiler, and these
6498values do not include any ACPI driver or OSPM code.  The debug
6499version of the code includes the debug output trace mechanism and
6500has a much larger code and data size.  Note that these values will
6501vary depending on the efficiency of the compiler and the compiler
6502options used during generation.
6503
6504  Previous Release
6505    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
6506    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
6507  Current Release:
6508    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
6509    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
6510
6511
6512----------------------------------------
651328 February 2003.  Summary of changes for version 20030228.
6514
6515
65161) ACPI CA Core Subsystem:
6517
6518The GPE handling and dispatch code has been completely overhauled
6519in preparation for support of GPE Block Devices (ID ACPI0006).
6520This affects internal data structures and code only; there should
6521be no differences visible externally.  One new file has been
6522added, evgpeblk.c
6523
6524The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
6525fields that are used to determine the GPE block lengths.  The
6526REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
6527structures are ignored.  This is per the ACPI specification but it
6528isn't very clear.  The full 256 Block 0/1 GPEs are now supported
6529(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
6530
6531In the SCI interrupt handler, removed the read of the PM1_CONTROL
6532register to look at the SCI_EN bit.  On some machines, this read
6533causes an SMI event and greatly slows down SCI events.  (This may
6534in fact be the cause of slow battery status response on some
6535systems.)
6536
6537Fixed a problem where a store of a NULL string to a package object
6538could cause the premature deletion of the object.  This was seen
6539during execution of the battery _BIF method on some systems,
6540resulting in no battery data being returned.
6541
6542Added AcpiWalkResources interface to simplify parsing of resource
6543lists.
6544
6545Code and Data Size: Current core subsystem library sizes are shown
6546below.  These are the code and data sizes for the acpica.lib
6547produced by the Microsoft Visual C++ 6.0 compiler, and these
6548values do not include any ACPI driver or OSPM code.  The debug
6549version of the code includes the debug output trace mechanism and
6550has a much larger code and data size.  Note that these values will
6551vary depending on the efficiency of the compiler and the compiler
6552options used during generation.
6553
6554  Previous Release
6555    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6556    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6557  Current Release:
6558    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
6559    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
6560
6561
65622) Linux
6563
6564S3 fixes (Ole Rohne)
6565
6566Update ACPI PHP driver with to use new acpi_walk_resource API
6567(Bjorn Helgaas)
6568
6569Add S4BIOS support (Pavel Machek)
6570
6571Map in entire table before performing checksum (John Stultz)
6572
6573Expand the mem= cmdline to allow the specification of reserved and
6574ACPI DATA blocks (Pavel Machek)
6575
6576Never use ACPI on VISWS
6577
6578Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
6579
6580Revert a change that allowed P_BLK lengths to be 4 or 5. This is
6581causing us to think that some systems support C2 when they really
6582don't.
6583
6584Do not count processor objects for non-present CPUs (Thanks to
6585Dominik Brodowski)
6586
6587
65883) iASL Compiler:
6589
6590Fixed a problem where ASL include files could not be found and
6591opened.
6592
6593Added support for the _PDC reserved name.
6594
6595
6596----------------------------------------
659722 January 2003.  Summary of changes for version 20030122.
6598
6599
66001) ACPI CA Core Subsystem:
6601
6602Added a check for constructs of the form:  Store (Local0, Local0)
6603where Local0 is not initialized.  Apparently, some BIOS
6604programmers believe that this is a NOOP.  Since this store doesn't
6605do anything anyway, the new prototype behavior will ignore this
6606error.  This is a case where we can relax the strict checking in
6607the interpreter in the name of compatibility.
6608
6609
66102) Linux
6611
6612The AcpiSrc Source Conversion Utility has been released with the
6613Linux package for the first time.  This is the utility that is
6614used to convert the ACPI CA base source code to the Linux version.
6615
6616(Both) Handle P_BLK lengths shorter than 6 more gracefully
6617
6618(Both) Move more headers to include/acpi, and delete an unused
6619header.
6620
6621(Both) Move drivers/acpi/include directory to include/acpi
6622
6623(Both) Boot functions don't use cmdline, so don't pass it around
6624
6625(Both) Remove include of unused header (Adrian Bunk)
6626
6627(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
6628the
6629former now also includes the latter, acpiphp.h only needs the one,
6630now.
6631
6632(2.5) Make it possible to select method of bios restoring after S3
6633resume. [=> no more ugly ifdefs] (Pavel Machek)
6634
6635(2.5) Make proc write interfaces work (Pavel Machek)
6636
6637(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
6638
6639(2.5) Break out ACPI Perf code into its own module, under cpufreq
6640(Dominik Brodowski)
6641
6642(2.4) S4BIOS support (Ducrot Bruno)
6643
6644(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
6645Visinoni)
6646
6647
66483) iASL Compiler:
6649
6650Added support to disassemble SSDT and PSDTs.
6651
6652Implemented support to obtain SSDTs from the Windows registry if
6653available.
6654
6655
6656----------------------------------------
665709 January 2003.  Summary of changes for version 20030109.
6658
66591) ACPI CA Core Subsystem:
6660
6661Changed the behavior of the internal Buffer-to-String conversion
6662function.  The current ACPI specification states that the contents
6663of the buffer are "converted to a string of two-character
6664hexadecimal numbers, each separated by a space".  Unfortunately,
6665this definition is not backwards compatible with existing ACPI 1.0
6666implementations (although the behavior was not defined in the ACPI
66671.0 specification).  The new behavior simply copies data from the
6668buffer to the string until a null character is found or the end of
6669the buffer is reached.  The new String object is always null
6670terminated.  This problem was seen during the generation of _BIF
6671battery data where incorrect strings were returned for battery
6672type, etc.  This will also require an errata to the ACPI
6673specification.
6674
6675Renamed all instances of NATIVE_UINT and NATIVE_INT to
6676ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
6677
6678Copyright in all module headers (both Linux and non-Linux) has be
6679updated to 2003.
6680
6681Code and Data Size: Current core subsystem library sizes are shown
6682below.  These are the code and data sizes for the acpica.lib
6683produced by the Microsoft Visual C++ 6.0 compiler, and these
6684values do not include any ACPI driver or OSPM code.  The debug
6685version of the code includes the debug output trace mechanism and
6686has a much larger code and data size.  Note that these values will
6687vary depending on the efficiency of the compiler and the compiler
6688options used during generation.
6689
6690  Previous Release
6691    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6692    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6693  Current Release:
6694    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6695    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6696
6697
66982) Linux
6699
6700Fixed an oops on module insertion/removal (Matthew Tippett)
6701
6702(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
6703
6704(2.5) Replace pr_debug (Randy Dunlap)
6705
6706(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
6707
6708(Both) Eliminate spawning of thread from timer callback, in favor
6709of schedule_work()
6710
6711(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
6712
6713(Both) Added define for Fixed Function HW region (Matthew Wilcox)
6714
6715(Both) Add missing statics to button.c (Pavel Machek)
6716
6717Several changes have been made to the source code translation
6718utility that generates the Linux Code in order to make the code
6719more "Linux-like":
6720
6721All typedefs on structs and unions have been removed in keeping
6722with the Linux coding style.
6723
6724Removed the non-Linux SourceSafe module revision number from each
6725module header.
6726
6727Completed major overhaul of symbols to be lowercased for linux.
6728Doubled the number of symbols that are lowercased.
6729
6730Fixed a problem where identifiers within procedure headers and
6731within quotes were not fully lower cased (they were left with a
6732starting capital.)
6733
6734Some C macros whose only purpose is to allow the generation of 16-
6735bit code are now completely removed in the Linux code, increasing
6736readability and maintainability.
6737
6738----------------------------------------
6739
674012 December 2002.  Summary of changes for version 20021212.
6741
6742
67431) ACPI CA Core Subsystem:
6744
6745Fixed a problem where the creation of a zero-length AML Buffer
6746would cause a fault.
6747
6748Fixed a problem where a Buffer object that pointed to a static AML
6749buffer (in an ACPI table) could inadvertently be deleted, causing
6750memory corruption.
6751
6752Fixed a problem where a user buffer (passed in to the external
6753ACPI CA interfaces) could be overwritten if the buffer was too
6754small to complete the operation, causing memory corruption.
6755
6756Fixed a problem in the Buffer-to-String conversion code where a
6757string of length one was always returned, regardless of the size
6758of the input Buffer object.
6759
6760Removed the NATIVE_CHAR data type across the entire source due to
6761lack of need and lack of consistent use.
6762
6763Code and Data Size: Current core subsystem library sizes are shown
6764below.  These are the code and data sizes for the acpica.lib
6765produced by the Microsoft Visual C++ 6.0 compiler, and these
6766values do not include any ACPI driver or OSPM code.  The debug
6767version of the code includes the debug output trace mechanism and
6768has a much larger code and data size.  Note that these values will
6769vary depending on the efficiency of the compiler and the compiler
6770options used during generation.
6771
6772  Previous Release
6773    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
6774    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
6775  Current Release:
6776    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
6777    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
6778
6779
6780----------------------------------------
678105 December 2002.  Summary of changes for version 20021205.
6782
67831) ACPI CA Core Subsystem:
6784
6785Fixed a problem where a store to a String or Buffer object could
6786cause corruption of the DSDT if the object type being stored was
6787the same as the target object type and the length of the object
6788being stored was equal to or smaller than the original (existing)
6789target object.  This was seen to cause corruption of battery _BIF
6790buffers if the _BIF method modified the buffer on the fly.
6791
6792Fixed a problem where an internal error was generated if a control
6793method invocation was used in an OperationRegion, Buffer, or
6794Package declaration.  This was caused by the deferred parsing of
6795the control method and thus the deferred creation of the internal
6796method object.  The solution to this problem was to create the
6797internal method object at the moment the method is encountered in
6798the first pass - so that subsequent references to the method will
6799able to obtain the required parameter count and thus properly
6800parse the method invocation.  This problem presented itself as an
6801AE_AML_INTERNAL during the pass 1 parse phase during table load.
6802
6803Fixed a problem where the internal String object copy routine did
6804not always allocate sufficient memory for the target String object
6805and caused memory corruption.  This problem was seen to cause
6806"Allocation already present in list!" errors as memory allocation
6807became corrupted.
6808
6809Implemented a new function for the evaluation of namespace objects
6810that allows the specification of the allowable return object
6811types.  This simplifies a lot of code that checks for a return
6812object of one or more specific objects returned from the
6813evaluation (such as _STA, etc.)  This may become and external
6814function if it would be useful to ACPI-related drivers.
6815
6816Completed another round of prefixing #defines with "ACPI_" for
6817clarity.
6818
6819Completed additional code restructuring to allow more modular
6820linking for iASL compiler and AcpiExec.  Several files were split
6821creating new files.  New files:  nsparse.c dsinit.c evgpe.c
6822
6823Implemented an abort mechanism to terminate an executing control
6824method via the AML debugger.  This feature is useful for debugging
6825control methods that depend (wait) for specific hardware
6826responses.
6827
6828Code and Data Size: Current core subsystem library sizes are shown
6829below.  These are the code and data sizes for the acpica.lib
6830produced by the Microsoft Visual C++ 6.0 compiler, and these
6831values do not include any ACPI driver or OSPM code.  The debug
6832version of the code includes the debug output trace mechanism and
6833has a much larger code and data size.  Note that these values will
6834vary depending on the efficiency of the compiler and the compiler
6835options used during generation.
6836
6837  Previous Release
6838    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
6839    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
6840  Current Release:
6841    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
6842    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
6843
6844
68452) iASL Compiler/Disassembler
6846
6847Fixed a compiler code generation problem for "Interrupt" Resource
6848Descriptors.  If specified in the ASL, the optional "Resource
6849Source Index" and "Resource Source" fields were not inserted into
6850the correct location within the AML resource descriptor, creating
6851an invalid descriptor.
6852
6853Fixed a disassembler problem for "Interrupt" resource descriptors.
6854The optional "Resource Source Index" and "Resource Source" fields
6855were ignored.
6856
6857
6858----------------------------------------
685922 November 2002.  Summary of changes for version 20021122.
6860
6861
68621) ACPI CA Core Subsystem:
6863
6864Fixed a reported problem where an object stored to a Method Local
6865or Arg was not copied to a new object during the store - the
6866object pointer was simply copied to the Local/Arg.  This caused
6867all subsequent operations on the Local/Arg to also affect the
6868original source of the store operation.
6869
6870Fixed a problem where a store operation to a Method Local or Arg
6871was not completed properly if the Local/Arg contained a reference
6872(from RefOf) to a named field.  The general-purpose store-to-
6873namespace-node code is now used so that this case is handled
6874automatically.
6875
6876Fixed a problem where the internal object copy routine would cause
6877a protection fault if the object being copied was a Package and
6878contained either 1) a NULL package element or 2) a nested sub-
6879package.
6880
6881Fixed a problem with the GPE initialization that resulted from an
6882ambiguity in the ACPI specification.  One section of the
6883specification states that both the address and length of the GPE
6884block must be zero if the block is not supported.  Another section
6885implies that only the address need be zero if the block is not
6886supported.  The code has been changed so that both the address and
6887the length must be non-zero to indicate a valid GPE block (i.e.,
6888if either the address or the length is zero, the GPE block is
6889invalid.)
6890
6891Code and Data Size: Current core subsystem library sizes are shown
6892below.  These are the code and data sizes for the acpica.lib
6893produced by the Microsoft Visual C++ 6.0 compiler, and these
6894values do not include any ACPI driver or OSPM code.  The debug
6895version of the code includes the debug output trace mechanism and
6896has a much larger code and data size.  Note that these values will
6897vary depending on the efficiency of the compiler and the compiler
6898options used during generation.
6899
6900  Previous Release
6901    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
6902    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
6903  Current Release:
6904    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
6905    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
6906
6907
69082) Linux
6909
6910Cleaned up EC driver. Exported an external EC read/write
6911interface. By going through this, other drivers (most notably
6912sonypi) will be able to serialize access to the EC.
6913
6914
69153) iASL Compiler/Disassembler
6916
6917Implemented support to optionally generate include files for both
6918ASM and C (the -i switch).  This simplifies BIOS development by
6919automatically creating include files that contain external
6920declarations for the symbols that are created within the
6921
6922(optionally generated) ASM and C AML source files.
6923
6924
6925----------------------------------------
692615 November 2002.  Summary of changes for version 20021115.
6927
69281) ACPI CA Core Subsystem:
6929
6930Fixed a memory leak problem where an error during resolution of
6931
6932method arguments during a method invocation from another method
6933failed to cleanup properly by deleting all successfully resolved
6934argument objects.
6935
6936Fixed a problem where the target of the Index() operator was not
6937correctly constructed if the source object was a package.  This
6938problem has not been detected because the use of a target operand
6939with Index() is very rare.
6940
6941Fixed a problem with the Index() operator where an attempt was
6942made to delete the operand objects twice.
6943
6944Fixed a problem where an attempt was made to delete an operand
6945twice during execution of the CondRefOf() operator if the target
6946did not exist.
6947
6948Implemented the first of perhaps several internal create object
6949functions that create and initialize a specific object type.  This
6950consolidates duplicated code wherever the object is created, thus
6951shrinking the size of the subsystem.
6952
6953Implemented improved debug/error messages for errors that occur
6954during nested method invocations.  All executing method pathnames
6955are displayed (with the error) as the call stack is unwound - thus
6956simplifying debug.
6957
6958Fixed a problem introduced in the 10/02 release that caused
6959premature deletion of a buffer object if a buffer was used as an
6960ASL operand where an integer operand is required (Thus causing an
6961implicit object conversion from Buffer to Integer.)  The change in
6962the 10/02 release was attempting to fix a memory leak (albeit
6963incorrectly.)
6964
6965Code and Data Size: Current core subsystem library sizes are shown
6966below.  These are the code and data sizes for the acpica.lib
6967produced by the Microsoft Visual C++ 6.0 compiler, and these
6968values do not include any ACPI driver or OSPM code.  The debug
6969version of the code includes the debug output trace mechanism and
6970has a much larger code and data size.  Note that these values will
6971vary depending on the efficiency of the compiler and the compiler
6972options used during generation.
6973
6974  Previous Release
6975    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
6976    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
6977  Current Release:
6978    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
6979    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
6980
6981
69822) Linux
6983
6984Changed the implementation of the ACPI semaphores to use down()
6985instead of down_interruptable().  It is important that the
6986execution of ACPI control methods not be interrupted by signals.
6987Methods must run to completion, or the system may be left in an
6988unknown/unstable state.
6989
6990Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
6991(Shawn Starr)
6992
6993
69943) iASL Compiler/Disassembler
6995
6996
6997Changed the default location of output files.  All output files
6998are now placed in the current directory by default instead of in
6999the directory of the source file.  This change may affect some
7000existing makefiles, but it brings the behavior of the compiler in
7001line with other similar tools.  The location of the output files
7002can be overridden with the -p command line switch.
7003
7004
7005----------------------------------------
700611 November 2002.  Summary of changes for version 20021111.
7007
7008
70090) ACPI Specification 2.0B is released and is now available at:
7010http://www.acpi.info/index.html
7011
7012
70131) ACPI CA Core Subsystem:
7014
7015Implemented support for the ACPI 2.0 SMBus Operation Regions.
7016This includes the early detection and handoff of the request to
7017the SMBus region handler (avoiding all of the complex field
7018support code), and support for the bidirectional return packet
7019from an SMBus write operation.  This paves the way for the
7020development of SMBus drivers in each host operating system.
7021
7022Fixed a problem where the semaphore WAIT_FOREVER constant was
7023defined as 32 bits, but must be 16 bits according to the ACPI
7024specification.  This had the side effect of causing ASL
7025Mutex/Event timeouts even though the ASL code requested a wait
7026forever.  Changed all internal references to the ACPI timeout
7027parameter to 16 bits to prevent future problems.  Changed the name
7028of WAIT_FOREVER to ACPI_WAIT_FOREVER.
7029
7030Code and Data Size: Current core subsystem library sizes are shown
7031below.  These are the code and data sizes for the acpica.lib
7032produced by the Microsoft Visual C++ 6.0 compiler, and these
7033values do not include any ACPI driver or OSPM code.  The debug
7034version of the code includes the debug output trace mechanism and
7035has a much larger code and data size.  Note that these values will
7036vary depending on the efficiency of the compiler and the compiler
7037options used during generation.
7038
7039  Previous Release
7040    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7041    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7042  Current Release:
7043    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7044    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7045
7046
70472) Linux
7048
7049Module loading/unloading fixes (John Cagle)
7050
7051
70523) iASL Compiler/Disassembler
7053
7054Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
7055
7056Implemented support for the disassembly of all SMBus protocol
7057keywords (SMBQuick, SMBWord, etc.)
7058
7059----------------------------------------
706001 November 2002.  Summary of changes for version 20021101.
7061
7062
70631) ACPI CA Core Subsystem:
7064
7065Fixed a problem where platforms that have a GPE1 block but no GPE0
7066block were not handled correctly.  This resulted in a "GPE
7067overlap" error message.  GPE0 is no longer required.
7068
7069Removed code added in the previous release that inserted nodes
7070into the namespace in alphabetical order.  This caused some side-
7071effects on various machines.  The root cause of the problem is
7072still under investigation since in theory, the internal ordering
7073of the namespace nodes should not matter.
7074
7075
7076Enhanced error reporting for the case where a named object is not
7077found during control method execution.  The full ACPI namepath
7078(name reference) of the object that was not found is displayed in
7079this case.
7080
7081Note: as a result of the overhaul of the namespace object types in
7082the previous release, the namespace nodes for the predefined
7083scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
7084instead of ACPI_TYPE_ANY.  This simplifies the namespace
7085management code but may affect code that walks the namespace tree
7086looking for specific object types.
7087
7088Code and Data Size: Current core subsystem library sizes are shown
7089below.  These are the code and data sizes for the acpica.lib
7090produced by the Microsoft Visual C++ 6.0 compiler, and these
7091values do not include any ACPI driver or OSPM code.  The debug
7092version of the code includes the debug output trace mechanism and
7093has a much larger code and data size.  Note that these values will
7094vary depending on the efficiency of the compiler and the compiler
7095options used during generation.
7096
7097  Previous Release
7098    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7099    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7100  Current Release:
7101    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7102    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7103
7104
71052) Linux
7106
7107Fixed a problem introduced in the previous release where the
7108Processor and Thermal objects were not recognized and installed in
7109/proc.  This was related to the scope type change described above.
7110
7111
71123) iASL Compiler/Disassembler
7113
7114Implemented the -g option to get all of the required ACPI tables
7115from the registry and save them to files (Windows version of the
7116compiler only.)  The required tables are the FADT, FACS, and DSDT.
7117
7118Added ACPI table checksum validation during table disassembly in
7119order to catch corrupted tables.
7120
7121
7122----------------------------------------
712322 October 2002.  Summary of changes for version 20021022.
7124
71251) ACPI CA Core Subsystem:
7126
7127Implemented a restriction on the Scope operator that the target
7128must already exist in the namespace at the time the operator is
7129encountered (during table load or method execution).  In other
7130words, forward references are not allowed and Scope() cannot
7131create a new object. This changes the previous behavior where the
7132interpreter would create the name if not found.  This new behavior
7133correctly enables the search-to-root algorithm during namespace
7134lookup of the target name.  Because of this upsearch, this fixes
7135the known Compaq _SB_.OKEC problem and makes both the AML
7136interpreter and iASL compiler compatible with other ACPI
7137implementations.
7138
7139Completed a major overhaul of the internal ACPI object types for
7140the ACPI Namespace and the associated operand objects.  Many of
7141these types had become obsolete with the introduction of the two-
7142pass namespace load.  This cleanup simplifies the code and makes
7143the entire namespace load mechanism much clearer and easier to
7144understand.
7145
7146Improved debug output for tracking scope opening/closing to help
7147diagnose scoping issues.  The old scope name as well as the new
7148scope name are displayed.  Also improved error messages for
7149problems with ASL Mutex objects and error messages for GPE
7150problems.
7151
7152Cleaned up the namespace dump code, removed obsolete code.
7153
7154All string output (for all namespace/object dumps) now uses the
7155common ACPI string output procedure which handles escapes properly
7156and does not emit non-printable characters.
7157
7158Fixed some issues with constants in the 64-bit version of the
7159local C library (utclib.c)
7160
7161
71622) Linux
7163
7164EC Driver:  No longer attempts to acquire the Global Lock at
7165interrupt level.
7166
7167
71683) iASL Compiler/Disassembler
7169
7170Implemented ACPI 2.0B grammar change that disallows all Type 1 and
71712 opcodes outside of a control method.  This means that the
7172"executable" operators (versus the "namespace" operators) cannot
7173be used at the table level; they can only be used within a control
7174method.
7175
7176Implemented the restriction on the Scope() operator where the
7177target must already exist in the namespace at the time the
7178operator is encountered (during ASL compilation). In other words,
7179forward references are not allowed and Scope() cannot create a new
7180object.  This makes the iASL compiler compatible with other ACPI
7181implementations and makes the Scope() implementation adhere to the
7182ACPI specification.
7183
7184Fixed a problem where namepath optimization for the Alias operator
7185was optimizing the wrong path (of the two namepaths.)  This caused
7186a "Missing alias link" error message.
7187
7188Fixed a problem where an "unknown reserved name" warning could be
7189incorrectly generated for names like "_SB" when the trailing
7190underscore is not used in the original ASL.
7191
7192Fixed a problem where the reserved name check did not handle
7193NamePaths with multiple NameSegs correctly.  The first nameseg of
7194the NamePath was examined instead of the last NameSeg.
7195
7196
7197----------------------------------------
7198
719902 October 2002.  Summary of changes for this release.
7200
7201
72021) ACPI CA Core Subsystem version 20021002:
7203
7204Fixed a problem where a store/copy of a string to an existing
7205string did not always set the string length properly in the String
7206object.
7207
7208Fixed a reported problem with the ToString operator where the
7209behavior was identical to the ToHexString operator instead of just
7210simply converting a raw buffer to a string data type.
7211
7212Fixed a problem where CopyObject and the other "explicit"
7213conversion operators were not updating the internal namespace node
7214type as part of the store operation.
7215
7216Fixed a memory leak during implicit source operand conversion
7217where the original object was not deleted if it was converted to a
7218new object of a different type.
7219
7220Enhanced error messages for all problems associated with namespace
7221lookups.  Common procedure generates and prints the lookup name as
7222well as the formatted status.
7223
7224Completed implementation of a new design for the Alias support
7225within the namespace.  The existing design did not handle the case
7226where a new object was assigned to one of the two names due to the
7227use of an explicit conversion operator, resulting in the two names
7228pointing to two different objects.  The new design simply points
7229the Alias name to the original name node - not to the object.
7230This results in a level of indirection that must be handled in the
7231name resolution mechanism.
7232
7233Code and Data Size: Current core subsystem library sizes are shown
7234below.  These are the code and data sizes for the acpica.lib
7235produced by the Microsoft Visual C++ 6.0 compiler, and these
7236values do not include any ACPI driver or OSPM code.  The debug
7237version of the code includes the debug output trace mechanism and
7238has a larger code and data size.  Note that these values will vary
7239depending on the efficiency of the compiler and the compiler
7240options used during generation.
7241
7242  Previous Release
7243    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7244    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7245  Current Release:
7246    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7247    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7248
7249
72502) Linux
7251
7252Initialize thermal driver's timer before it is used. (Knut
7253Neumann)
7254
7255Allow handling negative celsius values. (Kochi Takayoshi)
7256
7257Fix thermal management and make trip points. R/W (Pavel Machek)
7258
7259Fix /proc/acpi/sleep. (P. Christeas)
7260
7261IA64 fixes. (David Mosberger)
7262
7263Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
7264
7265Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
7266Brodowski)
7267
7268
72693) iASL Compiler/Disassembler
7270
7271Clarified some warning/error messages.
7272
7273
7274----------------------------------------
727518 September 2002.  Summary of changes for this release.
7276
7277
72781) ACPI CA Core Subsystem version 20020918:
7279
7280Fixed a reported problem with reference chaining (via the Index()
7281and RefOf() operators) in the ObjectType() and SizeOf() operators.
7282The definition of these operators includes the dereferencing of
7283all chained references to return information on the base object.
7284
7285Fixed a problem with stores to indexed package elements - the
7286existing code would not complete the store if an "implicit
7287conversion" was not performed.  In other words, if the existing
7288object (package element) was to be replaced completely, the code
7289didn't handle this case.
7290
7291Relaxed typechecking on the ASL "Scope" operator to allow the
7292target name to refer to an object of type Integer, String, or
7293Buffer, in addition to the scoping object types (Device,
7294predefined Scopes, Processor, PowerResource, and ThermalZone.)
7295This allows existing AML code that has workarounds for a bug in
7296Windows to function properly.  A warning is issued, however.  This
7297affects both the AML interpreter and the iASL compiler. Below is
7298an example of this type of ASL code:
7299
7300      Name(DEB,0x00)
7301      Scope(DEB)
7302      {
7303
7304Fixed some reported problems with 64-bit integer support in the
7305local implementation of C library functions (clib.c)
7306
7307
73082) Linux
7309
7310Use ACPI fix map region instead of IOAPIC region, since it is
7311undefined in non-SMP.
7312
7313Ensure that the SCI has the proper polarity and trigger, even on
7314systems that do not have an interrupt override entry in the MADT.
7315
73162.5 big driver reorganization (Pat Mochel)
7317
7318Use early table mapping code from acpitable.c (Andi Kleen)
7319
7320New blacklist entries (Andi Kleen)
7321
7322Blacklist improvements. Split blacklist code out into a separate
7323file. Move checking the blacklist to very early. Previously, we
7324would use ACPI tables, and then halfway through init, check the
7325blacklist -- too late. Now, it's early enough to completely fall-
7326back to non-ACPI.
7327
7328
73293) iASL Compiler/Disassembler version 20020918:
7330
7331Fixed a problem where the typechecking code didn't know that an
7332alias could point to a method.  In other words, aliases were not
7333being dereferenced during typechecking.
7334
7335
7336----------------------------------------
733729 August 2002.  Summary of changes for this release.
7338
73391) ACPI CA Core Subsystem Version 20020829:
7340
7341If the target of a Scope() operator already exists, it must be an
7342object type that actually opens a scope -- such as a Device,
7343Method, Scope, etc.  This is a fatal runtime error.  Similar error
7344check has been added to the iASL compiler also.
7345
7346Tightened up the namespace load to disallow multiple names in the
7347same scope.  This previously was allowed if both objects were of
7348the same type.  (i.e., a lookup was the same as entering a new
7349name).
7350
7351
73522) Linux
7353
7354Ensure that the ACPI interrupt has the proper trigger and
7355polarity.
7356
7357local_irq_disable is extraneous. (Matthew Wilcox)
7358
7359Make "acpi=off" actually do what it says, and not use the ACPI
7360interpreter *or* the tables.
7361
7362Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
7363Takayoshi)
7364
7365
73663) iASL Compiler/Disassembler  Version 20020829:
7367
7368Implemented namepath optimization for name declarations.  For
7369example, a declaration like "Method (\_SB_.ABCD)" would get
7370optimized to "Method (ABCD)" if the declaration is within the
7371\_SB_ scope.  This optimization is in addition to the named
7372reference path optimization first released in the previous
7373version. This would seem to complete all possible optimizations
7374for namepaths within the ASL/AML.
7375
7376If the target of a Scope() operator already exists, it must be an
7377object type that actually opens a scope -- such as a Device,
7378Method, Scope, etc.
7379
7380Implemented a check and warning for unreachable code in the same
7381block below a Return() statement.
7382
7383Fixed a problem where the listing file was not generated if the
7384compiler aborted if the maximum error count was exceeded (200).
7385
7386Fixed a problem where the typechecking of method return values was
7387broken.  This includes the check for a return value when the
7388method is invoked as a TermArg (a return value is expected.)
7389
7390Fixed a reported problem where EOF conditions during a quoted
7391string or comment caused a fault.
7392
7393
7394----------------------------------------
739515 August 2002.  Summary of changes for this release.
7396
73971) ACPI CA Core Subsystem Version 20020815:
7398
7399Fixed a reported problem where a Store to a method argument that
7400contains a reference did not perform the indirect store correctly.
7401This problem was created during the conversion to the new
7402reference object model - the indirect store to a method argument
7403code was not updated to reflect the new model.
7404
7405Reworked the ACPI mode change code to better conform to ACPI 2.0,
7406handle corner cases, and improve code legibility (Kochi Takayoshi)
7407
7408Fixed a problem with the pathname parsing for the carat (^)
7409prefix.  The heavy use of the carat operator by the new namepath
7410optimization in the iASL compiler uncovered a problem with the AML
7411interpreter handling of this prefix.  In the case where one or
7412more carats precede a single nameseg, the nameseg was treated as
7413standalone and the search rule (to root) was inadvertently
7414applied.  This could cause both the iASL compiler and the
7415interpreter to find the wrong object or to miss the error that
7416should occur if the object does not exist at that exact pathname.
7417
7418Found and fixed the problem where the HP Pavilion DSDT would not
7419load.  This was a relatively minor tweak to the table loading code
7420(a problem caused by the unexpected encounter with a method
7421invocation not within a control method), but it does not solve the
7422overall issue of the execution of AML code at the table level.
7423This investigation is still ongoing.
7424
7425Code and Data Size: Current core subsystem library sizes are shown
7426below.  These are the code and data sizes for the acpica.lib
7427produced by the Microsoft Visual C++ 6.0 compiler, and these
7428values do not include any ACPI driver or OSPM code.  The debug
7429version of the code includes the debug output trace mechanism and
7430has a larger code and data size.  Note that these values will vary
7431depending on the efficiency of the compiler and the compiler
7432options used during generation.
7433
7434  Previous Release
7435    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
7436    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
7437  Current Release:
7438    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7439    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7440
7441
74422) Linux
7443
7444Remove redundant slab.h include (Brad Hards)
7445
7446Fix several bugs in thermal.c (Herbert Nachtnebel)
7447
7448Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
7449
7450Change acpi_system_suspend to use updated irq functions (Pavel
7451Machek)
7452
7453Export acpi_get_firmware_table (Matthew Wilcox)
7454
7455Use proper root proc entry for ACPI (Kochi Takayoshi)
7456
7457Fix early-boot table parsing (Bjorn Helgaas)
7458
7459
74603) iASL Compiler/Disassembler
7461
7462Reworked the compiler options to make them more consistent and to
7463use two-letter options where appropriate.  We were running out of
7464sensible letters.   This may break some makefiles, so check the
7465current options list by invoking the compiler with no parameters.
7466
7467Completed the design and implementation of the ASL namepath
7468optimization option for the compiler.  This option optimizes all
7469references to named objects to the shortest possible path.  The
7470first attempt tries to utilize a single nameseg (4 characters) and
7471the "search-to-root" algorithm used by the interpreter.  If that
7472cannot be used (because either the name is not in the search path
7473or there is a conflict with another object with the same name),
7474the pathname is optimized using the carat prefix (usually a
7475shorter string than specifying the entire path from the root.)
7476
7477Implemented support to obtain the DSDT from the Windows registry
7478(when the disassembly option is specified with no input file).
7479Added this code as the implementation for AcpiOsTableOverride in
7480the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
7481utility) to scan memory for the DSDT to the AcpiOsTableOverride
7482function in the DOS OSL to make the disassembler truly OS
7483independent.
7484
7485Implemented a new option to disassemble and compile in one step.
7486When used without an input filename, this option will grab the
7487DSDT from the local machine, disassemble it, and compile it in one
7488step.
7489
7490Added a warning message for invalid escapes (a backslash followed
7491by any character other than the allowable escapes).  This catches
7492the quoted string error "\_SB_" (which should be "\\_SB_" ).
7493
7494Also, there are numerous instances in the ACPI specification where
7495this error occurs.
7496
7497Added a compiler option to disable all optimizations.  This is
7498basically the "compatibility mode" because by using this option,
7499the AML code will come out exactly the same as other ASL
7500compilers.
7501
7502Added error messages for incorrectly ordered dependent resource
7503functions.  This includes: missing EndDependentFn macro at end of
7504dependent resource list, nested dependent function macros (both
7505start and end), and missing StartDependentFn macro.  These are
7506common errors that should be caught at compile time.
7507
7508Implemented _OSI support for the disassembler and compiler.  _OSI
7509must be included in the namespace for proper disassembly (because
7510the disassembler must know the number of arguments.)
7511
7512Added an "optimization" message type that is optional (off by
7513default).  This message is used for all optimizations - including
7514constant folding, integer optimization, and namepath optimization.
7515
7516----------------------------------------
751725 July 2002.  Summary of changes for this release.
7518
7519
75201) ACPI CA Core Subsystem Version 20020725:
7521
7522The AML Disassembler has been enhanced to produce compilable ASL
7523code and has been integrated into the iASL compiler (see below) as
7524well as the single-step disassembly for the AML debugger and the
7525disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
7526resource templates and macros are fully supported.  The
7527disassembler has been tested on over 30 different AML files,
7528producing identical AML when the resulting disassembled ASL file
7529is recompiled with the same ASL compiler.
7530
7531Modified the Resource Manager to allow zero interrupts and zero
7532dma channels during the GetCurrentResources call.  This was
7533causing problems on some platforms.
7534
7535Added the AcpiOsRedirectOutput interface to the OSL to simplify
7536output redirection for the AcpiOsPrintf and AcpiOsVprintf
7537interfaces.
7538
7539Code and Data Size: Current core subsystem library sizes are shown
7540below.  These are the code and data sizes for the acpica.lib
7541produced by the Microsoft Visual C++ 6.0 compiler, and these
7542values do not include any ACPI driver or OSPM code.  The debug
7543version of the code includes the debug output trace mechanism and
7544has a larger code and data size.  Note that these values will vary
7545depending on the efficiency of the compiler and the compiler
7546options used during generation.
7547
7548  Previous Release
7549    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
7550    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
7551  Current Release:
7552    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
7553    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
7554
7555
75562) Linux
7557
7558Fixed a panic in the EC driver (Dominik Brodowski)
7559
7560Implemented checksum of the R/XSDT itself during Linux table scan
7561(Richard Schaal)
7562
7563
75643) iASL compiler
7565
7566The AML disassembler is integrated into the compiler.  The "-d"
7567option invokes the disassembler  to completely disassemble an
7568input AML file, producing as output a text ASL file with the
7569extension ".dsl" (to avoid name collisions with existing .asl
7570source files.)  A future enhancement will allow the disassembler
7571to obtain the BIOS DSDT from the registry under Windows.
7572
7573Fixed a problem with the VendorShort and VendorLong resource
7574descriptors where an invalid AML sequence was created.
7575
7576Implemented a fix for BufferData term in the ASL parser.  It was
7577inadvertently defined twice, allowing invalid syntax to pass and
7578causing reduction conflicts.
7579
7580Fixed a problem where the Ones opcode could get converted to a
7581value of zero if "Ones" was used where a byte, word or dword value
7582was expected.  The 64-bit value is now truncated to the correct
7583size with the correct value.
7584
7585
7586
7587----------------------------------------
758802 July 2002.  Summary of changes for this release.
7589
7590
75911) ACPI CA Core Subsystem Version 20020702:
7592
7593The Table Manager code has been restructured to add several new
7594features.  Tables that are not required by the core subsystem
7595(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
7596validated in any way and are returned from AcpiGetFirmwareTable if
7597requested.  The AcpiOsTableOverride interface is now called for
7598each table that is loaded by the subsystem in order to allow the
7599host to override any table it chooses.  Previously, only the DSDT
7600could be overridden.  Added one new files, tbrsdt.c and
7601tbgetall.c.
7602
7603Fixed a problem with the conversion of internal package objects to
7604external objects (when a package is returned from a control
7605method.)  The return buffer length was set to zero instead of the
7606proper length of the package object.
7607
7608Fixed a reported problem with the use of the RefOf and DeRefOf
7609operators when passing reference arguments to control methods.  A
7610new type of Reference object is used internally for references
7611produced by the RefOf operator.
7612
7613Added additional error messages in the Resource Manager to explain
7614AE_BAD_DATA errors when they occur during resource parsing.
7615
7616Split the AcpiEnableSubsystem into two primitives to enable a
7617finer granularity initialization sequence.  These two calls should
7618be called in this order: AcpiEnableSubsystem (flags),
7619AcpiInitializeObjects (flags).  The flags parameter remains the
7620same.
7621
7622
76232) Linux
7624
7625Updated the ACPI utilities module to understand the new style of
7626fully resolved package objects that are now returned from the core
7627subsystem.  This eliminates errors of the form:
7628
7629    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
7630    acpi_utils-0430 [145] acpi_evaluate_reference:
7631        Invalid element in package (not a device reference)
7632
7633The method evaluation utility uses the new buffer allocation
7634scheme instead of calling AcpiEvaluate Object twice.
7635
7636Added support for ECDT. This allows the use of the Embedded
7637
7638Controller before the namespace has been fully initialized, which
7639is necessary for ACPI 2.0 support, and for some laptops to
7640initialize properly. (Laptops using ECDT are still rare, so only
7641limited testing was performed of the added functionality.)
7642
7643Fixed memory leaks in the EC driver.
7644
7645Eliminated a brittle code structure in acpi_bus_init().
7646
7647Eliminated the acpi_evaluate() helper function in utils.c. It is
7648no longer needed since acpi_evaluate_object can optionally
7649allocate memory for the return object.
7650
7651Implemented fix for keyboard hang when getting battery readings on
7652some systems (Stephen White)
7653
7654PCI IRQ routing update (Dominik Brodowski)
7655
7656Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
7657support
7658
7659----------------------------------------
766011 June 2002.  Summary of changes for this release.
7661
7662
76631) ACPI CA Core Subsystem Version 20020611:
7664
7665Fixed a reported problem where constants such as Zero and One
7666appearing within _PRT packages were not handled correctly within
7667the resource manager code.  Originally reported against the ASL
7668compiler because the code generator now optimizes integers to
7669their minimal AML representation (i.e. AML constants if possible.)
7670The _PRT code now handles all AML constant opcodes correctly
7671(Zero, One, Ones, Revision).
7672
7673Fixed a problem with the Concatenate operator in the AML
7674interpreter where a buffer result object was incorrectly marked as
7675not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
7676
7677All package sub-objects are now fully resolved before they are
7678returned from the external ACPI interfaces.  This means that name
7679strings are resolved to object handles, and constant operators
7680(Zero, One, Ones, Revision) are resolved to Integers.
7681
7682Implemented immediate resolution of the AML Constant opcodes
7683(Zero, One, Ones, Revision) to Integer objects upon detection
7684within the AML stream. This has simplified and reduced the
7685generated code size of the subsystem by eliminating about 10
7686switch statements for these constants (which previously were
7687contained in Reference objects.)  The complicating issues are that
7688the Zero opcode is used as a "placeholder" for unspecified
7689optional target operands and stores to constants are defined to be
7690no-ops.
7691
7692Code and Data Size: Current core subsystem library sizes are shown
7693below. These are the code and data sizes for the acpica.lib
7694produced by the Microsoft Visual C++ 6.0 compiler, and these
7695values do not include any ACPI driver or OSPM code.  The debug
7696version of the code includes the debug output trace mechanism and
7697has a larger code and data size.  Note that these values will vary
7698depending on the efficiency of the compiler and the compiler
7699options used during generation.
7700
7701  Previous Release
7702    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
7703    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
7704  Current Release:
7705    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
7706    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
7707
7708
77092) Linux
7710
7711
7712Added preliminary support for obtaining _TRA data for PCI root
7713bridges (Bjorn Helgaas).
7714
7715
77163) iASL Compiler Version X2046:
7717
7718Fixed a problem where the "_DDN" reserved name was defined to be a
7719control method with one argument.  There are no arguments, and
7720_DDN does not have to be a control method.
7721
7722Fixed a problem with the Linux version of the compiler where the
7723source lines printed with error messages were the wrong lines.
7724This turned out to be the "LF versus CR/LF" difference between
7725Windows and Unix.  This appears to be the longstanding issue
7726concerning listing output and error messages.
7727
7728Fixed a problem with the Linux version of compiler where opcode
7729names within error messages were wrong.  This was caused by a
7730slight difference in the output of the Flex tool on Linux versus
7731Windows.
7732
7733Fixed a problem with the Linux compiler where the hex output files
7734contained some garbage data caused by an internal buffer overrun.
7735
7736
7737----------------------------------------
773817 May 2002.  Summary of changes for this release.
7739
7740
77411) ACPI CA Core Subsystem Version 20020517:
7742
7743Implemented a workaround to an BIOS bug discovered on the HP
7744OmniBook where the FADT revision number and the table size are
7745inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
7746behavior is to fallback to using only the ACPI 1.0 fields of the
7747FADT if the table is too small to be a ACPI 2.0 table as claimed
7748by the revision number.  Although this is a BIOS bug, this is a
7749case where the workaround is simple enough and with no side
7750effects, so it seemed prudent to add it.  A warning message is
7751issued, however.
7752
7753Implemented minimum size checks for the fixed-length ACPI tables -
7754- the FADT and FACS, as well as consistency checks between the
7755revision number and the table size.
7756
7757Fixed a reported problem in the table override support where the
7758new table pointer was incorrectly treated as a physical address
7759instead of a logical address.
7760
7761Eliminated the use of the AE_AML_ERROR exception and replaced it
7762with more descriptive codes.
7763
7764Fixed a problem where an exception would occur if an ASL Field was
7765defined with no named Field Units underneath it (used by some
7766index fields).
7767
7768Code and Data Size: Current core subsystem library sizes are shown
7769below.  These are the code and data sizes for the acpica.lib
7770produced by the Microsoft Visual C++ 6.0 compiler, and these
7771values do not include any ACPI driver or OSPM code.  The debug
7772version of the code includes the debug output trace mechanism and
7773has a larger code and data size.  Note that these values will vary
7774depending on the efficiency of the compiler and the compiler
7775options used during generation.
7776
7777  Previous Release
7778    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
7779    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
7780  Current Release:
7781    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
7782    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
7783
7784
7785
77862) Linux
7787
7788Much work done on ACPI init (MADT and PCI IRQ routing support).
7789(Paul D. and Dominik Brodowski)
7790
7791Fix PCI IRQ-related panic on boot (Sam Revitch)
7792
7793Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
7794
7795Fix "MHz" typo (Dominik Brodowski)
7796
7797Fix RTC year 2000 issue (Dominik Brodowski)
7798
7799Preclude multiple button proc entries (Eric Brunet)
7800
7801Moved arch-specific code out of include/platform/aclinux.h
7802
78033) iASL Compiler Version X2044:
7804
7805Implemented error checking for the string used in the EISAID macro
7806(Usually used in the definition of the _HID object.)  The code now
7807strictly enforces the PnP format - exactly 7 characters, 3
7808uppercase letters and 4 hex digits.
7809
7810If a raw string is used in the definition of the _HID object
7811(instead of the EISAID macro), the string must contain all
7812alphanumeric characters (e.g., "*PNP0011" is not allowed because
7813of the asterisk.)
7814
7815Implemented checking for invalid use of ACPI reserved names for
7816most of the name creation operators (Name, Device, Event, Mutex,
7817OperationRegion, PowerResource, Processor, and ThermalZone.)
7818Previously, this check was only performed for control methods.
7819
7820Implemented an additional check on the Name operator to emit an
7821error if a reserved name that must be implemented in ASL as a
7822control method is used.  We know that a reserved name must be a
7823method if it is defined with input arguments.
7824
7825The warning emitted when a namespace object reference is not found
7826during the cross reference phase has been changed into an error.
7827The "External" directive should be used for names defined in other
7828modules.
7829
7830
78314) Tools and Utilities
7832
7833The 16-bit tools (adump16 and aexec16) have been regenerated and
7834tested.
7835
7836Fixed a problem with the output of both acpidump and adump16 where
7837the indentation of closing parentheses and brackets was not
7838
7839aligned properly with the parent block.
7840
7841
7842----------------------------------------
784303 May 2002.  Summary of changes for this release.
7844
7845
78461) ACPI CA Core Subsystem Version 20020503:
7847
7848Added support a new OSL interface that allows the host operating
7849
7850system software to override the DSDT found in the firmware -
7851AcpiOsTableOverride.  With this interface, the OSL can examine the
7852version of the firmware DSDT and replace it with a different one
7853if desired.
7854
7855Added new external interfaces for accessing ACPI registers from
7856device drivers and other system software - AcpiGetRegister and
7857AcpiSetRegister.  This was simply an externalization of the
7858existing AcpiHwBitRegister interfaces.
7859
7860Fixed a regression introduced in the previous build where the
7861ASL/AML CreateField operator always returned an error,
7862"destination must be a NS Node".
7863
7864Extended the maximum time (before failure) to successfully enable
7865ACPI mode to 3 seconds.
7866
7867Code and Data Size: Current core subsystem library sizes are shown
7868below.  These are the code and data sizes for the acpica.lib
7869produced by the Microsoft Visual C++ 6.0 compiler, and these
7870values do not include any ACPI driver or OSPM code.  The debug
7871version of the code includes the debug output trace mechanism and
7872has a larger code and data size.  Note that these values will vary
7873depending on the efficiency of the compiler and the compiler
7874options used during generation.
7875
7876  Previous Release
7877    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
7878    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
7879  Current Release:
7880    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
7881    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
7882
7883
78842) Linux
7885
7886Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
7887free. While 3 out of 4 of our in-house systems work fine, the last
7888one still hangs when testing the LAPIC timer.
7889
7890Renamed many files in 2.5 kernel release to omit "acpi_" from the
7891name.
7892
7893Added warning on boot for Presario 711FR.
7894
7895Sleep improvements (Pavel Machek)
7896
7897ACPI can now be built without CONFIG_PCI enabled.
7898
7899IA64: Fixed memory map functions (JI Lee)
7900
7901
79023) iASL Compiler Version X2043:
7903
7904Added support to allow the compiler to be integrated into the MS
7905VC++ development environment for one-button compilation of single
7906files or entire projects -- with error-to-source-line mapping.
7907
7908Implemented support for compile-time constant folding for the
7909Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
7910specification.  This allows the ASL writer to use expressions
7911instead of Integer/Buffer/String constants in terms that must
7912evaluate to constants at compile time and will also simplify the
7913emitted AML in any such sub-expressions that can be folded
7914(evaluated at compile-time.)  This increases the size of the
7915compiler significantly because a portion of the ACPI CA AML
7916interpreter is included within the compiler in order to pre-
7917evaluate constant expressions.
7918
7919
7920Fixed a problem with the "Unicode" ASL macro that caused the
7921compiler to fault.  (This macro is used in conjunction with the
7922_STR reserved name.)
7923
7924Implemented an AML opcode optimization to use the Zero, One, and
7925Ones opcodes where possible to further reduce the size of integer
7926constants and thus reduce the overall size of the generated AML
7927code.
7928
7929Implemented error checking for new reserved terms for ACPI version
79302.0A.
7931
7932Implemented the -qr option to display the current list of ACPI
7933reserved names known to the compiler.
7934
7935Implemented the -qc option to display the current list of ASL
7936operators that are allowed within constant expressions and can
7937therefore be folded at compile time if the operands are constants.
7938
7939
79404) Documentation
7941
7942Updated the Programmer's Reference for new interfaces, data types,
7943and memory allocation model options.
7944
7945Updated the iASL Compiler User Reference to apply new format and
7946add information about new features and options.
7947
7948----------------------------------------
794919 April 2002.  Summary of changes for this release.
7950
79511) ACPI CA Core Subsystem Version 20020419:
7952
7953The source code base for the Core Subsystem has been completely
7954cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
7955versions.  The Lint option files used are included in the
7956/acpi/generate/lint directory.
7957
7958Implemented enhanced status/error checking across the entire
7959Hardware manager subsystem.  Any hardware errors (reported from
7960the OSL) are now bubbled up and will abort a running control
7961method.
7962
7963
7964Fixed a problem where the per-ACPI-table integer width (32 or 64)
7965was stored only with control method nodes, causing a fault when
7966non-control method code was executed during table loading.  The
7967solution implemented uses a global variable to indicate table
7968width across the entire ACPI subsystem.  Therefore, ACPI CA does
7969not support mixed integer widths across different ACPI tables
7970(DSDT, SSDT).
7971
7972Fixed a problem where NULL extended fields (X fields) in an ACPI
79732.0 ACPI FADT caused the table load to fail.  Although the
7974existing ACPI specification is a bit fuzzy on this topic, the new
7975behavior is to fall back on a ACPI 1.0 field if the corresponding
7976ACPI 2.0 X field is zero (even though the table revision indicates
7977a full ACPI 2.0 table.)  The ACPI specification will be updated to
7978clarify this issue.
7979
7980Fixed a problem with the SystemMemory operation region handler
7981where memory was always accessed byte-wise even if the AML-
7982specified access width was larger than a byte.  This caused
7983problems on systems with memory-mapped I/O.  Memory is now
7984accessed with the width specified.  On systems that do not support
7985non-aligned transfers, a check is made to guarantee proper address
7986alignment before proceeding in order to avoid an AML-caused
7987alignment fault within the kernel.
7988
7989
7990Fixed a problem with the ExtendedIrq resource where only one byte
7991of the 4-byte Irq field was extracted.
7992
7993Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
7994function was out of date and required a rewrite.
7995
7996Code and Data Size: Current core subsystem library sizes are shown
7997below.  These are the code and data sizes for the acpica.lib
7998produced by the Microsoft Visual C++ 6.0 compiler, and these
7999values do not include any ACPI driver or OSPM code.  The debug
8000version of the code includes the debug output trace mechanism and
8001has a larger code and data size.  Note that these values will vary
8002depending on the efficiency of the compiler and the compiler
8003options used during generation.
8004
8005  Previous Release
8006    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8007    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8008  Current Release:
8009    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8010    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8011
8012
80132) Linux
8014
8015PCI IRQ routing fixes (Dominik Brodowski)
8016
8017
80183) iASL Compiler Version X2042:
8019
8020Implemented an additional compile-time error check for a field
8021unit whose size + minimum access width would cause a run-time
8022access beyond the end-of-region.  Previously, only the field size
8023itself was checked.
8024
8025The Core subsystem and iASL compiler now share a common parse
8026object in preparation for compile-time evaluation of the type
80273/4/5 ASL operators.
8028
8029
8030----------------------------------------
8031Summary of changes for this release: 03_29_02
8032
80331) ACPI CA Core Subsystem Version 20020329:
8034
8035Implemented support for late evaluation of TermArg operands to
8036Buffer and Package objects.  This allows complex expressions to be
8037used in the declarations of these object types.
8038
8039Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
80401.0, if the field was larger than 32 bits, it was returned as a
8041buffer - otherwise it was returned as an integer.  In ACPI 2.0,
8042the field is returned as a buffer only if the field is larger than
804364 bits.  The TableRevision is now considered when making this
8044conversion to avoid incompatibility with existing ASL code.
8045
8046Implemented logical addressing for AcpiOsGetRootPointer.  This
8047allows an RSDP with either a logical or physical address.  With
8048this support, the host OS can now override all ACPI tables with
8049one logical RSDP.  Includes implementation of  "typed" pointer
8050support to allow a common data type for both physical and logical
8051pointers internally.  This required a change to the
8052AcpiOsGetRootPointer interface.
8053
8054Implemented the use of ACPI 2.0 Generic Address Structures for all
8055GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
8056mapped I/O for these ACPI features.
8057
8058Initialization now ignores not only non-required tables (All
8059tables other than the FADT, FACS, DSDT, and SSDTs), but also does
8060not validate the table headers of unrecognized tables.
8061
8062Fixed a problem where a notify handler could only be
8063installed/removed on an object of type Device.  All "notify"
8064
8065objects are now supported -- Devices, Processor, Power, and
8066Thermal.
8067
8068Removed most verbosity from the ACPI_DB_INFO debug level.  Only
8069critical information is returned when this debug level is enabled.
8070
8071Code and Data Size: Current core subsystem library sizes are shown
8072below.  These are the code and data sizes for the acpica.lib
8073produced by the Microsoft Visual C++ 6.0 compiler, and these
8074values do not include any ACPI driver or OSPM code.  The debug
8075version of the code includes the debug output trace mechanism and
8076has a larger code and data size.  Note that these values will vary
8077depending on the efficiency of the compiler and the compiler
8078options used during generation.
8079
8080  Previous Release
8081    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8082    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8083  Current Release:
8084    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8085    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8086
8087
80882) Linux:
8089
8090The processor driver (acpi_processor.c) now fully supports ACPI
80912.0-based processor performance control (e.g. Intel(R)
8092SpeedStep(TM) technology) Note that older laptops that only have
8093the Intel "applet" interface are not supported through this.  The
8094'limit' and 'performance' interface (/proc) are fully functional.
8095[Note that basic policy for controlling performance state
8096transitions will be included in the next version of ospmd.]  The
8097idle handler was modified to more aggressively use C2, and PIIX4
8098errata handling underwent a complete overhaul (big thanks to
8099Dominik Brodowski).
8100
8101Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
8102based devices in the ACPI namespace are now dynamically bound
8103(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
8104This allows, among other things, ACPI to resolve bus numbers for
8105subordinate PCI bridges.
8106
8107Enhanced PCI IRQ routing to get the proper bus number for _PRT
8108entries defined underneath PCI bridges.
8109
8110Added IBM 600E to bad bios list due to invalid _ADR value for
8111PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
8112
8113In the process of adding full MADT support (e.g. IOAPIC) for IA32
8114(acpi.c, mpparse.c) -- stay tuned.
8115
8116Added back visual differentiation between fixed-feature and
8117control-method buttons in dmesg.  Buttons are also subtyped (e.g.
8118button/power/PWRF) to simplify button identification.
8119
8120We no longer use -Wno-unused when compiling debug. Please ignore
8121any "_THIS_MODULE defined but not used" messages.
8122
8123Can now shut down the system using "magic sysrq" key.
8124
8125
81263) iASL Compiler version 2041:
8127
8128Fixed a problem where conversion errors for hex/octal/decimal
8129constants were not reported.
8130
8131Implemented a fix for the General Register template Address field.
8132This field was 8 bits when it should be 64.
8133
8134Fixed a problem where errors/warnings were no longer being emitted
8135within the listing output file.
8136
8137Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
8138exactly 4 characters, alphanumeric only.
8139
8140
8141
8142
8143----------------------------------------
8144Summary of changes for this release: 03_08_02
8145
8146
81471) ACPI CA Core Subsystem Version 20020308:
8148
8149Fixed a problem with AML Fields where the use of the "AccessAny"
8150keyword could cause an interpreter error due to attempting to read
8151or write beyond the end of the parent Operation Region.
8152
8153Fixed a problem in the SystemMemory Operation Region handler where
8154an attempt was made to map memory beyond the end of the region.
8155This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
8156errors on some Linux systems.
8157
8158Fixed a problem where the interpreter/namespace "search to root"
8159algorithm was not functioning for some object types.  Relaxed the
8160internal restriction on the search to allow upsearches for all
8161external object types as well as most internal types.
8162
8163
81642) Linux:
8165
8166We now use safe_halt() macro versus individual calls to sti | hlt.
8167
8168Writing to the processor limit interface should now work. "echo 1"
8169will increase the limit, 2 will decrease, and 0 will reset to the
8170
8171default.
8172
8173
81743) ASL compiler:
8175
8176Fixed segfault on Linux version.
8177
8178
8179----------------------------------------
8180Summary of changes for this release: 02_25_02
8181
81821) ACPI CA Core Subsystem:
8183
8184
8185Fixed a problem where the GPE bit masks were not initialized
8186properly, causing erratic GPE behavior.
8187
8188Implemented limited support for multiple calling conventions.  The
8189code can be generated with either the VPL (variable parameter
8190list, or "C") convention, or the FPL (fixed parameter list, or
8191"Pascal") convention.  The core subsystem is about 3.4% smaller
8192when generated with FPL.
8193
8194
81952) Linux
8196
8197Re-add some /proc/acpi/event functionality that was lost during
8198the rewrite
8199
8200Resolved issue with /proc events for fixed-feature buttons showing
8201up as the system device.
8202
8203Fixed checks on C2/C3 latencies to be inclusive of maximum values.
8204
8205Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
8206
8207Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
8208
8209Fixed limit interface & usage to fix bugs with passive cooling
8210hysterisis.
8211
8212Restructured PRT support.
8213
8214
8215----------------------------------------
8216Summary of changes for this label: 02_14_02
8217
8218
82191) ACPI CA Core Subsystem:
8220
8221Implemented support in AcpiLoadTable to allow loading of FACS and
8222FADT tables.
8223
8224Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
8225been removed.  All 64-bit platforms should be migrated to the ACPI
82262.0 tables.  The actbl71.h header has been removed from the source
8227tree.
8228
8229All C macros defined within the subsystem have been prefixed with
8230"ACPI_" to avoid collision with other system include files.
8231
8232Removed the return value for the two AcpiOsPrint interfaces, since
8233it is never used and causes lint warnings for ignoring the return
8234value.
8235
8236Added error checking to all internal mutex acquire and release
8237calls.  Although a failure from one of these interfaces is
8238probably a fatal system error, these checks will cause the
8239immediate abort of the currently executing method or interface.
8240
8241Fixed a problem where the AcpiSetCurrentResources interface could
8242fault.  This was a side effect of the deployment of the new memory
8243allocation model.
8244
8245Fixed a couple of problems with the Global Lock support introduced
8246in the last major build.  The "common" (1.0/2.0) internal FACS was
8247being overwritten with the FACS signature and clobbering the
8248Global Lock pointer.  Also, the actual firmware FACS was being
8249unmapped after construction of the "common" FACS, preventing
8250access to the actual Global Lock field within it.  The "common"
8251internal FACS is no longer installed as an actual ACPI table; it
8252is used simply as a global.
8253
8254Code and Data Size: Current core subsystem library sizes are shown
8255below.  These are the code and data sizes for the acpica.lib
8256produced by the Microsoft Visual C++ 6.0 compiler, and these
8257values do not include any ACPI driver or OSPM code.  The debug
8258version of the code includes the debug output trace mechanism and
8259has a larger code and data size.  Note that these values will vary
8260depending on the efficiency of the compiler and the compiler
8261options used during generation.
8262
8263  Previous Release (02_07_01)
8264    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8265    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8266  Current Release:
8267    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8268    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8269
8270
82712) Linux
8272
8273Updated Linux-specific code for core macro and OSL interface
8274changes described above.
8275
8276Improved /proc/acpi/event. It now can be opened only once and has
8277proper poll functionality.
8278
8279Fixed and restructured power management (acpi_bus).
8280
8281Only create /proc "view by type" when devices of that class exist.
8282
8283Fixed "charging/discharging" bug (and others) in acpi_battery.
8284
8285Improved thermal zone code.
8286
8287
82883) ASL Compiler, version X2039:
8289
8290
8291Implemented the new compiler restriction on ASL String hex/octal
8292escapes to non-null, ASCII values.  An error results if an invalid
8293value is used.  (This will require an ACPI 2.0 specification
8294change.)
8295
8296AML object labels that are output to the optional C and ASM source
8297are now prefixed with both the ACPI table signature and table ID
8298to help guarantee uniqueness within a large BIOS project.
8299
8300
8301----------------------------------------
8302Summary of changes for this label: 02_01_02
8303
83041) ACPI CA Core Subsystem:
8305
8306ACPI 2.0 support is complete in the entire Core Subsystem and the
8307ASL compiler. All new ACPI 2.0 operators are implemented and all
8308other changes for ACPI 2.0 support are complete.  With
8309simultaneous code and data optimizations throughout the subsystem,
8310ACPI 2.0 support has been implemented with almost no additional
8311cost in terms of code and data size.
8312
8313Implemented a new mechanism for allocation of return buffers.  If
8314the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
8315be allocated on behalf of the caller.  Consolidated all return
8316buffer validation and allocation to a common procedure.  Return
8317buffers will be allocated via the primary OSL allocation interface
8318since it appears that a separate pool is not needed by most users.
8319If a separate pool is required for these buffers, the caller can
8320still use the original mechanism and pre-allocate the buffer(s).
8321
8322Implemented support for string operands within the DerefOf
8323operator.
8324
8325Restructured the Hardware and Event managers to be table driven,
8326simplifying the source code and reducing the amount of generated
8327code.
8328
8329Split the common read/write low-level ACPI register bitfield
8330procedure into a separate read and write, simplifying the code
8331considerably.
8332
8333Obsoleted the AcpiOsCallocate OSL interface.  This interface was
8334used only a handful of times and didn't have enough critical mass
8335for a separate interface.  Replaced with a common calloc procedure
8336in the core.
8337
8338Fixed a reported problem with the GPE number mapping mechanism
8339that allows GPE1 numbers to be non-contiguous with GPE0.
8340Reorganized the GPE information and shrunk a large array that was
8341originally large enough to hold info for all possible GPEs (256)
8342to simply large enough to hold all GPEs up to the largest GPE
8343number on the machine.
8344
8345Fixed a reported problem with resource structure alignment on 64-
8346bit platforms.
8347
8348Changed the AcpiEnableEvent and AcpiDisableEvent external
8349interfaces to not require any flags for the common case of
8350enabling/disabling a GPE.
8351
8352Implemented support to allow a "Notify" on a Processor object.
8353
8354Most TBDs in comments within the source code have been resolved
8355and eliminated.
8356
8357
8358Fixed a problem in the interpreter where a standalone parent
8359prefix (^) was not handled correctly in the interpreter and
8360debugger.
8361
8362Removed obsolete and unnecessary GPE save/restore code.
8363
8364Implemented Field support in the ASL Load operator.  This allows a
8365table to be loaded from a named field, in addition to loading a
8366table directly from an Operation Region.
8367
8368Implemented timeout and handle support in the external Global Lock
8369interfaces.
8370
8371Fixed a problem in the AcpiDump utility where pathnames were no
8372longer being generated correctly during the dump of named objects.
8373
8374Modified the AML debugger to give a full display of if/while
8375predicates instead of just one AML opcode at a time.  (The
8376predicate can have several nested ASL statements.)  The old method
8377was confusing during single stepping.
8378
8379Code and Data Size: Current core subsystem library sizes are shown
8380below. These are the code and data sizes for the acpica.lib
8381produced by the Microsoft Visual C++ 6.0 compiler, and these
8382values do not include any ACPI driver or OSPM code.  The debug
8383version of the code includes the debug output trace mechanism and
8384has a larger code and data size.  Note that these values will vary
8385depending on the efficiency of the compiler and the compiler
8386options used during generation.
8387
8388  Previous Release (12_18_01)
8389     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
8390     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
8391   Current Release:
8392     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8393     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8394
83952) Linux
8396
8397 Implemented fix for PIIX reverse throttling errata (Processor
8398driver)
8399
8400Added new Limit interface (Processor and Thermal drivers)
8401
8402New thermal policy (Thermal driver)
8403
8404Many updates to /proc
8405
8406Battery "low" event support (Battery driver)
8407
8408Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
8409
8410IA32 - IA64 initialization unification, no longer experimental
8411
8412Menuconfig options redesigned
8413
84143) ASL Compiler, version X2037:
8415
8416Implemented several new output features to simplify integration of
8417AML code into  firmware: 1) Output the AML in C source code with
8418labels for each named ASL object.  The    original ASL source code
8419is interleaved as C comments. 2) Output the AML in ASM source code
8420with labels and interleaved ASL    source. 3) Output the AML in
8421raw hex table form, in either C or ASM.
8422
8423Implemented support for optional string parameters to the
8424LoadTable operator.
8425
8426Completed support for embedded escape sequences within string
8427literals.  The compiler now supports all single character escapes
8428as well as the Octal and Hex escapes.  Note: the insertion of a
8429null byte into a string literal (via the hex/octal escape) causes
8430the string to be immediately terminated.  A warning is issued.
8431
8432Fixed a problem where incorrect AML was generated for the case
8433where an ASL namepath consists of a single parent prefix (
8434
8435) with no trailing name segments.
8436
8437The compiler has been successfully generated with a 64-bit C
8438compiler.
8439
8440
8441
8442
8443----------------------------------------
8444Summary of changes for this label: 12_18_01
8445
84461) Linux
8447
8448Enhanced blacklist with reason and severity fields. Any table's
8449signature may now be used to identify a blacklisted system.
8450
8451Call _PIC control method to inform the firmware which interrupt
8452model the OS is using. Turn on any disabled link devices.
8453
8454Cleaned up busmgr /proc error handling (Andreas Dilger)
8455
8456 2) ACPI CA Core Subsystem:
8457
8458Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
8459while loop)
8460
8461Completed implementation of the ACPI 2.0 "Continue",
8462"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
8463operators.  All new ACPI 2.0 operators are now implemented in both
8464the ASL compiler and the AML interpreter.  The only remaining ACPI
84652.0 task is support for the String data type in the DerefOf
8466operator.  Fixed a problem with AcquireMutex where the status code
8467was lost if the caller had to actually wait for the mutex.
8468
8469Increased the maximum ASL Field size from 64K bits to 4G bits.
8470
8471Completed implementation of the external Global Lock interfaces --
8472AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
8473Handler parameters were added.
8474
8475Completed another pass at removing warnings and issues when
8476compiling with 64-bit compilers.  The code now compiles cleanly
8477with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
8478add and subtract (diff) macros have changed considerably.
8479
8480
8481Created and deployed a new ACPI_SIZE type that is 64-bits wide on
848264-bit platforms, 32-bits on all others.  This type is used
8483wherever memory allocation and/or the C sizeof() operator is used,
8484and affects the OSL memory allocation interfaces AcpiOsAllocate
8485and AcpiOsCallocate.
8486
8487Implemented sticky user breakpoints in the AML debugger.
8488
8489Code and Data Size: Current core subsystem library sizes are shown
8490below. These are the code and data sizes for the acpica.lib
8491produced by the Microsoft Visual C++ 6.0 compiler, and these
8492values do not include any ACPI driver or OSPM code.  The debug
8493version of the code includes the debug output trace mechanism and
8494has a larger code and data size. Note that these values will vary
8495depending on the efficiency of the compiler and the compiler
8496options used during generation.
8497
8498  Previous Release (12_05_01)
8499     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
8500     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
8501   Current Release:
8502     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
8503     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
8504
8505 3) ASL Compiler, version X2034:
8506
8507Now checks for (and generates an error if detected) the use of a
8508Break or Continue statement without an enclosing While statement.
8509
8510
8511Successfully generated the compiler with the Intel 64-bit C
8512compiler.
8513
8514 ----------------------------------------
8515Summary of changes for this label: 12_05_01
8516
8517 1) ACPI CA Core Subsystem:
8518
8519The ACPI 2.0 CopyObject operator is fully implemented.  This
8520operator creates a new copy of an object (and is also used to
8521bypass the "implicit conversion" mechanism of the Store operator.)
8522
8523The ACPI 2.0 semantics for the SizeOf operator are fully
8524implemented.  The change is that performing a SizeOf on a
8525reference object causes an automatic dereference of the object to
8526tha actual value before the size is evaluated. This behavior was
8527undefined in ACPI 1.0.
8528
8529The ACPI 2.0 semantics for the Extended IRQ resource descriptor
8530have been implemented.  The interrupt polarity and mode are now
8531independently set.
8532
8533Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
8534appearing in Package objects were not properly converted to
8535integers when the internal Package was converted to an external
8536object (via the AcpiEvaluateObject interface.)
8537
8538Fixed a problem with the namespace object deletion mechanism for
8539objects created by control methods.  There were two parts to this
8540problem: 1) Objects created during the initialization phase method
8541parse were not being deleted, and 2) The object owner ID mechanism
8542to track objects was broken.
8543
8544Fixed a problem where the use of the ASL Scope operator within a
8545control method would result in an invalid opcode exception.
8546
8547Fixed a problem introduced in the previous label where the buffer
8548length required for the _PRT structure was not being returned
8549correctly.
8550
8551Code and Data Size: Current core subsystem library sizes are shown
8552below. These are the code and data sizes for the acpica.lib
8553produced by the Microsoft Visual C++ 6.0 compiler, and these
8554values do not include any ACPI driver or OSPM code.  The debug
8555version of the code includes the debug output trace mechanism and
8556has a larger code and data size.  Note that these values will vary
8557depending on the efficiency of the compiler and the compiler
8558options used during generation.
8559
8560  Previous Release (11_20_01)
8561     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
8562     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
8563
8564  Current Release:
8565     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
8566     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
8567
8568 2) Linux:
8569
8570Updated all files to apply cleanly against 2.4.16.
8571
8572Added basic PCI Interrupt Routing Table (PRT) support for IA32
8573(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
8574version supports both static and dyanmic PRT entries, but dynamic
8575entries are treated as if they were static (not yet
8576reconfigurable).  Architecture- specific code to use this data is
8577absent on IA32 but should be available shortly.
8578
8579Changed the initialization sequence to start the ACPI interpreter
8580(acpi_init) prior to initialization of the PCI driver (pci_init)
8581in init/main.c.  This ordering is required to support PRT and
8582facilitate other (future) enhancement.  A side effect is that the
8583ACPI bus driver and certain device drivers can no longer be loaded
8584as modules.
8585
8586Modified the 'make menuconfig' options to allow PCI Interrupt
8587Routing support to be included without the ACPI Bus and other
8588device drivers.
8589
8590 3) ASL Compiler, version X2033:
8591
8592Fixed some issues with the use of the new CopyObject and
8593DataTableRegion operators.  Both are fully functional.
8594
8595 ----------------------------------------
8596Summary of changes for this label: 11_20_01
8597
8598 20 November 2001.  Summary of changes for this release.
8599
8600 1) ACPI CA Core Subsystem:
8601
8602Updated Index support to match ACPI 2.0 semantics.  Storing a
8603Integer, String, or Buffer to an Index of a Buffer will store only
8604the least-significant byte of the source to the Indexed buffer
8605byte.  Multiple writes are not performed.
8606
8607Fixed a problem where the access type used in an AccessAs ASL
8608operator was not recorded correctly into the field object.
8609
8610Fixed a problem where ASL Event objects were created in a
8611signalled state. Events are now created in an unsignalled state.
8612
8613The internal object cache is now purged after table loading and
8614initialization to reduce the use of dynamic kernel memory -- on
8615the assumption that object use is greatest during the parse phase
8616of the entire table (versus the run-time use of individual control
8617methods.)
8618
8619ACPI 2.0 variable-length packages are now fully operational.
8620
8621Code and Data Size: Code and Data optimizations have permitted new
8622feature development with an actual reduction in the library size.
8623Current core subsystem library sizes are shown below.  These are
8624the code and data sizes for the acpica.lib produced by the
8625Microsoft Visual C++ 6.0 compiler, and these values do not include
8626any ACPI driver or OSPM code.  The debug version of the code
8627includes the debug output trace mechanism and has a larger code
8628and data size.  Note that these values will vary depending on the
8629efficiency of the compiler and the compiler options used during
8630generation.
8631
8632  Previous Release (11_09_01):
8633     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
8634     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
8635
8636  Current Release:
8637     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
8638     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
8639
8640 2) Linux:
8641
8642Enhanced the ACPI boot-time initialization code to allow the use
8643of Local APIC tables for processor enumeration on IA-32, and to
8644pave the way for a fully MPS-free boot (on SMP systems) in the
8645near future.  This functionality replaces
8646arch/i386/kernel/acpitables.c, which was introduced in an earlier
86472.4.15-preX release.  To enable this feature you must add
8648"acpi_boot=on" to the kernel command line -- see the help entry
8649for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
8650the works...
8651
8652Restructured the configuration options to allow boot-time table
8653parsing support without inclusion of the ACPI Interpreter (and
8654other) code.
8655
8656NOTE: This release does not include fixes for the reported events,
8657power-down, and thermal passive cooling issues (coming soon).
8658
8659 3) ASL Compiler:
8660
8661Added additional typechecking for Fields within restricted access
8662Operation Regions.  All fields within EC and CMOS regions must be
8663declared with ByteAcc. All fields withing SMBus regions must be
8664declared with the BufferAcc access type.
8665
8666Fixed a problem where the listing file output of control methods
8667no longer interleaved the actual AML code with the ASL source
8668code.
8669
8670
8671
8672
8673----------------------------------------
8674Summary of changes for this label: 11_09_01
8675
86761) ACPI CA Core Subsystem:
8677
8678Implemented ACPI 2.0-defined support for writes to fields with a
8679Buffer, String, or Integer source operand that is smaller than the
8680target field. In these cases, the source operand is zero-extended
8681to fill the target field.
8682
8683Fixed a problem where a Field starting bit offset (within the
8684parent operation region) was calculated incorrectly if the
8685
8686alignment of the field differed from the access width.  This
8687affected CreateWordField, CreateDwordField, CreateQwordField, and
8688possibly other fields that use the "AccessAny" keyword.
8689
8690Fixed a problem introduced in the 11_02_01 release where indirect
8691stores through method arguments did not operate correctly.
8692
86932) Linux:
8694
8695Implemented boot-time ACPI table parsing support
8696(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
8697facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
8698legacy BIOS interfaces (e.g. MPS) for the configuration of system
8699processors, memory, and interrupts during setup_arch().  Note that
8700this patch does not include the required architecture-specific
8701changes required to apply this information -- subsequent patches
8702will be posted for both IA32 and IA64 to achieve this.
8703
8704Added low-level sleep support for IA32 platforms, courtesy of Pat
8705Mochel. This allows IA32 systems to transition to/from various
8706sleeping states (e.g. S1, S3), although the lack of a centralized
8707driver model and power-manageable drivers will prevent its
8708(successful) use on most systems.
8709
8710Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
8711submenu, unified IA32 and IA64 options, added new "Boot using ACPI
8712tables" option, etc.
8713
8714Increased the default timeout for the EC driver from 1ms to 10ms
8715(1000 cycles of 10us) to try to address AE_TIME errors during EC
8716transactions.
8717
8718 ----------------------------------------
8719Summary of changes for this label: 11_02_01
8720
87211) ACPI CA Core Subsystem:
8722
8723ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
8724(QWordAcc keyword). All ACPI 2.0 64-bit support is now
8725implemented.
8726
8727OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
8728changes to support ACPI 2.0 Qword field access.  Read/Write
8729PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
8730accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
8731the value parameter for the address space handler interface is now
8732an ACPI_INTEGER.  OSL implementations of these interfaces must now
8733handle the case where the Width parameter is 64.
8734
8735Index Fields: Fixed a problem where unaligned bit assembly and
8736disassembly for IndexFields was not supported correctly.
8737
8738Index and Bank Fields:  Nested Index and Bank Fields are now
8739supported. During field access, a check is performed to ensure
8740that the value written to an Index or Bank register is not out of
8741the range of the register.  The Index (or Bank) register is
8742written before each access to the field data. Future support will
8743include allowing individual IndexFields to be wider than the
8744DataRegister width.
8745
8746Fields: Fixed a problem where the AML interpreter was incorrectly
8747attempting to write beyond the end of a Field/OpRegion.  This was
8748a boundary case that occurred when a DWORD field was written to a
8749BYTE access OpRegion, forcing multiple writes and causing the
8750interpreter to write one datum too many.
8751
8752Fields: Fixed a problem with Field/OpRegion access where the
8753starting bit address of a field was incorrectly calculated if the
8754current access type was wider than a byte (WordAcc, DwordAcc, or
8755QwordAcc).
8756
8757Fields: Fixed a problem where forward references to individual
8758FieldUnits (individual Field names within a Field definition) were
8759not resolved during the AML table load.
8760
8761Fields: Fixed a problem where forward references from a Field
8762definition to the parent Operation Region definition were not
8763resolved during the AML table load.
8764
8765Fields: Duplicate FieldUnit names within a scope are now detected
8766during AML table load.
8767
8768Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
8769returned an incorrect name for the root node.
8770
8771Code and Data Size: Code and Data optimizations have permitted new
8772feature development with an actual reduction in the library size.
8773Current core subsystem library sizes are shown below.  These are
8774the code and data sizes for the acpica.lib produced by the
8775Microsoft Visual C++ 6.0 compiler, and these values do not include
8776any ACPI driver or OSPM code.  The debug version of the code
8777includes the debug output trace mechanism and has a larger code
8778and data size.  Note that these values will vary depending on the
8779efficiency of the compiler and the compiler options used during
8780generation.
8781
8782  Previous Release (10_18_01):
8783     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
8784     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
8785
8786  Current Release:
8787     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
8788     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
8789
8790 2) Linux:
8791
8792Improved /proc processor output (Pavel Machek) Re-added
8793MODULE_LICENSE("GPL") to all modules.
8794
8795 3) ASL Compiler version X2030:
8796
8797Duplicate FieldUnit names within a scope are now detected and
8798flagged as errors.
8799
8800 4) Documentation:
8801
8802Programmer Reference updated to reflect OSL and address space
8803handler interface changes described above.
8804
8805----------------------------------------
8806Summary of changes for this label: 10_18_01
8807
8808ACPI CA Core Subsystem:
8809
8810Fixed a problem with the internal object reference count mechanism
8811that occasionally caused premature object deletion. This resolves
8812all of the outstanding problem reports where an object is deleted
8813in the middle of an interpreter evaluation.  Although this problem
8814only showed up in rather obscure cases, the solution to the
8815problem involved an adjustment of all reference counts involving
8816objects attached to namespace nodes.
8817
8818Fixed a problem with Field support in the interpreter where
8819writing to an aligned field whose length is an exact multiple (2
8820or greater) of the field access granularity would cause an attempt
8821to write beyond the end of the field.
8822
8823The top level AML opcode execution functions within the
8824interpreter have been renamed with a more meaningful and
8825consistent naming convention.  The modules exmonad.c and
8826exdyadic.c were eliminated.  New modules are exoparg1.c,
8827exoparg2.c, exoparg3.c, and exoparg6.c.
8828
8829Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
8830
8831Fixed a problem where the AML debugger was causing some internal
8832objects to not be deleted during subsystem termination.
8833
8834Fixed a problem with the external AcpiEvaluateObject interface
8835where the subsystem would fault if the named object to be
8836evaluated refered to a constant such as Zero, Ones, etc.
8837
8838Fixed a problem with IndexFields and BankFields where the
8839subsystem would fault if the index, data, or bank registers were
8840not defined in the same scope as the field itself.
8841
8842Added printf format string checking for compilers that support
8843this feature.  Corrected more than 50 instances of issues with
8844format specifiers within invocations of ACPI_DEBUG_PRINT
8845throughout the core subsystem code.
8846
8847The ASL "Revision" operator now returns the ACPI support level
8848implemented in the core - the value "2" since the ACPI 2.0 support
8849is more than 50% implemented.
8850
8851Enhanced the output of the AML debugger "dump namespace" command
8852to output in a more human-readable form.
8853
8854Current core subsystem library code sizes are shown below.  These
8855
8856are the code and data sizes for the acpica.lib produced by the
8857Microsoft Visual C++ 6.0 compiler, and these values do not include
8858any ACPI driver or OSPM code.  The debug version of the code
8859includes the full debug trace mechanism -- leading to a much
8860
8861larger code and data size.  Note that these values will vary
8862depending on the efficiency of the compiler and the compiler
8863options used during generation.
8864
8865     Previous Label (09_20_01):
8866     Non-Debug Version:    65K Code,     5K Data,     70K Total
8867     Debug Version:       138K Code,    58K Data,    196K Total
8868
8869     This Label:
8870
8871     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
8872     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
8873
8874Linux:
8875
8876Implemented a "Bad BIOS Blacklist" to track machines that have
8877known ASL/AML problems.
8878
8879Enhanced the /proc interface for the thermal zone driver and added
8880support for _HOT (the critical suspend trip point).  The 'info'
8881file now includes threshold/policy information, and allows setting
8882of _SCP (cooling preference) and _TZP (polling frequency) values
8883to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
8884frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
8885preference to the passive/quiet mode (if supported by the ASL).
8886
8887Implemented a workaround for a gcc bug that resuted in an OOPs
8888when loading the control method battery driver.
8889
8890 ----------------------------------------
8891Summary of changes for this label: 09_20_01
8892
8893 ACPI CA Core Subsystem:
8894
8895The AcpiEnableEvent and AcpiDisableEvent interfaces have been
8896modified to allow individual GPE levels to be flagged as wake-
8897enabled (i.e., these GPEs are to remain enabled when the platform
8898sleeps.)
8899
8900The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
8901support wake-enabled GPEs.  This means that upon entering the
8902sleep state, all GPEs that are not wake-enabled are disabled.
8903When leaving the sleep state, these GPEs are reenabled.
8904
8905A local double-precision divide/modulo module has been added to
8906enhance portability to OS kernels where a 64-bit math library is
8907not available.  The new module is "utmath.c".
8908
8909Several optimizations have been made to reduce the use of CPU
8910stack.  Originally over 2K, the maximum stack usage is now below
89112K at 1860  bytes (1.82k)
8912
8913Fixed a problem with the AcpiGetFirmwareTable interface where the
8914root table pointer was not mapped into a logical address properly.
8915
8916Fixed a problem where a NULL pointer was being dereferenced in the
8917interpreter code for the ASL Notify operator.
8918
8919Fixed a problem where the use of the ASL Revision operator
8920returned an error. This operator now returns the current version
8921of the ACPI CA core subsystem.
8922
8923Fixed a problem where objects passed as control method parameters
8924to AcpiEvaluateObject were always deleted at method termination.
8925However, these objects may end up being stored into the namespace
8926by the called method.  The object reference count mechanism was
8927applied to these objects instead of a force delete.
8928
8929Fixed a problem where static strings or buffers (contained in the
8930AML code) that are declared as package elements within the ASL
8931code could cause a fault because the interpreter would attempt to
8932delete them.  These objects are now marked with the "static
8933object" flag to prevent any attempt to delete them.
8934
8935Implemented an interpreter optimization to use operands directly
8936from the state object instead of extracting the operands to local
8937variables.  This reduces stack use and code size, and improves
8938performance.
8939
8940The module exxface.c was eliminated as it was an unnecessary extra
8941layer of code.
8942
8943Current core subsystem library code sizes are shown below.  These
8944are the code and data sizes for the acpica.lib produced by the
8945Microsoft Visual C++ 6.0 compiler, and these values do not include
8946any ACPI driver or OSPM code.  The debug version of the code
8947includes the full debug trace mechanism -- leading to a much
8948larger code and data size.  Note that these values will vary
8949depending on the efficiency of the compiler and the compiler
8950options used during generation.
8951
8952  Non-Debug Version:  65K Code,   5K Data,   70K Total
8953(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
8954Total  (Previously 195K)
8955
8956Linux:
8957
8958Support for ACPI 2.0 64-bit integers has been added.   All ACPI
8959Integer objects are now 64 bits wide
8960
8961All Acpi data types and structures are now in lower case.  Only
8962Acpi macros are upper case for differentiation.
8963
8964 Documentation:
8965
8966Changes to the external interfaces as described above.
8967
8968 ----------------------------------------
8969Summary of changes for this label: 08_31_01
8970
8971 ACPI CA Core Subsystem:
8972
8973A bug with interpreter implementation of the ASL Divide operator
8974was found and fixed.  The implicit function return value (not the
8975explicit store operands) was returning the remainder instead of
8976the quotient.  This was a longstanding bug and it fixes several
8977known outstanding issues on various platforms.
8978
8979The ACPI_DEBUG_PRINT and function trace entry/exit macros have
8980been further optimized for size.  There are 700 invocations of the
8981DEBUG_PRINT macro alone, so each optimization reduces the size of
8982the debug version of the subsystem significantly.
8983
8984A stack trace mechanism has been implemented.  The maximum stack
8985usage is about 2K on 32-bit platforms.  The debugger command "stat
8986stack" will display the current maximum stack usage.
8987
8988All public symbols and global variables within the subsystem are
8989now prefixed with the string "Acpi".  This keeps all of the
8990symbols grouped together in a kernel map, and avoids conflicts
8991with other kernel subsystems.
8992
8993Most of the internal fixed lookup tables have been moved into the
8994code segment via the const operator.
8995
8996Several enhancements have been made to the interpreter to both
8997reduce the code size and improve performance.
8998
8999Current core subsystem library code sizes are shown below.  These
9000are the code and data sizes for the acpica.lib produced by the
9001Microsoft Visual C++ 6.0 compiler, and these values do not include
9002any ACPI driver or OSPM code.  The debug version of the code
9003includes the full debug trace mechanism which contains over 700
9004invocations of the DEBUG_PRINT macro, 500 function entry macro
9005invocations, and over 900 function exit macro invocations --
9006leading to a much larger code and data size.  Note that these
9007values will vary depending on the efficiency of the compiler and
9008the compiler options used during generation.
9009
9010        Non-Debug Version:  64K Code,   5K Data,   69K Total
9011Debug Version:     137K Code,  58K Data,  195K Total
9012
9013 Linux:
9014
9015Implemented wbinvd() macro, pending a kernel-wide definition.
9016
9017Fixed /proc/acpi/event to handle poll() and short reads.
9018
9019 ASL Compiler, version X2026:
9020
9021Fixed a problem introduced in the previous label where the AML
9022
9023code emitted for package objects produced packages with zero
9024length.
9025
9026 ----------------------------------------
9027Summary of changes for this label: 08_16_01
9028
9029ACPI CA Core Subsystem:
9030
9031The following ACPI 2.0 ASL operators have been implemented in the
9032AML interpreter (These are already supported by the Intel ASL
9033compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
9034ToBuffer.  Support for 64-bit AML constants is implemented in the
9035AML parser, debugger, and disassembler.
9036
9037The internal memory tracking mechanism (leak detection code) has
9038been upgraded to reduce the memory overhead (a separate tracking
9039block is no longer allocated for each memory allocation), and now
9040supports all of the internal object caches.
9041
9042The data structures and code for the internal object caches have
9043been coelesced and optimized so that there is a single cache and
9044memory list data structure and a single group of functions that
9045implement generic cache management.  This has reduced the code
9046size in both the debug and release versions of the subsystem.
9047
9048The DEBUG_PRINT macro(s) have been optimized for size and replaced
9049by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
9050different, because it generates a single call to an internal
9051function.  This results in a savings of about 90 bytes per
9052invocation, resulting in an overall code and data savings of about
905316% in the debug version of the subsystem.
9054
9055 Linux:
9056
9057Fixed C3 disk corruption problems and re-enabled C3 on supporting
9058machines.
9059
9060Integrated low-level sleep code by Patrick Mochel.
9061
9062Further tweaked source code Linuxization.
9063
9064Other minor fixes.
9065
9066 ASL Compiler:
9067
9068Support for ACPI 2.0 variable length packages is fixed/completed.
9069
9070Fixed a problem where the optional length parameter for the ACPI
90712.0 ToString operator.
9072
9073Fixed multiple extraneous error messages when a syntax error is
9074detected within the declaration line of a control method.
9075
9076 ----------------------------------------
9077Summary of changes for this label: 07_17_01
9078
9079ACPI CA Core Subsystem:
9080
9081Added a new interface named AcpiGetFirmwareTable to obtain any
9082ACPI table via the ACPI signature.  The interface can be called at
9083any time during kernel initialization, even before the kernel
9084virtual memory manager is initialized and paging is enabled.  This
9085allows kernel subsystems to obtain ACPI tables very early, even
9086before the ACPI CA subsystem is initialized.
9087
9088Fixed a problem where Fields defined with the AnyAcc attribute
9089could be resolved to the incorrect address under the following
9090conditions: 1) the field width is larger than 8 bits and 2) the
9091parent operation region is not defined on a DWORD boundary.
9092
9093Fixed a problem where the interpreter is not being locked during
9094namespace initialization (during execution of the _INI control
9095methods), causing an error when an attempt is made to release it
9096later.
9097
9098ACPI 2.0 support in the AML Interpreter has begun and will be
9099ongoing throughout the rest of this year.  In this label, The Mod
9100operator is implemented.
9101
9102Added a new data type to contain full PCI addresses named
9103ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
9104and Function values.
9105
9106 Linux:
9107
9108Enhanced the Linux version of the source code to change most
9109capitalized ACPI type names to lowercase. For example, all
9110instances of ACPI_STATUS are changed to acpi_status.  This will
9111result in a large diff, but the change is strictly cosmetic and
9112aligns the CA code closer to the Linux coding standard.
9113
9114OSL Interfaces:
9115
9116The interfaces to the PCI configuration space have been changed to
9117add the PCI Segment number and to split the single 32-bit combined
9118DeviceFunction field into two 16-bit fields.  This was
9119accomplished by moving the four values that define an address in
9120PCI configuration space (segment, bus, device, and function) to
9121the new ACPI_PCI_ID structure.
9122
9123The changes to the PCI configuration space interfaces led to a
9124reexamination of the complete set of address space access
9125interfaces for PCI, I/O, and Memory.  The previously existing 18
9126interfaces have proven difficult to maintain (any small change
9127must be propagated across at least 6 interfaces) and do not easily
9128allow for future expansion to 64 bits if necessary.  Also, on some
9129systems, it would not be appropriate to demultiplex the access
9130width (8, 16, 32,or 64) before calling the OSL if the
9131corresponding native OS interfaces contain a similar access width
9132parameter.  For these reasons, the 18 address space interfaces
9133have been replaced by these 6 new ones:
9134
9135AcpiOsReadPciConfiguration
9136AcpiOsWritePciConfiguration
9137AcpiOsReadMemory
9138AcpiOsWriteMemory
9139AcpiOsReadPort
9140AcpiOsWritePort
9141
9142Added a new interface named AcpiOsGetRootPointer to allow the OSL
9143to perform the platform and/or OS-specific actions necessary to
9144obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
9145interface will simply call down to the CA core to perform the low-
9146memory search for the table.  On IA-64, the RSDP is obtained from
9147EFI.  Migrating this interface to the OSL allows the CA core to
9148
9149remain OS and platform independent.
9150
9151Added a new interface named AcpiOsSignal to provide a generic
9152"function code and pointer" interface for various miscellaneous
9153signals and notifications that must be made to the host OS.   The
9154first such signals are intended to support the ASL Fatal and
9155Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
9156interface has been obsoleted.
9157
9158The definition of the AcpiFormatException interface has been
9159changed to simplify its use.  The caller no longer must supply a
9160buffer to the call; A pointer to a const string is now returned
9161directly.  This allows the call to be easily used in printf
9162statements, etc. since the caller does not have to manage a local
9163buffer.
9164
9165
9166 ASL Compiler, Version X2025:
9167
9168The ACPI 2.0 Switch/Case/Default operators have been implemented
9169and are fully functional.  They will work with all ACPI 1.0
9170interpreters, since the operators are simply translated to If/Else
9171pairs.
9172
9173The ACPI 2.0 ElseIf operator is implemented and will also work
9174with 1.0 interpreters, for the same reason.
9175
9176Implemented support for ACPI 2.0 variable-length packages.  These
9177packages have a separate opcode, and their size is determined by
9178the interpreter at run-time.
9179
9180Documentation The ACPI CA Programmer Reference has been updated to
9181reflect the new interfaces and changes to existing interfaces.
9182
9183 ------------------------------------------
9184Summary of changes for this label: 06_15_01
9185
9186 ACPI CA Core Subsystem:
9187
9188Fixed a problem where a DWORD-accessed field within a Buffer
9189object would get its byte address inadvertently rounded down to
9190the nearest DWORD.  Buffers are always Byte-accessible.
9191
9192 ASL Compiler, version X2024:
9193
9194Fixed a problem where the Switch() operator would either fault or
9195hang the compiler.  Note however, that the AML code for this ACPI
91962.0 operator is not yet implemented.
9197
9198Compiler uses the new AcpiOsGetTimer interface to obtain compile
9199timings.
9200
9201Implementation of the CreateField operator automatically converts
9202a reference to a named field within a resource descriptor from a
9203byte offset to a bit offset if required.
9204
9205Added some missing named fields from the resource descriptor
9206support. These are the names that are automatically created by the
9207compiler to reference fields within a descriptor.  They are only
9208valid at compile time and are not passed through to the AML
9209interpreter.
9210
9211Resource descriptor named fields are now typed as Integers and
9212subject to compile-time typechecking when used in expressions.
9213
9214 ------------------------------------------
9215Summary of changes for this label: 05_18_01
9216
9217 ACPI CA Core Subsystem:
9218
9219Fixed a couple of problems in the Field support code where bits
9220from adjacent fields could be returned along with the proper field
9221bits. Restructured the field support code to improve performance,
9222readability and maintainability.
9223
9224New DEBUG_PRINTP macro automatically inserts the procedure name
9225into the output, saving hundreds of copies of procedure name
9226strings within the source, shrinking the memory footprint of the
9227debug version of the core subsystem.
9228
9229 Source Code Structure:
9230
9231The source code directory tree was restructured to reflect the
9232current organization of the component architecture.  Some files
9233and directories have been moved and/or renamed.
9234
9235 Linux:
9236
9237Fixed leaking kacpidpc processes.
9238
9239Fixed queueing event data even when /proc/acpi/event is not
9240opened.
9241
9242 ASL Compiler, version X2020:
9243
9244Memory allocation performance enhancement - over 24X compile time
9245improvement on large ASL files.  Parse nodes and namestring
9246buffers are now allocated from a large internal compiler buffer.
9247
9248The temporary .SRC file is deleted unless the "-s" option is
9249specified
9250
9251The "-d" debug output option now sends all output to the .DBG file
9252instead of the console.
9253
9254"External" second parameter is now optional
9255
9256"ElseIf" syntax now properly allows the predicate
9257
9258Last operand to "Load" now recognized as a Target operand
9259
9260Debug object can now be used anywhere as a normal object.
9261
9262ResourceTemplate now returns an object of type BUFFER
9263
9264EISAID now returns an object of type INTEGER
9265
9266"Index" now works with a STRING operand
9267
9268"LoadTable" now accepts optional parameters
9269
9270"ToString" length parameter is now optional
9271
9272"Interrupt (ResourceType," parse error fixed.
9273
9274"Register" with a user-defined region space parse error fixed
9275
9276Escaped backslash at the end of a string ("\\") scan/parse error
9277fixed
9278
9279"Revision" is now an object of type INTEGER.
9280
9281
9282
9283------------------------------------------
9284Summary of changes for this label: 05_02_01
9285
9286Linux:
9287
9288/proc/acpi/event now blocks properly.
9289
9290Removed /proc/sys/acpi. You can still dump your DSDT from
9291/proc/acpi/dsdt.
9292
9293 ACPI CA Core Subsystem:
9294
9295Fixed a problem introduced in the previous label where some of the
9296"small" resource descriptor types were not recognized.
9297
9298Improved error messages for the case where an ASL Field is outside
9299the range of the parent operation region.
9300
9301 ASL Compiler, version X2018:
9302
9303
9304Added error detection for ASL Fields that extend beyond the length
9305of the parent operation region (only if the length of the region
9306is known at compile time.)  This includes fields that have a
9307minimum access width that is smaller than the parent region, and
9308individual field units that are partially or entirely beyond the
9309extent of the parent.
9310
9311
9312
9313------------------------------------------
9314Summary of changes for this label: 04_27_01
9315
9316 ACPI CA Core Subsystem:
9317
9318Fixed a problem where the namespace mutex could be released at the
9319wrong time during execution of AcpiRemoveAddressSpaceHandler.
9320
9321Added optional thread ID output for debug traces, to simplify
9322debugging of multiple threads.  Added context switch notification
9323when the debug code realizes that a different thread is now
9324executing ACPI code.
9325
9326Some additional external data types have been prefixed with the
9327string "ACPI_" for consistency.  This may effect existing code.
9328The data types affected are the external callback typedefs - e.g.,
9329
9330WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
9331
9332 Linux:
9333
9334Fixed an issue with the OSL semaphore implementation where a
9335thread was waking up with an error from receiving a SIGCHLD
9336signal.
9337
9338Linux version of ACPI CA now uses the system C library for string
9339manipulation routines instead of a local implementation.
9340
9341Cleaned up comments and removed TBDs.
9342
9343 ASL Compiler, version X2017:
9344
9345Enhanced error detection and reporting for all file I/O
9346operations.
9347
9348 Documentation:
9349
9350Programmer Reference updated to version 1.06.
9351
9352
9353
9354------------------------------------------
9355Summary of changes for this label: 04_13_01
9356
9357 ACPI CA Core Subsystem:
9358
9359Restructured support for BufferFields and RegionFields.
9360BankFields support is now fully operational.  All known 32-bit
9361limitations on field sizes have been removed.  Both BufferFields
9362and (Operation) RegionFields are now supported by the same field
9363management code.
9364
9365Resource support now supports QWORD address and IO resources. The
936616/32/64 bit address structures and the Extended IRQ structure
9367have been changed to properly handle Source Resource strings.
9368
9369A ThreadId of -1 is now used to indicate a "mutex not acquired"
9370condition internally and must never be returned by AcpiOsThreadId.
9371This reserved value was changed from 0 since Unix systems allow a
9372thread ID of 0.
9373
9374Linux:
9375
9376Driver code reorganized to enhance portability
9377
9378Added a kernel configuration option to control ACPI_DEBUG
9379
9380Fixed the EC driver to honor _GLK.
9381
9382ASL Compiler, version X2016:
9383
9384Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
9385address space was set to 0, not 0x7f as it should be.
9386
9387 ------------------------------------------
9388Summary of changes for this label: 03_13_01
9389
9390 ACPI CA Core Subsystem:
9391
9392During ACPI initialization, the _SB_._INI method is now run if
9393present.
9394
9395Notify handler fix - notifies are deferred until the parent method
9396completes execution.  This fixes the "mutex already acquired"
9397issue seen occasionally.
9398
9399Part of the "implicit conversion" rules in ACPI 2.0 have been
9400found to cause compatibility problems with existing ASL/AML.  The
9401convert "result-to-target-type" implementation has been removed
9402for stores to method Args and Locals.  Source operand conversion
9403is still fully implemented.  Possible changes to ACPI 2.0
9404specification pending.
9405
9406Fix to AcpiRsCalculatePciRoutingTableLength to return correct
9407length.
9408
9409Fix for compiler warnings for 64-bit compiles.
9410
9411 Linux:
9412
9413/proc output aligned for easier parsing.
9414
9415Release-version compile problem fixed.
9416
9417New kernel configuration options documented in Configure.help.
9418
9419IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
9420context" message.
9421
9422 OSPM:
9423
9424Power resource driver integrated with bus manager.
9425
9426Fixed kernel fault during active cooling for thermal zones.
9427
9428Source Code:
9429
9430The source code tree has been restructured.
9431
9432
9433
9434------------------------------------------
9435Summary of changes for this label: 03_02_01
9436
9437 Linux OS Services Layer (OSL):
9438
9439Major revision of all Linux-specific code.
9440
9441Modularized all ACPI-specific drivers.
9442
9443Added new thermal zone and power resource drivers.
9444
9445Revamped /proc interface (new functionality is under /proc/acpi).
9446
9447New kernel configuration options.
9448
9449 Linux known issues:
9450
9451New kernel configuration options not documented in Configure.help
9452yet.
9453
9454
9455Module dependencies not currently implemented. If used, they
9456should be loaded in this order: busmgr, power, ec, system,
9457processor, battery, ac_adapter, button, thermal.
9458
9459Modules will not load if CONFIG_MODVERSION is set.
9460
9461IBM 600E - entering S5 may reboot instead of shutting down.
9462
9463IBM 600E - Sleep button may generate "Invalid <NULL> context"
9464message.
9465
9466Some systems may fail with "execution mutex already acquired"
9467message.
9468
9469 ACPI CA Core Subsystem:
9470
9471Added a new OSL Interface, AcpiOsGetThreadId.  This was required
9472for the  deadlock detection code. Defined to return a non-zero, 32-
9473bit thread ID for the currently executing thread.  May be a non-
9474zero constant integer on single-thread systems.
9475
9476Implemented deadlock detection for internal subsystem mutexes.  We
9477may add conditional compilation for this code (debug only) later.
9478
9479ASL/AML Mutex object semantics are now fully supported.  This
9480includes multiple acquires/releases by owner and support for the
9481
9482Mutex SyncLevel parameter.
9483
9484A new "Force Release" mechanism automatically frees all ASL
9485Mutexes that have been acquired but not released when a thread
9486exits the interpreter.  This forces conformance to the ACPI spec
9487("All mutexes must be released when an invocation exits") and
9488prevents deadlocked ASL threads.  This mechanism can be expanded
9489(later) to monitor other resource acquisitions if OEM ASL code
9490continues to misbehave (which it will).
9491
9492Several new ACPI exception codes have been added for the Mutex
9493support.
9494
9495Recursive method calls are now allowed and supported (the ACPI
9496spec does in fact allow recursive method calls.)  The number of
9497recursive calls is subject to the restrictions imposed by the
9498SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
9499parameter.
9500
9501Implemented support for the SyncLevel parameter for control
9502methods (ACPI 2.0 feature)
9503
9504Fixed a deadlock problem when multiple threads attempted to use
9505the interpreter.
9506
9507Fixed a problem where the string length of a String package
9508element was not always set in a package returned from
9509AcpiEvaluateObject.
9510
9511Fixed a problem where the length of a String package element was
9512not always included in the length of the overall package returned
9513from AcpiEvaluateObject.
9514
9515Added external interfaces (Acpi*) to the ACPI debug memory
9516manager.  This manager keeps a list of all outstanding
9517allocations, and can therefore detect memory leaks and attempts to
9518free memory blocks more than once. Useful for code such as the
9519power manager, etc.  May not be appropriate for device drivers.
9520Performance with the debug code enabled is slow.
9521
9522The ACPI Global Lock is now an optional hardware element.
9523
9524 ASL Compiler Version X2015:
9525
9526Integrated changes to allow the compiler to be generated on
9527multiple platforms.
9528
9529Linux makefile added to generate the compiler on Linux
9530
9531 Source Code:
9532
9533All platform-specific headers have been moved to their own
9534subdirectory, Include/Platform.
9535
9536New source file added, Interpreter/ammutex.c
9537
9538New header file, Include/acstruct.h
9539
9540 Documentation:
9541
9542The programmer reference has been updated for the following new
9543interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
9544
9545 ------------------------------------------
9546Summary of changes for this label: 02_08_01
9547
9548Core ACPI CA Subsystem: Fixed a problem where an error was
9549incorrectly returned if the return resource buffer was larger than
9550the actual data (in the resource interfaces).
9551
9552References to named objects within packages are resolved to the
9553
9554full pathname string before packages are returned directly (via
9555the AcpiEvaluateObject interface) or indirectly via the resource
9556interfaces.
9557
9558Linux OS Services Layer (OSL):
9559
9560Improved /proc battery interface.
9561
9562
9563Added C-state debugging output and other miscellaneous fixes.
9564
9565ASL Compiler Version X2014:
9566
9567All defined method arguments can now be used as local variables,
9568including the ones that are not actually passed in as parameters.
9569The compiler tracks initialization of the arguments and issues an
9570exception if they are used without prior assignment (just like
9571locals).
9572
9573The -o option now specifies a filename prefix that is used for all
9574output files, including the AML output file.  Otherwise, the
9575default behavior is as follows:  1) the AML goes to the file
9576specified in the DSDT.  2) all other output files use the input
9577source filename as the base.
9578
9579 ------------------------------------------
9580Summary of changes for this label: 01_25_01
9581
9582Core ACPI CA Subsystem: Restructured the implementation of object
9583store support within the  interpreter.  This includes support for
9584the Store operator as well  as any ASL operators that include a
9585target operand.
9586
9587Partially implemented support for Implicit Result-to-Target
9588conversion. This is when a result object is converted on the fly
9589to the type of  an existing target object.  Completion of this
9590support is pending  further analysis of the ACPI specification
9591concerning this matter.
9592
9593CPU-specific code has been removed from the subsystem (hardware
9594directory).
9595
9596New Power Management Timer functions added
9597
9598Linux OS Services Layer (OSL): Moved system state transition code
9599to the core, fixed it, and modified  Linux OSL accordingly.
9600
9601Fixed C2 and C3 latency calculations.
9602
9603
9604We no longer use the compilation date for the version message on
9605initialization, but retrieve the version from AcpiGetSystemInfo().
9606
9607Incorporated for fix Sony VAIO machines.
9608
9609Documentation:  The Programmer Reference has been updated and
9610reformatted.
9611
9612
9613ASL Compiler:  Version X2013: Fixed a problem where the line
9614numbering and error reporting could get out  of sync in the
9615presence of multiple include files.
9616
9617 ------------------------------------------
9618Summary of changes for this label: 01_15_01
9619
9620Core ACPI CA Subsystem:
9621
9622Implemented support for type conversions in the execution of the
9623ASL  Concatenate operator (The second operand is converted to
9624match the type  of the first operand before concatenation.)
9625
9626Support for implicit source operand conversion is partially
9627implemented.   The ASL source operand types Integer, Buffer, and
9628String are freely  interchangeable for most ASL operators and are
9629converted by the interpreter  on the fly as required.  Implicit
9630Target operand conversion (where the  result is converted to the
9631target type before storing) is not yet implemented.
9632
9633Support for 32-bit and 64-bit BCD integers is implemented.
9634
9635Problem fixed where a field read on an aligned field could cause a
9636read  past the end of the field.
9637
9638New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
9639does not return a value, but the caller expects one.  (The ASL
9640compiler flags this as a warning.)
9641
9642ASL Compiler:
9643
9644Version X2011:
96451. Static typechecking of all operands is implemented. This
9646prevents the use of invalid objects (such as using a Package where
9647an Integer is required) at compile time instead of at interpreter
9648run-time.
96492. The ASL source line is printed with ALL errors and warnings.
96503. Bug fix for source EOF without final linefeed.
96514. Debug option is split into a parse trace and a namespace trace.
96525. Namespace output option (-n) includes initial values for
9653integers and strings.
96546. Parse-only option added for quick syntax checking.
96557. Compiler checks for duplicate ACPI name declarations
9656
9657Version X2012:
96581. Relaxed typechecking to allow interchangeability between
9659strings, integers, and buffers.  These types are now converted by
9660the interpreter at runtime.
96612. Compiler reports time taken by each internal subsystem in the
9662debug         output file.
9663
9664
9665 ------------------------------------------
9666Summary of changes for this label: 12_14_00
9667
9668ASL Compiler:
9669
9670This is the first official release of the compiler. Since the
9671compiler requires elements of the Core Subsystem, this label
9672synchronizes everything.
9673
9674------------------------------------------
9675Summary of changes for this label: 12_08_00
9676
9677
9678Fixed a problem where named references within the ASL definition
9679of both OperationRegions and CreateXXXFields did not work
9680properly.  The symptom was an AE_AML_OPERAND_TYPE during
9681initialization of the region/field. This is similar (but not
9682related internally) to the problem that was fixed in the last
9683label.
9684
9685Implemented both 32-bit and 64-bit support for the BCD ASL
9686functions ToBCD and FromBCD.
9687
9688Updated all legal headers to include "2000" in the copyright
9689years.
9690
9691 ------------------------------------------
9692Summary of changes for this label: 12_01_00
9693
9694Fixed a problem where method invocations within the ASL definition
9695of both OperationRegions and CreateXXXFields did not work
9696properly.  The symptom was an AE_AML_OPERAND_TYPE during
9697initialization of the region/field:
9698
9699  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
9700[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
9701(0x3005)
9702
9703Fixed a problem where operators with more than one nested
9704subexpression would fail.  The symptoms were varied, by mostly
9705AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
9706problem that has gone unnoticed until now.
9707
9708  Subtract (Add (1,2), Multiply (3,4))
9709
9710Fixed a problem where AcpiGetHandle didn't quite get fixed in the
9711previous build (The prefix part of a relative path was handled
9712incorrectly).
9713
9714Fixed a problem where Operation Region initialization failed if
9715the operation region name was a "namepath" instead of a simple
9716"nameseg". Symptom was an AE_NO_OPERAND error.
9717
9718Fixed a problem where an assignment to a local variable via the
9719indirect RefOf mechanism only worked for the first such
9720assignment.  Subsequent assignments were ignored.
9721
9722 ------------------------------------------
9723Summary of changes for this label: 11_15_00
9724
9725ACPI 2.0 table support with backwards support for ACPI 1.0 and the
97260.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
9727the AML  interpreter does NOT have support for the new 2.0 ASL
9728grammar terms at this time.
9729
9730All ACPI hardware access is via the GAS structures in the ACPI 2.0
9731FADT.
9732
9733All physical memory addresses across all platforms are now 64 bits
9734wide. Logical address width remains dependent on the platform
9735(i.e., "void *").
9736
9737AcpiOsMapMemory interface changed to a 64-bit physical address.
9738
9739The AML interpreter integer size is now 64 bits, as per the ACPI
97402.0 specification.
9741
9742For backwards compatibility with ACPI 1.0, ACPI tables with a
9743revision number less than 2 use 32-bit integers only.
9744
9745Fixed a problem where the evaluation of OpRegion operands did not
9746always resolve them to numbers properly.
9747
9748------------------------------------------
9749Summary of changes for this label: 10_20_00
9750
9751Fix for CBN_._STA issue.  This fix will allow correct access to
9752CBN_ OpRegions when the _STA returns 0x8.
9753
9754Support to convert ACPI constants (Ones, Zeros, One) to actual
9755values before a package object is returned
9756
9757Fix for method call as predicate to if/while construct causing
9758incorrect if/while behavior
9759
9760Fix for Else block package lengths sometimes calculated wrong (if
9761block > 63 bytes)
9762
9763Fix for Processor object length field, was always zero
9764
9765Table load abort if FACP sanity check fails
9766
9767Fix for problem with Scope(name) if name already exists
9768
9769Warning emitted if a named object referenced cannot be found
9770(resolved) during method execution.
9771
9772
9773
9774
9775
9776------------------------------------------
9777Summary of changes for this label: 9_29_00
9778
9779New table initialization interfaces: AcpiInitializeSubsystem no
9780longer has any parameters AcpiFindRootPointer - Find the RSDP (if
9781necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
9782>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
9783AcpiLoadTables
9784
9785Note: These interface changes require changes to all existing OSDs
9786
9787The PCI_Config default address space handler is always installed
9788at the root namespace object.
9789
9790-------------------------------------------
9791Summary of changes for this label: 09_15_00
9792
9793The new initialization architecture is implemented.  New
9794interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
9795AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
9796
9797(Namespace is automatically loaded when a table is loaded)
9798
9799The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
980052 bytes to 32 bytes.  There is usually one of these for every
9801namespace object, so the memory savings is significant.
9802
9803Implemented just-in-time evaluation of the CreateField operators.
9804
9805Bug fixes for IA-64 support have been integrated.
9806
9807Additional code review comments have been implemented
9808
9809The so-called "third pass parse" has been replaced by a final walk
9810through the namespace to initialize all operation regions (address
9811spaces) and fields that have not yet been initialized during the
9812execution of the various _INI and REG methods.
9813
9814New file - namespace/nsinit.c
9815
9816-------------------------------------------
9817Summary of changes for this label: 09_01_00
9818
9819Namespace manager data structures have been reworked to change the
9820primary  object from a table to a single object.  This has
9821resulted in dynamic memory  savings of 3X within the namespace and
98222X overall in the ACPI CA subsystem.
9823
9824Fixed problem where the call to AcpiEvFindPciRootBuses was
9825inadvertently left  commented out.
9826
9827Reduced the warning count when generating the source with the GCC
9828compiler.
9829
9830Revision numbers added to each module header showing the
9831SourceSafe version of the file.  Please refer to this version
9832number when giving us feedback or comments on individual modules.
9833
9834The main object types within the subsystem have been renamed to
9835clarify their  purpose:
9836
9837ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
9838ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
9839ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
9840
9841NOTE: no changes to the initialization sequence are included in
9842this label.
9843
9844-------------------------------------------
9845Summary of changes for this label: 08_23_00
9846
9847Fixed problem where TerminateControlMethod was being called
9848multiple times per  method
9849
9850Fixed debugger problem where single stepping caused a semaphore to
9851be  oversignalled
9852
9853Improved performance through additional parse object caching -
9854added  ACPI_EXTENDED_OP type
9855
9856-------------------------------------------
9857Summary of changes for this label: 08_10_00
9858
9859Parser/Interpreter integration:  Eliminated the creation of
9860complete parse trees  for ACPI tables and control methods.
9861Instead, parse subtrees are created and  then deleted as soon as
9862they are processed (Either entered into the namespace or  executed
9863by the interpreter).  This reduces the use of dynamic kernel
9864memory  significantly. (about 10X)
9865
9866Exception codes broken into classes and renumbered.  Be sure to
9867recompile all  code that includes acexcep.h.  Hopefully we won't
9868have to renumber the codes  again now that they are split into
9869classes (environment, programmer, AML code,  ACPI table, and
9870internal).
9871
9872Fixed some additional alignment issues in the Resource Manager
9873subcomponent
9874
9875Implemented semaphore tracking in the AcpiExec utility, and fixed
9876several places  where mutexes/semaphores were being unlocked
9877without a corresponding lock  operation.  There are no known
9878semaphore or mutex "leaks" at this time.
9879
9880Fixed the case where an ASL Return operator is used to return an
9881unnamed  package.
9882
9883-------------------------------------------
9884Summary of changes for this label: 07_28_00
9885
9886Fixed a problem with the way addresses were calculated in
9887AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
9888manifested itself when a Field was  created with WordAccess or
9889DwordAccess, but the field unit defined within the  Field was less
9890
9891than a Word or Dword.
9892
9893Fixed a problem in AmlDumpOperands() module's loop to pull
9894operands off of the  operand stack to display information. The
9895problem manifested itself as a TLB  error on 64-bit systems when
9896accessing an operand stack with two or more  operands.
9897
9898Fixed a problem with the PCI configuration space handlers where
9899context was  getting confused between accesses. This required a
9900change to the generic address  space handler and address space
9901setup definitions. Handlers now get both a  global handler context
9902(this is the one passed in by the user when executing
9903AcpiInstallAddressSpaceHandler() and a specific region context
9904that is unique to  each region (For example, the _ADR, _SEG and
9905_BBN values associated with a  specific region). The generic
9906function definitions have changed to the  following:
9907
9908typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
9909UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
9910*HandlerContext, // This used to be void *Context void
9911*RegionContext); // This is an additional parameter
9912
9913typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
9914RegionHandle, UINT32 Function, void *HandlerContext,  void
9915**RegionContext); // This used to be **ReturnContext
9916
9917-------------------------------------------
9918Summary of changes for this label: 07_21_00
9919
9920Major file consolidation and rename.  All files within the
9921interpreter have been  renamed as well as most header files.  This
9922was done to prevent collisions with  existing files in the host
9923OSs -- filenames such as "config.h" and "global.h"  seem to be
9924quite common.  The VC project files have been updated.  All
9925makefiles  will require modification.
9926
9927The parser/interpreter integration continues in Phase 5 with the
9928implementation  of a complete 2-pass parse (the AML is parsed
9929twice) for each table;  This  avoids the construction of a huge
9930parse tree and therefore reduces the amount of  dynamic memory
9931required by the subsystem.  Greater use of the parse object cache
9932means that performance is unaffected.
9933
9934Many comments from the two code reviews have been rolled in.
9935
9936The 64-bit alignment support is complete.
9937
9938-------------------------------------------
9939Summary of changes for this label: 06_30_00
9940
9941With a nod and a tip of the hat to the technology of yesteryear,
9942we've added  support in the source code for 80 column output
9943devices.  The code is now mostly  constrained to 80 columns or
9944less to support environments and editors that 1)  cannot display
9945or print more than 80 characters on a single line, and 2) cannot
9946disable line wrapping.
9947
9948A major restructuring of the namespace data structure has been
9949completed.  The  result is 1) cleaner and more
9950understandable/maintainable code, and 2) a  significant reduction
9951in the dynamic memory requirement for each named ACPI  object
9952(almost half).
9953
9954-------------------------------------------
9955Summary of changes for this label: 06_23_00
9956
9957Linux support has been added.  In order to obtain approval to get
9958the ACPI CA  subsystem into the Linux kernel, we've had to make
9959quite a few changes to the  base subsystem that will affect all
9960users (all the changes are generic and OS- independent).  The
9961effects of these global changes have been somewhat far  reaching.
9962Files have been merged and/or renamed and interfaces have been
9963renamed.   The major changes are described below.
9964
9965Osd* interfaces renamed to AcpiOs* to eliminate namespace
9966pollution/confusion  within our target kernels.  All OSD
9967interfaces must be modified to match the new  naming convention.
9968
9969Files merged across the subsystem.  A number of the smaller source
9970and header  files have been merged to reduce the file count and
9971increase the density of the  existing files.  There are too many
9972to list here.  In general, makefiles that  call out individual
9973files will require rebuilding.
9974
9975Interpreter files renamed.  All interpreter files now have the
9976prefix am*  instead of ie* and is*.
9977
9978Header files renamed:  The acapi.h file is now acpixf.h.  The
9979acpiosd.h file is  now acpiosxf.h.  We are removing references to
9980the acronym "API" since it is  somewhat windowsy. The new name is
9981"external interface" or xface or xf in the  filenames.j
9982
9983
9984All manifest constants have been forced to upper case (some were
9985mixed case.)   Also, the string "ACPI_" has been prepended to many
9986(not all) of the constants,  typedefs, and structs.
9987
9988The globals "DebugLevel" and "DebugLayer" have been renamed
9989"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
9990
9991All other globals within the subsystem are now prefixed with
9992"AcpiGbl_" Internal procedures within the subsystem are now
9993prefixed with "Acpi" (with only  a few exceptions).  The original
9994two-letter abbreviation for the subcomponent  remains after "Acpi"
9995- for example, CmCallocate became AcpiCmCallocate.
9996
9997Added a source code translation/conversion utility.  Used to
9998generate the Linux  source code, it can be modified to generate
9999other types of source as well. Can  also be used to cleanup
10000existing source by removing extraneous spaces and blank  lines.
10001Found in tools/acpisrc/*
10002
10003OsdUnMapMemory was renamed to OsdUnmapMemory and then
10004AcpiOsUnmapMemory.  (UnMap  became Unmap).
10005
10006A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
10007When set to  one, this indicates that the caller wants to use the
10008
10009semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
10010both types.  However, implementers of this  call may want to use
10011different OS primitives depending on the type of semaphore
10012requested.  For example, some operating systems provide separate
10013
10014"mutex" and  "semaphore" interfaces - where the mutex interface is
10015much faster because it  doesn't have all the overhead of a full
10016semaphore implementation.
10017
10018Fixed a deadlock problem where a method that accesses the PCI
10019address space can  block forever if it is the first access to the
10020space.
10021
10022-------------------------------------------
10023Summary of changes for this label: 06_02_00
10024
10025Support for environments that cannot handle unaligned data
10026accesses (e.g.  firmware and OS environments devoid of alignment
10027handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
10028been added (via configurable macros) in  these three areas: -
10029Transfer of data from the raw AML byte stream is done via byte
10030moves instead of    word/dword/qword moves. - External objects are
10031aligned within the user buffer, including package   elements (sub-
10032objects). - Conversion of name strings to UINT32 Acpi Names is now
10033done byte-wise.
10034
10035The Store operator was modified to mimic Microsoft's
10036implementation when storing  to a Buffer Field.
10037
10038Added a check of the BM_STS bit before entering C3.
10039
10040The methods subdirectory has been obsoleted and removed.  A new
10041file, cmeval.c  subsumes the functionality.
10042
10043A 16-bit (DOS) version of AcpiExec has been developed.  The
10044makefile is under  the acpiexec directory.
10045