changes.txt revision 219707
1----------------------------------------
216 March 2011. Summary of changes for version 20110316:
3
4x
51) ACPI CA Core Subsystem:
6
7Fixed a problem caused by a _PRW method appearing at the namespace root scope 
8during the setup of wake GPEs. A fault could occur if a _PRW directly under the 
9root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
10
11Implemented support for "spurious" Global Lock interrupts. On some systems, a 
12global lock interrupt can occur without the pending flag being set. Upon a GL 
13interrupt, we now ensure that a thread is actually waiting for the lock before 
14signaling GL availability. Rafael Wysocki, Bob Moore.
15
16Example Code and Data Size: These are the sizes for the OS-independent acpica.lib 
17produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
18the code includes the debug output trace mechanism and has a much larger code and 
19data size.
20
21  Previous Release (VC 9.0):
22    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
23    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
24  Current Release (VC 9.0):
25    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
26    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
27
282) iASL Compiler/Disassembler and Tools:
29
30Implemented full support for the "SLIC" ACPI table. Includes support in the 
31header files, disassembler, table compiler, and template generator. Bob Moore, 
32Lin Ming.
33
34AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
35Apparently some or all versions of acpidump will occasionally emit a comment like 
36"Wrong checksum", etc., into the dump file. This was causing problems for 
37AcpiXtract. ACPICA BZ 905.
38
39iASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
40ACPICA BZ 913.
41
42AcpiExec: Update installation of operation region handlers. Install one handler 
43for a user-defined address space. This is used by the ASL test suite (ASLTS).
44
45----------------------------------------
4611 February 2011. Summary of changes for version 20110211:
47
481) ACPI CA Core Subsystem:
49
50Added a mechanism to defer _REG methods for some early-installed handlers. 
51Most user handlers should be installed before call to AcpiEnableSubsystem. 
52However, Event handlers and region handlers should be installed after 
53AcpiInitializeObjects. Override handlers for the "default" regions should be 
54installed early, however. This change executes all _REG methods for the 
55default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
56chicken/egg issues between them. ACPICA BZ 848.
57
58Implemented an optimization for GPE detection. This optimization will simply 
59ignore GPE registers that contain no enabled GPEs -- there is no need to 
60read the register since this information is available internally. This 
61becomes more important on machines with a large GPE space. ACPICA bugzilla 
62884. Lin Ming. Suggestion from Joe Liu.
63
64Removed all use of the highly unreliable FADT revision field. The revision 
65number in the FADT has been found to be completely unreliable and cannot be 
66trusted. Only the actual table length can be used to infer the version. This 
67change updates the ACPICA core and the disassembler so that both no longer 
68even look at the FADT version and instead depend solely upon the FADT 
69length.
70
71Fix an unresolved name issue for the no-debug and no-error-message source 
72generation cases. The _AcpiModuleName was left undefined in these cases, but 
73it is actually needed as a parameter to some interfaces. Define 
74_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
75
76Split several large files (makefiles and project files updated)
77  utglobal.c   -> utdecode.c
78  dbcomds.c    -> dbmethod.c dbnames.c
79  dsopcode.c   -> dsargs.c dscontrol.c
80  dsload.c     -> dsload2.c
81  aslanalyze.c -> aslbtypes.c aslwalks.c
82
83Example Code and Data Size: These are the sizes for the OS-independent 
84acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
85debug version of the code includes the debug output trace mechanism and has 
86a much larger code and data size.
87
88  Previous Release (VC 9.0):
89    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
90    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
91  Current Release (VC 9.0):
92    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
93    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
94
952) iASL Compiler/Disassembler and Tools:
96
97iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
98These are useful C-style macros with the standard definitions. ACPICA 
99bugzilla 898.
100
101iASL/DTC: Added support for integer expressions and labels. Support for full 
102expressions for all integer fields in all ACPI tables. Support for labels in 
103"generic" portions of tables such as UEFI. See the iASL reference manual.
104
105Debugger: Added a command to display the status of global handlers. The 
106"handlers" command will display op region, fixed event, and miscellaneous 
107global handlers. installation status -- and for op regions, whether default 
108or user-installed handler will be used.
109
110iASL: Warn if reserved method incorrectly returns a value. Many predefined 
111names are defined such that they do not return a value. If implemented as a 
112method, issue a warning if such a name explicitly returns a value. ACPICA 
113Bugzilla 855.
114
115iASL: Added detection of GPE method name conflicts. Detects a conflict where 
116there are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
117example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
118
119iASL/DTC: Fixed a couple input scanner issues with comments and line 
120numbers. Comment remover could get confused and miss a comment ending. Fixed 
121a problem with line counter maintenance.
122
123iASL/DTC: Reduced the severity of some errors from fatal to error. There is 
124no need to abort on simple errors within a field definition.
125
126Debugger: Simplified the output of the help command. All help output now in 
127a single screen, instead of help subcommands. ACPICA Bugzilla 897.
128
129
130----------------------------------------
13112 January 2011. Summary of changes for version 20110112:
132
1331) ACPI CA Core Subsystem:
134
135Fixed a race condition between method execution and namespace walks that can 
136possibly cause a fault. The problem was apparently introduced in version 
13720100528 as a result of a performance optimization that reduces the number 
138of 
139namespace walks upon method exit by using the delete_namespace_subtree 
140function instead of the delete_namespace_by_owner function used previously. 
141Bug is a missing namespace lock in the delete_namespace_subtree function. 
142dana.myers@oracle.com
143
144Fixed several issues and a possible fault with the automatic "serialized" 
145method support. History: This support changes a method to "serialized" on 
146the 
147fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
148possibility that it cannot handle reentrancy. This fix repairs a couple of 
149issues seen in the field, especially on machines with many cores:
150
151    1) Delete method children only upon the exit of the last thread,
152       so as to not delete objects out from under other running threads
153      (and possibly causing a fault.)
154    2) Set the "serialized" bit for the method only upon the exit of the
155       Last thread, so as to not cause deadlock when running threads
156       attempt to exit.
157    3) Cleanup the use of the AML "MethodFlags" and internal method flags
158       so that there is no longer any confusion between the two.
159
160    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
161
162Debugger: Now lock the namespace for duration of a namespace dump. Prevents 
163issues if the namespace is changing dynamically underneath the debugger. 
164Especially affects temporary namespace nodes, since the debugger displays 
165these also.
166
167Updated the ordering of include files. The ACPICA headers should appear 
168before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
169any necessary compiler-specific defines, etc. Affects the ACPI-related tools 
170and utilities.
171
172Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
173to all module headers and signons, including the Linux header. This affects 
174virtually every file in the ACPICA core subsystem, iASL compiler, and all 
175utilities.
176
177Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
178project files for VC++ 6.0 are now obsolete. New project files can be found 
179under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
180details.
181
182Example Code and Data Size: These are the sizes for the OS-independent 
183acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
184debug version of the code includes the debug output trace mechanism and has 
185a 
186much larger code and data size.
187
188  Previous Release (VC 6.0):
189    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
190    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
191  Current Release (VC 9.0):
192    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
193    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
194
1952) iASL Compiler/Disassembler and Tools:
196
197iASL: Added generic data types to the Data Table compiler. Add "generic" 
198data 
199types such as UINT32, String, Unicode, etc., to simplify the generation of 
200platform-defined tables such as UEFI. Lin Ming.
201
202iASL: Added listing support for the Data Table Compiler. Adds listing 
203support 
204(-l) to display actual binary output for each line of input code.
205
206----------------------------------------
20709 December 2010. Summary of changes for version 20101209:
208
2091) ACPI CA Core Subsystem:
210
211Completed the major overhaul of the GPE support code that was begun in July 
2122010. Major features include: removal of _PRW execution in ACPICA (host 
213executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
214changes to existing interfaces, simplification of GPE handler operation, and 
215a handful of new interfaces:
216
217    AcpiUpdateAllGpes
218    AcpiFinishGpe
219    AcpiSetupGpeForWake
220    AcpiSetGpeWakeMask
221    One new file, evxfgpe.c to consolidate all external GPE interfaces.
222
223See the ACPICA Programmer Reference for full details and programming 
224information. See the new section 4.4 "General Purpose Event (GPE) Support" 
225for a full overview, and section 8.7 "ACPI General Purpose Event Management" 
226for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
227Bob Moore, Rafael Wysocki.
228
229Implemented a new GPE feature for Windows compatibility, the "Implicit Wake 
230GPE Notify". This feature will automatically issue a Notify(2) on a device 
231when a Wake GPE is received if there is no corresponding GPE method or 
232handler. ACPICA BZ 870.
233
234Fixed a problem with the Scope() operator during table parse and load phase. 
235During load phase (table load or method execution), the scope operator 
236should 
237not enter the target into the namespace. Instead, it should open a new scope 
238at the target location. Linux BZ 19462, ACPICA BZ 882.
239
240Example Code and Data Size: These are the sizes for the OS-independent 
241acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
242debug version of the code includes the debug output trace mechanism and has 
243a 
244much larger code and data size.
245
246  Previous Release:
247    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
248    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
249  Current Release:
250    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
251    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
252
2532) iASL Compiler/Disassembler and Tools:
254
255iASL: Relax the alphanumeric restriction on _CID strings. These strings are 
256"bus-specific" per the ACPI specification, and therefore any characters are 
257acceptable. The only checks that can be performed are for a null string and 
258perhaps for a leading asterisk. ACPICA BZ 886.
259
260iASL: Fixed a problem where a syntax error that caused a premature EOF 
261condition on the source file emitted a very confusing error message. The 
262premature EOF is now detected correctly. ACPICA BZ 891.
263
264Disassembler: Decode the AccessSize within a Generic Address Structure (byte 
265access, word access, etc.) Note, this field does not allow arbitrary bit 
266access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
267
268New: AcpiNames utility - Example namespace dump utility. Shows an example of 
269ACPICA configuration for a minimal namespace dump utility. Uses table and 
270namespace managers, but no AML interpreter. Does not add any functionality 
271over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
272partition and configure ACPICA. ACPICA BZ 883.
273
274AML Debugger: Increased the debugger buffer size for method return objects. 
275Was 4K, increased to 16K. Also enhanced error messages for debugger method 
276execution, including the buffer overflow case.
277
278----------------------------------------
27913 October 2010. Summary of changes for version 20101013:
280
2811) ACPI CA Core Subsystem:
282
283Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
284clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
285HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
286
287Changed the type of the predefined namespace object _TZ from ThermalZone to 
288Device. This was found to be confusing to the host software that processes 
289the various thermal zones, since _TZ is not really a ThermalZone. However, a 
290Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
291Zhang.
292
293Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
294string is "Windows 2006 SP2".
295
296Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
297code automatically repairs _HID-related strings, this type of code is no 
298longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
299
300Example Code and Data Size: These are the sizes for the OS-independent 
301acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
302debug version of the code includes the debug output trace mechanism and has 
303a 
304much larger code and data size.
305
306  Previous Release:
307    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
308    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
309  Current Release:
310    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
311    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
312
3132) iASL Compiler/Disassembler and Tools:
314
315iASL: Implemented additional compile-time validation for _HID strings. The 
316non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length 
317of 
318the string must be exactly seven or eight characters. For both _HID and _CID 
319strings, all characters must be alphanumeric. ACPICA BZ 874.
320
321iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
322descriptors that are mostly or all zeros, with the expectation that they 
323will 
324be filled in at runtime. iASL now allows this as long as there is a 
325"resource 
326tag" (name) associated with the descriptor, which gives the ASL a handle 
327needed to modify the descriptor. ACPICA BZ 873.
328
329Added single-thread support to the generic Unix application OSL. Primarily 
330for iASL support, this change removes the use of semaphores in the single-
331threaded ACPICA tools/applications - increasing performance. The 
332_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
333option. ACPICA BZ 879.
334
335AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
336support 
337for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
338
339iASL: Moved all compiler messages to a new file, aslmessages.h.
340
341----------------------------------------
34215 September 2010. Summary of changes for version 20100915:
343
3441) ACPI CA Core Subsystem:
345
346Removed the AcpiOsDerivePciId OSL interface. The various host 
347implementations 
348of this function were not OS-dependent and are now obsolete and can be 
349removed from all host OSLs. This function has been replaced by 
350AcpiHwDerivePciId, which is now part of the ACPICA core code. 
351AcpiHwDerivePciId has been implemented without recursion. Adds one new 
352module, hwpci.c. ACPICA BZ 857.
353
354Implemented a dynamic repair for _HID and _CID strings. The following 
355problems are now repaired at runtime: 1) Remove a leading asterisk in the 
356string, and 2) the entire string is uppercased. Both repairs are in 
357accordance with the ACPI specification and will simplify host driver code. 
358ACPICA BZ 871.
359
360The ACPI_THREAD_ID type is no longer configurable, internally it is now 
361always UINT64. This simplifies the ACPICA code, especially any printf 
362output. 
363UINT64 is the only common data type for all thread_id types across all 
364operating systems. It is now up to the host OSL to cast the native thread_id 
365type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
366Lin Ming, Bob Moore.
367
368Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
369keyword is not standard across compilers, and this type allows inline to be 
370configured on a per-compiler basis. Lin Ming.
371
372Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
373Added an extern for this boolean in acpixf.h. Some hosts utilize this value 
374during suspend/restore operations. ACPICA BZ 869.
375
376All code that implements error/warning messages with the "ACPI:" prefix has 
377been moved to a new module, utxferror.c.
378
379The UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
380is used. ACPICA BZ 829. Lin Ming, Bob Moore.
381
382Example Code and Data Size: These are the sizes for the OS-independent 
383acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
384debug version of the code includes the debug output trace mechanism and has 
385a 
386much larger code and data size.
387
388  Previous Release:
389    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
390    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
391  Current Release:
392    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
393    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
394
3952) iASL Compiler/Disassembler and Tools:
396
397iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
398This keeps the output files free of random error messages that may originate 
399from within the namespace/interpreter code. Used this opportunity to merge 
400all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
401866. Lin Ming, Bob Moore.
402
403Tools: update some printfs for ansi warnings on size_t. Handle width change 
404of size_t on 32-bit versus 64-bit generations. Lin Ming.
405
406----------------------------------------
40706 August 2010. Summary of changes for version 20100806:
408
4091) ACPI CA Core Subsystem:
410
411Designed and implemented a new host interface to the _OSI support code. This 
412will allow the host to dynamically add or remove multiple _OSI strings, as 
413well as install an optional handler that is called for each _OSI invocation. 
414Also added a new AML debugger command, 'osi' to display and modify the 
415global 
416_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
417reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
418New Functions:
419    AcpiInstallInterface - Add an _OSI string.
420    AcpiRemoveInterface - Delete an _OSI string.
421    AcpiInstallInterfaceHandler - Install optional _OSI handler.
422Obsolete Functions:
423    AcpiOsValidateInterface - no longer used.
424New Files:
425    source/components/utilities/utosi.c
426
427Re-introduced the support to enable multi-byte transfers for Embedded 
428Controller (EC) operation regions. A reported problem was found to be a bug 
429in the host OS, not in the multi-byte support. Previously, the maximum data 
430size passed to the EC operation region handler was a single byte. There are 
431often EC Fields larger than one byte that need to be transferred, and it is 
432useful for the EC driver to lock these as a single transaction. This change 
433enables single transfers larger than 8 bits. This effectively changes the 
434access to the EC space from ByteAcc to AnyAcc, and will probably require 
435changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
436transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
437
438Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
439prototype in acpiosxf.h had the output value pointer as a (void *).
440It should be a (UINT64 *). This may affect some host OSL code.
441
442Fixed a couple problems with the recently modified Linux makefiles for iASL 
443and AcpiExec. These new makefiles place the generated object files in the 
444local directory so that there can be no collisions between the files that 
445are 
446shared between them that are compiled with different options.
447
448Example Code and Data Size: These are the sizes for the OS-independent 
449acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
450debug version of the code includes the debug output trace mechanism and has 
451a 
452much larger code and data size.
453
454  Previous Release:
455    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
456    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
457  Current Release:
458    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
459    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
460
4612) iASL Compiler/Disassembler and Tools:
462
463iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
464namespace from and disassemble an entire group of AML files. Useful for 
465loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
466disassembling with one simple command. ACPICA BZ 865. Lin Ming.
467
468iASL: Allow multiple invocations of -e option. This change allows multiple 
469uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
470Lin Ming.
471
472----------------------------------------
47302 July 2010. Summary of changes for version 20100702:
474
4751) ACPI CA Core Subsystem:
476
477Implemented several updates to the recently added GPE reference count 
478support. The model for "wake" GPEs is changing to give the host OS complete 
479control of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
480methods, since the host already must execute them. Also, additional changes 
481were made to help ensure that the reference counts are kept in proper 
482synchronization with reality. Rafael J. Wysocki.
483
4841) Ensure that GPEs are not enabled twice during initialization.
4852) Ensure that GPE enable masks stay in sync with the reference count.
4863) Do not inadvertently enable GPEs when writing GPE registers.
4874) Remove the internal wake reference counter and add new AcpiGpeWakeup 
488interface. This interface will set or clear individual GPEs for wakeup.
4895) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
490are now used for "runtime" GPEs only.
491
492Changed the behavior of the GPE install/remove handler interfaces. The GPE 
493is 
494no longer disabled during this process, as it was found to cause problems on 
495some machines. Rafael J. Wysocki.
496
497Reverted a change introduced in version 20100528 to enable Embedded 
498Controller multi-byte transfers. This change was found to cause problems 
499with 
500Index Fields and possibly Bank Fields. It will be reintroduced when these 
501problems have been resolved.
502
503Fixed a problem with references to Alias objects within Package Objects. A 
504reference to an Alias within the definition of a Package was not always 
505resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
506were resolved to the actual object instead of a reference to the object as 
507it 
508should be. Package objects are only allowed to contain integer, string, 
509buffer, package, and reference objects. Redhat bugzilla 608648.
510
511Example Code and Data Size: These are the sizes for the OS-independent 
512acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
513debug version of the code includes the debug output trace mechanism and has 
514a 
515much larger code and data size.
516
517  Previous Release:
518    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
519    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
520  Current Release:
521    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
522    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
523
5242) iASL Compiler/Disassembler and Tools:
525
526iASL: Implemented a new compiler subsystem to allow definition and 
527compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
528are called "ACPI Data Tables", and the new compiler is the "Data Table 
529Compiler". This compiler is intended to simplify the existing error-prone 
530process of creating these tables for the BIOS, as well as allowing the 
531disassembly, modification, recompilation, and override of existing ACPI data 
532tables. See the iASL User Guide for detailed information.
533
534iASL: Implemented a new Template Generator option in support of the new Data 
535Table Compiler. This option will create examples of all known ACPI tables 
536that can be used as the basis for table development. See the iASL 
537documentation and the -T option.
538
539Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
540Descriptor Table).
541
542Updated the Linux makefiles for iASL and AcpiExec to place the generated 
543object files in the local directory so that there can be no collisions 
544between the shared files between them that are generated with different 
545options.
546
547Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
548the #define __APPLE__ to enable this support.
549
550----------------------------------------
55128 May 2010. Summary of changes for version 20100528:
552
553Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
554available at www.acpi.info. This is primarily an errata release.
555
5561) ACPI CA Core Subsystem:
557
558Undefined ACPI tables: We are looking for the definitions for the following 
559ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
560
561Implemented support to enable multi-byte transfers for Embedded Controller 
562(EC) operation regions. Previously, the maximum data size passed to the EC 
563operation region handler was a single byte. There are often EC Fields larger 
564than one byte that need to be transferred, and it is useful for the EC 
565driver 
566to lock these as a single transaction. This change enables single transfers 
567larger than 8 bits. This effectively changes the access to the EC space from 
568ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
569Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
570transfers. Alexey Starikovskiy, Lin Ming
571
572Implemented a performance enhancement for namespace search and access. This 
573change enhances the performance of namespace searches and walks by adding a 
574backpointer to the parent in each namespace node. On large namespaces, this 
575change can improve overall ACPI performance by up to 9X. Adding a pointer to 
576each namespace node increases the overall size of the internal namespace by 
577about 5%, since each namespace entry usually consists of both a namespace 
578node and an ACPI operand object. However, this is the first growth of the 
579namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
580
581Implemented a performance optimization that reduces the number of namespace 
582walks. On control method exit, only walk the namespace if the method is 
583known 
584to have created namespace objects outside of its local scope. Previously, 
585the 
586entire namespace was traversed on each control method exit. This change can 
587improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
588Moore.
589
590Added support to truncate I/O addresses to 16 bits for Windows 
591compatibility. 
592Some ASL code has been seen in the field that inadvertently has bits set 
593above bit 15. This feature is optional and is enabled if the BIOS requests 
594any Windows OSI strings. It can also be enabled by the host OS. Matthew 
595Garrett, Bob Moore.
596
597Added support to limit the maximum time for the ASL Sleep() operator. To 
598prevent accidental deep sleeps, limit the maximum time that Sleep() will 
599actually sleep. Configurable, the default maximum is two seconds. ACPICA 
600bugzilla 854.
601
602Added run-time validation support for the _WDG and_WED Microsoft predefined 
603methods. These objects are defined by "Windows Instrumentation", and are not 
604part of the ACPI spec. ACPICA BZ 860.
605
606Expanded all statistic counters used during namespace and device 
607initialization from 16 to 32 bits in order to support very large namespaces.
608
609Replaced all instances of %d in printf format specifiers with %u since 
610nearly 
611all integers in ACPICA are unsigned.
612
613Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
614returned 
615as AE_NO_HANDLER.
616
617Example Code and Data Size: These are the sizes for the OS-independent 
618acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
619debug version of the code includes the debug output trace mechanism and has 
620a 
621much larger code and data size.
622
623  Previous Release:
624    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
625    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
626  Current Release:
627    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
628    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
629
6302) iASL Compiler/Disassembler and Tools:
631
632iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
633methods. These objects are defined by "Windows Instrumentation", and are not 
634part of the ACPI spec. ACPICA BZ 860.
635
636AcpiExec: added option to disable the memory tracking mechanism. The -dt 
637option will disable the tracking mechanism, which improves performance 
638considerably.
639
640AcpiExec: Restructured the command line options into -d (disable) and -e 
641(enable) options.
642
643----------------------------------------
64428 April 2010. Summary of changes for version 20100428:
645
6461) ACPI CA Core Subsystem:
647
648Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
649including FADT-based and GPE Block Devices, execute any _PRW methods in the 
650new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
651runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
652immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
653Devices. Provides compatibility with other ACPI implementations. Two new 
654files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
655Moore.
656
657Fixed a regression introduced in version 20100331 within the table manager 
658where initial table loading could fail. This was introduced in the fix for 
659AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
660data structures to clarify their meaning and use.
661
662Fixed a possible allocation overrun during internal object copy in 
663AcpiUtCopySimpleObject. The original code did not correctly handle the case 
664where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
665
666Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
667possible access beyond end-of-allocation. Also, now fully validate 
668descriptor 
669(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
670
671Example Code and Data Size: These are the sizes for the OS-independent 
672acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
673debug version of the code includes the debug output trace mechanism and has 
674a 
675much larger code and data size.
676
677  Previous Release:
678    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
679    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
680  Current Release:
681    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
682    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
683
6842) iASL Compiler/Disassembler and Tools:
685
686iASL: Implemented Min/Max/Len/Gran validation for address resource 
687descriptors. This change implements validation for the address fields that 
688are common to all address-type resource descriptors. These checks are 
689implemented: Checks for valid Min/Max, length within the Min/Max window, 
690valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
691table 6-40 in the ACPI 4.0a specification. Also split the large 
692aslrestype1.c 
693and aslrestype2.c files into five new files. ACPICA BZ 840.
694
695iASL: Added support for the _Wxx predefined names. This support was missing 
696and these names were not recognized by the compiler as valid predefined 
697names. ACPICA BZ 851.
698
699iASL: Added an error for all predefined names that are defined to return no 
700value and thus must be implemented as Control Methods. These include all of 
701the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
702names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
703
704iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
705ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
706dynamically loaded via the Load() operator. Also cleaned up output for the -
707ta and -tc options. ACPICA BZ 853.
708
709Tests: Added a new file with examples of extended iASL error checking. 
710Demonstrates the advanced error checking ability of the iASL compiler. 
711Available at tests/misc/badcode.asl.
712
713----------------------------------------
71431 March 2010. Summary of changes for version 20100331:
715
7161) ACPI CA Core Subsystem:
717
718Completed a major update for the GPE support in order to improve support for 
719shared GPEs and to simplify both host OS and ACPICA code. Added a reference 
720count mechanism to support shared GPEs that require multiple device drivers. 
721Several external interfaces have changed. One external interface has been 
722removed. One new external interface was added. Most of the GPE external 
723interfaces now use the GPE spinlock instead of the events mutex (and the 
724Flags parameter for many GPE interfaces has been removed.) See the updated 
725ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
726Wysocki. ACPICA BZ 831.
727
728Changed:
729    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
730Removed:
731    AcpiSetGpeType
732New:
733    AcpiSetGpe
734
735Implemented write support for DataTable operation regions. These regions are 
736defined via the DataTableRegion() operator. Previously, only read support 
737was 
738implemented. The ACPI specification allows DataTableRegions to be 
739read/write, 
740however.
741
742Implemented a new subsystem option to force a copy of the DSDT to local 
743memory. Optionally copy the entire DSDT to local memory (instead of simply 
744mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
745the original DSDT, creating the need for this option. Default is FALSE, do 
746not copy the DSDT.
747
748Implemented detection of a corrupted or replaced DSDT. This change adds 
749support to detect a DSDT that has been corrupted and/or replaced from 
750outside 
751the OS (by firmware). This is typically catastrophic for the system, but has 
752been seen on some machines. Once this problem has been detected, the DSDT 
753copy option can be enabled via system configuration. Lin Ming, Bob Moore.
754
755Fixed two problems with AcpiReallocateRootTable during the root table copy. 
756When copying the root table to the new allocation, the length used was 
757incorrect. The new size was used instead of the current table size, meaning 
758too much data was copied. Also, the count of available slots for ACPI tables 
759was not set correctly. Alexey Starikovskiy, Bob Moore.
760
761Example Code and Data Size: These are the sizes for the OS-independent 
762acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
763debug version of the code includes the debug output trace mechanism and has 
764a 
765much larger code and data size.
766
767  Previous Release:
768    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
769    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
770  Current Release:
771    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
772    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
773
7742) iASL Compiler/Disassembler and Tools:
775
776iASL: Implement limited typechecking for values returned from predefined 
777control methods. The type of any returned static (unnamed) object is now 
778validated. For example, Return(1). ACPICA BZ 786.
779
780iASL: Fixed a predefined name object verification regression. Fixes a 
781problem 
782introduced in version 20100304. An error is incorrectly generated if a 
783predefined name is declared as a static named object with a value defined 
784using the keywords "Zero", "One", or "Ones". Lin Ming.
785
786iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
787reducing the requested registry access rights. ACPICA BZ 842.
788
789Disassembler: fixed a possible fault when generating External() statements. 
790Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
791(carat). Fixes a string length allocation calculation. Lin Ming.
792
793----------------------------------------
79404 March 2010. Summary of changes for version 20100304:
795
7961) ACPI CA Core Subsystem:
797
798Fixed a possible problem with the AML Mutex handling function 
799AcpiExReleaseMutex where the function could fault under the very rare 
800condition when the interpreter has blocked, the interpreter lock is 
801released, 
802the interpreter is then reentered via the same thread, and attempts to 
803acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
804Lin 
805Ming.
806
807Implemented additional configuration support for the AML "Debug Object". 
808Output from the debug object can now be enabled via a global variable, 
809AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
810debugging. 
811This debug output is now available in the release version of ACPICA instead 
812of just the debug version. Also, the entire debug output module can now be 
813configured out of the ACPICA build if desired. One new file added, 
814executer/exdebug.c. Lin Ming, Bob Moore.
815
816Added header support for the ACPI MCHI table (Management Controller Host 
817Interface Table). This table was added in ACPI 4.0, but the defining 
818document 
819has only recently become available.
820
821Standardized output of integer values for ACPICA warnings/errors. Always use 
8220x prefix for hex output, always use %u for unsigned integer decimal output. 
823Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
824invocations.) These invocations were converted from the original 
825ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
826
827Example Code and Data Size: These are the sizes for the OS-independent 
828acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
829debug version of the code includes the debug output trace mechanism and has 
830a 
831much larger code and data size.
832
833  Previous Release:
834    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
835    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
836  Current Release:
837    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
838    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
839
8402) iASL Compiler/Disassembler and Tools:
841
842iASL: Implemented typechecking support for static (non-control method) 
843predefined named objects that are declared with the Name() operator. For 
844example, the type of this object is now validated to be of type Integer: 
845Name(_BBN, 1). This change migrates the compiler to using the core 
846predefined 
847name table instead of maintaining a local version. Added a new file, 
848aslpredef.c. ACPICA BZ 832.
849
850Disassembler: Added support for the ACPI 4.0 MCHI table.
851
852----------------------------------------
85321 January 2010. Summary of changes for version 20100121:
854
8551) ACPI CA Core Subsystem:
856
857Added the 2010 copyright to all module headers and signons. This affects 
858virtually every file in the ACPICA core subsystem, the iASL compiler, the 
859tools/utilities, and the test suites.
860
861Implemented a change to the AcpiGetDevices interface to eliminate 
862unnecessary 
863invocations of the _STA method. In the case where a specific _HID is 
864requested, do not run _STA until a _HID match is found. This eliminates 
865potentially dozens of _STA calls during a search for a particular 
866device/HID, 
867which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
868
869Implemented an additional repair for predefined method return values. 
870Attempt 
871to repair unexpected NULL elements within returned Package objects. Create 
872an 
873Integer of value zero, a NULL String, or a zero-length Buffer as 
874appropriate. 
875ACPICA BZ 818. Lin Ming, Bob Moore.
876
877Removed the obsolete ACPI_INTEGER data type. This type was introduced as the 
878code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
87964-bit AML integers). It is now obsolete and this change removes it from the 
880ACPICA code base, replaced by UINT64. The original typedef has been retained 
881for now for compatibility with existing device driver code. ACPICA BZ 824.
882
883Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
884the parse tree object.
885
886Added additional warning options for the gcc-4 generation. Updated the 
887source 
888accordingly. This includes some code restructuring to eliminate unreachable 
889code, elimination of some gotos, elimination of unused return values, some 
890additional casting, and removal of redundant declarations.
891
892Example Code and Data Size: These are the sizes for the OS-independent 
893acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
894debug version of the code includes the debug output trace mechanism and has 
895a 
896much larger code and data size.
897
898  Previous Release:
899    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
900    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
901  Current Release:
902    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
903    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
904
9052) iASL Compiler/Disassembler and Tools:
906
907No functional changes for this release.
908
909----------------------------------------
91014 December 2009. Summary of changes for version 20091214:
911
9121) ACPI CA Core Subsystem:
913
914Enhanced automatic data type conversions for predefined name repairs. This 
915change expands the automatic repairs/conversions for predefined name return 
916values to make Integers, Strings, and Buffers fully interchangeable. Also, a 
917Buffer can be converted to a Package of Integers if necessary. The 
918nsrepair.c 
919module was completely restructured. Lin Ming, Bob Moore.
920
921Implemented automatic removal of null package elements during predefined 
922name 
923repairs. This change will automatically remove embedded and trailing NULL 
924package elements from returned package objects that are defined to contain a 
925variable number of sub-packages. The driver is then presented with a package 
926with no null elements to deal with. ACPICA BZ 819.
927
928Implemented a repair for the predefined _FDE and _GTM names. The expected 
929return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
930possible problems (both seen in the field), where a package of integers is 
931returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
932Kim.
933
934Implemented additional module-level code support. This change will properly 
935execute module-level code that is not at the root of the namespace (under a 
936Device object, etc.). Now executes the code within the current scope instead 
937of the root. ACPICA BZ 762. Lin Ming.
938
939Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
940problem where mutex errors can occur when running a _REG method that is in 
941the same scope as a method-defined operation region or an operation region 
942under a module-level IF block. This type of code is rare, so the problem has 
943not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
944
945Fixed a possible memory leak during module-level code execution. An object 
946could be leaked for each block of executed module-level code if the 
947interpreter slack mode is enabled This change deletes any implicitly 
948returned 
949object from the module-level code block. Lin Ming.
950
951Removed messages for successful predefined repair(s). The repair mechanism 
952was considered too wordy. Now, messages are only unconditionally emitted if 
953the return object cannot be repaired. Existing messages for successful 
954repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
955
956Example Code and Data Size: These are the sizes for the OS-independent 
957acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
958debug version of the code includes the debug output trace mechanism and has 
959a 
960much larger code and data size.
961
962  Previous Release:
963    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
964    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
965  Current Release:
966    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
967    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
968
9692) iASL Compiler/Disassembler and Tools:
970
971iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
972files 
973were no longer automatically removed at the termination of the compile.
974
975acpiexec: Implemented the -f option to specify default region fill value. 
976This option specifies the value used to initialize buffers that simulate 
977operation regions. Default value is zero. Useful for debugging problems that 
978depend on a specific initial value for a region or field.
979
980----------------------------------------
98112 November 2009. Summary of changes for version 20091112:
982
9831) ACPI CA Core Subsystem:
984
985Implemented a post-order callback to AcpiWalkNamespace. The existing 
986interface only has a pre-order callback. This change adds an additional 
987parameter for a post-order callback which will be more useful for bus scans. 
988ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
989
990Modified the behavior of the operation region memory mapping cache for 
991SystemMemory. Ensure that the memory mappings created for operation regions 
992do not cross 4K page boundaries. Crossing a page boundary while mapping 
993regions can cause kernel warnings on some hosts if the pages have different 
994attributes. Such regions are probably BIOS bugs, and this is the workaround. 
995Linux BZ 14445. Lin Ming.
996
997Implemented an automatic repair for predefined methods that must return 
998sorted lists. This change will repair (by sorting) packages returned by 
999_ALR, 
1000_PSS, and _TSS. Drivers can now assume that the packages are correctly 
1001sorted 
1002and do not contain NULL package elements. Adds one new file, 
1003namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1004
1005Fixed a possible fault during predefined name validation if a return Package 
1006object contains NULL elements. Also adds a warning if a NULL element is 
1007followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
1008may 
1009include repair or removal of all such NULL elements where possible.
1010
1011Implemented additional module-level executable AML code support. This change 
1012will execute module-level code that is not at the root of the namespace 
1013(under a Device object, etc.) at table load time. Module-level executable 
1014AML 
1015code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1016
1017Implemented a new internal function to create Integer objects. This function 
1018simplifies miscellaneous object creation code. ACPICA BZ 823.
1019
1020Reduced the severity of predefined repair messages, Warning to Info. Since 
1021the object was successfully repaired, a warning is too severe. Reduced to an 
1022info message for now. These messages may eventually be changed to debug-
1023only. 
1024ACPICA BZ 812.
1025
1026Example Code and Data Size: These are the sizes for the OS-independent 
1027acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1028debug version of the code includes the debug output trace mechanism and has 
1029a 
1030much larger code and data size.
1031
1032  Previous Release:
1033    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1034    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1035  Current Release:
1036    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1037    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1038
10392) iASL Compiler/Disassembler and Tools:
1040
1041iASL: Implemented Switch() with While(1) so that Break works correctly. This 
1042change correctly implements the Switch operator with a surrounding While(1) 
1043so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1044
1045iASL: Added a message if a package initializer list is shorter than package 
1046length. Adds a new remark for a Package() declaration if an initializer list 
1047exists, but is shorter than the declared length of the package. Although 
1048technically legal, this is probably a coding error and it is seen in the 
1049field. ACPICA BZ 815. Lin Ming, Bob Moore.
1050
1051iASL: Fixed a problem where the compiler could fault after the maximum 
1052number 
1053of errors was reached (200).
1054
1055acpixtract: Fixed a possible warning for pointer cast if the compiler 
1056warning 
1057level set very high.
1058
1059----------------------------------------
106013 October 2009. Summary of changes for version 20091013:
1061
10621) ACPI CA Core Subsystem:
1063
1064Fixed a problem where an Operation Region _REG method could be executed more 
1065than once. If a custom address space handler is installed by the host before 
1066the "initialize operation regions" phase of the ACPICA initialization, any 
1067_REG methods for that address space could be executed twice. This change 
1068fixes the problem. ACPICA BZ 427. Lin Ming.
1069
1070Fixed a possible memory leak for the Scope() ASL operator. When the exact 
1071invocation of "Scope(\)" is executed (change scope to root), one internal 
1072operand object was leaked. Lin Ming.
1073
1074Implemented a run-time repair for the _MAT predefined method. If the _MAT 
1075return value is defined as a Field object in the AML, and the field
1076size is less than or equal to the default width of an integer (32 or 
107764),_MAT 
1078can incorrectly return an Integer instead of a Buffer. ACPICA now 
1079automatically repairs this problem. ACPICA BZ 810.
1080
1081Implemented a run-time repair for the _BIF and _BIX predefined methods. The 
1082"OEM Information" field is often incorrectly returned as an Integer with 
1083value zero if the field is not supported by the platform. This is due to an 
1084ambiguity in the ACPI specification. The field should always be a string. 
1085ACPICA now automatically repairs this problem by returning a NULL string 
1086within the returned Package. ACPICA BZ 807.
1087
1088Example Code and Data Size: These are the sizes for the OS-independent 
1089acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1090debug version of the code includes the debug output trace mechanism and has 
1091a 
1092much larger code and data size.
1093
1094  Previous Release:
1095    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1096    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1097  Current Release:
1098    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1099    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1100
11012) iASL Compiler/Disassembler and Tools:
1102
1103Disassembler: Fixed a problem where references to external symbols that 
1104contained one or more parent-prefixes (carats) were not handled correctly, 
1105possibly causing a fault. ACPICA BZ 806. Lin Ming.
1106
1107Disassembler: Restructured the code so that all functions that handle 
1108external symbols are in a single module. One new file is added, 
1109common/dmextern.c.
1110
1111AML Debugger: Added a max count argument for the Batch command (which 
1112executes multiple predefined methods within the namespace.)
1113
1114iASL: Updated the compiler documentation (User Reference.) Available at 
1115http://www.acpica.org/documentation/. ACPICA BZ 750.
1116
1117AcpiXtract: Updated for Lint and other formatting changes. Close all open 
1118files.
1119
1120----------------------------------------
112103 September 2009. Summary of changes for version 20090903:
1122
11231) ACPI CA Core Subsystem:
1124
1125For Windows Vista compatibility, added the automatic execution of an _INI 
1126method located at the namespace root (\_INI). This method is executed at 
1127table load time. This support is in addition to the automatic execution of 
1128\_SB._INI. Lin Ming.
1129
1130Fixed a possible memory leak in the interpreter for AML package objects if 
1131the package initializer list is longer than the defined size of the package. 
1132This apparently can only happen if the BIOS changes the package size on the 
1133fly (seen in a _PSS object), as ASL compilers do not allow this. The 
1134interpreter will truncate the package to the defined size (and issue an 
1135error 
1136message), but previously could leave the extra objects undeleted if they 
1137were 
1138pre-created during the argument processing (such is the case if the package 
1139consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1140
1141Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
1142This has been reported in the field. Previously, ACPICA would zero out the 
1143buffer/string. Now, the operation is treated as a noop. Provides Windows 
1144compatibility. ACPICA BZ 803. Lin Ming.
1145
1146Removed an extraneous error message for ASL constructs of the form 
1147Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
1148are seen in many BIOSs and are once again treated as NOOPs and no error is 
1149emitted when they are encountered. ACPICA BZ 785.
1150
1151Fixed an extraneous warning message if a _DSM reserved method returns a 
1152Package object. _DSM can return any type of object, so validation on the 
1153return type cannot be performed. ACPICA BZ 802.
1154
1155Example Code and Data Size: These are the sizes for the OS-independent 
1156acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1157debug version of the code includes the debug output trace mechanism and has 
1158a 
1159much larger code and data size.
1160
1161  Previous Release:
1162    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1163    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1164  Current Release:
1165    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1166    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1167
11682) iASL Compiler/Disassembler and Tools:
1169
1170iASL: Fixed a problem with the use of the Alias operator and Resource 
1171Templates. The correct alias is now constructed and no error is emitted. 
1172ACPICA BZ 738.
1173
1174iASL: Implemented the -I option to specify additional search directories for 
1175include files. Allows multiple additional search paths for include files. 
1176Directories are searched in the order specified on the command line (after 
1177the local directory is searched.) ACPICA BZ 800.
1178
1179iASL: Fixed a problem where the full pathname for include files was not 
1180emitted for warnings/errors. This caused the IDE support to not work 
1181properly. ACPICA BZ 765.
1182
1183iASL: Implemented the -@ option to specify a Windows-style response file 
1184containing additional command line options. ACPICA BZ 801.
1185
1186AcpiExec: Added support to load multiple AML files simultaneously (such as a 
1187DSDT and multiple SSDTs). Also added support for wildcards within the AML 
1188pathname. These features allow all machine tables to be easily loaded and 
1189debugged together. ACPICA BZ 804.
1190
1191Disassembler: Added missing support for disassembly of HEST table Error Bank 
1192subtables. 
1193
1194----------------------------------------
119530 July 2009. Summary of changes for version 20090730:
1196
1197The ACPI 4.0 implementation for ACPICA is complete with this release.
1198
11991) ACPI CA Core Subsystem:
1200
1201ACPI 4.0: Added header file support for all new and changed ACPI tables. 
1202Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
1203for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
1204EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
1205have been some ACPI 4.0 changes to other existing tables. Split the large 
1206actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
1207
1208ACPI 4.0: Implemented predefined name validation for all new names. There 
1209are 
121031 new names in ACPI 4.0. The predefined validation module was split into 
1211two 
1212files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
1213
1214Implemented support for so-called "module-level executable code". This is 
1215executable AML code that exists outside of any control method and is 
1216intended 
1217to be executed at table load time. Although illegal since ACPI 2.0, this 
1218type 
1219of code still exists and is apparently still being created. Blocks of this 
1220code are now detected and executed as intended. Currently, the code blocks 
1221must exist under either an If, Else, or While construct; these are the 
1222typical cases seen in the field. ACPICA BZ 762. Lin Ming.
1223
1224Implemented an automatic dynamic repair for predefined names that return 
1225nested Package objects. This applies to predefined names that are defined to 
1226return a variable-length Package of sub-packages. If the number of sub-
1227packages is one, BIOS code is occasionally seen that creates a simple single 
1228package with no sub-packages. This code attempts to fix the problem by 
1229wrapping a new package object around the existing package. These methods can 
1230be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
1231790.
1232
1233Fixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
1234The _HID/_CID matching was broken and no longer matched IDs correctly. 
1235ACPICA 
1236BZ 793.
1237
1238Fixed a problem with AcpiReset where the reset would silently fail if the 
1239register was one of the protected I/O ports. AcpiReset now bypasses the port 
1240validation mechanism. This may eventually be driven into the AcpiRead/Write 
1241interfaces.
1242
1243Fixed a regression related to the recent update of the AcpiRead/Write 
1244interfaces. A sleep/suspend could fail if the optional PM2 Control register 
1245does not exist during an attempt to write the Bus Master Arbitration bit. 
1246(However, some hosts already delete the code that writes this bit, and the 
1247code may in fact be obsolete at this date.) ACPICA BZ 799.
1248
1249Fixed a problem where AcpiTerminate could fault if inadvertently called 
1250twice 
1251in succession. ACPICA BZ 795.
1252
1253Example Code and Data Size: These are the sizes for the OS-independent 
1254acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1255debug version of the code includes the debug output trace mechanism and has 
1256a 
1257much larger code and data size.
1258
1259  Previous Release:
1260    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1261    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1262  Current Release:
1263    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1264    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1265
12662) iASL Compiler/Disassembler and Tools:
1267
1268ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
1269changes to existing tables. ACPICA BZ 775.
1270
1271----------------------------------------
127225 June 2009. Summary of changes for version 20090625:
1273
1274The ACPI 4.0 Specification was released on June 16 and is available at 
1275www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
1276continue for the next few releases.
1277
12781) ACPI CA Core Subsystem:
1279
1280ACPI 4.0: Implemented interpreter support for the IPMI operation region 
1281address space. Includes support for bi-directional data buffers and an IPMI 
1282address space handler (to be installed by an IPMI device driver.) ACPICA BZ 
1283773. Lin Ming.
1284
1285ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
1286support in both the header files and the disassembler.
1287
1288Completed a major update for the AcpiGetObjectInfo external interface. 
1289Changes include:
1290 - Support for variable, unlimited length HID, UID, and CID strings.
1291 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
1292 - Call the _SxW power methods on behalf of a device object.
1293 - Determine if a device is a PCI root bridge.
1294 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
1295These changes will require an update to all callers of this interface. See 
1296the updated ACPICA Programmer Reference for details. One new source file has 
1297been added - utilities/utids.c. ACPICA BZ 368, 780.
1298
1299Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
1300transfers. The Value parameter has been extended from 32 bits to 64 bits in 
1301order to support new ACPI 4.0 tables. These changes will require an update 
1302to 
1303all callers of these interfaces. See the ACPICA Programmer Reference for 
1304details. ACPICA BZ 768.
1305
1306Fixed several problems with AcpiAttachData. The handler was not invoked when 
1307the host node was deleted. The data sub-object was not automatically deleted 
1308when the host node was deleted. The interface to the handler had an unused 
1309parameter, this was removed. ACPICA BZ 778.
1310
1311Enhanced the function that dumps ACPI table headers. All non-printable 
1312characters in the string fields are now replaced with '?' (Signature, OemId, 
1313OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
1314these fields are occasionally seen in the field. ACPICA BZ 788.
1315
1316Fixed a problem with predefined method repair code where the code that 
1317attempts to repair/convert an object of incorrect type is only executed on 
1318the first time the predefined method is called. The mechanism that disables 
1319warnings on subsequent calls was interfering with the repair mechanism. 
1320ACPICA BZ 781.
1321
1322Fixed a possible memory leak in the predefined validation/repair code when a 
1323buffer is automatically converted to an expected string object.
1324
1325Removed obsolete 16-bit files from the distribution and from the current git 
1326tree head. ACPICA BZ 776.
1327
1328Example Code and Data Size: These are the sizes for the OS-independent 
1329acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1330debug version of the code includes the debug output trace mechanism and has 
1331a 
1332much larger code and data size.
1333
1334  Previous Release:
1335    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1336    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1337  Current Release:
1338    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1339    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1340
13412) iASL Compiler/Disassembler and Tools:
1342
1343ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
1344operation region keyword. ACPICA BZ 771, 772. Lin Ming.
1345
1346ACPI 4.0: iASL - implemented compile-time validation support for all new 
1347predefined names and control methods (31 total). ACPICA BZ 769.
1348
1349----------------------------------------
135021 May 2009. Summary of changes for version 20090521:
1351
13521) ACPI CA Core Subsystem:
1353
1354Disabled the preservation of the SCI enable bit in the PM1 control register. 
1355The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to 
1356be 
1357a "preserved" bit - "OSPM always preserves this bit position", section 
13584.7.3.2.1. However, some machines fail if this bit is in fact preserved 
1359because the bit needs to be explicitly set by the OS as a workaround. No 
1360machines fail if the bit is not preserved. Therefore, ACPICA no longer 
1361attempts to preserve this bit.
1362
1363Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
1364incorrectly formed _PRT package could cause a fault. Added validation to 
1365ensure that each package element is actually a sub-package.
1366
1367Implemented a new interface to install or override a single control method, 
1368AcpiInstallMethod. This interface is useful when debugging in order to 
1369repair 
1370an existing method or to install a missing method without having to override 
1371the entire ACPI table. See the ACPICA Programmer Reference for use and 
1372examples. Lin Ming, Bob Moore.
1373
1374Fixed several reference count issues with the DdbHandle object that is 
1375created from a Load or LoadTable operator. Prevent premature deletion of the 
1376object. Also, mark the object as invalid once the table has been unloaded. 
1377This is needed because the handle itself may not be deleted after the table 
1378unload, depending on whether it has been stored in a named object by the 
1379caller. Lin Ming.
1380
1381Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
1382mutexes of the same sync level are acquired but then not released in strict 
1383opposite order, the internally maintained Current Sync Level becomes 
1384confused 
1385and can cause subsequent execution errors. ACPICA BZ 471.
1386
1387Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
1388specification has been changed to make the SyncLevel for mutex objects more 
1389useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
1390same as the current sync level. This makes more sense than the previous rule 
1391(SyncLevel less than or equal). This change updates the code to match the 
1392specification.
1393
1394Fixed a problem with the local version of the AcpiOsPurgeCache function. The 
1395(local) cache must be locked during all cache object deletions. Andrew 
1396Baumann.
1397
1398Updated the Load operator to use operation region interfaces. This replaces 
1399direct memory mapping with region access calls. Now, all region accesses go 
1400through the installed region handler as they should.
1401
1402Simplified and optimized the NsGetNextNode function. Reduced parameter count 
1403and reduced code for this frequently used function.
1404
1405Example Code and Data Size: These are the sizes for the OS-independent 
1406acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1407debug version of the code includes the debug output trace mechanism and has 
1408a 
1409much larger code and data size.
1410
1411  Previous Release:
1412    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1413    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1414  Current Release:
1415    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1416    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1417
14182) iASL Compiler/Disassembler and Tools:
1419
1420Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
1421with sub-table disassembly and handling invalid sub-tables. Attempt recovery 
1422after an invalid sub-table ID.
1423
1424----------------------------------------
142522 April 2009. Summary of changes for version 20090422:
1426
14271) ACPI CA Core Subsystem:
1428
1429Fixed a compatibility issue with the recently released I/O port protection 
1430mechanism. For windows compatibility, 1) On a port protection violation, 
1431simply ignore the request and do not return an exception (allow the control 
1432method to continue execution.) 2) If only part of the request overlaps a 
1433protected port, read/write the individual ports that are not protected. 
1434Linux 
1435BZ 13036. Lin Ming
1436
1437Enhanced the execution of the ASL/AML BreakPoint operator so that it 
1438actually 
1439breaks into the AML debugger if the debugger is present. This matches the 
1440ACPI-defined behavior.
1441
1442Fixed several possible warnings related to the use of the configurable 
1443ACPI_THREAD_ID. This type can now be configured as either an integer or a 
1444pointer with no warnings. Also fixes several warnings in printf-like 
1445statements for the 64-bit build when the type is configured as a pointer. 
1446ACPICA BZ 766, 767.
1447
1448Fixed a number of possible warnings when compiling with gcc 4+ (depending on 
1449warning options.) Examples include printf formats, aliasing, unused globals, 
1450missing prototypes, missing switch default statements, use of non-ANSI 
1451library functions, use of non-ANSI constructs. See generate/unix/Makefile 
1452for 
1453a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
1454
1455Example Code and Data Size: These are the sizes for the OS-independent 
1456acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1457debug version of the code includes the debug output trace mechanism and has 
1458a 
1459much larger code and data size.
1460
1461  Previous Release:
1462    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1463    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1464  Current Release:
1465    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1466    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1467
14682) iASL Compiler/Disassembler and Tools:
1469
1470iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings 
1471on 
1472the 64-bit build.
1473
1474iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
1475not 
1476correctly digest Windows/DOS formatted files (with CR/LF).
1477
1478iASL: Added a new option for "quiet mode" (-va) that produces only the 
1479compilation summary, not individual errors and warnings. Useful for large 
1480batch compilations.
1481
1482AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
1483timeout that can be used to detect hang conditions during execution of AML 
1484code (includes both internal semaphores and AML-defined mutexes and events.)
1485
1486Added new makefiles for the generation of acpica in a generic unix-like 
1487environment. These makefiles are intended to generate the acpica tools and 
1488utilities from the original acpica git source tree structure.
1489
1490Test Suites: Updated and cleaned up the documentation files. Updated the 
1491copyrights to 2009, affecting all source files. Use the new version of iASL 
1492with quiet mode. Increased the number of available semaphores in the Windows 
1493OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
1494an alternate implementation of the semaphore timeout to allow aslts to 
1495execute fully on Cygwin.
1496
1497----------------------------------------
149820 March 2009. Summary of changes for version 20090320:
1499
15001) ACPI CA Core Subsystem:
1501
1502Fixed a possible race condition between AcpiWalkNamespace and dynamic table 
1503unloads. Added a reader/writer locking mechanism to allow multiple 
1504concurrent 
1505namespace walks (readers), but block a dynamic table unload until it can 
1506gain 
1507exclusive write access to the namespace. This fixes a problem where a table 
1508unload could (possibly catastrophically) delete the portion of the namespace 
1509that is currently being examined by a walk. Adds a new file, utlock.c, that 
1510implements the reader/writer lock mechanism. ACPICA BZ 749.
1511
1512Fixed a regression introduced in version 20090220 where a change to the FADT 
1513handling could cause the ACPICA subsystem to access non-existent I/O ports.
1514
1515Modified the handling of FADT register and table (FACS/DSDT) addresses. The 
1516FADT can contain both 32-bit and 64-bit versions of these addresses. 
1517Previously, the 64-bit versions were favored, meaning that if both 32 and 64 
1518versions were valid, but not equal, the 64-bit version was used. This was 
1519found to cause some machines to fail. Now, in this case, the 32-bit version 
1520is used instead. This now matches the Windows behavior.
1521
1522Implemented a new mechanism to protect certain I/O ports. Provides Microsoft 
1523compatibility and protects the standard PC I/O ports from access via AML 
1524code. Adds a new file, hwvalid.c
1525
1526Fixed a possible extraneous warning message from the FADT support. The 
1527message warns of a 32/64 length mismatch between the legacy and GAS 
1528definitions for a register.
1529
1530Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is 
1531made obsolete by the port protection mechanism above. It was previously used 
1532to validate the entire address range of an operation region, which could be 
1533incorrect if the range included illegal ports, but fields within the 
1534operation region did not actually access those ports. Validation is now 
1535performed on a per-field basis instead of the entire region.
1536
1537Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
1538Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
1539means a read/modify/write when writing to the register. However, for status 
1540registers, writing a one means clear the event. Writing a zero means 
1541preserve 
1542the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
1543and the ACPICA code now simply always writes a zero to the ignored bit.
1544
1545Modified the handling of ignored bits for the PM1 A/B Control Registers. As 
1546per the ACPI specification, for the control registers, preserve 
1547(read/modify/write) all bits that are defined as either reserved or ignored.
1548
1549Updated the handling of write-only bits in the PM1 A/B Control Registers. 
1550When reading the register, zero the write-only bits as per the ACPI spec. 
1551ACPICA BZ 443. Lin Ming.
1552
1553Removed "Linux" from the list of supported _OSI strings. Linux no longer 
1554wants to reply true to this request. The Windows strings are the only paths 
1555through the AML that are tested and known to work properly.
1556
1557  Previous Release:
1558    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1559    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1560  Current Release:
1561    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1562    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1563
15642) iASL Compiler/Disassembler and Tools:
1565
1566Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
1567aetables.c
1568
1569----------------------------------------
157020 February 2009. Summary of changes for version 20090220:
1571
15721) ACPI CA Core Subsystem:
1573
1574Optimized the ACPI register locking. Removed locking for reads from the ACPI 
1575bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
1576not required when reading the single-bit registers. The 
1577AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
1578This will improve performance for reads on these registers. ACPICA BZ 760.
1579
1580Fixed the parameter validation for AcpiRead/Write. Now return 
1581AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS 
1582if 
1583the register has an address of zero. Previously, these cases simply returned 
1584AE_OK. For optional registers such as PM1B status/enable/control, the caller 
1585should check for a valid register address before calling. ACPICA BZ 748.
1586
1587Renamed the external ACPI bit register access functions. Renamed 
1588AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
1589functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
1590Also, restructured the code for these functions by simplifying the code path 
1591and condensing duplicate code to reduce code size.
1592
1593Added new functions to transparently handle the possibly split PM1 A/B 
1594registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
1595now handle the split registers for PM1 Status, Enable, and Control. ACPICA 
1596BZ 
1597746.
1598
1599Added a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
1600This function writes both of the PM1 control registers (A/B). These 
1601registers 
1602are different than the PM1 A/B status and enable registers in that different 
1603values can be written to the A/B registers. Most notably, the SLP_TYP bits 
1604can be different, as per the values returned from the _Sx predefined 
1605methods.
1606
1607Removed an extra register write within AcpiHwClearAcpiStatus. This function 
1608was writing an optional PM1B status register twice. The existing call to the 
1609low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
1610register. ACPICA BZ 751.
1611
1612Split out the PM1 Status registers from the FADT. Added new globals for 
1613these 
1614registers (A/B), similar to the way the PM1 Enable registers are handled. 
1615Instead of overloading the FADT Event Register blocks. This makes the code 
1616clearer and less prone to error.
1617
1618Fixed the warning message for when the platform contains too many ACPI 
1619tables 
1620for the default size of the global root table data structure. The 
1621calculation 
1622for the truncation value was incorrect.
1623
1624Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
1625obsolete macro, since it is now a simple reference to ->common.type. There 
1626were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
1627
1628Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
1629TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
1630simply SLEEP_TYPE. ACPICA BZ 754.
1631
1632Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
1633function is only needed on 64-bit host operating systems and is thus not 
1634included for 32-bit hosts.
1635
1636Debug output: print the input and result for invocations of the _OSI 
1637reserved 
1638control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
1639verbosity of this debug level. Len Brown.
1640
1641Example Code and Data Size: These are the sizes for the OS-independent 
1642acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1643debug version of the code includes the debug output trace mechanism and has 
1644a 
1645much larger code and data size.
1646
1647  Previous Release:
1648    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1649    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1650  Current Release:
1651    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1652    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1653
16542) iASL Compiler/Disassembler and Tools:
1655
1656Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
1657various legal performance profiles.
1658
1659----------------------------------------
166023 January 2009. Summary of changes for version 20090123:
1661
16621) ACPI CA Core Subsystem:
1663
1664Added the 2009 copyright to all module headers and signons. This affects 
1665virtually every file in the ACPICA core subsystem, the iASL compiler, and 
1666the tools/utilities.
1667
1668Implemented a change to allow the host to override any ACPI table, including 
1669dynamically loaded tables. Previously, only the DSDT could be replaced by 
1670the 
1671host. With this change, the AcpiOsTableOverride interface is called for each 
1672table found in the RSDT/XSDT during ACPICA initialization, and also whenever 
1673a table is dynamically loaded via the AML Load operator.
1674
1675Updated FADT flag definitions, especially the Boot Architecture flags.
1676
1677Debugger: For the Find command, automatically pad the input ACPI name with 
1678underscores if the name is shorter than 4 characters. This enables a match 
1679with the actual namespace entry which is itself padded with underscores.
1680
1681Example Code and Data Size: These are the sizes for the OS-independent 
1682acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1683debug version of the code includes the debug output trace mechanism and has 
1684a 
1685much larger code and data size.
1686
1687  Previous Release:
1688    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1689    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1690  Current Release:
1691    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1692    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1693
16942) iASL Compiler/Disassembler and Tools:
1695
1696Fix build error under Bison-2.4.
1697
1698Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
1699flags. Now decode all flags, regardless of the FADT version. Flag output 
1700includes the FADT version which first defined each flag.
1701
1702The iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
1703DSDT). Windows only.
1704
1705----------------------------------------
170604 December 2008. Summary of changes for version 20081204:
1707
17081) ACPI CA Core Subsystem:
1709
1710The ACPICA Programmer Reference has been completely updated and revamped for 
1711this release. This includes updates to the external interfaces, OSL 
1712interfaces, the overview sections, and the debugger reference.
1713
1714Several new ACPICA interfaces have been implemented and documented in the 
1715programmer reference:
1716AcpiReset - Writes the reset value to the FADT-defined reset register.
1717AcpiDisableAllGpes - Disable all available GPEs.
1718AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
1719AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
1720AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
1721AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
1722AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
1723
1724Most of the public ACPI hardware-related interfaces have been moved to a new 
1725file, components/hardware/hwxface.c
1726
1727Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
1728register lengths within the FADT are now used, and the low level ACPI 
1729register access no longer hardcodes the ACPI register lengths. Given that 
1730there may be some risk in actually trusting the FADT register lengths, a 
1731run-
1732time option was added to fall back to the default hardcoded lengths if the 
1733FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
1734option is set to true for now, and a warning is issued if a suspicious FADT 
1735register length is overridden with the default value.
1736
1737Fixed a reference count issue in NsRepairObject. This problem was introduced 
1738in version 20081031 as part of a fix to repair Buffer objects within 
1739Packages. Lin Ming.
1740
1741Added semaphore support to the Linux/Unix application OS-services layer 
1742(OSL). ACPICA BZ 448. Lin Ming.
1743
1744Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
1745will 
1746be implemented in the OSL, or will binary semaphores be used instead.
1747
1748Example Code and Data Size: These are the sizes for the OS-independent 
1749acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1750debug version of the code includes the debug output trace mechanism and has 
1751a 
1752much larger code and data size.
1753
1754  Previous Release:
1755    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1756    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1757  Current Release:
1758    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1759    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1760
17612) iASL Compiler/Disassembler and Tools:
1762
1763iASL: Completed the '-e' option to include additional ACPI tables in order 
1764to 
1765aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
1766Ming.
1767
1768iASL: Removed the "named object in while loop" error. The compiler cannot 
1769determine how many times a loop will execute. ACPICA BZ 730.
1770
1771Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
1772BZ 743.
1773
1774Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
1775
1776----------------------------------------
177731 October 2008. Summary of changes for version 20081031:
1778
17791) ACPI CA Core Subsystem:
1780
1781Restructured the ACPICA header files into public/private. acpi.h now 
1782includes 
1783only the "public" acpica headers. All other acpica headers are "private" and 
1784should not be included by acpica users. One new file, accommon.h is used to 
1785include the commonly used private headers for acpica code generation. Future 
1786plans include moving all private headers to a new subdirectory.
1787
1788Implemented an automatic Buffer->String return value conversion for 
1789predefined ACPI methods. For these methods (such as _BIF), added automatic 
1790conversion for return objects that are required to be a String, but a Buffer 
1791was found instead. This can happen when reading string battery data from an 
1792operation region, because it used to be difficult to convert the data from 
1793buffer to string from within the ASL. Ensures that the host OS is provided 
1794with a valid null-terminated string. Linux BZ 11822.
1795
1796Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
1797into two: one for the 32-bit vector, another for the 64-bit vector. This is 
1798required because the host OS must setup the wake much differently for each 
1799vector (real vs. protected mode, etc.) and the interface itself should not 
1800be 
1801deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
1802interface, as it served no purpose (only the firmware reads the vector, OS 
1803only writes the vector.) ACPICA BZ 731.
1804
1805Implemented a mechanism to escape infinite AML While() loops. Added a loop 
1806counter to force exit from AML While loops if the count becomes too large. 
1807This can occur in poorly written AML when the hardware does not respond 
1808within a while loop and the loop does not implement a timeout. The maximum 
1809loop count is configurable. A new exception code is returned when a loop is 
1810broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
1811
1812Optimized the execution of AML While loops. Previously, a control state 
1813object was allocated and freed for each execution of the loop. The 
1814optimization is to simply reuse the control state for each iteration. This 
1815speeds up the raw loop execution time by about 5%.
1816
1817Enhanced the implicit return mechanism. For Windows compatibility, return an 
1818implicit integer of value zero for methods that contain no executable code. 
1819Such methods are seen in the field as stubs (presumably), and can cause 
1820drivers to fail if they expect a return value. Lin Ming.
1821
1822Allow multiple backslashes as root prefixes in namepaths. In a fully 
1823qualified namepath, allow multiple backslash prefixes. This can happen (and 
1824is seen in the field) because of the use of a double-backslash in strings 
1825(since backslash is the escape character) causing confusion. ACPICA BZ 739 
1826Lin Ming.
1827
1828Emit a warning if two different FACS or DSDT tables are discovered in the 
1829FADT. Checks if there are two valid but different addresses for the FACS and 
1830DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
1831
1832Consolidated the method argument count validation code. Merged the code that 
1833validates control method argument counts into the predefined validation 
1834module. Eliminates possible multiple warnings for incorrect argument counts.
1835
1836Implemented ACPICA example code. Includes code for ACPICA initialization, 
1837handler installation, and calling a control method. Available at 
1838source/tools/examples.
1839
1840Added a global pointer for FACS table to simplify internal FACS access. Use 
1841the global pointer instead of using AcpiGetTableByIndex for each FACS 
1842access. 
1843This simplifies the code for the Global Lock and the Firmware Waking 
1844Vector(s).
1845
1846Example Code and Data Size: These are the sizes for the OS-independent 
1847acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1848debug version of the code includes the debug output trace mechanism and has 
1849a 
1850much larger code and data size.
1851
1852  Previous Release:
1853    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1854    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1855  Current Release:
1856    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1857    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1858
18592) iASL Compiler/Disassembler and Tools:
1860
1861iASL: Improved disassembly of external method calls. Added the -e option to 
1862allow the inclusion of additional ACPI tables to help with the disassembly 
1863of 
1864method invocations and the generation of external declarations during the 
1865disassembly. Certain external method invocations cannot be disassembled 
1866properly without the actual declaration of the method. Use the -e option to 
1867include the table where the external method(s) are actually declared. Most 
1868useful for disassembling SSDTs that make method calls back to the master 
1869DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
1870-e dsdt.aml ssdt1.aml
1871
1872iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
1873problem where the use of an alias within a namepath would result in a not 
1874found error or cause the compiler to fault. Also now allows forward 
1875references from the Alias operator itself. ACPICA BZ 738.
1876
1877----------------------------------------
187826 September 2008. Summary of changes for version 20080926:
1879
18801) ACPI CA Core Subsystem:
1881
1882Designed and implemented a mechanism to validate predefined ACPI methods and 
1883objects. This code validates the predefined ACPI objects (objects whose 
1884names 
1885start with underscore) that appear in the namespace, at the time they are 
1886evaluated. The argument count and the type of the returned object are 
1887validated against the ACPI specification. The purpose of this validation is 
1888to detect problems with the BIOS-implemented predefined ACPI objects before 
1889the results are returned to the ACPI-related drivers. Future enhancements 
1890may 
1891include actual repair of incorrect return objects where possible. Two new 
1892files are nspredef.c and acpredef.h.
1893
1894Fixed a fault in the AML parser if a memory allocation fails during the Op 
1895completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
1896
1897Fixed an issue with implicit return compatibility. This change improves the 
1898implicit return mechanism to be more compatible with the MS interpreter. Lin 
1899Ming, ACPICA BZ 349.
1900
1901Implemented support for zero-length buffer-to-string conversions. Allow zero 
1902length strings during interpreter buffer-to-string conversions. For example, 
1903during the ToDecimalString and ToHexString operators, as well as implicit 
1904conversions. Fiodor Suietov, ACPICA BZ 585.
1905
1906Fixed two possible memory leaks in the error exit paths of 
1907AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
1908similar in that they use a stack of state objects in order to eliminate 
1909recursion. The stack must be fully unwound and deallocated if an error 
1910occurs. Lin Ming. ACPICA BZ 383.
1911
1912Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
1913global 
1914ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
1915Moore ACPICA BZ 442.
1916
1917Removed the obsolete version number in module headers. Removed the 
1918"$Revision" number that appeared in each module header. This version number 
1919was useful under SourceSafe and CVS, but has no meaning under git. It is not 
1920only incorrect, it could also be misleading.
1921
1922Example Code and Data Size: These are the sizes for the OS-independent 
1923acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1924debug version of the code includes the debug output trace mechanism and has 
1925a 
1926much larger code and data size.
1927
1928  Previous Release:
1929    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1930    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1931  Current Release:
1932    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1933    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1934
1935----------------------------------------
193629 August 2008. Summary of changes for version 20080829:
1937
19381) ACPI CA Core Subsystem:
1939
1940Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
1941Reference. Changes include the elimination of cheating on the Object field 
1942for the DdbHandle subtype, addition of a reference class field to 
1943differentiate the various reference types (instead of an AML opcode), and 
1944the 
1945cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
1946
1947Reduce an error to a warning for an incorrect method argument count. 
1948Previously aborted with an error if too few arguments were passed to a 
1949control method via the external ACPICA interface. Now issue a warning 
1950instead 
1951and continue. Handles the case where the method inadvertently declares too 
1952many arguments, but does not actually use the extra ones. Applies mainly to 
1953the predefined methods. Lin Ming. Linux BZ 11032.
1954
1955Disallow the evaluation of named object types with no intrinsic value. 
1956Return 
1957AE_TYPE for objects that have no value and therefore evaluation is 
1958undefined: 
1959Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
1960these types were allowed, but an exception would be generated at some point 
1961during the evaluation. Now, the error is generated up front.
1962
1963Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
1964(nsnames.c). Fixes a leak in the error exit path.
1965
1966Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
1967debug 
1968levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
1969ACPI_EXCEPTION 
1970interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
1971ACPI_LV_EVENTS.
1972
1973Removed obsolete and/or unused exception codes from the acexcep.h header. 
1974There is the possibility that certain device drivers may be affected if they 
1975use any of these exceptions.
1976
1977The ACPICA documentation has been added to the public git source tree, under 
1978acpica/documents. Included are the ACPICA programmer reference, the iASL 
1979compiler reference, and the changes.txt release logfile.
1980
1981Example Code and Data Size: These are the sizes for the OS-independent 
1982acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1983debug version of the code includes the debug output trace mechanism and has 
1984a 
1985much larger code and data size.
1986
1987  Previous Release:
1988    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1989    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
1990  Current Release:
1991    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1992    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1993
19942) iASL Compiler/Disassembler and Tools:
1995
1996Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
1997defines _SCP with 3 arguments. Previous versions defined it with only 1 
1998argument. iASL now allows both definitions.
1999
2000iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2001length subtables when disassembling ACPI tables. Also fixed a couple of 
2002errors where a full 16-bit table type field was not extracted from the input 
2003properly.
2004
2005acpisrc: Improve comment counting mechanism for generating source code 
2006statistics. Count first and last lines of multi-line comments as whitespace, 
2007not comment lines. Handle Linux legal header in addition to standard acpica 
2008header.
2009
2010----------------------------------------
2011
201229 July 2008. Summary of changes for version 20080729:
2013
20141) ACPI CA Core Subsystem:
2015
2016Fix a possible deadlock in the GPE dispatch. Remove call to 
2017AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
2018attempt 
2019to acquire the GPE lock but can deadlock since the GPE lock is already held 
2020at dispatch time. This code was introduced in version 20060831 as a response 
2021to Linux BZ 6881 and has since been removed from Linux.
2022
2023Add a function to dereference returned reference objects. Examines the 
2024return 
2025object from a call to AcpiEvaluateObject. Any Index or RefOf references are 
2026automatically dereferenced in an attempt to return something useful (these 
2027reference types cannot be converted into an external ACPI_OBJECT.) Provides 
2028MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2029
2030x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
2031subtables for the MADT and one new subtable for the SRAT. Includes 
2032disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
2033Specification, June 2008.
2034
2035Additional error checking for pathname utilities. Add error check after all 
2036calls to AcpiNsGetPathnameLength. Add status return from 
2037AcpiNsBuildExternalPath and check after all calls. Add parameter validation 
2038to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2039
2040Return status from the global init function AcpiUtGlobalInitialize. This is 
2041used by both the kernel subsystem and the utilities such as iASL compiler. 
2042The function could possibly fail when the caches are initialized. Yang Yi.
2043
2044Add a function to decode reference object types to strings. Created for 
2045improved error messages. 
2046
2047Improve object conversion error messages. Better error messages during 
2048object 
2049conversion from internal to the external ACPI_OBJECT. Used for external 
2050calls 
2051to AcpiEvaluateObject.
2052
2053Example Code and Data Size: These are the sizes for the OS-independent 
2054acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2055debug version of the code includes the debug output trace mechanism and has 
2056a 
2057much larger code and data size.
2058
2059  Previous Release:
2060    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2061    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2062  Current Release:
2063    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2064    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2065
20662) iASL Compiler/Disassembler and Tools:
2067
2068Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
2069introduced in version 20080701. If the object being evaluated (via execute 
2070command) is not a method, the debugger can hang while trying to obtain non-
2071existent parameters.
2072
2073iASL: relax error for using reserved "_T_x" identifiers. These names can 
2074appear in a disassembled ASL file if they were emitted by the original 
2075compiler. Instead of issuing an error or warning and forcing the user to 
2076manually change these names, issue a remark instead.
2077
2078iASL: error if named object created in while loop. Emit an error if any 
2079named 
2080object is created within a While loop. If allowed, this code will generate a 
2081run-time error on the second iteration of the loop when an attempt is made 
2082to 
2083create the same named object twice. ACPICA bugzilla 730.
2084
2085iASL: Support absolute pathnames for include files. Add support for absolute 
2086pathnames within the Include operator. previously, only relative pathnames 
2087were supported.
2088
2089iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
2090Descriptor. 
2091The ACPI spec requires one interrupt minimum. BZ 423
2092
2093iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
2094Handles the case for the Interrupt Resource Descriptor where
2095the ResourceSource argument is omitted but ResourceSourceIndex
2096is present. Now leave room for the Index. BZ 426
2097
2098iASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
2099where an error message is emitted if the target does not exist. BZ 516
2100
2101iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
2102(get ACPI tables on Windows). This was apparently broken in version 
210320070919.
2104
2105AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
2106where 
2107the EOF happens immediately after the last table in the input file. Print 
2108completion message. Previously, no message was displayed in this case.
2109
2110----------------------------------------
211101 July 2008. Summary of changes for version 20080701:
2112
21130) Git source tree / acpica.org
2114
2115Fixed a problem where a git-clone from http would not transfer the entire 
2116source tree.
2117
21181) ACPI CA Core Subsystem:
2119
2120Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
2121enable bit. Now performs a read-change-write of the enable register instead 
2122of simply writing out the cached enable mask. This will prevent inadvertent 
2123enabling of GPEs if a rogue GPE is received during initialization (before 
2124GPE 
2125handlers are installed.)
2126
2127Implemented a copy for dynamically loaded tables. Previously, dynamically 
2128loaded tables were simply mapped - but on some machines this memory is 
2129corrupted after suspend. Now copy the table to a local buffer. For the 
2130OpRegion case, added checksum verify. Use the table length from the table 
2131header, not the region length. For the Buffer case, use the table length 
2132also. Dennis Noordsij, Bob Moore. BZ 10734
2133
2134Fixed a problem where the same ACPI table could not be dynamically loaded 
2135and 
2136unloaded more than once. Without this change, a table cannot be loaded again 
2137once it has been loaded/unloaded one time. The current mechanism does not 
2138unregister a table upon an unload. During a load, if the same table is 
2139found, 
2140this no longer returns an exception. BZ 722
2141
2142Fixed a problem where the wrong descriptor length was calculated for the 
2143EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
2144are calculated as 12 bytes long, but the actual length in the internal 
2145descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
2146by Linn Crosetto. BZ 728
2147
2148Fixed a possible memory leak in the Unload operator. The DdbHandle returned 
2149by Load() did not have its reference count decremented during unload, 
2150leading 
2151to a memory leak. Lin Ming. BZ 727
2152
2153Fixed a possible memory leak when deleting thermal/processor objects. Any 
2154associated notify handlers (and objects) were not being deleted. Fiodor 
2155Suietov. BZ 506
2156
2157Fixed the ordering of the ASCII names in the global mutex table to match the 
2158actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
2159only. 
2160Vegard Nossum. BZ 726
2161
2162Enhanced the AcpiGetObjectInfo interface to return the number of required 
2163arguments if the object is a control method. Added this call to the debugger 
2164so the proper number of default arguments are passed to a method. This 
2165prevents a warning when executing methods from AcpiExec.
2166
2167Added a check for an invalid handle in AcpiGetObjectInfo. Return 
2168AE_BAD_PARAMETER if input handle is invalid. BZ 474
2169
2170Fixed an extraneous warning from exconfig.c on the 64-bit build.
2171
2172Example Code and Data Size: These are the sizes for the OS-independent 
2173acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2174debug version of the code includes the debug output trace mechanism and has 
2175a 
2176much larger code and data size.
2177
2178  Previous Release:
2179    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2180    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2181  Current Release:
2182    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2183    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2184
21852) iASL Compiler/Disassembler and Tools:
2186
2187iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
2188resource descriptor names.
2189
2190iASL: Detect invalid ASCII characters in input (windows version). Removed 
2191the 
2192"-CF" flag from the flex compile, enables correct detection of non-ASCII 
2193characters in the input. BZ 441
2194
2195iASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
2196"result of operation not used" warning when the DDB handle returned from 
2197LoadTable is not used. The warning is not needed. BZ 590
2198
2199AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method 
2200to 
2201pass address of table to the AML. Added option to disable OpRegion 
2202simulation 
2203to allow creation of an OpRegion with a real address that was passed to 
2204_CFG. 
2205All of this allows testing of the Load and Unload operators from AcpiExec.
2206
2207Debugger: update tables command for unloaded tables. Handle unloaded tables 
2208and use the standard table header output routine.
2209
2210----------------------------------------
221109 June 2008. Summary of changes for version 20080609:
2212
22131) ACPI CA Core Subsystem:
2214
2215Implemented a workaround for reversed _PRT entries. A significant number of 
2216BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
2217change dynamically detects and repairs this problem. Provides compatibility 
2218with MS ACPI. BZ 6859
2219
2220Simplified the internal ACPI hardware interfaces to eliminate the locking 
2221flag parameter from Register Read/Write. Added a new external interface, 
2222AcpiGetRegisterUnlocked.
2223
2224Fixed a problem where the invocation of a GPE control method could hang. 
2225This 
2226was a regression introduced in 20080514. The new method argument count 
2227validation mechanism can enter an infinite loop when a GPE method is 
2228dispatched. Problem fixed by removing the obsolete code that passed GPE 
2229block 
2230information to the notify handler via the control method parameter pointer.
2231
2232Fixed a problem where the _SST execution status was incorrectly returned to 
2233the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
223420080514. _SST is optional and a NOT_FOUND exception should never be 
2235returned. BZ 716
2236
2237Fixed a problem where a deleted object could be accessed from within the AML 
2238parser. This was a regression introduced in version 20080123 as a fix for 
2239the 
2240Unload operator. Lin Ming. BZ 10669
2241
2242Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
2243and eliminated the use of a negative index in a loop. Operands are now 
2244displayed in the correct order, not backwards. This also fixes a regression 
2245introduced in 20080514 on 64-bit systems where the elimination of 
2246ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
2247
2248Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
2249path did not delete a locally allocated structure.
2250
2251Updated definitions for the DMAR and SRAT tables to synchronize with the 
2252current specifications. Includes disassembler support.
2253
2254Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
2255loop termination value was used. Loop terminated on iteration early, missing 
2256one mutex. Linn Crosetto
2257
2258Example Code and Data Size: These are the sizes for the OS-independent 
2259acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2260debug version of the code includes the debug output trace mechanism and has 
2261a 
2262much larger code and data size.
2263
2264  Previous Release:
2265    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2266    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2267  Current Release:
2268    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2269    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2270
22712) iASL Compiler/Disassembler and Tools:
2272
2273Disassembler: Implemented support for EisaId() within _CID objects. Now 
2274disassemble integer _CID objects back to EisaId invocations, including 
2275multiple integers within _CID packages. Includes single-step support for 
2276debugger also.
2277
2278Disassembler: Added support for DMAR and SRAT table definition changes.
2279
2280----------------------------------------
228114 May 2008. Summary of changes for version 20080514:
2282
22831) ACPI CA Core Subsystem:
2284
2285Fixed a problem where GPEs were enabled too early during the ACPICA 
2286initialization. This could lead to "handler not installed" errors on some 
2287machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
2288ensures that all operation regions and devices throughout the namespace have 
2289been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
2290
2291Implemented a change to the enter sleep code. Moved execution of the _GTS 
2292method to just before setting sleep enable bit. The execution was moved from 
2293AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
2294immediately before the SLP_EN bit is set, as per the ACPI specification. 
2295Luming Yu, BZ 1653.
2296
2297Implemented a fix to disable unknown GPEs (2nd version). Now always disable 
2298the GPE, even if ACPICA thinks that that it is already disabled. It is 
2299possible that the AML or some other code has enabled the GPE unbeknownst to 
2300the ACPICA code.
2301
2302Fixed a problem with the Field operator where zero-length fields would 
2303return 
2304an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
2305ASL 
2306field declarations in Field(), BankField(), and IndexField(). BZ 10606.
2307
2308Implemented a fix for the Load operator, now load the table at the namespace 
2309root. This reverts a change introduced in version 20071019. The table is now 
2310loaded at the namespace root even though this goes against the ACPI 
2311specification. This provides compatibility with other ACPI implementations. 
2312The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
2313Ming.
2314
2315Fixed a problem where ACPICA would not Load() tables with unusual 
2316signatures. 
2317Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
2318acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
2319Therefore, signature validation is worthless. Apparently MS ACPI accepts 
2320such 
2321signatures, ACPICA must be compatible. BZ 10454.
2322
2323Fixed a possible negative array index in AcpiUtValidateException. Added NULL 
2324fields to the exception string arrays to eliminate a -1 subtraction on the 
2325SubStatus field.
2326
2327Updated the debug tracking macros to reduce overall code and data size. 
2328Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
2329instead of pointers to static strings. Jan Beulich and Bob Moore.
2330
2331Implemented argument count checking in control method invocation via 
2332AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
2333many. This applies only to extern programmatic control method execution, not 
2334method-to-method calls within the AML. Lin Ming.
2335
2336Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
2337longer needed, especially with the removal of 16-bit support. It was 
2338replaced 
2339mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit 
2340on 
234132/64-bit platforms is required.
2342
2343Added the C const qualifier for appropriate string constants -- mostly 
2344MODULE_NAME and printf format strings. Jan Beulich.
2345
2346Example Code and Data Size: These are the sizes for the OS-independent 
2347acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2348debug version of the code includes the debug output trace mechanism and has 
2349a 
2350much larger code and data size.
2351
2352  Previous Release:
2353    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2354    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2355  Current Release:
2356    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2357    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2358
23592) iASL Compiler/Disassembler and Tools:
2360
2361Implemented ACPI table revision ID validation in the disassembler. Zero is 
2362always invalid. For DSDTs, the ID controls the interpreter integer width. 1 
2363means 32-bit and this is unusual. 2 or greater is 64-bit.
2364
2365----------------------------------------
236621 March 2008. Summary of changes for version 20080321:
2367
23681) ACPI CA Core Subsystem:
2369
2370Implemented an additional change to the GPE support in order to suppress 
2371spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
2372disable incoming GPEs that are neither enabled nor disabled -- meaning that 
2373the GPE is unknown to the system. This should prevent future interrupt 
2374floods 
2375from that GPE. BZ 6217 (Zhang Rui)
2376
2377Fixed a problem where NULL package elements were not returned to the 
2378AcpiEvaluateObject interface correctly. The element was simply ignored 
2379instead of returning a NULL ACPI_OBJECT package element, potentially causing 
2380a buffer overflow and/or confusing the caller who expected a fixed number of 
2381elements. BZ 10132 (Lin Ming, Bob Moore)
2382
2383Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
2384Dword, 
2385Qword), Field, BankField, and IndexField operators when invoked from inside 
2386an executing control method. In this case, these operators created namespace 
2387nodes that were incorrectly left marked as permanent nodes instead of 
2388temporary nodes. This could cause a problem if there is race condition 
2389between an exiting control method and a running namespace walk. (Reported by 
2390Linn Crosetto)
2391
2392Fixed a problem where the CreateField and CreateXXXField operators would 
2393incorrectly allow duplicate names (the name of the field) with no exception 
2394generated.
2395
2396Implemented several changes for Notify handling. Added support for new 
2397Notify 
2398values (ACPI 2.0+) and improved the Notify debug output. Notify on 
2399PowerResource objects is no longer allowed, as per the ACPI specification. 
2400(Bob Moore, Zhang Rui)
2401
2402All Reference Objects returned via the AcpiEvaluateObject interface are now 
2403marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
2404for 
2405NULL objects - either NULL package elements or unresolved named references.
2406
2407Fixed a problem where an extraneous debug message was produced for package 
2408objects (when debugging enabled). The message "Package List length larger 
2409than NumElements count" is now produced in the correct case, and is now an 
2410error message rather than a debug message. Added a debug message for the 
2411opposite case, where NumElements is larger than the Package List (the 
2412package 
2413will be padded out with NULL elements as per the ACPI spec.)
2414
2415Implemented several improvements for the output of the ASL "Debug" object to 
2416clarify and keep all data for a given object on one output line.
2417
2418Fixed two size calculation issues with the variable-length Start Dependent 
2419resource descriptor.
2420
2421Example Code and Data Size: These are the sizes for the OS-independent 
2422acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2423debug version of the code includes the debug output trace mechanism and has 
2424a much larger code and data size.
2425
2426  Previous Release:
2427    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2428    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2429  Current Release:
2430    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2431    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2432
24332) iASL Compiler/Disassembler and Tools:
2434
2435Fixed a problem with the use of the Switch operator where execution of the 
2436containing method by multiple concurrent threads could cause an 
2437AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
2438actual Switch opcode, it must be simulated with local named temporary 
2439variables and if/else pairs. The solution chosen was to mark any method that 
2440uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
2441
2442----------------------------------------
244313 February 2008. Summary of changes for version 20080213:
2444
24451) ACPI CA Core Subsystem:
2446
2447Implemented another MS compatibility design change for GPE/Notify handling. 
2448GPEs are now cleared/enabled asynchronously to allow all pending notifies to 
2449complete first. It is expected that the OSL will queue the enable request 
2450behind all pending notify requests (may require changes to the local host 
2451OSL 
2452in AcpiOsExecute). Alexey Starikovskiy.
2453
2454Fixed a problem where buffer and package objects passed as arguments to a 
2455control method via the external AcpiEvaluateObject interface could cause an 
2456AE_AML_INTERNAL exception depending on the order and type of operators 
2457executed by the target control method.
2458
2459Fixed a problem where resource descriptor size optimization could cause a 
2460problem when a _CRS resource template is passed to a _SRS method. The _SRS 
2461resource template must use the same descriptors (with the same size) as 
2462returned from _CRS. This change affects the following resource descriptors: 
2463IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
2464
2465Fixed a problem where a CopyObject to RegionField, BankField, and IndexField 
2466objects did not perform an implicit conversion as it should. These types 
2467must 
2468retain their initial type permanently as per the ACPI specification. 
2469However, 
2470a CopyObject to all other object types should not perform an implicit 
2471conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2472
2473Fixed a problem with the AcpiGetDevices interface where the mechanism to 
2474match device CIDs did not examine the entire list of available CIDs, but 
2475instead aborted on the first non-matching CID. Andrew Patterson.
2476
2477Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
2478was 
2479inadvertently changed to return a 16-bit value instead of a 32-bit value, 
2480truncating the upper dword of a 64-bit value. This macro is only used to 
2481display debug output, so no incorrect calculations were made. Also, 
2482reimplemented the macro so that a 64-bit shift is not performed by 
2483inefficient compilers.
2484
2485Added missing va_end statements that should correspond with each va_start 
2486statement.
2487
2488Example Code and Data Size: These are the sizes for the OS-independent 
2489acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2490debug version of the code includes the debug output trace mechanism and has 
2491a much larger code and data size.
2492
2493  Previous Release:
2494    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2495    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2496  Current Release:
2497    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2498    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2499
25002) iASL Compiler/Disassembler and Tools:
2501
2502Implemented full disassembler support for the following new ACPI tables: 
2503BERT, EINJ, and ERST. Implemented partial disassembler support for the 
2504complicated HEST table. These tables support the Windows Hardware Error 
2505Architecture (WHEA).
2506
2507----------------------------------------
250823 January 2008. Summary of changes for version 20080123:
2509
25101) ACPI CA Core Subsystem:
2511
2512Added the 2008 copyright to all module headers and signons. This affects 
2513virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2514the tools/utilities.
2515
2516Fixed a problem with the SizeOf operator when used with Package and Buffer 
2517objects. These objects have deferred execution for some arguments, and the 
2518execution is now completed before the SizeOf is executed. This problem 
2519caused 
2520unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
25219558
2522
2523Implemented an enhancement to the interpreter "slack mode". In the absence 
2524of 
2525an explicit return or an implicitly returned object from the last executed 
2526opcode, a control method will now implicitly return an integer of value 0 
2527for 
2528Microsoft compatibility. (Lin Ming) BZ 392
2529
2530Fixed a problem with the Load operator where an exception was not returned 
2531in 
2532the case where the table is already loaded. (Lin Ming) BZ 463
2533
2534Implemented support for the use of DDBHandles as an Indexed Reference, as 
2535per 
2536the ACPI spec. (Lin Ming) BZ 486
2537
2538Implemented support for UserTerm (Method invocation) for the Unload operator 
2539as per the ACPI spec. (Lin Ming) BZ 580
2540
2541Fixed a problem with the LoadTable operator where the OemId and OemTableId 
2542input strings could cause unexpected failures if they were shorter than the 
2543maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
2544
2545Implemented support for UserTerm (Method invocation) for the Unload operator 
2546as per the ACPI spec. (Lin Ming) BZ 580
2547
2548Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
2549HEST, 
2550IBFT, UEFI, WDAT. Disassembler support is forthcoming.
2551
2552Example Code and Data Size: These are the sizes for the OS-independent 
2553acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2554debug version of the code includes the debug output trace mechanism and has 
2555a much larger code and data size.
2556
2557  Previous Release:
2558    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2559    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2560  Current Release:
2561    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2562    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2563
25642) iASL Compiler/Disassembler and Tools:
2565
2566Implemented support in the disassembler for checksum validation on incoming 
2567binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
2568table 
2569header dump at the start of the disassembly.
2570
2571Implemented additional debugging information in the namespace listing file 
2572created during compilation. In addition to the namespace hierarchy, the full 
2573pathname to each namespace object is displayed.
2574
2575Fixed a problem with the disassembler where invalid ACPI tables could cause 
2576faults or infinite loops.
2577
2578Fixed an unexpected parse error when using the optional "parameter types" 
2579list in a control method declaration. (Lin Ming) BZ 397
2580
2581Fixed a problem where two External declarations with the same name did not 
2582cause an error (Lin Ming) BZ 509
2583
2584Implemented support for full TermArgs (adding Argx, Localx and method 
2585invocation) for the ParameterData parameter to the LoadTable operator. (Lin 
2586Ming) BZ 583,587
2587
2588----------------------------------------
258919 December 2007. Summary of changes for version 20071219:
2590
25911) ACPI CA Core Subsystem:
2592
2593Implemented full support for deferred execution for the TermArg string 
2594arguments for DataTableRegion. This enables forward references and full 
2595operand resolution for the three string arguments. Similar to 
2596OperationRegion 
2597deferred argument execution.) Lin Ming. BZ 430
2598
2599Implemented full argument resolution support for the BankValue argument to 
2600BankField. Previously, only constants were supported, now any TermArg may be 
2601used. Lin Ming BZ 387, 393
2602
2603Fixed a problem with AcpiGetDevices where the search of a branch of the 
2604device tree could be terminated prematurely. In accordance with the ACPI 
2605specification, the search down the current branch is terminated if a device 
2606is both not present and not functional (instead of just not present.) Yakui 
2607Zhao.
2608
2609Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
2610the underlying AML code changed the GPE enable registers. Now, any unknown 
2611incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
2612disabled 
2613instead of simply ignored. Rui Zhang.
2614
2615Fixed a problem with Index Fields where the Index register was incorrectly 
2616limited to a maximum of 32 bits. Now any size may be used.
2617
2618Fixed a couple memory leaks associated with "implicit return" objects when 
2619the AML Interpreter slack mode is enabled. Lin Ming BZ 349
2620
2621Example Code and Data Size: These are the sizes for the OS-independent 
2622acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2623debug version of the code includes the debug output trace mechanism and has 
2624a much larger code and data size.
2625
2626  Previous Release:
2627    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2628    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2629  Current Release:
2630    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2631    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2632
2633----------------------------------------
263414 November 2007. Summary of changes for version 20071114:
2635
26361) ACPI CA Core Subsystem:
2637
2638Implemented event counters for each of the Fixed Events, the ACPI SCI 
2639(interrupt) itself, and control methods executed. Named 
2640AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
2641should be useful for debugging and statistics.
2642
2643Implemented a new external interface, AcpiGetStatistics, to retrieve the 
2644contents of the various event counters. Returns the current values for 
2645AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
2646AcpiMethodCount. The interface can be expanded in the future if new counters 
2647are added. Device drivers should use this interface rather than access the 
2648counters directly.
2649
2650Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
2651the ShortDivide function worked incorrectly, causing problems with the BCD 
2652functions with large input values. A truncation from 64-bit to 32-bit 
2653inadvertently occurred. Internal BZ 435. Lin Ming
2654
2655Fixed a problem with Index references passed as method arguments. References 
2656passed as arguments to control methods were dereferenced immediately (before 
2657control was passed to the called method). The references are now correctly 
2658passed directly to the called method. BZ 5389. Lin Ming
2659
2660Fixed a problem with CopyObject used in conjunction with the Index operator. 
2661The reference was incorrectly dereferenced before the copy. The reference is 
2662now correctly copied. BZ 5391. Lin Ming
2663
2664Fixed a problem with Control Method references within Package objects. These 
2665references are now correctly generated. This completes the package 
2666construction overhaul that began in version 20071019.
2667
2668Example Code and Data Size: These are the sizes for the OS-independent 
2669acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2670debug version of the code includes the debug output trace mechanism and has 
2671a much larger code and data size.
2672
2673  Previous Release:
2674    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2675    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2676  Current Release:
2677    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2678    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2679
2680
26812) iASL Compiler/Disassembler and Tools:
2682
2683The AcpiExec utility now installs handlers for all of the predefined 
2684Operation Region types. New types supported are: PCI_Config, CMOS, and 
2685PCIBARTarget.
2686
2687Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
2688bit) address fields for the DSDT and FACS within the FADT were not being 
2689used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
2690and Bob Moore
2691
2692----------------------------------------
269319 October 2007. Summary of changes for version 20071019:
2694
26951) ACPI CA Core Subsystem:
2696
2697Fixed a problem with the Alias operator when the target of the alias is a 
2698named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
2699Processor, and ThermalZone. In these cases, any children of the original 
2700operator could not be accessed via the alias, potentially causing unexpected 
2701AE_NOT_FOUND exceptions. (BZ 9067)
2702
2703Fixed a problem with the Package operator where all named references were 
2704created as object references and left otherwise unresolved. According to the 
2705ACPI specification, a Package can only contain Data Objects or references to 
2706control methods. The implication is that named references to Data Objects 
2707(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
2708immediately upon package creation. This is the approach taken with this 
2709change. References to all other named objects (Methods, Devices, Scopes, 
2710etc.) are all now properly created as reference objects. (BZ 5328)
2711
2712Reverted a change to Notify handling that was introduced in version 
271320070508. This version changed the Notify handling from asynchronous to 
2714fully synchronous (Device driver Notify handling with respect to the Notify 
2715ASL operator). It was found that this change caused more problems than it 
2716solved and was removed by most users.
2717
2718Fixed a problem with the Increment and Decrement operators where the type of 
2719the target object could be unexpectedly and incorrectly changed. (BZ 353) 
2720Lin Ming.
2721
2722Fixed a problem with the Load and LoadTable operators where the table 
2723location within the namespace was ignored. Instead, the table was always 
2724loaded into the root or current scope. Lin Ming.
2725
2726Fixed a problem with the Load operator when loading a table from a buffer 
2727object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
2728
2729Fixed a problem with the Debug object where a store of a DdbHandle reference 
2730object to the Debug object could cause a fault.
2731
2732Added a table checksum verification for the Load operator, in the case where 
2733the load is from a buffer. (BZ 578).
2734
2735Implemented additional parameter validation for the LoadTable operator. The 
2736length of the input strings SignatureString, OemIdString, and OemTableId are 
2737now checked for maximum lengths. (BZ 582) Lin Ming.
2738
2739Example Code and Data Size: These are the sizes for the OS-independent 
2740acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2741debug version of the code includes the debug output trace mechanism and has 
2742a much larger code and data size.
2743
2744  Previous Release:
2745    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2746    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2747  Current Release:
2748    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2749    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2750
2751
27522) iASL Compiler/Disassembler:
2753
2754Fixed a problem where if a single file was specified and the file did not 
2755exist, no error message was emitted. (Introduced with wildcard support in 
2756version 20070917.)
2757
2758----------------------------------------
275919 September 2007. Summary of changes for version 20070919:
2760
27611) ACPI CA Core Subsystem:
2762
2763Designed and implemented new external interfaces to install and remove 
2764handlers for ACPI table-related events. Current events that are defined are 
2765LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
2766they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
2767AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2768
2769Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
2770(acpi_serialized option on Linux) could cause some systems to hang during 
2771initialization. (Bob Moore) BZ 8171
2772
2773Fixed a problem where objects of certain types (Device, ThermalZone, 
2774Processor, PowerResource) can be not found if they are declared and 
2775referenced from within the same control method (Lin Ming) BZ 341
2776
2777Example Code and Data Size: These are the sizes for the OS-independent 
2778acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2779debug version of the code includes the debug output trace mechanism and has 
2780a much larger code and data size.
2781
2782  Previous Release:
2783    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2784    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2785  Current Release:
2786    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2787    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2788
2789
27902) iASL Compiler/Disassembler:
2791
2792Implemented support to allow multiple files to be compiled/disassembled in a 
2793single invocation. This includes command line wildcard support for both the 
2794Windows and Unix versions of the compiler. This feature simplifies the 
2795disassembly and compilation of multiple ACPI tables in a single directory.
2796
2797----------------------------------------
279808 May 2007. Summary of changes for version 20070508:
2799
28001) ACPI CA Core Subsystem:
2801
2802Implemented a Microsoft compatibility design change for the handling of the 
2803Notify AML operator. Previously, notify handlers were dispatched and 
2804executed completely asynchronously in a deferred thread. The new design 
2805still executes the notify handlers in a different thread, but the original 
2806thread that executed the Notify() now waits at a synchronization point for 
2807the notify handler to complete. Some machines depend on a synchronous Notify 
2808operator in order to operate correctly.
2809
2810Implemented support to allow Package objects to be passed as method 
2811arguments to the external AcpiEvaluateObject interface. Previously, this 
2812would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
2813implemented since there were no reserved control methods that required it 
2814until recently.
2815
2816Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
2817contained invalid non-zero values in reserved fields could cause later 
2818failures because these fields have meaning in later revisions of the FADT. 
2819For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
2820are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
2821
2822Fixed a problem where the Global Lock handle was not properly updated if a 
2823thread that acquired the Global Lock via executing AML code then attempted 
2824to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
2825Liu.
2826
2827Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
2828could be corrupted if the interrupt being removed was at the head of the 
2829list. Reported by Linn Crosetto.
2830
2831Example Code and Data Size: These are the sizes for the OS-independent 
2832acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2833debug version of the code includes the debug output trace mechanism and has 
2834a much larger code and data size.
2835
2836  Previous Release:
2837    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2838    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2839  Current Release:
2840    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2841    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2842
2843----------------------------------------
284420 March 2007. Summary of changes for version 20070320:
2845
28461) ACPI CA Core Subsystem:
2847
2848Implemented a change to the order of interpretation and evaluation of AML 
2849operand objects within the AML interpreter. The interpreter now evaluates 
2850operands in the order that they appear in the AML stream (and the 
2851corresponding ASL code), instead of in the reverse order (after the entire 
2852operand list has been parsed). The previous behavior caused several subtle 
2853incompatibilities with the Microsoft AML interpreter as well as being 
2854somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
2855
2856Implemented a change to the ACPI Global Lock support. All interfaces to the 
2857global lock now allow the same thread to acquire the lock multiple times. 
2858This affects the AcpiAcquireGlobalLock external interface to the global lock 
2859as well as the internal use of the global lock to support AML fields -- a 
2860control method that is holding the global lock can now simultaneously access 
2861AML fields that require global lock protection. Previously, in both cases, 
2862this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
2863AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
2864Controller. There is no change to the behavior of the AML Acquire operator, 
2865as this can already be used to acquire a mutex multiple times by the same 
2866thread. BZ 8066. With assistance from Alexey Starikovskiy.
2867
2868Fixed a problem where invalid objects could be referenced in the AML 
2869Interpreter after error conditions. During operand evaluation, ensure that 
2870the internal "Return Object" field is cleared on error and only valid 
2871pointers are stored there. Caused occasional access to deleted objects that 
2872resulted in "large reference count" warning messages. Valery Podrezov.
2873
2874Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
2875deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
2876Podrezov.
2877
2878Fixed an internal problem with the handling of result objects on the 
2879interpreter result stack. BZ 7872. Valery Podrezov.
2880
2881Removed obsolete code that handled the case where AML_NAME_OP is the target 
2882of a reference (Reference.Opcode). This code was no longer necessary. BZ 
28837874. Valery Podrezov.
2884
2885Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
2886remnant from the previously discontinued 16-bit support.
2887
2888Example Code and Data Size: These are the sizes for the OS-independent 
2889acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2890debug version of the code includes the debug output trace mechanism and has 
2891a much larger code and data size.
2892
2893  Previous Release:
2894    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2895    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2896  Current Release:
2897    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2898    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2899
2900----------------------------------------
290126 January 2007. Summary of changes for version 20070126:
2902
29031) ACPI CA Core Subsystem:
2904
2905Added the 2007 copyright to all module headers and signons. This affects 
2906virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2907the utilities.
2908
2909Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
2910during a table load. A bad pointer was passed in the case where the DSDT is 
2911overridden, causing a fault in this case.
2912
2913Example Code and Data Size: These are the sizes for the OS-independent 
2914acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2915debug version of the code includes the debug output trace mechanism and has 
2916a much larger code and data size.
2917
2918  Previous Release:
2919    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2920    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2921  Current Release:
2922    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2923    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2924
2925----------------------------------------
292615 December 2006. Summary of changes for version 20061215:
2927
29281) ACPI CA Core Subsystem:
2929
2930Support for 16-bit ACPICA has been completely removed since it is no longer 
2931necessary and it clutters the code. All 16-bit macros, types, and 
2932conditional compiles have been removed, cleaning up and simplifying the code 
2933across the entire subsystem. DOS support is no longer needed since the 
2934bootable Linux firmware kit is now available.
2935
2936The handler for the Global Lock is now removed during AcpiTerminate to 
2937enable a clean subsystem restart, via the implementation of the 
2938AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
2939HP)
2940
2941Implemented enhancements to the multithreading support within the debugger 
2942to enable improved multithreading debugging and evaluation of the subsystem. 
2943(Valery Podrezov)
2944
2945Debugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
2946memory used during the execution, as well as the maximum memory consumed by 
2947each of the various object types. (Valery Podrezov)
2948
2949Example Code and Data Size: These are the sizes for the OS-independent 
2950acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2951debug version of the code includes the debug output trace mechanism and has 
2952a much larger code and data size.
2953
2954  Previous Release:
2955    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2956    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2957  Current Release:
2958    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2959    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2960
2961
29622) iASL Compiler/Disassembler and Tools:
2963
2964AcpiExec: Implemented a new option (-m) to display full memory use 
2965statistics upon subsystem/program termination. (Valery Podrezov)
2966
2967----------------------------------------
296809 November 2006. Summary of changes for version 20061109:
2969
29701) ACPI CA Core Subsystem:
2971
2972Optimized the Load ASL operator in the case where the source operand is an 
2973operation region. Simply map the operation region memory, instead of 
2974performing a bytewise read. (Region must be of type SystemMemory, see 
2975below.)
2976
2977Fixed the Load ASL operator for the case where the source operand is a 
2978region field. A buffer object is also allowed as the source operand. BZ 480
2979
2980Fixed a problem where the Load ASL operator allowed the source operand to be 
2981an operation region of any type. It is now restricted to regions of type 
2982SystemMemory, as per the ACPI specification. BZ 481
2983
2984Additional cleanup and optimizations for the new Table Manager code.
2985
2986AcpiEnable will now fail if all of the required ACPI tables are not loaded 
2987(FADT, FACS, DSDT). BZ 477
2988
2989Added #pragma pack(8/4) to acobject.h to ensure that the structures in this 
2990header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
2991manually optimized to be aligned and will not work if it is byte-packed. 
2992
2993Example Code and Data Size: These are the sizes for the OS-independent 
2994acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2995debug version of the code includes the debug output trace mechanism and has 
2996a much larger code and data size.
2997
2998  Previous Release:
2999    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3000    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3001  Current Release:
3002    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3003    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3004
3005
30062) iASL Compiler/Disassembler and Tools:
3007
3008Fixed a problem where the presence of the _OSI predefined control method 
3009within complex expressions could cause an internal compiler error.
3010
3011AcpiExec: Implemented full region support for multiple address spaces. 
3012SpaceId is now part of the REGION object. BZ 429
3013
3014----------------------------------------
301511 October 2006. Summary of changes for version 20061011:
3016
30171) ACPI CA Core Subsystem:
3018
3019Completed an AML interpreter performance enhancement for control method 
3020execution. Previously a 2-pass parse/execution, control methods are now 
3021completely parsed and executed in a single pass. This improves overall 
3022interpreter performance by ~25%, reduces code size, and reduces CPU stack 
3023use. (Valery Podrezov + interpreter changes in version 20051202 that 
3024eliminated namespace loading during the pass one parse.)
3025
3026Implemented _CID support for PCI Root Bridge detection. If the _HID does not 
3027match the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
3028obtained and also checked for an ID match.
3029
3030Implemented additional support for the PCI _ADR execution: upsearch until a 
3031device scope is found before executing _ADR. This allows PCI_Config 
3032operation regions to be declared locally within control methods underneath 
3033PCI device objects.
3034
3035Fixed a problem with a possible race condition between threads executing 
3036AcpiWalkNamespace and the AML interpreter. This condition was removed by 
3037modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
3038entries created during any concurrent control method execution. An 
3039additional namespace race condition is known to exist between 
3040AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
3041investigation.
3042
3043Restructured the AML ParseLoop function, breaking it into several 
3044subfunctions in order to reduce CPU stack use and improve maintainability. 
3045(Mikhail Kouzmich)
3046
3047AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
3048of prefix handle and pathname. BZ 478
3049
3050Example Code and Data Size: These are the sizes for the OS-independent 
3051acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3052debug version of the code includes the debug output trace mechanism and has 
3053a much larger code and data size.
3054
3055  Previous Release:
3056    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3057    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3058  Current Release:
3059    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3060    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3061
30622) iASL Compiler/Disassembler and Tools:
3063
3064Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager 
3065to restore original behavior.
3066
3067----------------------------------------
306827 September 2006. Summary of changes for version 20060927:
3069
30701) ACPI CA Core Subsystem:
3071
3072Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
3073These functions now use a spinlock for mutual exclusion and the interrupt 
3074level indication flag is not needed.
3075
3076Fixed a problem with the Global Lock where the lock could appear to be 
3077obtained before it is actually obtained. The global lock semaphore was 
3078inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
3079Suietov.
3080
3081Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
3082a read from a buffer or region field. (BZ 458) Fiodor Suietov.
3083
3084Example Code and Data Size: These are the sizes for the OS-independent 
3085acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3086debug version of the code includes the debug output trace mechanism and has 
3087a much larger code and data size.
3088
3089  Previous Release:
3090    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3091    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3092  Current Release:
3093    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3094    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3095
3096
30972) iASL Compiler/Disassembler and Tools:
3098
3099Fixed a compilation problem with the pre-defined Resource Descriptor field 
3100names where an "object does not exist" error could be incorrectly generated 
3101if the parent ResourceTemplate pathname places the template within a 
3102different namespace scope than the current scope. (BZ 7212)
3103
3104Fixed a problem where the compiler could hang after syntax errors detected 
3105in an ElseIf construct. (BZ 453)
3106
3107Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
3108operator. An incorrect output filename was produced when this parameter was 
3109a null string (""). Now, the original input filename is used as the AML 
3110output filename, with an ".aml" extension.
3111
3112Implemented a generic batch command mode for the AcpiExec utility (execute 
3113any AML debugger command) (Valery Podrezov).
3114
3115----------------------------------------
311612 September 2006. Summary of changes for version 20060912:
3117
31181) ACPI CA Core Subsystem:
3119
3120Enhanced the implementation of the "serialized mode" of the interpreter 
3121(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
3122specified, instead of creating a serialization semaphore per control method, 
3123the interpreter lock is simply no longer released before a blocking 
3124operation during control method execution. This effectively makes the AML 
3125Interpreter single-threaded. The overhead of a semaphore per-method is 
3126eliminated.
3127
3128Fixed a regression where an error was no longer emitted if a control method 
3129attempts to create 2 objects of the same name. This once again returns 
3130AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
3131will dynamically serialize the control method to possible prevent future 
3132errors. (BZ 440)
3133
3134Integrated a fix for a problem with PCI Express HID detection in the PCI 
3135Config Space setup procedure. (BZ 7145)
3136
3137Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
3138AcpiHwInitialize function - the FADT registers are now validated when the 
3139table is loaded.
3140
3141Added two new warnings during FADT verification - 1) if the FADT is larger 
3142than the largest known FADT version, and 2) if there is a mismatch between a 
314332-bit block address and the 64-bit X counterpart (when both are non-zero.)
3144
3145Example Code and Data Size: These are the sizes for the OS-independent 
3146acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3147debug version of the code includes the debug output trace mechanism and has 
3148a much larger code and data size.
3149
3150  Previous Release:
3151    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3152    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3153  Current Release:
3154    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3155    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3156
3157
31582) iASL Compiler/Disassembler and Tools:
3159
3160Fixed a problem with the implementation of the Switch() operator where the 
3161temporary variable was declared too close to the actual Switch, instead of 
3162at method level. This could cause a problem if the Switch() operator is 
3163within a while loop, causing an error on the second iteration. (BZ 460)
3164
3165Disassembler - fix for error emitted for unknown type for target of scope 
3166operator. Now, ignore it and continue.
3167
3168Disassembly of an FADT now verifies the input FADT and reports any errors 
3169found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3170
3171Disassembly of raw data buffers with byte initialization data now prefixes 
3172each output line with the current buffer offset.
3173
3174Disassembly of ASF! table now includes all variable-length data fields at 
3175the end of some of the subtables.
3176
3177The disassembler now emits a comment if a buffer appears to be a 
3178ResourceTemplate, but cannot be disassembled as such because the EndTag does 
3179not appear at the very end of the buffer.
3180
3181AcpiExec - Added the "-t" command line option to enable the serialized mode 
3182of the AML interpreter.
3183
3184----------------------------------------
318531 August 2006. Summary of changes for version 20060831:
3186
31871) ACPI CA Core Subsystem:
3188
3189Miscellaneous fixes for the Table Manager:
3190- Correctly initialize internal common FADT for all 64-bit "X" fields
3191- Fixed a couple table mapping issues during table load
3192- Fixed a couple alignment issues for IA64
3193- Initialize input array to zero in AcpiInitializeTables
3194- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
3195AcpiGetTableByIndex
3196
3197Change for GPE support: when a "wake" GPE is received, all wake GPEs are now 
3198immediately disabled to prevent the waking GPE from firing again and to 
3199prevent other wake GPEs from interrupting the wake process.
3200
3201Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
3202be used for debugging systems with a large number of ACPI interrupts.
3203
3204Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
3205both the ACPICA headers and the disassembler.
3206
3207Example Code and Data Size: These are the sizes for the OS-independent 
3208acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3209debug version of the code includes the debug output trace mechanism and has 
3210a much larger code and data size.
3211
3212  Previous Release:
3213    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3214    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3215  Current Release:
3216    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3217    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3218
3219
32202) iASL Compiler/Disassembler and Tools:
3221
3222Disassembler support for the DMAR ACPI table.
3223
3224----------------------------------------
322523 August 2006. Summary of changes for version 20060823:
3226
32271) ACPI CA Core Subsystem:
3228
3229The Table Manager component has been completely redesigned and 
3230reimplemented. The new design is much simpler, and reduces the overall code 
3231and data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
3232now possible to obtain the ACPI tables very early during kernel 
3233initialization, even before dynamic memory management is initialized. 
3234(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3235
3236Obsolete ACPICA interfaces:
3237
3238- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
3239time).
3240- AcpiLoadTable: Not needed.
3241- AcpiUnloadTable: Not needed.
3242
3243New ACPICA interfaces:
3244
3245- AcpiInitializeTables: Must be called before the table manager can be used.
3246- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
3247allocated memory after it becomes available.
3248- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
3249in the RSDT/XSDT.
3250
3251Other ACPICA changes:
3252
3253- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
3254AcpiOsUnmapMemory to free this mapping.
3255- AcpiGetTable returns the actual mapped table. The mapping is managed 
3256internally and must not be deleted by the caller. Use of this interface 
3257causes no additional dynamic memory allocation.
3258- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
3259it appeared to be unused.
3260- The interface to AcpiOsMapMemory has changed to be consistent with the 
3261other allocation interfaces.
3262- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
3263parameters.
3264- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
3265bit platforms. Was previously 64 bits on all platforms.
3266- The interface to the ACPI Global Lock acquire/release macros have changed 
3267slightly since ACPICA no longer keeps a local copy of the FACS with a 
3268constructed pointer to the actual global lock.
3269
3270Porting to the new table manager:
3271
3272- AcpiInitializeTables: Must be called once, and can be called anytime 
3273during the OS initialization process. It allows the host to specify an area 
3274of memory to be used to store the internal version of the RSDT/XSDT (root 
3275table). This allows the host to access ACPI tables before memory management 
3276is initialized and running.
3277- AcpiReallocateRootTable: Can be called after memory management is running 
3278to copy the root table to a dynamically allocated array, freeing up the 
3279scratch memory specified in the call to AcpiInitializeTables.
3280- AcpiSubsystemInitialize: This existing interface is independent of the 
3281Table Manager, and does not have to be called before the Table Manager can 
3282be used, it only must be called before the rest of ACPICA can be used.
3283- ACPI Tables: Some changes have been made to the names and structure of the 
3284actbl.h and actbl1.h header files and may require changes to existing code. 
3285For example, bitfields have been completely removed because of their lack of 
3286portability across C compilers.
3287- Update interfaces to the Global Lock acquire/release macros if local 
3288versions are used. (see acwin.h)
3289
3290Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
3291
3292New files: tbfind.c
3293
3294Example Code and Data Size: These are the sizes for the OS-independent 
3295acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3296debug version of the code includes the debug output trace mechanism and has 
3297a much larger code and data size.
3298
3299  Previous Release:
3300    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3301    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3302  Current Release:
3303    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3304    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3305
3306
33072) iASL Compiler/Disassembler and Tools:
3308
3309No changes for this release.
3310
3311----------------------------------------
331221 July 2006. Summary of changes for version 20060721:
3313
33141) ACPI CA Core Subsystem:
3315
3316The full source code for the ASL test suite used to validate the iASL 
3317compiler and the ACPICA core subsystem is being released with the ACPICA 
3318source for the first time. The source is contained in a separate package and 
3319consists of over 1100 files that exercise all ASL/AML operators. The package 
3320should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
3321Suietov)
3322
3323Completed a new design and implementation for support of the ACPI Global 
3324Lock. On the OS side, the global lock is now treated as a standard AML 
3325mutex. Previously, multiple OS threads could "acquire" the global lock 
3326simultaneously. However, this could cause the BIOS to be starved out of the 
3327lock - especially in cases such as the Embedded Controller driver where 
3328there is a tight coupling between the OS and the BIOS.
3329
3330Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
3331The Global Lock interrupt handler no longer queues the execution of a 
3332separate thread to signal the global lock semaphore. Instead, the semaphore 
3333is signaled directly from the interrupt handler.
3334
3335Implemented support within the AML interpreter for package objects that 
3336contain a larger AML length (package list length) than the package element 
3337count. In this case, the length of the package is truncated to match the 
3338package element count. Some BIOS code apparently modifies the package length 
3339on the fly, and this change supports this behavior. Provides compatibility 
3340with the MS AML interpreter. (With assistance from Fiodor Suietov)
3341
3342Implemented a temporary fix for the BankValue parameter of a Bank Field to 
3343support all constant values, now including the Zero and One opcodes. 
3344Evaluation of this parameter must eventually be converted to a full TermArg 
3345evaluation. A not-implemented error is now returned (temporarily) for non-
3346constant values for this parameter.
3347
3348Fixed problem reports (Fiodor Suietov) integrated:
3349- Fix for premature object deletion after CopyObject on Operation Region (BZ 
3350350)
3351
3352Example Code and Data Size: These are the sizes for the OS-independent 
3353acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3354debug version of the code includes the debug output trace mechanism and has 
3355a much larger code and data size.
3356
3357  Previous Release:
3358    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
3359    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
3360  Current Release:
3361    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3362    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3363
3364
33652) iASL Compiler/Disassembler and Tools:
3366
3367No changes for this release.
3368
3369----------------------------------------
337007 July 2006. Summary of changes for version 20060707:
3371
33721) ACPI CA Core Subsystem:
3373
3374Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
3375that do not allow the initialization of address pointers within packed 
3376structures - even though the hardware itself may support misaligned 
3377transfers. Some of the debug data structures are packed by default to 
3378minimize size.
3379
3380Added an error message for the case where AcpiOsGetThreadId() returns zero. 
3381A non-zero value is required by the core ACPICA code to ensure the proper 
3382operation of AML mutexes and recursive control methods.
3383
3384The DSDT is now the only ACPI table that determines whether the AML 
3385interpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
3386the hooks for per-table 32/64 switching have been removed from the code. A 
3387clarification to the ACPI specification is forthcoming in ACPI 3.0B.
3388
3389Fixed a possible leak of an OwnerID in the error path of 
3390AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
3391deletion to a single place in AcpiTbUninstallTable to correct possible leaks 
3392when using the AcpiTbDeleteTablesByType interface (with assistance from 
3393Lance Ortiz.)
3394
3395Fixed a problem with Serialized control methods where the semaphore 
3396associated with the method could be over-signaled after multiple method 
3397invocations.
3398
3399Fixed two issues with the locking of the internal namespace data structure. 
3400Both the Unload() operator and AcpiUnloadTable interface now lock the 
3401namespace during the namespace deletion associated with the table unload 
3402(with assistance from Linn Crosetto.)
3403
3404Fixed problem reports (Valery Podrezov) integrated:
3405- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
3406
3407Fixed problem reports (Fiodor Suietov) integrated:
3408- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
3409- On Address Space handler deletion, needless deactivation call (BZ 374)
3410- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
3411- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
3412(BZ 376)
3413- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
3414- Minimum Length of RSDT should be validated (BZ 379)
3415- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
3416Handler (BZ (380)
3417- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
3418(BZ 381)
3419
3420Example Code and Data Size: These are the sizes for the OS-independent 
3421acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3422debug version of the code includes the debug output trace mechanism and has 
3423a much larger code and data size.
3424
3425  Previous Release:
3426    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3427    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3428  Current Release:
3429    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3430    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3431
3432
34332) iASL Compiler/Disassembler and Tools:
3434
3435Fixed problem reports:
3436Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
3437436)
3438
3439----------------------------------------
344023 June 2006. Summary of changes for version 20060623:
3441
34421) ACPI CA Core Subsystem:
3443
3444Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
3445allows the type to be customized to the host OS for improved efficiency 
3446(since a spinlock is usually a very small object.)
3447
3448Implemented support for "ignored" bits in the ACPI registers. According to 
3449the ACPI specification, these bits should be preserved when writing the 
3450registers via a read/modify/write cycle. There are 3 bits preserved in this 
3451manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
3452
3453Implemented the initial deployment of new OSL mutex interfaces. Since some 
3454host operating systems have separate mutex and semaphore objects, this 
3455feature was requested. The base code now uses mutexes (and the new mutex 
3456interfaces) wherever a binary semaphore was used previously. However, for 
3457the current release, the mutex interfaces are defined as macros to map them 
3458to the existing semaphore interfaces. Therefore, no OSL changes are required 
3459at this time. (See acpiosxf.h)
3460
3461Fixed several problems with the support for the control method SyncLevel 
3462parameter. The SyncLevel now works according to the ACPI specification and 
3463in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
3464is a property of the executing thread. Mutual exclusion for control methods 
3465is now implemented with a mutex instead of a semaphore.
3466
3467Fixed three instances of the use of the C shift operator in the bitfield 
3468support code (exfldio.c) to avoid the use of a shift value larger than the 
3469target data width. The behavior of C compilers is undefined in this case and 
3470can cause unpredictable results, and therefore the case must be detected and 
3471avoided. (Fiodor Suietov)
3472
3473Added an info message whenever an SSDT or OEM table is loaded dynamically 
3474via the Load() or LoadTable() ASL operators. This should improve debugging 
3475capability since it will show exactly what tables have been loaded (beyond 
3476the tables present in the RSDT/XSDT.)
3477
3478Example Code and Data Size: These are the sizes for the OS-independent 
3479acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3480debug version of the code includes the debug output trace mechanism and has 
3481a much larger code and data size.
3482
3483  Previous Release:
3484    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3485    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3486  Current Release:
3487    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3488    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3489
3490
34912) iASL Compiler/Disassembler and Tools:
3492
3493No changes for this release.
3494
3495----------------------------------------
349608 June 2006. Summary of changes for version 20060608:
3497
34981) ACPI CA Core Subsystem:
3499
3500Converted the locking mutex used for the ACPI hardware to a spinlock. This 
3501change should eliminate all problems caused by attempting to acquire a 
3502semaphore at interrupt level, and it means that all ACPICA external 
3503interfaces that directly access the ACPI hardware can be safely called from 
3504interrupt level. OSL code that implements the semaphore interfaces should be 
3505able to eliminate any workarounds for being called at interrupt level.
3506
3507Fixed a regression introduced in 20060526 where the ACPI device 
3508initialization could be prematurely aborted with an AE_NOT_FOUND if a device 
3509did not have an optional _INI method.
3510
3511Fixed an IndexField issue where a write to the Data Register should be 
3512limited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
3513Fiodor Suietov)
3514
3515Fixed problem reports (Valery Podrezov) integrated:
3516- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
3517
3518Fixed problem reports (Fiodor Suietov) integrated:
3519- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
3520
3521Removed four global mutexes that were obsolete and were no longer being 
3522used.
3523
3524Example Code and Data Size: These are the sizes for the OS-independent 
3525acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3526debug version of the code includes the debug output trace mechanism and has 
3527a much larger code and data size.
3528
3529  Previous Release:
3530    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3531    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3532  Current Release:
3533    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3534    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3535
3536
35372) iASL Compiler/Disassembler and Tools:
3538
3539Fixed a fault when using -g option (get tables from registry) on Windows 
3540machines.
3541
3542Fixed problem reports integrated:
3543- Generate error if CreateField NumBits parameter is zero. (BZ 405)
3544- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
3545Suietov)
3546- Global table revision override (-r) is ignored (BZ 413)
3547
3548----------------------------------------
354926 May 2006. Summary of changes for version 20060526:
3550
35511) ACPI CA Core Subsystem:
3552
3553Restructured, flattened, and simplified the internal interfaces for 
3554namespace object evaluation - resulting in smaller code, less CPU stack use, 
3555and fewer interfaces. (With assistance from Mikhail Kouzmich)
3556
3557Fixed a problem with the CopyObject operator where the first parameter was 
3558not typed correctly for the parser, interpreter, compiler, and disassembler. 
3559Caused various errors and unexpected behavior.
3560
3561Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
3562produced incorrect results with some C compilers. Since the behavior of C 
3563compilers when the shift value is larger than the datatype width is 
3564apparently not well defined, the interpreter now detects this condition and 
3565simply returns zero as expected in all such cases. (BZ 395)
3566
3567Fixed problem reports (Valery Podrezov) integrated:
3568- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
3569- Allow interpreter to handle nested method declarations (BZ 5361)
3570
3571Fixed problem reports (Fiodor Suietov) integrated:
3572- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
3573- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
3574- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
3575- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
3576- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
3577- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
3578- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
3579- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
3580- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
3581- Status of the Global Initialization Handler call not used (BZ 366)
3582- Incorrect object parameter to Global Initialization Handler (BZ 367)
3583
3584Example Code and Data Size: These are the sizes for the OS-independent 
3585acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3586debug version of the code includes the debug output trace mechanism and has 
3587a much larger code and data size.
3588
3589  Previous Release:
3590    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3591    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3592  Current Release:
3593    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3594    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3595
3596
35972) iASL Compiler/Disassembler and Tools:
3598
3599Modified the parser to allow the names IO, DMA, and IRQ to be used as 
3600namespace identifiers with no collision with existing resource descriptor 
3601macro names. This provides compatibility with other ASL compilers and is 
3602most useful for disassembly/recompilation of existing tables without parse 
3603errors. (With assistance from Thomas Renninger)
3604
3605Disassembler: fixed an incorrect disassembly problem with the 
3606DataTableRegion and CopyObject operators. Fixed a possible fault during 
3607disassembly of some Alias operators.
3608
3609----------------------------------------
361012 May 2006. Summary of changes for version 20060512:
3611
36121) ACPI CA Core Subsystem:
3613
3614Replaced the AcpiOsQueueForExecution interface with a new interface named 
3615AcpiOsExecute. The major difference is that the new interface does not have 
3616a Priority parameter, this appeared to be useless and has been replaced by a 
3617Type parameter. The Type tells the host what type of execution is being 
3618requested, such as global lock handler, notify handler, GPE handler, etc. 
3619This allows the host to queue and execute the request as appropriate for the 
3620request type, possibly using different work queues and different priorities 
3621for the various request types. This enables fixes for multithreading 
3622deadlock problems such as BZ #5534, and will require changes to all existing 
3623OS interface layers. (Alexey Starikovskiy and Bob Moore)
3624
3625Fixed a possible memory leak associated with the support for the so-called 
3626"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
3627Suietov)
3628
3629Fixed a problem with the Load() operator where a table load from an 
3630operation region could overwrite an internal table buffer by up to 7 bytes 
3631and cause alignment faults on IPF systems. (With assistance from Luming Yu)
3632
3633Example Code and Data Size: These are the sizes for the OS-independent 
3634acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3635debug version of the code includes the debug output trace mechanism and has 
3636a much larger code and data size.
3637
3638  Previous Release:
3639    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3640    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3641  Current Release:
3642    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3643    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3644
3645
3646
36472) iASL Compiler/Disassembler and Tools:
3648
3649Disassembler: Implemented support to cross reference the internal namespace 
3650and automatically generate ASL External() statements for symbols not defined 
3651within the current table being disassembled. This will simplify the 
3652disassembly and recompilation of interdependent tables such as SSDTs since 
3653these statements will no longer have to be added manually.
3654
3655Disassembler: Implemented experimental support to automatically detect 
3656invocations of external control methods and generate appropriate External() 
3657statements. This is problematic because the AML cannot be correctly parsed 
3658until the number of arguments for each control method is known. Currently, 
3659standalone method invocations and invocations as the source operand of a 
3660Store() statement are supported.
3661
3662Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
3663LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
3664LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
3665more readable and likely closer to the original ASL source.
3666
3667----------------------------------------
366821 April 2006. Summary of changes for version 20060421:
3669
36701) ACPI CA Core Subsystem:
3671
3672Removed a device initialization optimization introduced in 20051216 where 
3673the _STA method was not run unless an _INI was also present for the same 
3674device. This optimization could cause problems because it could allow _INI 
3675methods to be run within a not-present device subtree. (If a not-present 
3676device had no _INI, _STA would not be run, the not-present status would not 
3677be discovered, and the children of the device would be incorrectly 
3678traversed.)
3679
3680Implemented a new _STA optimization where namespace subtrees that do not 
3681contain _INI are identified and ignored during device initialization. 
3682Selectively running _STA can significantly improve boot time on large 
3683machines (with assistance from Len Brown.)
3684
3685Implemented support for the device initialization case where the returned 
3686_STA flags indicate a device not-present but functioning. In this case, _INI 
3687is not run, but the device children are examined for presence, as per the 
3688ACPI specification.
3689
3690Implemented an additional change to the IndexField support in order to 
3691conform to MS behavior. The value written to the Index Register is not 
3692simply a byte offset, it is a byte offset in units of the access width of 
3693the parent Index Field. (Fiodor Suietov)
3694
3695Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
3696interface is called during the creation of all AML operation regions, and 
3697allows the host OS to exert control over what addresses it will allow the 
3698AML code to access. Operation Regions whose addresses are disallowed will 
3699cause a runtime exception when they are actually accessed (will not affect 
3700or abort table loading.) See oswinxf or osunixxf for an example 
3701implementation.
3702
3703Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
3704interface allows the host OS to match the various "optional" 
3705interface/behavior strings for the _OSI predefined control method as 
3706appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
3707for an example implementation.
3708
3709Restructured and corrected various problems in the exception handling code 
3710paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
3711(with assistance from Takayoshi Kochi.)
3712
3713Modified the Linux source converter to ignore quoted string literals while 
3714converting identifiers from mixed to lower case. This will correct problems 
3715with the disassembler and other areas where such strings must not be 
3716modified.
3717
3718The ACPI_FUNCTION_* macros no longer require quotes around the function 
3719name. This allows the Linux source converter to convert the names, now that 
3720the converter ignores quoted strings.
3721
3722Example Code and Data Size: These are the sizes for the OS-independent 
3723acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3724debug version of the code includes the debug output trace mechanism and has 
3725a much larger code and data size.
3726
3727  Previous Release:
3728
3729    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3730    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3731  Current Release:
3732    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3733    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3734
3735
37362) iASL Compiler/Disassembler and Tools:
3737
3738Implemented 3 new warnings for iASL, and implemented multiple warning levels 
3739(w2 flag).
3740
37411) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
3742WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
3743check for the possible timeout, a warning is issued.
3744
37452) Useless operators: If an ASL operator does not specify an optional target 
3746operand and it also does not use the function return value from the 
3747operator, a warning is issued since the operator effectively does nothing.
3748
37493) Unreferenced objects: If a namespace object is created, but never 
3750referenced, a warning is issued. This is a warning level 2 since there are 
3751cases where this is ok, such as when a secondary table is loaded that uses 
3752the unreferenced objects. Even so, care is taken to only flag objects that 
3753don't look like they will ever be used. For example, the reserved methods 
3754(starting with an underscore) are usually not referenced because it is 
3755expected that the OS will invoke them.
3756
3757----------------------------------------
375831 March 2006. Summary of changes for version 20060331:
3759
37601) ACPI CA Core Subsystem:
3761
3762Implemented header file support for the following additional ACPI tables: 
3763ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
3764all current and known ACPI tables are now defined in the ACPICA headers and 
3765are available for use by device drivers and other software.
3766
3767Implemented support to allow tables that contain ACPI names with invalid 
3768characters to be loaded. Previously, this would cause the table load to 
3769fail, but since there are several known cases of such tables on existing 
3770machines, this change was made to enable ACPI support for them. Also, this 
3771matches the behavior of the Microsoft ACPI implementation.
3772
3773Fixed a couple regressions introduced during the memory optimization in the 
377420060317 release. The namespace node definition required additional 
3775reorganization and an internal datatype that had been changed to 8-bit was 
3776restored to 32-bit. (Valery Podrezov)
3777
3778Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
3779could be passed through to AcpiOsReleaseObject which is unexpected. Such 
3780null pointers are now trapped and ignored, matching the behavior of the 
3781previous implementation before the deployment of AcpiOsReleaseObject.
3782(Valery Podrezov, Fiodor Suietov)
3783
3784Fixed a memory mapping leak during the deletion of a SystemMemory operation 
3785region where a cached memory mapping was not deleted. This became a 
3786noticeable problem for operation regions that are defined within frequently 
3787used control methods. (Dana Meyers)
3788
3789Reorganized the ACPI table header files into two main files: one for the 
3790ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
3791ACPI tables that are consumed by the drivers and other software. The various 
3792FADT definitions were merged into one common section and three different 
3793tables (ACPI 1.0, 1.0+, and 2.0)
3794
3795Example Code and Data Size: These are the sizes for the OS-independent 
3796acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3797debug version of the code includes the debug output trace mechanism and has 
3798a much larger code and data size.
3799
3800  Previous Release:
3801    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3802    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3803  Current Release:
3804    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3805    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3806
3807
38082) iASL Compiler/Disassembler and Tools:
3809
3810Disassembler: Implemented support to decode and format all non-AML ACPI 
3811tables (tables other than DSDTs and SSDTs.) This includes the new tables 
3812added to the ACPICA headers, therefore all current and known ACPI tables are 
3813supported.
3814
3815Disassembler: The change to allow ACPI names with invalid characters also 
3816enables the disassembly of such tables. Invalid characters within names are 
3817changed to '*' to make the name printable; the iASL compiler will still 
3818generate an error for such names, however, since this is an invalid ACPI 
3819character.
3820
3821Implemented an option for AcpiXtract (-a) to extract all tables found in the 
3822input file. The default invocation extracts only the DSDTs and SSDTs.
3823
3824Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
3825makefile for the AcpiXtract utility.
3826
3827----------------------------------------
382817 March 2006. Summary of changes for version 20060317:
3829
38301) ACPI CA Core Subsystem:
3831
3832Implemented the use of a cache object for all internal namespace nodes. 
3833Since there are about 1000 static nodes in a typical system, this will 
3834decrease memory use for cache implementations that minimize per-allocation 
3835overhead (such as a slab allocator.)
3836
3837Removed the reference count mechanism for internal namespace nodes, since it 
3838was deemed unnecessary. This reduces the size of each namespace node by 
3839about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
3840and 32 bytes for the 64-bit case.
3841
3842Optimized several internal data structures to reduce object size on 64-bit 
3843platforms by packing data within the 64-bit alignment. This includes the 
3844frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
3845instances corresponding to the namespace objects.
3846
3847Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
3848and "Windows 2006".
3849
3850Split the allocation tracking mechanism out to a separate file, from 
3851utalloc.c to uttrack.c. This mechanism appears to be only useful for 
3852application-level code. Kernels may wish to not include uttrack.c in 
3853distributions.
3854
3855Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated 
3856code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
3857macros.)
3858
3859Code and Data Size: These are the sizes for the acpica.lib produced by the 
3860Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3861driver or OSPM code. The debug version of the code includes the debug output 
3862trace mechanism and has a much larger code and data size. Note that these 
3863values will vary depending on the efficiency of the compiler and the 
3864compiler options used during generation.
3865
3866  Previous Release:
3867    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3868    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3869  Current Release:
3870    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3871    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3872
3873
38742) iASL Compiler/Disassembler and Tools:
3875
3876Implemented an ANSI C version of the acpixtract utility. This version will 
3877automatically extract the DSDT and all SSDTs from the input acpidump text 
3878file and dump the binary output to separate files. It can also display a 
3879summary of the input file including the headers for each table found and 
3880will extract any single ACPI table, with any signature. (See 
3881source/tools/acpixtract)
3882
3883----------------------------------------
388410 March 2006. Summary of changes for version 20060310:
3885
38861) ACPI CA Core Subsystem:
3887
3888Tagged all external interfaces to the subsystem with the new 
3889ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
3890kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
3891macro. The default definition is NULL.
3892
3893Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
3894This allows the host to define this as necessary to simplify kernel 
3895integration. The default definition is ACPI_NATIVE_UINT.
3896
3897Fixed two interpreter problems related to error processing, the deletion of 
3898objects, and placing invalid pointers onto the internal operator result 
3899stack. BZ 6028, 6151 (Valery Podrezov)
3900
3901Increased the reference count threshold where a warning is emitted for large 
3902reference counts in order to eliminate unnecessary warnings on systems with 
3903large namespaces (especially 64-bit.) Increased the value from 0x400 to 
39040x800.
3905
3906Due to universal disagreement as to the meaning of the 'c' in the calloc() 
3907function, the ACPI_MEM_CALLOCATE macro has been renamed to 
3908ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
3909ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
3910ACPI_FREE.
3911
3912Code and Data Size: These are the sizes for the acpica.lib produced by the 
3913Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3914driver or OSPM code. The debug version of the code includes the debug output 
3915trace mechanism and has a much larger code and data size. Note that these 
3916values will vary depending on the efficiency of the compiler and the 
3917compiler options used during generation.
3918
3919  Previous Release:
3920    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3921    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3922  Current Release:
3923    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3924    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3925
3926
39272) iASL Compiler/Disassembler:
3928
3929Disassembler: implemented support for symbolic resource descriptor 
3930references. If a CreateXxxxField operator references a fixed offset within a 
3931resource descriptor, a name is assigned to the descriptor and the offset is 
3932translated to the appropriate resource tag and pathname. The addition of 
3933this support brings the disassembled code very close to the original ASL 
3934source code and helps eliminate run-time errors when the disassembled code 
3935is modified (and recompiled) in such a way as to invalidate the original 
3936fixed offsets.
3937
3938Implemented support for a Descriptor Name as the last parameter to the ASL 
3939Register() macro. This parameter was inadvertently left out of the ACPI 
3940specification, and will be added for ACPI 3.0b.
3941
3942Fixed a problem where the use of the "_OSI" string (versus the full path 
3943"\_OSI") caused an internal compiler error. ("No back ptr to op")
3944
3945Fixed a problem with the error message that occurs when an invalid string is 
3946used for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
3947The correct message is now displayed.
3948
3949----------------------------------------
395017 February 2006. Summary of changes for version 20060217:
3951
39521) ACPI CA Core Subsystem:
3953
3954Implemented a change to the IndexField support to match the behavior of the 
3955Microsoft AML interpreter. The value written to the Index register is now a 
3956byte offset, no longer an index based upon the width of the Data register. 
3957This should fix IndexField problems seen on some machines where the Data 
3958register is not exactly one byte wide. The ACPI specification will be 
3959clarified on this point.
3960
3961Fixed a problem where several resource descriptor types could overrun the 
3962internal descriptor buffer due to size miscalculation: VendorShort, 
3963VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
3964affect all platforms.
3965
3966Fixed a problem where individual resource descriptors were misaligned within 
3967the internal buffer, causing alignment faults on IA64 platforms.
3968
3969Code and Data Size: These are the sizes for the acpica.lib produced by the 
3970Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3971driver or OSPM code. The debug version of the code includes the debug output 
3972trace mechanism and has a much larger code and data size. Note that these 
3973values will vary depending on the efficiency of the compiler and the 
3974compiler options used during generation.
3975
3976  Previous Release:
3977    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3978    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3979  Current Release:
3980    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3981    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3982
3983
39842) iASL Compiler/Disassembler:
3985
3986Implemented support for new reserved names: _WDG and _WED are Microsoft 
3987extensions for Windows Instrumentation Management, _TDL is a new ACPI-
3988defined method (Throttling Depth Limit.)
3989
3990Fixed a problem where a zero-length VendorShort or VendorLong resource 
3991descriptor was incorrectly emitted as a descriptor of length one.
3992
3993----------------------------------------
399410 February 2006. Summary of changes for version 20060210:
3995
39961) ACPI CA Core Subsystem:
3997
3998Removed a couple of extraneous ACPI_ERROR messages that appeared during 
3999normal execution. These became apparent after the conversion from 
4000ACPI_DEBUG_PRINT.
4001
4002Fixed a problem where the CreateField operator could hang if the BitIndex or 
4003NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4004
4005Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
4006failed with an exception. This also fixes a couple of related RefOf and 
4007DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
4008
4009Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
4010AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
40115480)
4012
4013Implemented a memory cleanup at the end of the execution of each iteration 
4014of an AML While() loop, preventing the accumulation of outstanding objects. 
4015(Valery Podrezov, BZ 5427)
4016
4017Eliminated a chunk of duplicate code in the object resolution code. (Valery 
4018Podrezov, BZ 5336)
4019
4020Fixed several warnings during the 64-bit code generation.
4021
4022The AcpiSrc source code conversion tool now inserts one line of whitespace 
4023after an if() statement that is followed immediately by a comment, improving 
4024readability of the Linux code.
4025
4026Code and Data Size: The current and previous library sizes for the core 
4027subsystem are shown below. These are the code and data sizes for the 
4028acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4029values do not include any ACPI driver or OSPM code. The debug version of the 
4030code includes the debug output trace mechanism and has a much larger code 
4031and data size. Note that these values will vary depending on the efficiency 
4032of the compiler and the compiler options used during generation.
4033
4034  Previous Release:
4035    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4036    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4037  Current Release:
4038    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4039    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4040
4041
40422) iASL Compiler/Disassembler:
4043
4044Fixed a problem with the disassembly of a BankField operator with a complex 
4045expression for the BankValue parameter.
4046
4047----------------------------------------
404827 January 2006. Summary of changes for version 20060127:
4049
40501) ACPI CA Core Subsystem:
4051
4052Implemented support in the Resource Manager to allow unresolved namestring 
4053references within resource package objects for the _PRT method. This support 
4054is in addition to the previously implemented unresolved reference support 
4055within the AML parser. If the interpreter slack mode is enabled, these 
4056unresolved references will be passed through to the caller as a NULL package 
4057entry.
4058
4059Implemented and deployed new macros and functions for error and warning 
4060messages across the subsystem. These macros are simpler and generate less 
4061code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
4062ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
4063macros remain defined to allow ACPI drivers time to migrate to the new 
4064macros.
4065
4066Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
4067Acquire/Release Lock OSL interfaces.
4068
4069Fixed a problem where Alias ASL operators are sometimes not correctly 
4070resolved, in both the interpreter and the iASL compiler.
4071
4072Fixed several problems with the implementation of the ConcatenateResTemplate 
4073ASL operator. As per the ACPI specification, zero length buffers are now 
4074treated as a single EndTag. One-length buffers always cause a fatal 
4075exception. Non-zero length buffers that do not end with a full 2-byte EndTag 
4076cause a fatal exception.
4077
4078Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
4079interface. (With assistance from Thomas Renninger)
4080
4081Code and Data Size: The current and previous library sizes for the core 
4082subsystem are shown below. These are the code and data sizes for the 
4083acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4084values do not include any ACPI driver or OSPM code. The debug version of the 
4085code includes the debug output trace mechanism and has a much larger code 
4086and data size. Note that these values will vary depending on the efficiency 
4087of the compiler and the compiler options used during generation.
4088
4089  Previous Release:
4090    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4091    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4092  Current Release:
4093    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4094    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4095
4096
40972) iASL Compiler/Disassembler:
4098
4099Fixed an internal error that was generated for any forward references to ASL 
4100Alias objects.
4101
4102----------------------------------------
410313 January 2006. Summary of changes for version 20060113:
4104
41051) ACPI CA Core Subsystem:
4106
4107Added 2006 copyright to all module headers and signons. This affects 
4108virtually every file in the ACPICA core subsystem, iASL compiler, and the 
4109utilities.
4110 
4111Enhanced the ACPICA error reporting in order to simplify user migration to 
4112the non-debug version of ACPICA. Replaced all instances of the 
4113ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
4114levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
4115respectively. This preserves all error and warning messages in the non-debug 
4116version of the ACPICA code (this has been referred to as the "debug lite" 
4117option.) Over 200 cases were converted to create a total of over 380 
4118error/warning messages across the ACPICA code. This increases the code and 
4119data size of the default non-debug version of the code somewhat (about 13K), 
4120but all error/warning reporting may be disabled if desired (and code 
4121eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
4122configuration option. The size of the debug version of ACPICA remains about 
4123the same.
4124
4125Fixed a memory leak within the AML Debugger "Set" command. One object was 
4126not properly deleted for every successful invocation of the command.
4127
4128Code and Data Size: The current and previous library sizes for the core 
4129subsystem are shown below. These are the code and data sizes for the 
4130acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4131values do not include any ACPI driver or OSPM code. The debug version of the 
4132code includes the debug output trace mechanism and has a much larger code 
4133and data size. Note that these values will vary depending on the efficiency 
4134of the compiler and the compiler options used during generation.
4135
4136  Previous Release:
4137    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4138    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4139  Current Release:
4140    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4141    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4142
4143
41442) iASL Compiler/Disassembler:
4145
4146The compiler now officially supports the ACPI 3.0a specification that was 
4147released on December 30, 2005. (Specification is available at www.acpi.info)
4148
4149----------------------------------------
415016 December 2005. Summary of changes for version 20051216:
4151
41521) ACPI CA Core Subsystem:
4153
4154Implemented optional support to allow unresolved names within ASL Package 
4155objects. A null object is inserted in the package when a named reference 
4156cannot be located in the current namespace. Enabled via the interpreter 
4157slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
4158that contain such code.
4159
4160Implemented an optimization to the initialization sequence that can improve 
4161boot time. During ACPI device initialization, the _STA method is now run if 
4162and only if the _INI method exists. The _STA method is used to determine if 
4163the device is present; An _INI can only be run if _STA returns present, but 
4164it is a waste of time to run the _STA method if the _INI does not exist. 
4165(Prototype and assistance from Dong Wei)
4166
4167Implemented use of the C99 uintptr_t for the pointer casting macros if it is 
4168available in the current compiler. Otherwise, the default (void *) cast is 
4169used as before.
4170
4171Fixed some possible memory leaks found within the execution path of the 
4172Break, Continue, If, and CreateField operators. (Valery Podrezov)
4173
4174Fixed a problem introduced in the 20051202 release where an exception is 
4175generated during method execution if a control method attempts to declare 
4176another method.
4177
4178Moved resource descriptor string constants that are used by both the AML 
4179disassembler and AML debugger to the common utilities directory so that 
4180these components are independent.
4181
4182Implemented support in the AcpiExec utility (-e switch) to globally ignore 
4183exceptions during control method execution (method is not aborted.)
4184
4185Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
4186generation.
4187
4188Code and Data Size: The current and previous library sizes for the core 
4189subsystem are shown below. These are the code and data sizes for the 
4190acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4191values do not include any ACPI driver or OSPM code. The debug version of the 
4192code includes the debug output trace mechanism and has a much larger code 
4193and data size. Note that these values will vary depending on the efficiency 
4194of the compiler and the compiler options used during generation.
4195
4196  Previous Release:
4197    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4198    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4199  Current Release:
4200    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4201    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4202
4203
42042) iASL Compiler/Disassembler:
4205
4206Fixed a problem where a CPU stack overflow fault could occur if a recursive 
4207method call was made from within a Return statement.
4208
4209----------------------------------------
421002 December 2005. Summary of changes for version 20051202:
4211
42121) ACPI CA Core Subsystem:
4213
4214Modified the parsing of control methods to no longer create namespace 
4215objects during the first pass of the parse. Objects are now created only 
4216during the execute phase, at the moment the namespace creation operator is 
4217encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
4218should eliminate ALREADY_EXISTS exceptions seen on some machines where 
4219reentrant control methods are protected by an AML mutex. The mutex will now 
4220correctly block multiple threads from attempting to create the same object 
4221more than once.
4222
4223Increased the number of available Owner Ids for namespace object tracking 
4224from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
4225some machines with a large number of ACPI tables (either static or dynamic).
4226
4227Fixed a problem with the AcpiExec utility where a fault could occur when the 
4228-b switch (batch mode) is used.
4229
4230Enhanced the namespace dump routine to output the owner ID for each 
4231namespace object.
4232
4233Code and Data Size: The current and previous library sizes for the core 
4234subsystem are shown below. These are the code and data sizes for the 
4235acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4236values do not include any ACPI driver or OSPM code. The debug version of the 
4237code includes the debug output trace mechanism and has a much larger code 
4238and data size. Note that these values will vary depending on the efficiency 
4239of the compiler and the compiler options used during generation.
4240
4241  Previous Release:
4242    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4243    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4244  Current Release:
4245    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4246    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4247
4248
42492) iASL Compiler/Disassembler:
4250
4251Fixed a parse error during compilation of certain Switch/Case constructs. To 
4252simplify the parse, the grammar now allows for multiple Default statements 
4253and this error is now detected and flagged during the analysis phase.
4254
4255Disassembler: The disassembly now includes the contents of the original 
4256table header within a comment at the start of the file. This includes the 
4257name and version of the original ASL compiler.
4258
4259----------------------------------------
426017 November 2005. Summary of changes for version 20051117:
4261
42621) ACPI CA Core Subsystem:
4263
4264Fixed a problem in the AML parser where the method thread count could be 
4265decremented below zero if any errors occurred during the method parse phase. 
4266This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
4267This also fixed a related regression with the mechanism that detects and 
4268corrects methods that cannot properly handle reentrancy (related to the 
4269deployment of the new OwnerId mechanism.)
4270
4271Eliminated the pre-parsing of control methods (to detect errors) during 
4272table load. Related to the problem above, this was causing unwind issues if 
4273any errors occurred during the parse, and it seemed to be overkill. A table 
4274load should not be aborted if there are problems with any single control 
4275method, thus rendering this feature rather pointless.
4276
4277Fixed a problem with the new table-driven resource manager where an internal 
4278buffer overflow could occur for small resource templates.
4279
4280Implemented a new external interface, AcpiGetVendorResource. This interface 
4281will find and return a vendor-defined resource descriptor within a _CRS or 
4282_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
4283
4284Removed the length limit (200) on string objects as per the upcoming ACPI 
42853.0A specification. This affects the following areas of the interpreter: 1) 
4286any implicit conversion of a Buffer to a String, 2) a String object result 
4287of the ASL Concatentate operator, 3) the String object result of the ASL 
4288ToString operator.
4289
4290Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
4291on a semaphore object would incorrectly timeout. This allows the 
4292multithreading features of the AcpiExec utility to work properly under 
4293Windows.
4294
4295Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
4296the recently added file named "utresrc.c".
4297
4298Code and Data Size: The current and previous library sizes for the core 
4299subsystem are shown below. These are the code and data sizes for the 
4300acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4301values do not include any ACPI driver or OSPM code. The debug version of the 
4302code includes the debug output trace mechanism and has a much larger code 
4303and data size. Note that these values will vary depending on the efficiency 
4304of the compiler and the compiler options used during generation.
4305
4306  Previous Release:
4307    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4308    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4309  Current Release:
4310    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4311    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4312
4313
43142) iASL Compiler/Disassembler:
4315
4316Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
4317specification. For the iASL compiler, this means that string literals within 
4318the source ASL can be of any length. 
4319
4320Enhanced the listing output to dump the AML code for resource descriptors 
4321immediately after the ASL code for each descriptor, instead of in a block at 
4322the end of the entire resource template.
4323
4324Enhanced the compiler debug output to dump the entire original parse tree 
4325constructed during the parse phase, before any transforms are applied to the 
4326tree. The transformed tree is dumped also.
4327
4328----------------------------------------
432902 November 2005. Summary of changes for version 20051102:
4330
43311) ACPI CA Core Subsystem:
4332
4333Modified the subsystem initialization sequence to improve GPE support. The 
4334GPE initialization has been split into two parts in order to defer execution 
4335of the _PRW methods (Power Resources for Wake) until after the hardware is 
4336fully initialized and the SCI handler is installed. This allows the _PRW 
4337methods to access fields protected by the Global Lock. This will fix systems 
4338where a NO_GLOBAL_LOCK exception has been seen during initialization.
4339
4340Converted the ACPI internal object disassemble and display code within the 
4341AML debugger to fully table-driven operation, reducing code size and 
4342increasing maintainability.
4343
4344Fixed a regression with the ConcatenateResTemplate() ASL operator introduced 
4345in the 20051021 release.
4346
4347Implemented support for "local" internal ACPI object types within the 
4348debugger "Object" command and the AcpiWalkNamespace external interfaces. 
4349These local types include RegionFields, BankFields, IndexFields, Alias, and 
4350reference objects.
4351
4352Moved common AML resource handling code into a new file, "utresrc.c". This 
4353code is shared by both the Resource Manager and the AML Debugger.
4354
4355Code and Data Size: The current and previous library sizes for the core 
4356subsystem are shown below. These are the code and data sizes for the 
4357acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4358values do not include any ACPI driver or OSPM code. The debug version of the 
4359code includes the debug output trace mechanism and has a much larger code 
4360and data size. Note that these values will vary depending on the efficiency 
4361of the compiler and the compiler options used during generation.
4362
4363  Previous Release:
4364    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4365    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4366  Current Release:
4367    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4368    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4369
4370
43712) iASL Compiler/Disassembler:
4372
4373Fixed a problem with very large initializer lists (more than 4000 elements) 
4374for both Buffer and Package objects where the parse stack could overflow.
4375
4376Enhanced the pre-compile source code scan for non-ASCII characters to ignore 
4377characters within comment fields. The scan is now always performed and is no 
4378longer optional, detecting invalid characters within a source file 
4379immediately rather than during the parse phase or later.
4380
4381Enhanced the ASL grammar definition to force early reductions on all list-
4382style grammar elements so that the overall parse stack usage is greatly 
4383reduced. This should improve performance and reduce the possibility of parse 
4384stack overflow.
4385
4386Eliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
4387with the addition of a %expected statement, the compiler generates from 
4388source with no warnings.
4389
4390Fixed a possible segment fault in the disassembler if the input filename 
4391does not contain a "dot" extension (Thomas Renninger).
4392
4393----------------------------------------
439421 October 2005. Summary of changes for version 20051021:
4395
43961) ACPI CA Core Subsystem:
4397
4398Implemented support for the EM64T and other x86-64 processors. This 
4399essentially entails recognizing that these processors support non-aligned 
4400memory transfers. Previously, all 64-bit processors were assumed to lack 
4401hardware support for non-aligned transfers.
4402
4403Completed conversion of the Resource Manager to nearly full table-driven 
4404operation. Specifically, the resource conversion code (convert AML to 
4405internal format and the reverse) and the debug code to dump internal 
4406resource descriptors are fully table-driven, reducing code and data size and 
4407improving maintainability.
4408
4409The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
4410on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
4411Alexey Starikovskiy)
4412
4413Implemented support within the resource conversion code for the Type-
4414Specific byte within the various ACPI 3.0 *WordSpace macros.
4415
4416Fixed some issues within the resource conversion code for the type-specific 
4417flags for both Memory and I/O address resource descriptors. For Memory, 
4418implemented support for the MTP and TTP flags. For I/O, split the TRS and 
4419TTP flags into two separate fields.
4420
4421Code and Data Size: The current and previous library sizes for the core 
4422subsystem are shown below. These are the code and data sizes for the 
4423acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4424values do not include any ACPI driver or OSPM code. The debug version of the 
4425code includes the debug output trace mechanism and has a much larger code 
4426and data size. Note that these values will vary depending on the efficiency 
4427of the compiler and the compiler options used during generation.
4428
4429  Previous Release:
4430    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4431    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4432  Current Release:
4433    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4434    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4435
4436
4437
44382) iASL Compiler/Disassembler:
4439
4440Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
4441corresponding ResourceSource string was not also present in a resource 
4442descriptor declaration. This restriction caused problems with existing 
4443AML/ASL code that includes the Index byte without the string. When such AML 
4444was disassembled, it could not be compiled without modification. Further, 
4445the modified code created a resource template with a different size than the 
4446original, breaking code that used fixed offsets into the resource template 
4447buffer.
4448
4449Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
4450byte. This byte is now emitted if present so that the exact AML can be 
4451reproduced when the disassembled code is recompiled.
4452
4453Improved comments and text alignment for the resource descriptor code 
4454emitted by the disassembler.
4455
4456Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
4457Register() resource descriptor.
4458
4459----------------------------------------
446030 September 2005. Summary of changes for version 20050930:
4461
44621) ACPI CA Core Subsystem:
4463
4464Completed a major overhaul of the Resource Manager code - specifically, 
4465optimizations in the area of the AML/internal resource conversion code. The 
4466code has been optimized to simplify and eliminate duplicated code, CPU stack 
4467use has been decreased by optimizing function parameters and local 
4468variables, and naming conventions across the manager have been standardized 
4469for clarity and ease of maintenance (this includes function, parameter, 
4470variable, and struct/typedef names.) The update may force changes in some 
4471driver code, depending on how resources are handled by the host OS.
4472
4473All Resource Manager dispatch and information tables have been moved to a 
4474single location for clarity and ease of maintenance. One new file was 
4475created, named "rsinfo.c".
4476
4477The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
4478guarantee that the argument is not evaluated twice, making them less prone 
4479to macro side-effects. However, since there exists the possibility of 
4480additional stack use if a particular compiler cannot optimize them (such as 
4481in the debug generation case), the original macros are optionally available.  
4482Note that some invocations of the return_VALUE macro may now cause size 
4483mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
4484eliminate these. (From Randy Dunlap)
4485
4486Implemented a new mechanism to enable debug tracing for individual control 
4487methods. A new external interface, AcpiDebugTrace, is provided to enable 
4488this mechanism. The intent is to allow the host OS to easily enable and 
4489disable tracing for problematic control methods. This interface can be 
4490easily exposed to a user or debugger interface if desired. See the file 
4491psxface.c for details.
4492
4493AcpiUtCallocate will now return a valid pointer if a length of zero is 
4494specified - a length of one is used and a warning is issued. This matches 
4495the behavior of AcpiUtAllocate.
4496
4497Code and Data Size: The current and previous library sizes for the core 
4498subsystem are shown below. These are the code and data sizes for the 
4499acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4500values do not include any ACPI driver or OSPM code. The debug version of the 
4501code includes the debug output trace mechanism and has a much larger code 
4502and data size. Note that these values will vary depending on the efficiency 
4503of the compiler and the compiler options used during generation.
4504
4505  Previous Release:
4506    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4507    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4508  Current Release:
4509    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4510    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4511
4512
45132) iASL Compiler/Disassembler:
4514
4515A remark is issued if the effective compile-time length of a package or 
4516buffer is zero. Previously, this was a warning.
4517
4518----------------------------------------
451916 September 2005. Summary of changes for version 20050916:
4520
45211) ACPI CA Core Subsystem:
4522
4523Fixed a problem within the Resource Manager where support for the Generic 
4524Register descriptor was not fully implemented. This descriptor is now fully 
4525recognized, parsed, disassembled, and displayed.
4526
4527Completely restructured the Resource Manager code to utilize table-driven 
4528dispatch and lookup, eliminating many of the large switch() statements. This 
4529reduces overall subsystem code size and code complexity. Affects the 
4530resource parsing and construction, disassembly, and debug dump output.
4531
4532Cleaned up and restructured the debug dump output for all resource 
4533descriptors. Improved readability of the output and reduced code size.
4534
4535Fixed a problem where changes to internal data structures caused the 
4536optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
4537
4538Code and Data Size: The current and previous library sizes for the core 
4539subsystem are shown below. These are the code and data sizes for the 
4540acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4541values do not include any ACPI driver or OSPM code. The debug version of the 
4542code includes the debug output trace mechanism and has a much larger code 
4543and data size. Note that these values will vary depending on the efficiency 
4544of the compiler and the compiler options used during generation.
4545
4546  Previous Release:
4547    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4548    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4549  Current Release:
4550    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4551    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4552
4553
45542) iASL Compiler/Disassembler:
4555
4556Updated the disassembler to automatically insert an EndDependentFn() macro 
4557into the ASL stream if this macro is missing in the original AML code, 
4558simplifying compilation of the resulting ASL module.
4559
4560Fixed a problem in the disassembler where a disassembled ResourceSource 
4561string (within a large resource descriptor) was not surrounded by quotes and 
4562not followed by a comma, causing errors when the resulting ASL module was 
4563compiled. Also, escape sequences within a ResourceSource string are now 
4564handled correctly (especially "\\")
4565
4566----------------------------------------
456702 September 2005. Summary of changes for version 20050902:
4568
45691) ACPI CA Core Subsystem:
4570
4571Fixed a problem with the internal Owner ID allocation and deallocation 
4572mechanisms for control method execution and recursive method invocation. 
4573This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
4574messages seen on some systems. Recursive method invocation depth is 
4575currently limited to 255. (Alexey Starikovskiy)
4576
4577Completely eliminated all vestiges of support for the "module-level 
4578executable code" until this support is fully implemented and debugged. This 
4579should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
4580some systems that invoke this support.
4581
4582Fixed a problem within the resource manager code where the transaction flags 
4583for a 64-bit address descriptor were handled incorrectly in the type-
4584specific flag byte.
4585
4586Consolidated duplicate code within the address descriptor resource manager 
4587code, reducing overall subsystem code size.
4588
4589Fixed a fault when using the AML debugger "disassemble" command to 
4590disassemble individual control methods.
4591
4592Removed references to the "release_current" directory within the Unix 
4593release package.
4594
4595Code and Data Size: The current and previous core subsystem library sizes 
4596are shown below. These are the code and data sizes for the acpica.lib 
4597produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
4598include any ACPI driver or OSPM code. The debug version of the code includes 
4599the debug output trace mechanism and has a much larger code and data size. 
4600Note that these values will vary depending on the efficiency of the compiler 
4601and the compiler options used during generation.
4602
4603  Previous Release:
4604    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4605    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4606  Current Release:
4607    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4608    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4609
4610
46112) iASL Compiler/Disassembler:
4612
4613Implemented an error check for illegal duplicate values in the interrupt and 
4614dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
4615Interrupt().
4616
4617Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
4618too many values in the interrupt list (16 max) and invalid values in the 
4619list (range 0 - 15)
4620
4621The maximum length string literal within an ASL file is now restricted to 
4622200 characters as per the ACPI specification.
4623
4624Fixed a fault when using the -ln option (generate namespace listing).
4625
4626Implemented an error check to determine if a DescriptorName within a 
4627resource descriptor has already been used within the current scope.
4628
4629----------------------------------------
463015 August 2005.  Summary of changes for version 20050815:
4631 
46321) ACPI CA Core Subsystem:
4633 
4634Implemented a full bytewise compare to determine if a table load request is 
4635attempting to load a duplicate table. The compare is performed if the table 
4636signatures and table lengths match. This will allow different tables with 
4637the same OEM Table ID and revision to be loaded - probably against the ACPI 
4638specification, but discovered in the field nonetheless.
4639 
4640Added the changes.txt logfile to each of the zipped release packages.
4641 
4642Code and Data Size: Current and previous core subsystem library sizes are 
4643shown below. These are the code and data sizes for the acpica.lib produced 
4644by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4645any ACPI driver or OSPM code. The debug version of the code includes the 
4646debug output trace mechanism and has a much larger code and data size. Note 
4647that these values will vary depending on the efficiency of the compiler and 
4648the compiler options used during generation.
4649 
4650  Previous Release:
4651    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4652    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4653  Current Release:
4654    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4655    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4656 
4657 
46582) iASL Compiler/Disassembler:
4659 
4660Fixed a problem where incorrect AML code could be generated for Package 
4661objects if optimization is disabled (via the -oa switch).
4662 
4663Fixed a problem with where incorrect AML code is generated for variable-
4664length packages when the package length is not specified and the number of 
4665initializer values is greater than 255.
4666 
4667
4668----------------------------------------
466929 July 2005.  Summary of changes for version 20050729:
4670
46711) ACPI CA Core Subsystem:
4672
4673Implemented support to ignore an attempt to install/load a particular ACPI 
4674table more than once. Apparently there exists BIOS code that repeatedly 
4675attempts to load the same SSDT upon certain events. With assistance from 
4676Venkatesh Pallipadi.
4677
4678Restructured the main interface to the AML parser in order to correctly 
4679handle all exceptional conditions. This will prevent leakage of the OwnerId 
4680resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
4681machines. With assistance from Alexey Starikovskiy.
4682
4683Support for "module level code" has been disabled in this version due to a 
4684number of issues that have appeared on various machines. The support can be 
4685enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
4686compilation. When the issues are fully resolved, the code will be enabled by 
4687default again.
4688
4689Modified the internal functions for debug print support to define the 
4690FunctionName parameter as a (const char *) for compatibility with compiler 
4691built-in macros such as __FUNCTION__, etc.
4692
4693Linted the entire ACPICA source tree for both 32-bit and 64-bit.
4694
4695Implemented support to display an object count summary for the AML Debugger 
4696commands Object and Methods.
4697
4698Code and Data Size: Current and previous core subsystem library sizes are 
4699shown below. These are the code and data sizes for the acpica.lib produced 
4700by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4701any ACPI driver or OSPM code. The debug version of the code includes the 
4702debug output trace mechanism and has a much larger code and data size. Note 
4703that these values will vary depending on the efficiency of the compiler and 
4704the compiler options used during generation.
4705
4706  Previous Release:
4707    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4708    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4709  Current Release:
4710    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4711    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4712
4713
47142) iASL Compiler/Disassembler:
4715
4716Fixed a regression that appeared in the 20050708 version of the compiler 
4717where an error message was inadvertently emitted for invocations of the _OSI 
4718reserved control method.
4719
4720----------------------------------------
472108 July 2005.  Summary of changes for version 20050708:
4722
47231) ACPI CA Core Subsystem:
4724
4725The use of the CPU stack in the debug version of the subsystem has been 
4726considerably reduced. Previously, a debug structure was declared in every 
4727function that used the debug macros. This structure has been removed in 
4728favor of declaring the individual elements as parameters to the debug 
4729functions. This reduces the cumulative stack use during nested execution of 
4730ACPI function calls at the cost of a small increase in the code size of the 
4731debug version of the subsystem. With assistance from Alexey Starikovskiy and 
4732Len Brown.
4733
4734Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
4735headers to define a macro that will return the current function name at 
4736runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
4737the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
4738compiler-dependent header, the function name is saved on the CPU stack (one 
4739pointer per function.) This mechanism is used because apparently there 
4740exists no standard ANSI-C defined macro that that returns the function name.
4741
4742Redesigned and reimplemented the "Owner ID" mechanism used to track 
4743namespace objects created/deleted by ACPI tables and control method 
4744execution. A bitmap is now used to allocate and free the IDs, thus solving 
4745the wraparound problem present in the previous implementation. The size of 
4746the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
4747Starikovskiy).
4748
4749Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
4750flag definitions within the headers for the predefined ACPI tables. These 
4751have been replaced by UINT8_BIT in order to increase the code portability of 
4752the subsystem. If the use of UINT8 remains a problem, we may be forced to 
4753eliminate bitfields entirely because of a lack of portability.
4754
4755Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
4756is a frequently used function and this improvement increases the performance 
4757of the entire subsystem (Alexey Starikovskiy).
4758
4759Fixed several possible memory leaks and the inverse - premature object 
4760deletion (Alexey Starikovskiy).
4761
4762Code and Data Size: Current and previous core subsystem library sizes are 
4763shown below. These are the code and data sizes for the acpica.lib produced 
4764by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4765any ACPI driver or OSPM code. The debug version of the code includes the 
4766debug output trace mechanism and has a much larger code and data size. Note 
4767that these values will vary depending on the efficiency of the compiler and 
4768the compiler options used during generation.
4769
4770  Previous Release:
4771    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4772    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4773  Current Release:
4774    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4775    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4776
4777----------------------------------------
477824 June 2005.  Summary of changes for version 20050624:
4779
47801) ACPI CA Core Subsystem:
4781
4782Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
4783the host-defined cache object. This allows the OSL implementation to define 
4784and type this object in any manner desired, simplifying the OSL 
4785implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
4786Linux, and should be defined in the OS-specific header file for other 
4787operating systems as required.
4788
4789Changed the interface to AcpiOsAcquireObject to directly return the 
4790requested object as the function return (instead of ACPI_STATUS.) This 
4791change was made for performance reasons, since this is the purpose of the 
4792interface in the first place. AcpiOsAcquireObject is now similar to the 
4793AcpiOsAllocate interface.
4794
4795Implemented a new AML debugger command named Businfo. This command displays 
4796information about all devices that have an associate _PRT object. The _ADR, 
4797_HID, _UID, and _CID are displayed for these devices.
4798
4799Modified the initialization sequence in AcpiInitializeSubsystem to call the 
4800OSL interface AcpiOslInitialize first, before any local initialization. This 
4801change was required because the global initialization now calls OSL 
4802interfaces.
4803
4804Enhanced the Dump command to display the entire contents of Package objects 
4805(including all sub-objects and their values.) 
4806
4807Restructured the code base to split some files because of size and/or 
4808because the code logically belonged in a separate file. New files are listed 
4809below. All makefiles and project files included in the ACPI CA release have 
4810been updated.
4811    utilities/utcache.c           /* Local cache interfaces */
4812    utilities/utmutex.c           /* Local mutex support */
4813    utilities/utstate.c           /* State object support */
4814    interpreter/parser/psloop.c   /* Main AML parse loop */
4815
4816Code and Data Size: Current and previous core subsystem library sizes are 
4817shown below. These are the code and data sizes for the acpica.lib produced 
4818by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4819any ACPI driver or OSPM code. The debug version of the code includes the 
4820debug output trace mechanism and has a much larger code and data size. Note 
4821that these values will vary depending on the efficiency of the compiler and 
4822the compiler options used during generation.
4823
4824  Previous Release:
4825    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4826    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4827  Current Release:
4828    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4829    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4830
4831
48322) iASL Compiler/Disassembler:
4833
4834Fixed a regression introduced in version 20050513 where the use of a Package 
4835object within a Case() statement caused a compile time exception. The 
4836original behavior has been restored (a Match() operator is emitted.)
4837
4838----------------------------------------
483917 June 2005.  Summary of changes for version 20050617:
4840
48411) ACPI CA Core Subsystem:
4842
4843Moved the object cache operations into the OS interface layer (OSL) to allow 
4844the host OS to handle these operations if desired (for example, the Linux 
4845OSL will invoke the slab allocator). This support is optional; the compile 
4846time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
4847code in the ACPI CA core. The new OSL interfaces are shown below. See 
4848utalloc.c for an example implementation, and acpiosxf.h for the exact 
4849interface definitions. With assistance from Alexey Starikovskiy.
4850    AcpiOsCreateCache
4851    AcpiOsDeleteCache
4852    AcpiOsPurgeCache
4853    AcpiOsAcquireObject
4854    AcpiOsReleaseObject
4855
4856Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
4857and restore a flags parameter. This fits better with many OS lock models. 
4858Note: the current execution state (interrupt handler or not) is no longer 
4859passed to these interfaces. If necessary, the OSL must determine this state 
4860by itself, a simple and fast operation. With assistance from Alexey 
4861Starikovskiy.
4862
4863Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
4864present if the revision of the RSDP was 2 or greater. According to the ACPI 
4865specification, the XSDT is optional in all cases, and the table manager 
4866therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
4867Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
4868only the RSDT.
4869
4870Fixed an interpreter problem with the Mid() operator in the case of an input 
4871string where the resulting output string is of zero length. It now correctly 
4872returns a valid, null terminated string object instead of a string object 
4873with a null pointer.
4874
4875Fixed a problem with the control method argument handling to allow a store 
4876to an Arg object that already contains an object of type Device. The Device 
4877object is now correctly overwritten. Previously, an error was returned.
4878
4879
4880Enhanced the debugger Find command to emit object values in addition to the 
4881found object pathnames. The output format is the same as the dump namespace 
4882command.
4883
4884Enhanced the debugger Set command. It now has the ability to set the value 
4885of any Named integer object in the namespace (Previously, only method locals 
4886and args could be set.)
4887
4888Code and Data Size: Current and previous core subsystem library sizes are 
4889shown below. These are the code and data sizes for the acpica.lib produced 
4890by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4891any ACPI driver or OSPM code. The debug version of the code includes the 
4892debug output trace mechanism and has a much larger code and data size. Note 
4893that these values will vary depending on the efficiency of the compiler and 
4894the compiler options used during generation.
4895
4896  Previous Release:
4897    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4898    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4899  Current Release:
4900    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4901    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4902
4903
49042) iASL Compiler/Disassembler:
4905
4906Fixed a regression in the disassembler where if/else/while constructs were 
4907output incorrectly. This problem was introduced in the previous release 
4908(20050526). This problem also affected the single-step disassembly in the 
4909debugger.
4910
4911Fixed a problem where compiling the reserved _OSI method would randomly (but 
4912rarely) produce compile errors.
4913
4914Enhanced the disassembler to emit compilable code in the face of incorrect 
4915AML resource descriptors. If the optional ResourceSourceIndex is present, 
4916but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
4917disassembly. Otherwise, the resulting code cannot be compiled without 
4918errors.
4919
4920----------------------------------------
492126 May 2005.  Summary of changes for version 20050526:
4922
49231) ACPI CA Core Subsystem:
4924
4925Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
4926the module level (not within a control method.) These opcodes are executed 
4927exactly once at the time the table is loaded. This type of code was legal up 
4928until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
4929order to provide backwards compatibility with earlier BIOS implementations. 
4930This eliminates the "Encountered executable code at module level" warning 
4931that was previously generated upon detection of such code.
4932
4933Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
4934inadvertently be generated during the lookup of namespace objects in the 
4935second pass parse of ACPI tables and control methods. It appears that this 
4936problem could occur during the resolution of forward references to namespace 
4937objects.
4938
4939Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
4940corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
4941allows the deadlock detection debug code to be compiled out in the normal 
4942case, improving mutex performance (and overall subsystem performance) 
4943considerably.
4944
4945Implemented a handful of miscellaneous fixes for possible memory leaks on 
4946error conditions and error handling control paths. These fixes were 
4947suggested by FreeBSD and the Coverity Prevent source code analysis tool.
4948
4949Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
4950to prevent a fault in this error case.
4951
4952Code and Data Size: Current and previous core subsystem library sizes are 
4953shown below. These are the code and data sizes for the acpica.lib produced 
4954by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4955any ACPI driver or OSPM code. The debug version of the code includes the 
4956debug output trace mechanism and has a much larger code and data size. Note 
4957that these values will vary depending on the efficiency of the compiler and 
4958the compiler options used during generation.
4959
4960  Previous Release:
4961    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4962    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4963  Current Release:
4964    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4965    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4966
4967
49682) iASL Compiler/Disassembler:
4969
4970Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
4971the module level (not within a control method.) These operators will be 
4972executed once at the time the table is loaded. This type of code was legal 
4973up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
4974compiler in order to provide backwards compatibility with earlier BIOS ASL 
4975code.
4976
4977The ACPI integer width (specified via the table revision ID or the -r 
4978override, 32 or 64 bits) is now used internally during compile-time constant 
4979folding to ensure that constants are truncated to 32 bits if necessary. 
4980Previously, the revision ID value was only emitted in the AML table header.
4981
4982An error message is now generated for the Mutex and Method operators if the 
4983SyncLevel parameter is outside the legal range of 0 through 15.
4984
4985Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
49863.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
4987The actual underlying implementation of method argument typechecking is 
4988still under development, however.
4989
4990----------------------------------------
499113 May 2005.  Summary of changes for version 20050513:
4992
49931) ACPI CA Core Subsystem:
4994
4995Implemented support for PCI Express root bridges -- added support for device 
4996PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
4997
4998The interpreter now automatically truncates incoming 64-bit constants to 32 
4999bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
5000also affects the iASL compiler constant folding. (Note: as per below, the 
5001iASL compiler no longer allows 64-bit constants within 32-bit tables.)
5002
5003Fixed a problem where string and buffer objects with "static" pointers 
5004(pointers to initialization data within an ACPI table) were not handled 
5005consistently. The internal object copy operation now always copies the data 
5006to a newly allocated buffer, regardless of whether the source object is 
5007static or not.
5008
5009Fixed a problem with the FromBCD operator where an implicit result 
5010conversion was improperly performed while storing the result to the target 
5011operand. Since this is an "explicit conversion" operator, the implicit 
5012conversion should never be performed on the output.
5013
5014Fixed a problem with the CopyObject operator where a copy to an existing 
5015named object did not always completely overwrite the existing object stored 
5016at name. Specifically, a buffer-to-buffer copy did not delete the existing 
5017buffer.
5018
5019Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
5020structs for consistency.
5021
5022Code and Data Size: Current and previous core subsystem library sizes are 
5023shown below. These are the code and data sizes for the acpica.lib produced 
5024by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5025any ACPI driver or OSPM code. The debug version of the code includes the 
5026debug output trace mechanism and has a much larger code and data size. Note 
5027that these values will vary depending on the efficiency of the compiler and 
5028the compiler options used during generation.
5029
5030  Previous Release:
5031    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5032    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5033  Current Release: (Same sizes)
5034    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5035    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5036
5037
50382) iASL Compiler/Disassembler:
5039
5040The compiler now emits a warning if an attempt is made to generate a 64-bit 
5041integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
5042is truncated to 32 bits.
5043
5044Fixed a problem with large package objects: if the static length of the 
5045package is greater than 255, the "variable length package" opcode is 
5046emitted. Previously, this caused an error. This requires an update to the 
5047ACPI spec, since it currently (incorrectly) states that packages larger than 
5048255 elements are not allowed.
5049
5050The disassembler now correctly handles variable length packages and packages 
5051larger than 255 elements.
5052
5053----------------------------------------
505408 April 2005.  Summary of changes for version 20050408:
5055
50561) ACPI CA Core Subsystem:
5057
5058Fixed three cases in the interpreter where an "index" argument to an ASL 
5059function was still (internally) 32 bits instead of the required 64 bits. 
5060This was the Index argument to the Index, Mid, and Match operators.
5061
5062The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
5063not a POSIX-defined function and not present in most kernel-level C 
5064libraries. All references to the C library strupr function have been removed 
5065from the headers.
5066
5067Completed the deployment of static functions/prototypes. All prototypes with 
5068the static attribute have been moved from the headers to the owning C file.
5069
5070Implemented an extract option (-e) for the AcpiBin utility (AML binary 
5071utility). This option allows the utility to extract individual ACPI tables 
5072from the output of AcpiDmp. It provides the same functionality of the 
5073acpixtract.pl perl script without the worry of setting the correct perl 
5074options. AcpiBin runs on Windows and has not yet been generated/validated in 
5075the Linux/Unix environment (but should be soon).
5076 
5077Updated and fixed the table dump option for AcpiBin (-d). This option 
5078converts a single ACPI table to a hex/ascii file, similar to the output of 
5079AcpiDmp.
5080
5081Code and Data Size: Current and previous core subsystem library sizes are 
5082shown below. These are the code and data sizes for the acpica.lib produced 
5083by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5084any ACPI driver or OSPM code. The debug version of the code includes the 
5085debug output trace mechanism and has a much larger code and data size. Note 
5086that these values will vary depending on the efficiency of the compiler and 
5087the compiler options used during generation.
5088
5089  Previous Release:
5090    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5091    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5092  Current Release:
5093    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5094    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5095
5096
50972) iASL Compiler/Disassembler:
5098
5099Disassembler fix: Added a check to ensure that the table length found in the 
5100ACPI table header within the input file is not longer than the actual input 
5101file size. This indicates some kind of file or table corruption.
5102
5103----------------------------------------
510429 March 2005.  Summary of changes for version 20050329:
5105
51061) ACPI CA Core Subsystem:
5107
5108An error is now generated if an attempt is made to create a Buffer Field of 
5109length zero (A CreateField with a length operand of zero.)
5110
5111The interpreter now issues a warning whenever executable code at the module 
5112level is detected during ACPI table load. This will give some idea of the 
5113prevalence of this type of code.
5114
5115Implemented support for references to named objects (other than control 
5116methods) within package objects.
5117
5118Enhanced package object output for the debug object. Package objects are now 
5119completely dumped, showing all elements.
5120
5121Enhanced miscellaneous object output for the debug object. Any object can 
5122now be written to the debug object (for example, a device object can be 
5123written, and the type of the object will be displayed.)
5124
5125The "static" qualifier has been added to all local functions across both the 
5126core subsystem and the iASL compiler.
5127
5128The number of "long" lines (> 80 chars) within the source has been 
5129significantly reduced, by about 1/3.
5130
5131Cleaned up all header files to ensure that all CA/iASL functions are 
5132prototyped (even static functions) and the formatting is consistent.
5133
5134Two new header files have been added, acopcode.h and acnames.h.
5135
5136Removed several obsolete functions that were no longer used.
5137
5138Code and Data Size: Current and previous core subsystem library sizes are 
5139shown below. These are the code and data sizes for the acpica.lib produced 
5140by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5141any ACPI driver or OSPM code. The debug version of the code includes the 
5142debug output trace mechanism and has a much larger code and data size. Note 
5143that these values will vary depending on the efficiency of the compiler and 
5144the compiler options used during generation.
5145
5146  Previous Release:
5147    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5148    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5149  Current Release:
5150    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5151    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5152
5153
5154
51552) iASL Compiler/Disassembler:
5156
5157Fixed a problem with the resource descriptor generation/support. For the 
5158ResourceSourceIndex and the ResourceSource fields, both must be present, or 
5159both must be not present - can't have one without the other.
5160
5161The compiler now returns non-zero from the main procedure if any errors have 
5162occurred during the compilation.
5163
5164
5165----------------------------------------
516609 March 2005.  Summary of changes for version 20050309:
5167
51681) ACPI CA Core Subsystem:
5169
5170The string-to-buffer implicit conversion code has been modified again after 
5171a change to the ACPI specification.  In order to match the behavior of the 
5172other major ACPI implementation, the target buffer is no longer truncated if 
5173the source string is smaller than an existing target buffer. This change 
5174requires an update to the ACPI spec, and should eliminate the recent 
5175AE_AML_BUFFER_LIMIT issues.
5176
5177The "implicit return" support was rewritten to a new algorithm that solves 
5178the general case. Rather than attempt to determine when a method is about to 
5179exit, the result of every ASL operator is saved momentarily until the very 
5180next ASL operator is executed. Therefore, no matter how the method exits, 
5181there will always be a saved implicit return value. This feature is only 
5182enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
5183AE_AML_NO_RETURN_VALUE errors when enabled.
5184
5185Implemented implicit conversion support for the predicate (operand) of the 
5186If, Else, and While operators. String and Buffer arguments are automatically 
5187converted to Integers.
5188
5189Changed the string-to-integer conversion behavior to match the new ACPI 
5190errata: "If no integer object exists, a new integer is created. The ASCII 
5191string is interpreted as a hexadecimal constant. Each string character is 
5192interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
5193with the first character as the most significant digit, and ending with the 
5194first non-hexadecimal character or end-of-string." This means that the first 
5195non-hex character terminates the conversion and this is the code that was 
5196changed.
5197
5198Fixed a problem where the ObjectType operator would fail (fault) when used 
5199on an Index of a Package which pointed to a null package element. The 
5200operator now properly returns zero (Uninitialized) in this case.
5201
5202Fixed a problem where the While operator used excessive memory by not 
5203properly popping the result stack during execution. There was no memory leak 
5204after execution, however. (Code provided by Valery Podrezov.)
5205
5206Fixed a problem where references to control methods within Package objects 
5207caused the method to be invoked, instead of producing a reference object 
5208pointing to the method.
5209
5210Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
5211improve performance and reduce code size. (Code provided by Alexey 
5212Starikovskiy.)
5213
5214Code and Data Size: Current and previous core subsystem library sizes are 
5215shown below. These are the code and data sizes for the acpica.lib produced 
5216by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5217any ACPI driver or OSPM code. The debug version of the code includes the 
5218debug output trace mechanism and has a much larger code and data size. Note 
5219that these values will vary depending on the efficiency of the compiler and 
5220the compiler options used during generation.
5221
5222  Previous Release:
5223    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5224    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5225  Current Release:
5226    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5227    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5228
5229
52302) iASL Compiler/Disassembler:
5231
5232Fixed a problem with the Return operator with no arguments. Since the AML 
5233grammar for the byte encoding requires an operand for the Return opcode, the 
5234compiler now emits a Return(Zero) for this case.  An ACPI specification 
5235update has been written for this case.
5236
5237For tables other than the DSDT, namepath optimization is automatically 
5238disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
5239compiler has no knowledge of where, and thus cannot optimize namepaths.
5240
5241Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
5242inadvertently omitted from the ACPI specification, and will require an 
5243update to the spec.
5244
5245The source file scan for ASCII characters is now optional (-a). This change 
5246was made because some vendors place non-ascii characters within comments. 
5247However, the scan is simply a brute-force byte compare to ensure all 
5248characters in the file are in the range 0x00 to 0x7F.
5249
5250Fixed a problem with the CondRefOf operator where the compiler was 
5251inappropriately checking for the existence of the target. Since the point of 
5252the operator is to check for the existence of the target at run-time, the 
5253compiler no longer checks for the target existence.
5254
5255Fixed a problem where errors generated from the internal AML interpreter 
5256during constant folding were not handled properly, causing a fault.
5257
5258Fixed a problem with overly aggressive range checking for the Stall 
5259operator. The valid range (max 255) is now only checked if the operand is of 
5260type Integer. All other operand types cannot be statically checked.
5261
5262Fixed a problem where control method references within the RefOf, DeRefOf, 
5263and ObjectType operators were not treated properly. They are now treated as 
5264actual references, not method invocations.
5265
5266Fixed and enhanced the "list namespace" option (-ln). This option was broken 
5267a number of releases ago.
5268
5269Improved error handling for the Field, IndexField, and BankField operators. 
5270The compiler now cleanly reports and recovers from errors in the field 
5271component (FieldUnit) list.
5272
5273Fixed a disassembler problem where the optional ResourceDescriptor fields 
5274TRS and TTP were not always handled correctly.
5275
5276Disassembler - Comments in output now use "//" instead of "/*"
5277
5278----------------------------------------
527928 February 2005.  Summary of changes for version 20050228:
5280
52811) ACPI CA Core Subsystem:
5282
5283Fixed a problem where the result of an Index() operator (an object 
5284reference) must increment the reference count on the target object for the 
5285life of the object reference.
5286
5287Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
5288Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
5289resource descriptors.
5290
5291Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
5292Space Descriptor" string, indicating interpreter support for the descriptors 
5293above.
5294
5295Implemented header support for the new ACPI 3.0 FADT flag bits.
5296
5297Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
5298status/enable registers.
5299
5300Updated header support for the MADT processor local Apic struct and MADT 
5301platform interrupt source struct for new ACPI 3.0 fields.
5302
5303Implemented header support for the SRAT and SLIT ACPI tables.
5304
5305Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
5306at runtime.
5307
5308Code and Data Size: Current and previous core subsystem library sizes are 
5309shown below. These are the code and data sizes for the acpica.lib produced 
5310by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5311any ACPI driver or OSPM code. The debug version of the code includes the 
5312debug output trace mechanism and has a much larger code and data size. Note 
5313that these values will vary depending on the efficiency of the compiler and 
5314the compiler options used during generation.
5315
5316  Previous Release:
5317    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5318    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5319  Current Release:
5320    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5321    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5322
5323
53242) iASL Compiler/Disassembler:
5325
5326Fixed a problem with the internal 64-bit String-to-integer conversion with 
5327strings less than two characters long.
5328
5329Fixed a problem with constant folding where the result of the Index() 
5330operator can not be considered a constant. This means that Index() cannot be 
5331a type3 opcode and this will require an update to the ACPI specification.
5332
5333Disassembler: Implemented support for the TTP, MTP, and TRS resource 
5334descriptor fields. These fields were inadvertently ignored and not output in 
5335the disassembly of the resource descriptor.
5336
5337
5338 ----------------------------------------
533911 February 2005.  Summary of changes for version 20050211:
5340
53411) ACPI CA Core Subsystem:
5342
5343Implemented ACPI 3.0 support for implicit conversion within the Match() 
5344operator. MatchObjects can now be of type integer, buffer, or string instead 
5345of just type integer.  Package elements are implicitly converted to the type 
5346of the MatchObject. This change aligns the behavior of Match() with the 
5347behavior of the other logical operators (LLess(), etc.) It also requires an 
5348errata change to the ACPI specification as this support was intended for 
5349ACPI 3.0, but was inadvertently omitted.
5350
5351Fixed a problem with the internal implicit "to buffer" conversion. Strings 
5352that are converted to buffers will cause buffer truncation if the string is 
5353smaller than the target buffer. Integers that are converted to buffers will 
5354not cause buffer truncation, only zero extension (both as per the ACPI 
5355spec.) The problem was introduced when code was added to truncate the 
5356buffer, but this should not be performed in all cases, only the string case.
5357
5358Fixed a problem with the Buffer and Package operators where the interpreter 
5359would get confused if two such operators were used as operands to an ASL 
5360operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
5361stack was not being popped after the execution of these operators, resulting 
5362in an AE_NO_RETURN_VALUE exception.
5363
5364Fixed a problem with constructs of the form Store(Index(...),...). The 
5365reference object returned from Index was inadvertently resolved to an actual 
5366value. This problem was introduced in version 20050114 when the behavior of 
5367Store() was modified to restrict the object types that can be used as the 
5368source operand (to match the ACPI specification.)
5369
5370Reduced excessive stack use within the AcpiGetObjectInfo procedure.
5371
5372Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
5373
5374Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
5375
5376Code and Data Size: Current and previous core subsystem library sizes are 
5377shown below. These are the code and data sizes for the acpica.lib produced 
5378by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5379any ACPI driver or OSPM code. The debug version of the code includes the 
5380debug output trace mechanism and has a much larger code and data size. Note 
5381that these values will vary depending on the efficiency of the compiler and 
5382the compiler options used during generation.
5383
5384  Previous Release:
5385    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
5386    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
5387  Current Release:
5388    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5389    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5390
5391
53922) iASL Compiler/Disassembler:
5393
5394Fixed a code generation problem in the constant folding optimization code 
5395where incorrect code was generated if a constant was reduced to a buffer 
5396object (i.e., a reduced type 5 opcode.)
5397
5398Fixed a typechecking problem for the ToBuffer operator. Caused by an 
5399incorrect return type in the internal opcode information table.
5400
5401----------------------------------------
540225 January 2005.  Summary of changes for version 20050125:
5403
54041) ACPI CA Core Subsystem:
5405
5406Fixed a recently introduced problem with the Global Lock where the 
5407underlying semaphore was not created.  This problem was introduced in 
5408version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
5409Acquire() operation on _GL.
5410
5411The local object cache is now optional, and is disabled by default. Both 
5412AcpiExec and the iASL compiler enable the cache because they run in user 
5413mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
5414to enable the local cache.
5415
5416Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
5417optional "implicit return" support where an error was returned if no return 
5418object was expected, but one was implicitly returned. AE_OK is now returned 
5419in this case and the implicitly returned object is deleted. 
5420AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
5421methods such as _STA and _INI where the return type is known up front.
5422
5423Fixed a few issues with the internal convert-to-integer code. It now returns 
5424an error if an attempt is made to convert a null string, a string of only 
5425blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
5426and explicit conversion via the ToInteger() operator.
5427
5428The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
5429not needed for normal operation and should increase the performance of the 
5430entire subsystem. The code remains in case it is needed for debug purposes 
5431again.
5432
5433The AcpiExec source and makefile are included in the Unix/Linux package for 
5434the first time.
5435
5436Code and Data Size: Current and previous core subsystem library sizes are 
5437shown below. These are the code and data sizes for the acpica.lib produced 
5438by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5439any ACPI driver or OSPM code. The debug version of the code includes the 
5440debug output trace mechanism and has a much larger code and data size. Note 
5441that these values will vary depending on the efficiency of the compiler and 
5442the compiler options used during generation.
5443
5444  Previous Release:
5445    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5446    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5447  Current Release:
5448    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
5449    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
5450
54512) iASL Compiler/Disassembler:
5452
5453Switch/Case support: A warning is now issued if the type of the Switch value 
5454cannot be determined at compile time. For example, Switch(Arg0) will 
5455generate the warning, and the type is assumed to be an integer. As per the 
5456ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
5457warning.
5458
5459Switch/Case support: Implemented support for buffer and string objects as 
5460the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
5461buffers and strings.
5462
5463Switch/Case support: The emitted code for the LEqual() comparisons now uses 
5464the switch value as the first operand, not the second. The case value is now 
5465the second operand, and this allows the case value to be implicitly 
5466converted to the type of the switch value, not the other way around.
5467
5468Switch/Case support: Temporary variables are now emitted immediately within 
5469the control method, not at the global level. This means that there are now 
547036 temps available per-method, not 36 temps per-module as was the case with 
5471the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
5472
5473----------------------------------------
547414 January 2005.  Summary of changes for version 20050114:
5475
5476Added 2005 copyright to all module headers.  This affects every module in 
5477the core subsystem, iASL compiler, and the utilities.
5478
54791) ACPI CA Core Subsystem:
5480
5481Fixed an issue with the String-to-Buffer conversion code where the string 
5482null terminator was not included in the buffer after conversion, but there 
5483is existing ASL that assumes the string null terminator is included. This is 
5484the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
5485introduced in the previous version when the code was updated to correctly 
5486set the converted buffer size as per the ACPI specification. The ACPI spec 
5487is ambiguous and will be updated to specify that the null terminator must be 
5488included in the converted buffer. This also affects the ToBuffer() ASL 
5489operator.
5490
5491Fixed a problem with the Mid() ASL/AML operator where it did not work 
5492correctly on Buffer objects. Newly created sub-buffers were not being marked 
5493as initialized.
5494
5495
5496Fixed a problem in AcpiTbFindTable where incorrect string compares were 
5497performed on the OemId and OemTableId table header fields.  These fields are 
5498not null terminated, so strncmp is now used instead of strcmp.
5499
5500Implemented a restriction on the Store() ASL/AML operator to align the 
5501behavior with the ACPI specification.  Previously, any object could be used 
5502as the source operand.  Now, the only objects that may be used are Integers, 
5503Buffers, Strings, Packages, Object References, and DDB Handles.  If 
5504necessary, the original behavior can be restored by enabling the 
5505EnableInterpreterSlack flag.
5506
5507Enhanced the optional "implicit return" support to allow an implicit return 
5508value from methods that are invoked externally via the AcpiEvaluateObject 
5509interface.  This enables implicit returns from the _STA and _INI methods, 
5510for example.
5511
5512Changed the Revision() ASL/AML operator to return the current version of the 
5513AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
5514the supported ACPI version (This is the function of the _REV method).
5515
5516Updated the _REV predefined method to return the currently supported version 
5517of ACPI, now 3.
5518
5519Implemented batch mode option for the AcpiExec utility (-b).
5520
5521Code and Data Size: Current and previous core subsystem library sizes are 
5522shown below. These are the code and data sizes for the acpica.lib produced 
5523by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5524any ACPI driver or OSPM code. The debug version of the code includes the 
5525debug output trace mechanism and has a much larger code and data size. Note 
5526that these values will vary depending on the efficiency of the compiler and 
5527the compiler options used during generation.
5528
5529  Previous Release:
5530    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5531    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5532  Current Release:
5533    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5534    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5535
5536----------------------------------------
553710 December 2004.  Summary of changes for version 20041210:
5538
5539ACPI 3.0 support is nearing completion in both the iASL compiler and the 
5540ACPI CA core subsystem.
5541
55421) ACPI CA Core Subsystem:
5543
5544Fixed a problem in the ToDecimalString operator where the resulting string 
5545length was incorrectly calculated. The length is now calculated exactly, 
5546eliminating incorrect AE_STRING_LIMIT exceptions.
5547
5548Fixed a problem in the ToHexString operator to allow a maximum 200 character 
5549string to be produced.
5550
5551Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
5552routine where the length of the resulting buffer was not truncated to the 
5553new size (if the target buffer already existed).
5554
5555Code and Data Size: Current and previous core subsystem library sizes are 
5556shown below. These are the code and data sizes for the acpica.lib produced 
5557by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5558any ACPI driver or OSPM code. The debug version of the code includes the 
5559debug output trace mechanism and has a much larger code and data size. Note 
5560that these values will vary depending on the efficiency of the compiler and 
5561the compiler options used during generation.
5562
5563  Previous Release:
5564    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5565    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5566  Current Release:
5567    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5568    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5569
5570
55712) iASL Compiler/Disassembler:
5572
5573Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
5574ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
5575Includes support in the disassembler.
5576
5577Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
5578AccessSize.
5579
5580Fixed a problem where the _HE resource name for the Interrupt macro was 
5581referencing bit 0 instead of bit 1.
5582
5583Implemented check for maximum 255 interrupts in the Interrupt macro.
5584
5585Fixed a problem with the predefined resource descriptor names where 
5586incorrect AML code was generated if the offset within the resource buffer 
5587was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
5588but did not update the surrounding package lengths.
5589
5590Changes to the Dma macro:  All channels within the channel list must be in 
5591the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
5592optional (default is BusMaster).
5593
5594Implemented check for maximum 7 data bytes for the VendorShort macro.
5595
5596The ReadWrite parameter is now optional for the Memory32 and similar macros.
5597
5598----------------------------------------
559903 December 2004.  Summary of changes for version 20041203:
5600
56011) ACPI CA Core Subsystem:
5602
5603The low-level field insertion/extraction code (exfldio) has been completely 
5604rewritten to eliminate unnecessary complexity, bugs, and boundary 
5605conditions.
5606
5607Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
5608operators where the input operand could be inadvertently deleted if no 
5609conversion was necessary (e.g., if the input to ToInteger was an Integer 
5610object.)
5611
5612Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
5613exception code was returned if the resulting string would be > 200 chars.  
5614AE_STRING_LIMIT is now returned.
5615
5616Fixed a problem with the Concatenate operator where AE_OK was always 
5617returned, even if the operation failed.
5618
5619Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
5620semaphores to be allocated.
5621
5622Code and Data Size: Current and previous core subsystem library sizes are 
5623shown below. These are the code and data sizes for the acpica.lib produced 
5624by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5625any ACPI driver or OSPM code. The debug version of the code includes the 
5626debug output trace mechanism and has a much larger code and data size. Note 
5627that these values will vary depending on the efficiency of the compiler and 
5628the compiler options used during generation.
5629
5630  Previous Release:
5631    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5632    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5633  Current Release:
5634    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5635    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5636
5637
56382) iASL Compiler/Disassembler:
5639
5640Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
5641recently introduced in 20041119.
5642
5643Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
5644byte was inadvertently set to zero.
5645
5646----------------------------------------
564719 November 2004.  Summary of changes for version 20041119:
5648
56491) ACPI CA Core Subsystem:
5650
5651Fixed a problem in the internal ConvertToInteger routine where new integers 
5652were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
5653buffers and strings to integers.
5654
5655Implemented support to store a value to an Index() on a String object. This 
5656is an ACPI 2.0 feature that had not yet been implemented.
5657
5658Implemented new behavior for storing objects to individual package elements 
5659(via the Index() operator). The previous behavior was to invoke the implicit 
5660conversion rules if an object was already present at the index.  The new 
5661behavior is to simply delete any existing object and directly store the new 
5662object. Although the ACPI specification seems unclear on this subject, other 
5663ACPI implementations behave in this manner.  (This is the root of the 
5664AE_BAD_HEX_CONSTANT issue.)
5665
5666Modified the RSDP memory scan mechanism to support the extended checksum for 
5667ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
5668RSDP signature is found with a valid checksum.
5669
5670Code and Data Size: Current and previous core subsystem library sizes are 
5671shown below. These are the code and data sizes for the acpica.lib produced 
5672by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5673any ACPI driver or OSPM code. The debug version of the code includes the 
5674debug output trace mechanism and has a much larger code and data size. Note 
5675that these values will vary depending on the efficiency of the compiler and 
5676the compiler options used during generation.
5677
5678  Previous Release:
5679    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5680    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5681  Current Release:
5682    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5683    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5684
5685
56862) iASL Compiler/Disassembler:
5687
5688Fixed a missing semicolon in the aslcompiler.y file.
5689
5690----------------------------------------
569105 November 2004.  Summary of changes for version 20041105:
5692
56931) ACPI CA Core Subsystem:
5694
5695Implemented support for FADT revision 2.  This was an interim table (between 
5696ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
5697
5698Implemented optional support to allow uninitialized LocalX and ArgX 
5699variables in a control method.  The variables are initialized to an Integer 
5700object with a value of zero.  This support is enabled by setting the 
5701AcpiGbl_EnableInterpreterSlack flag to TRUE.
5702
5703Implemented support for Integer objects for the SizeOf operator.  Either 4 
5704or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
5705depending on the parent table revision).
5706
5707Fixed a problem in the implementation of the SizeOf and ObjectType operators 
5708where the operand was resolved to a value too early, causing incorrect 
5709return values for some objects.
5710
5711Fixed some possible memory leaks during exceptional conditions.
5712
5713Code and Data Size: Current and previous core subsystem library sizes are 
5714shown below. These are the code and data sizes for the acpica.lib produced 
5715by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5716any ACPI driver or OSPM code. The debug version of the code includes the 
5717debug output trace mechanism and has a much larger code and data size. Note 
5718that these values will vary depending on the efficiency of the compiler and 
5719the compiler options used during generation.
5720
5721  Previous Release:
5722    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5723    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5724  Current Release:
5725    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5726    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5727
5728
57292) iASL Compiler/Disassembler:
5730
5731Implemented support for all ACPI 3.0 reserved names and methods.
5732
5733Implemented all ACPI 3.0 grammar elements in the front-end, including 
5734support for semicolons.
5735
5736Implemented the ACPI 3.0 Function() and ToUUID() macros
5737
5738Fixed a problem in the disassembler where a Scope() operator would not be 
5739emitted properly if the target of the scope was in another table.
5740
5741----------------------------------------
574215 October 2004.  Summary of changes for version 20041015:
5743
5744Note:  ACPI CA is currently undergoing an in-depth and complete formal 
5745evaluation to test/verify the following areas. Other suggestions are 
5746welcome. This will result in an increase in the frequency of releases and 
5747the number of bug fixes in the next few months.
5748  - Functional tests for all ASL/AML operators
5749  - All implicit/explicit type conversions
5750  - Bit fields and operation regions
5751  - 64-bit math support and 32-bit-only "truncated" math support
5752  - Exceptional conditions, both compiler and interpreter
5753  - Dynamic object deletion and memory leaks
5754  - ACPI 3.0 support when implemented
5755  - External interfaces to the ACPI subsystem
5756
5757
57581) ACPI CA Core Subsystem:
5759
5760Fixed two alignment issues on 64-bit platforms - within debug statements in 
5761AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
5762field within the non-aligned ACPI generic address structure.
5763
5764Fixed a problem in the Increment and Decrement operators where incorrect 
5765operand resolution could result in the inadvertent modification of the 
5766original integer when the integer is passed into another method as an 
5767argument and the arg is then incremented/decremented.
5768
5769Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
5770BCD number were truncated during conversion.
5771
5772Fixed a problem in the ToDecimal operator where the length of the resulting 
5773string could be set incorrectly too long if the input operand was a Buffer 
5774object.
5775
5776Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
5777within a buffer would prematurely terminate a compare between buffer 
5778objects.
5779
5780Added a check for string overflow (>200 characters as per the ACPI 
5781specification) during the Concatenate operator with two string operands.
5782
5783Code and Data Size: Current and previous core subsystem library sizes are 
5784shown below. These are the code and data sizes for the acpica.lib produced 
5785by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5786any ACPI driver or OSPM code. The debug version of the code includes the 
5787debug output trace mechanism and has a much larger code and data size. Note 
5788that these values will vary depending on the efficiency of the compiler and 
5789the compiler options used during generation.
5790
5791  Previous Release:
5792    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5793    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5794  Current Release:
5795    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5796    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5797
5798
5799
58002) iASL Compiler/Disassembler:
5801
5802Allow the use of the ObjectType operator on uninitialized Locals and Args 
5803(returns 0 as per the ACPI specification).
5804
5805Fixed a problem where the compiler would fault if there was a syntax error 
5806in the FieldName of all of the various CreateXXXField operators.
5807
5808Disallow the use of lower case letters within the EISAID macro, as per the 
5809ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
5810U is an uppercase letter and N is a hex digit.
5811
5812
5813----------------------------------------
581406 October 2004.  Summary of changes for version 20041006:
5815
58161) ACPI CA Core Subsystem:
5817
5818Implemented support for the ACPI 3.0 Timer operator. This ASL function 
5819implements a 64-bit timer with 100 nanosecond granularity.
5820
5821Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
5822implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
5823the timer with the best clock available. Also, it keeps the core subsystem 
5824out of the clock handling business, since the host OS (usually) performs 
5825this function.
5826
5827Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
5828functions use a 64-bit address which is part of the packed ACPI Generic 
5829Address Structure. Since the structure is non-aligned, the alignment macros 
5830are now used to extract the address to a local variable before use.
5831
5832Fixed a problem where the ToInteger operator assumed all input strings were 
5833hexadecimal. The operator now handles both decimal strings and hex strings 
5834(prefixed with "0x").
5835
5836Fixed a problem where the string length in the string object created as a 
5837result of the internal ConvertToString procedure could be incorrect. This 
5838potentially affected all implicit conversions and also the ToDecimalString 
5839and ToHexString operators.
5840
5841Fixed two problems in the ToString operator. If the length parameter was 
5842zero, an incorrect string object was created and the value of the input 
5843length parameter was inadvertently changed from zero to Ones.
5844
5845Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
5846resource macro was ignored.
5847
5848Simplified the interfaces to the internal division functions, reducing code 
5849size and complexity.
5850
5851Code and Data Size: Current and previous core subsystem library sizes are 
5852shown below. These are the code and data sizes for the acpica.lib produced 
5853by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5854any ACPI driver or OSPM code. The debug version of the code includes the 
5855debug output trace mechanism and has a much larger code and data size. Note 
5856that these values will vary depending on the efficiency of the compiler and 
5857the compiler options used during generation.
5858
5859  Previous Release:
5860    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5861    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5862  Current Release:
5863    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5864    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5865
5866
58672) iASL Compiler/Disassembler:
5868
5869Implemented support for the ACPI 3.0 Timer operator.
5870
5871Fixed a problem where the Default() operator was inadvertently ignored in a 
5872Switch/Case block.  This was a problem in the translation of the Switch 
5873statement to If...Else pairs.
5874
5875Added support to allow a standalone Return operator, with no parentheses (or 
5876operands).
5877
5878Fixed a problem with code generation for the ElseIf operator where the 
5879translated Else...If parse tree was improperly constructed leading to the 
5880loss of some code.
5881
5882----------------------------------------
588322 September 2004.  Summary of changes for version 20040922:
5884
58851) ACPI CA Core Subsystem:
5886
5887Fixed a problem with the implementation of the LNot() operator where "Ones" 
5888was not returned for the TRUE case. Changed the code to return Ones instead 
5889of (!Arg) which was usually 1. This change affects iASL constant folding for 
5890this operator also.
5891
5892Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
5893initialized properly -- Now zero the entire buffer in this case where the 
5894buffer already exists.
5895
5896Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
5897Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
5898related code considerably. This will require changes/updates to all OS 
5899interface layers (OSLs.)
5900
5901Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
5902a system exception handler to be installed. This handler is invoked upon any 
5903run-time exception that occurs during control method execution.
5904
5905Added support for the DSDT in AcpiTbFindTable. This allows the 
5906DataTableRegion() operator to access the local copy of the DSDT.
5907
5908Code and Data Size: Current and previous core subsystem library sizes are 
5909shown below. These are the code and data sizes for the acpica.lib produced 
5910by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5911any ACPI driver or OSPM code. The debug version of the code includes the 
5912debug output trace mechanism and has a much larger code and data size. Note 
5913that these values will vary depending on the efficiency of the compiler and 
5914the compiler options used during generation.
5915
5916  Previous Release:
5917    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5918    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5919  Current Release:
5920    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5921    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5922
5923
59242) iASL Compiler/Disassembler:
5925
5926Fixed a problem with constant folding and the LNot operator. LNot was 
5927returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
5928could result in the generation of an incorrect folded/reduced constant.
5929
5930End-Of-File is now allowed within a "//"-style comment.  A parse error no 
5931longer occurs if such a comment is at the very end of the input ASL source 
5932file.
5933
5934Implemented the "-r" option to override the Revision in the table header. 
5935The initial use of this option will be to simplify the evaluation of the AML 
5936interpreter by allowing a single ASL source module to be compiled for either 
593732-bit or 64-bit integers.
5938
5939
5940----------------------------------------
594127 August 2004.  Summary of changes for version 20040827:
5942
59431) ACPI CA Core Subsystem:
5944
5945- Implemented support for implicit object conversion in the non-numeric 
5946logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
5947LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
5948the second operand is implicitly converted on the fly to match the type of 
5949the first operand.  For example:
5950
5951    LEqual (Source1, Source2)
5952
5953Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
5954The data type of Source1 dictates the required type of Source2. Source2 is 
5955implicitly converted if necessary to match the type of Source1.
5956
5957- Updated and corrected the behavior of the string conversion support.  The 
5958rules concerning conversion of buffers to strings (according to the ACPI 
5959specification) are as follows:
5960
5961ToDecimalString - explicit byte-wise conversion of buffer to string of 
5962decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
5963conversion of buffer to string of hex values (0-FF) separated by commas. 
5964ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
5965copy with no transform except NULL terminated. Any other implicit buffer-to-
5966string conversion - byte-wise conversion of buffer to string of hex values 
5967(0-FF) separated by spaces.
5968
5969- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
5970
5971- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
5972one byte too short in the case of a node in the root scope.  This could 
5973cause a fault during debug output.
5974
5975- Code and Data Size: Current and previous core subsystem library sizes are 
5976shown below.  These are the code and data sizes for the acpica.lib produced 
5977by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5978any ACPI driver or OSPM code.  The debug version of the code includes the 
5979debug output trace mechanism and has a much larger code and data size.  Note 
5980that these values will vary depending on the efficiency of the compiler and 
5981the compiler options used during generation.
5982
5983  Previous Release:
5984    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5985    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5986  Current Release:
5987    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5988    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5989
5990
59912) iASL Compiler/Disassembler:
5992
5993- Fixed a Linux generation error.
5994
5995
5996----------------------------------------
599716 August 2004.  Summary of changes for version 20040816:
5998
59991) ACPI CA Core Subsystem:
6000
6001Designed and implemented support within the AML interpreter for the so-
6002called "implicit return".  This support returns the result of the last ASL 
6003operation within a control method, in the absence of an explicit Return() 
6004operator.  A few machines depend on this behavior, even though it is not 
6005explicitly supported by the ASL language.  It is optional support that can 
6006be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
6007
6008Removed support for the PCI_Config address space from the internal low level 
6009hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
6010support was not used internally, and would not work correctly anyway because 
6011the PCI bus number and segment number were not supported.  There are 
6012separate interfaces for PCI configuration space access because of the unique 
6013interface.
6014
6015Code and Data Size: Current and previous core subsystem library sizes are 
6016shown below.  These are the code and data sizes for the acpica.lib produced 
6017by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6018any ACPI driver or OSPM code.  The debug version of the code includes the 
6019debug output trace mechanism and has a much larger code and data size.  Note 
6020that these values will vary depending on the efficiency of the compiler and 
6021the compiler options used during generation.
6022
6023  Previous Release:
6024    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6025    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6026  Current Release:
6027    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6028    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6029
6030
60312) iASL Compiler/Disassembler:
6032
6033Fixed a problem where constants in ASL expressions at the root level (not 
6034within a control method) could be inadvertently truncated during code 
6035generation.  This problem was introduced in the 20040715 release.
6036
6037
6038----------------------------------------
603915 July 2004.  Summary of changes for version 20040715:
6040
60411) ACPI CA Core Subsystem:
6042
6043Restructured the internal HW GPE interfaces to pass/track the current state 
6044of interrupts (enabled/disabled) in order to avoid possible deadlock and 
6045increase flexibility of the interfaces.
6046
6047Implemented a "lexicographical compare" for String and Buffer objects within 
6048the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
6049as per further clarification to the ACPI specification.  Behavior is similar 
6050to C library "strcmp".
6051
6052Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
6053external function.  In the 32-bit non-debug case, the stack use has been 
6054reduced from 168 bytes to 32 bytes.
6055
6056Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
6057whose purpose is to allow the AML interpreter to forgive certain bad AML 
6058constructs.  Default setting is FALSE.
6059
6060Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
6061support code.  If enabled, it allows field access to go beyond the end of a 
6062region definition if the field is within the region length rounded up to the 
6063next access width boundary (a common coding error.)
6064
6065Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
6066ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
6067symbols are lowercased by the latest version of the AcpiSrc tool.
6068
6069The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
6070rename "Register" to simply "Reg" to prevent certain compilers from 
6071complaining.
6072
6073Code and Data Size: Current and previous core subsystem library sizes are 
6074shown below.  These are the code and data sizes for the acpica.lib produced 
6075by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6076any ACPI driver or OSPM code.  The debug version of the code includes the 
6077debug output trace mechanism and has a much larger code and data size.  Note 
6078that these values will vary depending on the efficiency of the compiler and 
6079the compiler options used during generation.
6080
6081  Previous Release:
6082    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6083    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6084  Current Release:
6085    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6086    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6087
6088
60892) iASL Compiler/Disassembler:
6090
6091Implemented full support for Package objects within the Case() operator.  
6092Note: The Break() operator is currently not supported within Case blocks 
6093(TermLists) as there is some question about backward compatibility with ACPI 
60941.0 interpreters.
6095
6096
6097Fixed a problem where complex terms were not supported properly within the 
6098Switch() operator.
6099
6100Eliminated extraneous warning for compiler-emitted reserved names of the 
6101form "_T_x".  (Used in Switch/Case operators.)
6102
6103Eliminated optimization messages for "_T_x" objects and small constants 
6104within the DefinitionBlock operator.
6105
6106
6107----------------------------------------
610815 June 2004.  Summary of changes for version 20040615:
6109
61101) ACPI CA Core Subsystem:
6111
6112Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6113following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6114LLessEqual.
6115
6116All directory names in the entire source package are lower case, as they 
6117were in earlier releases.
6118
6119Implemented "Disassemble" command in the AML debugger that will disassemble 
6120a single control method.
6121
6122Code and Data Size: Current and previous core subsystem library sizes are 
6123shown below.  These are the code and data sizes for the acpica.lib produced 
6124by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6125any ACPI driver or OSPM code.  The debug version of the code includes the 
6126debug output trace mechanism and has a much larger code and data size.  Note 
6127that these values will vary depending on the efficiency of the compiler and 
6128the compiler options used during generation.
6129
6130  Previous Release:
6131    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6132    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6133
6134  Current Release:
6135    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6136    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6137
6138
61392) iASL Compiler/Disassembler:
6140
6141Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6142following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6143LLessEqual.
6144
6145All directory names in the entire source package are lower case, as they 
6146were in earlier releases.
6147
6148Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
6149not found.
6150
6151Fixed an issue with the Windows version of the compiler where later versions 
6152of Windows place the FADT in the registry under the name "FADT" and not 
6153"FACP" as earlier versions did.  This applies when using the -g or -
6154d<nofilename> options.  The compiler now looks for both strings as 
6155necessary.
6156
6157Fixed a problem with compiler namepath optimization where a namepath within 
6158the Scope() operator could not be optimized if the namepath was a subpath of 
6159the current scope path.
6160
6161----------------------------------------
616227 May 2004.  Summary of changes for version 20040527:
6163
61641) ACPI CA Core Subsystem:
6165
6166Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
6167support in the RSDP scan code.  The original code improperly scanned for the 
6168EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
6169is to first obtain the EBDA pointer from within the BIOS data area, then 
6170scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
6171any machines that place the RSDP in the EBDA, however.
6172
6173Integrated a fix for a possible fault during evaluation of BufferField 
6174arguments.  Obsolete code that was causing the problem was removed.
6175
6176Found and fixed a problem in the Field Support Code where data could be 
6177corrupted on a bit field read that starts on an aligned boundary but does 
6178not end on an aligned boundary.  Merged the read/write "datum length" 
6179calculation code into a common procedure.
6180
6181Rolled in a couple of changes to the FreeBSD-specific header.
6182
6183
6184Code and Data Size: Current and previous core subsystem library sizes are 
6185shown below.  These are the code and data sizes for the acpica.lib produced 
6186by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6187any ACPI driver or OSPM code.  The debug version of the code includes the 
6188debug output trace mechanism and has a much larger code and data size.  Note 
6189that these values will vary depending on the efficiency of the compiler and 
6190the compiler options used during generation.
6191
6192  Previous Release:
6193    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6194    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6195  Current Release:
6196    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6197    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6198
6199
62002) iASL Compiler/Disassembler:
6201
6202Fixed a generation warning produced by some overly-verbose compilers for a 
620364-bit constant.
6204
6205----------------------------------------
620614 May 2004.  Summary of changes for version 20040514:
6207
62081) ACPI CA Core Subsystem:
6209
6210Fixed a problem where hardware GPE enable bits sometimes not set properly 
6211during and after GPE method execution.  Result of 04/27 changes.
6212
6213Removed extra "clear all GPEs" when sleeping/waking.
6214
6215Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
6216AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
6217the new AcpiEv* calls as appropriate.
6218
6219ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
6220now "Microsoft Windows NT" for maximum compatibility.  However this can be 
6221changed by modifying the acconfig.h file.
6222
6223Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
6224traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
6225
6226Run _INI methods on ThermalZone objects.  This is against the ACPI 
6227specification, but there is apparently ASL code in the field that has these 
6228_INI methods, and apparently "other" AML interpreters execute them.
6229
6230Performed a full 16/32/64 bit lint that resulted in some small changes.
6231
6232Added a sleep simulation command to the AML debugger to test sleep code. 
6233
6234Code and Data Size: Current and previous core subsystem library sizes are 
6235shown below.  These are the code and data sizes for the acpica.lib produced 
6236by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6237any ACPI driver or OSPM code.  The debug version of the code includes the 
6238debug output trace mechanism and has a much larger code and data size.  Note 
6239that these values will vary depending on the efficiency of the compiler and 
6240the compiler options used during generation.
6241
6242  Previous Release:
6243    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6244    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6245  Current Release:
6246    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6247    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6248
6249----------------------------------------
625027 April 2004.  Summary of changes for version 20040427:
6251
62521) ACPI CA Core Subsystem:
6253
6254Completed a major overhaul of the GPE handling within ACPI CA.  There are 
6255now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
6256The only GPEs allowed to be combination wake/run are for button-style 
6257devices such as a control-method power button, control-method sleep button, 
6258or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
6259referenced by any _PRW methods are marked for "runtime" and hardware 
6260enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
6261(and disabled at runtime).  However, at sleep time, only those GPEs that 
6262have been specifically enabled for wake via the AcpiEnableGpe interface will 
6263actually be hardware enabled.
6264
6265A new external interface has been added, AcpiSetGpeType(), that is meant to 
6266be used by device drivers to force a GPE to a particular type.  It will be 
6267especially useful for the drivers for the button devices mentioned above.
6268
6269Completed restructuring of the ACPI CA initialization sequence so that 
6270default operation region handlers are installed before GPEs are initialized 
6271and the _PRW methods are executed.  This will prevent errors when the _PRW 
6272methods attempt to access system memory or I/O space.
6273
6274GPE enable/disable no longer reads the GPE enable register.  We now keep the 
6275enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
6276thus no longer depend on the hardware to maintain these bits.
6277
6278Always clear the wake status and fixed/GPE status bits before sleep, even 
6279for state S5.
6280
6281Improved the AML debugger output for displaying the GPE blocks and their 
6282current status.
6283
6284Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
6285x = 0,1,2,3,4.
6286
6287Fixed a problem where the physical address was incorrectly calculated when 
6288the Load() operator was used to directly load from an Operation Region (vs. 
6289loading from a Field object.)  Also added check for minimum table length for 
6290this case.
6291
6292Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
6293mutex release.
6294
6295Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
6296consistency with the other fields returned.
6297
6298Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
6299structure for each GPE in the system, so the size of this structure is 
6300important.
6301
6302CPU stack requirement reduction:  Cleaned up the method execution and object 
6303evaluation paths so that now a parameter structure is passed, instead of 
6304copying the various method parameters over and over again.
6305
6306In evregion.c:  Correctly exit and reenter the interpreter region if and 
6307only if dispatching an operation region request to a user-installed handler.  
6308Do not exit/reenter when dispatching to a default handler (e.g., default 
6309system memory or I/O handlers)
6310
6311
6312Notes for updating drivers for the new GPE support.  The following changes 
6313must be made to ACPI-related device drivers that are attached to one or more 
6314GPEs: (This information will be added to the ACPI CA Programmer Reference.)
6315
63161) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
6317explicitly call AcpiEnableGpe.
63182) There is a new interface called AcpiSetGpeType. This should be called 
6319before enabling the GPE.  Also, this interface will automatically disable 
6320the GPE if it is currently enabled.
63213) AcpiEnableGpe no longer supports a GPE type flag.
6322
6323Specific drivers that must be changed:
63241) EC driver:
6325    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
6326AeGpeHandler, NULL);
6327    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
6328    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
6329
63302) Button Drivers (Power, Lid, Sleep):
6331Run _PRW method under parent device
6332If _PRW exists: /* This is a control-method button */
6333    Extract GPE number and possibly GpeDevice
6334    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
6335    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
6336
6337For all other devices that have _PRWs, we automatically set the GPE type to 
6338ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
6339must be done on a selective basis, usually requiring some kind of user app 
6340to allow the user to pick the wake devices.
6341
6342
6343Code and Data Size: Current and previous core subsystem library sizes are 
6344shown below.  These are the code and data sizes for the acpica.lib produced 
6345by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6346any ACPI driver or OSPM code.  The debug version of the code includes the 
6347debug output trace mechanism and has a much larger code and data size.  Note 
6348that these values will vary depending on the efficiency of the compiler and 
6349the compiler options used during generation.
6350
6351  Previous Release:
6352    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6353    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6354  Current Release:
6355
6356    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6357    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6358
6359
6360
6361----------------------------------------
636202 April 2004.  Summary of changes for version 20040402:
6363
63641) ACPI CA Core Subsystem:
6365
6366Fixed an interpreter problem where an indirect store through an ArgX 
6367parameter was incorrectly applying the "implicit conversion rules" during 
6368the store.  From the ACPI specification: "If the target is a method local or 
6369argument (LocalX or ArgX), no conversion is performed and the result is 
6370stored directly to the target".  The new behavior is to disable implicit 
6371conversion during ALL stores to an ArgX.
6372
6373Changed the behavior of the _PRW method scan to ignore any and all errors 
6374returned by a given _PRW.  This prevents the scan from aborting from the 
6375failure of any single _PRW.
6376
6377Moved the runtime configuration parameters from the global init procedure to 
6378static variables in acglobal.h.  This will allow the host to override the 
6379default values easily.
6380
6381Code and Data Size: Current and previous core subsystem library sizes are 
6382shown below.  These are the code and data sizes for the acpica.lib produced 
6383by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6384any ACPI driver or OSPM code.  The debug version of the code includes the 
6385debug output trace mechanism and has a much larger code and data size.  Note 
6386that these values will vary depending on the efficiency of the compiler and 
6387the compiler options used during generation.
6388
6389  Previous Release:
6390    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6391    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6392  Current Release:
6393    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6394    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6395
6396
63972) iASL Compiler/Disassembler:
6398
6399iASL now fully disassembles SSDTs.  However, External() statements are not 
6400generated automatically for unresolved symbols at this time.  This is a 
6401planned feature for future implementation.
6402
6403Fixed a scoping problem in the disassembler that occurs when the type of the 
6404target of a Scope() operator is overridden.  This problem caused an 
6405incorrectly nested internal namespace to be constructed.
6406
6407Any warnings or errors that are emitted during disassembly are now commented 
6408out automatically so that the resulting file can be recompiled without any 
6409hand editing.
6410
6411----------------------------------------
641226 March 2004.  Summary of changes for version 20040326:
6413
64141) ACPI CA Core Subsystem:
6415
6416Implemented support for "wake" GPEs via interaction between GPEs and the 
6417_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
6418identified as a WAKE GPE and by default will no longer be enabled at 
6419runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
6420_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
6421believe this has been the cause of thousands of "spurious" GPEs on some 
6422systems.
6423
6424This new GPE behavior is can be reverted to the original behavior (enable 
6425ALL GPEs at runtime) via a runtime flag.
6426
6427Fixed a problem where aliased control methods could not access objects 
6428properly.  The proper scope within the namespace was not initialized 
6429(transferred to the target of the aliased method) before executing the 
6430target method.
6431
6432Fixed a potential race condition on internal object deletion on the return 
6433object in AcpiEvaluateObject. 
6434
6435Integrated a fix for resource descriptors where both _MEM and _MTP were 
6436being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
6437wide, 0x0F instead of 0x03.)
6438
6439Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
6440fault in some cases.
6441
6442Updated Notify() values for debug statements in evmisc.c
6443
6444Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
6445
6446Code and Data Size: Current and previous core subsystem library sizes are 
6447shown below.  These are the code and data sizes for the acpica.lib produced 
6448by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6449any ACPI driver or OSPM code.  The debug version of the code includes the 
6450debug output trace mechanism and has a much larger code and data size.  Note 
6451that these values will vary depending on the efficiency of the compiler and 
6452the compiler options used during generation.
6453
6454  Previous Release:
6455
6456    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6457    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6458  Current Release:
6459    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6460    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6461
6462----------------------------------------
646311 March 2004.  Summary of changes for version 20040311:
6464
64651) ACPI CA Core Subsystem:
6466
6467Fixed a problem where errors occurring during the parse phase of control 
6468method execution did not abort cleanly.  For example, objects created and 
6469installed in the namespace were not deleted.  This caused all subsequent 
6470invocations of the method to return the AE_ALREADY_EXISTS exception.
6471
6472Implemented a mechanism to force a control method to "Serialized" execution 
6473if the method attempts to create namespace objects. (The root of the 
6474AE_ALREADY_EXISTS problem.)
6475
6476Implemented support for the predefined _OSI "internal" control method.  
6477Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
6478"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
6479This feature will allow "other" operating systems to execute the fully 
6480tested, "Windows" code path through the ASL code
6481
6482Global Lock Support:  Now allows multiple acquires and releases with any 
6483internal thread.  Removed concept of "owning thread" for this special mutex.
6484
6485Fixed two functions that were inappropriately declaring large objects on the 
6486CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
6487method execution considerably.
6488
6489Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
6490S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
6491
6492Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
6493defined on the machine.
6494
6495Implemented two runtime options:  One to force all control method execution 
6496to "Serialized" to mimic Windows behavior, another to disable _OSI support 
6497if it causes problems on a given machine.
6498
6499Code and Data Size: Current and previous core subsystem library sizes are 
6500shown below.  These are the code and data sizes for the acpica.lib produced 
6501by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6502any ACPI driver or OSPM code.  The debug version of the code includes the 
6503debug output trace mechanism and has a much larger code and data size.  Note 
6504that these values will vary depending on the efficiency of the compiler and 
6505the compiler options used during generation.
6506
6507  Previous Release:
6508    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6509    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6510  Current Release:
6511    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6512    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6513
65142) iASL Compiler/Disassembler:
6515
6516Fixed an array size problem for FreeBSD that would cause the compiler to 
6517fault.
6518
6519----------------------------------------
652020 February 2004.  Summary of changes for version 20040220:
6521
6522
65231) ACPI CA Core Subsystem:
6524
6525Implemented execution of _SxD methods for Device objects in the 
6526GetObjectInfo interface.
6527
6528Fixed calls to _SST method to pass the correct arguments.
6529
6530Added a call to _SST on wake to restore to "working" state.
6531
6532Check for End-Of-Buffer failure case in the WalkResources interface.
6533
6534Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
6535structures to the beginning of the file.
6536
6537After wake, clear GPE status register(s) before enabling GPEs.
6538
6539After wake, clear/enable power button.  (Perhaps we should clear/enable all 
6540fixed events upon wake.)
6541
6542Fixed a couple of possible memory leaks in the Namespace manager.
6543
6544Integrated latest acnetbsd.h file.
6545
6546----------------------------------------
654711 February 2004.  Summary of changes for version 20040211:
6548
6549
65501) ACPI CA Core Subsystem:
6551
6552Completed investigation and implementation of the call-by-reference 
6553mechanism for control method arguments.
6554
6555Fixed a problem where a store of an object into an indexed package could 
6556fail if the store occurs within a different method than the method that 
6557created the package.
6558
6559Fixed a problem where the ToDecimal operator could return incorrect results.
6560
6561Fixed a problem where the CopyObject operator could fail on some of the more 
6562obscure objects (e.g., Reference objects.)
6563
6564Improved the output of the Debug object to display buffer, package, and 
6565index objects.
6566
6567Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
6568the expected result.
6569
6570Added permanent ACPI_REPORT_ERROR macros for all instances of the 
6571ACPI_AML_INTERNAL exception.
6572
6573Integrated latest version of acfreebsd.h
6574
6575----------------------------------------
657616 January 2004.  Summary of changes for version 20040116:
6577
6578The purpose of this release is primarily to update the copyright years in 
6579each module, thus causing a huge number of diffs.  There are a few small 
6580functional changes, however.
6581
65821) ACPI CA Core Subsystem:
6583
6584Improved error messages when there is a problem finding one or more of the 
6585required base ACPI tables
6586
6587Reintroduced the definition of APIC_HEADER in actbl.h
6588
6589Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
6590
6591Removed extraneous reference to NewObj in dsmthdat.c
6592
65932) iASL compiler
6594
6595Fixed a problem introduced in December that disabled the correct disassembly 
6596of Resource Templates
6597
6598
6599----------------------------------------
660003 December 2003.  Summary of changes for version 20031203:
6601
66021) ACPI CA Core Subsystem:
6603
6604Changed the initialization of Operation Regions during subsystem
6605init to perform two entire walks of the ACPI namespace; The first
6606to initialize the regions themselves, the second to execute the
6607_REG methods.  This fixed some interdependencies across _REG
6608methods found on some machines.
6609
6610Fixed a problem where a Store(Local0, Local1) could simply update
6611the object reference count, and not create a new copy of the
6612object if the Local1 is uninitialized.
6613
6614Implemented support for the _SST reserved method during sleep
6615transitions.
6616
6617Implemented support to clear the SLP_TYP and SLP_EN bits when
6618waking up, this is apparently required by some machines.
6619
6620When sleeping, clear the wake status only if SleepState is not S5.
6621
6622Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
6623pointer arithmetic advanced a string pointer too far.
6624
6625Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
6626could be returned if the requested table has not been loaded.
6627
6628Within the support for IRQ resources, restructured the handling of
6629the active and edge/level bits.
6630
6631Fixed a few problems in AcpiPsxExecute() where memory could be
6632leaked under certain error conditions.
6633
6634Improved error messages for the cases where the ACPI mode could
6635not be entered.
6636
6637Code and Data Size: Current and previous core subsystem library
6638sizes are shown below.  These are the code and data sizes for the
6639acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6640these values do not include any ACPI driver or OSPM code.  The
6641debug version of the code includes the debug output trace
6642mechanism and has a much larger code and data size.  Note that
6643these values will vary depending on the efficiency of the compiler
6644and the compiler options used during generation.
6645
6646  Previous Release (20031029):
6647    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6648    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6649  Current Release:
6650    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6651    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6652
66532) iASL Compiler/Disassembler:
6654
6655Implemented a fix for the iASL disassembler where a bad index was
6656generated.  This was most noticeable on 64-bit platforms
6657
6658
6659----------------------------------------
666029 October 2003.  Summary of changes for version 20031029:
6661
66621) ACPI CA Core Subsystem:
6663
6664
6665Fixed a problem where a level-triggered GPE with an associated
6666_Lxx control method was incorrectly cleared twice.
6667
6668Fixed a problem with the Field support code where an access can
6669occur beyond the end-of-region if the field is non-aligned but
6670extends to the very end of the parent region (resulted in an
6671AE_AML_REGION_LIMIT exception.)
6672
6673Fixed a problem with ACPI Fixed Events where an RT Clock handler
6674would not get invoked on an RTC event.  The RTC event bitmasks for
6675the PM1 registers were not being initialized properly.
6676
6677Implemented support for executing _STA and _INI methods for
6678Processor objects.  Although this is currently not part of the
6679ACPI specification, there is existing ASL code that depends on the
6680init-time execution of these methods.
6681
6682Implemented and deployed a GetDescriptorName function to decode
6683the various types of internal descriptors.  Guards against null
6684descriptors during debug output also.
6685
6686Implemented and deployed a GetNodeName function to extract the 4-
6687character namespace node name.  This function simplifies the debug
6688and error output, as well as guarding against null pointers during
6689output.
6690
6691Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
6692simplify the debug and error output of 64-bit integers.  This
6693macro replaces the HIDWORD and LODWORD macros for dumping these
6694integers.
6695
6696Updated the implementation of the Stall() operator to only call
6697AcpiOsStall(), and also return an error if the operand is larger
6698than 255.  This preserves the required behavior of not
6699relinquishing the processor, as would happen if AcpiOsSleep() was
6700called for "long stalls".
6701
6702Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
6703initialized are now treated as NOOPs.
6704
6705Cleaned up a handful of warnings during 64-bit generation.
6706
6707Fixed a reported error where and incorrect GPE number was passed
6708to the GPE dispatch handler.  This value is only used for error
6709output, however.  Used this opportunity to clean up and streamline
6710the GPE dispatch code.
6711
6712Code and Data Size: Current and previous core subsystem library
6713sizes are shown below.  These are the code and data sizes for the
6714acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6715these values do not include any ACPI driver or OSPM code.  The
6716
6717debug version of the code includes the debug output trace
6718mechanism and has a much larger code and data size.  Note that
6719these values will vary depending on the efficiency of the compiler
6720and the compiler options used during generation.
6721
6722  Previous Release (20031002):
6723    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6724    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6725  Current Release:
6726    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6727    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6728
6729
67302) iASL Compiler/Disassembler:
6731
6732Updated the iASL compiler to return an error if the operand to the
6733Stall() operator is larger than 255.
6734
6735
6736----------------------------------------
673702 October 2003.  Summary of changes for version 20031002:
6738
6739
67401) ACPI CA Core Subsystem:
6741
6742Fixed a problem with Index Fields where the index was not
6743incremented for fields that require multiple writes to the
6744index/data registers (Fields that are wider than the data
6745register.)
6746
6747Fixed a problem with all Field objects where a write could go
6748beyond the end-of-field if the field was larger than the access
6749granularity and therefore required multiple writes to complete the
6750request.  An extra write beyond the end of the field could happen
6751inadvertently.
6752
6753Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
6754would incorrectly be returned if the width of the Data Register
6755was larger than the specified field access width.
6756
6757Completed fixes for LoadTable() and Unload() and verified their
6758operation.  Implemented full support for the "DdbHandle" object
6759throughout the ACPI CA subsystem.
6760
6761Implemented full support for the MADT and ECDT tables in the ACPI
6762CA header files.  Even though these tables are not directly
6763consumed by ACPI CA, the header definitions are useful for ACPI
6764device drivers.
6765
6766Integrated resource descriptor fixes posted to the Linux ACPI
6767list.  This included checks for minimum descriptor length, and
6768support for trailing NULL strings within descriptors that have
6769optional string elements.
6770
6771Code and Data Size: Current and previous core subsystem library
6772sizes are shown below.  These are the code and data sizes for the
6773acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6774these values do not include any ACPI driver or OSPM code.  The
6775debug version of the code includes the debug output trace
6776mechanism and has a much larger code and data size.  Note that
6777these values will vary depending on the efficiency of the compiler
6778and the compiler options used during generation.
6779
6780  Previous Release (20030918):
6781    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6782    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6783  Current Release:
6784    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6785    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6786
6787
67882) iASL Compiler:
6789
6790Implemented detection of non-ASCII characters within the input
6791source ASL file.  This catches attempts to compile binary (AML)
6792files early in the compile, with an informative error message.
6793
6794Fixed a problem where the disassembler would fault if the output
6795filename could not be generated or if the output file could not be
6796opened.
6797
6798----------------------------------------
679918 September 2003.  Summary of changes for version 20030918:
6800
6801
68021) ACPI CA Core Subsystem:
6803
6804Found and fixed a longstanding problem with the late execution of
6805the various deferred AML opcodes (such as Operation Regions,
6806Buffer Fields, Buffers, and Packages).  If the name string
6807specified for the name of the new object placed the object in a
6808scope other than the current scope, the initialization/execution
6809of the opcode failed.  The solution to this problem was to
6810implement a mechanism where the late execution of such opcodes
6811does not attempt to lookup/create the name a second time in an
6812incorrect scope.  This fixes the "region size computed
6813incorrectly" problem.
6814
6815Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
6816Global Lock AE_BAD_PARAMETER error.
6817
6818Fixed several 64-bit issues with prototypes, casting and data
6819types.
6820
6821Removed duplicate prototype from acdisasm.h
6822
6823Fixed an issue involving EC Operation Region Detach (Shaohua Li)
6824
6825Code and Data Size: Current and previous core subsystem library
6826sizes are shown below.  These are the code and data sizes for the
6827acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6828these values do not include any ACPI driver or OSPM code.  The
6829debug version of the code includes the debug output trace
6830mechanism and has a much larger code and data size.  Note that
6831these values will vary depending on the efficiency of the compiler
6832and the compiler options used during generation.
6833
6834  Previous Release:
6835
6836    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6837    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6838  Current Release:
6839    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6840    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6841
6842
68432) Linux:
6844
6845Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
6846correct sleep time in seconds.
6847
6848----------------------------------------
684914 July 2003.  Summary of changes for version 20030619:
6850
68511) ACPI CA Core Subsystem:
6852
6853Parse SSDTs in order discovered, as opposed to reverse order
6854(Hrvoje Habjanic)
6855
6856Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
6857Klausner,
6858   Nate Lawson)
6859
6860
68612) Linux:
6862
6863Dynamically allocate SDT list (suggested by Andi Kleen)
6864
6865proc function return value cleanups (Andi Kleen)
6866
6867Correctly handle NMI watchdog during long stalls (Andrew Morton)
6868
6869Make it so acpismp=force works (reported by Andrew Morton)
6870
6871
6872----------------------------------------
687319 June 2003.  Summary of changes for version 20030619:
6874
68751) ACPI CA Core Subsystem:
6876
6877Fix To/FromBCD, eliminating the need for an arch-specific #define.
6878
6879Do not acquire a semaphore in the S5 shutdown path.
6880
6881Fix ex_digits_needed for 0. (Takayoshi Kochi)
6882
6883Fix sleep/stall code reversal. (Andi Kleen)
6884
6885Revert a change having to do with control method calling
6886semantics.
6887
68882) Linux:
6889
6890acpiphp update (Takayoshi Kochi)
6891
6892Export acpi_disabled for sonypi (Stelian Pop)
6893
6894Mention acpismp=force in config help
6895
6896Re-add acpitable.c and acpismp=force. This improves backwards
6897
6898compatibility and also cleans up the code to a significant degree.
6899
6900Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
6901
6902----------------------------------------
690322 May 2003.  Summary of changes for version 20030522:
6904
69051) ACPI CA Core Subsystem:
6906
6907Found and fixed a reported problem where an AE_NOT_FOUND error
6908occurred occasionally during _BST evaluation.  This turned out to
6909be an Owner ID allocation issue where a called method did not get
6910a new ID assigned to it.  Eventually, (after 64k calls), the Owner
6911ID UINT16 would wraparound so that the ID would be the same as the
6912caller's and the called method would delete the caller's
6913namespace.
6914
6915Implemented extended error reporting for control methods that are
6916aborted due to a run-time exception.  Output includes the exact
6917AML instruction that caused the method abort, a dump of the method
6918locals and arguments at the time of the abort, and a trace of all
6919nested control method calls.
6920
6921Modified the interpreter to allow the creation of buffers of zero
6922length from the AML code. Implemented new code to ensure that no
6923attempt is made to actually allocate a memory buffer (of length
6924zero) - instead, a simple buffer object with a NULL buffer pointer
6925and length zero is created.  A warning is no longer issued when
6926the AML attempts to create a zero-length buffer.
6927
6928Implemented a workaround for the "leading asterisk issue" in
6929_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
6930asterisk is automatically removed if present in any HID, UID, or
6931CID strings.  The iASL compiler will still flag this asterisk as
6932an error, however.
6933
6934Implemented full support for _CID methods that return a package of
6935multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
6936now additionally returns a device _CID list if present.  This
6937required a change to the external interface in order to pass an
6938ACPI_BUFFER object as a parameter since the _CID list is of
6939variable length.
6940
6941Fixed a problem with the new AE_SAME_HANDLER exception where
6942handler initialization code did not know about this exception.
6943
6944Code and Data Size: Current and previous core subsystem library
6945sizes are shown below.  These are the code and data sizes for the
6946acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6947these values do not include any ACPI driver or OSPM code.  The
6948debug version of the code includes the debug output trace
6949mechanism and has a much larger code and data size.  Note that
6950these values will vary depending on the efficiency of the compiler
6951and the compiler options used during generation.
6952
6953  Previous Release (20030509):
6954    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6955    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6956  Current Release:
6957    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6958    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6959
6960
69612) Linux:
6962
6963Fixed a bug in which we would reinitialize the ACPI interrupt
6964after it was already working, thus disabling all ACPI and the IRQs
6965for any other device sharing the interrupt. (Thanks to Stian
6966Jordet)
6967
6968Toshiba driver update (John Belmonte)
6969
6970Return only 0 or 1 for our interrupt handler status (Andrew
6971Morton)
6972
6973
69743) iASL Compiler:
6975
6976Fixed a reported problem where multiple (nested) ElseIf()
6977statements were not handled correctly by the compiler, resulting
6978in incorrect warnings and incorrect AML code.  This was a problem
6979in both the ASL parser and the code generator.
6980
6981
69824) Documentation:
6983
6984Added changes to existing interfaces, new exception codes, and new
6985text concerning reference count object management versus garbage
6986collection.
6987
6988----------------------------------------
698909 May 2003.  Summary of changes for version 20030509.
6990
6991
69921) ACPI CA Core Subsystem:
6993
6994Changed the subsystem initialization sequence to hold off
6995installation of address space handlers until the hardware has been
6996initialized and the system has entered ACPI mode.  This is because
6997the installation of space handlers can cause _REG methods to be
6998run.  Previously, the _REG methods could potentially be run before
6999ACPI mode was enabled.
7000
7001Fixed some memory leak issues related to address space handler and
7002notify handler installation.  There were some problems with the
7003reference count mechanism caused by the fact that the handler
7004objects are shared across several namespace objects.
7005
7006Fixed a reported problem where reference counts within the
7007namespace were not properly updated when named objects created by
7008method execution were deleted.
7009
7010Fixed a reported problem where multiple SSDTs caused a deletion
7011issue during subsystem termination.  Restructured the table data
7012structures to simplify the linked lists and the related code.
7013
7014Fixed a problem where the table ID associated with secondary
7015tables (SSDTs) was not being propagated into the namespace objects
7016created by those tables.  This would only present a problem for
7017tables that are unloaded at run-time, however.
7018
7019Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7020type as the length parameter (instead of UINT32).
7021
7022Solved a long-standing problem where an ALREADY_EXISTS error
7023appears on various systems.  This problem could happen when there
7024are multiple PCI_Config operation regions under a single PCI root
7025bus.  This doesn't happen very frequently, but there are some
7026systems that do this in the ASL.
7027
7028Fixed a reported problem where the internal DeleteNode function
7029was incorrectly handling the case where a namespace node was the
7030first in the parent's child list, and had additional peers (not
7031the only child, but first in the list of children.)
7032
7033Code and Data Size: Current core subsystem library sizes are shown
7034below.  These are the code and data sizes for the acpica.lib
7035produced by the Microsoft Visual C++ 6.0 compiler, and these
7036values do not include any ACPI driver or OSPM code.  The debug
7037version of the code includes the debug output trace mechanism and
7038has a much larger code and data size.  Note that these values will
7039vary depending on the efficiency of the compiler and the compiler
7040options used during generation.
7041
7042  Previous Release
7043    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7044    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7045  Current Release:
7046    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7047    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7048
7049
70502) Linux:
7051
7052Allow ":" in OS override string (Ducrot Bruno)
7053
7054Kobject fix (Greg KH)
7055
7056
70573 iASL Compiler/Disassembler:
7058
7059Fixed a problem in the generation of the C source code files (AML
7060is emitted in C source statements for BIOS inclusion) where the
7061Ascii dump that appears within a C comment at the end of each line
7062could cause a compile time error if the AML sequence happens to
7063have an open comment or close comment sequence embedded.
7064
7065
7066----------------------------------------
706724 April 2003.  Summary of changes for version 20030424.
7068
7069
70701) ACPI CA Core Subsystem:
7071
7072Support for big-endian systems has been implemented.  Most of the
7073support has been invisibly added behind big-endian versions of the
7074ACPI_MOVE_* macros.
7075
7076Fixed a problem in AcpiHwDisableGpeBlock() and
7077AcpiHwClearGpeBlock() where an incorrect offset was passed to the
7078low level hardware write routine.  The offset parameter was
7079actually eliminated from the low level read/write routines because
7080they had become obsolete.
7081
7082Fixed a problem where a handler object was deleted twice during
7083the removal of a fixed event handler.
7084
7085
70862) Linux:
7087
7088A fix for SMP systems with link devices was contributed by
7089
7090Compaq's Dan Zink.
7091
7092(2.5) Return whether we handled the interrupt in our IRQ handler.
7093(Linux ISRs no longer return void, so we can propagate the handler
7094return value from the ACPI CA core back to the OS.)
7095
7096
7097
70983) Documentation:
7099
7100The ACPI CA Programmer Reference has been updated to reflect new
7101interfaces and changes to existing interfaces.
7102
7103----------------------------------------
710428 March 2003.  Summary of changes for version 20030328.
7105
71061) ACPI CA Core Subsystem:
7107
7108The GPE Block Device support has been completed.  New interfaces
7109are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
7110interfaces (enable, disable, clear, getstatus) have been split
7111into separate interfaces for Fixed Events and General Purpose
7112Events (GPEs) in order to support GPE Block Devices properly.
7113
7114Fixed a problem where the error message "Failed to acquire
7115semaphore" would appear during operations on the embedded
7116controller (EC).
7117
7118Code and Data Size: Current core subsystem library sizes are shown
7119below.  These are the code and data sizes for the acpica.lib
7120produced by the Microsoft Visual C++ 6.0 compiler, and these
7121values do not include any ACPI driver or OSPM code.  The debug
7122version of the code includes the debug output trace mechanism and
7123has a much larger code and data size.  Note that these values will
7124vary depending on the efficiency of the compiler and the compiler
7125options used during generation.
7126
7127  Previous Release
7128    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7129    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7130  Current Release:
7131    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7132    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7133
7134
7135----------------------------------------
713628 February 2003.  Summary of changes for version 20030228.
7137
7138
71391) ACPI CA Core Subsystem:
7140
7141The GPE handling and dispatch code has been completely overhauled
7142in preparation for support of GPE Block Devices (ID ACPI0006).
7143This affects internal data structures and code only; there should
7144be no differences visible externally.  One new file has been
7145added, evgpeblk.c
7146
7147The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7148fields that are used to determine the GPE block lengths.  The
7149REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7150structures are ignored.  This is per the ACPI specification but it
7151isn't very clear.  The full 256 Block 0/1 GPEs are now supported
7152(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7153
7154In the SCI interrupt handler, removed the read of the PM1_CONTROL
7155register to look at the SCI_EN bit.  On some machines, this read
7156causes an SMI event and greatly slows down SCI events.  (This may
7157in fact be the cause of slow battery status response on some
7158systems.)
7159
7160Fixed a problem where a store of a NULL string to a package object
7161could cause the premature deletion of the object.  This was seen
7162during execution of the battery _BIF method on some systems,
7163resulting in no battery data being returned.
7164
7165Added AcpiWalkResources interface to simplify parsing of resource
7166lists.
7167
7168Code and Data Size: Current core subsystem library sizes are shown
7169below.  These are the code and data sizes for the acpica.lib
7170produced by the Microsoft Visual C++ 6.0 compiler, and these
7171values do not include any ACPI driver or OSPM code.  The debug
7172version of the code includes the debug output trace mechanism and
7173has a much larger code and data size.  Note that these values will
7174vary depending on the efficiency of the compiler and the compiler
7175options used during generation.
7176
7177  Previous Release
7178    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7179    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7180  Current Release:
7181    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7182    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7183
7184
71852) Linux
7186
7187S3 fixes (Ole Rohne)
7188
7189Update ACPI PHP driver with to use new acpi_walk_resource API
7190(Bjorn Helgaas)
7191
7192Add S4BIOS support (Pavel Machek)
7193
7194Map in entire table before performing checksum (John Stultz)
7195
7196Expand the mem= cmdline to allow the specification of reserved and
7197ACPI DATA blocks (Pavel Machek)
7198
7199Never use ACPI on VISWS
7200
7201Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7202
7203Revert a change that allowed P_BLK lengths to be 4 or 5. This is
7204causing us to think that some systems support C2 when they really
7205don't.
7206
7207Do not count processor objects for non-present CPUs (Thanks to
7208Dominik Brodowski)
7209
7210
72113) iASL Compiler:
7212
7213Fixed a problem where ASL include files could not be found and
7214opened.
7215
7216Added support for the _PDC reserved name.
7217
7218
7219----------------------------------------
722022 January 2003.  Summary of changes for version 20030122.
7221
7222
72231) ACPI CA Core Subsystem:
7224
7225Added a check for constructs of the form:  Store (Local0, Local0)
7226where Local0 is not initialized.  Apparently, some BIOS
7227programmers believe that this is a NOOP.  Since this store doesn't
7228do anything anyway, the new prototype behavior will ignore this
7229error.  This is a case where we can relax the strict checking in
7230the interpreter in the name of compatibility.
7231
7232
72332) Linux
7234
7235The AcpiSrc Source Conversion Utility has been released with the
7236Linux package for the first time.  This is the utility that is
7237used to convert the ACPI CA base source code to the Linux version.
7238
7239(Both) Handle P_BLK lengths shorter than 6 more gracefully
7240
7241(Both) Move more headers to include/acpi, and delete an unused
7242header.
7243
7244(Both) Move drivers/acpi/include directory to include/acpi
7245
7246(Both) Boot functions don't use cmdline, so don't pass it around
7247
7248(Both) Remove include of unused header (Adrian Bunk)
7249
7250(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
7251the
7252former now also includes the latter, acpiphp.h only needs the one,
7253now.
7254
7255(2.5) Make it possible to select method of bios restoring after S3
7256resume. [=> no more ugly ifdefs] (Pavel Machek)
7257
7258(2.5) Make proc write interfaces work (Pavel Machek)
7259
7260(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
7261
7262(2.5) Break out ACPI Perf code into its own module, under cpufreq
7263(Dominik Brodowski)
7264
7265(2.4) S4BIOS support (Ducrot Bruno)
7266
7267(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
7268Visinoni)
7269
7270
72713) iASL Compiler:
7272
7273Added support to disassemble SSDT and PSDTs.
7274
7275Implemented support to obtain SSDTs from the Windows registry if
7276available.
7277
7278
7279----------------------------------------
728009 January 2003.  Summary of changes for version 20030109.
7281
72821) ACPI CA Core Subsystem:
7283
7284Changed the behavior of the internal Buffer-to-String conversion
7285function.  The current ACPI specification states that the contents
7286of the buffer are "converted to a string of two-character
7287hexadecimal numbers, each separated by a space".  Unfortunately,
7288this definition is not backwards compatible with existing ACPI 1.0
7289implementations (although the behavior was not defined in the ACPI
72901.0 specification).  The new behavior simply copies data from the
7291buffer to the string until a null character is found or the end of
7292the buffer is reached.  The new String object is always null
7293terminated.  This problem was seen during the generation of _BIF
7294battery data where incorrect strings were returned for battery
7295type, etc.  This will also require an errata to the ACPI
7296specification.
7297
7298Renamed all instances of NATIVE_UINT and NATIVE_INT to
7299ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
7300
7301Copyright in all module headers (both Linux and non-Linux) has be
7302updated to 2003.
7303
7304Code and Data Size: Current core subsystem library sizes are shown
7305below.  These are the code and data sizes for the acpica.lib
7306produced by the Microsoft Visual C++ 6.0 compiler, and these
7307values do not include any ACPI driver or OSPM code.  The debug
7308version of the code includes the debug output trace mechanism and
7309has a much larger code and data size.  Note that these values will
7310vary depending on the efficiency of the compiler and the compiler
7311options used during generation.
7312
7313  Previous Release
7314    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7315    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7316  Current Release:
7317    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7318    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7319
7320
73212) Linux
7322
7323Fixed an oops on module insertion/removal (Matthew Tippett)
7324
7325(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
7326
7327(2.5) Replace pr_debug (Randy Dunlap)
7328
7329(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
7330
7331(Both) Eliminate spawning of thread from timer callback, in favor
7332of schedule_work()
7333
7334(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
7335
7336(Both) Added define for Fixed Function HW region (Matthew Wilcox)
7337
7338(Both) Add missing statics to button.c (Pavel Machek)
7339
7340Several changes have been made to the source code translation
7341utility that generates the Linux Code in order to make the code
7342more "Linux-like":
7343
7344All typedefs on structs and unions have been removed in keeping
7345with the Linux coding style.
7346
7347Removed the non-Linux SourceSafe module revision number from each
7348module header.
7349
7350Completed major overhaul of symbols to be lowercased for linux.
7351Doubled the number of symbols that are lowercased.
7352
7353Fixed a problem where identifiers within procedure headers and
7354within quotes were not fully lower cased (they were left with a
7355starting capital.)
7356
7357Some C macros whose only purpose is to allow the generation of 16-
7358bit code are now completely removed in the Linux code, increasing
7359readability and maintainability.
7360
7361----------------------------------------
7362
736312 December 2002.  Summary of changes for version 20021212.
7364
7365
73661) ACPI CA Core Subsystem:
7367
7368Fixed a problem where the creation of a zero-length AML Buffer
7369would cause a fault.
7370
7371Fixed a problem where a Buffer object that pointed to a static AML
7372buffer (in an ACPI table) could inadvertently be deleted, causing
7373memory corruption.
7374
7375Fixed a problem where a user buffer (passed in to the external
7376ACPI CA interfaces) could be overwritten if the buffer was too
7377small to complete the operation, causing memory corruption.
7378
7379Fixed a problem in the Buffer-to-String conversion code where a
7380string of length one was always returned, regardless of the size
7381of the input Buffer object.
7382
7383Removed the NATIVE_CHAR data type across the entire source due to
7384lack of need and lack of consistent use.
7385
7386Code and Data Size: Current core subsystem library sizes are shown
7387below.  These are the code and data sizes for the acpica.lib
7388produced by the Microsoft Visual C++ 6.0 compiler, and these
7389values do not include any ACPI driver or OSPM code.  The debug
7390version of the code includes the debug output trace mechanism and
7391has a much larger code and data size.  Note that these values will
7392vary depending on the efficiency of the compiler and the compiler
7393options used during generation.
7394
7395  Previous Release
7396    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7397    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7398  Current Release:
7399    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7400    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7401
7402
7403----------------------------------------
740405 December 2002.  Summary of changes for version 20021205.
7405
74061) ACPI CA Core Subsystem:
7407
7408Fixed a problem where a store to a String or Buffer object could
7409cause corruption of the DSDT if the object type being stored was
7410the same as the target object type and the length of the object
7411being stored was equal to or smaller than the original (existing)
7412target object.  This was seen to cause corruption of battery _BIF
7413buffers if the _BIF method modified the buffer on the fly.
7414
7415Fixed a problem where an internal error was generated if a control
7416method invocation was used in an OperationRegion, Buffer, or
7417Package declaration.  This was caused by the deferred parsing of
7418the control method and thus the deferred creation of the internal
7419method object.  The solution to this problem was to create the
7420internal method object at the moment the method is encountered in
7421the first pass - so that subsequent references to the method will
7422able to obtain the required parameter count and thus properly
7423parse the method invocation.  This problem presented itself as an
7424AE_AML_INTERNAL during the pass 1 parse phase during table load.
7425
7426Fixed a problem where the internal String object copy routine did
7427not always allocate sufficient memory for the target String object
7428and caused memory corruption.  This problem was seen to cause
7429"Allocation already present in list!" errors as memory allocation
7430became corrupted.
7431
7432Implemented a new function for the evaluation of namespace objects
7433that allows the specification of the allowable return object
7434types.  This simplifies a lot of code that checks for a return
7435object of one or more specific objects returned from the
7436evaluation (such as _STA, etc.)  This may become and external
7437function if it would be useful to ACPI-related drivers.
7438
7439Completed another round of prefixing #defines with "ACPI_" for
7440clarity.
7441
7442Completed additional code restructuring to allow more modular
7443linking for iASL compiler and AcpiExec.  Several files were split
7444creating new files.  New files:  nsparse.c dsinit.c evgpe.c
7445
7446Implemented an abort mechanism to terminate an executing control
7447method via the AML debugger.  This feature is useful for debugging
7448control methods that depend (wait) for specific hardware
7449responses.
7450
7451Code and Data Size: Current core subsystem library sizes are shown
7452below.  These are the code and data sizes for the acpica.lib
7453produced by the Microsoft Visual C++ 6.0 compiler, and these
7454values do not include any ACPI driver or OSPM code.  The debug
7455version of the code includes the debug output trace mechanism and
7456has a much larger code and data size.  Note that these values will
7457vary depending on the efficiency of the compiler and the compiler
7458options used during generation.
7459
7460  Previous Release
7461    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7462    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7463  Current Release:
7464    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7465    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7466
7467
74682) iASL Compiler/Disassembler
7469
7470Fixed a compiler code generation problem for "Interrupt" Resource
7471Descriptors.  If specified in the ASL, the optional "Resource
7472Source Index" and "Resource Source" fields were not inserted into
7473the correct location within the AML resource descriptor, creating
7474an invalid descriptor.
7475
7476Fixed a disassembler problem for "Interrupt" resource descriptors.
7477The optional "Resource Source Index" and "Resource Source" fields
7478were ignored.
7479
7480
7481----------------------------------------
748222 November 2002.  Summary of changes for version 20021122.
7483
7484
74851) ACPI CA Core Subsystem:
7486
7487Fixed a reported problem where an object stored to a Method Local
7488or Arg was not copied to a new object during the store - the
7489object pointer was simply copied to the Local/Arg.  This caused
7490all subsequent operations on the Local/Arg to also affect the
7491original source of the store operation.
7492
7493Fixed a problem where a store operation to a Method Local or Arg
7494was not completed properly if the Local/Arg contained a reference
7495(from RefOf) to a named field.  The general-purpose store-to-
7496namespace-node code is now used so that this case is handled
7497automatically.
7498
7499Fixed a problem where the internal object copy routine would cause
7500a protection fault if the object being copied was a Package and
7501contained either 1) a NULL package element or 2) a nested sub-
7502package.
7503
7504Fixed a problem with the GPE initialization that resulted from an
7505ambiguity in the ACPI specification.  One section of the
7506specification states that both the address and length of the GPE
7507block must be zero if the block is not supported.  Another section
7508implies that only the address need be zero if the block is not
7509supported.  The code has been changed so that both the address and
7510the length must be non-zero to indicate a valid GPE block (i.e.,
7511if either the address or the length is zero, the GPE block is
7512invalid.)
7513
7514Code and Data Size: Current core subsystem library sizes are shown
7515below.  These are the code and data sizes for the acpica.lib
7516produced by the Microsoft Visual C++ 6.0 compiler, and these
7517values do not include any ACPI driver or OSPM code.  The debug
7518version of the code includes the debug output trace mechanism and
7519has a much larger code and data size.  Note that these values will
7520vary depending on the efficiency of the compiler and the compiler
7521options used during generation.
7522
7523  Previous Release
7524    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7525    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7526  Current Release:
7527    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7528    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7529
7530
75312) Linux
7532
7533Cleaned up EC driver. Exported an external EC read/write
7534interface. By going through this, other drivers (most notably
7535sonypi) will be able to serialize access to the EC.
7536
7537
75383) iASL Compiler/Disassembler
7539
7540Implemented support to optionally generate include files for both
7541ASM and C (the -i switch).  This simplifies BIOS development by
7542automatically creating include files that contain external
7543declarations for the symbols that are created within the
7544
7545(optionally generated) ASM and C AML source files.
7546
7547
7548----------------------------------------
754915 November 2002.  Summary of changes for version 20021115.
7550
75511) ACPI CA Core Subsystem:
7552
7553Fixed a memory leak problem where an error during resolution of
7554
7555method arguments during a method invocation from another method
7556failed to cleanup properly by deleting all successfully resolved
7557argument objects.
7558
7559Fixed a problem where the target of the Index() operator was not
7560correctly constructed if the source object was a package.  This
7561problem has not been detected because the use of a target operand
7562with Index() is very rare.
7563
7564Fixed a problem with the Index() operator where an attempt was
7565made to delete the operand objects twice.
7566
7567Fixed a problem where an attempt was made to delete an operand
7568twice during execution of the CondRefOf() operator if the target
7569did not exist.
7570
7571Implemented the first of perhaps several internal create object
7572functions that create and initialize a specific object type.  This
7573consolidates duplicated code wherever the object is created, thus
7574shrinking the size of the subsystem.
7575
7576Implemented improved debug/error messages for errors that occur
7577during nested method invocations.  All executing method pathnames
7578are displayed (with the error) as the call stack is unwound - thus
7579simplifying debug.
7580
7581Fixed a problem introduced in the 10/02 release that caused
7582premature deletion of a buffer object if a buffer was used as an
7583ASL operand where an integer operand is required (Thus causing an
7584implicit object conversion from Buffer to Integer.)  The change in
7585the 10/02 release was attempting to fix a memory leak (albeit
7586incorrectly.)
7587
7588Code and Data Size: Current core subsystem library sizes are shown
7589below.  These are the code and data sizes for the acpica.lib
7590produced by the Microsoft Visual C++ 6.0 compiler, and these
7591values do not include any ACPI driver or OSPM code.  The debug
7592version of the code includes the debug output trace mechanism and
7593has a much larger code and data size.  Note that these values will
7594vary depending on the efficiency of the compiler and the compiler
7595options used during generation.
7596
7597  Previous Release
7598    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7599    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7600  Current Release:
7601    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7602    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7603
7604
76052) Linux
7606
7607Changed the implementation of the ACPI semaphores to use down()
7608instead of down_interruptable().  It is important that the
7609execution of ACPI control methods not be interrupted by signals.
7610Methods must run to completion, or the system may be left in an
7611unknown/unstable state.
7612
7613Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
7614(Shawn Starr)
7615
7616
76173) iASL Compiler/Disassembler
7618
7619
7620Changed the default location of output files.  All output files
7621are now placed in the current directory by default instead of in
7622the directory of the source file.  This change may affect some
7623existing makefiles, but it brings the behavior of the compiler in
7624line with other similar tools.  The location of the output files
7625can be overridden with the -p command line switch.
7626
7627
7628----------------------------------------
762911 November 2002.  Summary of changes for version 20021111.
7630
7631
76320) ACPI Specification 2.0B is released and is now available at:
7633http://www.acpi.info/index.html
7634
7635
76361) ACPI CA Core Subsystem:
7637
7638Implemented support for the ACPI 2.0 SMBus Operation Regions.
7639This includes the early detection and handoff of the request to
7640the SMBus region handler (avoiding all of the complex field
7641support code), and support for the bidirectional return packet
7642from an SMBus write operation.  This paves the way for the
7643development of SMBus drivers in each host operating system.
7644
7645Fixed a problem where the semaphore WAIT_FOREVER constant was
7646defined as 32 bits, but must be 16 bits according to the ACPI
7647specification.  This had the side effect of causing ASL
7648Mutex/Event timeouts even though the ASL code requested a wait
7649forever.  Changed all internal references to the ACPI timeout
7650parameter to 16 bits to prevent future problems.  Changed the name
7651of WAIT_FOREVER to ACPI_WAIT_FOREVER.
7652
7653Code and Data Size: Current core subsystem library sizes are shown
7654below.  These are the code and data sizes for the acpica.lib
7655produced by the Microsoft Visual C++ 6.0 compiler, and these
7656values do not include any ACPI driver or OSPM code.  The debug
7657version of the code includes the debug output trace mechanism and
7658has a much larger code and data size.  Note that these values will
7659vary depending on the efficiency of the compiler and the compiler
7660options used during generation.
7661
7662  Previous Release
7663    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7664    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7665  Current Release:
7666    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7667    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7668
7669
76702) Linux
7671
7672Module loading/unloading fixes (John Cagle)
7673
7674
76753) iASL Compiler/Disassembler
7676
7677Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
7678
7679Implemented support for the disassembly of all SMBus protocol
7680keywords (SMBQuick, SMBWord, etc.)
7681
7682----------------------------------------
768301 November 2002.  Summary of changes for version 20021101.
7684
7685
76861) ACPI CA Core Subsystem:
7687
7688Fixed a problem where platforms that have a GPE1 block but no GPE0
7689block were not handled correctly.  This resulted in a "GPE
7690overlap" error message.  GPE0 is no longer required.
7691
7692Removed code added in the previous release that inserted nodes
7693into the namespace in alphabetical order.  This caused some side-
7694effects on various machines.  The root cause of the problem is
7695still under investigation since in theory, the internal ordering
7696of the namespace nodes should not matter.
7697
7698
7699Enhanced error reporting for the case where a named object is not
7700found during control method execution.  The full ACPI namepath
7701(name reference) of the object that was not found is displayed in
7702this case.
7703
7704Note: as a result of the overhaul of the namespace object types in
7705the previous release, the namespace nodes for the predefined
7706scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
7707instead of ACPI_TYPE_ANY.  This simplifies the namespace
7708management code but may affect code that walks the namespace tree
7709looking for specific object types.
7710
7711Code and Data Size: Current core subsystem library sizes are shown
7712below.  These are the code and data sizes for the acpica.lib
7713produced by the Microsoft Visual C++ 6.0 compiler, and these
7714values do not include any ACPI driver or OSPM code.  The debug
7715version of the code includes the debug output trace mechanism and
7716has a much larger code and data size.  Note that these values will
7717vary depending on the efficiency of the compiler and the compiler
7718options used during generation.
7719
7720  Previous Release
7721    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7722    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7723  Current Release:
7724    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7725    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7726
7727
77282) Linux
7729
7730Fixed a problem introduced in the previous release where the
7731Processor and Thermal objects were not recognized and installed in
7732/proc.  This was related to the scope type change described above.
7733
7734
77353) iASL Compiler/Disassembler
7736
7737Implemented the -g option to get all of the required ACPI tables
7738from the registry and save them to files (Windows version of the
7739compiler only.)  The required tables are the FADT, FACS, and DSDT.
7740
7741Added ACPI table checksum validation during table disassembly in
7742order to catch corrupted tables.
7743
7744
7745----------------------------------------
774622 October 2002.  Summary of changes for version 20021022.
7747
77481) ACPI CA Core Subsystem:
7749
7750Implemented a restriction on the Scope operator that the target
7751must already exist in the namespace at the time the operator is
7752encountered (during table load or method execution).  In other
7753words, forward references are not allowed and Scope() cannot
7754create a new object. This changes the previous behavior where the
7755interpreter would create the name if not found.  This new behavior
7756correctly enables the search-to-root algorithm during namespace
7757lookup of the target name.  Because of this upsearch, this fixes
7758the known Compaq _SB_.OKEC problem and makes both the AML
7759interpreter and iASL compiler compatible with other ACPI
7760implementations.
7761
7762Completed a major overhaul of the internal ACPI object types for
7763the ACPI Namespace and the associated operand objects.  Many of
7764these types had become obsolete with the introduction of the two-
7765pass namespace load.  This cleanup simplifies the code and makes
7766the entire namespace load mechanism much clearer and easier to
7767understand.
7768
7769Improved debug output for tracking scope opening/closing to help
7770diagnose scoping issues.  The old scope name as well as the new
7771scope name are displayed.  Also improved error messages for
7772problems with ASL Mutex objects and error messages for GPE
7773problems.
7774
7775Cleaned up the namespace dump code, removed obsolete code.
7776
7777All string output (for all namespace/object dumps) now uses the
7778common ACPI string output procedure which handles escapes properly
7779and does not emit non-printable characters.
7780
7781Fixed some issues with constants in the 64-bit version of the
7782local C library (utclib.c)
7783
7784
77852) Linux
7786
7787EC Driver:  No longer attempts to acquire the Global Lock at
7788interrupt level.
7789
7790
77913) iASL Compiler/Disassembler
7792
7793Implemented ACPI 2.0B grammar change that disallows all Type 1 and
77942 opcodes outside of a control method.  This means that the
7795"executable" operators (versus the "namespace" operators) cannot
7796be used at the table level; they can only be used within a control
7797method.
7798
7799Implemented the restriction on the Scope() operator where the
7800target must already exist in the namespace at the time the
7801operator is encountered (during ASL compilation). In other words,
7802forward references are not allowed and Scope() cannot create a new
7803object.  This makes the iASL compiler compatible with other ACPI
7804implementations and makes the Scope() implementation adhere to the
7805ACPI specification.
7806
7807Fixed a problem where namepath optimization for the Alias operator
7808was optimizing the wrong path (of the two namepaths.)  This caused
7809a "Missing alias link" error message.
7810
7811Fixed a problem where an "unknown reserved name" warning could be
7812incorrectly generated for names like "_SB" when the trailing
7813underscore is not used in the original ASL.
7814
7815Fixed a problem where the reserved name check did not handle
7816NamePaths with multiple NameSegs correctly.  The first nameseg of
7817the NamePath was examined instead of the last NameSeg.
7818
7819
7820----------------------------------------
7821
782202 October 2002.  Summary of changes for this release.
7823
7824
78251) ACPI CA Core Subsystem version 20021002:
7826
7827Fixed a problem where a store/copy of a string to an existing
7828string did not always set the string length properly in the String
7829object.
7830
7831Fixed a reported problem with the ToString operator where the
7832behavior was identical to the ToHexString operator instead of just
7833simply converting a raw buffer to a string data type.
7834
7835Fixed a problem where CopyObject and the other "explicit"
7836conversion operators were not updating the internal namespace node
7837type as part of the store operation.
7838
7839Fixed a memory leak during implicit source operand conversion
7840where the original object was not deleted if it was converted to a
7841new object of a different type.
7842
7843Enhanced error messages for all problems associated with namespace
7844lookups.  Common procedure generates and prints the lookup name as
7845well as the formatted status.
7846
7847Completed implementation of a new design for the Alias support
7848within the namespace.  The existing design did not handle the case
7849where a new object was assigned to one of the two names due to the
7850use of an explicit conversion operator, resulting in the two names
7851pointing to two different objects.  The new design simply points
7852the Alias name to the original name node - not to the object.
7853This results in a level of indirection that must be handled in the
7854name resolution mechanism.
7855
7856Code and Data Size: Current core subsystem library sizes are shown
7857below.  These are the code and data sizes for the acpica.lib
7858produced by the Microsoft Visual C++ 6.0 compiler, and these
7859values do not include any ACPI driver or OSPM code.  The debug
7860version of the code includes the debug output trace mechanism and
7861has a larger code and data size.  Note that these values will vary
7862depending on the efficiency of the compiler and the compiler
7863options used during generation.
7864
7865  Previous Release
7866    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7867    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7868  Current Release:
7869    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7870    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7871
7872
78732) Linux
7874
7875Initialize thermal driver's timer before it is used. (Knut
7876Neumann)
7877
7878Allow handling negative celsius values. (Kochi Takayoshi)
7879
7880Fix thermal management and make trip points. R/W (Pavel Machek)
7881
7882Fix /proc/acpi/sleep. (P. Christeas)
7883
7884IA64 fixes. (David Mosberger)
7885
7886Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
7887
7888Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
7889Brodowski)
7890
7891
78923) iASL Compiler/Disassembler
7893
7894Clarified some warning/error messages.
7895
7896
7897----------------------------------------
789818 September 2002.  Summary of changes for this release.
7899
7900
79011) ACPI CA Core Subsystem version 20020918:
7902
7903Fixed a reported problem with reference chaining (via the Index()
7904and RefOf() operators) in the ObjectType() and SizeOf() operators.
7905The definition of these operators includes the dereferencing of
7906all chained references to return information on the base object.
7907
7908Fixed a problem with stores to indexed package elements - the
7909existing code would not complete the store if an "implicit
7910conversion" was not performed.  In other words, if the existing
7911object (package element) was to be replaced completely, the code
7912didn't handle this case.
7913
7914Relaxed typechecking on the ASL "Scope" operator to allow the
7915target name to refer to an object of type Integer, String, or
7916Buffer, in addition to the scoping object types (Device,
7917predefined Scopes, Processor, PowerResource, and ThermalZone.)
7918This allows existing AML code that has workarounds for a bug in
7919Windows to function properly.  A warning is issued, however.  This
7920affects both the AML interpreter and the iASL compiler. Below is
7921an example of this type of ASL code:
7922
7923      Name(DEB,0x00)
7924      Scope(DEB)
7925      {
7926
7927Fixed some reported problems with 64-bit integer support in the
7928local implementation of C library functions (clib.c)
7929
7930
79312) Linux
7932
7933Use ACPI fix map region instead of IOAPIC region, since it is
7934undefined in non-SMP.
7935
7936Ensure that the SCI has the proper polarity and trigger, even on
7937systems that do not have an interrupt override entry in the MADT.
7938
79392.5 big driver reorganization (Pat Mochel)
7940
7941Use early table mapping code from acpitable.c (Andi Kleen)
7942
7943New blacklist entries (Andi Kleen)
7944
7945Blacklist improvements. Split blacklist code out into a separate
7946file. Move checking the blacklist to very early. Previously, we
7947would use ACPI tables, and then halfway through init, check the
7948blacklist -- too late. Now, it's early enough to completely fall-
7949back to non-ACPI.
7950
7951
79523) iASL Compiler/Disassembler version 20020918:
7953
7954Fixed a problem where the typechecking code didn't know that an
7955alias could point to a method.  In other words, aliases were not
7956being dereferenced during typechecking.
7957
7958
7959----------------------------------------
796029 August 2002.  Summary of changes for this release.
7961
79621) ACPI CA Core Subsystem Version 20020829:
7963
7964If the target of a Scope() operator already exists, it must be an
7965object type that actually opens a scope -- such as a Device,
7966Method, Scope, etc.  This is a fatal runtime error.  Similar error
7967check has been added to the iASL compiler also.
7968
7969Tightened up the namespace load to disallow multiple names in the
7970same scope.  This previously was allowed if both objects were of
7971the same type.  (i.e., a lookup was the same as entering a new
7972name).
7973
7974
79752) Linux
7976
7977Ensure that the ACPI interrupt has the proper trigger and
7978polarity.
7979
7980local_irq_disable is extraneous. (Matthew Wilcox)
7981
7982Make "acpi=off" actually do what it says, and not use the ACPI
7983interpreter *or* the tables.
7984
7985Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
7986Takayoshi)
7987
7988
79893) iASL Compiler/Disassembler  Version 20020829:
7990
7991Implemented namepath optimization for name declarations.  For
7992example, a declaration like "Method (\_SB_.ABCD)" would get
7993optimized to "Method (ABCD)" if the declaration is within the
7994\_SB_ scope.  This optimization is in addition to the named
7995reference path optimization first released in the previous
7996version. This would seem to complete all possible optimizations
7997for namepaths within the ASL/AML.
7998
7999If the target of a Scope() operator already exists, it must be an
8000object type that actually opens a scope -- such as a Device,
8001Method, Scope, etc.
8002
8003Implemented a check and warning for unreachable code in the same
8004block below a Return() statement.
8005
8006Fixed a problem where the listing file was not generated if the
8007compiler aborted if the maximum error count was exceeded (200).
8008
8009Fixed a problem where the typechecking of method return values was
8010broken.  This includes the check for a return value when the
8011method is invoked as a TermArg (a return value is expected.)
8012
8013Fixed a reported problem where EOF conditions during a quoted
8014string or comment caused a fault.
8015
8016
8017----------------------------------------
801815 August 2002.  Summary of changes for this release.
8019
80201) ACPI CA Core Subsystem Version 20020815:
8021
8022Fixed a reported problem where a Store to a method argument that
8023contains a reference did not perform the indirect store correctly.
8024This problem was created during the conversion to the new
8025reference object model - the indirect store to a method argument
8026code was not updated to reflect the new model.
8027
8028Reworked the ACPI mode change code to better conform to ACPI 2.0,
8029handle corner cases, and improve code legibility (Kochi Takayoshi)
8030
8031Fixed a problem with the pathname parsing for the carat (^)
8032prefix.  The heavy use of the carat operator by the new namepath
8033optimization in the iASL compiler uncovered a problem with the AML
8034interpreter handling of this prefix.  In the case where one or
8035more carats precede a single nameseg, the nameseg was treated as
8036standalone and the search rule (to root) was inadvertently
8037applied.  This could cause both the iASL compiler and the
8038interpreter to find the wrong object or to miss the error that
8039should occur if the object does not exist at that exact pathname.
8040
8041Found and fixed the problem where the HP Pavilion DSDT would not
8042load.  This was a relatively minor tweak to the table loading code
8043(a problem caused by the unexpected encounter with a method
8044invocation not within a control method), but it does not solve the
8045overall issue of the execution of AML code at the table level.
8046This investigation is still ongoing.
8047
8048Code and Data Size: Current core subsystem library sizes are shown
8049below.  These are the code and data sizes for the acpica.lib
8050produced by the Microsoft Visual C++ 6.0 compiler, and these
8051values do not include any ACPI driver or OSPM code.  The debug
8052version of the code includes the debug output trace mechanism and
8053has a larger code and data size.  Note that these values will vary
8054depending on the efficiency of the compiler and the compiler
8055options used during generation.
8056
8057  Previous Release
8058    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8059    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8060  Current Release:
8061    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8062    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8063
8064
80652) Linux
8066
8067Remove redundant slab.h include (Brad Hards)
8068
8069Fix several bugs in thermal.c (Herbert Nachtnebel)
8070
8071Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
8072
8073Change acpi_system_suspend to use updated irq functions (Pavel
8074Machek)
8075
8076Export acpi_get_firmware_table (Matthew Wilcox)
8077
8078Use proper root proc entry for ACPI (Kochi Takayoshi)
8079
8080Fix early-boot table parsing (Bjorn Helgaas)
8081
8082
80833) iASL Compiler/Disassembler
8084
8085Reworked the compiler options to make them more consistent and to
8086use two-letter options where appropriate.  We were running out of
8087sensible letters.   This may break some makefiles, so check the
8088current options list by invoking the compiler with no parameters.
8089
8090Completed the design and implementation of the ASL namepath
8091optimization option for the compiler.  This option optimizes all
8092references to named objects to the shortest possible path.  The
8093first attempt tries to utilize a single nameseg (4 characters) and
8094the "search-to-root" algorithm used by the interpreter.  If that
8095cannot be used (because either the name is not in the search path
8096or there is a conflict with another object with the same name),
8097the pathname is optimized using the carat prefix (usually a
8098shorter string than specifying the entire path from the root.)
8099
8100Implemented support to obtain the DSDT from the Windows registry
8101(when the disassembly option is specified with no input file).
8102Added this code as the implementation for AcpiOsTableOverride in
8103the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
8104utility) to scan memory for the DSDT to the AcpiOsTableOverride
8105function in the DOS OSL to make the disassembler truly OS
8106independent.
8107
8108Implemented a new option to disassemble and compile in one step.
8109When used without an input filename, this option will grab the
8110DSDT from the local machine, disassemble it, and compile it in one
8111step.
8112
8113Added a warning message for invalid escapes (a backslash followed
8114by any character other than the allowable escapes).  This catches
8115the quoted string error "\_SB_" (which should be "\\_SB_" ).
8116
8117Also, there are numerous instances in the ACPI specification where
8118this error occurs.
8119
8120Added a compiler option to disable all optimizations.  This is
8121basically the "compatibility mode" because by using this option,
8122the AML code will come out exactly the same as other ASL
8123compilers.
8124
8125Added error messages for incorrectly ordered dependent resource
8126functions.  This includes: missing EndDependentFn macro at end of
8127dependent resource list, nested dependent function macros (both
8128start and end), and missing StartDependentFn macro.  These are
8129common errors that should be caught at compile time.
8130
8131Implemented _OSI support for the disassembler and compiler.  _OSI
8132must be included in the namespace for proper disassembly (because
8133the disassembler must know the number of arguments.)
8134
8135Added an "optimization" message type that is optional (off by
8136default).  This message is used for all optimizations - including
8137constant folding, integer optimization, and namepath optimization.
8138
8139----------------------------------------
814025 July 2002.  Summary of changes for this release.
8141
8142
81431) ACPI CA Core Subsystem Version 20020725:
8144
8145The AML Disassembler has been enhanced to produce compilable ASL
8146code and has been integrated into the iASL compiler (see below) as
8147well as the single-step disassembly for the AML debugger and the
8148disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
8149resource templates and macros are fully supported.  The
8150disassembler has been tested on over 30 different AML files,
8151producing identical AML when the resulting disassembled ASL file
8152is recompiled with the same ASL compiler.
8153
8154Modified the Resource Manager to allow zero interrupts and zero
8155dma channels during the GetCurrentResources call.  This was
8156causing problems on some platforms.
8157
8158Added the AcpiOsRedirectOutput interface to the OSL to simplify
8159output redirection for the AcpiOsPrintf and AcpiOsVprintf
8160interfaces.
8161
8162Code and Data Size: Current core subsystem library sizes are shown
8163below.  These are the code and data sizes for the acpica.lib
8164produced by the Microsoft Visual C++ 6.0 compiler, and these
8165values do not include any ACPI driver or OSPM code.  The debug
8166version of the code includes the debug output trace mechanism and
8167has a larger code and data size.  Note that these values will vary
8168depending on the efficiency of the compiler and the compiler
8169options used during generation.
8170
8171  Previous Release
8172    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8173    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8174  Current Release:
8175    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8176    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8177
8178
81792) Linux
8180
8181Fixed a panic in the EC driver (Dominik Brodowski)
8182
8183Implemented checksum of the R/XSDT itself during Linux table scan
8184(Richard Schaal)
8185
8186
81873) iASL compiler
8188
8189The AML disassembler is integrated into the compiler.  The "-d"
8190option invokes the disassembler  to completely disassemble an
8191input AML file, producing as output a text ASL file with the
8192extension ".dsl" (to avoid name collisions with existing .asl
8193source files.)  A future enhancement will allow the disassembler
8194to obtain the BIOS DSDT from the registry under Windows.
8195
8196Fixed a problem with the VendorShort and VendorLong resource
8197descriptors where an invalid AML sequence was created.
8198
8199Implemented a fix for BufferData term in the ASL parser.  It was
8200inadvertently defined twice, allowing invalid syntax to pass and
8201causing reduction conflicts.
8202
8203Fixed a problem where the Ones opcode could get converted to a
8204value of zero if "Ones" was used where a byte, word or dword value
8205was expected.  The 64-bit value is now truncated to the correct
8206size with the correct value.
8207
8208
8209
8210----------------------------------------
821102 July 2002.  Summary of changes for this release.
8212
8213
82141) ACPI CA Core Subsystem Version 20020702:
8215
8216The Table Manager code has been restructured to add several new
8217features.  Tables that are not required by the core subsystem
8218(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8219validated in any way and are returned from AcpiGetFirmwareTable if
8220requested.  The AcpiOsTableOverride interface is now called for
8221each table that is loaded by the subsystem in order to allow the
8222host to override any table it chooses.  Previously, only the DSDT
8223could be overridden.  Added one new files, tbrsdt.c and
8224tbgetall.c.
8225
8226Fixed a problem with the conversion of internal package objects to
8227external objects (when a package is returned from a control
8228method.)  The return buffer length was set to zero instead of the
8229proper length of the package object.
8230
8231Fixed a reported problem with the use of the RefOf and DeRefOf
8232operators when passing reference arguments to control methods.  A
8233new type of Reference object is used internally for references
8234produced by the RefOf operator.
8235
8236Added additional error messages in the Resource Manager to explain
8237AE_BAD_DATA errors when they occur during resource parsing.
8238
8239Split the AcpiEnableSubsystem into two primitives to enable a
8240finer granularity initialization sequence.  These two calls should
8241be called in this order: AcpiEnableSubsystem (flags),
8242AcpiInitializeObjects (flags).  The flags parameter remains the
8243same.
8244
8245
82462) Linux
8247
8248Updated the ACPI utilities module to understand the new style of
8249fully resolved package objects that are now returned from the core
8250subsystem.  This eliminates errors of the form:
8251
8252    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
8253    acpi_utils-0430 [145] acpi_evaluate_reference:
8254        Invalid element in package (not a device reference)
8255
8256The method evaluation utility uses the new buffer allocation
8257scheme instead of calling AcpiEvaluate Object twice.
8258
8259Added support for ECDT. This allows the use of the Embedded
8260
8261Controller before the namespace has been fully initialized, which
8262is necessary for ACPI 2.0 support, and for some laptops to
8263initialize properly. (Laptops using ECDT are still rare, so only
8264limited testing was performed of the added functionality.)
8265
8266Fixed memory leaks in the EC driver.
8267
8268Eliminated a brittle code structure in acpi_bus_init().
8269
8270Eliminated the acpi_evaluate() helper function in utils.c. It is
8271no longer needed since acpi_evaluate_object can optionally
8272allocate memory for the return object.
8273
8274Implemented fix for keyboard hang when getting battery readings on
8275some systems (Stephen White)
8276
8277PCI IRQ routing update (Dominik Brodowski)
8278
8279Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
8280support
8281
8282----------------------------------------
828311 June 2002.  Summary of changes for this release.
8284
8285
82861) ACPI CA Core Subsystem Version 20020611:
8287
8288Fixed a reported problem where constants such as Zero and One
8289appearing within _PRT packages were not handled correctly within
8290the resource manager code.  Originally reported against the ASL
8291compiler because the code generator now optimizes integers to
8292their minimal AML representation (i.e. AML constants if possible.)
8293The _PRT code now handles all AML constant opcodes correctly
8294(Zero, One, Ones, Revision).
8295
8296Fixed a problem with the Concatenate operator in the AML
8297interpreter where a buffer result object was incorrectly marked as
8298not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
8299
8300All package sub-objects are now fully resolved before they are
8301returned from the external ACPI interfaces.  This means that name
8302strings are resolved to object handles, and constant operators
8303(Zero, One, Ones, Revision) are resolved to Integers.
8304
8305Implemented immediate resolution of the AML Constant opcodes
8306(Zero, One, Ones, Revision) to Integer objects upon detection
8307within the AML stream. This has simplified and reduced the
8308generated code size of the subsystem by eliminating about 10
8309switch statements for these constants (which previously were
8310contained in Reference objects.)  The complicating issues are that
8311the Zero opcode is used as a "placeholder" for unspecified
8312optional target operands and stores to constants are defined to be
8313no-ops.
8314
8315Code and Data Size: Current core subsystem library sizes are shown
8316below. These are the code and data sizes for the acpica.lib
8317produced by the Microsoft Visual C++ 6.0 compiler, and these
8318values do not include any ACPI driver or OSPM code.  The debug
8319version of the code includes the debug output trace mechanism and
8320has a larger code and data size.  Note that these values will vary
8321depending on the efficiency of the compiler and the compiler
8322options used during generation.
8323
8324  Previous Release
8325    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8326    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8327  Current Release:
8328    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8329    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8330
8331
83322) Linux
8333
8334
8335Added preliminary support for obtaining _TRA data for PCI root
8336bridges (Bjorn Helgaas).
8337
8338
83393) iASL Compiler Version X2046:
8340
8341Fixed a problem where the "_DDN" reserved name was defined to be a
8342control method with one argument.  There are no arguments, and
8343_DDN does not have to be a control method.
8344
8345Fixed a problem with the Linux version of the compiler where the
8346source lines printed with error messages were the wrong lines.
8347This turned out to be the "LF versus CR/LF" difference between
8348Windows and Unix.  This appears to be the longstanding issue
8349concerning listing output and error messages.
8350
8351Fixed a problem with the Linux version of compiler where opcode
8352names within error messages were wrong.  This was caused by a
8353slight difference in the output of the Flex tool on Linux versus
8354Windows.
8355
8356Fixed a problem with the Linux compiler where the hex output files
8357contained some garbage data caused by an internal buffer overrun.
8358
8359
8360----------------------------------------
836117 May 2002.  Summary of changes for this release.
8362
8363
83641) ACPI CA Core Subsystem Version 20020517:
8365
8366Implemented a workaround to an BIOS bug discovered on the HP
8367OmniBook where the FADT revision number and the table size are
8368inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
8369behavior is to fallback to using only the ACPI 1.0 fields of the
8370FADT if the table is too small to be a ACPI 2.0 table as claimed
8371by the revision number.  Although this is a BIOS bug, this is a
8372case where the workaround is simple enough and with no side
8373effects, so it seemed prudent to add it.  A warning message is
8374issued, however.
8375
8376Implemented minimum size checks for the fixed-length ACPI tables -
8377- the FADT and FACS, as well as consistency checks between the
8378revision number and the table size.
8379
8380Fixed a reported problem in the table override support where the
8381new table pointer was incorrectly treated as a physical address
8382instead of a logical address.
8383
8384Eliminated the use of the AE_AML_ERROR exception and replaced it
8385with more descriptive codes.
8386
8387Fixed a problem where an exception would occur if an ASL Field was
8388defined with no named Field Units underneath it (used by some
8389index fields).
8390
8391Code and Data Size: Current core subsystem library sizes are shown
8392below.  These are the code and data sizes for the acpica.lib
8393produced by the Microsoft Visual C++ 6.0 compiler, and these
8394values do not include any ACPI driver or OSPM code.  The debug
8395version of the code includes the debug output trace mechanism and
8396has a larger code and data size.  Note that these values will vary
8397depending on the efficiency of the compiler and the compiler
8398options used during generation.
8399
8400  Previous Release
8401    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8402    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8403  Current Release:
8404    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8405    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8406
8407
8408
84092) Linux
8410
8411Much work done on ACPI init (MADT and PCI IRQ routing support).
8412(Paul D. and Dominik Brodowski)
8413
8414Fix PCI IRQ-related panic on boot (Sam Revitch)
8415
8416Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
8417
8418Fix "MHz" typo (Dominik Brodowski)
8419
8420Fix RTC year 2000 issue (Dominik Brodowski)
8421
8422Preclude multiple button proc entries (Eric Brunet)
8423
8424Moved arch-specific code out of include/platform/aclinux.h
8425
84263) iASL Compiler Version X2044:
8427
8428Implemented error checking for the string used in the EISAID macro
8429(Usually used in the definition of the _HID object.)  The code now
8430strictly enforces the PnP format - exactly 7 characters, 3
8431uppercase letters and 4 hex digits.
8432
8433If a raw string is used in the definition of the _HID object
8434(instead of the EISAID macro), the string must contain all
8435alphanumeric characters (e.g., "*PNP0011" is not allowed because
8436of the asterisk.)
8437
8438Implemented checking for invalid use of ACPI reserved names for
8439most of the name creation operators (Name, Device, Event, Mutex,
8440OperationRegion, PowerResource, Processor, and ThermalZone.)
8441Previously, this check was only performed for control methods.
8442
8443Implemented an additional check on the Name operator to emit an
8444error if a reserved name that must be implemented in ASL as a
8445control method is used.  We know that a reserved name must be a
8446method if it is defined with input arguments.
8447
8448The warning emitted when a namespace object reference is not found
8449during the cross reference phase has been changed into an error.
8450The "External" directive should be used for names defined in other
8451modules.
8452
8453
84544) Tools and Utilities
8455
8456The 16-bit tools (adump16 and aexec16) have been regenerated and
8457tested.
8458
8459Fixed a problem with the output of both acpidump and adump16 where
8460the indentation of closing parentheses and brackets was not
8461
8462aligned properly with the parent block.
8463
8464
8465----------------------------------------
846603 May 2002.  Summary of changes for this release.
8467
8468
84691) ACPI CA Core Subsystem Version 20020503:
8470
8471Added support a new OSL interface that allows the host operating
8472
8473system software to override the DSDT found in the firmware -
8474AcpiOsTableOverride.  With this interface, the OSL can examine the
8475version of the firmware DSDT and replace it with a different one
8476if desired.
8477
8478Added new external interfaces for accessing ACPI registers from
8479device drivers and other system software - AcpiGetRegister and
8480AcpiSetRegister.  This was simply an externalization of the
8481existing AcpiHwBitRegister interfaces.
8482
8483Fixed a regression introduced in the previous build where the
8484ASL/AML CreateField operator always returned an error,
8485"destination must be a NS Node".
8486
8487Extended the maximum time (before failure) to successfully enable
8488ACPI mode to 3 seconds.
8489
8490Code and Data Size: Current core subsystem library sizes are shown
8491below.  These are the code and data sizes for the acpica.lib
8492produced by the Microsoft Visual C++ 6.0 compiler, and these
8493values do not include any ACPI driver or OSPM code.  The debug
8494version of the code includes the debug output trace mechanism and
8495has a larger code and data size.  Note that these values will vary
8496depending on the efficiency of the compiler and the compiler
8497options used during generation.
8498
8499  Previous Release
8500    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8501    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8502  Current Release:
8503    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8504    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8505
8506
85072) Linux
8508
8509Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
8510free. While 3 out of 4 of our in-house systems work fine, the last
8511one still hangs when testing the LAPIC timer.
8512
8513Renamed many files in 2.5 kernel release to omit "acpi_" from the
8514name.
8515
8516Added warning on boot for Presario 711FR.
8517
8518Sleep improvements (Pavel Machek)
8519
8520ACPI can now be built without CONFIG_PCI enabled.
8521
8522IA64: Fixed memory map functions (JI Lee)
8523
8524
85253) iASL Compiler Version X2043:
8526
8527Added support to allow the compiler to be integrated into the MS
8528VC++ development environment for one-button compilation of single
8529files or entire projects -- with error-to-source-line mapping.
8530
8531Implemented support for compile-time constant folding for the
8532Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
8533specification.  This allows the ASL writer to use expressions
8534instead of Integer/Buffer/String constants in terms that must
8535evaluate to constants at compile time and will also simplify the
8536emitted AML in any such sub-expressions that can be folded
8537(evaluated at compile-time.)  This increases the size of the
8538compiler significantly because a portion of the ACPI CA AML
8539interpreter is included within the compiler in order to pre-
8540evaluate constant expressions.
8541
8542
8543Fixed a problem with the "Unicode" ASL macro that caused the
8544compiler to fault.  (This macro is used in conjunction with the
8545_STR reserved name.)
8546
8547Implemented an AML opcode optimization to use the Zero, One, and
8548Ones opcodes where possible to further reduce the size of integer
8549constants and thus reduce the overall size of the generated AML
8550code.
8551
8552Implemented error checking for new reserved terms for ACPI version
85532.0A.
8554
8555Implemented the -qr option to display the current list of ACPI
8556reserved names known to the compiler.
8557
8558Implemented the -qc option to display the current list of ASL
8559operators that are allowed within constant expressions and can
8560therefore be folded at compile time if the operands are constants.
8561
8562
85634) Documentation
8564
8565Updated the Programmer's Reference for new interfaces, data types,
8566and memory allocation model options.
8567
8568Updated the iASL Compiler User Reference to apply new format and
8569add information about new features and options.
8570
8571----------------------------------------
857219 April 2002.  Summary of changes for this release.
8573
85741) ACPI CA Core Subsystem Version 20020419:
8575
8576The source code base for the Core Subsystem has been completely
8577cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
8578versions.  The Lint option files used are included in the
8579/acpi/generate/lint directory.
8580
8581Implemented enhanced status/error checking across the entire
8582Hardware manager subsystem.  Any hardware errors (reported from
8583the OSL) are now bubbled up and will abort a running control
8584method.
8585
8586
8587Fixed a problem where the per-ACPI-table integer width (32 or 64)
8588was stored only with control method nodes, causing a fault when
8589non-control method code was executed during table loading.  The
8590solution implemented uses a global variable to indicate table
8591width across the entire ACPI subsystem.  Therefore, ACPI CA does
8592not support mixed integer widths across different ACPI tables
8593(DSDT, SSDT).
8594
8595Fixed a problem where NULL extended fields (X fields) in an ACPI
85962.0 ACPI FADT caused the table load to fail.  Although the
8597existing ACPI specification is a bit fuzzy on this topic, the new
8598behavior is to fall back on a ACPI 1.0 field if the corresponding
8599ACPI 2.0 X field is zero (even though the table revision indicates
8600a full ACPI 2.0 table.)  The ACPI specification will be updated to
8601clarify this issue.
8602
8603Fixed a problem with the SystemMemory operation region handler
8604where memory was always accessed byte-wise even if the AML-
8605specified access width was larger than a byte.  This caused
8606problems on systems with memory-mapped I/O.  Memory is now
8607accessed with the width specified.  On systems that do not support
8608non-aligned transfers, a check is made to guarantee proper address
8609alignment before proceeding in order to avoid an AML-caused
8610alignment fault within the kernel.
8611
8612
8613Fixed a problem with the ExtendedIrq resource where only one byte
8614of the 4-byte Irq field was extracted.
8615
8616Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
8617function was out of date and required a rewrite.
8618
8619Code and Data Size: Current core subsystem library sizes are shown
8620below.  These are the code and data sizes for the acpica.lib
8621produced by the Microsoft Visual C++ 6.0 compiler, and these
8622values do not include any ACPI driver or OSPM code.  The debug
8623version of the code includes the debug output trace mechanism and
8624has a larger code and data size.  Note that these values will vary
8625depending on the efficiency of the compiler and the compiler
8626options used during generation.
8627
8628  Previous Release
8629    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8630    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8631  Current Release:
8632    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8633    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8634
8635
86362) Linux
8637
8638PCI IRQ routing fixes (Dominik Brodowski)
8639
8640
86413) iASL Compiler Version X2042:
8642
8643Implemented an additional compile-time error check for a field
8644unit whose size + minimum access width would cause a run-time
8645access beyond the end-of-region.  Previously, only the field size
8646itself was checked.
8647
8648The Core subsystem and iASL compiler now share a common parse
8649object in preparation for compile-time evaluation of the type
86503/4/5 ASL operators.
8651
8652
8653----------------------------------------
8654Summary of changes for this release: 03_29_02
8655
86561) ACPI CA Core Subsystem Version 20020329:
8657
8658Implemented support for late evaluation of TermArg operands to
8659Buffer and Package objects.  This allows complex expressions to be
8660used in the declarations of these object types.
8661
8662Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
86631.0, if the field was larger than 32 bits, it was returned as a
8664buffer - otherwise it was returned as an integer.  In ACPI 2.0,
8665the field is returned as a buffer only if the field is larger than
866664 bits.  The TableRevision is now considered when making this
8667conversion to avoid incompatibility with existing ASL code.
8668
8669Implemented logical addressing for AcpiOsGetRootPointer.  This
8670allows an RSDP with either a logical or physical address.  With
8671this support, the host OS can now override all ACPI tables with
8672one logical RSDP.  Includes implementation of  "typed" pointer
8673support to allow a common data type for both physical and logical
8674pointers internally.  This required a change to the
8675AcpiOsGetRootPointer interface.
8676
8677Implemented the use of ACPI 2.0 Generic Address Structures for all
8678GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
8679mapped I/O for these ACPI features.
8680
8681Initialization now ignores not only non-required tables (All
8682tables other than the FADT, FACS, DSDT, and SSDTs), but also does
8683not validate the table headers of unrecognized tables.
8684
8685Fixed a problem where a notify handler could only be
8686installed/removed on an object of type Device.  All "notify"
8687
8688objects are now supported -- Devices, Processor, Power, and
8689Thermal.
8690
8691Removed most verbosity from the ACPI_DB_INFO debug level.  Only
8692critical information is returned when this debug level is enabled.
8693
8694Code and Data Size: Current core subsystem library sizes are shown
8695below.  These are the code and data sizes for the acpica.lib
8696produced by the Microsoft Visual C++ 6.0 compiler, and these
8697values do not include any ACPI driver or OSPM code.  The debug
8698version of the code includes the debug output trace mechanism and
8699has a larger code and data size.  Note that these values will vary
8700depending on the efficiency of the compiler and the compiler
8701options used during generation.
8702
8703  Previous Release
8704    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8705    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8706  Current Release:
8707    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8708    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8709
8710
87112) Linux:
8712
8713The processor driver (acpi_processor.c) now fully supports ACPI
87142.0-based processor performance control (e.g. Intel(R)
8715SpeedStep(TM) technology) Note that older laptops that only have
8716the Intel "applet" interface are not supported through this.  The
8717'limit' and 'performance' interface (/proc) are fully functional.
8718[Note that basic policy for controlling performance state
8719transitions will be included in the next version of ospmd.]  The
8720idle handler was modified to more aggressively use C2, and PIIX4
8721errata handling underwent a complete overhaul (big thanks to
8722Dominik Brodowski).
8723
8724Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
8725based devices in the ACPI namespace are now dynamically bound
8726(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
8727This allows, among other things, ACPI to resolve bus numbers for
8728subordinate PCI bridges.
8729
8730Enhanced PCI IRQ routing to get the proper bus number for _PRT
8731entries defined underneath PCI bridges.
8732
8733Added IBM 600E to bad bios list due to invalid _ADR value for
8734PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
8735
8736In the process of adding full MADT support (e.g. IOAPIC) for IA32
8737(acpi.c, mpparse.c) -- stay tuned.
8738
8739Added back visual differentiation between fixed-feature and
8740control-method buttons in dmesg.  Buttons are also subtyped (e.g.
8741button/power/PWRF) to simplify button identification.
8742
8743We no longer use -Wno-unused when compiling debug. Please ignore
8744any "_THIS_MODULE defined but not used" messages.
8745
8746Can now shut down the system using "magic sysrq" key.
8747
8748
87493) iASL Compiler version 2041:
8750
8751Fixed a problem where conversion errors for hex/octal/decimal
8752constants were not reported.
8753
8754Implemented a fix for the General Register template Address field.
8755This field was 8 bits when it should be 64.
8756
8757Fixed a problem where errors/warnings were no longer being emitted
8758within the listing output file.
8759
8760Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
8761exactly 4 characters, alphanumeric only.
8762
8763
8764
8765
8766----------------------------------------
8767Summary of changes for this release: 03_08_02
8768
8769
87701) ACPI CA Core Subsystem Version 20020308:
8771
8772Fixed a problem with AML Fields where the use of the "AccessAny"
8773keyword could cause an interpreter error due to attempting to read
8774or write beyond the end of the parent Operation Region.
8775
8776Fixed a problem in the SystemMemory Operation Region handler where
8777an attempt was made to map memory beyond the end of the region.
8778This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
8779errors on some Linux systems.
8780
8781Fixed a problem where the interpreter/namespace "search to root"
8782algorithm was not functioning for some object types.  Relaxed the
8783internal restriction on the search to allow upsearches for all
8784external object types as well as most internal types.
8785
8786
87872) Linux:
8788
8789We now use safe_halt() macro versus individual calls to sti | hlt.
8790
8791Writing to the processor limit interface should now work. "echo 1"
8792will increase the limit, 2 will decrease, and 0 will reset to the
8793
8794default.
8795
8796
87973) ASL compiler:
8798
8799Fixed segfault on Linux version.
8800
8801
8802----------------------------------------
8803Summary of changes for this release: 02_25_02
8804
88051) ACPI CA Core Subsystem:
8806
8807
8808Fixed a problem where the GPE bit masks were not initialized
8809properly, causing erratic GPE behavior.
8810
8811Implemented limited support for multiple calling conventions.  The
8812code can be generated with either the VPL (variable parameter
8813list, or "C") convention, or the FPL (fixed parameter list, or
8814"Pascal") convention.  The core subsystem is about 3.4% smaller
8815when generated with FPL.
8816
8817
88182) Linux
8819
8820Re-add some /proc/acpi/event functionality that was lost during
8821the rewrite
8822
8823Resolved issue with /proc events for fixed-feature buttons showing
8824up as the system device.
8825
8826Fixed checks on C2/C3 latencies to be inclusive of maximum values.
8827
8828Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
8829
8830Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
8831
8832Fixed limit interface & usage to fix bugs with passive cooling
8833hysterisis.
8834
8835Restructured PRT support.
8836
8837
8838----------------------------------------
8839Summary of changes for this label: 02_14_02
8840
8841
88421) ACPI CA Core Subsystem:
8843
8844Implemented support in AcpiLoadTable to allow loading of FACS and
8845FADT tables.
8846
8847Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
8848been removed.  All 64-bit platforms should be migrated to the ACPI
88492.0 tables.  The actbl71.h header has been removed from the source
8850tree.
8851
8852All C macros defined within the subsystem have been prefixed with
8853"ACPI_" to avoid collision with other system include files.
8854
8855Removed the return value for the two AcpiOsPrint interfaces, since
8856it is never used and causes lint warnings for ignoring the return
8857value.
8858
8859Added error checking to all internal mutex acquire and release
8860calls.  Although a failure from one of these interfaces is
8861probably a fatal system error, these checks will cause the
8862immediate abort of the currently executing method or interface.
8863
8864Fixed a problem where the AcpiSetCurrentResources interface could
8865fault.  This was a side effect of the deployment of the new memory
8866allocation model.
8867
8868Fixed a couple of problems with the Global Lock support introduced
8869in the last major build.  The "common" (1.0/2.0) internal FACS was
8870being overwritten with the FACS signature and clobbering the
8871Global Lock pointer.  Also, the actual firmware FACS was being
8872unmapped after construction of the "common" FACS, preventing
8873access to the actual Global Lock field within it.  The "common"
8874internal FACS is no longer installed as an actual ACPI table; it
8875is used simply as a global.
8876
8877Code and Data Size: Current core subsystem library sizes are shown
8878below.  These are the code and data sizes for the acpica.lib
8879produced by the Microsoft Visual C++ 6.0 compiler, and these
8880values do not include any ACPI driver or OSPM code.  The debug
8881version of the code includes the debug output trace mechanism and
8882has a larger code and data size.  Note that these values will vary
8883depending on the efficiency of the compiler and the compiler
8884options used during generation.
8885
8886  Previous Release (02_07_01)
8887    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8888    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8889  Current Release:
8890    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8891    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8892
8893
88942) Linux
8895
8896Updated Linux-specific code for core macro and OSL interface
8897changes described above.
8898
8899Improved /proc/acpi/event. It now can be opened only once and has
8900proper poll functionality.
8901
8902Fixed and restructured power management (acpi_bus).
8903
8904Only create /proc "view by type" when devices of that class exist.
8905
8906Fixed "charging/discharging" bug (and others) in acpi_battery.
8907
8908Improved thermal zone code.
8909
8910
89113) ASL Compiler, version X2039:
8912
8913
8914Implemented the new compiler restriction on ASL String hex/octal
8915escapes to non-null, ASCII values.  An error results if an invalid
8916value is used.  (This will require an ACPI 2.0 specification
8917change.)
8918
8919AML object labels that are output to the optional C and ASM source
8920are now prefixed with both the ACPI table signature and table ID
8921to help guarantee uniqueness within a large BIOS project.
8922
8923
8924----------------------------------------
8925Summary of changes for this label: 02_01_02
8926
89271) ACPI CA Core Subsystem:
8928
8929ACPI 2.0 support is complete in the entire Core Subsystem and the
8930ASL compiler. All new ACPI 2.0 operators are implemented and all
8931other changes for ACPI 2.0 support are complete.  With
8932simultaneous code and data optimizations throughout the subsystem,
8933ACPI 2.0 support has been implemented with almost no additional
8934cost in terms of code and data size.
8935
8936Implemented a new mechanism for allocation of return buffers.  If
8937the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
8938be allocated on behalf of the caller.  Consolidated all return
8939buffer validation and allocation to a common procedure.  Return
8940buffers will be allocated via the primary OSL allocation interface
8941since it appears that a separate pool is not needed by most users.
8942If a separate pool is required for these buffers, the caller can
8943still use the original mechanism and pre-allocate the buffer(s).
8944
8945Implemented support for string operands within the DerefOf
8946operator.
8947
8948Restructured the Hardware and Event managers to be table driven,
8949simplifying the source code and reducing the amount of generated
8950code.
8951
8952Split the common read/write low-level ACPI register bitfield
8953procedure into a separate read and write, simplifying the code
8954considerably.
8955
8956Obsoleted the AcpiOsCallocate OSL interface.  This interface was
8957used only a handful of times and didn't have enough critical mass
8958for a separate interface.  Replaced with a common calloc procedure
8959in the core.
8960
8961Fixed a reported problem with the GPE number mapping mechanism
8962that allows GPE1 numbers to be non-contiguous with GPE0.
8963Reorganized the GPE information and shrunk a large array that was
8964originally large enough to hold info for all possible GPEs (256)
8965to simply large enough to hold all GPEs up to the largest GPE
8966number on the machine.
8967
8968Fixed a reported problem with resource structure alignment on 64-
8969bit platforms.
8970
8971Changed the AcpiEnableEvent and AcpiDisableEvent external
8972interfaces to not require any flags for the common case of
8973enabling/disabling a GPE.
8974
8975Implemented support to allow a "Notify" on a Processor object.
8976
8977Most TBDs in comments within the source code have been resolved
8978and eliminated.
8979
8980
8981Fixed a problem in the interpreter where a standalone parent
8982prefix (^) was not handled correctly in the interpreter and
8983debugger.
8984
8985Removed obsolete and unnecessary GPE save/restore code.
8986
8987Implemented Field support in the ASL Load operator.  This allows a
8988table to be loaded from a named field, in addition to loading a
8989table directly from an Operation Region.
8990
8991Implemented timeout and handle support in the external Global Lock
8992interfaces.
8993
8994Fixed a problem in the AcpiDump utility where pathnames were no
8995longer being generated correctly during the dump of named objects.
8996
8997Modified the AML debugger to give a full display of if/while
8998predicates instead of just one AML opcode at a time.  (The
8999predicate can have several nested ASL statements.)  The old method
9000was confusing during single stepping.
9001
9002Code and Data Size: Current core subsystem library sizes are shown
9003below. These are the code and data sizes for the acpica.lib
9004produced by the Microsoft Visual C++ 6.0 compiler, and these
9005values do not include any ACPI driver or OSPM code.  The debug
9006version of the code includes the debug output trace mechanism and
9007has a larger code and data size.  Note that these values will vary
9008depending on the efficiency of the compiler and the compiler
9009options used during generation.
9010
9011  Previous Release (12_18_01)
9012     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9013     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9014   Current Release:
9015     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9016     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9017
90182) Linux
9019
9020 Implemented fix for PIIX reverse throttling errata (Processor
9021driver)
9022
9023Added new Limit interface (Processor and Thermal drivers)
9024
9025New thermal policy (Thermal driver)
9026
9027Many updates to /proc
9028
9029Battery "low" event support (Battery driver)
9030
9031Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9032
9033IA32 - IA64 initialization unification, no longer experimental
9034
9035Menuconfig options redesigned
9036
90373) ASL Compiler, version X2037:
9038
9039Implemented several new output features to simplify integration of
9040AML code into  firmware: 1) Output the AML in C source code with
9041labels for each named ASL object.  The    original ASL source code
9042is interleaved as C comments. 2) Output the AML in ASM source code
9043with labels and interleaved ASL    source. 3) Output the AML in
9044raw hex table form, in either C or ASM.
9045
9046Implemented support for optional string parameters to the
9047LoadTable operator.
9048
9049Completed support for embedded escape sequences within string
9050literals.  The compiler now supports all single character escapes
9051as well as the Octal and Hex escapes.  Note: the insertion of a
9052null byte into a string literal (via the hex/octal escape) causes
9053the string to be immediately terminated.  A warning is issued.
9054
9055Fixed a problem where incorrect AML was generated for the case
9056where an ASL namepath consists of a single parent prefix (
9057
9058) with no trailing name segments.
9059
9060The compiler has been successfully generated with a 64-bit C
9061compiler.
9062
9063
9064
9065
9066----------------------------------------
9067Summary of changes for this label: 12_18_01
9068
90691) Linux
9070
9071Enhanced blacklist with reason and severity fields. Any table's
9072signature may now be used to identify a blacklisted system.
9073
9074Call _PIC control method to inform the firmware which interrupt
9075model the OS is using. Turn on any disabled link devices.
9076
9077Cleaned up busmgr /proc error handling (Andreas Dilger)
9078
9079 2) ACPI CA Core Subsystem:
9080
9081Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
9082while loop)
9083
9084Completed implementation of the ACPI 2.0 "Continue",
9085"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9086operators.  All new ACPI 2.0 operators are now implemented in both
9087the ASL compiler and the AML interpreter.  The only remaining ACPI
90882.0 task is support for the String data type in the DerefOf
9089operator.  Fixed a problem with AcquireMutex where the status code
9090was lost if the caller had to actually wait for the mutex.
9091
9092Increased the maximum ASL Field size from 64K bits to 4G bits.
9093
9094Completed implementation of the external Global Lock interfaces --
9095AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
9096Handler parameters were added.
9097
9098Completed another pass at removing warnings and issues when
9099compiling with 64-bit compilers.  The code now compiles cleanly
9100with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
9101add and subtract (diff) macros have changed considerably.
9102
9103
9104Created and deployed a new ACPI_SIZE type that is 64-bits wide on
910564-bit platforms, 32-bits on all others.  This type is used
9106wherever memory allocation and/or the C sizeof() operator is used,
9107and affects the OSL memory allocation interfaces AcpiOsAllocate
9108and AcpiOsCallocate.
9109
9110Implemented sticky user breakpoints in the AML debugger.
9111
9112Code and Data Size: Current core subsystem library sizes are shown
9113below. These are the code and data sizes for the acpica.lib
9114produced by the Microsoft Visual C++ 6.0 compiler, and these
9115values do not include any ACPI driver or OSPM code.  The debug
9116version of the code includes the debug output trace mechanism and
9117has a larger code and data size. Note that these values will vary
9118depending on the efficiency of the compiler and the compiler
9119options used during generation.
9120
9121  Previous Release (12_05_01)
9122     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9123     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9124   Current Release:
9125     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9126     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9127
9128 3) ASL Compiler, version X2034:
9129
9130Now checks for (and generates an error if detected) the use of a
9131Break or Continue statement without an enclosing While statement.
9132
9133
9134Successfully generated the compiler with the Intel 64-bit C
9135compiler.
9136
9137 ----------------------------------------
9138Summary of changes for this label: 12_05_01
9139
9140 1) ACPI CA Core Subsystem:
9141
9142The ACPI 2.0 CopyObject operator is fully implemented.  This
9143operator creates a new copy of an object (and is also used to
9144bypass the "implicit conversion" mechanism of the Store operator.)
9145
9146The ACPI 2.0 semantics for the SizeOf operator are fully
9147implemented.  The change is that performing a SizeOf on a
9148reference object causes an automatic dereference of the object to
9149tha actual value before the size is evaluated. This behavior was
9150undefined in ACPI 1.0.
9151
9152The ACPI 2.0 semantics for the Extended IRQ resource descriptor
9153have been implemented.  The interrupt polarity and mode are now
9154independently set.
9155
9156Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
9157appearing in Package objects were not properly converted to
9158integers when the internal Package was converted to an external
9159object (via the AcpiEvaluateObject interface.)
9160
9161Fixed a problem with the namespace object deletion mechanism for
9162objects created by control methods.  There were two parts to this
9163problem: 1) Objects created during the initialization phase method
9164parse were not being deleted, and 2) The object owner ID mechanism
9165to track objects was broken.
9166
9167Fixed a problem where the use of the ASL Scope operator within a
9168control method would result in an invalid opcode exception.
9169
9170Fixed a problem introduced in the previous label where the buffer
9171length required for the _PRT structure was not being returned
9172correctly.
9173
9174Code and Data Size: Current core subsystem library sizes are shown
9175below. These are the code and data sizes for the acpica.lib
9176produced by the Microsoft Visual C++ 6.0 compiler, and these
9177values do not include any ACPI driver or OSPM code.  The debug
9178version of the code includes the debug output trace mechanism and
9179has a larger code and data size.  Note that these values will vary
9180depending on the efficiency of the compiler and the compiler
9181options used during generation.
9182
9183  Previous Release (11_20_01)
9184     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9185     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9186
9187  Current Release:
9188     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9189     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9190
9191 2) Linux:
9192
9193Updated all files to apply cleanly against 2.4.16.
9194
9195Added basic PCI Interrupt Routing Table (PRT) support for IA32
9196(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
9197version supports both static and dyanmic PRT entries, but dynamic
9198entries are treated as if they were static (not yet
9199reconfigurable).  Architecture- specific code to use this data is
9200absent on IA32 but should be available shortly.
9201
9202Changed the initialization sequence to start the ACPI interpreter
9203(acpi_init) prior to initialization of the PCI driver (pci_init)
9204in init/main.c.  This ordering is required to support PRT and
9205facilitate other (future) enhancement.  A side effect is that the
9206ACPI bus driver and certain device drivers can no longer be loaded
9207as modules.
9208
9209Modified the 'make menuconfig' options to allow PCI Interrupt
9210Routing support to be included without the ACPI Bus and other
9211device drivers.
9212
9213 3) ASL Compiler, version X2033:
9214
9215Fixed some issues with the use of the new CopyObject and
9216DataTableRegion operators.  Both are fully functional.
9217
9218 ----------------------------------------
9219Summary of changes for this label: 11_20_01
9220
9221 20 November 2001.  Summary of changes for this release.
9222
9223 1) ACPI CA Core Subsystem:
9224
9225Updated Index support to match ACPI 2.0 semantics.  Storing a
9226Integer, String, or Buffer to an Index of a Buffer will store only
9227the least-significant byte of the source to the Indexed buffer
9228byte.  Multiple writes are not performed.
9229
9230Fixed a problem where the access type used in an AccessAs ASL
9231operator was not recorded correctly into the field object.
9232
9233Fixed a problem where ASL Event objects were created in a
9234signalled state. Events are now created in an unsignalled state.
9235
9236The internal object cache is now purged after table loading and
9237initialization to reduce the use of dynamic kernel memory -- on
9238the assumption that object use is greatest during the parse phase
9239of the entire table (versus the run-time use of individual control
9240methods.)
9241
9242ACPI 2.0 variable-length packages are now fully operational.
9243
9244Code and Data Size: Code and Data optimizations have permitted new
9245feature development with an actual reduction in the library size.
9246Current core subsystem library sizes are shown below.  These are
9247the code and data sizes for the acpica.lib produced by the
9248Microsoft Visual C++ 6.0 compiler, and these values do not include
9249any ACPI driver or OSPM code.  The debug version of the code
9250includes the debug output trace mechanism and has a larger code
9251and data size.  Note that these values will vary depending on the
9252efficiency of the compiler and the compiler options used during
9253generation.
9254
9255  Previous Release (11_09_01):
9256     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9257     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9258
9259  Current Release:
9260     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9261     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9262
9263 2) Linux:
9264
9265Enhanced the ACPI boot-time initialization code to allow the use
9266of Local APIC tables for processor enumeration on IA-32, and to
9267pave the way for a fully MPS-free boot (on SMP systems) in the
9268near future.  This functionality replaces
9269arch/i386/kernel/acpitables.c, which was introduced in an earlier
92702.4.15-preX release.  To enable this feature you must add
9271"acpi_boot=on" to the kernel command line -- see the help entry
9272for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
9273the works...
9274
9275Restructured the configuration options to allow boot-time table
9276parsing support without inclusion of the ACPI Interpreter (and
9277other) code.
9278
9279NOTE: This release does not include fixes for the reported events,
9280power-down, and thermal passive cooling issues (coming soon).
9281
9282 3) ASL Compiler:
9283
9284Added additional typechecking for Fields within restricted access
9285Operation Regions.  All fields within EC and CMOS regions must be
9286declared with ByteAcc. All fields withing SMBus regions must be
9287declared with the BufferAcc access type.
9288
9289Fixed a problem where the listing file output of control methods
9290no longer interleaved the actual AML code with the ASL source
9291code.
9292
9293
9294
9295
9296----------------------------------------
9297Summary of changes for this label: 11_09_01
9298
92991) ACPI CA Core Subsystem:
9300
9301Implemented ACPI 2.0-defined support for writes to fields with a
9302Buffer, String, or Integer source operand that is smaller than the
9303target field. In these cases, the source operand is zero-extended
9304to fill the target field.
9305
9306Fixed a problem where a Field starting bit offset (within the
9307parent operation region) was calculated incorrectly if the
9308
9309alignment of the field differed from the access width.  This
9310affected CreateWordField, CreateDwordField, CreateQwordField, and
9311possibly other fields that use the "AccessAny" keyword.
9312
9313Fixed a problem introduced in the 11_02_01 release where indirect
9314stores through method arguments did not operate correctly.
9315
93162) Linux:
9317
9318Implemented boot-time ACPI table parsing support
9319(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
9320facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
9321legacy BIOS interfaces (e.g. MPS) for the configuration of system
9322processors, memory, and interrupts during setup_arch().  Note that
9323this patch does not include the required architecture-specific
9324changes required to apply this information -- subsequent patches
9325will be posted for both IA32 and IA64 to achieve this.
9326
9327Added low-level sleep support for IA32 platforms, courtesy of Pat
9328Mochel. This allows IA32 systems to transition to/from various
9329sleeping states (e.g. S1, S3), although the lack of a centralized
9330driver model and power-manageable drivers will prevent its
9331(successful) use on most systems.
9332
9333Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
9334submenu, unified IA32 and IA64 options, added new "Boot using ACPI
9335tables" option, etc.
9336
9337Increased the default timeout for the EC driver from 1ms to 10ms
9338(1000 cycles of 10us) to try to address AE_TIME errors during EC
9339transactions.
9340
9341 ----------------------------------------
9342Summary of changes for this label: 11_02_01
9343
93441) ACPI CA Core Subsystem:
9345
9346ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
9347(QWordAcc keyword). All ACPI 2.0 64-bit support is now
9348implemented.
9349
9350OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
9351changes to support ACPI 2.0 Qword field access.  Read/Write
9352PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
9353accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
9354the value parameter for the address space handler interface is now
9355an ACPI_INTEGER.  OSL implementations of these interfaces must now
9356handle the case where the Width parameter is 64.
9357
9358Index Fields: Fixed a problem where unaligned bit assembly and
9359disassembly for IndexFields was not supported correctly.
9360
9361Index and Bank Fields:  Nested Index and Bank Fields are now
9362supported. During field access, a check is performed to ensure
9363that the value written to an Index or Bank register is not out of
9364the range of the register.  The Index (or Bank) register is
9365written before each access to the field data. Future support will
9366include allowing individual IndexFields to be wider than the
9367DataRegister width.
9368
9369Fields: Fixed a problem where the AML interpreter was incorrectly
9370attempting to write beyond the end of a Field/OpRegion.  This was
9371a boundary case that occurred when a DWORD field was written to a
9372BYTE access OpRegion, forcing multiple writes and causing the
9373interpreter to write one datum too many.
9374
9375Fields: Fixed a problem with Field/OpRegion access where the
9376starting bit address of a field was incorrectly calculated if the
9377current access type was wider than a byte (WordAcc, DwordAcc, or
9378QwordAcc).
9379
9380Fields: Fixed a problem where forward references to individual
9381FieldUnits (individual Field names within a Field definition) were
9382not resolved during the AML table load.
9383
9384Fields: Fixed a problem where forward references from a Field
9385definition to the parent Operation Region definition were not
9386resolved during the AML table load.
9387
9388Fields: Duplicate FieldUnit names within a scope are now detected
9389during AML table load.
9390
9391Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
9392returned an incorrect name for the root node.
9393
9394Code and Data Size: Code and Data optimizations have permitted new
9395feature development with an actual reduction in the library size.
9396Current core subsystem library sizes are shown below.  These are
9397the code and data sizes for the acpica.lib produced by the
9398Microsoft Visual C++ 6.0 compiler, and these values do not include
9399any ACPI driver or OSPM code.  The debug version of the code
9400includes the debug output trace mechanism and has a larger code
9401and data size.  Note that these values will vary depending on the
9402efficiency of the compiler and the compiler options used during
9403generation.
9404
9405  Previous Release (10_18_01):
9406     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9407     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9408
9409  Current Release:
9410     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9411     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9412
9413 2) Linux:
9414
9415Improved /proc processor output (Pavel Machek) Re-added
9416MODULE_LICENSE("GPL") to all modules.
9417
9418 3) ASL Compiler version X2030:
9419
9420Duplicate FieldUnit names within a scope are now detected and
9421flagged as errors.
9422
9423 4) Documentation:
9424
9425Programmer Reference updated to reflect OSL and address space
9426handler interface changes described above.
9427
9428----------------------------------------
9429Summary of changes for this label: 10_18_01
9430
9431ACPI CA Core Subsystem:
9432
9433Fixed a problem with the internal object reference count mechanism
9434that occasionally caused premature object deletion. This resolves
9435all of the outstanding problem reports where an object is deleted
9436in the middle of an interpreter evaluation.  Although this problem
9437only showed up in rather obscure cases, the solution to the
9438problem involved an adjustment of all reference counts involving
9439objects attached to namespace nodes.
9440
9441Fixed a problem with Field support in the interpreter where
9442writing to an aligned field whose length is an exact multiple (2
9443or greater) of the field access granularity would cause an attempt
9444to write beyond the end of the field.
9445
9446The top level AML opcode execution functions within the
9447interpreter have been renamed with a more meaningful and
9448consistent naming convention.  The modules exmonad.c and
9449exdyadic.c were eliminated.  New modules are exoparg1.c,
9450exoparg2.c, exoparg3.c, and exoparg6.c.
9451
9452Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
9453
9454Fixed a problem where the AML debugger was causing some internal
9455objects to not be deleted during subsystem termination.
9456
9457Fixed a problem with the external AcpiEvaluateObject interface
9458where the subsystem would fault if the named object to be
9459evaluated refered to a constant such as Zero, Ones, etc.
9460
9461Fixed a problem with IndexFields and BankFields where the
9462subsystem would fault if the index, data, or bank registers were
9463not defined in the same scope as the field itself.
9464
9465Added printf format string checking for compilers that support
9466this feature.  Corrected more than 50 instances of issues with
9467format specifiers within invocations of ACPI_DEBUG_PRINT
9468throughout the core subsystem code.
9469
9470The ASL "Revision" operator now returns the ACPI support level
9471implemented in the core - the value "2" since the ACPI 2.0 support
9472is more than 50% implemented.
9473
9474Enhanced the output of the AML debugger "dump namespace" command
9475to output in a more human-readable form.
9476
9477Current core subsystem library code sizes are shown below.  These
9478
9479are the code and data sizes for the acpica.lib produced by the
9480Microsoft Visual C++ 6.0 compiler, and these values do not include
9481any ACPI driver or OSPM code.  The debug version of the code
9482includes the full debug trace mechanism -- leading to a much
9483
9484larger code and data size.  Note that these values will vary
9485depending on the efficiency of the compiler and the compiler
9486options used during generation.
9487
9488     Previous Label (09_20_01):
9489     Non-Debug Version:    65K Code,     5K Data,     70K Total
9490     Debug Version:       138K Code,    58K Data,    196K Total
9491
9492     This Label:
9493
9494     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9495     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9496
9497Linux:
9498
9499Implemented a "Bad BIOS Blacklist" to track machines that have
9500known ASL/AML problems.
9501
9502Enhanced the /proc interface for the thermal zone driver and added
9503support for _HOT (the critical suspend trip point).  The 'info'
9504file now includes threshold/policy information, and allows setting
9505of _SCP (cooling preference) and _TZP (polling frequency) values
9506to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
9507frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
9508preference to the passive/quiet mode (if supported by the ASL).
9509
9510Implemented a workaround for a gcc bug that resuted in an OOPs
9511when loading the control method battery driver.
9512
9513 ----------------------------------------
9514Summary of changes for this label: 09_20_01
9515
9516 ACPI CA Core Subsystem:
9517
9518The AcpiEnableEvent and AcpiDisableEvent interfaces have been
9519modified to allow individual GPE levels to be flagged as wake-
9520enabled (i.e., these GPEs are to remain enabled when the platform
9521sleeps.)
9522
9523The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
9524support wake-enabled GPEs.  This means that upon entering the
9525sleep state, all GPEs that are not wake-enabled are disabled.
9526When leaving the sleep state, these GPEs are reenabled.
9527
9528A local double-precision divide/modulo module has been added to
9529enhance portability to OS kernels where a 64-bit math library is
9530not available.  The new module is "utmath.c".
9531
9532Several optimizations have been made to reduce the use of CPU
9533stack.  Originally over 2K, the maximum stack usage is now below
95342K at 1860  bytes (1.82k)
9535
9536Fixed a problem with the AcpiGetFirmwareTable interface where the
9537root table pointer was not mapped into a logical address properly.
9538
9539Fixed a problem where a NULL pointer was being dereferenced in the
9540interpreter code for the ASL Notify operator.
9541
9542Fixed a problem where the use of the ASL Revision operator
9543returned an error. This operator now returns the current version
9544of the ACPI CA core subsystem.
9545
9546Fixed a problem where objects passed as control method parameters
9547to AcpiEvaluateObject were always deleted at method termination.
9548However, these objects may end up being stored into the namespace
9549by the called method.  The object reference count mechanism was
9550applied to these objects instead of a force delete.
9551
9552Fixed a problem where static strings or buffers (contained in the
9553AML code) that are declared as package elements within the ASL
9554code could cause a fault because the interpreter would attempt to
9555delete them.  These objects are now marked with the "static
9556object" flag to prevent any attempt to delete them.
9557
9558Implemented an interpreter optimization to use operands directly
9559from the state object instead of extracting the operands to local
9560variables.  This reduces stack use and code size, and improves
9561performance.
9562
9563The module exxface.c was eliminated as it was an unnecessary extra
9564layer of code.
9565
9566Current core subsystem library code sizes are shown below.  These
9567are the code and data sizes for the acpica.lib produced by the
9568Microsoft Visual C++ 6.0 compiler, and these values do not include
9569any ACPI driver or OSPM code.  The debug version of the code
9570includes the full debug trace mechanism -- leading to a much
9571larger code and data size.  Note that these values will vary
9572depending on the efficiency of the compiler and the compiler
9573options used during generation.
9574
9575  Non-Debug Version:  65K Code,   5K Data,   70K Total
9576(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
9577Total  (Previously 195K)
9578
9579Linux:
9580
9581Support for ACPI 2.0 64-bit integers has been added.   All ACPI
9582Integer objects are now 64 bits wide
9583
9584All Acpi data types and structures are now in lower case.  Only
9585Acpi macros are upper case for differentiation.
9586
9587 Documentation:
9588
9589Changes to the external interfaces as described above.
9590
9591 ----------------------------------------
9592Summary of changes for this label: 08_31_01
9593
9594 ACPI CA Core Subsystem:
9595
9596A bug with interpreter implementation of the ASL Divide operator
9597was found and fixed.  The implicit function return value (not the
9598explicit store operands) was returning the remainder instead of
9599the quotient.  This was a longstanding bug and it fixes several
9600known outstanding issues on various platforms.
9601
9602The ACPI_DEBUG_PRINT and function trace entry/exit macros have
9603been further optimized for size.  There are 700 invocations of the
9604DEBUG_PRINT macro alone, so each optimization reduces the size of
9605the debug version of the subsystem significantly.
9606
9607A stack trace mechanism has been implemented.  The maximum stack
9608usage is about 2K on 32-bit platforms.  The debugger command "stat
9609stack" will display the current maximum stack usage.
9610
9611All public symbols and global variables within the subsystem are
9612now prefixed with the string "Acpi".  This keeps all of the
9613symbols grouped together in a kernel map, and avoids conflicts
9614with other kernel subsystems.
9615
9616Most of the internal fixed lookup tables have been moved into the
9617code segment via the const operator.
9618
9619Several enhancements have been made to the interpreter to both
9620reduce the code size and improve performance.
9621
9622Current core subsystem library code sizes are shown below.  These
9623are the code and data sizes for the acpica.lib produced by the
9624Microsoft Visual C++ 6.0 compiler, and these values do not include
9625any ACPI driver or OSPM code.  The debug version of the code
9626includes the full debug trace mechanism which contains over 700
9627invocations of the DEBUG_PRINT macro, 500 function entry macro
9628invocations, and over 900 function exit macro invocations --
9629leading to a much larger code and data size.  Note that these
9630values will vary depending on the efficiency of the compiler and
9631the compiler options used during generation.
9632
9633        Non-Debug Version:  64K Code,   5K Data,   69K Total
9634Debug Version:     137K Code,  58K Data,  195K Total
9635
9636 Linux:
9637
9638Implemented wbinvd() macro, pending a kernel-wide definition.
9639
9640Fixed /proc/acpi/event to handle poll() and short reads.
9641
9642 ASL Compiler, version X2026:
9643
9644Fixed a problem introduced in the previous label where the AML
9645
9646code emitted for package objects produced packages with zero
9647length.
9648
9649 ----------------------------------------
9650Summary of changes for this label: 08_16_01
9651
9652ACPI CA Core Subsystem:
9653
9654The following ACPI 2.0 ASL operators have been implemented in the
9655AML interpreter (These are already supported by the Intel ASL
9656compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
9657ToBuffer.  Support for 64-bit AML constants is implemented in the
9658AML parser, debugger, and disassembler.
9659
9660The internal memory tracking mechanism (leak detection code) has
9661been upgraded to reduce the memory overhead (a separate tracking
9662block is no longer allocated for each memory allocation), and now
9663supports all of the internal object caches.
9664
9665The data structures and code for the internal object caches have
9666been coelesced and optimized so that there is a single cache and
9667memory list data structure and a single group of functions that
9668implement generic cache management.  This has reduced the code
9669size in both the debug and release versions of the subsystem.
9670
9671The DEBUG_PRINT macro(s) have been optimized for size and replaced
9672by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
9673different, because it generates a single call to an internal
9674function.  This results in a savings of about 90 bytes per
9675invocation, resulting in an overall code and data savings of about
967616% in the debug version of the subsystem.
9677
9678 Linux:
9679
9680Fixed C3 disk corruption problems and re-enabled C3 on supporting
9681machines.
9682
9683Integrated low-level sleep code by Patrick Mochel.
9684
9685Further tweaked source code Linuxization.
9686
9687Other minor fixes.
9688
9689 ASL Compiler:
9690
9691Support for ACPI 2.0 variable length packages is fixed/completed.
9692
9693Fixed a problem where the optional length parameter for the ACPI
96942.0 ToString operator.
9695
9696Fixed multiple extraneous error messages when a syntax error is
9697detected within the declaration line of a control method.
9698
9699 ----------------------------------------
9700Summary of changes for this label: 07_17_01
9701
9702ACPI CA Core Subsystem:
9703
9704Added a new interface named AcpiGetFirmwareTable to obtain any
9705ACPI table via the ACPI signature.  The interface can be called at
9706any time during kernel initialization, even before the kernel
9707virtual memory manager is initialized and paging is enabled.  This
9708allows kernel subsystems to obtain ACPI tables very early, even
9709before the ACPI CA subsystem is initialized.
9710
9711Fixed a problem where Fields defined with the AnyAcc attribute
9712could be resolved to the incorrect address under the following
9713conditions: 1) the field width is larger than 8 bits and 2) the
9714parent operation region is not defined on a DWORD boundary.
9715
9716Fixed a problem where the interpreter is not being locked during
9717namespace initialization (during execution of the _INI control
9718methods), causing an error when an attempt is made to release it
9719later.
9720
9721ACPI 2.0 support in the AML Interpreter has begun and will be
9722ongoing throughout the rest of this year.  In this label, The Mod
9723operator is implemented.
9724
9725Added a new data type to contain full PCI addresses named
9726ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
9727and Function values.
9728
9729 Linux:
9730
9731Enhanced the Linux version of the source code to change most
9732capitalized ACPI type names to lowercase. For example, all
9733instances of ACPI_STATUS are changed to acpi_status.  This will
9734result in a large diff, but the change is strictly cosmetic and
9735aligns the CA code closer to the Linux coding standard.
9736
9737OSL Interfaces:
9738
9739The interfaces to the PCI configuration space have been changed to
9740add the PCI Segment number and to split the single 32-bit combined
9741DeviceFunction field into two 16-bit fields.  This was
9742accomplished by moving the four values that define an address in
9743PCI configuration space (segment, bus, device, and function) to
9744the new ACPI_PCI_ID structure.
9745
9746The changes to the PCI configuration space interfaces led to a
9747reexamination of the complete set of address space access
9748interfaces for PCI, I/O, and Memory.  The previously existing 18
9749interfaces have proven difficult to maintain (any small change
9750must be propagated across at least 6 interfaces) and do not easily
9751allow for future expansion to 64 bits if necessary.  Also, on some
9752systems, it would not be appropriate to demultiplex the access
9753width (8, 16, 32,or 64) before calling the OSL if the
9754corresponding native OS interfaces contain a similar access width
9755parameter.  For these reasons, the 18 address space interfaces
9756have been replaced by these 6 new ones:
9757
9758AcpiOsReadPciConfiguration
9759AcpiOsWritePciConfiguration
9760AcpiOsReadMemory
9761AcpiOsWriteMemory
9762AcpiOsReadPort
9763AcpiOsWritePort
9764
9765Added a new interface named AcpiOsGetRootPointer to allow the OSL
9766to perform the platform and/or OS-specific actions necessary to
9767obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
9768interface will simply call down to the CA core to perform the low-
9769memory search for the table.  On IA-64, the RSDP is obtained from
9770EFI.  Migrating this interface to the OSL allows the CA core to
9771
9772remain OS and platform independent.
9773
9774Added a new interface named AcpiOsSignal to provide a generic
9775"function code and pointer" interface for various miscellaneous
9776signals and notifications that must be made to the host OS.   The
9777first such signals are intended to support the ASL Fatal and
9778Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
9779interface has been obsoleted.
9780
9781The definition of the AcpiFormatException interface has been
9782changed to simplify its use.  The caller no longer must supply a
9783buffer to the call; A pointer to a const string is now returned
9784directly.  This allows the call to be easily used in printf
9785statements, etc. since the caller does not have to manage a local
9786buffer.
9787
9788
9789 ASL Compiler, Version X2025:
9790
9791The ACPI 2.0 Switch/Case/Default operators have been implemented
9792and are fully functional.  They will work with all ACPI 1.0
9793interpreters, since the operators are simply translated to If/Else
9794pairs.
9795
9796The ACPI 2.0 ElseIf operator is implemented and will also work
9797with 1.0 interpreters, for the same reason.
9798
9799Implemented support for ACPI 2.0 variable-length packages.  These
9800packages have a separate opcode, and their size is determined by
9801the interpreter at run-time.
9802
9803Documentation The ACPI CA Programmer Reference has been updated to
9804reflect the new interfaces and changes to existing interfaces.
9805
9806 ------------------------------------------
9807Summary of changes for this label: 06_15_01
9808
9809 ACPI CA Core Subsystem:
9810
9811Fixed a problem where a DWORD-accessed field within a Buffer
9812object would get its byte address inadvertently rounded down to
9813the nearest DWORD.  Buffers are always Byte-accessible.
9814
9815 ASL Compiler, version X2024:
9816
9817Fixed a problem where the Switch() operator would either fault or
9818hang the compiler.  Note however, that the AML code for this ACPI
98192.0 operator is not yet implemented.
9820
9821Compiler uses the new AcpiOsGetTimer interface to obtain compile
9822timings.
9823
9824Implementation of the CreateField operator automatically converts
9825a reference to a named field within a resource descriptor from a
9826byte offset to a bit offset if required.
9827
9828Added some missing named fields from the resource descriptor
9829support. These are the names that are automatically created by the
9830compiler to reference fields within a descriptor.  They are only
9831valid at compile time and are not passed through to the AML
9832interpreter.
9833
9834Resource descriptor named fields are now typed as Integers and
9835subject to compile-time typechecking when used in expressions.
9836
9837 ------------------------------------------
9838Summary of changes for this label: 05_18_01
9839
9840 ACPI CA Core Subsystem:
9841
9842Fixed a couple of problems in the Field support code where bits
9843from adjacent fields could be returned along with the proper field
9844bits. Restructured the field support code to improve performance,
9845readability and maintainability.
9846
9847New DEBUG_PRINTP macro automatically inserts the procedure name
9848into the output, saving hundreds of copies of procedure name
9849strings within the source, shrinking the memory footprint of the
9850debug version of the core subsystem.
9851
9852 Source Code Structure:
9853
9854The source code directory tree was restructured to reflect the
9855current organization of the component architecture.  Some files
9856and directories have been moved and/or renamed.
9857
9858 Linux:
9859
9860Fixed leaking kacpidpc processes.
9861
9862Fixed queueing event data even when /proc/acpi/event is not
9863opened.
9864
9865 ASL Compiler, version X2020:
9866
9867Memory allocation performance enhancement - over 24X compile time
9868improvement on large ASL files.  Parse nodes and namestring
9869buffers are now allocated from a large internal compiler buffer.
9870
9871The temporary .SRC file is deleted unless the "-s" option is
9872specified
9873
9874The "-d" debug output option now sends all output to the .DBG file
9875instead of the console.
9876
9877"External" second parameter is now optional
9878
9879"ElseIf" syntax now properly allows the predicate
9880
9881Last operand to "Load" now recognized as a Target operand
9882
9883Debug object can now be used anywhere as a normal object.
9884
9885ResourceTemplate now returns an object of type BUFFER
9886
9887EISAID now returns an object of type INTEGER
9888
9889"Index" now works with a STRING operand
9890
9891"LoadTable" now accepts optional parameters
9892
9893"ToString" length parameter is now optional
9894
9895"Interrupt (ResourceType," parse error fixed.
9896
9897"Register" with a user-defined region space parse error fixed
9898
9899Escaped backslash at the end of a string ("\\") scan/parse error
9900fixed
9901
9902"Revision" is now an object of type INTEGER.
9903
9904
9905
9906------------------------------------------
9907Summary of changes for this label: 05_02_01
9908
9909Linux:
9910
9911/proc/acpi/event now blocks properly.
9912
9913Removed /proc/sys/acpi. You can still dump your DSDT from
9914/proc/acpi/dsdt.
9915
9916 ACPI CA Core Subsystem:
9917
9918Fixed a problem introduced in the previous label where some of the
9919"small" resource descriptor types were not recognized.
9920
9921Improved error messages for the case where an ASL Field is outside
9922the range of the parent operation region.
9923
9924 ASL Compiler, version X2018:
9925
9926
9927Added error detection for ASL Fields that extend beyond the length
9928of the parent operation region (only if the length of the region
9929is known at compile time.)  This includes fields that have a
9930minimum access width that is smaller than the parent region, and
9931individual field units that are partially or entirely beyond the
9932extent of the parent.
9933
9934
9935
9936------------------------------------------
9937Summary of changes for this label: 04_27_01
9938
9939 ACPI CA Core Subsystem:
9940
9941Fixed a problem where the namespace mutex could be released at the
9942wrong time during execution of AcpiRemoveAddressSpaceHandler.
9943
9944Added optional thread ID output for debug traces, to simplify
9945debugging of multiple threads.  Added context switch notification
9946when the debug code realizes that a different thread is now
9947executing ACPI code.
9948
9949Some additional external data types have been prefixed with the
9950string "ACPI_" for consistency.  This may effect existing code.
9951The data types affected are the external callback typedefs - e.g.,
9952
9953WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
9954
9955 Linux:
9956
9957Fixed an issue with the OSL semaphore implementation where a
9958thread was waking up with an error from receiving a SIGCHLD
9959signal.
9960
9961Linux version of ACPI CA now uses the system C library for string
9962manipulation routines instead of a local implementation.
9963
9964Cleaned up comments and removed TBDs.
9965
9966 ASL Compiler, version X2017:
9967
9968Enhanced error detection and reporting for all file I/O
9969operations.
9970
9971 Documentation:
9972
9973Programmer Reference updated to version 1.06.
9974
9975
9976
9977------------------------------------------
9978Summary of changes for this label: 04_13_01
9979
9980 ACPI CA Core Subsystem:
9981
9982Restructured support for BufferFields and RegionFields.
9983BankFields support is now fully operational.  All known 32-bit
9984limitations on field sizes have been removed.  Both BufferFields
9985and (Operation) RegionFields are now supported by the same field
9986management code.
9987
9988Resource support now supports QWORD address and IO resources. The
998916/32/64 bit address structures and the Extended IRQ structure
9990have been changed to properly handle Source Resource strings.
9991
9992A ThreadId of -1 is now used to indicate a "mutex not acquired"
9993condition internally and must never be returned by AcpiOsThreadId.
9994This reserved value was changed from 0 since Unix systems allow a
9995thread ID of 0.
9996
9997Linux:
9998
9999Driver code reorganized to enhance portability
10000
10001Added a kernel configuration option to control ACPI_DEBUG
10002
10003Fixed the EC driver to honor _GLK.
10004
10005ASL Compiler, version X2016:
10006
10007Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
10008address space was set to 0, not 0x7f as it should be.
10009
10010 ------------------------------------------
10011Summary of changes for this label: 03_13_01
10012
10013 ACPI CA Core Subsystem:
10014
10015During ACPI initialization, the _SB_._INI method is now run if
10016present.
10017
10018Notify handler fix - notifies are deferred until the parent method
10019completes execution.  This fixes the "mutex already acquired"
10020issue seen occasionally.
10021
10022Part of the "implicit conversion" rules in ACPI 2.0 have been
10023found to cause compatibility problems with existing ASL/AML.  The
10024convert "result-to-target-type" implementation has been removed
10025for stores to method Args and Locals.  Source operand conversion
10026is still fully implemented.  Possible changes to ACPI 2.0
10027specification pending.
10028
10029Fix to AcpiRsCalculatePciRoutingTableLength to return correct
10030length.
10031
10032Fix for compiler warnings for 64-bit compiles.
10033
10034 Linux:
10035
10036/proc output aligned for easier parsing.
10037
10038Release-version compile problem fixed.
10039
10040New kernel configuration options documented in Configure.help.
10041
10042IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10043context" message.
10044
10045 OSPM:
10046
10047Power resource driver integrated with bus manager.
10048
10049Fixed kernel fault during active cooling for thermal zones.
10050
10051Source Code:
10052
10053The source code tree has been restructured.
10054
10055
10056
10057------------------------------------------
10058Summary of changes for this label: 03_02_01
10059
10060 Linux OS Services Layer (OSL):
10061
10062Major revision of all Linux-specific code.
10063
10064Modularized all ACPI-specific drivers.
10065
10066Added new thermal zone and power resource drivers.
10067
10068Revamped /proc interface (new functionality is under /proc/acpi).
10069
10070New kernel configuration options.
10071
10072 Linux known issues:
10073
10074New kernel configuration options not documented in Configure.help
10075yet.
10076
10077
10078Module dependencies not currently implemented. If used, they
10079should be loaded in this order: busmgr, power, ec, system,
10080processor, battery, ac_adapter, button, thermal.
10081
10082Modules will not load if CONFIG_MODVERSION is set.
10083
10084IBM 600E - entering S5 may reboot instead of shutting down.
10085
10086IBM 600E - Sleep button may generate "Invalid <NULL> context"
10087message.
10088
10089Some systems may fail with "execution mutex already acquired"
10090message.
10091
10092 ACPI CA Core Subsystem:
10093
10094Added a new OSL Interface, AcpiOsGetThreadId.  This was required
10095for the  deadlock detection code. Defined to return a non-zero, 32-
10096bit thread ID for the currently executing thread.  May be a non-
10097zero constant integer on single-thread systems.
10098
10099Implemented deadlock detection for internal subsystem mutexes.  We
10100may add conditional compilation for this code (debug only) later.
10101
10102ASL/AML Mutex object semantics are now fully supported.  This
10103includes multiple acquires/releases by owner and support for the
10104
10105Mutex SyncLevel parameter.
10106
10107A new "Force Release" mechanism automatically frees all ASL
10108Mutexes that have been acquired but not released when a thread
10109exits the interpreter.  This forces conformance to the ACPI spec
10110("All mutexes must be released when an invocation exits") and
10111prevents deadlocked ASL threads.  This mechanism can be expanded
10112(later) to monitor other resource acquisitions if OEM ASL code
10113continues to misbehave (which it will).
10114
10115Several new ACPI exception codes have been added for the Mutex
10116support.
10117
10118Recursive method calls are now allowed and supported (the ACPI
10119spec does in fact allow recursive method calls.)  The number of
10120recursive calls is subject to the restrictions imposed by the
10121SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10122parameter.
10123
10124Implemented support for the SyncLevel parameter for control
10125methods (ACPI 2.0 feature)
10126
10127Fixed a deadlock problem when multiple threads attempted to use
10128the interpreter.
10129
10130Fixed a problem where the string length of a String package
10131element was not always set in a package returned from
10132AcpiEvaluateObject.
10133
10134Fixed a problem where the length of a String package element was
10135not always included in the length of the overall package returned
10136from AcpiEvaluateObject.
10137
10138Added external interfaces (Acpi*) to the ACPI debug memory
10139manager.  This manager keeps a list of all outstanding
10140allocations, and can therefore detect memory leaks and attempts to
10141free memory blocks more than once. Useful for code such as the
10142power manager, etc.  May not be appropriate for device drivers.
10143Performance with the debug code enabled is slow.
10144
10145The ACPI Global Lock is now an optional hardware element.
10146
10147 ASL Compiler Version X2015:
10148
10149Integrated changes to allow the compiler to be generated on
10150multiple platforms.
10151
10152Linux makefile added to generate the compiler on Linux
10153
10154 Source Code:
10155
10156All platform-specific headers have been moved to their own
10157subdirectory, Include/Platform.
10158
10159New source file added, Interpreter/ammutex.c
10160
10161New header file, Include/acstruct.h
10162
10163 Documentation:
10164
10165The programmer reference has been updated for the following new
10166interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10167
10168 ------------------------------------------
10169Summary of changes for this label: 02_08_01
10170
10171Core ACPI CA Subsystem: Fixed a problem where an error was
10172incorrectly returned if the return resource buffer was larger than
10173the actual data (in the resource interfaces).
10174
10175References to named objects within packages are resolved to the
10176
10177full pathname string before packages are returned directly (via
10178the AcpiEvaluateObject interface) or indirectly via the resource
10179interfaces.
10180
10181Linux OS Services Layer (OSL):
10182
10183Improved /proc battery interface.
10184
10185
10186Added C-state debugging output and other miscellaneous fixes.
10187
10188ASL Compiler Version X2014:
10189
10190All defined method arguments can now be used as local variables,
10191including the ones that are not actually passed in as parameters.
10192The compiler tracks initialization of the arguments and issues an
10193exception if they are used without prior assignment (just like
10194locals).
10195
10196The -o option now specifies a filename prefix that is used for all
10197output files, including the AML output file.  Otherwise, the
10198default behavior is as follows:  1) the AML goes to the file
10199specified in the DSDT.  2) all other output files use the input
10200source filename as the base.
10201
10202 ------------------------------------------
10203Summary of changes for this label: 01_25_01
10204
10205Core ACPI CA Subsystem: Restructured the implementation of object
10206store support within the  interpreter.  This includes support for
10207the Store operator as well  as any ASL operators that include a
10208target operand.
10209
10210Partially implemented support for Implicit Result-to-Target
10211conversion. This is when a result object is converted on the fly
10212to the type of  an existing target object.  Completion of this
10213support is pending  further analysis of the ACPI specification
10214concerning this matter.
10215
10216CPU-specific code has been removed from the subsystem (hardware
10217directory).
10218
10219New Power Management Timer functions added
10220
10221Linux OS Services Layer (OSL): Moved system state transition code
10222to the core, fixed it, and modified  Linux OSL accordingly.
10223
10224Fixed C2 and C3 latency calculations.
10225
10226
10227We no longer use the compilation date for the version message on
10228initialization, but retrieve the version from AcpiGetSystemInfo().
10229
10230Incorporated for fix Sony VAIO machines.
10231
10232Documentation:  The Programmer Reference has been updated and
10233reformatted.
10234
10235
10236ASL Compiler:  Version X2013: Fixed a problem where the line
10237numbering and error reporting could get out  of sync in the
10238presence of multiple include files.
10239
10240 ------------------------------------------
10241Summary of changes for this label: 01_15_01
10242
10243Core ACPI CA Subsystem:
10244
10245Implemented support for type conversions in the execution of the
10246ASL  Concatenate operator (The second operand is converted to
10247match the type  of the first operand before concatenation.)
10248
10249Support for implicit source operand conversion is partially
10250implemented.   The ASL source operand types Integer, Buffer, and
10251String are freely  interchangeable for most ASL operators and are
10252converted by the interpreter  on the fly as required.  Implicit
10253Target operand conversion (where the  result is converted to the
10254target type before storing) is not yet implemented.
10255
10256Support for 32-bit and 64-bit BCD integers is implemented.
10257
10258Problem fixed where a field read on an aligned field could cause a
10259read  past the end of the field.
10260
10261New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
10262does not return a value, but the caller expects one.  (The ASL
10263compiler flags this as a warning.)
10264
10265ASL Compiler:
10266
10267Version X2011:
102681. Static typechecking of all operands is implemented. This
10269prevents the use of invalid objects (such as using a Package where
10270an Integer is required) at compile time instead of at interpreter
10271run-time.
102722. The ASL source line is printed with ALL errors and warnings.
102733. Bug fix for source EOF without final linefeed.
102744. Debug option is split into a parse trace and a namespace trace.
102755. Namespace output option (-n) includes initial values for
10276integers and strings.
102776. Parse-only option added for quick syntax checking.
102787. Compiler checks for duplicate ACPI name declarations
10279
10280Version X2012:
102811. Relaxed typechecking to allow interchangeability between
10282strings, integers, and buffers.  These types are now converted by
10283the interpreter at runtime.
102842. Compiler reports time taken by each internal subsystem in the
10285debug         output file.
10286
10287
10288 ------------------------------------------
10289Summary of changes for this label: 12_14_00
10290
10291ASL Compiler:
10292
10293This is the first official release of the compiler. Since the
10294compiler requires elements of the Core Subsystem, this label
10295synchronizes everything.
10296
10297------------------------------------------
10298Summary of changes for this label: 12_08_00
10299
10300
10301Fixed a problem where named references within the ASL definition
10302of both OperationRegions and CreateXXXFields did not work
10303properly.  The symptom was an AE_AML_OPERAND_TYPE during
10304initialization of the region/field. This is similar (but not
10305related internally) to the problem that was fixed in the last
10306label.
10307
10308Implemented both 32-bit and 64-bit support for the BCD ASL
10309functions ToBCD and FromBCD.
10310
10311Updated all legal headers to include "2000" in the copyright
10312years.
10313
10314 ------------------------------------------
10315Summary of changes for this label: 12_01_00
10316
10317Fixed a problem where method invocations within the ASL definition
10318of both OperationRegions and CreateXXXFields did not work
10319properly.  The symptom was an AE_AML_OPERAND_TYPE during
10320initialization of the region/field:
10321
10322  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
10323[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
10324(0x3005)
10325
10326Fixed a problem where operators with more than one nested
10327subexpression would fail.  The symptoms were varied, by mostly
10328AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
10329problem that has gone unnoticed until now.
10330
10331  Subtract (Add (1,2), Multiply (3,4))
10332
10333Fixed a problem where AcpiGetHandle didn't quite get fixed in the
10334previous build (The prefix part of a relative path was handled
10335incorrectly).
10336
10337Fixed a problem where Operation Region initialization failed if
10338the operation region name was a "namepath" instead of a simple
10339"nameseg". Symptom was an AE_NO_OPERAND error.
10340
10341Fixed a problem where an assignment to a local variable via the
10342indirect RefOf mechanism only worked for the first such
10343assignment.  Subsequent assignments were ignored.
10344
10345 ------------------------------------------
10346Summary of changes for this label: 11_15_00
10347
10348ACPI 2.0 table support with backwards support for ACPI 1.0 and the
103490.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
10350the AML  interpreter does NOT have support for the new 2.0 ASL
10351grammar terms at this time.
10352
10353All ACPI hardware access is via the GAS structures in the ACPI 2.0
10354FADT.
10355
10356All physical memory addresses across all platforms are now 64 bits
10357wide. Logical address width remains dependent on the platform
10358(i.e., "void *").
10359
10360AcpiOsMapMemory interface changed to a 64-bit physical address.
10361
10362The AML interpreter integer size is now 64 bits, as per the ACPI
103632.0 specification.
10364
10365For backwards compatibility with ACPI 1.0, ACPI tables with a
10366revision number less than 2 use 32-bit integers only.
10367
10368Fixed a problem where the evaluation of OpRegion operands did not
10369always resolve them to numbers properly.
10370
10371------------------------------------------
10372Summary of changes for this label: 10_20_00
10373
10374Fix for CBN_._STA issue.  This fix will allow correct access to
10375CBN_ OpRegions when the _STA returns 0x8.
10376
10377Support to convert ACPI constants (Ones, Zeros, One) to actual
10378values before a package object is returned
10379
10380Fix for method call as predicate to if/while construct causing
10381incorrect if/while behavior
10382
10383Fix for Else block package lengths sometimes calculated wrong (if
10384block > 63 bytes)
10385
10386Fix for Processor object length field, was always zero
10387
10388Table load abort if FACP sanity check fails
10389
10390Fix for problem with Scope(name) if name already exists
10391
10392Warning emitted if a named object referenced cannot be found
10393(resolved) during method execution.
10394
10395
10396
10397
10398
10399------------------------------------------
10400Summary of changes for this label: 9_29_00
10401
10402New table initialization interfaces: AcpiInitializeSubsystem no
10403longer has any parameters AcpiFindRootPointer - Find the RSDP (if
10404necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
10405>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
10406AcpiLoadTables
10407
10408Note: These interface changes require changes to all existing OSDs
10409
10410The PCI_Config default address space handler is always installed
10411at the root namespace object.
10412
10413-------------------------------------------
10414Summary of changes for this label: 09_15_00
10415
10416The new initialization architecture is implemented.  New
10417interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
10418AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
10419
10420(Namespace is automatically loaded when a table is loaded)
10421
10422The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1042352 bytes to 32 bytes.  There is usually one of these for every
10424namespace object, so the memory savings is significant.
10425
10426Implemented just-in-time evaluation of the CreateField operators.
10427
10428Bug fixes for IA-64 support have been integrated.
10429
10430Additional code review comments have been implemented
10431
10432The so-called "third pass parse" has been replaced by a final walk
10433through the namespace to initialize all operation regions (address
10434spaces) and fields that have not yet been initialized during the
10435execution of the various _INI and REG methods.
10436
10437New file - namespace/nsinit.c
10438
10439-------------------------------------------
10440Summary of changes for this label: 09_01_00
10441
10442Namespace manager data structures have been reworked to change the
10443primary  object from a table to a single object.  This has
10444resulted in dynamic memory  savings of 3X within the namespace and
104452X overall in the ACPI CA subsystem.
10446
10447Fixed problem where the call to AcpiEvFindPciRootBuses was
10448inadvertently left  commented out.
10449
10450Reduced the warning count when generating the source with the GCC
10451compiler.
10452
10453Revision numbers added to each module header showing the
10454SourceSafe version of the file.  Please refer to this version
10455number when giving us feedback or comments on individual modules.
10456
10457The main object types within the subsystem have been renamed to
10458clarify their  purpose:
10459
10460ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
10461ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
10462ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
10463
10464NOTE: no changes to the initialization sequence are included in
10465this label.
10466
10467-------------------------------------------
10468Summary of changes for this label: 08_23_00
10469
10470Fixed problem where TerminateControlMethod was being called
10471multiple times per  method
10472
10473Fixed debugger problem where single stepping caused a semaphore to
10474be  oversignalled
10475
10476Improved performance through additional parse object caching -
10477added  ACPI_EXTENDED_OP type
10478
10479-------------------------------------------
10480Summary of changes for this label: 08_10_00
10481
10482Parser/Interpreter integration:  Eliminated the creation of
10483complete parse trees  for ACPI tables and control methods.
10484Instead, parse subtrees are created and  then deleted as soon as
10485they are processed (Either entered into the namespace or  executed
10486by the interpreter).  This reduces the use of dynamic kernel
10487memory  significantly. (about 10X)
10488
10489Exception codes broken into classes and renumbered.  Be sure to
10490recompile all  code that includes acexcep.h.  Hopefully we won't
10491have to renumber the codes  again now that they are split into
10492classes (environment, programmer, AML code,  ACPI table, and
10493internal).
10494
10495Fixed some additional alignment issues in the Resource Manager
10496subcomponent
10497
10498Implemented semaphore tracking in the AcpiExec utility, and fixed
10499several places  where mutexes/semaphores were being unlocked
10500without a corresponding lock  operation.  There are no known
10501semaphore or mutex "leaks" at this time.
10502
10503Fixed the case where an ASL Return operator is used to return an
10504unnamed  package.
10505
10506-------------------------------------------
10507Summary of changes for this label: 07_28_00
10508
10509Fixed a problem with the way addresses were calculated in
10510AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
10511manifested itself when a Field was  created with WordAccess or
10512DwordAccess, but the field unit defined within the  Field was less
10513
10514than a Word or Dword.
10515
10516Fixed a problem in AmlDumpOperands() module's loop to pull
10517operands off of the  operand stack to display information. The
10518problem manifested itself as a TLB  error on 64-bit systems when
10519accessing an operand stack with two or more  operands.
10520
10521Fixed a problem with the PCI configuration space handlers where
10522context was  getting confused between accesses. This required a
10523change to the generic address  space handler and address space
10524setup definitions. Handlers now get both a  global handler context
10525(this is the one passed in by the user when executing
10526AcpiInstallAddressSpaceHandler() and a specific region context
10527that is unique to  each region (For example, the _ADR, _SEG and
10528_BBN values associated with a  specific region). The generic
10529function definitions have changed to the  following:
10530
10531typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
10532UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
10533*HandlerContext, // This used to be void *Context void
10534*RegionContext); // This is an additional parameter
10535
10536typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
10537RegionHandle, UINT32 Function, void *HandlerContext,  void
10538**RegionContext); // This used to be **ReturnContext
10539
10540-------------------------------------------
10541Summary of changes for this label: 07_21_00
10542
10543Major file consolidation and rename.  All files within the
10544interpreter have been  renamed as well as most header files.  This
10545was done to prevent collisions with  existing files in the host
10546OSs -- filenames such as "config.h" and "global.h"  seem to be
10547quite common.  The VC project files have been updated.  All
10548makefiles  will require modification.
10549
10550The parser/interpreter integration continues in Phase 5 with the
10551implementation  of a complete 2-pass parse (the AML is parsed
10552twice) for each table;  This  avoids the construction of a huge
10553parse tree and therefore reduces the amount of  dynamic memory
10554required by the subsystem.  Greater use of the parse object cache
10555means that performance is unaffected.
10556
10557Many comments from the two code reviews have been rolled in.
10558
10559The 64-bit alignment support is complete.
10560
10561-------------------------------------------
10562Summary of changes for this label: 06_30_00
10563
10564With a nod and a tip of the hat to the technology of yesteryear,
10565we've added  support in the source code for 80 column output
10566devices.  The code is now mostly  constrained to 80 columns or
10567less to support environments and editors that 1)  cannot display
10568or print more than 80 characters on a single line, and 2) cannot
10569disable line wrapping.
10570
10571A major restructuring of the namespace data structure has been
10572completed.  The  result is 1) cleaner and more
10573understandable/maintainable code, and 2) a  significant reduction
10574in the dynamic memory requirement for each named ACPI  object
10575(almost half).
10576
10577-------------------------------------------
10578Summary of changes for this label: 06_23_00
10579
10580Linux support has been added.  In order to obtain approval to get
10581the ACPI CA  subsystem into the Linux kernel, we've had to make
10582quite a few changes to the  base subsystem that will affect all
10583users (all the changes are generic and OS- independent).  The
10584effects of these global changes have been somewhat far  reaching.
10585Files have been merged and/or renamed and interfaces have been
10586renamed.   The major changes are described below.
10587
10588Osd* interfaces renamed to AcpiOs* to eliminate namespace
10589pollution/confusion  within our target kernels.  All OSD
10590interfaces must be modified to match the new  naming convention.
10591
10592Files merged across the subsystem.  A number of the smaller source
10593and header  files have been merged to reduce the file count and
10594increase the density of the  existing files.  There are too many
10595to list here.  In general, makefiles that  call out individual
10596files will require rebuilding.
10597
10598Interpreter files renamed.  All interpreter files now have the
10599prefix am*  instead of ie* and is*.
10600
10601Header files renamed:  The acapi.h file is now acpixf.h.  The
10602acpiosd.h file is  now acpiosxf.h.  We are removing references to
10603the acronym "API" since it is  somewhat windowsy. The new name is
10604"external interface" or xface or xf in the  filenames.j
10605
10606
10607All manifest constants have been forced to upper case (some were
10608mixed case.)   Also, the string "ACPI_" has been prepended to many
10609(not all) of the constants,  typedefs, and structs.
10610
10611The globals "DebugLevel" and "DebugLayer" have been renamed
10612"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
10613
10614All other globals within the subsystem are now prefixed with
10615"AcpiGbl_" Internal procedures within the subsystem are now
10616prefixed with "Acpi" (with only  a few exceptions).  The original
10617two-letter abbreviation for the subcomponent  remains after "Acpi"
10618- for example, CmCallocate became AcpiCmCallocate.
10619
10620Added a source code translation/conversion utility.  Used to
10621generate the Linux  source code, it can be modified to generate
10622other types of source as well. Can  also be used to cleanup
10623existing source by removing extraneous spaces and blank  lines.
10624Found in tools/acpisrc/*
10625
10626OsdUnMapMemory was renamed to OsdUnmapMemory and then
10627AcpiOsUnmapMemory.  (UnMap  became Unmap).
10628
10629A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
10630When set to  one, this indicates that the caller wants to use the
10631
10632semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
10633both types.  However, implementers of this  call may want to use
10634different OS primitives depending on the type of semaphore
10635requested.  For example, some operating systems provide separate
10636
10637"mutex" and  "semaphore" interfaces - where the mutex interface is
10638much faster because it  doesn't have all the overhead of a full
10639semaphore implementation.
10640
10641Fixed a deadlock problem where a method that accesses the PCI
10642address space can  block forever if it is the first access to the
10643space.
10644
10645-------------------------------------------
10646Summary of changes for this label: 06_02_00
10647
10648Support for environments that cannot handle unaligned data
10649accesses (e.g.  firmware and OS environments devoid of alignment
10650handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
10651been added (via configurable macros) in  these three areas: -
10652Transfer of data from the raw AML byte stream is done via byte
10653moves instead of    word/dword/qword moves. - External objects are
10654aligned within the user buffer, including package   elements (sub-
10655objects). - Conversion of name strings to UINT32 Acpi Names is now
10656done byte-wise.
10657
10658The Store operator was modified to mimic Microsoft's
10659implementation when storing  to a Buffer Field.
10660
10661Added a check of the BM_STS bit before entering C3.
10662
10663The methods subdirectory has been obsoleted and removed.  A new
10664file, cmeval.c  subsumes the functionality.
10665
10666A 16-bit (DOS) version of AcpiExec has been developed.  The
10667makefile is under  the acpiexec directory.
10668