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