changes.txt revision 229989
1----------------------------------------
211 January 2012. Summary of changes for version 20120111:
3
4This release is available at www.acpica.org/downloads.
5The ACPI 5.0 specification is available at www.acpi.info.
6
71) ACPICA Core Subsystem:
8
9Implemented a new mechanism to allow host device drivers to check for address 
10range conflicts with ACPI Operation Regions. Both SystemMemory and SystemIO 
11address spaces are supported. A new external interface, AcpiCheckAddressRange, 
12allows drivers to check an address range against the ACPI namespace. See the 
13ACPICA reference for additional details. Adds one new file, 
14utilities/utaddress.c. Lin Ming, Bob Moore.
15
16Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control and 
17Status registers, update the ACPI 5.0 flags, and update internal data 
18structures to handle an FADT larger than 256 bytes. The size of the ACPI 5.0 
19FADT is 268 bytes.
20
21Updated all ACPICA copyrights and signons to 2012. Added the 2012 copyright to 
22all module headers and signons, including the standard Linux header. This 
23affects virtually every file in the ACPICA core subsystem, iASL compiler, and 
24all ACPICA utilities.
25
26Example Code and Data Size: These are the sizes for the OS-independent 
27acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
28version of the code includes the debug output trace mechanism and has a much 
29larger code and data size.
30
31  Previous Release:
32    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
33    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
34  Current Release:
35    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
36    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
37
38
392) iASL Compiler/Disassembler and Tools:
40
41Disassembler: fixed a problem with the automatic resource tag generation 
42support. Fixes a problem where the resource tags are inadvertently not 
43constructed if the table being disassembled contains external references to 
44control methods. Moved the actual construction of the tags to after the final 
45namespace is constructed (after 2nd parse is invoked due to external control 
46method references.) ACPICA BZ 941.
47
48Table Compiler: Make all "generic" operators caseless. These are the operators 
49like UINT8, String, etc. Making these caseless improves ease-of-use. ACPICA BZ 
50934.
51
52----------------------------------------
5323 November 2011. Summary of changes for version 20111123:
54
550) ACPI 5.0 Support:
56
57This release contains full support for the ACPI 5.0 specification, as 
58summarized below.
59
60Reduced Hardware Support:
61-------------------------
62
63This support allows for ACPI systems without the usual ACPI hardware. This 
64support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA will 
65not attempt to initialize or use any of the usual ACPI hardware. Note, when 
66this flag is set, all of the following ACPI hardware is assumed to be not 
67present and is not initialized or accessed:
68
69    General Purpose Events (GPEs)
70    Fixed Events (PM1a/PM1b and PM Control)
71    Power Management Timer and Console Buttons (power/sleep)
72    Real-time Clock Alarm
73    Global Lock
74    System Control Interrupt (SCI)
75    The FACS is assumed to be non-existent
76
77ACPI Tables:
78------------
79
80All new tables and updates to existing tables are fully supported in the 
81ACPICA headers (for use by device drivers), the disassembler, and the iASL 
82Data Table Compiler. ACPI 5.0 defines these new tables:
83
84    BGRT        /* Boot Graphics Resource Table */
85    DRTM        /* Dynamic Root of Trust for Measurement table */
86    FPDT        /* Firmware Performance Data Table */
87    GTDT        /* Generic Timer Description Table */
88    MPST        /* Memory Power State Table */
89    PCCT        /* Platform Communications Channel Table */
90    PMTT        /* Platform Memory Topology Table */
91    RASF        /* RAS Feature table */
92
93Operation Regions/SpaceIDs:
94---------------------------
95
96All new operation regions are fully supported by the iASL compiler, the 
97disassembler, and the ACPICA runtime code (for dispatch to region handlers.) 
98The new operation region Space IDs are:
99
100    GeneralPurposeIo
101    GenericSerialBus
102
103Resource Descriptors:
104---------------------
105
106All new ASL resource descriptors are fully supported by the iASL compiler, the 
107ASL/AML disassembler, and the ACPICA runtime Resource Manager code (including 
108all new predefined resource tags). New descriptors are:
109
110    FixedDma
111    GpioIo
112    GpioInt
113    I2cSerialBus
114    SpiSerialBus
115    UartSerialBus
116
117ASL/AML Operators, New and Modified:
118------------------------------------
119
120One new operator is added, the Connection operator, which is used to associate 
121a GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
122field objects within an operation region. Several new protocols are associated 
123with the AccessAs operator. All are fully supported by the iASL compiler, 
124disassembler, and runtime ACPICA AML interpreter:
125
126    Connection                      // Declare Field Connection attributes
127    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
128    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
129    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
130    RawDataBuffer                       // Data type for Vendor Data fields
131
132Predefined ASL/AML Objects:
133---------------------------
134
135All new predefined objects/control-methods are supported by the iASL compiler 
136and the ACPICA runtime validation/repair (arguments and return values.) New 
137predefined names include the following:
138
139Standard Predefined Names (Objects or Control Methods):
140    _AEI, _CLS, _CPC, _CWS, _DEP,
141    _DLM, _EVT, _GCP, _CRT, _GWS,
142    _HRV, _PRE, _PSE, _SRT, _SUB.
143
144Resource Tags (Names used to access individual fields within resource 
145descriptors):
146    _DBT, _DPL, _DRS, _END, _FLC,
147    _IOR, _LIN, _MOD, _PAR, _PHA,
148    _PIN, _PPI, _POL, _RXL, _SLV,
149    _SPE, _STB, _TXL, _VEN.
150
151ACPICA External Interfaces:
152---------------------------
153
154Several new interfaces have been defined for use by ACPI-related device 
155drivers and other host OS services:
156
157AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS to 
158acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
159provided by the BIOS. They are intended to be used in conjunction with the 
160ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
161mutual exclusion with the AML code/interpreter.
162
163AcpiGetEventResources: Returns the (formatted) resource descriptors as defined 
164by the ACPI 5.0 _AEI object (ACPI Event Information).  This object provides 
165resource descriptors associated with hardware-reduced platform events, similar 
166to the AcpiGetCurrentResources interface.
167
168Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
169operation regions, information about the Connection() object and any optional 
170length information is passed to the region handler within the Context 
171parameter.
172
173AcpiBufferToResource: This interface converts a raw AML buffer containing a 
174resource template or resource descriptor to the ACPI_RESOURCE internal format 
175suitable for use by device drivers. Can be used by an operation region handler 
176to convert the Connection() buffer object into a ACPI_RESOURCE.
177
178Miscellaneous/Tools/TestSuites: 
179-------------------------------
180
181Support for extended _HID names (Four alpha characters instead of three).
182Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
183Support for ACPI 5.0 features in the ASLTS test suite.
184Fully updated documentation (ACPICA and iASL reference documents.)
185
186ACPI Table Definition Language:
187-------------------------------
188
189Support for this language was implemented and released as a subsystem of the 
190iASL compiler in 2010. (See the iASL compiler User Guide.)
191
192
193Non-ACPI 5.0 changes for this release:
194--------------------------------------
195
1961) ACPICA Core Subsystem:
197
198Fix a problem with operation region declarations where a failure can occur if 
199the region name and an argument that evaluates to an object (such as the 
200region address) are in different namespace scopes. Lin Ming, ACPICA BZ 937.
201
202Do not abort an ACPI table load if an invalid space ID is found within. This 
203will be caught later if the offending method is executed. ACPICA BZ 925.
204
205Fixed an issue with the FFixedHW space ID where the ID was not always 
206recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
207
208Fixed a problem with the 32-bit generation of the unix-specific OSL 
209(osunixxf.c). Lin Ming, ACPICA BZ 936.
210
211Several changes made to enable generation with the GCC 4.6 compiler. ACPICA BZ 
212935.
213
214New error messages: Unsupported I/O requests (not 8/16/32 bit), and Index/Bank 
215field registers out-of-range.
216
2172) iASL Compiler/Disassembler and Tools:
218
219iASL: Implemented the __PATH__ operator, which returns the full pathname of 
220the current source file.
221
222AcpiHelp: Automatically display expanded keyword information for all ASL 
223operators.
224
225Debugger: Add "Template" command to disassemble/dump resource template 
226buffers.
227
228Added a new master script to generate and execute the ASLTS test suite. 
229Automatically handles 32- and 64-bit generation. See tests/aslts.sh
230
231iASL: Fix problem with listing generation during processing of the Switch() 
232operator where AML listing was disabled until the entire Switch block was 
233completed.
234
235iASL: Improve support for semicolon statement terminators. Fix "invalid 
236character" message for some cases when the semicolon is used. Semicolons are 
237now allowed after every <Term> grammar element. ACPICA BZ 927.
238
239iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 923.
240
241Disassembler: Fix problem with disassembly of the DataTableRegion operator 
242where an inadvertent "Unhandled deferred opcode" message could be generated.
243
2443) Example Code and Data Size
245
246These are the sizes for the OS-independent acpica.lib produced by the 
247Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
248includes the debug output trace mechanism and has a much larger code and data 
249size.
250
251  Previous Release:
252    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
253    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
254  Current Release:
255    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
256    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
257
258----------------------------------------
25922 September 2011. Summary of changes for version 20110922:
260
2610) ACPI 5.0 News:
262
263Support for ACPI 5.0 in ACPICA has been underway for several months and will 
264be released at the same time that ACPI 5.0 is officially released.
265
266The ACPI 5.0 specification is on track for release in the next few months.
267 
2681) ACPICA Core Subsystem:
269
270Fixed a problem where the maximum sleep time for the Sleep() operator was 
271intended to be limited to two seconds, but was inadvertently limited to 20 
272seconds instead.
273
274Linux and Unix makefiles: Added header file dependencies to ensure correct 
275generation of ACPICA core code and utilities. Also simplified the makefiles 
276considerably through the use of the vpath variable to specify search paths. 
277ACPICA BZ 924.
278
2792) iASL Compiler/Disassembler and Tools:
280
281iASL: Implemented support to check the access length for all fields created to 
282access named Resource Descriptor fields. For example, if a resource field is 
283defined to be two bits, a warning is issued if a CreateXxxxField() is used 
284with an incorrect bit length. This is implemented for all current resource 
285descriptor names. ACPICA BZ 930.
286  
287Disassembler: Fixed a byte ordering problem with the output of 24-bit and 56-
288bit integers.
289
290iASL: Fixed a couple of issues associated with variable-length package 
291objects. 1) properly handle constants like One, Ones, Zero -- do not make a 
292VAR_PACKAGE when these are used as a package length. 2) Allow the VAR_PACKAGE 
293opcode (in addition to PACKAGE) when validating object types for predefined 
294names.
295
296iASL: Emit statistics for all output files (instead of just the ASL input and 
297AML output). Includes listings, hex files, etc.
298
299iASL: Added -G option to the table compiler to allow the compilation of custom 
300ACPI tables. The only part of a table that is required is the standard 36-byte 
301ACPI header.
302
303AcpiXtract: Ported to the standard ACPICA environment (with ACPICA headers), 
304which also adds correct 64-bit support. Also, now all output filenames are 
305completely lower case.
306
307AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
308loading table files. A warning is issued for any such tables. The only 
309exception is an FADT. This also fixes a possible fault when attempting to load 
310non-AML tables. ACPICA BZ 932.
311
312AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
313missing table terminator could cause a fault when using the -p option.
314
315AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
316statistics.
317
3183) Example Code and Data Size
319
320These are the sizes for the OS-independent acpica.lib produced by the 
321Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
322includes the debug output trace mechanism and has a much larger code and data 
323size.
324
325  Previous Release (VC 9.0):
326    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
327    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
328  Current Release (VC 9.0):
329    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
330    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
331
332
333----------------------------------------
33423 June 2011. Summary of changes for version 20110623:
335
3361) ACPI CA Core Subsystem:
337
338Updated the predefined name repair mechanism to not attempt repair of a _TSS 
339return object if a _PSS object is present. We can only sort the _TSS return 
340package if there is no _PSS within the same scope. This is because if _PSS is 
341present, the ACPI specification dictates that the _TSS Power Dissipation field 
342is to be ignored, and therefore some BIOSs leave garbage values in the _TSS 
343Power field(s). In this case, it is best to just return the _TSS package as-
344is. Reported by, and fixed with assistance from Fenghua Yu.
345
346Added an option to globally disable the control method return value validation 
347and repair. This runtime option can be used to disable return value repair if 
348this is causing a problem on a particular machine. Also added an option to 
349AcpiExec (-dr) to set this disable flag.
350
351All makefiles and project files: Major changes to improve generation of ACPICA 
352tools. ACPICA BZ 912:
353    Reduce default optimization levels to improve compatibility
354    For Linux, add strict-aliasing=0 for gcc 4
355    Cleanup and simplify use of command line defines
356    Cleanup multithread library support
357    Improve usage messages
358
359Linux-specific header: update handling of THREAD_ID and pthread. For the 32-
360bit case, improve casting to eliminate possible warnings, especially with the 
361acpica tools.
362
363Example Code and Data Size: These are the sizes for the OS-independent 
364acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
365version of the code includes the debug output trace mechanism and has a much 
366larger code and data size.
367
368  Previous Release (VC 9.0):
369    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
370    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
371  Current Release (VC 9.0):
372    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
373    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
374
3752) iASL Compiler/Disassembler and Tools:
376
377With this release, a new utility named "acpihelp" has been added to the ACPICA 
378package. This utility summarizes the ACPI specification chapters for the ASL 
379and AML languages. It generates under Linux/Unix as well as Windows, and 
380provides the following functionality:
381    Find/display ASL operator(s) -- with description and syntax.
382    Find/display ASL keyword(s) -- with exact spelling and descriptions.
383    Find/display ACPI predefined name(s) -- with description, number
384        of arguments, and the return value data type.
385    Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
386    Decode/display AML opcode -- with opcode name, arguments, and grammar.
387
388Service Layers: Make multi-thread support configurable. Conditionally compile 
389the multi-thread support so that threading libraries will not be linked if not 
390necessary. The only tool that requires multi-thread support is AcpiExec.
391
392iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of 
393Bison appear to want the interface to yyerror to be a const char * (or at 
394least this is a problem when generating iASL on some systems.) ACPICA BZ 923 
395Pierre Lejeune.
396
397Tools: Fix for systems where O_BINARY is not defined. Only used for Windows 
398versions of the tools.
399
400----------------------------------------
40127 May 2011. Summary of changes for version 20110527:
402
4031) ACPI CA Core Subsystem:
404
405ASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
406signature. Now, only allow SSDT, OEMx, and a null signature. History:
407    1) Originally, we checked the table signature for "SSDT" or "PSDT".
408       (PSDT is now obsolete.)
409    2) We added support for OEMx tables, signature "OEM" plus a fourth
410       "don't care" character.
411    3) Valid tables were encountered with a null signature, so we just
412       gave up on validating the signature, (05/2008).
413    4) We encountered non-AML tables such as the MADT, which caused
414       interpreter errors and kernel faults. So now, we once again allow
415       only SSDT, OEMx, and now, also a null signature. (05/2011).
416
417Added the missing _TDL predefined name to the global name list in order to 
418enable validation. Affects both the core ACPICA code and the iASL compiler.
419
420Example Code and Data Size: These are the sizes for the OS-independent 
421acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
422version of the code includes the debug output trace mechanism and has a much 
423larger code and data size.
424
425  Previous Release (VC 9.0):
426    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
427    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
428  Current Release (VC 9.0):
429    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
430    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
431
4322) iASL Compiler/Disassembler and Tools:
433
434Debugger/AcpiExec: Implemented support for "complex" method arguments on the 
435debugger command line. This adds support beyond simple integers -- including 
436Strings, Buffers, and Packages. Includes support for nested packages. 
437Increased the default command line buffer size to accommodate these arguments. 
438See the ACPICA reference for details and syntax. ACPICA BZ 917.
439 
440Debugger/AcpiExec: Implemented support for "default" method arguments for the 
441Execute/Debug command. Now, the debugger will always invoke a control method 
442with the required number of arguments -- even if the command line specifies 
443none or insufficient arguments. It uses default integer values for any missing 
444arguments. Also fixes a bug where only six method arguments maximum were 
445supported instead of the required seven.
446
447Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
448also return status in order to prevent buffer overruns. See the ACPICA 
449reference for details and syntax. ACPICA BZ 921
450
451iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
452makefiles to simplify support for the two different but similar parser 
453generators, bison and yacc.
454
455Updated the generic unix makefile for gcc 4. The default gcc version is now 
456expected to be 4 or greater, since options specific to gcc 4 are used.
457
458----------------------------------------
45913 April 2011. Summary of changes for version 20110413:
460
4611) ACPI CA Core Subsystem:
462
463Implemented support to execute a so-called "orphan" _REG method under the EC 
464device. This change will force the execution of a _REG method underneath the 
465EC 
466device even if there is no corresponding operation region of type 
467EmbeddedControl. Fixes a problem seen on some machines and apparently is 
468compatible with Windows behavior. ACPICA BZ 875.
469
470Added more predefined methods that are eligible for automatic NULL package 
471element removal. This change adds another group of predefined names to the 
472list 
473of names that can be repaired by having NULL package elements dynamically 
474removed. This group are those methods that return a single variable-length 
475package containing simple data types such as integers, buffers, strings. This 
476includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL, 
477_Sx, 
478and _TZD. ACPICA BZ 914.
479
480Split and segregated all internal global lock functions to a new file, 
481evglock.c.
482
483Updated internal address SpaceID for DataTable regions. Moved this internal 
484space 
485id in preparation for ACPI 5.0 changes that will include some new space IDs. 
486This 
487change should not affect user/host code.
488
489Example Code and Data Size: These are the sizes for the OS-independent 
490acpica.lib 
491produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
492the code includes the debug output trace mechanism and has a much larger code 
493and 
494data size.
495
496  Previous Release (VC 9.0):
497    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
498    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
499  Current Release (VC 9.0):
500    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
501    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
502
5032) iASL Compiler/Disassembler and Tools:
504
505iASL/DTC: Major update for new grammar features. Allow generic data types in 
506custom ACPI tables. Field names are now optional. Any line can be split to 
507multiple lines using the continuation char (\). Large buffers now use line-
508continuation character(s) and no colon on the continuation lines. See the 
509grammar 
510update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
511
512iASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements. 
513Since the parser stuffs a "zero" as the return value for these statements (due 
514to 
515the underlying AML grammar), they were seen as "return with value" by the iASL 
516semantic checking. They are now seen correctly as "null" return statements.
517
518iASL: Check if a_REG declaration has a corresponding Operation Region. Adds a 
519check for each _REG to ensure that there is in fact a corresponding operation 
520region declaration in the same scope. If not, the _REG method is not very 
521useful 
522since it probably won't be executed. ACPICA BZ 915.
523
524iASL/DTC: Finish support for expression evaluation. Added a new expression 
525parser 
526that implements c-style operator precedence and parenthesization. ACPICA 
527bugzilla 
528908.
529
530Disassembler/DTC: Remove support for () and <> style comments in data tables. 
531Now 
532that DTC has full expression support, we don't want to have comment strings 
533that 
534start with a parentheses or a less-than symbol. Now, only the standard /* and 
535// 
536comments are supported, as well as the bracket [] comments.
537
538AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
539"unusual" 
540headers in the acpidump file. Update the header validation to support these 
541tables. Problem introduced in previous AcpiXtract version in the change to 
542support "wrong checksum" error messages emitted by acpidump utility.
543
544iASL: Add a * option to generate all template files (as a synonym for ALL) as 
545in 
546"iasl -T *" or "iasl -T ALL".
547
548iASL/DTC: Do not abort compiler on fatal errors. We do not want to completely 
549abort the compiler on "fatal" errors, simply should abort the current compile. 
550This allows multiple compiles with a single (possibly wildcard) compiler 
551invocation.
552
553----------------------------------------
55416 March 2011. Summary of changes for version 20110316:
555
5561) ACPI CA Core Subsystem:
557
558Fixed a problem caused by a _PRW method appearing at the namespace root scope 
559during the setup of wake GPEs. A fault could occur if a _PRW directly under 
560the 
561root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
562
563Implemented support for "spurious" Global Lock interrupts. On some systems, a 
564global lock interrupt can occur without the pending flag being set. Upon a GL 
565interrupt, we now ensure that a thread is actually waiting for the lock before 
566signaling GL availability. Rafael Wysocki, Bob Moore.
567
568Example Code and Data Size: These are the sizes for the OS-independent 
569acpica.lib 
570produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
571the code includes the debug output trace mechanism and has a much larger code 
572and 
573data size.
574
575  Previous Release (VC 9.0):
576    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
577    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
578  Current Release (VC 9.0):
579    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
580    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
581
5822) iASL Compiler/Disassembler and Tools:
583
584Implemented full support for the "SLIC" ACPI table. Includes support in the 
585header files, disassembler, table compiler, and template generator. Bob Moore, 
586Lin Ming.
587
588AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
589Apparently some or all versions of acpidump will occasionally emit a comment 
590like 
591"Wrong checksum", etc., into the dump file. This was causing problems for 
592AcpiXtract. ACPICA BZ 905.
593
594iASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
595ACPICA BZ 913.
596
597AcpiExec: Update installation of operation region handlers. Install one 
598handler 
599for a user-defined address space. This is used by the ASL test suite (ASLTS).
600
601----------------------------------------
60211 February 2011. Summary of changes for version 20110211:
603
6041) ACPI CA Core Subsystem:
605
606Added a mechanism to defer _REG methods for some early-installed handlers. 
607Most user handlers should be installed before call to AcpiEnableSubsystem. 
608However, Event handlers and region handlers should be installed after 
609AcpiInitializeObjects. Override handlers for the "default" regions should be 
610installed early, however. This change executes all _REG methods for the 
611default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
612chicken/egg issues between them. ACPICA BZ 848.
613
614Implemented an optimization for GPE detection. This optimization will simply 
615ignore GPE registers that contain no enabled GPEs -- there is no need to 
616read the register since this information is available internally. This 
617becomes more important on machines with a large GPE space. ACPICA bugzilla 
618884. Lin Ming. Suggestion from Joe Liu.
619
620Removed all use of the highly unreliable FADT revision field. The revision 
621number in the FADT has been found to be completely unreliable and cannot be 
622trusted. Only the actual table length can be used to infer the version. This 
623change updates the ACPICA core and the disassembler so that both no longer 
624even look at the FADT version and instead depend solely upon the FADT 
625length.
626
627Fix an unresolved name issue for the no-debug and no-error-message source 
628generation cases. The _AcpiModuleName was left undefined in these cases, but 
629it is actually needed as a parameter to some interfaces. Define 
630_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
631
632Split several large files (makefiles and project files updated)
633  utglobal.c   -> utdecode.c
634  dbcomds.c    -> dbmethod.c dbnames.c
635  dsopcode.c   -> dsargs.c dscontrol.c
636  dsload.c     -> dsload2.c
637  aslanalyze.c -> aslbtypes.c aslwalks.c
638
639Example Code and Data Size: These are the sizes for the OS-independent 
640acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
641debug version of the code includes the debug output trace mechanism and has 
642a much larger code and data size.
643
644  Previous Release (VC 9.0):
645    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
646    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
647  Current Release (VC 9.0):
648    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
649    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
650
6512) iASL Compiler/Disassembler and Tools:
652
653iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
654These are useful C-style macros with the standard definitions. ACPICA 
655bugzilla 898.
656
657iASL/DTC: Added support for integer expressions and labels. Support for full 
658expressions for all integer fields in all ACPI tables. Support for labels in 
659"generic" portions of tables such as UEFI. See the iASL reference manual.
660
661Debugger: Added a command to display the status of global handlers. The 
662"handlers" command will display op region, fixed event, and miscellaneous 
663global handlers. installation status -- and for op regions, whether default 
664or user-installed handler will be used.
665
666iASL: Warn if reserved method incorrectly returns a value. Many predefined 
667names are defined such that they do not return a value. If implemented as a 
668method, issue a warning if such a name explicitly returns a value. ACPICA 
669Bugzilla 855.
670
671iASL: Added detection of GPE method name conflicts. Detects a conflict where 
672there are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
673example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
674
675iASL/DTC: Fixed a couple input scanner issues with comments and line 
676numbers. Comment remover could get confused and miss a comment ending. Fixed 
677a problem with line counter maintenance.
678
679iASL/DTC: Reduced the severity of some errors from fatal to error. There is 
680no need to abort on simple errors within a field definition.
681
682Debugger: Simplified the output of the help command. All help output now in 
683a single screen, instead of help subcommands. ACPICA Bugzilla 897.
684
685----------------------------------------
68612 January 2011. Summary of changes for version 20110112:
687
6881) ACPI CA Core Subsystem:
689
690Fixed a race condition between method execution and namespace walks that can 
691possibly cause a fault. The problem was apparently introduced in version 
69220100528 as a result of a performance optimization that reduces the number of 
693namespace walks upon method exit by using the delete_namespace_subtree 
694function instead of the delete_namespace_by_owner function used previously. 
695Bug is a missing namespace lock in the delete_namespace_subtree function. 
696dana.myers@oracle.com
697
698Fixed several issues and a possible fault with the automatic "serialized" 
699method support. History: This support changes a method to "serialized" on the 
700fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
701possibility that it cannot handle reentrancy. This fix repairs a couple of 
702issues seen in the field, especially on machines with many cores:
703
704    1) Delete method children only upon the exit of the last thread,
705       so as to not delete objects out from under other running threads
706      (and possibly causing a fault.)
707    2) Set the "serialized" bit for the method only upon the exit of the
708       Last thread, so as to not cause deadlock when running threads
709       attempt to exit.
710    3) Cleanup the use of the AML "MethodFlags" and internal method flags
711       so that there is no longer any confusion between the two.
712
713    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
714
715Debugger: Now lock the namespace for duration of a namespace dump. Prevents 
716issues if the namespace is changing dynamically underneath the debugger. 
717Especially affects temporary namespace nodes, since the debugger displays 
718these also.
719
720Updated the ordering of include files. The ACPICA headers should appear 
721before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
722any necessary compiler-specific defines, etc. Affects the ACPI-related tools 
723and utilities.
724
725Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
726to all module headers and signons, including the Linux header. This affects 
727virtually every file in the ACPICA core subsystem, iASL compiler, and all 
728utilities.
729
730Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
731project files for VC++ 6.0 are now obsolete. New project files can be found 
732under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
733details.
734
735Example Code and Data Size: These are the sizes for the OS-independent 
736acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
737debug version of the code includes the debug output trace mechanism and has a 
738much larger code and data size.
739
740  Previous Release (VC 6.0):
741    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
742    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
743  Current Release (VC 9.0):
744    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
745    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
746
7472) iASL Compiler/Disassembler and Tools:
748
749iASL: Added generic data types to the Data Table compiler. Add "generic" data 
750types such as UINT32, String, Unicode, etc., to simplify the generation of 
751platform-defined tables such as UEFI. Lin Ming.
752
753iASL: Added listing support for the Data Table Compiler. Adds listing support 
754(-l) to display actual binary output for each line of input code.
755
756----------------------------------------
75709 December 2010. Summary of changes for version 20101209:
758
7591) ACPI CA Core Subsystem:
760
761Completed the major overhaul of the GPE support code that was begun in July 
7622010. Major features include: removal of _PRW execution in ACPICA (host 
763executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
764changes to existing interfaces, simplification of GPE handler operation, and 
765a handful of new interfaces:
766
767    AcpiUpdateAllGpes
768    AcpiFinishGpe
769    AcpiSetupGpeForWake
770    AcpiSetGpeWakeMask
771    One new file, evxfgpe.c to consolidate all external GPE interfaces.
772
773See the ACPICA Programmer Reference for full details and programming 
774information. See the new section 4.4 "General Purpose Event (GPE) Support" 
775for a full overview, and section 8.7 "ACPI General Purpose Event Management" 
776for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
777Bob Moore, Rafael Wysocki.
778
779Implemented a new GPE feature for Windows compatibility, the "Implicit Wake 
780GPE Notify". This feature will automatically issue a Notify(2) on a device 
781when a Wake GPE is received if there is no corresponding GPE method or 
782handler. ACPICA BZ 870.
783
784Fixed a problem with the Scope() operator during table parse and load phase. 
785During load phase (table load or method execution), the scope operator should 
786not enter the target into the namespace. Instead, it should open a new scope 
787at the target location. Linux BZ 19462, ACPICA BZ 882.
788
789Example Code and Data Size: These are the sizes for the OS-independent 
790acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
791debug version of the code includes the debug output trace mechanism and has a 
792much larger code and data size.
793
794  Previous Release:
795    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
796    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
797  Current Release:
798    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
799    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
800
8012) iASL Compiler/Disassembler and Tools:
802
803iASL: Relax the alphanumeric restriction on _CID strings. These strings are 
804"bus-specific" per the ACPI specification, and therefore any characters are 
805acceptable. The only checks that can be performed are for a null string and 
806perhaps for a leading asterisk. ACPICA BZ 886.
807
808iASL: Fixed a problem where a syntax error that caused a premature EOF 
809condition on the source file emitted a very confusing error message. The 
810premature EOF is now detected correctly. ACPICA BZ 891.
811
812Disassembler: Decode the AccessSize within a Generic Address Structure (byte 
813access, word access, etc.) Note, this field does not allow arbitrary bit 
814access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
815
816New: AcpiNames utility - Example namespace dump utility. Shows an example of 
817ACPICA configuration for a minimal namespace dump utility. Uses table and 
818namespace managers, but no AML interpreter. Does not add any functionality 
819over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
820partition and configure ACPICA. ACPICA BZ 883.
821
822AML Debugger: Increased the debugger buffer size for method return objects. 
823Was 4K, increased to 16K. Also enhanced error messages for debugger method 
824execution, including the buffer overflow case.
825
826----------------------------------------
82713 October 2010. Summary of changes for version 20101013:
828
8291) ACPI CA Core Subsystem:
830
831Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
832clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
833HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
834
835Changed the type of the predefined namespace object _TZ from ThermalZone to 
836Device. This was found to be confusing to the host software that processes 
837the various thermal zones, since _TZ is not really a ThermalZone. However, a 
838Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
839Zhang.
840
841Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
842string is "Windows 2006 SP2".
843
844Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
845code automatically repairs _HID-related strings, this type of code is no 
846longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
847
848Example Code and Data Size: These are the sizes for the OS-independent 
849acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
850debug version of the code includes the debug output trace mechanism and has a 
851much larger code and data size.
852
853  Previous Release:
854    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
855    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
856  Current Release:
857    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
858    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
859
8602) iASL Compiler/Disassembler and Tools:
861
862iASL: Implemented additional compile-time validation for _HID strings. The 
863non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
864the string must be exactly seven or eight characters. For both _HID and _CID 
865strings, all characters must be alphanumeric. ACPICA BZ 874.
866
867iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
868descriptors that are mostly or all zeros, with the expectation that they will 
869be filled in at runtime. iASL now allows this as long as there is a "resource 
870tag" (name) associated with the descriptor, which gives the ASL a handle 
871needed to modify the descriptor. ACPICA BZ 873.
872
873Added single-thread support to the generic Unix application OSL. Primarily 
874for iASL support, this change removes the use of semaphores in the single-
875threaded ACPICA tools/applications - increasing performance. The 
876_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
877option. ACPICA BZ 879.
878
879AcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
880for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
881
882iASL: Moved all compiler messages to a new file, aslmessages.h.
883
884----------------------------------------
88515 September 2010. Summary of changes for version 20100915:
886
8871) ACPI CA Core Subsystem:
888
889Removed the AcpiOsDerivePciId OSL interface. The various host implementations 
890of this function were not OS-dependent and are now obsolete and can be 
891removed from all host OSLs. This function has been replaced by 
892AcpiHwDerivePciId, which is now part of the ACPICA core code. 
893AcpiHwDerivePciId has been implemented without recursion. Adds one new 
894module, hwpci.c. ACPICA BZ 857.
895
896Implemented a dynamic repair for _HID and _CID strings. The following 
897problems are now repaired at runtime: 1) Remove a leading asterisk in the 
898string, and 2) the entire string is uppercased. Both repairs are in 
899accordance with the ACPI specification and will simplify host driver code. 
900ACPICA BZ 871.
901
902The ACPI_THREAD_ID type is no longer configurable, internally it is now 
903always UINT64. This simplifies the ACPICA code, especially any printf output. 
904UINT64 is the only common data type for all thread_id types across all 
905operating systems. It is now up to the host OSL to cast the native thread_id 
906type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
907Lin Ming, Bob Moore.
908
909Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
910keyword is not standard across compilers, and this type allows inline to be 
911configured on a per-compiler basis. Lin Ming.
912
913Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
914Added an extern for this boolean in acpixf.h. Some hosts utilize this value 
915during suspend/restore operations. ACPICA BZ 869.
916
917All code that implements error/warning messages with the "ACPI:" prefix has 
918been moved to a new module, utxferror.c.
919
920The UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
921is used. ACPICA BZ 829. Lin Ming, Bob Moore.
922
923Example Code and Data Size: These are the sizes for the OS-independent 
924acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
925debug version of the code includes the debug output trace mechanism and has a 
926much larger code and data size.
927
928  Previous Release:
929    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
930    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
931  Current Release:
932    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
933    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
934
9352) iASL Compiler/Disassembler and Tools:
936
937iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
938This keeps the output files free of random error messages that may originate 
939from within the namespace/interpreter code. Used this opportunity to merge 
940all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
941866. Lin Ming, Bob Moore.
942
943Tools: update some printfs for ansi warnings on size_t. Handle width change 
944of size_t on 32-bit versus 64-bit generations. Lin Ming.
945
946----------------------------------------
94706 August 2010. Summary of changes for version 20100806:
948
9491) ACPI CA Core Subsystem:
950
951Designed and implemented a new host interface to the _OSI support code. This 
952will allow the host to dynamically add or remove multiple _OSI strings, as 
953well as install an optional handler that is called for each _OSI invocation. 
954Also added a new AML debugger command, 'osi' to display and modify the global 
955_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
956reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
957New Functions:
958    AcpiInstallInterface - Add an _OSI string.
959    AcpiRemoveInterface - Delete an _OSI string.
960    AcpiInstallInterfaceHandler - Install optional _OSI handler.
961Obsolete Functions:
962    AcpiOsValidateInterface - no longer used.
963New Files:
964    source/components/utilities/utosi.c
965
966Re-introduced the support to enable multi-byte transfers for Embedded 
967Controller (EC) operation regions. A reported problem was found to be a bug 
968in the host OS, not in the multi-byte support. Previously, the maximum data 
969size passed to the EC operation region handler was a single byte. There are 
970often EC Fields larger than one byte that need to be transferred, and it is 
971useful for the EC driver to lock these as a single transaction. This change 
972enables single transfers larger than 8 bits. This effectively changes the 
973access to the EC space from ByteAcc to AnyAcc, and will probably require 
974changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
975transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
976
977Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
978prototype in acpiosxf.h had the output value pointer as a (void *).
979It should be a (UINT64 *). This may affect some host OSL code.
980
981Fixed a couple problems with the recently modified Linux makefiles for iASL 
982and AcpiExec. These new makefiles place the generated object files in the 
983local directory so that there can be no collisions between the files that are 
984shared between them that are compiled with different options.
985
986Example Code and Data Size: These are the sizes for the OS-independent 
987acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
988debug version of the code includes the debug output trace mechanism and has a 
989much larger code and data size.
990
991  Previous Release:
992    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
993    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
994  Current Release:
995    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
996    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
997
9982) iASL Compiler/Disassembler and Tools:
999
1000iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
1001namespace from and disassemble an entire group of AML files. Useful for 
1002loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
1003disassembling with one simple command. ACPICA BZ 865. Lin Ming.
1004
1005iASL: Allow multiple invocations of -e option. This change allows multiple 
1006uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
1007Lin Ming.
1008
1009----------------------------------------
101002 July 2010. Summary of changes for version 20100702:
1011
10121) ACPI CA Core Subsystem:
1013
1014Implemented several updates to the recently added GPE reference count 
1015support. The model for "wake" GPEs is changing to give the host OS complete 
1016control of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
1017methods, since the host already must execute them. Also, additional changes 
1018were made to help ensure that the reference counts are kept in proper 
1019synchronization with reality. Rafael J. Wysocki.
1020
10211) Ensure that GPEs are not enabled twice during initialization.
10222) Ensure that GPE enable masks stay in sync with the reference count.
10233) Do not inadvertently enable GPEs when writing GPE registers.
10244) Remove the internal wake reference counter and add new AcpiGpeWakeup 
1025interface. This interface will set or clear individual GPEs for wakeup.
10265) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
1027are now used for "runtime" GPEs only.
1028
1029Changed the behavior of the GPE install/remove handler interfaces. The GPE is 
1030no longer disabled during this process, as it was found to cause problems on 
1031some machines. Rafael J. Wysocki.
1032
1033Reverted a change introduced in version 20100528 to enable Embedded 
1034Controller multi-byte transfers. This change was found to cause problems with 
1035Index Fields and possibly Bank Fields. It will be reintroduced when these 
1036problems have been resolved.
1037
1038Fixed a problem with references to Alias objects within Package Objects. A 
1039reference to an Alias within the definition of a Package was not always 
1040resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
1041were resolved to the actual object instead of a reference to the object as it 
1042should be. Package objects are only allowed to contain integer, string, 
1043buffer, package, and reference objects. Redhat bugzilla 608648.
1044
1045Example Code and Data Size: These are the sizes for the OS-independent 
1046acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1047debug version of the code includes the debug output trace mechanism and has a 
1048much larger code and data size.
1049
1050  Previous Release:
1051    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1052    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1053  Current Release:
1054    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1055    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1056
10572) iASL Compiler/Disassembler and Tools:
1058
1059iASL: Implemented a new compiler subsystem to allow definition and 
1060compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
1061are called "ACPI Data Tables", and the new compiler is the "Data Table 
1062Compiler". This compiler is intended to simplify the existing error-prone 
1063process of creating these tables for the BIOS, as well as allowing the 
1064disassembly, modification, recompilation, and override of existing ACPI data 
1065tables. See the iASL User Guide for detailed information.
1066
1067iASL: Implemented a new Template Generator option in support of the new Data 
1068Table Compiler. This option will create examples of all known ACPI tables 
1069that can be used as the basis for table development. See the iASL 
1070documentation and the -T option.
1071
1072Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
1073Descriptor Table).
1074
1075Updated the Linux makefiles for iASL and AcpiExec to place the generated 
1076object files in the local directory so that there can be no collisions 
1077between the shared files between them that are generated with different 
1078options.
1079
1080Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
1081the #define __APPLE__ to enable this support.
1082
1083----------------------------------------
108428 May 2010. Summary of changes for version 20100528:
1085
1086Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
1087available at www.acpi.info. This is primarily an errata release.
1088
10891) ACPI CA Core Subsystem:
1090
1091Undefined ACPI tables: We are looking for the definitions for the following 
1092ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
1093
1094Implemented support to enable multi-byte transfers for Embedded Controller 
1095(EC) operation regions. Previously, the maximum data size passed to the EC 
1096operation region handler was a single byte. There are often EC Fields larger 
1097than one byte that need to be transferred, and it is useful for the EC driver 
1098to lock these as a single transaction. This change enables single transfers 
1099larger than 8 bits. This effectively changes the access to the EC space from 
1100ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
1101Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
1102transfers. Alexey Starikovskiy, Lin Ming
1103
1104Implemented a performance enhancement for namespace search and access. This 
1105change enhances the performance of namespace searches and walks by adding a 
1106backpointer to the parent in each namespace node. On large namespaces, this 
1107change can improve overall ACPI performance by up to 9X. Adding a pointer to 
1108each namespace node increases the overall size of the internal namespace by 
1109about 5%, since each namespace entry usually consists of both a namespace 
1110node and an ACPI operand object. However, this is the first growth of the 
1111namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
1112
1113Implemented a performance optimization that reduces the number of namespace 
1114walks. On control method exit, only walk the namespace if the method is known 
1115to have created namespace objects outside of its local scope. Previously, the 
1116entire namespace was traversed on each control method exit. This change can 
1117improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
1118
1119Added support to truncate I/O addresses to 16 bits for Windows compatibility. 
1120Some ASL code has been seen in the field that inadvertently has bits set 
1121above bit 15. This feature is optional and is enabled if the BIOS requests 
1122any Windows OSI strings. It can also be enabled by the host OS. Matthew 
1123Garrett, Bob Moore.
1124
1125Added support to limit the maximum time for the ASL Sleep() operator. To 
1126prevent accidental deep sleeps, limit the maximum time that Sleep() will 
1127actually sleep. Configurable, the default maximum is two seconds. ACPICA 
1128bugzilla 854.
1129
1130Added run-time validation support for the _WDG and_WED Microsoft predefined 
1131methods. These objects are defined by "Windows Instrumentation", and are not 
1132part of the ACPI spec. ACPICA BZ 860.
1133
1134Expanded all statistic counters used during namespace and device 
1135initialization from 16 to 32 bits in order to support very large namespaces.
1136
1137Replaced all instances of %d in printf format specifiers with %u since nearly 
1138all integers in ACPICA are unsigned.
1139
1140Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
1141as AE_NO_HANDLER.
1142
1143Example Code and Data Size: These are the sizes for the OS-independent 
1144acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1145debug version of the code includes the debug output trace mechanism and has a 
1146much larger code and data size.
1147
1148  Previous Release:
1149    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1150    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1151  Current Release:
1152    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1153    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1154
11552) iASL Compiler/Disassembler and Tools:
1156
1157iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
1158methods. These objects are defined by "Windows Instrumentation", and are not 
1159part of the ACPI spec. ACPICA BZ 860.
1160
1161AcpiExec: added option to disable the memory tracking mechanism. The -dt 
1162option will disable the tracking mechanism, which improves performance 
1163considerably.
1164
1165AcpiExec: Restructured the command line options into -d (disable) and -e 
1166(enable) options.
1167
1168----------------------------------------
116928 April 2010. Summary of changes for version 20100428:
1170
11711) ACPI CA Core Subsystem:
1172
1173Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
1174including FADT-based and GPE Block Devices, execute any _PRW methods in the 
1175new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
1176runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
1177immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
1178Devices. Provides compatibility with other ACPI implementations. Two new 
1179files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
1180
1181Fixed a regression introduced in version 20100331 within the table manager 
1182where initial table loading could fail. This was introduced in the fix for 
1183AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
1184data structures to clarify their meaning and use.
1185
1186Fixed a possible allocation overrun during internal object copy in 
1187AcpiUtCopySimpleObject. The original code did not correctly handle the case 
1188where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
1189
1190Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
1191possible access beyond end-of-allocation. Also, now fully validate descriptor 
1192(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
1193
1194Example Code and Data Size: These are the sizes for the OS-independent 
1195acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1196debug version of the code includes the debug output trace mechanism and has a 
1197much larger code and data size.
1198
1199  Previous Release:
1200    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1201    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1202  Current Release:
1203    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1204    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1205
12062) iASL Compiler/Disassembler and Tools:
1207
1208iASL: Implemented Min/Max/Len/Gran validation for address resource 
1209descriptors. This change implements validation for the address fields that 
1210are common to all address-type resource descriptors. These checks are 
1211implemented: Checks for valid Min/Max, length within the Min/Max window, 
1212valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
1213table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
1214and aslrestype2.c files into five new files. ACPICA BZ 840.
1215
1216iASL: Added support for the _Wxx predefined names. This support was missing 
1217and these names were not recognized by the compiler as valid predefined 
1218names. ACPICA BZ 851.
1219
1220iASL: Added an error for all predefined names that are defined to return no 
1221value and thus must be implemented as Control Methods. These include all of 
1222the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
1223names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
1224
1225iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
1226ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
1227dynamically loaded via the Load() operator. Also cleaned up output for the -
1228ta and -tc options. ACPICA BZ 853.
1229
1230Tests: Added a new file with examples of extended iASL error checking. 
1231Demonstrates the advanced error checking ability of the iASL compiler. 
1232Available at tests/misc/badcode.asl.
1233
1234----------------------------------------
123531 March 2010. Summary of changes for version 20100331:
1236
12371) ACPI CA Core Subsystem:
1238
1239Completed a major update for the GPE support in order to improve support for 
1240shared GPEs and to simplify both host OS and ACPICA code. Added a reference 
1241count mechanism to support shared GPEs that require multiple device drivers. 
1242Several external interfaces have changed. One external interface has been 
1243removed. One new external interface was added. Most of the GPE external 
1244interfaces now use the GPE spinlock instead of the events mutex (and the 
1245Flags parameter for many GPE interfaces has been removed.) See the updated 
1246ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
1247Wysocki. ACPICA BZ 831.
1248
1249Changed:
1250    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
1251Removed:
1252    AcpiSetGpeType
1253New:
1254    AcpiSetGpe
1255
1256Implemented write support for DataTable operation regions. These regions are 
1257defined via the DataTableRegion() operator. Previously, only read support was 
1258implemented. The ACPI specification allows DataTableRegions to be read/write, 
1259however.
1260
1261Implemented a new subsystem option to force a copy of the DSDT to local 
1262memory. Optionally copy the entire DSDT to local memory (instead of simply 
1263mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
1264the original DSDT, creating the need for this option. Default is FALSE, do 
1265not copy the DSDT.
1266
1267Implemented detection of a corrupted or replaced DSDT. This change adds 
1268support to detect a DSDT that has been corrupted and/or replaced from outside 
1269the OS (by firmware). This is typically catastrophic for the system, but has 
1270been seen on some machines. Once this problem has been detected, the DSDT 
1271copy option can be enabled via system configuration. Lin Ming, Bob Moore.
1272
1273Fixed two problems with AcpiReallocateRootTable during the root table copy. 
1274When copying the root table to the new allocation, the length used was 
1275incorrect. The new size was used instead of the current table size, meaning 
1276too much data was copied. Also, the count of available slots for ACPI tables 
1277was not set correctly. Alexey Starikovskiy, Bob Moore.
1278
1279Example Code and Data Size: These are the sizes for the OS-independent 
1280acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1281debug version of the code includes the debug output trace mechanism and has a 
1282much larger code and data size.
1283
1284  Previous Release:
1285    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1286    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1287  Current Release:
1288    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1289    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1290
12912) iASL Compiler/Disassembler and Tools:
1292
1293iASL: Implement limited typechecking for values returned from predefined 
1294control methods. The type of any returned static (unnamed) object is now 
1295validated. For example, Return(1). ACPICA BZ 786.
1296
1297iASL: Fixed a predefined name object verification regression. Fixes a problem 
1298introduced in version 20100304. An error is incorrectly generated if a 
1299predefined name is declared as a static named object with a value defined 
1300using the keywords "Zero", "One", or "Ones". Lin Ming.
1301
1302iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
1303reducing the requested registry access rights. ACPICA BZ 842.
1304
1305Disassembler: fixed a possible fault when generating External() statements. 
1306Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
1307(carat). Fixes a string length allocation calculation. Lin Ming.
1308
1309----------------------------------------
131004 March 2010. Summary of changes for version 20100304:
1311
13121) ACPI CA Core Subsystem:
1313
1314Fixed a possible problem with the AML Mutex handling function 
1315AcpiExReleaseMutex where the function could fault under the very rare 
1316condition when the interpreter has blocked, the interpreter lock is released, 
1317the interpreter is then reentered via the same thread, and attempts to 
1318acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
1319Ming.
1320
1321Implemented additional configuration support for the AML "Debug Object". 
1322Output from the debug object can now be enabled via a global variable, 
1323AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
1324This debug output is now available in the release version of ACPICA instead 
1325of just the debug version. Also, the entire debug output module can now be 
1326configured out of the ACPICA build if desired. One new file added, 
1327executer/exdebug.c. Lin Ming, Bob Moore.
1328
1329Added header support for the ACPI MCHI table (Management Controller Host 
1330Interface Table). This table was added in ACPI 4.0, but the defining document 
1331has only recently become available.
1332
1333Standardized output of integer values for ACPICA warnings/errors. Always use 
13340x prefix for hex output, always use %u for unsigned integer decimal output. 
1335Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
1336invocations.) These invocations were converted from the original 
1337ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
1338
1339Example Code and Data Size: These are the sizes for the OS-independent 
1340acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1341debug version of the code includes the debug output trace mechanism and has a 
1342much larger code and data size.
1343
1344  Previous Release:
1345    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1346    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1347  Current Release:
1348    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1349    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1350
13512) iASL Compiler/Disassembler and Tools:
1352
1353iASL: Implemented typechecking support for static (non-control method) 
1354predefined named objects that are declared with the Name() operator. For 
1355example, the type of this object is now validated to be of type Integer: 
1356Name(_BBN, 1). This change migrates the compiler to using the core predefined 
1357name table instead of maintaining a local version. Added a new file, 
1358aslpredef.c. ACPICA BZ 832.
1359
1360Disassembler: Added support for the ACPI 4.0 MCHI table.
1361
1362----------------------------------------
136321 January 2010. Summary of changes for version 20100121:
1364
13651) ACPI CA Core Subsystem:
1366
1367Added the 2010 copyright to all module headers and signons. This affects 
1368virtually every file in the ACPICA core subsystem, the iASL compiler, the 
1369tools/utilities, and the test suites.
1370
1371Implemented a change to the AcpiGetDevices interface to eliminate unnecessary 
1372invocations of the _STA method. In the case where a specific _HID is 
1373requested, do not run _STA until a _HID match is found. This eliminates 
1374potentially dozens of _STA calls during a search for a particular device/HID, 
1375which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
1376
1377Implemented an additional repair for predefined method return values. Attempt 
1378to repair unexpected NULL elements within returned Package objects. Create an 
1379Integer of value zero, a NULL String, or a zero-length Buffer as appropriate. 
1380ACPICA BZ 818. Lin Ming, Bob Moore.
1381
1382Removed the obsolete ACPI_INTEGER data type. This type was introduced as the 
1383code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
138464-bit AML integers). It is now obsolete and this change removes it from the 
1385ACPICA code base, replaced by UINT64. The original typedef has been retained 
1386for now for compatibility with existing device driver code. ACPICA BZ 824.
1387
1388Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
1389the parse tree object.
1390
1391Added additional warning options for the gcc-4 generation. Updated the source 
1392accordingly. This includes some code restructuring to eliminate unreachable 
1393code, elimination of some gotos, elimination of unused return values, some 
1394additional casting, and removal of redundant declarations.
1395
1396Example Code and Data Size: These are the sizes for the OS-independent 
1397acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1398debug version of the code includes the debug output trace mechanism and has a 
1399much larger code and data size.
1400
1401  Previous Release:
1402    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1403    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1404  Current Release:
1405    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1406    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1407
14082) iASL Compiler/Disassembler and Tools:
1409
1410No functional changes for this release.
1411
1412----------------------------------------
141314 December 2009. Summary of changes for version 20091214:
1414
14151) ACPI CA Core Subsystem:
1416
1417Enhanced automatic data type conversions for predefined name repairs. This 
1418change expands the automatic repairs/conversions for predefined name return 
1419values to make Integers, Strings, and Buffers fully interchangeable. Also, a 
1420Buffer can be converted to a Package of Integers if necessary. The nsrepair.c 
1421module was completely restructured. Lin Ming, Bob Moore.
1422
1423Implemented automatic removal of null package elements during predefined name 
1424repairs. This change will automatically remove embedded and trailing NULL 
1425package elements from returned package objects that are defined to contain a 
1426variable number of sub-packages. The driver is then presented with a package 
1427with no null elements to deal with. ACPICA BZ 819.
1428
1429Implemented a repair for the predefined _FDE and _GTM names. The expected 
1430return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
1431possible problems (both seen in the field), where a package of integers is 
1432returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
1433
1434Implemented additional module-level code support. This change will properly 
1435execute module-level code that is not at the root of the namespace (under a 
1436Device object, etc.). Now executes the code within the current scope instead 
1437of the root. ACPICA BZ 762. Lin Ming.
1438
1439Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
1440problem where mutex errors can occur when running a _REG method that is in 
1441the same scope as a method-defined operation region or an operation region 
1442under a module-level IF block. This type of code is rare, so the problem has 
1443not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1444
1445Fixed a possible memory leak during module-level code execution. An object 
1446could be leaked for each block of executed module-level code if the 
1447interpreter slack mode is enabled This change deletes any implicitly returned 
1448object from the module-level code block. Lin Ming.
1449
1450Removed messages for successful predefined repair(s). The repair mechanism 
1451was considered too wordy. Now, messages are only unconditionally emitted if 
1452the return object cannot be repaired. Existing messages for successful 
1453repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
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 a 
1458much larger code and data size.
1459
1460  Previous Release:
1461    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1462    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1463  Current Release:
1464    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1465    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1466
14672) iASL Compiler/Disassembler and Tools:
1468
1469iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
1470were no longer automatically removed at the termination of the compile.
1471
1472acpiexec: Implemented the -f option to specify default region fill value. 
1473This option specifies the value used to initialize buffers that simulate 
1474operation regions. Default value is zero. Useful for debugging problems that 
1475depend on a specific initial value for a region or field.
1476
1477----------------------------------------
147812 November 2009. Summary of changes for version 20091112:
1479
14801) ACPI CA Core Subsystem:
1481
1482Implemented a post-order callback to AcpiWalkNamespace. The existing 
1483interface only has a pre-order callback. This change adds an additional 
1484parameter for a post-order callback which will be more useful for bus scans. 
1485ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
1486
1487Modified the behavior of the operation region memory mapping cache for 
1488SystemMemory. Ensure that the memory mappings created for operation regions 
1489do not cross 4K page boundaries. Crossing a page boundary while mapping 
1490regions can cause kernel warnings on some hosts if the pages have different 
1491attributes. Such regions are probably BIOS bugs, and this is the workaround. 
1492Linux BZ 14445. Lin Ming.
1493
1494Implemented an automatic repair for predefined methods that must return 
1495sorted lists. This change will repair (by sorting) packages returned by _ALR, 
1496_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
1497and do not contain NULL package elements. Adds one new file, 
1498namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1499
1500Fixed a possible fault during predefined name validation if a return Package 
1501object contains NULL elements. Also adds a warning if a NULL element is 
1502followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
1503include repair or removal of all such NULL elements where possible.
1504
1505Implemented additional module-level executable AML code support. This change 
1506will execute module-level code that is not at the root of the namespace 
1507(under a Device object, etc.) at table load time. Module-level executable AML 
1508code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1509
1510Implemented a new internal function to create Integer objects. This function 
1511simplifies miscellaneous object creation code. ACPICA BZ 823.
1512
1513Reduced the severity of predefined repair messages, Warning to Info. Since 
1514the object was successfully repaired, a warning is too severe. Reduced to an 
1515info message for now. These messages may eventually be changed to debug-only. 
1516ACPICA BZ 812.
1517
1518Example Code and Data Size: These are the sizes for the OS-independent 
1519acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1520debug version of the code includes the debug output trace mechanism and has a 
1521much larger code and data size.
1522
1523  Previous Release:
1524    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1525    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1526  Current Release:
1527    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1528    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1529
15302) iASL Compiler/Disassembler and Tools:
1531
1532iASL: Implemented Switch() with While(1) so that Break works correctly. This 
1533change correctly implements the Switch operator with a surrounding While(1) 
1534so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1535
1536iASL: Added a message if a package initializer list is shorter than package 
1537length. Adds a new remark for a Package() declaration if an initializer list 
1538exists, but is shorter than the declared length of the package. Although 
1539technically legal, this is probably a coding error and it is seen in the 
1540field. ACPICA BZ 815. Lin Ming, Bob Moore.
1541
1542iASL: Fixed a problem where the compiler could fault after the maximum number 
1543of errors was reached (200).
1544
1545acpixtract: Fixed a possible warning for pointer cast if the compiler warning 
1546level set very high.
1547
1548----------------------------------------
154913 October 2009. Summary of changes for version 20091013:
1550
15511) ACPI CA Core Subsystem:
1552
1553Fixed a problem where an Operation Region _REG method could be executed more 
1554than once. If a custom address space handler is installed by the host before 
1555the "initialize operation regions" phase of the ACPICA initialization, any 
1556_REG methods for that address space could be executed twice. This change 
1557fixes the problem. ACPICA BZ 427. Lin Ming.
1558
1559Fixed a possible memory leak for the Scope() ASL operator. When the exact 
1560invocation of "Scope(\)" is executed (change scope to root), one internal 
1561operand object was leaked. Lin Ming.
1562
1563Implemented a run-time repair for the _MAT predefined method. If the _MAT 
1564return value is defined as a Field object in the AML, and the field
1565size is less than or equal to the default width of an integer (32 or 64),_MAT 
1566can incorrectly return an Integer instead of a Buffer. ACPICA now 
1567automatically repairs this problem. ACPICA BZ 810.
1568
1569Implemented a run-time repair for the _BIF and _BIX predefined methods. The 
1570"OEM Information" field is often incorrectly returned as an Integer with 
1571value zero if the field is not supported by the platform. This is due to an 
1572ambiguity in the ACPI specification. The field should always be a string. 
1573ACPICA now automatically repairs this problem by returning a NULL string 
1574within the returned Package. ACPICA BZ 807.
1575
1576Example Code and Data Size: These are the sizes for the OS-independent 
1577acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1578debug version of the code includes the debug output trace mechanism and has a 
1579much larger code and data size.
1580
1581  Previous Release:
1582    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1583    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1584  Current Release:
1585    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1586    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1587
15882) iASL Compiler/Disassembler and Tools:
1589
1590Disassembler: Fixed a problem where references to external symbols that 
1591contained one or more parent-prefixes (carats) were not handled correctly, 
1592possibly causing a fault. ACPICA BZ 806. Lin Ming.
1593
1594Disassembler: Restructured the code so that all functions that handle 
1595external symbols are in a single module. One new file is added, 
1596common/dmextern.c.
1597
1598AML Debugger: Added a max count argument for the Batch command (which 
1599executes multiple predefined methods within the namespace.)
1600
1601iASL: Updated the compiler documentation (User Reference.) Available at 
1602http://www.acpica.org/documentation/. ACPICA BZ 750.
1603
1604AcpiXtract: Updated for Lint and other formatting changes. Close all open 
1605files.
1606
1607----------------------------------------
160803 September 2009. Summary of changes for version 20090903:
1609
16101) ACPI CA Core Subsystem:
1611
1612For Windows Vista compatibility, added the automatic execution of an _INI 
1613method located at the namespace root (\_INI). This method is executed at 
1614table load time. This support is in addition to the automatic execution of 
1615\_SB._INI. Lin Ming.
1616
1617Fixed a possible memory leak in the interpreter for AML package objects if 
1618the package initializer list is longer than the defined size of the package. 
1619This apparently can only happen if the BIOS changes the package size on the 
1620fly (seen in a _PSS object), as ASL compilers do not allow this. The 
1621interpreter will truncate the package to the defined size (and issue an error 
1622message), but previously could leave the extra objects undeleted if they were 
1623pre-created during the argument processing (such is the case if the package 
1624consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1625
1626Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
1627This has been reported in the field. Previously, ACPICA would zero out the 
1628buffer/string. Now, the operation is treated as a noop. Provides Windows 
1629compatibility. ACPICA BZ 803. Lin Ming.
1630
1631Removed an extraneous error message for ASL constructs of the form 
1632Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
1633are seen in many BIOSs and are once again treated as NOOPs and no error is 
1634emitted when they are encountered. ACPICA BZ 785.
1635
1636Fixed an extraneous warning message if a _DSM reserved method returns a 
1637Package object. _DSM can return any type of object, so validation on the 
1638return type cannot be performed. ACPICA BZ 802.
1639
1640Example Code and Data Size: These are the sizes for the OS-independent 
1641acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1642debug version of the code includes the debug output trace mechanism and has a 
1643much larger code and data size.
1644
1645  Previous Release:
1646    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1647    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1648  Current Release:
1649    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1650    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1651
16522) iASL Compiler/Disassembler and Tools:
1653
1654iASL: Fixed a problem with the use of the Alias operator and Resource 
1655Templates. The correct alias is now constructed and no error is emitted. 
1656ACPICA BZ 738.
1657
1658iASL: Implemented the -I option to specify additional search directories for 
1659include files. Allows multiple additional search paths for include files. 
1660Directories are searched in the order specified on the command line (after 
1661the local directory is searched.) ACPICA BZ 800.
1662
1663iASL: Fixed a problem where the full pathname for include files was not 
1664emitted for warnings/errors. This caused the IDE support to not work 
1665properly. ACPICA BZ 765.
1666
1667iASL: Implemented the -@ option to specify a Windows-style response file 
1668containing additional command line options. ACPICA BZ 801.
1669
1670AcpiExec: Added support to load multiple AML files simultaneously (such as a 
1671DSDT and multiple SSDTs). Also added support for wildcards within the AML 
1672pathname. These features allow all machine tables to be easily loaded and 
1673debugged together. ACPICA BZ 804.
1674
1675Disassembler: Added missing support for disassembly of HEST table Error Bank 
1676subtables. 
1677
1678----------------------------------------
167930 July 2009. Summary of changes for version 20090730:
1680
1681The ACPI 4.0 implementation for ACPICA is complete with this release.
1682
16831) ACPI CA Core Subsystem:
1684
1685ACPI 4.0: Added header file support for all new and changed ACPI tables. 
1686Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
1687for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
1688EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
1689have been some ACPI 4.0 changes to other existing tables. Split the large 
1690actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
1691
1692ACPI 4.0: Implemented predefined name validation for all new names. There are 
169331 new names in ACPI 4.0. The predefined validation module was split into two 
1694files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
1695
1696Implemented support for so-called "module-level executable code". This is 
1697executable AML code that exists outside of any control method and is intended 
1698to be executed at table load time. Although illegal since ACPI 2.0, this type 
1699of code still exists and is apparently still being created. Blocks of this 
1700code are now detected and executed as intended. Currently, the code blocks 
1701must exist under either an If, Else, or While construct; these are the 
1702typical cases seen in the field. ACPICA BZ 762. Lin Ming.
1703
1704Implemented an automatic dynamic repair for predefined names that return 
1705nested Package objects. This applies to predefined names that are defined to 
1706return a variable-length Package of sub-packages. If the number of sub-
1707packages is one, BIOS code is occasionally seen that creates a simple single 
1708package with no sub-packages. This code attempts to fix the problem by 
1709wrapping a new package object around the existing package. These methods can 
1710be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
1711790.
1712
1713Fixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
1714The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
1715BZ 793.
1716
1717Fixed a problem with AcpiReset where the reset would silently fail if the 
1718register was one of the protected I/O ports. AcpiReset now bypasses the port 
1719validation mechanism. This may eventually be driven into the AcpiRead/Write 
1720interfaces.
1721
1722Fixed a regression related to the recent update of the AcpiRead/Write 
1723interfaces. A sleep/suspend could fail if the optional PM2 Control register 
1724does not exist during an attempt to write the Bus Master Arbitration bit. 
1725(However, some hosts already delete the code that writes this bit, and the 
1726code may in fact be obsolete at this date.) ACPICA BZ 799.
1727
1728Fixed a problem where AcpiTerminate could fault if inadvertently called twice 
1729in succession. ACPICA BZ 795.
1730
1731Example Code and Data Size: These are the sizes for the OS-independent 
1732acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1733debug version of the code includes the debug output trace mechanism and has a 
1734much larger code and data size.
1735
1736  Previous Release:
1737    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1738    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1739  Current Release:
1740    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1741    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1742
17432) iASL Compiler/Disassembler and Tools:
1744
1745ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
1746changes to existing tables. ACPICA BZ 775.
1747
1748----------------------------------------
174925 June 2009. Summary of changes for version 20090625:
1750
1751The ACPI 4.0 Specification was released on June 16 and is available at 
1752www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
1753continue for the next few releases.
1754
17551) ACPI CA Core Subsystem:
1756
1757ACPI 4.0: Implemented interpreter support for the IPMI operation region 
1758address space. Includes support for bi-directional data buffers and an IPMI 
1759address space handler (to be installed by an IPMI device driver.) ACPICA BZ 
1760773. Lin Ming.
1761
1762ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
1763support in both the header files and the disassembler.
1764
1765Completed a major update for the AcpiGetObjectInfo external interface. 
1766Changes include:
1767 - Support for variable, unlimited length HID, UID, and CID strings.
1768 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
1769 - Call the _SxW power methods on behalf of a device object.
1770 - Determine if a device is a PCI root bridge.
1771 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
1772These changes will require an update to all callers of this interface. See 
1773the updated ACPICA Programmer Reference for details. One new source file has 
1774been added - utilities/utids.c. ACPICA BZ 368, 780.
1775
1776Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
1777transfers. The Value parameter has been extended from 32 bits to 64 bits in 
1778order to support new ACPI 4.0 tables. These changes will require an update to 
1779all callers of these interfaces. See the ACPICA Programmer Reference for 
1780details. ACPICA BZ 768.
1781
1782Fixed several problems with AcpiAttachData. The handler was not invoked when 
1783the host node was deleted. The data sub-object was not automatically deleted 
1784when the host node was deleted. The interface to the handler had an unused 
1785parameter, this was removed. ACPICA BZ 778.
1786
1787Enhanced the function that dumps ACPI table headers. All non-printable 
1788characters in the string fields are now replaced with '?' (Signature, OemId, 
1789OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
1790these fields are occasionally seen in the field. ACPICA BZ 788.
1791
1792Fixed a problem with predefined method repair code where the code that 
1793attempts to repair/convert an object of incorrect type is only executed on 
1794the first time the predefined method is called. The mechanism that disables 
1795warnings on subsequent calls was interfering with the repair mechanism. 
1796ACPICA BZ 781.
1797
1798Fixed a possible memory leak in the predefined validation/repair code when a 
1799buffer is automatically converted to an expected string object.
1800
1801Removed obsolete 16-bit files from the distribution and from the current git 
1802tree head. ACPICA BZ 776.
1803
1804Example Code and Data Size: These are the sizes for the OS-independent 
1805acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1806debug version of the code includes the debug output trace mechanism and has a 
1807much larger code and data size.
1808
1809  Previous Release:
1810    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1811    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1812  Current Release:
1813    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1814    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1815
18162) iASL Compiler/Disassembler and Tools:
1817
1818ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
1819operation region keyword. ACPICA BZ 771, 772. Lin Ming.
1820
1821ACPI 4.0: iASL - implemented compile-time validation support for all new 
1822predefined names and control methods (31 total). ACPICA BZ 769.
1823
1824----------------------------------------
182521 May 2009. Summary of changes for version 20090521:
1826
18271) ACPI CA Core Subsystem:
1828
1829Disabled the preservation of the SCI enable bit in the PM1 control register. 
1830The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
1831a "preserved" bit - "OSPM always preserves this bit position", section 
18324.7.3.2.1. However, some machines fail if this bit is in fact preserved 
1833because the bit needs to be explicitly set by the OS as a workaround. No 
1834machines fail if the bit is not preserved. Therefore, ACPICA no longer 
1835attempts to preserve this bit.
1836
1837Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
1838incorrectly formed _PRT package could cause a fault. Added validation to 
1839ensure that each package element is actually a sub-package.
1840
1841Implemented a new interface to install or override a single control method, 
1842AcpiInstallMethod. This interface is useful when debugging in order to repair 
1843an existing method or to install a missing method without having to override 
1844the entire ACPI table. See the ACPICA Programmer Reference for use and 
1845examples. Lin Ming, Bob Moore.
1846
1847Fixed several reference count issues with the DdbHandle object that is 
1848created from a Load or LoadTable operator. Prevent premature deletion of the 
1849object. Also, mark the object as invalid once the table has been unloaded. 
1850This is needed because the handle itself may not be deleted after the table 
1851unload, depending on whether it has been stored in a named object by the 
1852caller. Lin Ming.
1853
1854Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
1855mutexes of the same sync level are acquired but then not released in strict 
1856opposite order, the internally maintained Current Sync Level becomes confused 
1857and can cause subsequent execution errors. ACPICA BZ 471.
1858
1859Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
1860specification has been changed to make the SyncLevel for mutex objects more 
1861useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
1862same as the current sync level. This makes more sense than the previous rule 
1863(SyncLevel less than or equal). This change updates the code to match the 
1864specification.
1865
1866Fixed a problem with the local version of the AcpiOsPurgeCache function. The 
1867(local) cache must be locked during all cache object deletions. Andrew 
1868Baumann.
1869
1870Updated the Load operator to use operation region interfaces. This replaces 
1871direct memory mapping with region access calls. Now, all region accesses go 
1872through the installed region handler as they should.
1873
1874Simplified and optimized the NsGetNextNode function. Reduced parameter count 
1875and reduced code for this frequently used function.
1876
1877Example Code and Data Size: These are the sizes for the OS-independent 
1878acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1879debug version of the code includes the debug output trace mechanism and has a 
1880much larger code and data size.
1881
1882  Previous Release:
1883    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1884    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1885  Current Release:
1886    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1887    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1888
18892) iASL Compiler/Disassembler and Tools:
1890
1891Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
1892with sub-table disassembly and handling invalid sub-tables. Attempt recovery 
1893after an invalid sub-table ID.
1894
1895----------------------------------------
189622 April 2009. Summary of changes for version 20090422:
1897
18981) ACPI CA Core Subsystem:
1899
1900Fixed a compatibility issue with the recently released I/O port protection 
1901mechanism. For windows compatibility, 1) On a port protection violation, 
1902simply ignore the request and do not return an exception (allow the control 
1903method to continue execution.) 2) If only part of the request overlaps a 
1904protected port, read/write the individual ports that are not protected. Linux 
1905BZ 13036. Lin Ming
1906
1907Enhanced the execution of the ASL/AML BreakPoint operator so that it actually 
1908breaks into the AML debugger if the debugger is present. This matches the 
1909ACPI-defined behavior.
1910
1911Fixed several possible warnings related to the use of the configurable 
1912ACPI_THREAD_ID. This type can now be configured as either an integer or a 
1913pointer with no warnings. Also fixes several warnings in printf-like 
1914statements for the 64-bit build when the type is configured as a pointer. 
1915ACPICA BZ 766, 767.
1916
1917Fixed a number of possible warnings when compiling with gcc 4+ (depending on 
1918warning options.) Examples include printf formats, aliasing, unused globals, 
1919missing prototypes, missing switch default statements, use of non-ANSI 
1920library functions, use of non-ANSI constructs. See generate/unix/Makefile for 
1921a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
1922
1923Example Code and Data Size: These are the sizes for the OS-independent 
1924acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1925debug version of the code includes the debug output trace mechanism and has a 
1926much larger code and data size.
1927
1928  Previous Release:
1929    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1930    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1931  Current Release:
1932    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1933    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1934
19352) iASL Compiler/Disassembler and Tools:
1936
1937iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
1938the 64-bit build.
1939
1940iASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
1941correctly digest Windows/DOS formatted files (with CR/LF).
1942
1943iASL: Added a new option for "quiet mode" (-va) that produces only the 
1944compilation summary, not individual errors and warnings. Useful for large 
1945batch compilations.
1946
1947AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
1948timeout that can be used to detect hang conditions during execution of AML 
1949code (includes both internal semaphores and AML-defined mutexes and events.)
1950
1951Added new makefiles for the generation of acpica in a generic unix-like 
1952environment. These makefiles are intended to generate the acpica tools and 
1953utilities from the original acpica git source tree structure.
1954
1955Test Suites: Updated and cleaned up the documentation files. Updated the 
1956copyrights to 2009, affecting all source files. Use the new version of iASL 
1957with quiet mode. Increased the number of available semaphores in the Windows 
1958OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
1959an alternate implementation of the semaphore timeout to allow aslts to 
1960execute fully on Cygwin.
1961
1962----------------------------------------
196320 March 2009. Summary of changes for version 20090320:
1964
19651) ACPI CA Core Subsystem:
1966
1967Fixed a possible race condition between AcpiWalkNamespace and dynamic table 
1968unloads. Added a reader/writer locking mechanism to allow multiple concurrent 
1969namespace walks (readers), but block a dynamic table unload until it can gain 
1970exclusive write access to the namespace. This fixes a problem where a table 
1971unload could (possibly catastrophically) delete the portion of the namespace 
1972that is currently being examined by a walk. Adds a new file, utlock.c, that 
1973implements the reader/writer lock mechanism. ACPICA BZ 749.
1974
1975Fixed a regression introduced in version 20090220 where a change to the FADT 
1976handling could cause the ACPICA subsystem to access non-existent I/O ports.
1977
1978Modified the handling of FADT register and table (FACS/DSDT) addresses. The 
1979FADT can contain both 32-bit and 64-bit versions of these addresses. 
1980Previously, the 64-bit versions were favored, meaning that if both 32 and 64 
1981versions were valid, but not equal, the 64-bit version was used. This was 
1982found to cause some machines to fail. Now, in this case, the 32-bit version 
1983is used instead. This now matches the Windows behavior.
1984
1985Implemented a new mechanism to protect certain I/O ports. Provides Microsoft 
1986compatibility and protects the standard PC I/O ports from access via AML 
1987code. Adds a new file, hwvalid.c
1988
1989Fixed a possible extraneous warning message from the FADT support. The 
1990message warns of a 32/64 length mismatch between the legacy and GAS 
1991definitions for a register.
1992
1993Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is 
1994made obsolete by the port protection mechanism above. It was previously used 
1995to validate the entire address range of an operation region, which could be 
1996incorrect if the range included illegal ports, but fields within the 
1997operation region did not actually access those ports. Validation is now 
1998performed on a per-field basis instead of the entire region.
1999
2000Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
2001Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
2002means a read/modify/write when writing to the register. However, for status 
2003registers, writing a one means clear the event. Writing a zero means preserve 
2004the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
2005and the ACPICA code now simply always writes a zero to the ignored bit.
2006
2007Modified the handling of ignored bits for the PM1 A/B Control Registers. As 
2008per the ACPI specification, for the control registers, preserve 
2009(read/modify/write) all bits that are defined as either reserved or ignored.
2010
2011Updated the handling of write-only bits in the PM1 A/B Control Registers. 
2012When reading the register, zero the write-only bits as per the ACPI spec. 
2013ACPICA BZ 443. Lin Ming.
2014
2015Removed "Linux" from the list of supported _OSI strings. Linux no longer 
2016wants to reply true to this request. The Windows strings are the only paths 
2017through the AML that are tested and known to work properly.
2018
2019  Previous Release:
2020    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2021    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2022  Current Release:
2023    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2024    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2025
20262) iASL Compiler/Disassembler and Tools:
2027
2028Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
2029aetables.c
2030
2031----------------------------------------
203220 February 2009. Summary of changes for version 20090220:
2033
20341) ACPI CA Core Subsystem:
2035
2036Optimized the ACPI register locking. Removed locking for reads from the ACPI 
2037bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
2038not required when reading the single-bit registers. The 
2039AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
2040This will improve performance for reads on these registers. ACPICA BZ 760.
2041
2042Fixed the parameter validation for AcpiRead/Write. Now return 
2043AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
2044the register has an address of zero. Previously, these cases simply returned 
2045AE_OK. For optional registers such as PM1B status/enable/control, the caller 
2046should check for a valid register address before calling. ACPICA BZ 748.
2047
2048Renamed the external ACPI bit register access functions. Renamed 
2049AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
2050functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
2051Also, restructured the code for these functions by simplifying the code path 
2052and condensing duplicate code to reduce code size.
2053
2054Added new functions to transparently handle the possibly split PM1 A/B 
2055registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
2056now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
2057746.
2058
2059Added a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
2060This function writes both of the PM1 control registers (A/B). These registers 
2061are different than the PM1 A/B status and enable registers in that different 
2062values can be written to the A/B registers. Most notably, the SLP_TYP bits 
2063can be different, as per the values returned from the _Sx predefined methods.
2064
2065Removed an extra register write within AcpiHwClearAcpiStatus. This function 
2066was writing an optional PM1B status register twice. The existing call to the 
2067low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
2068register. ACPICA BZ 751.
2069
2070Split out the PM1 Status registers from the FADT. Added new globals for these 
2071registers (A/B), similar to the way the PM1 Enable registers are handled. 
2072Instead of overloading the FADT Event Register blocks. This makes the code 
2073clearer and less prone to error.
2074
2075Fixed the warning message for when the platform contains too many ACPI tables 
2076for the default size of the global root table data structure. The calculation 
2077for the truncation value was incorrect.
2078
2079Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
2080obsolete macro, since it is now a simple reference to ->common.type. There 
2081were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
2082
2083Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
2084TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
2085simply SLEEP_TYPE. ACPICA BZ 754.
2086
2087Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
2088function is only needed on 64-bit host operating systems and is thus not 
2089included for 32-bit hosts.
2090
2091Debug output: print the input and result for invocations of the _OSI reserved 
2092control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
2093verbosity of this debug level. Len Brown.
2094
2095Example Code and Data Size: These are the sizes for the OS-independent 
2096acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2097debug version of the code includes the debug output trace mechanism and has a 
2098much larger code and data size.
2099
2100  Previous Release:
2101    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2102    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2103  Current Release:
2104    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2105    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2106
21072) iASL Compiler/Disassembler and Tools:
2108
2109Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
2110various legal performance profiles.
2111
2112----------------------------------------
211323 January 2009. Summary of changes for version 20090123:
2114
21151) ACPI CA Core Subsystem:
2116
2117Added the 2009 copyright to all module headers and signons. This affects 
2118virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2119the tools/utilities.
2120
2121Implemented a change to allow the host to override any ACPI table, including 
2122dynamically loaded tables. Previously, only the DSDT could be replaced by the 
2123host. With this change, the AcpiOsTableOverride interface is called for each 
2124table found in the RSDT/XSDT during ACPICA initialization, and also whenever 
2125a table is dynamically loaded via the AML Load operator.
2126
2127Updated FADT flag definitions, especially the Boot Architecture flags.
2128
2129Debugger: For the Find command, automatically pad the input ACPI name with 
2130underscores if the name is shorter than 4 characters. This enables a match 
2131with the actual namespace entry which is itself padded with underscores.
2132
2133Example Code and Data Size: These are the sizes for the OS-independent 
2134acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2135debug version of the code includes the debug output trace mechanism and has a 
2136much larger code and data size.
2137
2138  Previous Release:
2139    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2140    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2141  Current Release:
2142    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2143    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2144
21452) iASL Compiler/Disassembler and Tools:
2146
2147Fix build error under Bison-2.4.
2148
2149Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
2150flags. Now decode all flags, regardless of the FADT version. Flag output 
2151includes the FADT version which first defined each flag.
2152
2153The iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
2154DSDT). Windows only.
2155
2156----------------------------------------
215704 December 2008. Summary of changes for version 20081204:
2158
21591) ACPI CA Core Subsystem:
2160
2161The ACPICA Programmer Reference has been completely updated and revamped for 
2162this release. This includes updates to the external interfaces, OSL 
2163interfaces, the overview sections, and the debugger reference.
2164
2165Several new ACPICA interfaces have been implemented and documented in the 
2166programmer reference:
2167AcpiReset - Writes the reset value to the FADT-defined reset register.
2168AcpiDisableAllGpes - Disable all available GPEs.
2169AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
2170AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
2171AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
2172AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
2173AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
2174
2175Most of the public ACPI hardware-related interfaces have been moved to a new 
2176file, components/hardware/hwxface.c
2177
2178Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
2179register lengths within the FADT are now used, and the low level ACPI 
2180register access no longer hardcodes the ACPI register lengths. Given that 
2181there may be some risk in actually trusting the FADT register lengths, a run-
2182time option was added to fall back to the default hardcoded lengths if the 
2183FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
2184option is set to true for now, and a warning is issued if a suspicious FADT 
2185register length is overridden with the default value.
2186
2187Fixed a reference count issue in NsRepairObject. This problem was introduced 
2188in version 20081031 as part of a fix to repair Buffer objects within 
2189Packages. Lin Ming.
2190
2191Added semaphore support to the Linux/Unix application OS-services layer 
2192(OSL). ACPICA BZ 448. Lin Ming.
2193
2194Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
2195be implemented in the OSL, or will binary semaphores be used instead.
2196
2197Example Code and Data Size: These are the sizes for the OS-independent 
2198acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2199debug version of the code includes the debug output trace mechanism and has a 
2200much larger code and data size.
2201
2202  Previous Release:
2203    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2204    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2205  Current Release:
2206    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2207    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2208
22092) iASL Compiler/Disassembler and Tools:
2210
2211iASL: Completed the '-e' option to include additional ACPI tables in order to 
2212aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
2213Ming.
2214
2215iASL: Removed the "named object in while loop" error. The compiler cannot 
2216determine how many times a loop will execute. ACPICA BZ 730.
2217
2218Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
2219BZ 743.
2220
2221Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
2222
2223----------------------------------------
222431 October 2008. Summary of changes for version 20081031:
2225
22261) ACPI CA Core Subsystem:
2227
2228Restructured the ACPICA header files into public/private. acpi.h now includes 
2229only the "public" acpica headers. All other acpica headers are "private" and 
2230should not be included by acpica users. One new file, accommon.h is used to 
2231include the commonly used private headers for acpica code generation. Future 
2232plans include moving all private headers to a new subdirectory.
2233
2234Implemented an automatic Buffer->String return value conversion for 
2235predefined ACPI methods. For these methods (such as _BIF), added automatic 
2236conversion for return objects that are required to be a String, but a Buffer 
2237was found instead. This can happen when reading string battery data from an 
2238operation region, because it used to be difficult to convert the data from 
2239buffer to string from within the ASL. Ensures that the host OS is provided 
2240with a valid null-terminated string. Linux BZ 11822.
2241
2242Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
2243into two: one for the 32-bit vector, another for the 64-bit vector. This is 
2244required because the host OS must setup the wake much differently for each 
2245vector (real vs. protected mode, etc.) and the interface itself should not be 
2246deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
2247interface, as it served no purpose (only the firmware reads the vector, OS 
2248only writes the vector.) ACPICA BZ 731.
2249
2250Implemented a mechanism to escape infinite AML While() loops. Added a loop 
2251counter to force exit from AML While loops if the count becomes too large. 
2252This can occur in poorly written AML when the hardware does not respond 
2253within a while loop and the loop does not implement a timeout. The maximum 
2254loop count is configurable. A new exception code is returned when a loop is 
2255broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
2256
2257Optimized the execution of AML While loops. Previously, a control state 
2258object was allocated and freed for each execution of the loop. The 
2259optimization is to simply reuse the control state for each iteration. This 
2260speeds up the raw loop execution time by about 5%.
2261
2262Enhanced the implicit return mechanism. For Windows compatibility, return an 
2263implicit integer of value zero for methods that contain no executable code. 
2264Such methods are seen in the field as stubs (presumably), and can cause 
2265drivers to fail if they expect a return value. Lin Ming.
2266
2267Allow multiple backslashes as root prefixes in namepaths. In a fully 
2268qualified namepath, allow multiple backslash prefixes. This can happen (and 
2269is seen in the field) because of the use of a double-backslash in strings 
2270(since backslash is the escape character) causing confusion. ACPICA BZ 739 
2271Lin Ming.
2272
2273Emit a warning if two different FACS or DSDT tables are discovered in the 
2274FADT. Checks if there are two valid but different addresses for the FACS and 
2275DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
2276
2277Consolidated the method argument count validation code. Merged the code that 
2278validates control method argument counts into the predefined validation 
2279module. Eliminates possible multiple warnings for incorrect argument counts.
2280
2281Implemented ACPICA example code. Includes code for ACPICA initialization, 
2282handler installation, and calling a control method. Available at 
2283source/tools/examples.
2284
2285Added a global pointer for FACS table to simplify internal FACS access. Use 
2286the global pointer instead of using AcpiGetTableByIndex for each FACS access. 
2287This simplifies the code for the Global Lock and the Firmware Waking 
2288Vector(s).
2289
2290Example Code and Data Size: These are the sizes for the OS-independent 
2291acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2292debug version of the code includes the debug output trace mechanism and has a 
2293much larger code and data size.
2294
2295  Previous Release:
2296    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2297    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2298  Current Release:
2299    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2300    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2301
23022) iASL Compiler/Disassembler and Tools:
2303
2304iASL: Improved disassembly of external method calls. Added the -e option to 
2305allow the inclusion of additional ACPI tables to help with the disassembly of 
2306method invocations and the generation of external declarations during the 
2307disassembly. Certain external method invocations cannot be disassembled 
2308properly without the actual declaration of the method. Use the -e option to 
2309include the table where the external method(s) are actually declared. Most 
2310useful for disassembling SSDTs that make method calls back to the master 
2311DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
2312-e dsdt.aml ssdt1.aml
2313
2314iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
2315problem where the use of an alias within a namepath would result in a not 
2316found error or cause the compiler to fault. Also now allows forward 
2317references from the Alias operator itself. ACPICA BZ 738.
2318
2319----------------------------------------
232026 September 2008. Summary of changes for version 20080926:
2321
23221) ACPI CA Core Subsystem:
2323
2324Designed and implemented a mechanism to validate predefined ACPI methods and 
2325objects. This code validates the predefined ACPI objects (objects whose names 
2326start with underscore) that appear in the namespace, at the time they are 
2327evaluated. The argument count and the type of the returned object are 
2328validated against the ACPI specification. The purpose of this validation is 
2329to detect problems with the BIOS-implemented predefined ACPI objects before 
2330the results are returned to the ACPI-related drivers. Future enhancements may 
2331include actual repair of incorrect return objects where possible. Two new 
2332files are nspredef.c and acpredef.h.
2333
2334Fixed a fault in the AML parser if a memory allocation fails during the Op 
2335completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
2336
2337Fixed an issue with implicit return compatibility. This change improves the 
2338implicit return mechanism to be more compatible with the MS interpreter. Lin 
2339Ming, ACPICA BZ 349.
2340
2341Implemented support for zero-length buffer-to-string conversions. Allow zero 
2342length strings during interpreter buffer-to-string conversions. For example, 
2343during the ToDecimalString and ToHexString operators, as well as implicit 
2344conversions. Fiodor Suietov, ACPICA BZ 585.
2345
2346Fixed two possible memory leaks in the error exit paths of 
2347AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
2348similar in that they use a stack of state objects in order to eliminate 
2349recursion. The stack must be fully unwound and deallocated if an error 
2350occurs. Lin Ming. ACPICA BZ 383.
2351
2352Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
2353ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
2354Moore ACPICA BZ 442.
2355
2356Removed the obsolete version number in module headers. Removed the 
2357"$Revision" number that appeared in each module header. This version number 
2358was useful under SourceSafe and CVS, but has no meaning under git. It is not 
2359only incorrect, it could also be misleading.
2360
2361Example Code and Data Size: These are the sizes for the OS-independent 
2362acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2363debug version of the code includes the debug output trace mechanism and has a 
2364much larger code and data size.
2365
2366  Previous Release:
2367    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2368    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2369  Current Release:
2370    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2371    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2372
2373----------------------------------------
237429 August 2008. Summary of changes for version 20080829:
2375
23761) ACPI CA Core Subsystem:
2377
2378Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
2379Reference. Changes include the elimination of cheating on the Object field 
2380for the DdbHandle subtype, addition of a reference class field to 
2381differentiate the various reference types (instead of an AML opcode), and the 
2382cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
2383
2384Reduce an error to a warning for an incorrect method argument count. 
2385Previously aborted with an error if too few arguments were passed to a 
2386control method via the external ACPICA interface. Now issue a warning instead 
2387and continue. Handles the case where the method inadvertently declares too 
2388many arguments, but does not actually use the extra ones. Applies mainly to 
2389the predefined methods. Lin Ming. Linux BZ 11032.
2390
2391Disallow the evaluation of named object types with no intrinsic value. Return 
2392AE_TYPE for objects that have no value and therefore evaluation is undefined: 
2393Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
2394these types were allowed, but an exception would be generated at some point 
2395during the evaluation. Now, the error is generated up front.
2396
2397Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
2398(nsnames.c). Fixes a leak in the error exit path.
2399
2400Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
2401levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
2402interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
2403ACPI_LV_EVENTS.
2404
2405Removed obsolete and/or unused exception codes from the acexcep.h header. 
2406There is the possibility that certain device drivers may be affected if they 
2407use any of these exceptions.
2408
2409The ACPICA documentation has been added to the public git source tree, under 
2410acpica/documents. Included are the ACPICA programmer reference, the iASL 
2411compiler reference, and the changes.txt release logfile.
2412
2413Example Code and Data Size: These are the sizes for the OS-independent 
2414acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2415debug version of the code includes the debug output trace mechanism and has a 
2416much larger code and data size.
2417
2418  Previous Release:
2419    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2420    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2421  Current Release:
2422    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2423    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2424
24252) iASL Compiler/Disassembler and Tools:
2426
2427Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
2428defines _SCP with 3 arguments. Previous versions defined it with only 1 
2429argument. iASL now allows both definitions.
2430
2431iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2432length subtables when disassembling ACPI tables. Also fixed a couple of 
2433errors where a full 16-bit table type field was not extracted from the input 
2434properly.
2435
2436acpisrc: Improve comment counting mechanism for generating source code 
2437statistics. Count first and last lines of multi-line comments as whitespace, 
2438not comment lines. Handle Linux legal header in addition to standard acpica 
2439header.
2440
2441----------------------------------------
2442
244329 July 2008. Summary of changes for version 20080729:
2444
24451) ACPI CA Core Subsystem:
2446
2447Fix a possible deadlock in the GPE dispatch. Remove call to 
2448AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
2449to acquire the GPE lock but can deadlock since the GPE lock is already held 
2450at dispatch time. This code was introduced in version 20060831 as a response 
2451to Linux BZ 6881 and has since been removed from Linux.
2452
2453Add a function to dereference returned reference objects. Examines the return 
2454object from a call to AcpiEvaluateObject. Any Index or RefOf references are 
2455automatically dereferenced in an attempt to return something useful (these 
2456reference types cannot be converted into an external ACPI_OBJECT.) Provides 
2457MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2458
2459x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
2460subtables for the MADT and one new subtable for the SRAT. Includes 
2461disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
2462Specification, June 2008.
2463
2464Additional error checking for pathname utilities. Add error check after all 
2465calls to AcpiNsGetPathnameLength. Add status return from 
2466AcpiNsBuildExternalPath and check after all calls. Add parameter validation 
2467to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2468
2469Return status from the global init function AcpiUtGlobalInitialize. This is 
2470used by both the kernel subsystem and the utilities such as iASL compiler. 
2471The function could possibly fail when the caches are initialized. Yang Yi.
2472
2473Add a function to decode reference object types to strings. Created for 
2474improved error messages. 
2475
2476Improve object conversion error messages. Better error messages during object 
2477conversion from internal to the external ACPI_OBJECT. Used for external calls 
2478to AcpiEvaluateObject.
2479
2480Example Code and Data Size: These are the sizes for the OS-independent 
2481acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2482debug version of the code includes the debug output trace mechanism and has a 
2483much larger code and data size.
2484
2485  Previous Release:
2486    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2487    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2488  Current Release:
2489    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2490    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2491
24922) iASL Compiler/Disassembler and Tools:
2493
2494Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
2495introduced in version 20080701. If the object being evaluated (via execute 
2496command) is not a method, the debugger can hang while trying to obtain non-
2497existent parameters.
2498
2499iASL: relax error for using reserved "_T_x" identifiers. These names can 
2500appear in a disassembled ASL file if they were emitted by the original 
2501compiler. Instead of issuing an error or warning and forcing the user to 
2502manually change these names, issue a remark instead.
2503
2504iASL: error if named object created in while loop. Emit an error if any named 
2505object is created within a While loop. If allowed, this code will generate a 
2506run-time error on the second iteration of the loop when an attempt is made to 
2507create the same named object twice. ACPICA bugzilla 730.
2508
2509iASL: Support absolute pathnames for include files. Add support for absolute 
2510pathnames within the Include operator. previously, only relative pathnames 
2511were supported.
2512
2513iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
2514The ACPI spec requires one interrupt minimum. BZ 423
2515
2516iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
2517Handles the case for the Interrupt Resource Descriptor where
2518the ResourceSource argument is omitted but ResourceSourceIndex
2519is present. Now leave room for the Index. BZ 426
2520
2521iASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
2522where an error message is emitted if the target does not exist. BZ 516
2523
2524iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
2525(get ACPI tables on Windows). This was apparently broken in version 20070919.
2526
2527AcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
2528the EOF happens immediately after the last table in the input file. Print 
2529completion message. Previously, no message was displayed in this case.
2530
2531----------------------------------------
253201 July 2008. Summary of changes for version 20080701:
2533
25340) Git source tree / acpica.org
2535
2536Fixed a problem where a git-clone from http would not transfer the entire 
2537source tree.
2538
25391) ACPI CA Core Subsystem:
2540
2541Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
2542enable bit. Now performs a read-change-write of the enable register instead 
2543of simply writing out the cached enable mask. This will prevent inadvertent 
2544enabling of GPEs if a rogue GPE is received during initialization (before GPE 
2545handlers are installed.)
2546
2547Implemented a copy for dynamically loaded tables. Previously, dynamically 
2548loaded tables were simply mapped - but on some machines this memory is 
2549corrupted after suspend. Now copy the table to a local buffer. For the 
2550OpRegion case, added checksum verify. Use the table length from the table 
2551header, not the region length. For the Buffer case, use the table length 
2552also. Dennis Noordsij, Bob Moore. BZ 10734
2553
2554Fixed a problem where the same ACPI table could not be dynamically loaded and 
2555unloaded more than once. Without this change, a table cannot be loaded again 
2556once it has been loaded/unloaded one time. The current mechanism does not 
2557unregister a table upon an unload. During a load, if the same table is found, 
2558this no longer returns an exception. BZ 722
2559
2560Fixed a problem where the wrong descriptor length was calculated for the 
2561EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
2562are calculated as 12 bytes long, but the actual length in the internal 
2563descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
2564by Linn Crosetto. BZ 728
2565
2566Fixed a possible memory leak in the Unload operator. The DdbHandle returned 
2567by Load() did not have its reference count decremented during unload, leading 
2568to a memory leak. Lin Ming. BZ 727
2569
2570Fixed a possible memory leak when deleting thermal/processor objects. Any 
2571associated notify handlers (and objects) were not being deleted. Fiodor 
2572Suietov. BZ 506
2573
2574Fixed the ordering of the ASCII names in the global mutex table to match the 
2575actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
2576Vegard Nossum. BZ 726
2577
2578Enhanced the AcpiGetObjectInfo interface to return the number of required 
2579arguments if the object is a control method. Added this call to the debugger 
2580so the proper number of default arguments are passed to a method. This 
2581prevents a warning when executing methods from AcpiExec.
2582
2583Added a check for an invalid handle in AcpiGetObjectInfo. Return 
2584AE_BAD_PARAMETER if input handle is invalid. BZ 474
2585
2586Fixed an extraneous warning from exconfig.c on the 64-bit build.
2587
2588Example Code and Data Size: These are the sizes for the OS-independent 
2589acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2590debug version of the code includes the debug output trace mechanism and has a 
2591much larger code and data size.
2592
2593  Previous Release:
2594    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2595    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2596  Current Release:
2597    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2598    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2599
26002) iASL Compiler/Disassembler and Tools:
2601
2602iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
2603resource descriptor names.
2604
2605iASL: Detect invalid ASCII characters in input (windows version). Removed the 
2606"-CF" flag from the flex compile, enables correct detection of non-ASCII 
2607characters in the input. BZ 441
2608
2609iASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
2610"result of operation not used" warning when the DDB handle returned from 
2611LoadTable is not used. The warning is not needed. BZ 590
2612
2613AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
2614pass address of table to the AML. Added option to disable OpRegion simulation 
2615to allow creation of an OpRegion with a real address that was passed to _CFG. 
2616All of this allows testing of the Load and Unload operators from AcpiExec.
2617
2618Debugger: update tables command for unloaded tables. Handle unloaded tables 
2619and use the standard table header output routine.
2620
2621----------------------------------------
262209 June 2008. Summary of changes for version 20080609:
2623
26241) ACPI CA Core Subsystem:
2625
2626Implemented a workaround for reversed _PRT entries. A significant number of 
2627BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
2628change dynamically detects and repairs this problem. Provides compatibility 
2629with MS ACPI. BZ 6859
2630
2631Simplified the internal ACPI hardware interfaces to eliminate the locking 
2632flag parameter from Register Read/Write. Added a new external interface, 
2633AcpiGetRegisterUnlocked.
2634
2635Fixed a problem where the invocation of a GPE control method could hang. This 
2636was a regression introduced in 20080514. The new method argument count 
2637validation mechanism can enter an infinite loop when a GPE method is 
2638dispatched. Problem fixed by removing the obsolete code that passed GPE block 
2639information to the notify handler via the control method parameter pointer.
2640
2641Fixed a problem where the _SST execution status was incorrectly returned to 
2642the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
264320080514. _SST is optional and a NOT_FOUND exception should never be 
2644returned. BZ 716
2645
2646Fixed a problem where a deleted object could be accessed from within the AML 
2647parser. This was a regression introduced in version 20080123 as a fix for the 
2648Unload operator. Lin Ming. BZ 10669
2649
2650Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
2651and eliminated the use of a negative index in a loop. Operands are now 
2652displayed in the correct order, not backwards. This also fixes a regression 
2653introduced in 20080514 on 64-bit systems where the elimination of 
2654ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
2655
2656Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
2657path did not delete a locally allocated structure.
2658
2659Updated definitions for the DMAR and SRAT tables to synchronize with the 
2660current specifications. Includes disassembler support.
2661
2662Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
2663loop termination value was used. Loop terminated on iteration early, missing 
2664one mutex. Linn Crosetto
2665
2666Example Code and Data Size: These are the sizes for the OS-independent 
2667acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2668debug version of the code includes the debug output trace mechanism and has a 
2669much larger code and data size.
2670
2671  Previous Release:
2672    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2673    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2674  Current Release:
2675    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2676    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2677
26782) iASL Compiler/Disassembler and Tools:
2679
2680Disassembler: Implemented support for EisaId() within _CID objects. Now 
2681disassemble integer _CID objects back to EisaId invocations, including 
2682multiple integers within _CID packages. Includes single-step support for 
2683debugger also.
2684
2685Disassembler: Added support for DMAR and SRAT table definition changes.
2686
2687----------------------------------------
268814 May 2008. Summary of changes for version 20080514:
2689
26901) ACPI CA Core Subsystem:
2691
2692Fixed a problem where GPEs were enabled too early during the ACPICA 
2693initialization. This could lead to "handler not installed" errors on some 
2694machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
2695ensures that all operation regions and devices throughout the namespace have 
2696been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
2697
2698Implemented a change to the enter sleep code. Moved execution of the _GTS 
2699method to just before setting sleep enable bit. The execution was moved from 
2700AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
2701immediately before the SLP_EN bit is set, as per the ACPI specification. 
2702Luming Yu, BZ 1653.
2703
2704Implemented a fix to disable unknown GPEs (2nd version). Now always disable 
2705the GPE, even if ACPICA thinks that that it is already disabled. It is 
2706possible that the AML or some other code has enabled the GPE unbeknownst to 
2707the ACPICA code.
2708
2709Fixed a problem with the Field operator where zero-length fields would return 
2710an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
2711field declarations in Field(), BankField(), and IndexField(). BZ 10606.
2712
2713Implemented a fix for the Load operator, now load the table at the namespace 
2714root. This reverts a change introduced in version 20071019. The table is now 
2715loaded at the namespace root even though this goes against the ACPI 
2716specification. This provides compatibility with other ACPI implementations. 
2717The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
2718
2719Fixed a problem where ACPICA would not Load() tables with unusual signatures. 
2720Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
2721acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
2722Therefore, signature validation is worthless. Apparently MS ACPI accepts such 
2723signatures, ACPICA must be compatible. BZ 10454.
2724
2725Fixed a possible negative array index in AcpiUtValidateException. Added NULL 
2726fields to the exception string arrays to eliminate a -1 subtraction on the 
2727SubStatus field.
2728
2729Updated the debug tracking macros to reduce overall code and data size. 
2730Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
2731instead of pointers to static strings. Jan Beulich and Bob Moore.
2732
2733Implemented argument count checking in control method invocation via 
2734AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
2735many. This applies only to extern programmatic control method execution, not 
2736method-to-method calls within the AML. Lin Ming.
2737
2738Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
2739longer needed, especially with the removal of 16-bit support. It was replaced 
2740mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
274132/64-bit platforms is required.
2742
2743Added the C const qualifier for appropriate string constants -- mostly 
2744MODULE_NAME and printf format strings. Jan Beulich.
2745
2746Example Code and Data Size: These are the sizes for the OS-independent 
2747acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2748debug version of the code includes the debug output trace mechanism and has a 
2749much larger code and data size.
2750
2751  Previous Release:
2752    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2753    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2754  Current Release:
2755    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2756    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2757
27582) iASL Compiler/Disassembler and Tools:
2759
2760Implemented ACPI table revision ID validation in the disassembler. Zero is 
2761always invalid. For DSDTs, the ID controls the interpreter integer width. 1 
2762means 32-bit and this is unusual. 2 or greater is 64-bit.
2763
2764----------------------------------------
276521 March 2008. Summary of changes for version 20080321:
2766
27671) ACPI CA Core Subsystem:
2768
2769Implemented an additional change to the GPE support in order to suppress 
2770spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
2771disable incoming GPEs that are neither enabled nor disabled -- meaning that 
2772the GPE is unknown to the system. This should prevent future interrupt floods 
2773from that GPE. BZ 6217 (Zhang Rui)
2774
2775Fixed a problem where NULL package elements were not returned to the 
2776AcpiEvaluateObject interface correctly. The element was simply ignored 
2777instead of returning a NULL ACPI_OBJECT package element, potentially causing 
2778a buffer overflow and/or confusing the caller who expected a fixed number of 
2779elements. BZ 10132 (Lin Ming, Bob Moore)
2780
2781Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
2782Qword), Field, BankField, and IndexField operators when invoked from inside 
2783an executing control method. In this case, these operators created namespace 
2784nodes that were incorrectly left marked as permanent nodes instead of 
2785temporary nodes. This could cause a problem if there is race condition 
2786between an exiting control method and a running namespace walk. (Reported by 
2787Linn Crosetto)
2788
2789Fixed a problem where the CreateField and CreateXXXField operators would 
2790incorrectly allow duplicate names (the name of the field) with no exception 
2791generated.
2792
2793Implemented several changes for Notify handling. Added support for new Notify 
2794values (ACPI 2.0+) and improved the Notify debug output. Notify on 
2795PowerResource objects is no longer allowed, as per the ACPI specification. 
2796(Bob Moore, Zhang Rui)
2797
2798All Reference Objects returned via the AcpiEvaluateObject interface are now 
2799marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
2800NULL objects - either NULL package elements or unresolved named references.
2801
2802Fixed a problem where an extraneous debug message was produced for package 
2803objects (when debugging enabled). The message "Package List length larger 
2804than NumElements count" is now produced in the correct case, and is now an 
2805error message rather than a debug message. Added a debug message for the 
2806opposite case, where NumElements is larger than the Package List (the package 
2807will be padded out with NULL elements as per the ACPI spec.)
2808
2809Implemented several improvements for the output of the ASL "Debug" object to 
2810clarify and keep all data for a given object on one output line.
2811
2812Fixed two size calculation issues with the variable-length Start Dependent 
2813resource descriptor.
2814
2815Example Code and Data Size: These are the sizes for the OS-independent 
2816acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2817debug version of the code includes the debug output trace mechanism and has 
2818a much larger code and data size.
2819
2820  Previous Release:
2821    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2822    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2823  Current Release:
2824    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2825    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2826
28272) iASL Compiler/Disassembler and Tools:
2828
2829Fixed a problem with the use of the Switch operator where execution of the 
2830containing method by multiple concurrent threads could cause an 
2831AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
2832actual Switch opcode, it must be simulated with local named temporary 
2833variables and if/else pairs. The solution chosen was to mark any method that 
2834uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
2835
2836----------------------------------------
283713 February 2008. Summary of changes for version 20080213:
2838
28391) ACPI CA Core Subsystem:
2840
2841Implemented another MS compatibility design change for GPE/Notify handling. 
2842GPEs are now cleared/enabled asynchronously to allow all pending notifies to 
2843complete first. It is expected that the OSL will queue the enable request 
2844behind all pending notify requests (may require changes to the local host OSL 
2845in AcpiOsExecute). Alexey Starikovskiy.
2846
2847Fixed a problem where buffer and package objects passed as arguments to a 
2848control method via the external AcpiEvaluateObject interface could cause an 
2849AE_AML_INTERNAL exception depending on the order and type of operators 
2850executed by the target control method.
2851
2852Fixed a problem where resource descriptor size optimization could cause a 
2853problem when a _CRS resource template is passed to a _SRS method. The _SRS 
2854resource template must use the same descriptors (with the same size) as 
2855returned from _CRS. This change affects the following resource descriptors: 
2856IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
2857
2858Fixed a problem where a CopyObject to RegionField, BankField, and IndexField 
2859objects did not perform an implicit conversion as it should. These types must 
2860retain their initial type permanently as per the ACPI specification. However, 
2861a CopyObject to all other object types should not perform an implicit 
2862conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2863
2864Fixed a problem with the AcpiGetDevices interface where the mechanism to 
2865match device CIDs did not examine the entire list of available CIDs, but 
2866instead aborted on the first non-matching CID. Andrew Patterson.
2867
2868Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
2869inadvertently changed to return a 16-bit value instead of a 32-bit value, 
2870truncating the upper dword of a 64-bit value. This macro is only used to 
2871display debug output, so no incorrect calculations were made. Also, 
2872reimplemented the macro so that a 64-bit shift is not performed by 
2873inefficient compilers.
2874
2875Added missing va_end statements that should correspond with each va_start 
2876statement.
2877
2878Example Code and Data Size: These are the sizes for the OS-independent 
2879acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2880debug version of the code includes the debug output trace mechanism and has 
2881a much larger code and data size.
2882
2883  Previous Release:
2884    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2885    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2886  Current Release:
2887    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2888    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2889
28902) iASL Compiler/Disassembler and Tools:
2891
2892Implemented full disassembler support for the following new ACPI tables: 
2893BERT, EINJ, and ERST. Implemented partial disassembler support for the 
2894complicated HEST table. These tables support the Windows Hardware Error 
2895Architecture (WHEA).
2896
2897----------------------------------------
289823 January 2008. Summary of changes for version 20080123:
2899
29001) ACPI CA Core Subsystem:
2901
2902Added the 2008 copyright to all module headers and signons. This affects 
2903virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2904the tools/utilities.
2905
2906Fixed a problem with the SizeOf operator when used with Package and Buffer 
2907objects. These objects have deferred execution for some arguments, and the 
2908execution is now completed before the SizeOf is executed. This problem caused 
2909unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
29109558
2911
2912Implemented an enhancement to the interpreter "slack mode". In the absence of 
2913an explicit return or an implicitly returned object from the last executed 
2914opcode, a control method will now implicitly return an integer of value 0 for 
2915Microsoft compatibility. (Lin Ming) BZ 392
2916
2917Fixed a problem with the Load operator where an exception was not returned in 
2918the case where the table is already loaded. (Lin Ming) BZ 463
2919
2920Implemented support for the use of DDBHandles as an Indexed Reference, as per 
2921the ACPI spec. (Lin Ming) BZ 486
2922
2923Implemented support for UserTerm (Method invocation) for the Unload operator 
2924as per the ACPI spec. (Lin Ming) BZ 580
2925
2926Fixed a problem with the LoadTable operator where the OemId and OemTableId 
2927input strings could cause unexpected failures if they were shorter than the 
2928maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
2929
2930Implemented support for UserTerm (Method invocation) for the Unload operator 
2931as per the ACPI spec. (Lin Ming) BZ 580
2932
2933Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
2934IBFT, UEFI, WDAT. Disassembler support is forthcoming.
2935
2936Example Code and Data Size: These are the sizes for the OS-independent 
2937acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2938debug version of the code includes the debug output trace mechanism and has 
2939a much larger code and data size.
2940
2941  Previous Release:
2942    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2943    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2944  Current Release:
2945    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2946    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2947
29482) iASL Compiler/Disassembler and Tools:
2949
2950Implemented support in the disassembler for checksum validation on incoming 
2951binary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
2952header dump at the start of the disassembly.
2953
2954Implemented additional debugging information in the namespace listing file 
2955created during compilation. In addition to the namespace hierarchy, the full 
2956pathname to each namespace object is displayed.
2957
2958Fixed a problem with the disassembler where invalid ACPI tables could cause 
2959faults or infinite loops.
2960
2961Fixed an unexpected parse error when using the optional "parameter types" 
2962list in a control method declaration. (Lin Ming) BZ 397
2963
2964Fixed a problem where two External declarations with the same name did not 
2965cause an error (Lin Ming) BZ 509
2966
2967Implemented support for full TermArgs (adding Argx, Localx and method 
2968invocation) for the ParameterData parameter to the LoadTable operator. (Lin 
2969Ming) BZ 583,587
2970
2971----------------------------------------
297219 December 2007. Summary of changes for version 20071219:
2973
29741) ACPI CA Core Subsystem:
2975
2976Implemented full support for deferred execution for the TermArg string 
2977arguments for DataTableRegion. This enables forward references and full 
2978operand resolution for the three string arguments. Similar to OperationRegion 
2979deferred argument execution.) Lin Ming. BZ 430
2980
2981Implemented full argument resolution support for the BankValue argument to 
2982BankField. Previously, only constants were supported, now any TermArg may be 
2983used. Lin Ming BZ 387, 393
2984
2985Fixed a problem with AcpiGetDevices where the search of a branch of the 
2986device tree could be terminated prematurely. In accordance with the ACPI 
2987specification, the search down the current branch is terminated if a device 
2988is both not present and not functional (instead of just not present.) Yakui 
2989Zhao.
2990
2991Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
2992the underlying AML code changed the GPE enable registers. Now, any unknown 
2993incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
2994instead of simply ignored. Rui Zhang.
2995
2996Fixed a problem with Index Fields where the Index register was incorrectly 
2997limited to a maximum of 32 bits. Now any size may be used.
2998
2999Fixed a couple memory leaks associated with "implicit return" objects when 
3000the AML Interpreter slack mode is enabled. Lin Ming BZ 349
3001
3002Example Code and Data Size: These are the sizes for the OS-independent 
3003acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3004debug version of the code includes the debug output trace mechanism and has 
3005a much larger code and data size.
3006
3007  Previous Release:
3008    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3009    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3010  Current Release:
3011    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3012    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3013
3014----------------------------------------
301514 November 2007. Summary of changes for version 20071114:
3016
30171) ACPI CA Core Subsystem:
3018
3019Implemented event counters for each of the Fixed Events, the ACPI SCI 
3020(interrupt) itself, and control methods executed. Named 
3021AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
3022should be useful for debugging and statistics.
3023
3024Implemented a new external interface, AcpiGetStatistics, to retrieve the 
3025contents of the various event counters. Returns the current values for 
3026AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
3027AcpiMethodCount. The interface can be expanded in the future if new counters 
3028are added. Device drivers should use this interface rather than access the 
3029counters directly.
3030
3031Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
3032the ShortDivide function worked incorrectly, causing problems with the BCD 
3033functions with large input values. A truncation from 64-bit to 32-bit 
3034inadvertently occurred. Internal BZ 435. Lin Ming
3035
3036Fixed a problem with Index references passed as method arguments. References 
3037passed as arguments to control methods were dereferenced immediately (before 
3038control was passed to the called method). The references are now correctly 
3039passed directly to the called method. BZ 5389. Lin Ming
3040
3041Fixed a problem with CopyObject used in conjunction with the Index operator. 
3042The reference was incorrectly dereferenced before the copy. The reference is 
3043now correctly copied. BZ 5391. Lin Ming
3044
3045Fixed a problem with Control Method references within Package objects. These 
3046references are now correctly generated. This completes the package 
3047construction overhaul that began in version 20071019.
3048
3049Example Code and Data Size: These are the sizes for the OS-independent 
3050acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3051debug version of the code includes the debug output trace mechanism and has 
3052a much larger code and data size.
3053
3054  Previous Release:
3055    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3056    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3057  Current Release:
3058    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3059    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3060
3061
30622) iASL Compiler/Disassembler and Tools:
3063
3064The AcpiExec utility now installs handlers for all of the predefined 
3065Operation Region types. New types supported are: PCI_Config, CMOS, and 
3066PCIBARTarget.
3067
3068Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
3069bit) address fields for the DSDT and FACS within the FADT were not being 
3070used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
3071and Bob Moore
3072
3073----------------------------------------
307419 October 2007. Summary of changes for version 20071019:
3075
30761) ACPI CA Core Subsystem:
3077
3078Fixed a problem with the Alias operator when the target of the alias is a 
3079named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
3080Processor, and ThermalZone. In these cases, any children of the original 
3081operator could not be accessed via the alias, potentially causing unexpected 
3082AE_NOT_FOUND exceptions. (BZ 9067)
3083
3084Fixed a problem with the Package operator where all named references were 
3085created as object references and left otherwise unresolved. According to the 
3086ACPI specification, a Package can only contain Data Objects or references to 
3087control methods. The implication is that named references to Data Objects 
3088(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
3089immediately upon package creation. This is the approach taken with this 
3090change. References to all other named objects (Methods, Devices, Scopes, 
3091etc.) are all now properly created as reference objects. (BZ 5328)
3092
3093Reverted a change to Notify handling that was introduced in version 
309420070508. This version changed the Notify handling from asynchronous to 
3095fully synchronous (Device driver Notify handling with respect to the Notify 
3096ASL operator). It was found that this change caused more problems than it 
3097solved and was removed by most users.
3098
3099Fixed a problem with the Increment and Decrement operators where the type of 
3100the target object could be unexpectedly and incorrectly changed. (BZ 353) 
3101Lin Ming.
3102
3103Fixed a problem with the Load and LoadTable operators where the table 
3104location within the namespace was ignored. Instead, the table was always 
3105loaded into the root or current scope. Lin Ming.
3106
3107Fixed a problem with the Load operator when loading a table from a buffer 
3108object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
3109
3110Fixed a problem with the Debug object where a store of a DdbHandle reference 
3111object to the Debug object could cause a fault.
3112
3113Added a table checksum verification for the Load operator, in the case where 
3114the load is from a buffer. (BZ 578).
3115
3116Implemented additional parameter validation for the LoadTable operator. The 
3117length of the input strings SignatureString, OemIdString, and OemTableId are 
3118now checked for maximum lengths. (BZ 582) Lin Ming.
3119
3120Example Code and Data Size: These are the sizes for the OS-independent 
3121acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3122debug version of the code includes the debug output trace mechanism and has 
3123a much larger code and data size.
3124
3125  Previous Release:
3126    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3127    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3128  Current Release:
3129    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3130    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3131
3132
31332) iASL Compiler/Disassembler:
3134
3135Fixed a problem where if a single file was specified and the file did not 
3136exist, no error message was emitted. (Introduced with wildcard support in 
3137version 20070917.)
3138
3139----------------------------------------
314019 September 2007. Summary of changes for version 20070919:
3141
31421) ACPI CA Core Subsystem:
3143
3144Designed and implemented new external interfaces to install and remove 
3145handlers for ACPI table-related events. Current events that are defined are 
3146LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
3147they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
3148AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
3149
3150Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
3151(acpi_serialized option on Linux) could cause some systems to hang during 
3152initialization. (Bob Moore) BZ 8171
3153
3154Fixed a problem where objects of certain types (Device, ThermalZone, 
3155Processor, PowerResource) can be not found if they are declared and 
3156referenced from within the same control method (Lin Ming) BZ 341
3157
3158Example Code and Data Size: These are the sizes for the OS-independent 
3159acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3160debug version of the code includes the debug output trace mechanism and has 
3161a much larger code and data size.
3162
3163  Previous Release:
3164    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3165    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3166  Current Release:
3167    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3168    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3169
3170
31712) iASL Compiler/Disassembler:
3172
3173Implemented support to allow multiple files to be compiled/disassembled in a 
3174single invocation. This includes command line wildcard support for both the 
3175Windows and Unix versions of the compiler. This feature simplifies the 
3176disassembly and compilation of multiple ACPI tables in a single directory.
3177
3178----------------------------------------
317908 May 2007. Summary of changes for version 20070508:
3180
31811) ACPI CA Core Subsystem:
3182
3183Implemented a Microsoft compatibility design change for the handling of the 
3184Notify AML operator. Previously, notify handlers were dispatched and 
3185executed completely asynchronously in a deferred thread. The new design 
3186still executes the notify handlers in a different thread, but the original 
3187thread that executed the Notify() now waits at a synchronization point for 
3188the notify handler to complete. Some machines depend on a synchronous Notify 
3189operator in order to operate correctly.
3190
3191Implemented support to allow Package objects to be passed as method 
3192arguments to the external AcpiEvaluateObject interface. Previously, this 
3193would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
3194implemented since there were no reserved control methods that required it 
3195until recently.
3196
3197Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
3198contained invalid non-zero values in reserved fields could cause later 
3199failures because these fields have meaning in later revisions of the FADT. 
3200For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
3201are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
3202
3203Fixed a problem where the Global Lock handle was not properly updated if a 
3204thread that acquired the Global Lock via executing AML code then attempted 
3205to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
3206Liu.
3207
3208Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
3209could be corrupted if the interrupt being removed was at the head of the 
3210list. Reported by Linn Crosetto.
3211
3212Example Code and Data Size: These are the sizes for the OS-independent 
3213acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3214debug version of the code includes the debug output trace mechanism and has 
3215a much larger code and data size.
3216
3217  Previous Release:
3218    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3219    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3220  Current Release:
3221    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3222    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3223
3224----------------------------------------
322520 March 2007. Summary of changes for version 20070320:
3226
32271) ACPI CA Core Subsystem:
3228
3229Implemented a change to the order of interpretation and evaluation of AML 
3230operand objects within the AML interpreter. The interpreter now evaluates 
3231operands in the order that they appear in the AML stream (and the 
3232corresponding ASL code), instead of in the reverse order (after the entire 
3233operand list has been parsed). The previous behavior caused several subtle 
3234incompatibilities with the Microsoft AML interpreter as well as being 
3235somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
3236
3237Implemented a change to the ACPI Global Lock support. All interfaces to the 
3238global lock now allow the same thread to acquire the lock multiple times. 
3239This affects the AcpiAcquireGlobalLock external interface to the global lock 
3240as well as the internal use of the global lock to support AML fields -- a 
3241control method that is holding the global lock can now simultaneously access 
3242AML fields that require global lock protection. Previously, in both cases, 
3243this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
3244AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
3245Controller. There is no change to the behavior of the AML Acquire operator, 
3246as this can already be used to acquire a mutex multiple times by the same 
3247thread. BZ 8066. With assistance from Alexey Starikovskiy.
3248
3249Fixed a problem where invalid objects could be referenced in the AML 
3250Interpreter after error conditions. During operand evaluation, ensure that 
3251the internal "Return Object" field is cleared on error and only valid 
3252pointers are stored there. Caused occasional access to deleted objects that 
3253resulted in "large reference count" warning messages. Valery Podrezov.
3254
3255Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
3256deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
3257Podrezov.
3258
3259Fixed an internal problem with the handling of result objects on the 
3260interpreter result stack. BZ 7872. Valery Podrezov.
3261
3262Removed obsolete code that handled the case where AML_NAME_OP is the target 
3263of a reference (Reference.Opcode). This code was no longer necessary. BZ 
32647874. Valery Podrezov.
3265
3266Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
3267remnant from the previously discontinued 16-bit support.
3268
3269Example Code and Data Size: These are the sizes for the OS-independent 
3270acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3271debug version of the code includes the debug output trace mechanism and has 
3272a much larger code and data size.
3273
3274  Previous Release:
3275    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3276    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3277  Current Release:
3278    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3279    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3280
3281----------------------------------------
328226 January 2007. Summary of changes for version 20070126:
3283
32841) ACPI CA Core Subsystem:
3285
3286Added the 2007 copyright to all module headers and signons. This affects 
3287virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3288the utilities.
3289
3290Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
3291during a table load. A bad pointer was passed in the case where the DSDT is 
3292overridden, causing a fault in this case.
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:  78.0K Code, 17.1K Data,  95.1K Total
3301    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3302  Current Release:
3303    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3304    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3305
3306----------------------------------------
330715 December 2006. Summary of changes for version 20061215:
3308
33091) ACPI CA Core Subsystem:
3310
3311Support for 16-bit ACPICA has been completely removed since it is no longer 
3312necessary and it clutters the code. All 16-bit macros, types, and 
3313conditional compiles have been removed, cleaning up and simplifying the code 
3314across the entire subsystem. DOS support is no longer needed since the 
3315bootable Linux firmware kit is now available.
3316
3317The handler for the Global Lock is now removed during AcpiTerminate to 
3318enable a clean subsystem restart, via the implementation of the 
3319AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
3320HP)
3321
3322Implemented enhancements to the multithreading support within the debugger 
3323to enable improved multithreading debugging and evaluation of the subsystem. 
3324(Valery Podrezov)
3325
3326Debugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
3327memory used during the execution, as well as the maximum memory consumed by 
3328each of the various object types. (Valery Podrezov)
3329
3330Example Code and Data Size: These are the sizes for the OS-independent 
3331acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3332debug version of the code includes the debug output trace mechanism and has 
3333a much larger code and data size.
3334
3335  Previous Release:
3336    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3337    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3338  Current Release:
3339    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3340    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3341
3342
33432) iASL Compiler/Disassembler and Tools:
3344
3345AcpiExec: Implemented a new option (-m) to display full memory use 
3346statistics upon subsystem/program termination. (Valery Podrezov)
3347
3348----------------------------------------
334909 November 2006. Summary of changes for version 20061109:
3350
33511) ACPI CA Core Subsystem:
3352
3353Optimized the Load ASL operator in the case where the source operand is an 
3354operation region. Simply map the operation region memory, instead of 
3355performing a bytewise read. (Region must be of type SystemMemory, see 
3356below.)
3357
3358Fixed the Load ASL operator for the case where the source operand is a 
3359region field. A buffer object is also allowed as the source operand. BZ 480
3360
3361Fixed a problem where the Load ASL operator allowed the source operand to be 
3362an operation region of any type. It is now restricted to regions of type 
3363SystemMemory, as per the ACPI specification. BZ 481
3364
3365Additional cleanup and optimizations for the new Table Manager code.
3366
3367AcpiEnable will now fail if all of the required ACPI tables are not loaded 
3368(FADT, FACS, DSDT). BZ 477
3369
3370Added #pragma pack(8/4) to acobject.h to ensure that the structures in this 
3371header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
3372manually optimized to be aligned and will not work if it is byte-packed. 
3373
3374Example Code and Data Size: These are the sizes for the OS-independent 
3375acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3376debug version of the code includes the debug output trace mechanism and has 
3377a much larger code and data size.
3378
3379  Previous Release:
3380    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3381    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3382  Current Release:
3383    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3384    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3385
3386
33872) iASL Compiler/Disassembler and Tools:
3388
3389Fixed a problem where the presence of the _OSI predefined control method 
3390within complex expressions could cause an internal compiler error.
3391
3392AcpiExec: Implemented full region support for multiple address spaces. 
3393SpaceId is now part of the REGION object. BZ 429
3394
3395----------------------------------------
339611 October 2006. Summary of changes for version 20061011:
3397
33981) ACPI CA Core Subsystem:
3399
3400Completed an AML interpreter performance enhancement for control method 
3401execution. Previously a 2-pass parse/execution, control methods are now 
3402completely parsed and executed in a single pass. This improves overall 
3403interpreter performance by ~25%, reduces code size, and reduces CPU stack 
3404use. (Valery Podrezov + interpreter changes in version 20051202 that 
3405eliminated namespace loading during the pass one parse.)
3406
3407Implemented _CID support for PCI Root Bridge detection. If the _HID does not 
3408match the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
3409obtained and also checked for an ID match.
3410
3411Implemented additional support for the PCI _ADR execution: upsearch until a 
3412device scope is found before executing _ADR. This allows PCI_Config 
3413operation regions to be declared locally within control methods underneath 
3414PCI device objects.
3415
3416Fixed a problem with a possible race condition between threads executing 
3417AcpiWalkNamespace and the AML interpreter. This condition was removed by 
3418modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
3419entries created during any concurrent control method execution. An 
3420additional namespace race condition is known to exist between 
3421AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
3422investigation.
3423
3424Restructured the AML ParseLoop function, breaking it into several 
3425subfunctions in order to reduce CPU stack use and improve maintainability. 
3426(Mikhail Kouzmich)
3427
3428AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
3429of prefix handle and pathname. BZ 478
3430
3431Example Code and Data Size: These are the sizes for the OS-independent 
3432acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3433debug version of the code includes the debug output trace mechanism and has 
3434a much larger code and data size.
3435
3436  Previous Release:
3437    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3438    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3439  Current Release:
3440    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3441    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3442
34432) iASL Compiler/Disassembler and Tools:
3444
3445Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager 
3446to restore original behavior.
3447
3448----------------------------------------
344927 September 2006. Summary of changes for version 20060927:
3450
34511) ACPI CA Core Subsystem:
3452
3453Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
3454These functions now use a spinlock for mutual exclusion and the interrupt 
3455level indication flag is not needed.
3456
3457Fixed a problem with the Global Lock where the lock could appear to be 
3458obtained before it is actually obtained. The global lock semaphore was 
3459inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
3460Suietov.
3461
3462Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
3463a read from a buffer or region field. (BZ 458) Fiodor Suietov.
3464
3465Example Code and Data Size: These are the sizes for the OS-independent 
3466acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3467debug version of the code includes the debug output trace mechanism and has 
3468a much larger code and data size.
3469
3470  Previous Release:
3471    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3472    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3473  Current Release:
3474    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3475    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3476
3477
34782) iASL Compiler/Disassembler and Tools:
3479
3480Fixed a compilation problem with the pre-defined Resource Descriptor field 
3481names where an "object does not exist" error could be incorrectly generated 
3482if the parent ResourceTemplate pathname places the template within a 
3483different namespace scope than the current scope. (BZ 7212)
3484
3485Fixed a problem where the compiler could hang after syntax errors detected 
3486in an ElseIf construct. (BZ 453)
3487
3488Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
3489operator. An incorrect output filename was produced when this parameter was 
3490a null string (""). Now, the original input filename is used as the AML 
3491output filename, with an ".aml" extension.
3492
3493Implemented a generic batch command mode for the AcpiExec utility (execute 
3494any AML debugger command) (Valery Podrezov).
3495
3496----------------------------------------
349712 September 2006. Summary of changes for version 20060912:
3498
34991) ACPI CA Core Subsystem:
3500
3501Enhanced the implementation of the "serialized mode" of the interpreter 
3502(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
3503specified, instead of creating a serialization semaphore per control method, 
3504the interpreter lock is simply no longer released before a blocking 
3505operation during control method execution. This effectively makes the AML 
3506Interpreter single-threaded. The overhead of a semaphore per-method is 
3507eliminated.
3508
3509Fixed a regression where an error was no longer emitted if a control method 
3510attempts to create 2 objects of the same name. This once again returns 
3511AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
3512will dynamically serialize the control method to possible prevent future 
3513errors. (BZ 440)
3514
3515Integrated a fix for a problem with PCI Express HID detection in the PCI 
3516Config Space setup procedure. (BZ 7145)
3517
3518Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
3519AcpiHwInitialize function - the FADT registers are now validated when the 
3520table is loaded.
3521
3522Added two new warnings during FADT verification - 1) if the FADT is larger 
3523than the largest known FADT version, and 2) if there is a mismatch between a 
352432-bit block address and the 64-bit X counterpart (when both are non-zero.)
3525
3526Example Code and Data Size: These are the sizes for the OS-independent 
3527acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3528debug version of the code includes the debug output trace mechanism and has 
3529a much larger code and data size.
3530
3531  Previous Release:
3532    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3533    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3534  Current Release:
3535    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3536    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3537
3538
35392) iASL Compiler/Disassembler and Tools:
3540
3541Fixed a problem with the implementation of the Switch() operator where the 
3542temporary variable was declared too close to the actual Switch, instead of 
3543at method level. This could cause a problem if the Switch() operator is 
3544within a while loop, causing an error on the second iteration. (BZ 460)
3545
3546Disassembler - fix for error emitted for unknown type for target of scope 
3547operator. Now, ignore it and continue.
3548
3549Disassembly of an FADT now verifies the input FADT and reports any errors 
3550found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3551
3552Disassembly of raw data buffers with byte initialization data now prefixes 
3553each output line with the current buffer offset.
3554
3555Disassembly of ASF! table now includes all variable-length data fields at 
3556the end of some of the subtables.
3557
3558The disassembler now emits a comment if a buffer appears to be a 
3559ResourceTemplate, but cannot be disassembled as such because the EndTag does 
3560not appear at the very end of the buffer.
3561
3562AcpiExec - Added the "-t" command line option to enable the serialized mode 
3563of the AML interpreter.
3564
3565----------------------------------------
356631 August 2006. Summary of changes for version 20060831:
3567
35681) ACPI CA Core Subsystem:
3569
3570Miscellaneous fixes for the Table Manager:
3571- Correctly initialize internal common FADT for all 64-bit "X" fields
3572- Fixed a couple table mapping issues during table load
3573- Fixed a couple alignment issues for IA64
3574- Initialize input array to zero in AcpiInitializeTables
3575- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
3576AcpiGetTableByIndex
3577
3578Change for GPE support: when a "wake" GPE is received, all wake GPEs are now 
3579immediately disabled to prevent the waking GPE from firing again and to 
3580prevent other wake GPEs from interrupting the wake process.
3581
3582Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
3583be used for debugging systems with a large number of ACPI interrupts.
3584
3585Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
3586both the ACPICA headers and the disassembler.
3587
3588Example Code and Data Size: These are the sizes for the OS-independent 
3589acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3590debug version of the code includes the debug output trace mechanism and has 
3591a much larger code and data size.
3592
3593  Previous Release:
3594    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3595    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3596  Current Release:
3597    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3598    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3599
3600
36012) iASL Compiler/Disassembler and Tools:
3602
3603Disassembler support for the DMAR ACPI table.
3604
3605----------------------------------------
360623 August 2006. Summary of changes for version 20060823:
3607
36081) ACPI CA Core Subsystem:
3609
3610The Table Manager component has been completely redesigned and 
3611reimplemented. The new design is much simpler, and reduces the overall code 
3612and data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
3613now possible to obtain the ACPI tables very early during kernel 
3614initialization, even before dynamic memory management is initialized. 
3615(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3616
3617Obsolete ACPICA interfaces:
3618
3619- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
3620time).
3621- AcpiLoadTable: Not needed.
3622- AcpiUnloadTable: Not needed.
3623
3624New ACPICA interfaces:
3625
3626- AcpiInitializeTables: Must be called before the table manager can be used.
3627- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
3628allocated memory after it becomes available.
3629- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
3630in the RSDT/XSDT.
3631
3632Other ACPICA changes:
3633
3634- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
3635AcpiOsUnmapMemory to free this mapping.
3636- AcpiGetTable returns the actual mapped table. The mapping is managed 
3637internally and must not be deleted by the caller. Use of this interface 
3638causes no additional dynamic memory allocation.
3639- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
3640it appeared to be unused.
3641- The interface to AcpiOsMapMemory has changed to be consistent with the 
3642other allocation interfaces.
3643- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
3644parameters.
3645- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
3646bit platforms. Was previously 64 bits on all platforms.
3647- The interface to the ACPI Global Lock acquire/release macros have changed 
3648slightly since ACPICA no longer keeps a local copy of the FACS with a 
3649constructed pointer to the actual global lock.
3650
3651Porting to the new table manager:
3652
3653- AcpiInitializeTables: Must be called once, and can be called anytime 
3654during the OS initialization process. It allows the host to specify an area 
3655of memory to be used to store the internal version of the RSDT/XSDT (root 
3656table). This allows the host to access ACPI tables before memory management 
3657is initialized and running.
3658- AcpiReallocateRootTable: Can be called after memory management is running 
3659to copy the root table to a dynamically allocated array, freeing up the 
3660scratch memory specified in the call to AcpiInitializeTables.
3661- AcpiSubsystemInitialize: This existing interface is independent of the 
3662Table Manager, and does not have to be called before the Table Manager can 
3663be used, it only must be called before the rest of ACPICA can be used.
3664- ACPI Tables: Some changes have been made to the names and structure of the 
3665actbl.h and actbl1.h header files and may require changes to existing code. 
3666For example, bitfields have been completely removed because of their lack of 
3667portability across C compilers.
3668- Update interfaces to the Global Lock acquire/release macros if local 
3669versions are used. (see acwin.h)
3670
3671Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
3672
3673New files: tbfind.c
3674
3675Example Code and Data Size: These are the sizes for the OS-independent 
3676acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3677debug version of the code includes the debug output trace mechanism and has 
3678a much larger code and data size.
3679
3680  Previous Release:
3681    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3682    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3683  Current Release:
3684    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3685    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3686
3687
36882) iASL Compiler/Disassembler and Tools:
3689
3690No changes for this release.
3691
3692----------------------------------------
369321 July 2006. Summary of changes for version 20060721:
3694
36951) ACPI CA Core Subsystem:
3696
3697The full source code for the ASL test suite used to validate the iASL 
3698compiler and the ACPICA core subsystem is being released with the ACPICA 
3699source for the first time. The source is contained in a separate package and 
3700consists of over 1100 files that exercise all ASL/AML operators. The package 
3701should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
3702Suietov)
3703
3704Completed a new design and implementation for support of the ACPI Global 
3705Lock. On the OS side, the global lock is now treated as a standard AML 
3706mutex. Previously, multiple OS threads could "acquire" the global lock 
3707simultaneously. However, this could cause the BIOS to be starved out of the 
3708lock - especially in cases such as the Embedded Controller driver where 
3709there is a tight coupling between the OS and the BIOS.
3710
3711Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
3712The Global Lock interrupt handler no longer queues the execution of a 
3713separate thread to signal the global lock semaphore. Instead, the semaphore 
3714is signaled directly from the interrupt handler.
3715
3716Implemented support within the AML interpreter for package objects that 
3717contain a larger AML length (package list length) than the package element 
3718count. In this case, the length of the package is truncated to match the 
3719package element count. Some BIOS code apparently modifies the package length 
3720on the fly, and this change supports this behavior. Provides compatibility 
3721with the MS AML interpreter. (With assistance from Fiodor Suietov)
3722
3723Implemented a temporary fix for the BankValue parameter of a Bank Field to 
3724support all constant values, now including the Zero and One opcodes. 
3725Evaluation of this parameter must eventually be converted to a full TermArg 
3726evaluation. A not-implemented error is now returned (temporarily) for non-
3727constant values for this parameter.
3728
3729Fixed problem reports (Fiodor Suietov) integrated:
3730- Fix for premature object deletion after CopyObject on Operation Region (BZ 
3731350)
3732
3733Example Code and Data Size: These are the sizes for the OS-independent 
3734acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3735debug version of the code includes the debug output trace mechanism and has 
3736a much larger code and data size.
3737
3738  Previous Release:
3739    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
3740    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
3741  Current Release:
3742    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3743    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3744
3745
37462) iASL Compiler/Disassembler and Tools:
3747
3748No changes for this release.
3749
3750----------------------------------------
375107 July 2006. Summary of changes for version 20060707:
3752
37531) ACPI CA Core Subsystem:
3754
3755Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
3756that do not allow the initialization of address pointers within packed 
3757structures - even though the hardware itself may support misaligned 
3758transfers. Some of the debug data structures are packed by default to 
3759minimize size.
3760
3761Added an error message for the case where AcpiOsGetThreadId() returns zero. 
3762A non-zero value is required by the core ACPICA code to ensure the proper 
3763operation of AML mutexes and recursive control methods.
3764
3765The DSDT is now the only ACPI table that determines whether the AML 
3766interpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
3767the hooks for per-table 32/64 switching have been removed from the code. A 
3768clarification to the ACPI specification is forthcoming in ACPI 3.0B.
3769
3770Fixed a possible leak of an OwnerID in the error path of 
3771AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
3772deletion to a single place in AcpiTbUninstallTable to correct possible leaks 
3773when using the AcpiTbDeleteTablesByType interface (with assistance from 
3774Lance Ortiz.)
3775
3776Fixed a problem with Serialized control methods where the semaphore 
3777associated with the method could be over-signaled after multiple method 
3778invocations.
3779
3780Fixed two issues with the locking of the internal namespace data structure. 
3781Both the Unload() operator and AcpiUnloadTable interface now lock the 
3782namespace during the namespace deletion associated with the table unload 
3783(with assistance from Linn Crosetto.)
3784
3785Fixed problem reports (Valery Podrezov) integrated:
3786- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
3787
3788Fixed problem reports (Fiodor Suietov) integrated:
3789- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
3790- On Address Space handler deletion, needless deactivation call (BZ 374)
3791- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
3792- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
3793(BZ 376)
3794- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
3795- Minimum Length of RSDT should be validated (BZ 379)
3796- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
3797Handler (BZ (380)
3798- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
3799(BZ 381)
3800
3801Example Code and Data Size: These are the sizes for the OS-independent 
3802acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3803debug version of the code includes the debug output trace mechanism and has 
3804a much larger code and data size.
3805
3806  Previous Release:
3807    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3808    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3809  Current Release:
3810    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3811    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3812
3813
38142) iASL Compiler/Disassembler and Tools:
3815
3816Fixed problem reports:
3817Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
3818436)
3819
3820----------------------------------------
382123 June 2006. Summary of changes for version 20060623:
3822
38231) ACPI CA Core Subsystem:
3824
3825Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
3826allows the type to be customized to the host OS for improved efficiency 
3827(since a spinlock is usually a very small object.)
3828
3829Implemented support for "ignored" bits in the ACPI registers. According to 
3830the ACPI specification, these bits should be preserved when writing the 
3831registers via a read/modify/write cycle. There are 3 bits preserved in this 
3832manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
3833
3834Implemented the initial deployment of new OSL mutex interfaces. Since some 
3835host operating systems have separate mutex and semaphore objects, this 
3836feature was requested. The base code now uses mutexes (and the new mutex 
3837interfaces) wherever a binary semaphore was used previously. However, for 
3838the current release, the mutex interfaces are defined as macros to map them 
3839to the existing semaphore interfaces. Therefore, no OSL changes are required 
3840at this time. (See acpiosxf.h)
3841
3842Fixed several problems with the support for the control method SyncLevel 
3843parameter. The SyncLevel now works according to the ACPI specification and 
3844in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
3845is a property of the executing thread. Mutual exclusion for control methods 
3846is now implemented with a mutex instead of a semaphore.
3847
3848Fixed three instances of the use of the C shift operator in the bitfield 
3849support code (exfldio.c) to avoid the use of a shift value larger than the 
3850target data width. The behavior of C compilers is undefined in this case and 
3851can cause unpredictable results, and therefore the case must be detected and 
3852avoided. (Fiodor Suietov)
3853
3854Added an info message whenever an SSDT or OEM table is loaded dynamically 
3855via the Load() or LoadTable() ASL operators. This should improve debugging 
3856capability since it will show exactly what tables have been loaded (beyond 
3857the tables present in the RSDT/XSDT.)
3858
3859Example Code and Data Size: These are the sizes for the OS-independent 
3860acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3861debug version of the code includes the debug output trace mechanism and has 
3862a much larger code and data size.
3863
3864  Previous Release:
3865    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3866    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3867  Current Release:
3868    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3869    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3870
3871
38722) iASL Compiler/Disassembler and Tools:
3873
3874No changes for this release.
3875
3876----------------------------------------
387708 June 2006. Summary of changes for version 20060608:
3878
38791) ACPI CA Core Subsystem:
3880
3881Converted the locking mutex used for the ACPI hardware to a spinlock. This 
3882change should eliminate all problems caused by attempting to acquire a 
3883semaphore at interrupt level, and it means that all ACPICA external 
3884interfaces that directly access the ACPI hardware can be safely called from 
3885interrupt level. OSL code that implements the semaphore interfaces should be 
3886able to eliminate any workarounds for being called at interrupt level.
3887
3888Fixed a regression introduced in 20060526 where the ACPI device 
3889initialization could be prematurely aborted with an AE_NOT_FOUND if a device 
3890did not have an optional _INI method.
3891
3892Fixed an IndexField issue where a write to the Data Register should be 
3893limited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
3894Fiodor Suietov)
3895
3896Fixed problem reports (Valery Podrezov) integrated:
3897- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
3898
3899Fixed problem reports (Fiodor Suietov) integrated:
3900- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
3901
3902Removed four global mutexes that were obsolete and were no longer being 
3903used.
3904
3905Example Code and Data Size: These are the sizes for the OS-independent 
3906acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3907debug version of the code includes the debug output trace mechanism and has 
3908a much larger code and data size.
3909
3910  Previous Release:
3911    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3912    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3913  Current Release:
3914    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3915    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3916
3917
39182) iASL Compiler/Disassembler and Tools:
3919
3920Fixed a fault when using -g option (get tables from registry) on Windows 
3921machines.
3922
3923Fixed problem reports integrated:
3924- Generate error if CreateField NumBits parameter is zero. (BZ 405)
3925- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
3926Suietov)
3927- Global table revision override (-r) is ignored (BZ 413)
3928
3929----------------------------------------
393026 May 2006. Summary of changes for version 20060526:
3931
39321) ACPI CA Core Subsystem:
3933
3934Restructured, flattened, and simplified the internal interfaces for 
3935namespace object evaluation - resulting in smaller code, less CPU stack use, 
3936and fewer interfaces. (With assistance from Mikhail Kouzmich)
3937
3938Fixed a problem with the CopyObject operator where the first parameter was 
3939not typed correctly for the parser, interpreter, compiler, and disassembler. 
3940Caused various errors and unexpected behavior.
3941
3942Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
3943produced incorrect results with some C compilers. Since the behavior of C 
3944compilers when the shift value is larger than the datatype width is 
3945apparently not well defined, the interpreter now detects this condition and 
3946simply returns zero as expected in all such cases. (BZ 395)
3947
3948Fixed problem reports (Valery Podrezov) integrated:
3949- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
3950- Allow interpreter to handle nested method declarations (BZ 5361)
3951
3952Fixed problem reports (Fiodor Suietov) integrated:
3953- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
3954- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
3955- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
3956- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
3957- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
3958- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
3959- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
3960- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
3961- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
3962- Status of the Global Initialization Handler call not used (BZ 366)
3963- Incorrect object parameter to Global Initialization Handler (BZ 367)
3964
3965Example Code and Data Size: These are the sizes for the OS-independent 
3966acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3967debug version of the code includes the debug output trace mechanism and has 
3968a much larger code and data size.
3969
3970  Previous Release:
3971    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3972    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3973  Current Release:
3974    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3975    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3976
3977
39782) iASL Compiler/Disassembler and Tools:
3979
3980Modified the parser to allow the names IO, DMA, and IRQ to be used as 
3981namespace identifiers with no collision with existing resource descriptor 
3982macro names. This provides compatibility with other ASL compilers and is 
3983most useful for disassembly/recompilation of existing tables without parse 
3984errors. (With assistance from Thomas Renninger)
3985
3986Disassembler: fixed an incorrect disassembly problem with the 
3987DataTableRegion and CopyObject operators. Fixed a possible fault during 
3988disassembly of some Alias operators.
3989
3990----------------------------------------
399112 May 2006. Summary of changes for version 20060512:
3992
39931) ACPI CA Core Subsystem:
3994
3995Replaced the AcpiOsQueueForExecution interface with a new interface named 
3996AcpiOsExecute. The major difference is that the new interface does not have 
3997a Priority parameter, this appeared to be useless and has been replaced by a 
3998Type parameter. The Type tells the host what type of execution is being 
3999requested, such as global lock handler, notify handler, GPE handler, etc. 
4000This allows the host to queue and execute the request as appropriate for the 
4001request type, possibly using different work queues and different priorities 
4002for the various request types. This enables fixes for multithreading 
4003deadlock problems such as BZ #5534, and will require changes to all existing 
4004OS interface layers. (Alexey Starikovskiy and Bob Moore)
4005
4006Fixed a possible memory leak associated with the support for the so-called 
4007"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
4008Suietov)
4009
4010Fixed a problem with the Load() operator where a table load from an 
4011operation region could overwrite an internal table buffer by up to 7 bytes 
4012and cause alignment faults on IPF systems. (With assistance from Luming Yu)
4013
4014Example Code and Data Size: These are the sizes for the OS-independent 
4015acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4016debug version of the code includes the debug output trace mechanism and has 
4017a much larger code and data size.
4018
4019  Previous Release:
4020    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4021    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4022  Current Release:
4023    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4024    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4025
4026
4027
40282) iASL Compiler/Disassembler and Tools:
4029
4030Disassembler: Implemented support to cross reference the internal namespace 
4031and automatically generate ASL External() statements for symbols not defined 
4032within the current table being disassembled. This will simplify the 
4033disassembly and recompilation of interdependent tables such as SSDTs since 
4034these statements will no longer have to be added manually.
4035
4036Disassembler: Implemented experimental support to automatically detect 
4037invocations of external control methods and generate appropriate External() 
4038statements. This is problematic because the AML cannot be correctly parsed 
4039until the number of arguments for each control method is known. Currently, 
4040standalone method invocations and invocations as the source operand of a 
4041Store() statement are supported.
4042
4043Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
4044LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
4045LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
4046more readable and likely closer to the original ASL source.
4047
4048----------------------------------------
404921 April 2006. Summary of changes for version 20060421:
4050
40511) ACPI CA Core Subsystem:
4052
4053Removed a device initialization optimization introduced in 20051216 where 
4054the _STA method was not run unless an _INI was also present for the same 
4055device. This optimization could cause problems because it could allow _INI 
4056methods to be run within a not-present device subtree. (If a not-present 
4057device had no _INI, _STA would not be run, the not-present status would not 
4058be discovered, and the children of the device would be incorrectly 
4059traversed.)
4060
4061Implemented a new _STA optimization where namespace subtrees that do not 
4062contain _INI are identified and ignored during device initialization. 
4063Selectively running _STA can significantly improve boot time on large 
4064machines (with assistance from Len Brown.)
4065
4066Implemented support for the device initialization case where the returned 
4067_STA flags indicate a device not-present but functioning. In this case, _INI 
4068is not run, but the device children are examined for presence, as per the 
4069ACPI specification.
4070
4071Implemented an additional change to the IndexField support in order to 
4072conform to MS behavior. The value written to the Index Register is not 
4073simply a byte offset, it is a byte offset in units of the access width of 
4074the parent Index Field. (Fiodor Suietov)
4075
4076Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
4077interface is called during the creation of all AML operation regions, and 
4078allows the host OS to exert control over what addresses it will allow the 
4079AML code to access. Operation Regions whose addresses are disallowed will 
4080cause a runtime exception when they are actually accessed (will not affect 
4081or abort table loading.) See oswinxf or osunixxf for an example 
4082implementation.
4083
4084Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
4085interface allows the host OS to match the various "optional" 
4086interface/behavior strings for the _OSI predefined control method as 
4087appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
4088for an example implementation.
4089
4090Restructured and corrected various problems in the exception handling code 
4091paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
4092(with assistance from Takayoshi Kochi.)
4093
4094Modified the Linux source converter to ignore quoted string literals while 
4095converting identifiers from mixed to lower case. This will correct problems 
4096with the disassembler and other areas where such strings must not be 
4097modified.
4098
4099The ACPI_FUNCTION_* macros no longer require quotes around the function 
4100name. This allows the Linux source converter to convert the names, now that 
4101the converter ignores quoted strings.
4102
4103Example Code and Data Size: These are the sizes for the OS-independent 
4104acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4105debug version of the code includes the debug output trace mechanism and has 
4106a much larger code and data size.
4107
4108  Previous Release:
4109
4110    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4111    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4112  Current Release:
4113    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4114    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4115
4116
41172) iASL Compiler/Disassembler and Tools:
4118
4119Implemented 3 new warnings for iASL, and implemented multiple warning levels 
4120(w2 flag).
4121
41221) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
4123WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
4124check for the possible timeout, a warning is issued.
4125
41262) Useless operators: If an ASL operator does not specify an optional target 
4127operand and it also does not use the function return value from the 
4128operator, a warning is issued since the operator effectively does nothing.
4129
41303) Unreferenced objects: If a namespace object is created, but never 
4131referenced, a warning is issued. This is a warning level 2 since there are 
4132cases where this is ok, such as when a secondary table is loaded that uses 
4133the unreferenced objects. Even so, care is taken to only flag objects that 
4134don't look like they will ever be used. For example, the reserved methods 
4135(starting with an underscore) are usually not referenced because it is 
4136expected that the OS will invoke them.
4137
4138----------------------------------------
413931 March 2006. Summary of changes for version 20060331:
4140
41411) ACPI CA Core Subsystem:
4142
4143Implemented header file support for the following additional ACPI tables: 
4144ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
4145all current and known ACPI tables are now defined in the ACPICA headers and 
4146are available for use by device drivers and other software.
4147
4148Implemented support to allow tables that contain ACPI names with invalid 
4149characters to be loaded. Previously, this would cause the table load to 
4150fail, but since there are several known cases of such tables on existing 
4151machines, this change was made to enable ACPI support for them. Also, this 
4152matches the behavior of the Microsoft ACPI implementation.
4153
4154Fixed a couple regressions introduced during the memory optimization in the 
415520060317 release. The namespace node definition required additional 
4156reorganization and an internal datatype that had been changed to 8-bit was 
4157restored to 32-bit. (Valery Podrezov)
4158
4159Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
4160could be passed through to AcpiOsReleaseObject which is unexpected. Such 
4161null pointers are now trapped and ignored, matching the behavior of the 
4162previous implementation before the deployment of AcpiOsReleaseObject.
4163(Valery Podrezov, Fiodor Suietov)
4164
4165Fixed a memory mapping leak during the deletion of a SystemMemory operation 
4166region where a cached memory mapping was not deleted. This became a 
4167noticeable problem for operation regions that are defined within frequently 
4168used control methods. (Dana Meyers)
4169
4170Reorganized the ACPI table header files into two main files: one for the 
4171ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
4172ACPI tables that are consumed by the drivers and other software. The various 
4173FADT definitions were merged into one common section and three different 
4174tables (ACPI 1.0, 1.0+, and 2.0)
4175
4176Example Code and Data Size: These are the sizes for the OS-independent 
4177acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4178debug version of the code includes the debug output trace mechanism and has 
4179a much larger code and data size.
4180
4181  Previous Release:
4182    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4183    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4184  Current Release:
4185    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4186    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4187
4188
41892) iASL Compiler/Disassembler and Tools:
4190
4191Disassembler: Implemented support to decode and format all non-AML ACPI 
4192tables (tables other than DSDTs and SSDTs.) This includes the new tables 
4193added to the ACPICA headers, therefore all current and known ACPI tables are 
4194supported.
4195
4196Disassembler: The change to allow ACPI names with invalid characters also 
4197enables the disassembly of such tables. Invalid characters within names are 
4198changed to '*' to make the name printable; the iASL compiler will still 
4199generate an error for such names, however, since this is an invalid ACPI 
4200character.
4201
4202Implemented an option for AcpiXtract (-a) to extract all tables found in the 
4203input file. The default invocation extracts only the DSDTs and SSDTs.
4204
4205Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
4206makefile for the AcpiXtract utility.
4207
4208----------------------------------------
420917 March 2006. Summary of changes for version 20060317:
4210
42111) ACPI CA Core Subsystem:
4212
4213Implemented the use of a cache object for all internal namespace nodes. 
4214Since there are about 1000 static nodes in a typical system, this will 
4215decrease memory use for cache implementations that minimize per-allocation 
4216overhead (such as a slab allocator.)
4217
4218Removed the reference count mechanism for internal namespace nodes, since it 
4219was deemed unnecessary. This reduces the size of each namespace node by 
4220about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
4221and 32 bytes for the 64-bit case.
4222
4223Optimized several internal data structures to reduce object size on 64-bit 
4224platforms by packing data within the 64-bit alignment. This includes the 
4225frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
4226instances corresponding to the namespace objects.
4227
4228Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
4229and "Windows 2006".
4230
4231Split the allocation tracking mechanism out to a separate file, from 
4232utalloc.c to uttrack.c. This mechanism appears to be only useful for 
4233application-level code. Kernels may wish to not include uttrack.c in 
4234distributions.
4235
4236Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated 
4237code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
4238macros.)
4239
4240Code and Data Size: These are the sizes for the acpica.lib produced by the 
4241Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4242driver or OSPM code. The debug version of the code includes the debug output 
4243trace mechanism and has a much larger code and data size. Note that these 
4244values will vary depending on the efficiency of the compiler and the 
4245compiler options used during generation.
4246
4247  Previous Release:
4248    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4249    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4250  Current Release:
4251    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4252    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4253
4254
42552) iASL Compiler/Disassembler and Tools:
4256
4257Implemented an ANSI C version of the acpixtract utility. This version will 
4258automatically extract the DSDT and all SSDTs from the input acpidump text 
4259file and dump the binary output to separate files. It can also display a 
4260summary of the input file including the headers for each table found and 
4261will extract any single ACPI table, with any signature. (See 
4262source/tools/acpixtract)
4263
4264----------------------------------------
426510 March 2006. Summary of changes for version 20060310:
4266
42671) ACPI CA Core Subsystem:
4268
4269Tagged all external interfaces to the subsystem with the new 
4270ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
4271kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
4272macro. The default definition is NULL.
4273
4274Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
4275This allows the host to define this as necessary to simplify kernel 
4276integration. The default definition is ACPI_NATIVE_UINT.
4277
4278Fixed two interpreter problems related to error processing, the deletion of 
4279objects, and placing invalid pointers onto the internal operator result 
4280stack. BZ 6028, 6151 (Valery Podrezov)
4281
4282Increased the reference count threshold where a warning is emitted for large 
4283reference counts in order to eliminate unnecessary warnings on systems with 
4284large namespaces (especially 64-bit.) Increased the value from 0x400 to 
42850x800.
4286
4287Due to universal disagreement as to the meaning of the 'c' in the calloc() 
4288function, the ACPI_MEM_CALLOCATE macro has been renamed to 
4289ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
4290ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
4291ACPI_FREE.
4292
4293Code and Data Size: These are the sizes for the acpica.lib produced by the 
4294Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4295driver or OSPM code. The debug version of the code includes the debug output 
4296trace mechanism and has a much larger code and data size. Note that these 
4297values will vary depending on the efficiency of the compiler and the 
4298compiler options used during generation.
4299
4300  Previous Release:
4301    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4302    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4303  Current Release:
4304    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4305    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4306
4307
43082) iASL Compiler/Disassembler:
4309
4310Disassembler: implemented support for symbolic resource descriptor 
4311references. If a CreateXxxxField operator references a fixed offset within a 
4312resource descriptor, a name is assigned to the descriptor and the offset is 
4313translated to the appropriate resource tag and pathname. The addition of 
4314this support brings the disassembled code very close to the original ASL 
4315source code and helps eliminate run-time errors when the disassembled code 
4316is modified (and recompiled) in such a way as to invalidate the original 
4317fixed offsets.
4318
4319Implemented support for a Descriptor Name as the last parameter to the ASL 
4320Register() macro. This parameter was inadvertently left out of the ACPI 
4321specification, and will be added for ACPI 3.0b.
4322
4323Fixed a problem where the use of the "_OSI" string (versus the full path 
4324"\_OSI") caused an internal compiler error. ("No back ptr to op")
4325
4326Fixed a problem with the error message that occurs when an invalid string is 
4327used for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
4328The correct message is now displayed.
4329
4330----------------------------------------
433117 February 2006. Summary of changes for version 20060217:
4332
43331) ACPI CA Core Subsystem:
4334
4335Implemented a change to the IndexField support to match the behavior of the 
4336Microsoft AML interpreter. The value written to the Index register is now a 
4337byte offset, no longer an index based upon the width of the Data register. 
4338This should fix IndexField problems seen on some machines where the Data 
4339register is not exactly one byte wide. The ACPI specification will be 
4340clarified on this point.
4341
4342Fixed a problem where several resource descriptor types could overrun the 
4343internal descriptor buffer due to size miscalculation: VendorShort, 
4344VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
4345affect all platforms.
4346
4347Fixed a problem where individual resource descriptors were misaligned within 
4348the internal buffer, causing alignment faults on IA64 platforms.
4349
4350Code and Data Size: These are the sizes for the acpica.lib produced by the 
4351Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4352driver or OSPM code. The debug version of the code includes the debug output 
4353trace mechanism and has a much larger code and data size. Note that these 
4354values will vary depending on the efficiency of the compiler and the 
4355compiler options used during generation.
4356
4357  Previous Release:
4358    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4359    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4360  Current Release:
4361    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4362    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4363
4364
43652) iASL Compiler/Disassembler:
4366
4367Implemented support for new reserved names: _WDG and _WED are Microsoft 
4368extensions for Windows Instrumentation Management, _TDL is a new ACPI-
4369defined method (Throttling Depth Limit.)
4370
4371Fixed a problem where a zero-length VendorShort or VendorLong resource 
4372descriptor was incorrectly emitted as a descriptor of length one.
4373
4374----------------------------------------
437510 February 2006. Summary of changes for version 20060210:
4376
43771) ACPI CA Core Subsystem:
4378
4379Removed a couple of extraneous ACPI_ERROR messages that appeared during 
4380normal execution. These became apparent after the conversion from 
4381ACPI_DEBUG_PRINT.
4382
4383Fixed a problem where the CreateField operator could hang if the BitIndex or 
4384NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4385
4386Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
4387failed with an exception. This also fixes a couple of related RefOf and 
4388DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
4389
4390Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
4391AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
43925480)
4393
4394Implemented a memory cleanup at the end of the execution of each iteration 
4395of an AML While() loop, preventing the accumulation of outstanding objects. 
4396(Valery Podrezov, BZ 5427)
4397
4398Eliminated a chunk of duplicate code in the object resolution code. (Valery 
4399Podrezov, BZ 5336)
4400
4401Fixed several warnings during the 64-bit code generation.
4402
4403The AcpiSrc source code conversion tool now inserts one line of whitespace 
4404after an if() statement that is followed immediately by a comment, improving 
4405readability of the Linux code.
4406
4407Code and Data Size: The current and previous library sizes for the core 
4408subsystem are shown below. These are the code and data sizes for the 
4409acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4410values do not include any ACPI driver or OSPM code. The debug version of the 
4411code includes the debug output trace mechanism and has a much larger code 
4412and data size. Note that these values will vary depending on the efficiency 
4413of the compiler and the compiler options used during generation.
4414
4415  Previous Release:
4416    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4417    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4418  Current Release:
4419    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4420    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4421
4422
44232) iASL Compiler/Disassembler:
4424
4425Fixed a problem with the disassembly of a BankField operator with a complex 
4426expression for the BankValue parameter.
4427
4428----------------------------------------
442927 January 2006. Summary of changes for version 20060127:
4430
44311) ACPI CA Core Subsystem:
4432
4433Implemented support in the Resource Manager to allow unresolved namestring 
4434references within resource package objects for the _PRT method. This support 
4435is in addition to the previously implemented unresolved reference support 
4436within the AML parser. If the interpreter slack mode is enabled, these 
4437unresolved references will be passed through to the caller as a NULL package 
4438entry.
4439
4440Implemented and deployed new macros and functions for error and warning 
4441messages across the subsystem. These macros are simpler and generate less 
4442code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
4443ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
4444macros remain defined to allow ACPI drivers time to migrate to the new 
4445macros.
4446
4447Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
4448Acquire/Release Lock OSL interfaces.
4449
4450Fixed a problem where Alias ASL operators are sometimes not correctly 
4451resolved, in both the interpreter and the iASL compiler.
4452
4453Fixed several problems with the implementation of the ConcatenateResTemplate 
4454ASL operator. As per the ACPI specification, zero length buffers are now 
4455treated as a single EndTag. One-length buffers always cause a fatal 
4456exception. Non-zero length buffers that do not end with a full 2-byte EndTag 
4457cause a fatal exception.
4458
4459Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
4460interface. (With assistance from Thomas Renninger)
4461
4462Code and Data Size: The current and previous library sizes for the core 
4463subsystem are shown below. These are the code and data sizes for the 
4464acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4465values do not include any ACPI driver or OSPM code. The debug version of the 
4466code includes the debug output trace mechanism and has a much larger code 
4467and data size. Note that these values will vary depending on the efficiency 
4468of the compiler and the compiler options used during generation.
4469
4470  Previous Release:
4471    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4472    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4473  Current Release:
4474    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4475    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4476
4477
44782) iASL Compiler/Disassembler:
4479
4480Fixed an internal error that was generated for any forward references to ASL 
4481Alias objects.
4482
4483----------------------------------------
448413 January 2006. Summary of changes for version 20060113:
4485
44861) ACPI CA Core Subsystem:
4487
4488Added 2006 copyright to all module headers and signons. This affects 
4489virtually every file in the ACPICA core subsystem, iASL compiler, and the 
4490utilities.
4491 
4492Enhanced the ACPICA error reporting in order to simplify user migration to 
4493the non-debug version of ACPICA. Replaced all instances of the 
4494ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
4495levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
4496respectively. This preserves all error and warning messages in the non-debug 
4497version of the ACPICA code (this has been referred to as the "debug lite" 
4498option.) Over 200 cases were converted to create a total of over 380 
4499error/warning messages across the ACPICA code. This increases the code and 
4500data size of the default non-debug version of the code somewhat (about 13K), 
4501but all error/warning reporting may be disabled if desired (and code 
4502eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
4503configuration option. The size of the debug version of ACPICA remains about 
4504the same.
4505
4506Fixed a memory leak within the AML Debugger "Set" command. One object was 
4507not properly deleted for every successful invocation of the command.
4508
4509Code and Data Size: The current and previous library sizes for the core 
4510subsystem are shown below. These are the code and data sizes for the 
4511acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4512values do not include any ACPI driver or OSPM code. The debug version of the 
4513code includes the debug output trace mechanism and has a much larger code 
4514and data size. Note that these values will vary depending on the efficiency 
4515of the compiler and the compiler options used during generation.
4516
4517  Previous Release:
4518    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4519    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4520  Current Release:
4521    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4522    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4523
4524
45252) iASL Compiler/Disassembler:
4526
4527The compiler now officially supports the ACPI 3.0a specification that was 
4528released on December 30, 2005. (Specification is available at www.acpi.info)
4529
4530----------------------------------------
453116 December 2005. Summary of changes for version 20051216:
4532
45331) ACPI CA Core Subsystem:
4534
4535Implemented optional support to allow unresolved names within ASL Package 
4536objects. A null object is inserted in the package when a named reference 
4537cannot be located in the current namespace. Enabled via the interpreter 
4538slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
4539that contain such code.
4540
4541Implemented an optimization to the initialization sequence that can improve 
4542boot time. During ACPI device initialization, the _STA method is now run if 
4543and only if the _INI method exists. The _STA method is used to determine if 
4544the device is present; An _INI can only be run if _STA returns present, but 
4545it is a waste of time to run the _STA method if the _INI does not exist. 
4546(Prototype and assistance from Dong Wei)
4547
4548Implemented use of the C99 uintptr_t for the pointer casting macros if it is 
4549available in the current compiler. Otherwise, the default (void *) cast is 
4550used as before.
4551
4552Fixed some possible memory leaks found within the execution path of the 
4553Break, Continue, If, and CreateField operators. (Valery Podrezov)
4554
4555Fixed a problem introduced in the 20051202 release where an exception is 
4556generated during method execution if a control method attempts to declare 
4557another method.
4558
4559Moved resource descriptor string constants that are used by both the AML 
4560disassembler and AML debugger to the common utilities directory so that 
4561these components are independent.
4562
4563Implemented support in the AcpiExec utility (-e switch) to globally ignore 
4564exceptions during control method execution (method is not aborted.)
4565
4566Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
4567generation.
4568
4569Code and Data Size: The current and previous library sizes for the core 
4570subsystem are shown below. These are the code and data sizes for the 
4571acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4572values do not include any ACPI driver or OSPM code. The debug version of the 
4573code includes the debug output trace mechanism and has a much larger code 
4574and data size. Note that these values will vary depending on the efficiency 
4575of the compiler and the compiler options used during generation.
4576
4577  Previous Release:
4578    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4579    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4580  Current Release:
4581    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4582    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4583
4584
45852) iASL Compiler/Disassembler:
4586
4587Fixed a problem where a CPU stack overflow fault could occur if a recursive 
4588method call was made from within a Return statement.
4589
4590----------------------------------------
459102 December 2005. Summary of changes for version 20051202:
4592
45931) ACPI CA Core Subsystem:
4594
4595Modified the parsing of control methods to no longer create namespace 
4596objects during the first pass of the parse. Objects are now created only 
4597during the execute phase, at the moment the namespace creation operator is 
4598encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
4599should eliminate ALREADY_EXISTS exceptions seen on some machines where 
4600reentrant control methods are protected by an AML mutex. The mutex will now 
4601correctly block multiple threads from attempting to create the same object 
4602more than once.
4603
4604Increased the number of available Owner Ids for namespace object tracking 
4605from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
4606some machines with a large number of ACPI tables (either static or dynamic).
4607
4608Fixed a problem with the AcpiExec utility where a fault could occur when the 
4609-b switch (batch mode) is used.
4610
4611Enhanced the namespace dump routine to output the owner ID for each 
4612namespace object.
4613
4614Code and Data Size: The current and previous library sizes for the core 
4615subsystem are shown below. These are the code and data sizes for the 
4616acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4617values do not include any ACPI driver or OSPM code. The debug version of the 
4618code includes the debug output trace mechanism and has a much larger code 
4619and data size. Note that these values will vary depending on the efficiency 
4620of the compiler and the compiler options used during generation.
4621
4622  Previous Release:
4623    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4624    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4625  Current Release:
4626    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4627    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4628
4629
46302) iASL Compiler/Disassembler:
4631
4632Fixed a parse error during compilation of certain Switch/Case constructs. To 
4633simplify the parse, the grammar now allows for multiple Default statements 
4634and this error is now detected and flagged during the analysis phase.
4635
4636Disassembler: The disassembly now includes the contents of the original 
4637table header within a comment at the start of the file. This includes the 
4638name and version of the original ASL compiler.
4639
4640----------------------------------------
464117 November 2005. Summary of changes for version 20051117:
4642
46431) ACPI CA Core Subsystem:
4644
4645Fixed a problem in the AML parser where the method thread count could be 
4646decremented below zero if any errors occurred during the method parse phase. 
4647This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
4648This also fixed a related regression with the mechanism that detects and 
4649corrects methods that cannot properly handle reentrancy (related to the 
4650deployment of the new OwnerId mechanism.)
4651
4652Eliminated the pre-parsing of control methods (to detect errors) during 
4653table load. Related to the problem above, this was causing unwind issues if 
4654any errors occurred during the parse, and it seemed to be overkill. A table 
4655load should not be aborted if there are problems with any single control 
4656method, thus rendering this feature rather pointless.
4657
4658Fixed a problem with the new table-driven resource manager where an internal 
4659buffer overflow could occur for small resource templates.
4660
4661Implemented a new external interface, AcpiGetVendorResource. This interface 
4662will find and return a vendor-defined resource descriptor within a _CRS or 
4663_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
4664
4665Removed the length limit (200) on string objects as per the upcoming ACPI 
46663.0A specification. This affects the following areas of the interpreter: 1) 
4667any implicit conversion of a Buffer to a String, 2) a String object result 
4668of the ASL Concatentate operator, 3) the String object result of the ASL 
4669ToString operator.
4670
4671Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
4672on a semaphore object would incorrectly timeout. This allows the 
4673multithreading features of the AcpiExec utility to work properly under 
4674Windows.
4675
4676Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
4677the recently added file named "utresrc.c".
4678
4679Code and Data Size: The current and previous library sizes for the core 
4680subsystem are shown below. These are the code and data sizes for the 
4681acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4682values do not include any ACPI driver or OSPM code. The debug version of the 
4683code includes the debug output trace mechanism and has a much larger code 
4684and data size. Note that these values will vary depending on the efficiency 
4685of the compiler and the compiler options used during generation.
4686
4687  Previous Release:
4688    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4689    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4690  Current Release:
4691    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4692    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4693
4694
46952) iASL Compiler/Disassembler:
4696
4697Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
4698specification. For the iASL compiler, this means that string literals within 
4699the source ASL can be of any length. 
4700
4701Enhanced the listing output to dump the AML code for resource descriptors 
4702immediately after the ASL code for each descriptor, instead of in a block at 
4703the end of the entire resource template.
4704
4705Enhanced the compiler debug output to dump the entire original parse tree 
4706constructed during the parse phase, before any transforms are applied to the 
4707tree. The transformed tree is dumped also.
4708
4709----------------------------------------
471002 November 2005. Summary of changes for version 20051102:
4711
47121) ACPI CA Core Subsystem:
4713
4714Modified the subsystem initialization sequence to improve GPE support. The 
4715GPE initialization has been split into two parts in order to defer execution 
4716of the _PRW methods (Power Resources for Wake) until after the hardware is 
4717fully initialized and the SCI handler is installed. This allows the _PRW 
4718methods to access fields protected by the Global Lock. This will fix systems 
4719where a NO_GLOBAL_LOCK exception has been seen during initialization.
4720
4721Converted the ACPI internal object disassemble and display code within the 
4722AML debugger to fully table-driven operation, reducing code size and 
4723increasing maintainability.
4724
4725Fixed a regression with the ConcatenateResTemplate() ASL operator introduced 
4726in the 20051021 release.
4727
4728Implemented support for "local" internal ACPI object types within the 
4729debugger "Object" command and the AcpiWalkNamespace external interfaces. 
4730These local types include RegionFields, BankFields, IndexFields, Alias, and 
4731reference objects.
4732
4733Moved common AML resource handling code into a new file, "utresrc.c". This 
4734code is shared by both the Resource Manager and the AML Debugger.
4735
4736Code and Data Size: The current and previous library sizes for the core 
4737subsystem are shown below. These are the code and data sizes for the 
4738acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4739values do not include any ACPI driver or OSPM code. The debug version of the 
4740code includes the debug output trace mechanism and has a much larger code 
4741and data size. Note that these values will vary depending on the efficiency 
4742of the compiler and the compiler options used during generation.
4743
4744  Previous Release:
4745    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4746    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4747  Current Release:
4748    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4749    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4750
4751
47522) iASL Compiler/Disassembler:
4753
4754Fixed a problem with very large initializer lists (more than 4000 elements) 
4755for both Buffer and Package objects where the parse stack could overflow.
4756
4757Enhanced the pre-compile source code scan for non-ASCII characters to ignore 
4758characters within comment fields. The scan is now always performed and is no 
4759longer optional, detecting invalid characters within a source file 
4760immediately rather than during the parse phase or later.
4761
4762Enhanced the ASL grammar definition to force early reductions on all list-
4763style grammar elements so that the overall parse stack usage is greatly 
4764reduced. This should improve performance and reduce the possibility of parse 
4765stack overflow.
4766
4767Eliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
4768with the addition of a %expected statement, the compiler generates from 
4769source with no warnings.
4770
4771Fixed a possible segment fault in the disassembler if the input filename 
4772does not contain a "dot" extension (Thomas Renninger).
4773
4774----------------------------------------
477521 October 2005. Summary of changes for version 20051021:
4776
47771) ACPI CA Core Subsystem:
4778
4779Implemented support for the EM64T and other x86-64 processors. This 
4780essentially entails recognizing that these processors support non-aligned 
4781memory transfers. Previously, all 64-bit processors were assumed to lack 
4782hardware support for non-aligned transfers.
4783
4784Completed conversion of the Resource Manager to nearly full table-driven 
4785operation. Specifically, the resource conversion code (convert AML to 
4786internal format and the reverse) and the debug code to dump internal 
4787resource descriptors are fully table-driven, reducing code and data size and 
4788improving maintainability.
4789
4790The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
4791on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
4792Alexey Starikovskiy)
4793
4794Implemented support within the resource conversion code for the Type-
4795Specific byte within the various ACPI 3.0 *WordSpace macros.
4796
4797Fixed some issues within the resource conversion code for the type-specific 
4798flags for both Memory and I/O address resource descriptors. For Memory, 
4799implemented support for the MTP and TTP flags. For I/O, split the TRS and 
4800TTP flags into two separate fields.
4801
4802Code and Data Size: The current and previous library sizes for the core 
4803subsystem are shown below. These are the code and data sizes for the 
4804acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4805values do not include any ACPI driver or OSPM code. The debug version of the 
4806code includes the debug output trace mechanism and has a much larger code 
4807and data size. Note that these values will vary depending on the efficiency 
4808of the compiler and the compiler options used during generation.
4809
4810  Previous Release:
4811    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4812    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4813  Current Release:
4814    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4815    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4816
4817
4818
48192) iASL Compiler/Disassembler:
4820
4821Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
4822corresponding ResourceSource string was not also present in a resource 
4823descriptor declaration. This restriction caused problems with existing 
4824AML/ASL code that includes the Index byte without the string. When such AML 
4825was disassembled, it could not be compiled without modification. Further, 
4826the modified code created a resource template with a different size than the 
4827original, breaking code that used fixed offsets into the resource template 
4828buffer.
4829
4830Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
4831byte. This byte is now emitted if present so that the exact AML can be 
4832reproduced when the disassembled code is recompiled.
4833
4834Improved comments and text alignment for the resource descriptor code 
4835emitted by the disassembler.
4836
4837Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
4838Register() resource descriptor.
4839
4840----------------------------------------
484130 September 2005. Summary of changes for version 20050930:
4842
48431) ACPI CA Core Subsystem:
4844
4845Completed a major overhaul of the Resource Manager code - specifically, 
4846optimizations in the area of the AML/internal resource conversion code. The 
4847code has been optimized to simplify and eliminate duplicated code, CPU stack 
4848use has been decreased by optimizing function parameters and local 
4849variables, and naming conventions across the manager have been standardized 
4850for clarity and ease of maintenance (this includes function, parameter, 
4851variable, and struct/typedef names.) The update may force changes in some 
4852driver code, depending on how resources are handled by the host OS.
4853
4854All Resource Manager dispatch and information tables have been moved to a 
4855single location for clarity and ease of maintenance. One new file was 
4856created, named "rsinfo.c".
4857
4858The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
4859guarantee that the argument is not evaluated twice, making them less prone 
4860to macro side-effects. However, since there exists the possibility of 
4861additional stack use if a particular compiler cannot optimize them (such as 
4862in the debug generation case), the original macros are optionally available.  
4863Note that some invocations of the return_VALUE macro may now cause size 
4864mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
4865eliminate these. (From Randy Dunlap)
4866
4867Implemented a new mechanism to enable debug tracing for individual control 
4868methods. A new external interface, AcpiDebugTrace, is provided to enable 
4869this mechanism. The intent is to allow the host OS to easily enable and 
4870disable tracing for problematic control methods. This interface can be 
4871easily exposed to a user or debugger interface if desired. See the file 
4872psxface.c for details.
4873
4874AcpiUtCallocate will now return a valid pointer if a length of zero is 
4875specified - a length of one is used and a warning is issued. This matches 
4876the behavior of AcpiUtAllocate.
4877
4878Code and Data Size: The current and previous library sizes for the core 
4879subsystem are shown below. These are the code and data sizes for the 
4880acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4881values do not include any ACPI driver or OSPM code. The debug version of the 
4882code includes the debug output trace mechanism and has a much larger code 
4883and data size. Note that these values will vary depending on the efficiency 
4884of the compiler and the compiler options used during generation.
4885
4886  Previous Release:
4887    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4888    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4889  Current Release:
4890    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4891    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4892
4893
48942) iASL Compiler/Disassembler:
4895
4896A remark is issued if the effective compile-time length of a package or 
4897buffer is zero. Previously, this was a warning.
4898
4899----------------------------------------
490016 September 2005. Summary of changes for version 20050916:
4901
49021) ACPI CA Core Subsystem:
4903
4904Fixed a problem within the Resource Manager where support for the Generic 
4905Register descriptor was not fully implemented. This descriptor is now fully 
4906recognized, parsed, disassembled, and displayed.
4907
4908Completely restructured the Resource Manager code to utilize table-driven 
4909dispatch and lookup, eliminating many of the large switch() statements. This 
4910reduces overall subsystem code size and code complexity. Affects the 
4911resource parsing and construction, disassembly, and debug dump output.
4912
4913Cleaned up and restructured the debug dump output for all resource 
4914descriptors. Improved readability of the output and reduced code size.
4915
4916Fixed a problem where changes to internal data structures caused the 
4917optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
4918
4919Code and Data Size: The current and previous library sizes for the core 
4920subsystem are shown below. These are the code and data sizes for the 
4921acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4922values do not include any ACPI driver or OSPM code. The debug version of the 
4923code includes the debug output trace mechanism and has a much larger code 
4924and data size. Note that these values will vary depending on the efficiency 
4925of the compiler and the compiler options used during generation.
4926
4927  Previous Release:
4928    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4929    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4930  Current Release:
4931    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4932    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4933
4934
49352) iASL Compiler/Disassembler:
4936
4937Updated the disassembler to automatically insert an EndDependentFn() macro 
4938into the ASL stream if this macro is missing in the original AML code, 
4939simplifying compilation of the resulting ASL module.
4940
4941Fixed a problem in the disassembler where a disassembled ResourceSource 
4942string (within a large resource descriptor) was not surrounded by quotes and 
4943not followed by a comma, causing errors when the resulting ASL module was 
4944compiled. Also, escape sequences within a ResourceSource string are now 
4945handled correctly (especially "\\")
4946
4947----------------------------------------
494802 September 2005. Summary of changes for version 20050902:
4949
49501) ACPI CA Core Subsystem:
4951
4952Fixed a problem with the internal Owner ID allocation and deallocation 
4953mechanisms for control method execution and recursive method invocation. 
4954This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
4955messages seen on some systems. Recursive method invocation depth is 
4956currently limited to 255. (Alexey Starikovskiy)
4957
4958Completely eliminated all vestiges of support for the "module-level 
4959executable code" until this support is fully implemented and debugged. This 
4960should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
4961some systems that invoke this support.
4962
4963Fixed a problem within the resource manager code where the transaction flags 
4964for a 64-bit address descriptor were handled incorrectly in the type-
4965specific flag byte.
4966
4967Consolidated duplicate code within the address descriptor resource manager 
4968code, reducing overall subsystem code size.
4969
4970Fixed a fault when using the AML debugger "disassemble" command to 
4971disassemble individual control methods.
4972
4973Removed references to the "release_current" directory within the Unix 
4974release package.
4975
4976Code and Data Size: The current and previous core subsystem library sizes 
4977are shown below. These are the code and data sizes for the acpica.lib 
4978produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
4979include any ACPI driver or OSPM code. The debug version of the code includes 
4980the debug output trace mechanism and has a much larger code and data size. 
4981Note that these values will vary depending on the efficiency of the compiler 
4982and the compiler options used during generation.
4983
4984  Previous Release:
4985    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4986    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4987  Current Release:
4988    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4989    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4990
4991
49922) iASL Compiler/Disassembler:
4993
4994Implemented an error check for illegal duplicate values in the interrupt and 
4995dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
4996Interrupt().
4997
4998Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
4999too many values in the interrupt list (16 max) and invalid values in the 
5000list (range 0 - 15)
5001
5002The maximum length string literal within an ASL file is now restricted to 
5003200 characters as per the ACPI specification.
5004
5005Fixed a fault when using the -ln option (generate namespace listing).
5006
5007Implemented an error check to determine if a DescriptorName within a 
5008resource descriptor has already been used within the current scope.
5009
5010----------------------------------------
501115 August 2005.  Summary of changes for version 20050815:
5012 
50131) ACPI CA Core Subsystem:
5014 
5015Implemented a full bytewise compare to determine if a table load request is 
5016attempting to load a duplicate table. The compare is performed if the table 
5017signatures and table lengths match. This will allow different tables with 
5018the same OEM Table ID and revision to be loaded - probably against the ACPI 
5019specification, but discovered in the field nonetheless.
5020 
5021Added the changes.txt logfile to each of the zipped release packages.
5022 
5023Code and Data Size: Current and previous core subsystem library sizes are 
5024shown below. These are the code and data sizes for the acpica.lib produced 
5025by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5026any ACPI driver or OSPM code. The debug version of the code includes the 
5027debug output trace mechanism and has a much larger code and data size. Note 
5028that these values will vary depending on the efficiency of the compiler and 
5029the compiler options used during generation.
5030 
5031  Previous Release:
5032    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5033    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5034  Current Release:
5035    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5036    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5037 
5038 
50392) iASL Compiler/Disassembler:
5040 
5041Fixed a problem where incorrect AML code could be generated for Package 
5042objects if optimization is disabled (via the -oa switch).
5043 
5044Fixed a problem with where incorrect AML code is generated for variable-
5045length packages when the package length is not specified and the number of 
5046initializer values is greater than 255.
5047 
5048
5049----------------------------------------
505029 July 2005.  Summary of changes for version 20050729:
5051
50521) ACPI CA Core Subsystem:
5053
5054Implemented support to ignore an attempt to install/load a particular ACPI 
5055table more than once. Apparently there exists BIOS code that repeatedly 
5056attempts to load the same SSDT upon certain events. With assistance from 
5057Venkatesh Pallipadi.
5058
5059Restructured the main interface to the AML parser in order to correctly 
5060handle all exceptional conditions. This will prevent leakage of the OwnerId 
5061resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
5062machines. With assistance from Alexey Starikovskiy.
5063
5064Support for "module level code" has been disabled in this version due to a 
5065number of issues that have appeared on various machines. The support can be 
5066enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
5067compilation. When the issues are fully resolved, the code will be enabled by 
5068default again.
5069
5070Modified the internal functions for debug print support to define the 
5071FunctionName parameter as a (const char *) for compatibility with compiler 
5072built-in macros such as __FUNCTION__, etc.
5073
5074Linted the entire ACPICA source tree for both 32-bit and 64-bit.
5075
5076Implemented support to display an object count summary for the AML Debugger 
5077commands Object and Methods.
5078
5079Code and Data Size: Current and previous core subsystem library sizes are 
5080shown below. These are the code and data sizes for the acpica.lib produced 
5081by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5082any ACPI driver or OSPM code. The debug version of the code includes the 
5083debug output trace mechanism and has a much larger code and data size. Note 
5084that these values will vary depending on the efficiency of the compiler and 
5085the compiler options used during generation.
5086
5087  Previous Release:
5088    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5089    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5090  Current Release:
5091    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5092    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5093
5094
50952) iASL Compiler/Disassembler:
5096
5097Fixed a regression that appeared in the 20050708 version of the compiler 
5098where an error message was inadvertently emitted for invocations of the _OSI 
5099reserved control method.
5100
5101----------------------------------------
510208 July 2005.  Summary of changes for version 20050708:
5103
51041) ACPI CA Core Subsystem:
5105
5106The use of the CPU stack in the debug version of the subsystem has been 
5107considerably reduced. Previously, a debug structure was declared in every 
5108function that used the debug macros. This structure has been removed in 
5109favor of declaring the individual elements as parameters to the debug 
5110functions. This reduces the cumulative stack use during nested execution of 
5111ACPI function calls at the cost of a small increase in the code size of the 
5112debug version of the subsystem. With assistance from Alexey Starikovskiy and 
5113Len Brown.
5114
5115Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
5116headers to define a macro that will return the current function name at 
5117runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
5118the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
5119compiler-dependent header, the function name is saved on the CPU stack (one 
5120pointer per function.) This mechanism is used because apparently there 
5121exists no standard ANSI-C defined macro that that returns the function name.
5122
5123Redesigned and reimplemented the "Owner ID" mechanism used to track 
5124namespace objects created/deleted by ACPI tables and control method 
5125execution. A bitmap is now used to allocate and free the IDs, thus solving 
5126the wraparound problem present in the previous implementation. The size of 
5127the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
5128Starikovskiy).
5129
5130Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
5131flag definitions within the headers for the predefined ACPI tables. These 
5132have been replaced by UINT8_BIT in order to increase the code portability of 
5133the subsystem. If the use of UINT8 remains a problem, we may be forced to 
5134eliminate bitfields entirely because of a lack of portability.
5135
5136Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
5137is a frequently used function and this improvement increases the performance 
5138of the entire subsystem (Alexey Starikovskiy).
5139
5140Fixed several possible memory leaks and the inverse - premature object 
5141deletion (Alexey Starikovskiy).
5142
5143Code and Data Size: Current and previous core subsystem library sizes are 
5144shown below. These are the code and data sizes for the acpica.lib produced 
5145by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5146any ACPI driver or OSPM code. The debug version of the code includes the 
5147debug output trace mechanism and has a much larger code and data size. Note 
5148that these values will vary depending on the efficiency of the compiler and 
5149the compiler options used during generation.
5150
5151  Previous Release:
5152    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5153    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5154  Current Release:
5155    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5156    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5157
5158----------------------------------------
515924 June 2005.  Summary of changes for version 20050624:
5160
51611) ACPI CA Core Subsystem:
5162
5163Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
5164the host-defined cache object. This allows the OSL implementation to define 
5165and type this object in any manner desired, simplifying the OSL 
5166implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
5167Linux, and should be defined in the OS-specific header file for other 
5168operating systems as required.
5169
5170Changed the interface to AcpiOsAcquireObject to directly return the 
5171requested object as the function return (instead of ACPI_STATUS.) This 
5172change was made for performance reasons, since this is the purpose of the 
5173interface in the first place. AcpiOsAcquireObject is now similar to the 
5174AcpiOsAllocate interface.
5175
5176Implemented a new AML debugger command named Businfo. This command displays 
5177information about all devices that have an associate _PRT object. The _ADR, 
5178_HID, _UID, and _CID are displayed for these devices.
5179
5180Modified the initialization sequence in AcpiInitializeSubsystem to call the 
5181OSL interface AcpiOslInitialize first, before any local initialization. This 
5182change was required because the global initialization now calls OSL 
5183interfaces.
5184
5185Enhanced the Dump command to display the entire contents of Package objects 
5186(including all sub-objects and their values.) 
5187
5188Restructured the code base to split some files because of size and/or 
5189because the code logically belonged in a separate file. New files are listed 
5190below. All makefiles and project files included in the ACPI CA release have 
5191been updated.
5192    utilities/utcache.c           /* Local cache interfaces */
5193    utilities/utmutex.c           /* Local mutex support */
5194    utilities/utstate.c           /* State object support */
5195    interpreter/parser/psloop.c   /* Main AML parse loop */
5196
5197Code and Data Size: Current and previous core subsystem library sizes are 
5198shown below. These are the code and data sizes for the acpica.lib produced 
5199by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5200any ACPI driver or OSPM code. The debug version of the code includes the 
5201debug output trace mechanism and has a much larger code and data size. Note 
5202that these values will vary depending on the efficiency of the compiler and 
5203the compiler options used during generation.
5204
5205  Previous Release:
5206    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5207    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5208  Current Release:
5209    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5210    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5211
5212
52132) iASL Compiler/Disassembler:
5214
5215Fixed a regression introduced in version 20050513 where the use of a Package 
5216object within a Case() statement caused a compile time exception. The 
5217original behavior has been restored (a Match() operator is emitted.)
5218
5219----------------------------------------
522017 June 2005.  Summary of changes for version 20050617:
5221
52221) ACPI CA Core Subsystem:
5223
5224Moved the object cache operations into the OS interface layer (OSL) to allow 
5225the host OS to handle these operations if desired (for example, the Linux 
5226OSL will invoke the slab allocator). This support is optional; the compile 
5227time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
5228code in the ACPI CA core. The new OSL interfaces are shown below. See 
5229utalloc.c for an example implementation, and acpiosxf.h for the exact 
5230interface definitions. With assistance from Alexey Starikovskiy.
5231    AcpiOsCreateCache
5232    AcpiOsDeleteCache
5233    AcpiOsPurgeCache
5234    AcpiOsAcquireObject
5235    AcpiOsReleaseObject
5236
5237Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
5238and restore a flags parameter. This fits better with many OS lock models. 
5239Note: the current execution state (interrupt handler or not) is no longer 
5240passed to these interfaces. If necessary, the OSL must determine this state 
5241by itself, a simple and fast operation. With assistance from Alexey 
5242Starikovskiy.
5243
5244Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
5245present if the revision of the RSDP was 2 or greater. According to the ACPI 
5246specification, the XSDT is optional in all cases, and the table manager 
5247therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
5248Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
5249only the RSDT.
5250
5251Fixed an interpreter problem with the Mid() operator in the case of an input 
5252string where the resulting output string is of zero length. It now correctly 
5253returns a valid, null terminated string object instead of a string object 
5254with a null pointer.
5255
5256Fixed a problem with the control method argument handling to allow a store 
5257to an Arg object that already contains an object of type Device. The Device 
5258object is now correctly overwritten. Previously, an error was returned.
5259
5260
5261Enhanced the debugger Find command to emit object values in addition to the 
5262found object pathnames. The output format is the same as the dump namespace 
5263command.
5264
5265Enhanced the debugger Set command. It now has the ability to set the value 
5266of any Named integer object in the namespace (Previously, only method locals 
5267and args could be set.)
5268
5269Code and Data Size: Current and previous core subsystem library sizes are 
5270shown below. These are the code and data sizes for the acpica.lib produced 
5271by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5272any ACPI driver or OSPM code. The debug version of the code includes the 
5273debug output trace mechanism and has a much larger code and data size. Note 
5274that these values will vary depending on the efficiency of the compiler and 
5275the compiler options used during generation.
5276
5277  Previous Release:
5278    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5279    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5280  Current Release:
5281    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5282    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5283
5284
52852) iASL Compiler/Disassembler:
5286
5287Fixed a regression in the disassembler where if/else/while constructs were 
5288output incorrectly. This problem was introduced in the previous release 
5289(20050526). This problem also affected the single-step disassembly in the 
5290debugger.
5291
5292Fixed a problem where compiling the reserved _OSI method would randomly (but 
5293rarely) produce compile errors.
5294
5295Enhanced the disassembler to emit compilable code in the face of incorrect 
5296AML resource descriptors. If the optional ResourceSourceIndex is present, 
5297but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
5298disassembly. Otherwise, the resulting code cannot be compiled without 
5299errors.
5300
5301----------------------------------------
530226 May 2005.  Summary of changes for version 20050526:
5303
53041) ACPI CA Core Subsystem:
5305
5306Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
5307the module level (not within a control method.) These opcodes are executed 
5308exactly once at the time the table is loaded. This type of code was legal up 
5309until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
5310order to provide backwards compatibility with earlier BIOS implementations. 
5311This eliminates the "Encountered executable code at module level" warning 
5312that was previously generated upon detection of such code.
5313
5314Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
5315inadvertently be generated during the lookup of namespace objects in the 
5316second pass parse of ACPI tables and control methods. It appears that this 
5317problem could occur during the resolution of forward references to namespace 
5318objects.
5319
5320Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
5321corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
5322allows the deadlock detection debug code to be compiled out in the normal 
5323case, improving mutex performance (and overall subsystem performance) 
5324considerably.
5325
5326Implemented a handful of miscellaneous fixes for possible memory leaks on 
5327error conditions and error handling control paths. These fixes were 
5328suggested by FreeBSD and the Coverity Prevent source code analysis tool.
5329
5330Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
5331to prevent a fault in this error case.
5332
5333Code and Data Size: Current and previous core subsystem library sizes are 
5334shown below. These are the code and data sizes for the acpica.lib produced 
5335by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5336any ACPI driver or OSPM code. The debug version of the code includes the 
5337debug output trace mechanism and has a much larger code and data size. Note 
5338that these values will vary depending on the efficiency of the compiler and 
5339the compiler options used during generation.
5340
5341  Previous Release:
5342    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5343    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5344  Current Release:
5345    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5346    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5347
5348
53492) iASL Compiler/Disassembler:
5350
5351Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
5352the module level (not within a control method.) These operators will be 
5353executed once at the time the table is loaded. This type of code was legal 
5354up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
5355compiler in order to provide backwards compatibility with earlier BIOS ASL 
5356code.
5357
5358The ACPI integer width (specified via the table revision ID or the -r 
5359override, 32 or 64 bits) is now used internally during compile-time constant 
5360folding to ensure that constants are truncated to 32 bits if necessary. 
5361Previously, the revision ID value was only emitted in the AML table header.
5362
5363An error message is now generated for the Mutex and Method operators if the 
5364SyncLevel parameter is outside the legal range of 0 through 15.
5365
5366Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
53673.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
5368The actual underlying implementation of method argument typechecking is 
5369still under development, however.
5370
5371----------------------------------------
537213 May 2005.  Summary of changes for version 20050513:
5373
53741) ACPI CA Core Subsystem:
5375
5376Implemented support for PCI Express root bridges -- added support for device 
5377PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
5378
5379The interpreter now automatically truncates incoming 64-bit constants to 32 
5380bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
5381also affects the iASL compiler constant folding. (Note: as per below, the 
5382iASL compiler no longer allows 64-bit constants within 32-bit tables.)
5383
5384Fixed a problem where string and buffer objects with "static" pointers 
5385(pointers to initialization data within an ACPI table) were not handled 
5386consistently. The internal object copy operation now always copies the data 
5387to a newly allocated buffer, regardless of whether the source object is 
5388static or not.
5389
5390Fixed a problem with the FromBCD operator where an implicit result 
5391conversion was improperly performed while storing the result to the target 
5392operand. Since this is an "explicit conversion" operator, the implicit 
5393conversion should never be performed on the output.
5394
5395Fixed a problem with the CopyObject operator where a copy to an existing 
5396named object did not always completely overwrite the existing object stored 
5397at name. Specifically, a buffer-to-buffer copy did not delete the existing 
5398buffer.
5399
5400Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
5401structs for consistency.
5402
5403Code and Data Size: Current and previous core subsystem library sizes are 
5404shown below. These are the code and data sizes for the acpica.lib produced 
5405by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5406any ACPI driver or OSPM code. The debug version of the code includes the 
5407debug output trace mechanism and has a much larger code and data size. Note 
5408that these values will vary depending on the efficiency of the compiler and 
5409the compiler options used during generation.
5410
5411  Previous Release:
5412    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5413    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5414  Current Release: (Same sizes)
5415    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5416    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5417
5418
54192) iASL Compiler/Disassembler:
5420
5421The compiler now emits a warning if an attempt is made to generate a 64-bit 
5422integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
5423is truncated to 32 bits.
5424
5425Fixed a problem with large package objects: if the static length of the 
5426package is greater than 255, the "variable length package" opcode is 
5427emitted. Previously, this caused an error. This requires an update to the 
5428ACPI spec, since it currently (incorrectly) states that packages larger than 
5429255 elements are not allowed.
5430
5431The disassembler now correctly handles variable length packages and packages 
5432larger than 255 elements.
5433
5434----------------------------------------
543508 April 2005.  Summary of changes for version 20050408:
5436
54371) ACPI CA Core Subsystem:
5438
5439Fixed three cases in the interpreter where an "index" argument to an ASL 
5440function was still (internally) 32 bits instead of the required 64 bits. 
5441This was the Index argument to the Index, Mid, and Match operators.
5442
5443The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
5444not a POSIX-defined function and not present in most kernel-level C 
5445libraries. All references to the C library strupr function have been removed 
5446from the headers.
5447
5448Completed the deployment of static functions/prototypes. All prototypes with 
5449the static attribute have been moved from the headers to the owning C file.
5450
5451Implemented an extract option (-e) for the AcpiBin utility (AML binary 
5452utility). This option allows the utility to extract individual ACPI tables 
5453from the output of AcpiDmp. It provides the same functionality of the 
5454acpixtract.pl perl script without the worry of setting the correct perl 
5455options. AcpiBin runs on Windows and has not yet been generated/validated in 
5456the Linux/Unix environment (but should be soon).
5457 
5458Updated and fixed the table dump option for AcpiBin (-d). This option 
5459converts a single ACPI table to a hex/ascii file, similar to the output of 
5460AcpiDmp.
5461
5462Code and Data Size: Current and previous core subsystem library sizes are 
5463shown below. These are the code and data sizes for the acpica.lib produced 
5464by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5465any ACPI driver or OSPM code. The debug version of the code includes the 
5466debug output trace mechanism and has a much larger code and data size. Note 
5467that these values will vary depending on the efficiency of the compiler and 
5468the compiler options used during generation.
5469
5470  Previous Release:
5471    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5472    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5473  Current Release:
5474    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5475    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5476
5477
54782) iASL Compiler/Disassembler:
5479
5480Disassembler fix: Added a check to ensure that the table length found in the 
5481ACPI table header within the input file is not longer than the actual input 
5482file size. This indicates some kind of file or table corruption.
5483
5484----------------------------------------
548529 March 2005.  Summary of changes for version 20050329:
5486
54871) ACPI CA Core Subsystem:
5488
5489An error is now generated if an attempt is made to create a Buffer Field of 
5490length zero (A CreateField with a length operand of zero.)
5491
5492The interpreter now issues a warning whenever executable code at the module 
5493level is detected during ACPI table load. This will give some idea of the 
5494prevalence of this type of code.
5495
5496Implemented support for references to named objects (other than control 
5497methods) within package objects.
5498
5499Enhanced package object output for the debug object. Package objects are now 
5500completely dumped, showing all elements.
5501
5502Enhanced miscellaneous object output for the debug object. Any object can 
5503now be written to the debug object (for example, a device object can be 
5504written, and the type of the object will be displayed.)
5505
5506The "static" qualifier has been added to all local functions across both the 
5507core subsystem and the iASL compiler.
5508
5509The number of "long" lines (> 80 chars) within the source has been 
5510significantly reduced, by about 1/3.
5511
5512Cleaned up all header files to ensure that all CA/iASL functions are 
5513prototyped (even static functions) and the formatting is consistent.
5514
5515Two new header files have been added, acopcode.h and acnames.h.
5516
5517Removed several obsolete functions that were no longer used.
5518
5519Code and Data Size: Current and previous core subsystem library sizes are 
5520shown below. These are the code and data sizes for the acpica.lib produced 
5521by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5522any ACPI driver or OSPM code. The debug version of the code includes the 
5523debug output trace mechanism and has a much larger code and data size. Note 
5524that these values will vary depending on the efficiency of the compiler and 
5525the compiler options used during generation.
5526
5527  Previous Release:
5528    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5529    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5530  Current Release:
5531    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5532    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5533
5534
5535
55362) iASL Compiler/Disassembler:
5537
5538Fixed a problem with the resource descriptor generation/support. For the 
5539ResourceSourceIndex and the ResourceSource fields, both must be present, or 
5540both must be not present - can't have one without the other.
5541
5542The compiler now returns non-zero from the main procedure if any errors have 
5543occurred during the compilation.
5544
5545
5546----------------------------------------
554709 March 2005.  Summary of changes for version 20050309:
5548
55491) ACPI CA Core Subsystem:
5550
5551The string-to-buffer implicit conversion code has been modified again after 
5552a change to the ACPI specification.  In order to match the behavior of the 
5553other major ACPI implementation, the target buffer is no longer truncated if 
5554the source string is smaller than an existing target buffer. This change 
5555requires an update to the ACPI spec, and should eliminate the recent 
5556AE_AML_BUFFER_LIMIT issues.
5557
5558The "implicit return" support was rewritten to a new algorithm that solves 
5559the general case. Rather than attempt to determine when a method is about to 
5560exit, the result of every ASL operator is saved momentarily until the very 
5561next ASL operator is executed. Therefore, no matter how the method exits, 
5562there will always be a saved implicit return value. This feature is only 
5563enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
5564AE_AML_NO_RETURN_VALUE errors when enabled.
5565
5566Implemented implicit conversion support for the predicate (operand) of the 
5567If, Else, and While operators. String and Buffer arguments are automatically 
5568converted to Integers.
5569
5570Changed the string-to-integer conversion behavior to match the new ACPI 
5571errata: "If no integer object exists, a new integer is created. The ASCII 
5572string is interpreted as a hexadecimal constant. Each string character is 
5573interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
5574with the first character as the most significant digit, and ending with the 
5575first non-hexadecimal character or end-of-string." This means that the first 
5576non-hex character terminates the conversion and this is the code that was 
5577changed.
5578
5579Fixed a problem where the ObjectType operator would fail (fault) when used 
5580on an Index of a Package which pointed to a null package element. The 
5581operator now properly returns zero (Uninitialized) in this case.
5582
5583Fixed a problem where the While operator used excessive memory by not 
5584properly popping the result stack during execution. There was no memory leak 
5585after execution, however. (Code provided by Valery Podrezov.)
5586
5587Fixed a problem where references to control methods within Package objects 
5588caused the method to be invoked, instead of producing a reference object 
5589pointing to the method.
5590
5591Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
5592improve performance and reduce code size. (Code provided by Alexey 
5593Starikovskiy.)
5594
5595Code and Data Size: Current and previous core subsystem library sizes are 
5596shown below. These are the code and data sizes for the acpica.lib produced 
5597by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5598any ACPI driver or OSPM code. The debug version of the code includes the 
5599debug output trace mechanism and has a much larger code and data size. Note 
5600that these values will vary depending on the efficiency of the compiler and 
5601the compiler options used during generation.
5602
5603  Previous Release:
5604    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5605    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5606  Current Release:
5607    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5608    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5609
5610
56112) iASL Compiler/Disassembler:
5612
5613Fixed a problem with the Return operator with no arguments. Since the AML 
5614grammar for the byte encoding requires an operand for the Return opcode, the 
5615compiler now emits a Return(Zero) for this case.  An ACPI specification 
5616update has been written for this case.
5617
5618For tables other than the DSDT, namepath optimization is automatically 
5619disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
5620compiler has no knowledge of where, and thus cannot optimize namepaths.
5621
5622Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
5623inadvertently omitted from the ACPI specification, and will require an 
5624update to the spec.
5625
5626The source file scan for ASCII characters is now optional (-a). This change 
5627was made because some vendors place non-ascii characters within comments. 
5628However, the scan is simply a brute-force byte compare to ensure all 
5629characters in the file are in the range 0x00 to 0x7F.
5630
5631Fixed a problem with the CondRefOf operator where the compiler was 
5632inappropriately checking for the existence of the target. Since the point of 
5633the operator is to check for the existence of the target at run-time, the 
5634compiler no longer checks for the target existence.
5635
5636Fixed a problem where errors generated from the internal AML interpreter 
5637during constant folding were not handled properly, causing a fault.
5638
5639Fixed a problem with overly aggressive range checking for the Stall 
5640operator. The valid range (max 255) is now only checked if the operand is of 
5641type Integer. All other operand types cannot be statically checked.
5642
5643Fixed a problem where control method references within the RefOf, DeRefOf, 
5644and ObjectType operators were not treated properly. They are now treated as 
5645actual references, not method invocations.
5646
5647Fixed and enhanced the "list namespace" option (-ln). This option was broken 
5648a number of releases ago.
5649
5650Improved error handling for the Field, IndexField, and BankField operators. 
5651The compiler now cleanly reports and recovers from errors in the field 
5652component (FieldUnit) list.
5653
5654Fixed a disassembler problem where the optional ResourceDescriptor fields 
5655TRS and TTP were not always handled correctly.
5656
5657Disassembler - Comments in output now use "//" instead of "/*"
5658
5659----------------------------------------
566028 February 2005.  Summary of changes for version 20050228:
5661
56621) ACPI CA Core Subsystem:
5663
5664Fixed a problem where the result of an Index() operator (an object 
5665reference) must increment the reference count on the target object for the 
5666life of the object reference.
5667
5668Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
5669Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
5670resource descriptors.
5671
5672Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
5673Space Descriptor" string, indicating interpreter support for the descriptors 
5674above.
5675
5676Implemented header support for the new ACPI 3.0 FADT flag bits.
5677
5678Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
5679status/enable registers.
5680
5681Updated header support for the MADT processor local Apic struct and MADT 
5682platform interrupt source struct for new ACPI 3.0 fields.
5683
5684Implemented header support for the SRAT and SLIT ACPI tables.
5685
5686Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
5687at runtime.
5688
5689Code and Data Size: Current and previous core subsystem library sizes are 
5690shown below. These are the code and data sizes for the acpica.lib produced 
5691by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5692any ACPI driver or OSPM code. The debug version of the code includes the 
5693debug output trace mechanism and has a much larger code and data size. Note 
5694that these values will vary depending on the efficiency of the compiler and 
5695the compiler options used during generation.
5696
5697  Previous Release:
5698    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5699    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5700  Current Release:
5701    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5702    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5703
5704
57052) iASL Compiler/Disassembler:
5706
5707Fixed a problem with the internal 64-bit String-to-integer conversion with 
5708strings less than two characters long.
5709
5710Fixed a problem with constant folding where the result of the Index() 
5711operator can not be considered a constant. This means that Index() cannot be 
5712a type3 opcode and this will require an update to the ACPI specification.
5713
5714Disassembler: Implemented support for the TTP, MTP, and TRS resource 
5715descriptor fields. These fields were inadvertently ignored and not output in 
5716the disassembly of the resource descriptor.
5717
5718
5719 ----------------------------------------
572011 February 2005.  Summary of changes for version 20050211:
5721
57221) ACPI CA Core Subsystem:
5723
5724Implemented ACPI 3.0 support for implicit conversion within the Match() 
5725operator. MatchObjects can now be of type integer, buffer, or string instead 
5726of just type integer.  Package elements are implicitly converted to the type 
5727of the MatchObject. This change aligns the behavior of Match() with the 
5728behavior of the other logical operators (LLess(), etc.) It also requires an 
5729errata change to the ACPI specification as this support was intended for 
5730ACPI 3.0, but was inadvertently omitted.
5731
5732Fixed a problem with the internal implicit "to buffer" conversion. Strings 
5733that are converted to buffers will cause buffer truncation if the string is 
5734smaller than the target buffer. Integers that are converted to buffers will 
5735not cause buffer truncation, only zero extension (both as per the ACPI 
5736spec.) The problem was introduced when code was added to truncate the 
5737buffer, but this should not be performed in all cases, only the string case.
5738
5739Fixed a problem with the Buffer and Package operators where the interpreter 
5740would get confused if two such operators were used as operands to an ASL 
5741operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
5742stack was not being popped after the execution of these operators, resulting 
5743in an AE_NO_RETURN_VALUE exception.
5744
5745Fixed a problem with constructs of the form Store(Index(...),...). The 
5746reference object returned from Index was inadvertently resolved to an actual 
5747value. This problem was introduced in version 20050114 when the behavior of 
5748Store() was modified to restrict the object types that can be used as the 
5749source operand (to match the ACPI specification.)
5750
5751Reduced excessive stack use within the AcpiGetObjectInfo procedure.
5752
5753Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
5754
5755Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
5756
5757Code and Data Size: Current and previous core subsystem library sizes are 
5758shown below. These are the code and data sizes for the acpica.lib produced 
5759by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5760any ACPI driver or OSPM code. The debug version of the code includes the 
5761debug output trace mechanism and has a much larger code and data size. Note 
5762that these values will vary depending on the efficiency of the compiler and 
5763the compiler options used during generation.
5764
5765  Previous Release:
5766    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
5767    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
5768  Current Release:
5769    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5770    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5771
5772
57732) iASL Compiler/Disassembler:
5774
5775Fixed a code generation problem in the constant folding optimization code 
5776where incorrect code was generated if a constant was reduced to a buffer 
5777object (i.e., a reduced type 5 opcode.)
5778
5779Fixed a typechecking problem for the ToBuffer operator. Caused by an 
5780incorrect return type in the internal opcode information table.
5781
5782----------------------------------------
578325 January 2005.  Summary of changes for version 20050125:
5784
57851) ACPI CA Core Subsystem:
5786
5787Fixed a recently introduced problem with the Global Lock where the 
5788underlying semaphore was not created.  This problem was introduced in 
5789version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
5790Acquire() operation on _GL.
5791
5792The local object cache is now optional, and is disabled by default. Both 
5793AcpiExec and the iASL compiler enable the cache because they run in user 
5794mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
5795to enable the local cache.
5796
5797Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
5798optional "implicit return" support where an error was returned if no return 
5799object was expected, but one was implicitly returned. AE_OK is now returned 
5800in this case and the implicitly returned object is deleted. 
5801AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
5802methods such as _STA and _INI where the return type is known up front.
5803
5804Fixed a few issues with the internal convert-to-integer code. It now returns 
5805an error if an attempt is made to convert a null string, a string of only 
5806blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
5807and explicit conversion via the ToInteger() operator.
5808
5809The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
5810not needed for normal operation and should increase the performance of the 
5811entire subsystem. The code remains in case it is needed for debug purposes 
5812again.
5813
5814The AcpiExec source and makefile are included in the Unix/Linux package for 
5815the first time.
5816
5817Code and Data Size: Current and previous core subsystem library sizes are 
5818shown below. These are the code and data sizes for the acpica.lib produced 
5819by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5820any ACPI driver or OSPM code. The debug version of the code includes the 
5821debug output trace mechanism and has a much larger code and data size. Note 
5822that these values will vary depending on the efficiency of the compiler and 
5823the compiler options used during generation.
5824
5825  Previous Release:
5826    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5827    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5828  Current Release:
5829    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
5830    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
5831
58322) iASL Compiler/Disassembler:
5833
5834Switch/Case support: A warning is now issued if the type of the Switch value 
5835cannot be determined at compile time. For example, Switch(Arg0) will 
5836generate the warning, and the type is assumed to be an integer. As per the 
5837ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
5838warning.
5839
5840Switch/Case support: Implemented support for buffer and string objects as 
5841the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
5842buffers and strings.
5843
5844Switch/Case support: The emitted code for the LEqual() comparisons now uses 
5845the switch value as the first operand, not the second. The case value is now 
5846the second operand, and this allows the case value to be implicitly 
5847converted to the type of the switch value, not the other way around.
5848
5849Switch/Case support: Temporary variables are now emitted immediately within 
5850the control method, not at the global level. This means that there are now 
585136 temps available per-method, not 36 temps per-module as was the case with 
5852the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
5853
5854----------------------------------------
585514 January 2005.  Summary of changes for version 20050114:
5856
5857Added 2005 copyright to all module headers.  This affects every module in 
5858the core subsystem, iASL compiler, and the utilities.
5859
58601) ACPI CA Core Subsystem:
5861
5862Fixed an issue with the String-to-Buffer conversion code where the string 
5863null terminator was not included in the buffer after conversion, but there 
5864is existing ASL that assumes the string null terminator is included. This is 
5865the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
5866introduced in the previous version when the code was updated to correctly 
5867set the converted buffer size as per the ACPI specification. The ACPI spec 
5868is ambiguous and will be updated to specify that the null terminator must be 
5869included in the converted buffer. This also affects the ToBuffer() ASL 
5870operator.
5871
5872Fixed a problem with the Mid() ASL/AML operator where it did not work 
5873correctly on Buffer objects. Newly created sub-buffers were not being marked 
5874as initialized.
5875
5876
5877Fixed a problem in AcpiTbFindTable where incorrect string compares were 
5878performed on the OemId and OemTableId table header fields.  These fields are 
5879not null terminated, so strncmp is now used instead of strcmp.
5880
5881Implemented a restriction on the Store() ASL/AML operator to align the 
5882behavior with the ACPI specification.  Previously, any object could be used 
5883as the source operand.  Now, the only objects that may be used are Integers, 
5884Buffers, Strings, Packages, Object References, and DDB Handles.  If 
5885necessary, the original behavior can be restored by enabling the 
5886EnableInterpreterSlack flag.
5887
5888Enhanced the optional "implicit return" support to allow an implicit return 
5889value from methods that are invoked externally via the AcpiEvaluateObject 
5890interface.  This enables implicit returns from the _STA and _INI methods, 
5891for example.
5892
5893Changed the Revision() ASL/AML operator to return the current version of the 
5894AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
5895the supported ACPI version (This is the function of the _REV method).
5896
5897Updated the _REV predefined method to return the currently supported version 
5898of ACPI, now 3.
5899
5900Implemented batch mode option for the AcpiExec utility (-b).
5901
5902Code and Data Size: Current and previous core subsystem library sizes are 
5903shown below. These are the code and data sizes for the acpica.lib produced 
5904by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5905any ACPI driver or OSPM code. The debug version of the code includes the 
5906debug output trace mechanism and has a much larger code and data size. Note 
5907that these values will vary depending on the efficiency of the compiler and 
5908the compiler options used during generation.
5909
5910  Previous Release:
5911    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5912    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5913  Current Release:
5914    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5915    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5916
5917----------------------------------------
591810 December 2004.  Summary of changes for version 20041210:
5919
5920ACPI 3.0 support is nearing completion in both the iASL compiler and the 
5921ACPI CA core subsystem.
5922
59231) ACPI CA Core Subsystem:
5924
5925Fixed a problem in the ToDecimalString operator where the resulting string 
5926length was incorrectly calculated. The length is now calculated exactly, 
5927eliminating incorrect AE_STRING_LIMIT exceptions.
5928
5929Fixed a problem in the ToHexString operator to allow a maximum 200 character 
5930string to be produced.
5931
5932Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
5933routine where the length of the resulting buffer was not truncated to the 
5934new size (if the target buffer already existed).
5935
5936Code and Data Size: Current and previous core subsystem library sizes are 
5937shown below. These are the code and data sizes for the acpica.lib produced 
5938by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5939any ACPI driver or OSPM code. The debug version of the code includes the 
5940debug output trace mechanism and has a much larger code and data size. Note 
5941that these values will vary depending on the efficiency of the compiler and 
5942the compiler options used during generation.
5943
5944  Previous Release:
5945    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5946    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5947  Current Release:
5948    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5949    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5950
5951
59522) iASL Compiler/Disassembler:
5953
5954Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
5955ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
5956Includes support in the disassembler.
5957
5958Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
5959AccessSize.
5960
5961Fixed a problem where the _HE resource name for the Interrupt macro was 
5962referencing bit 0 instead of bit 1.
5963
5964Implemented check for maximum 255 interrupts in the Interrupt macro.
5965
5966Fixed a problem with the predefined resource descriptor names where 
5967incorrect AML code was generated if the offset within the resource buffer 
5968was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
5969but did not update the surrounding package lengths.
5970
5971Changes to the Dma macro:  All channels within the channel list must be in 
5972the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
5973optional (default is BusMaster).
5974
5975Implemented check for maximum 7 data bytes for the VendorShort macro.
5976
5977The ReadWrite parameter is now optional for the Memory32 and similar macros.
5978
5979----------------------------------------
598003 December 2004.  Summary of changes for version 20041203:
5981
59821) ACPI CA Core Subsystem:
5983
5984The low-level field insertion/extraction code (exfldio) has been completely 
5985rewritten to eliminate unnecessary complexity, bugs, and boundary 
5986conditions.
5987
5988Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
5989operators where the input operand could be inadvertently deleted if no 
5990conversion was necessary (e.g., if the input to ToInteger was an Integer 
5991object.)
5992
5993Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
5994exception code was returned if the resulting string would be > 200 chars.  
5995AE_STRING_LIMIT is now returned.
5996
5997Fixed a problem with the Concatenate operator where AE_OK was always 
5998returned, even if the operation failed.
5999
6000Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
6001semaphores to be allocated.
6002
6003Code and Data Size: Current and previous core subsystem library sizes are 
6004shown below. These are the code and data sizes for the acpica.lib produced 
6005by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6006any ACPI driver or OSPM code. The debug version of the code includes the 
6007debug output trace mechanism and has a much larger code and data size. Note 
6008that these values will vary depending on the efficiency of the compiler and 
6009the compiler options used during generation.
6010
6011  Previous Release:
6012    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6013    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6014  Current Release:
6015    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6016    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6017
6018
60192) iASL Compiler/Disassembler:
6020
6021Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
6022recently introduced in 20041119.
6023
6024Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
6025byte was inadvertently set to zero.
6026
6027----------------------------------------
602819 November 2004.  Summary of changes for version 20041119:
6029
60301) ACPI CA Core Subsystem:
6031
6032Fixed a problem in the internal ConvertToInteger routine where new integers 
6033were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
6034buffers and strings to integers.
6035
6036Implemented support to store a value to an Index() on a String object. This 
6037is an ACPI 2.0 feature that had not yet been implemented.
6038
6039Implemented new behavior for storing objects to individual package elements 
6040(via the Index() operator). The previous behavior was to invoke the implicit 
6041conversion rules if an object was already present at the index.  The new 
6042behavior is to simply delete any existing object and directly store the new 
6043object. Although the ACPI specification seems unclear on this subject, other 
6044ACPI implementations behave in this manner.  (This is the root of the 
6045AE_BAD_HEX_CONSTANT issue.)
6046
6047Modified the RSDP memory scan mechanism to support the extended checksum for 
6048ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
6049RSDP signature is found with a valid checksum.
6050
6051Code and Data Size: Current and previous core subsystem library sizes are 
6052shown below. These are the code and data sizes for the acpica.lib produced 
6053by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6054any ACPI driver or OSPM code. The debug version of the code includes the 
6055debug output trace mechanism and has a much larger code and data size. Note 
6056that these values will vary depending on the efficiency of the compiler and 
6057the compiler options used during generation.
6058
6059  Previous Release:
6060    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6061    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6062  Current Release:
6063    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6064    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6065
6066
60672) iASL Compiler/Disassembler:
6068
6069Fixed a missing semicolon in the aslcompiler.y file.
6070
6071----------------------------------------
607205 November 2004.  Summary of changes for version 20041105:
6073
60741) ACPI CA Core Subsystem:
6075
6076Implemented support for FADT revision 2.  This was an interim table (between 
6077ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
6078
6079Implemented optional support to allow uninitialized LocalX and ArgX 
6080variables in a control method.  The variables are initialized to an Integer 
6081object with a value of zero.  This support is enabled by setting the 
6082AcpiGbl_EnableInterpreterSlack flag to TRUE.
6083
6084Implemented support for Integer objects for the SizeOf operator.  Either 4 
6085or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
6086depending on the parent table revision).
6087
6088Fixed a problem in the implementation of the SizeOf and ObjectType operators 
6089where the operand was resolved to a value too early, causing incorrect 
6090return values for some objects.
6091
6092Fixed some possible memory leaks during exceptional conditions.
6093
6094Code and Data Size: Current and previous core subsystem library sizes are 
6095shown below. These are the code and data sizes for the acpica.lib produced 
6096by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6097any ACPI driver or OSPM code. The debug version of the code includes the 
6098debug output trace mechanism and has a much larger code and data size. Note 
6099that these values will vary depending on the efficiency of the compiler and 
6100the compiler options used during generation.
6101
6102  Previous Release:
6103    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6104    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6105  Current Release:
6106    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6107    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6108
6109
61102) iASL Compiler/Disassembler:
6111
6112Implemented support for all ACPI 3.0 reserved names and methods.
6113
6114Implemented all ACPI 3.0 grammar elements in the front-end, including 
6115support for semicolons.
6116
6117Implemented the ACPI 3.0 Function() and ToUUID() macros
6118
6119Fixed a problem in the disassembler where a Scope() operator would not be 
6120emitted properly if the target of the scope was in another table.
6121
6122----------------------------------------
612315 October 2004.  Summary of changes for version 20041015:
6124
6125Note:  ACPI CA is currently undergoing an in-depth and complete formal 
6126evaluation to test/verify the following areas. Other suggestions are 
6127welcome. This will result in an increase in the frequency of releases and 
6128the number of bug fixes in the next few months.
6129  - Functional tests for all ASL/AML operators
6130  - All implicit/explicit type conversions
6131  - Bit fields and operation regions
6132  - 64-bit math support and 32-bit-only "truncated" math support
6133  - Exceptional conditions, both compiler and interpreter
6134  - Dynamic object deletion and memory leaks
6135  - ACPI 3.0 support when implemented
6136  - External interfaces to the ACPI subsystem
6137
6138
61391) ACPI CA Core Subsystem:
6140
6141Fixed two alignment issues on 64-bit platforms - within debug statements in 
6142AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
6143field within the non-aligned ACPI generic address structure.
6144
6145Fixed a problem in the Increment and Decrement operators where incorrect 
6146operand resolution could result in the inadvertent modification of the 
6147original integer when the integer is passed into another method as an 
6148argument and the arg is then incremented/decremented.
6149
6150Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
6151BCD number were truncated during conversion.
6152
6153Fixed a problem in the ToDecimal operator where the length of the resulting 
6154string could be set incorrectly too long if the input operand was a Buffer 
6155object.
6156
6157Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
6158within a buffer would prematurely terminate a compare between buffer 
6159objects.
6160
6161Added a check for string overflow (>200 characters as per the ACPI 
6162specification) during the Concatenate operator with two string operands.
6163
6164Code and Data Size: Current and previous core subsystem library sizes are 
6165shown below. These are the code and data sizes for the acpica.lib produced 
6166by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6167any ACPI driver or OSPM code. The debug version of the code includes the 
6168debug output trace mechanism and has a much larger code and data size. Note 
6169that these values will vary depending on the efficiency of the compiler and 
6170the compiler options used during generation.
6171
6172  Previous Release:
6173    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6174    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6175  Current Release:
6176    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6177    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6178
6179
6180
61812) iASL Compiler/Disassembler:
6182
6183Allow the use of the ObjectType operator on uninitialized Locals and Args 
6184(returns 0 as per the ACPI specification).
6185
6186Fixed a problem where the compiler would fault if there was a syntax error 
6187in the FieldName of all of the various CreateXXXField operators.
6188
6189Disallow the use of lower case letters within the EISAID macro, as per the 
6190ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
6191U is an uppercase letter and N is a hex digit.
6192
6193
6194----------------------------------------
619506 October 2004.  Summary of changes for version 20041006:
6196
61971) ACPI CA Core Subsystem:
6198
6199Implemented support for the ACPI 3.0 Timer operator. This ASL function 
6200implements a 64-bit timer with 100 nanosecond granularity.
6201
6202Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
6203implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
6204the timer with the best clock available. Also, it keeps the core subsystem 
6205out of the clock handling business, since the host OS (usually) performs 
6206this function.
6207
6208Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
6209functions use a 64-bit address which is part of the packed ACPI Generic 
6210Address Structure. Since the structure is non-aligned, the alignment macros 
6211are now used to extract the address to a local variable before use.
6212
6213Fixed a problem where the ToInteger operator assumed all input strings were 
6214hexadecimal. The operator now handles both decimal strings and hex strings 
6215(prefixed with "0x").
6216
6217Fixed a problem where the string length in the string object created as a 
6218result of the internal ConvertToString procedure could be incorrect. This 
6219potentially affected all implicit conversions and also the ToDecimalString 
6220and ToHexString operators.
6221
6222Fixed two problems in the ToString operator. If the length parameter was 
6223zero, an incorrect string object was created and the value of the input 
6224length parameter was inadvertently changed from zero to Ones.
6225
6226Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
6227resource macro was ignored.
6228
6229Simplified the interfaces to the internal division functions, reducing code 
6230size and complexity.
6231
6232Code and Data Size: Current and previous core subsystem library sizes are 
6233shown below. These are the code and data sizes for the acpica.lib produced 
6234by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6235any ACPI driver or OSPM code. The debug version of the code includes the 
6236debug output trace mechanism and has a much larger code and data size. Note 
6237that these values will vary depending on the efficiency of the compiler and 
6238the compiler options used during generation.
6239
6240  Previous Release:
6241    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6242    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6243  Current Release:
6244    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6245    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6246
6247
62482) iASL Compiler/Disassembler:
6249
6250Implemented support for the ACPI 3.0 Timer operator.
6251
6252Fixed a problem where the Default() operator was inadvertently ignored in a 
6253Switch/Case block.  This was a problem in the translation of the Switch 
6254statement to If...Else pairs.
6255
6256Added support to allow a standalone Return operator, with no parentheses (or 
6257operands).
6258
6259Fixed a problem with code generation for the ElseIf operator where the 
6260translated Else...If parse tree was improperly constructed leading to the 
6261loss of some code.
6262
6263----------------------------------------
626422 September 2004.  Summary of changes for version 20040922:
6265
62661) ACPI CA Core Subsystem:
6267
6268Fixed a problem with the implementation of the LNot() operator where "Ones" 
6269was not returned for the TRUE case. Changed the code to return Ones instead 
6270of (!Arg) which was usually 1. This change affects iASL constant folding for 
6271this operator also.
6272
6273Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
6274initialized properly -- Now zero the entire buffer in this case where the 
6275buffer already exists.
6276
6277Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
6278Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
6279related code considerably. This will require changes/updates to all OS 
6280interface layers (OSLs.)
6281
6282Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
6283a system exception handler to be installed. This handler is invoked upon any 
6284run-time exception that occurs during control method execution.
6285
6286Added support for the DSDT in AcpiTbFindTable. This allows the 
6287DataTableRegion() operator to access the local copy of the DSDT.
6288
6289Code and Data Size: Current and previous core subsystem library sizes are 
6290shown below. These are the code and data sizes for the acpica.lib produced 
6291by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6292any ACPI driver or OSPM code. The debug version of the code includes the 
6293debug output trace mechanism and has a much larger code and data size. Note 
6294that these values will vary depending on the efficiency of the compiler and 
6295the compiler options used during generation.
6296
6297  Previous Release:
6298    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6299    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6300  Current Release:
6301    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6302    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6303
6304
63052) iASL Compiler/Disassembler:
6306
6307Fixed a problem with constant folding and the LNot operator. LNot was 
6308returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
6309could result in the generation of an incorrect folded/reduced constant.
6310
6311End-Of-File is now allowed within a "//"-style comment.  A parse error no 
6312longer occurs if such a comment is at the very end of the input ASL source 
6313file.
6314
6315Implemented the "-r" option to override the Revision in the table header. 
6316The initial use of this option will be to simplify the evaluation of the AML 
6317interpreter by allowing a single ASL source module to be compiled for either 
631832-bit or 64-bit integers.
6319
6320
6321----------------------------------------
632227 August 2004.  Summary of changes for version 20040827:
6323
63241) ACPI CA Core Subsystem:
6325
6326- Implemented support for implicit object conversion in the non-numeric 
6327logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
6328LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
6329the second operand is implicitly converted on the fly to match the type of 
6330the first operand.  For example:
6331
6332    LEqual (Source1, Source2)
6333
6334Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
6335The data type of Source1 dictates the required type of Source2. Source2 is 
6336implicitly converted if necessary to match the type of Source1.
6337
6338- Updated and corrected the behavior of the string conversion support.  The 
6339rules concerning conversion of buffers to strings (according to the ACPI 
6340specification) are as follows:
6341
6342ToDecimalString - explicit byte-wise conversion of buffer to string of 
6343decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
6344conversion of buffer to string of hex values (0-FF) separated by commas. 
6345ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
6346copy with no transform except NULL terminated. Any other implicit buffer-to-
6347string conversion - byte-wise conversion of buffer to string of hex values 
6348(0-FF) separated by spaces.
6349
6350- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
6351
6352- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
6353one byte too short in the case of a node in the root scope.  This could 
6354cause a fault during debug output.
6355
6356- Code and Data Size: Current and previous core subsystem library sizes are 
6357shown below.  These are the code and data sizes for the acpica.lib produced 
6358by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6359any ACPI driver or OSPM code.  The debug version of the code includes the 
6360debug output trace mechanism and has a much larger code and data size.  Note 
6361that these values will vary depending on the efficiency of the compiler and 
6362the compiler options used during generation.
6363
6364  Previous Release:
6365    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6366    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6367  Current Release:
6368    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6369    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6370
6371
63722) iASL Compiler/Disassembler:
6373
6374- Fixed a Linux generation error.
6375
6376
6377----------------------------------------
637816 August 2004.  Summary of changes for version 20040816:
6379
63801) ACPI CA Core Subsystem:
6381
6382Designed and implemented support within the AML interpreter for the so-
6383called "implicit return".  This support returns the result of the last ASL 
6384operation within a control method, in the absence of an explicit Return() 
6385operator.  A few machines depend on this behavior, even though it is not 
6386explicitly supported by the ASL language.  It is optional support that can 
6387be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
6388
6389Removed support for the PCI_Config address space from the internal low level 
6390hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
6391support was not used internally, and would not work correctly anyway because 
6392the PCI bus number and segment number were not supported.  There are 
6393separate interfaces for PCI configuration space access because of the unique 
6394interface.
6395
6396Code and Data Size: Current and previous core subsystem library sizes are 
6397shown below.  These are the code and data sizes for the acpica.lib produced 
6398by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6399any ACPI driver or OSPM code.  The debug version of the code includes the 
6400debug output trace mechanism and has a much larger code and data size.  Note 
6401that these values will vary depending on the efficiency of the compiler and 
6402the compiler options used during generation.
6403
6404  Previous Release:
6405    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6406    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6407  Current Release:
6408    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6409    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6410
6411
64122) iASL Compiler/Disassembler:
6413
6414Fixed a problem where constants in ASL expressions at the root level (not 
6415within a control method) could be inadvertently truncated during code 
6416generation.  This problem was introduced in the 20040715 release.
6417
6418
6419----------------------------------------
642015 July 2004.  Summary of changes for version 20040715:
6421
64221) ACPI CA Core Subsystem:
6423
6424Restructured the internal HW GPE interfaces to pass/track the current state 
6425of interrupts (enabled/disabled) in order to avoid possible deadlock and 
6426increase flexibility of the interfaces.
6427
6428Implemented a "lexicographical compare" for String and Buffer objects within 
6429the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
6430as per further clarification to the ACPI specification.  Behavior is similar 
6431to C library "strcmp".
6432
6433Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
6434external function.  In the 32-bit non-debug case, the stack use has been 
6435reduced from 168 bytes to 32 bytes.
6436
6437Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
6438whose purpose is to allow the AML interpreter to forgive certain bad AML 
6439constructs.  Default setting is FALSE.
6440
6441Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
6442support code.  If enabled, it allows field access to go beyond the end of a 
6443region definition if the field is within the region length rounded up to the 
6444next access width boundary (a common coding error.)
6445
6446Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
6447ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
6448symbols are lowercased by the latest version of the AcpiSrc tool.
6449
6450The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
6451rename "Register" to simply "Reg" to prevent certain compilers from 
6452complaining.
6453
6454Code and Data Size: Current and previous core subsystem library sizes are 
6455shown below.  These are the code and data sizes for the acpica.lib produced 
6456by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6457any ACPI driver or OSPM code.  The debug version of the code includes the 
6458debug output trace mechanism and has a much larger code and data size.  Note 
6459that these values will vary depending on the efficiency of the compiler and 
6460the compiler options used during generation.
6461
6462  Previous Release:
6463    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6464    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6465  Current Release:
6466    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6467    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6468
6469
64702) iASL Compiler/Disassembler:
6471
6472Implemented full support for Package objects within the Case() operator.  
6473Note: The Break() operator is currently not supported within Case blocks 
6474(TermLists) as there is some question about backward compatibility with ACPI 
64751.0 interpreters.
6476
6477
6478Fixed a problem where complex terms were not supported properly within the 
6479Switch() operator.
6480
6481Eliminated extraneous warning for compiler-emitted reserved names of the 
6482form "_T_x".  (Used in Switch/Case operators.)
6483
6484Eliminated optimization messages for "_T_x" objects and small constants 
6485within the DefinitionBlock operator.
6486
6487
6488----------------------------------------
648915 June 2004.  Summary of changes for version 20040615:
6490
64911) ACPI CA Core Subsystem:
6492
6493Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6494following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6495LLessEqual.
6496
6497All directory names in the entire source package are lower case, as they 
6498were in earlier releases.
6499
6500Implemented "Disassemble" command in the AML debugger that will disassemble 
6501a single control method.
6502
6503Code and Data Size: Current and previous core subsystem library sizes are 
6504shown below.  These are the code and data sizes for the acpica.lib produced 
6505by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6506any ACPI driver or OSPM code.  The debug version of the code includes the 
6507debug output trace mechanism and has a much larger code and data size.  Note 
6508that these values will vary depending on the efficiency of the compiler and 
6509the compiler options used during generation.
6510
6511  Previous Release:
6512    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6513    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6514
6515  Current Release:
6516    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6517    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6518
6519
65202) iASL Compiler/Disassembler:
6521
6522Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6523following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6524LLessEqual.
6525
6526All directory names in the entire source package are lower case, as they 
6527were in earlier releases.
6528
6529Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
6530not found.
6531
6532Fixed an issue with the Windows version of the compiler where later versions 
6533of Windows place the FADT in the registry under the name "FADT" and not 
6534"FACP" as earlier versions did.  This applies when using the -g or -
6535d<nofilename> options.  The compiler now looks for both strings as 
6536necessary.
6537
6538Fixed a problem with compiler namepath optimization where a namepath within 
6539the Scope() operator could not be optimized if the namepath was a subpath of 
6540the current scope path.
6541
6542----------------------------------------
654327 May 2004.  Summary of changes for version 20040527:
6544
65451) ACPI CA Core Subsystem:
6546
6547Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
6548support in the RSDP scan code.  The original code improperly scanned for the 
6549EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
6550is to first obtain the EBDA pointer from within the BIOS data area, then 
6551scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
6552any machines that place the RSDP in the EBDA, however.
6553
6554Integrated a fix for a possible fault during evaluation of BufferField 
6555arguments.  Obsolete code that was causing the problem was removed.
6556
6557Found and fixed a problem in the Field Support Code where data could be 
6558corrupted on a bit field read that starts on an aligned boundary but does 
6559not end on an aligned boundary.  Merged the read/write "datum length" 
6560calculation code into a common procedure.
6561
6562Rolled in a couple of changes to the FreeBSD-specific header.
6563
6564
6565Code and Data Size: Current and previous core subsystem library sizes are 
6566shown below.  These are the code and data sizes for the acpica.lib produced 
6567by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6568any ACPI driver or OSPM code.  The debug version of the code includes the 
6569debug output trace mechanism and has a much larger code and data size.  Note 
6570that these values will vary depending on the efficiency of the compiler and 
6571the compiler options used during generation.
6572
6573  Previous Release:
6574    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6575    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6576  Current Release:
6577    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6578    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6579
6580
65812) iASL Compiler/Disassembler:
6582
6583Fixed a generation warning produced by some overly-verbose compilers for a 
658464-bit constant.
6585
6586----------------------------------------
658714 May 2004.  Summary of changes for version 20040514:
6588
65891) ACPI CA Core Subsystem:
6590
6591Fixed a problem where hardware GPE enable bits sometimes not set properly 
6592during and after GPE method execution.  Result of 04/27 changes.
6593
6594Removed extra "clear all GPEs" when sleeping/waking.
6595
6596Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
6597AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
6598the new AcpiEv* calls as appropriate.
6599
6600ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
6601now "Microsoft Windows NT" for maximum compatibility.  However this can be 
6602changed by modifying the acconfig.h file.
6603
6604Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
6605traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
6606
6607Run _INI methods on ThermalZone objects.  This is against the ACPI 
6608specification, but there is apparently ASL code in the field that has these 
6609_INI methods, and apparently "other" AML interpreters execute them.
6610
6611Performed a full 16/32/64 bit lint that resulted in some small changes.
6612
6613Added a sleep simulation command to the AML debugger to test sleep code. 
6614
6615Code and Data Size: Current and previous core subsystem library sizes are 
6616shown below.  These are the code and data sizes for the acpica.lib produced 
6617by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6618any ACPI driver or OSPM code.  The debug version of the code includes the 
6619debug output trace mechanism and has a much larger code and data size.  Note 
6620that these values will vary depending on the efficiency of the compiler and 
6621the compiler options used during generation.
6622
6623  Previous Release:
6624    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6625    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6626  Current Release:
6627    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6628    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6629
6630----------------------------------------
663127 April 2004.  Summary of changes for version 20040427:
6632
66331) ACPI CA Core Subsystem:
6634
6635Completed a major overhaul of the GPE handling within ACPI CA.  There are 
6636now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
6637The only GPEs allowed to be combination wake/run are for button-style 
6638devices such as a control-method power button, control-method sleep button, 
6639or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
6640referenced by any _PRW methods are marked for "runtime" and hardware 
6641enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
6642(and disabled at runtime).  However, at sleep time, only those GPEs that 
6643have been specifically enabled for wake via the AcpiEnableGpe interface will 
6644actually be hardware enabled.
6645
6646A new external interface has been added, AcpiSetGpeType(), that is meant to 
6647be used by device drivers to force a GPE to a particular type.  It will be 
6648especially useful for the drivers for the button devices mentioned above.
6649
6650Completed restructuring of the ACPI CA initialization sequence so that 
6651default operation region handlers are installed before GPEs are initialized 
6652and the _PRW methods are executed.  This will prevent errors when the _PRW 
6653methods attempt to access system memory or I/O space.
6654
6655GPE enable/disable no longer reads the GPE enable register.  We now keep the 
6656enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
6657thus no longer depend on the hardware to maintain these bits.
6658
6659Always clear the wake status and fixed/GPE status bits before sleep, even 
6660for state S5.
6661
6662Improved the AML debugger output for displaying the GPE blocks and their 
6663current status.
6664
6665Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
6666x = 0,1,2,3,4.
6667
6668Fixed a problem where the physical address was incorrectly calculated when 
6669the Load() operator was used to directly load from an Operation Region (vs. 
6670loading from a Field object.)  Also added check for minimum table length for 
6671this case.
6672
6673Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
6674mutex release.
6675
6676Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
6677consistency with the other fields returned.
6678
6679Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
6680structure for each GPE in the system, so the size of this structure is 
6681important.
6682
6683CPU stack requirement reduction:  Cleaned up the method execution and object 
6684evaluation paths so that now a parameter structure is passed, instead of 
6685copying the various method parameters over and over again.
6686
6687In evregion.c:  Correctly exit and reenter the interpreter region if and 
6688only if dispatching an operation region request to a user-installed handler.  
6689Do not exit/reenter when dispatching to a default handler (e.g., default 
6690system memory or I/O handlers)
6691
6692
6693Notes for updating drivers for the new GPE support.  The following changes 
6694must be made to ACPI-related device drivers that are attached to one or more 
6695GPEs: (This information will be added to the ACPI CA Programmer Reference.)
6696
66971) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
6698explicitly call AcpiEnableGpe.
66992) There is a new interface called AcpiSetGpeType. This should be called 
6700before enabling the GPE.  Also, this interface will automatically disable 
6701the GPE if it is currently enabled.
67023) AcpiEnableGpe no longer supports a GPE type flag.
6703
6704Specific drivers that must be changed:
67051) EC driver:
6706    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
6707AeGpeHandler, NULL);
6708    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
6709    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
6710
67112) Button Drivers (Power, Lid, Sleep):
6712Run _PRW method under parent device
6713If _PRW exists: /* This is a control-method button */
6714    Extract GPE number and possibly GpeDevice
6715    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
6716    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
6717
6718For all other devices that have _PRWs, we automatically set the GPE type to 
6719ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
6720must be done on a selective basis, usually requiring some kind of user app 
6721to allow the user to pick the wake devices.
6722
6723
6724Code and Data Size: Current and previous core subsystem library sizes are 
6725shown below.  These are the code and data sizes for the acpica.lib produced 
6726by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6727any ACPI driver or OSPM code.  The debug version of the code includes the 
6728debug output trace mechanism and has a much larger code and data size.  Note 
6729that these values will vary depending on the efficiency of the compiler and 
6730the compiler options used during generation.
6731
6732  Previous Release:
6733    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6734    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6735  Current Release:
6736
6737    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6738    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6739
6740
6741
6742----------------------------------------
674302 April 2004.  Summary of changes for version 20040402:
6744
67451) ACPI CA Core Subsystem:
6746
6747Fixed an interpreter problem where an indirect store through an ArgX 
6748parameter was incorrectly applying the "implicit conversion rules" during 
6749the store.  From the ACPI specification: "If the target is a method local or 
6750argument (LocalX or ArgX), no conversion is performed and the result is 
6751stored directly to the target".  The new behavior is to disable implicit 
6752conversion during ALL stores to an ArgX.
6753
6754Changed the behavior of the _PRW method scan to ignore any and all errors 
6755returned by a given _PRW.  This prevents the scan from aborting from the 
6756failure of any single _PRW.
6757
6758Moved the runtime configuration parameters from the global init procedure to 
6759static variables in acglobal.h.  This will allow the host to override the 
6760default values easily.
6761
6762Code and Data Size: Current and previous core subsystem library sizes are 
6763shown below.  These are the code and data sizes for the acpica.lib produced 
6764by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6765any ACPI driver or OSPM code.  The debug version of the code includes the 
6766debug output trace mechanism and has a much larger code and data size.  Note 
6767that these values will vary depending on the efficiency of the compiler and 
6768the compiler options used during generation.
6769
6770  Previous Release:
6771    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6772    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6773  Current Release:
6774    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6775    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6776
6777
67782) iASL Compiler/Disassembler:
6779
6780iASL now fully disassembles SSDTs.  However, External() statements are not 
6781generated automatically for unresolved symbols at this time.  This is a 
6782planned feature for future implementation.
6783
6784Fixed a scoping problem in the disassembler that occurs when the type of the 
6785target of a Scope() operator is overridden.  This problem caused an 
6786incorrectly nested internal namespace to be constructed.
6787
6788Any warnings or errors that are emitted during disassembly are now commented 
6789out automatically so that the resulting file can be recompiled without any 
6790hand editing.
6791
6792----------------------------------------
679326 March 2004.  Summary of changes for version 20040326:
6794
67951) ACPI CA Core Subsystem:
6796
6797Implemented support for "wake" GPEs via interaction between GPEs and the 
6798_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
6799identified as a WAKE GPE and by default will no longer be enabled at 
6800runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
6801_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
6802believe this has been the cause of thousands of "spurious" GPEs on some 
6803systems.
6804
6805This new GPE behavior is can be reverted to the original behavior (enable 
6806ALL GPEs at runtime) via a runtime flag.
6807
6808Fixed a problem where aliased control methods could not access objects 
6809properly.  The proper scope within the namespace was not initialized 
6810(transferred to the target of the aliased method) before executing the 
6811target method.
6812
6813Fixed a potential race condition on internal object deletion on the return 
6814object in AcpiEvaluateObject. 
6815
6816Integrated a fix for resource descriptors where both _MEM and _MTP were 
6817being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
6818wide, 0x0F instead of 0x03.)
6819
6820Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
6821fault in some cases.
6822
6823Updated Notify() values for debug statements in evmisc.c
6824
6825Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
6826
6827Code and Data Size: Current and previous core subsystem library sizes are 
6828shown below.  These are the code and data sizes for the acpica.lib produced 
6829by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6830any ACPI driver or OSPM code.  The debug version of the code includes the 
6831debug output trace mechanism and has a much larger code and data size.  Note 
6832that these values will vary depending on the efficiency of the compiler and 
6833the compiler options used during generation.
6834
6835  Previous Release:
6836
6837    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6838    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6839  Current Release:
6840    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6841    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6842
6843----------------------------------------
684411 March 2004.  Summary of changes for version 20040311:
6845
68461) ACPI CA Core Subsystem:
6847
6848Fixed a problem where errors occurring during the parse phase of control 
6849method execution did not abort cleanly.  For example, objects created and 
6850installed in the namespace were not deleted.  This caused all subsequent 
6851invocations of the method to return the AE_ALREADY_EXISTS exception.
6852
6853Implemented a mechanism to force a control method to "Serialized" execution 
6854if the method attempts to create namespace objects. (The root of the 
6855AE_ALREADY_EXISTS problem.)
6856
6857Implemented support for the predefined _OSI "internal" control method.  
6858Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
6859"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
6860This feature will allow "other" operating systems to execute the fully 
6861tested, "Windows" code path through the ASL code
6862
6863Global Lock Support:  Now allows multiple acquires and releases with any 
6864internal thread.  Removed concept of "owning thread" for this special mutex.
6865
6866Fixed two functions that were inappropriately declaring large objects on the 
6867CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
6868method execution considerably.
6869
6870Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
6871S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
6872
6873Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
6874defined on the machine.
6875
6876Implemented two runtime options:  One to force all control method execution 
6877to "Serialized" to mimic Windows behavior, another to disable _OSI support 
6878if it causes problems on a given machine.
6879
6880Code and Data Size: Current and previous core subsystem library sizes are 
6881shown below.  These are the code and data sizes for the acpica.lib produced 
6882by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6883any ACPI driver or OSPM code.  The debug version of the code includes the 
6884debug output trace mechanism and has a much larger code and data size.  Note 
6885that these values will vary depending on the efficiency of the compiler and 
6886the compiler options used during generation.
6887
6888  Previous Release:
6889    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6890    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6891  Current Release:
6892    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6893    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6894
68952) iASL Compiler/Disassembler:
6896
6897Fixed an array size problem for FreeBSD that would cause the compiler to 
6898fault.
6899
6900----------------------------------------
690120 February 2004.  Summary of changes for version 20040220:
6902
6903
69041) ACPI CA Core Subsystem:
6905
6906Implemented execution of _SxD methods for Device objects in the 
6907GetObjectInfo interface.
6908
6909Fixed calls to _SST method to pass the correct arguments.
6910
6911Added a call to _SST on wake to restore to "working" state.
6912
6913Check for End-Of-Buffer failure case in the WalkResources interface.
6914
6915Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
6916structures to the beginning of the file.
6917
6918After wake, clear GPE status register(s) before enabling GPEs.
6919
6920After wake, clear/enable power button.  (Perhaps we should clear/enable all 
6921fixed events upon wake.)
6922
6923Fixed a couple of possible memory leaks in the Namespace manager.
6924
6925Integrated latest acnetbsd.h file.
6926
6927----------------------------------------
692811 February 2004.  Summary of changes for version 20040211:
6929
6930
69311) ACPI CA Core Subsystem:
6932
6933Completed investigation and implementation of the call-by-reference 
6934mechanism for control method arguments.
6935
6936Fixed a problem where a store of an object into an indexed package could 
6937fail if the store occurs within a different method than the method that 
6938created the package.
6939
6940Fixed a problem where the ToDecimal operator could return incorrect results.
6941
6942Fixed a problem where the CopyObject operator could fail on some of the more 
6943obscure objects (e.g., Reference objects.)
6944
6945Improved the output of the Debug object to display buffer, package, and 
6946index objects.
6947
6948Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
6949the expected result.
6950
6951Added permanent ACPI_REPORT_ERROR macros for all instances of the 
6952ACPI_AML_INTERNAL exception.
6953
6954Integrated latest version of acfreebsd.h
6955
6956----------------------------------------
695716 January 2004.  Summary of changes for version 20040116:
6958
6959The purpose of this release is primarily to update the copyright years in 
6960each module, thus causing a huge number of diffs.  There are a few small 
6961functional changes, however.
6962
69631) ACPI CA Core Subsystem:
6964
6965Improved error messages when there is a problem finding one or more of the 
6966required base ACPI tables
6967
6968Reintroduced the definition of APIC_HEADER in actbl.h
6969
6970Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
6971
6972Removed extraneous reference to NewObj in dsmthdat.c
6973
69742) iASL compiler
6975
6976Fixed a problem introduced in December that disabled the correct disassembly 
6977of Resource Templates
6978
6979
6980----------------------------------------
698103 December 2003.  Summary of changes for version 20031203:
6982
69831) ACPI CA Core Subsystem:
6984
6985Changed the initialization of Operation Regions during subsystem
6986init to perform two entire walks of the ACPI namespace; The first
6987to initialize the regions themselves, the second to execute the
6988_REG methods.  This fixed some interdependencies across _REG
6989methods found on some machines.
6990
6991Fixed a problem where a Store(Local0, Local1) could simply update
6992the object reference count, and not create a new copy of the
6993object if the Local1 is uninitialized.
6994
6995Implemented support for the _SST reserved method during sleep
6996transitions.
6997
6998Implemented support to clear the SLP_TYP and SLP_EN bits when
6999waking up, this is apparently required by some machines.
7000
7001When sleeping, clear the wake status only if SleepState is not S5.
7002
7003Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
7004pointer arithmetic advanced a string pointer too far.
7005
7006Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
7007could be returned if the requested table has not been loaded.
7008
7009Within the support for IRQ resources, restructured the handling of
7010the active and edge/level bits.
7011
7012Fixed a few problems in AcpiPsxExecute() where memory could be
7013leaked under certain error conditions.
7014
7015Improved error messages for the cases where the ACPI mode could
7016not be entered.
7017
7018Code and Data Size: Current and previous core subsystem library
7019sizes are shown below.  These are the code and data sizes for the
7020acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7021these values do not include any ACPI driver or OSPM code.  The
7022debug version of the code includes the debug output trace
7023mechanism and has a much larger code and data size.  Note that
7024these values will vary depending on the efficiency of the compiler
7025and the compiler options used during generation.
7026
7027  Previous Release (20031029):
7028    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7029    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7030  Current Release:
7031    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7032    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7033
70342) iASL Compiler/Disassembler:
7035
7036Implemented a fix for the iASL disassembler where a bad index was
7037generated.  This was most noticeable on 64-bit platforms
7038
7039
7040----------------------------------------
704129 October 2003.  Summary of changes for version 20031029:
7042
70431) ACPI CA Core Subsystem:
7044
7045
7046Fixed a problem where a level-triggered GPE with an associated
7047_Lxx control method was incorrectly cleared twice.
7048
7049Fixed a problem with the Field support code where an access can
7050occur beyond the end-of-region if the field is non-aligned but
7051extends to the very end of the parent region (resulted in an
7052AE_AML_REGION_LIMIT exception.)
7053
7054Fixed a problem with ACPI Fixed Events where an RT Clock handler
7055would not get invoked on an RTC event.  The RTC event bitmasks for
7056the PM1 registers were not being initialized properly.
7057
7058Implemented support for executing _STA and _INI methods for
7059Processor objects.  Although this is currently not part of the
7060ACPI specification, there is existing ASL code that depends on the
7061init-time execution of these methods.
7062
7063Implemented and deployed a GetDescriptorName function to decode
7064the various types of internal descriptors.  Guards against null
7065descriptors during debug output also.
7066
7067Implemented and deployed a GetNodeName function to extract the 4-
7068character namespace node name.  This function simplifies the debug
7069and error output, as well as guarding against null pointers during
7070output.
7071
7072Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
7073simplify the debug and error output of 64-bit integers.  This
7074macro replaces the HIDWORD and LODWORD macros for dumping these
7075integers.
7076
7077Updated the implementation of the Stall() operator to only call
7078AcpiOsStall(), and also return an error if the operand is larger
7079than 255.  This preserves the required behavior of not
7080relinquishing the processor, as would happen if AcpiOsSleep() was
7081called for "long stalls".
7082
7083Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
7084initialized are now treated as NOOPs.
7085
7086Cleaned up a handful of warnings during 64-bit generation.
7087
7088Fixed a reported error where and incorrect GPE number was passed
7089to the GPE dispatch handler.  This value is only used for error
7090output, however.  Used this opportunity to clean up and streamline
7091the GPE dispatch code.
7092
7093Code and Data Size: Current and previous core subsystem library
7094sizes are shown below.  These are the code and data sizes for the
7095acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7096these values do not include any ACPI driver or OSPM code.  The
7097
7098debug version of the code includes the debug output trace
7099mechanism and has a much larger code and data size.  Note that
7100these values will vary depending on the efficiency of the compiler
7101and the compiler options used during generation.
7102
7103  Previous Release (20031002):
7104    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7105    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7106  Current Release:
7107    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7108    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7109
7110
71112) iASL Compiler/Disassembler:
7112
7113Updated the iASL compiler to return an error if the operand to the
7114Stall() operator is larger than 255.
7115
7116
7117----------------------------------------
711802 October 2003.  Summary of changes for version 20031002:
7119
7120
71211) ACPI CA Core Subsystem:
7122
7123Fixed a problem with Index Fields where the index was not
7124incremented for fields that require multiple writes to the
7125index/data registers (Fields that are wider than the data
7126register.)
7127
7128Fixed a problem with all Field objects where a write could go
7129beyond the end-of-field if the field was larger than the access
7130granularity and therefore required multiple writes to complete the
7131request.  An extra write beyond the end of the field could happen
7132inadvertently.
7133
7134Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
7135would incorrectly be returned if the width of the Data Register
7136was larger than the specified field access width.
7137
7138Completed fixes for LoadTable() and Unload() and verified their
7139operation.  Implemented full support for the "DdbHandle" object
7140throughout the ACPI CA subsystem.
7141
7142Implemented full support for the MADT and ECDT tables in the ACPI
7143CA header files.  Even though these tables are not directly
7144consumed by ACPI CA, the header definitions are useful for ACPI
7145device drivers.
7146
7147Integrated resource descriptor fixes posted to the Linux ACPI
7148list.  This included checks for minimum descriptor length, and
7149support for trailing NULL strings within descriptors that have
7150optional string elements.
7151
7152Code and Data Size: Current and previous core subsystem library
7153sizes are shown below.  These are the code and data sizes for the
7154acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7155these values do not include any ACPI driver or OSPM code.  The
7156debug version of the code includes the debug output trace
7157mechanism and has a much larger code and data size.  Note that
7158these values will vary depending on the efficiency of the compiler
7159and the compiler options used during generation.
7160
7161  Previous Release (20030918):
7162    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7163    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7164  Current Release:
7165    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7166    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7167
7168
71692) iASL Compiler:
7170
7171Implemented detection of non-ASCII characters within the input
7172source ASL file.  This catches attempts to compile binary (AML)
7173files early in the compile, with an informative error message.
7174
7175Fixed a problem where the disassembler would fault if the output
7176filename could not be generated or if the output file could not be
7177opened.
7178
7179----------------------------------------
718018 September 2003.  Summary of changes for version 20030918:
7181
7182
71831) ACPI CA Core Subsystem:
7184
7185Found and fixed a longstanding problem with the late execution of
7186the various deferred AML opcodes (such as Operation Regions,
7187Buffer Fields, Buffers, and Packages).  If the name string
7188specified for the name of the new object placed the object in a
7189scope other than the current scope, the initialization/execution
7190of the opcode failed.  The solution to this problem was to
7191implement a mechanism where the late execution of such opcodes
7192does not attempt to lookup/create the name a second time in an
7193incorrect scope.  This fixes the "region size computed
7194incorrectly" problem.
7195
7196Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
7197Global Lock AE_BAD_PARAMETER error.
7198
7199Fixed several 64-bit issues with prototypes, casting and data
7200types.
7201
7202Removed duplicate prototype from acdisasm.h
7203
7204Fixed an issue involving EC Operation Region Detach (Shaohua Li)
7205
7206Code and Data Size: Current and previous core subsystem library
7207sizes are shown below.  These are the code and data sizes for the
7208acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7209these values do not include any ACPI driver or OSPM code.  The
7210debug version of the code includes the debug output trace
7211mechanism and has a much larger code and data size.  Note that
7212these values will vary depending on the efficiency of the compiler
7213and the compiler options used during generation.
7214
7215  Previous Release:
7216
7217    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7218    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7219  Current Release:
7220    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7221    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7222
7223
72242) Linux:
7225
7226Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
7227correct sleep time in seconds.
7228
7229----------------------------------------
723014 July 2003.  Summary of changes for version 20030619:
7231
72321) ACPI CA Core Subsystem:
7233
7234Parse SSDTs in order discovered, as opposed to reverse order
7235(Hrvoje Habjanic)
7236
7237Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
7238Klausner,
7239   Nate Lawson)
7240
7241
72422) Linux:
7243
7244Dynamically allocate SDT list (suggested by Andi Kleen)
7245
7246proc function return value cleanups (Andi Kleen)
7247
7248Correctly handle NMI watchdog during long stalls (Andrew Morton)
7249
7250Make it so acpismp=force works (reported by Andrew Morton)
7251
7252
7253----------------------------------------
725419 June 2003.  Summary of changes for version 20030619:
7255
72561) ACPI CA Core Subsystem:
7257
7258Fix To/FromBCD, eliminating the need for an arch-specific #define.
7259
7260Do not acquire a semaphore in the S5 shutdown path.
7261
7262Fix ex_digits_needed for 0. (Takayoshi Kochi)
7263
7264Fix sleep/stall code reversal. (Andi Kleen)
7265
7266Revert a change having to do with control method calling
7267semantics.
7268
72692) Linux:
7270
7271acpiphp update (Takayoshi Kochi)
7272
7273Export acpi_disabled for sonypi (Stelian Pop)
7274
7275Mention acpismp=force in config help
7276
7277Re-add acpitable.c and acpismp=force. This improves backwards
7278
7279compatibility and also cleans up the code to a significant degree.
7280
7281Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
7282
7283----------------------------------------
728422 May 2003.  Summary of changes for version 20030522:
7285
72861) ACPI CA Core Subsystem:
7287
7288Found and fixed a reported problem where an AE_NOT_FOUND error
7289occurred occasionally during _BST evaluation.  This turned out to
7290be an Owner ID allocation issue where a called method did not get
7291a new ID assigned to it.  Eventually, (after 64k calls), the Owner
7292ID UINT16 would wraparound so that the ID would be the same as the
7293caller's and the called method would delete the caller's
7294namespace.
7295
7296Implemented extended error reporting for control methods that are
7297aborted due to a run-time exception.  Output includes the exact
7298AML instruction that caused the method abort, a dump of the method
7299locals and arguments at the time of the abort, and a trace of all
7300nested control method calls.
7301
7302Modified the interpreter to allow the creation of buffers of zero
7303length from the AML code. Implemented new code to ensure that no
7304attempt is made to actually allocate a memory buffer (of length
7305zero) - instead, a simple buffer object with a NULL buffer pointer
7306and length zero is created.  A warning is no longer issued when
7307the AML attempts to create a zero-length buffer.
7308
7309Implemented a workaround for the "leading asterisk issue" in
7310_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
7311asterisk is automatically removed if present in any HID, UID, or
7312CID strings.  The iASL compiler will still flag this asterisk as
7313an error, however.
7314
7315Implemented full support for _CID methods that return a package of
7316multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
7317now additionally returns a device _CID list if present.  This
7318required a change to the external interface in order to pass an
7319ACPI_BUFFER object as a parameter since the _CID list is of
7320variable length.
7321
7322Fixed a problem with the new AE_SAME_HANDLER exception where
7323handler initialization code did not know about this exception.
7324
7325Code and Data Size: Current and previous core subsystem library
7326sizes are shown below.  These are the code and data sizes for the
7327acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7328these values do not include any ACPI driver or OSPM code.  The
7329debug version of the code includes the debug output trace
7330mechanism and has a much larger code and data size.  Note that
7331these values will vary depending on the efficiency of the compiler
7332and the compiler options used during generation.
7333
7334  Previous Release (20030509):
7335    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7336    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7337  Current Release:
7338    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7339    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7340
7341
73422) Linux:
7343
7344Fixed a bug in which we would reinitialize the ACPI interrupt
7345after it was already working, thus disabling all ACPI and the IRQs
7346for any other device sharing the interrupt. (Thanks to Stian
7347Jordet)
7348
7349Toshiba driver update (John Belmonte)
7350
7351Return only 0 or 1 for our interrupt handler status (Andrew
7352Morton)
7353
7354
73553) iASL Compiler:
7356
7357Fixed a reported problem where multiple (nested) ElseIf()
7358statements were not handled correctly by the compiler, resulting
7359in incorrect warnings and incorrect AML code.  This was a problem
7360in both the ASL parser and the code generator.
7361
7362
73634) Documentation:
7364
7365Added changes to existing interfaces, new exception codes, and new
7366text concerning reference count object management versus garbage
7367collection.
7368
7369----------------------------------------
737009 May 2003.  Summary of changes for version 20030509.
7371
7372
73731) ACPI CA Core Subsystem:
7374
7375Changed the subsystem initialization sequence to hold off
7376installation of address space handlers until the hardware has been
7377initialized and the system has entered ACPI mode.  This is because
7378the installation of space handlers can cause _REG methods to be
7379run.  Previously, the _REG methods could potentially be run before
7380ACPI mode was enabled.
7381
7382Fixed some memory leak issues related to address space handler and
7383notify handler installation.  There were some problems with the
7384reference count mechanism caused by the fact that the handler
7385objects are shared across several namespace objects.
7386
7387Fixed a reported problem where reference counts within the
7388namespace were not properly updated when named objects created by
7389method execution were deleted.
7390
7391Fixed a reported problem where multiple SSDTs caused a deletion
7392issue during subsystem termination.  Restructured the table data
7393structures to simplify the linked lists and the related code.
7394
7395Fixed a problem where the table ID associated with secondary
7396tables (SSDTs) was not being propagated into the namespace objects
7397created by those tables.  This would only present a problem for
7398tables that are unloaded at run-time, however.
7399
7400Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7401type as the length parameter (instead of UINT32).
7402
7403Solved a long-standing problem where an ALREADY_EXISTS error
7404appears on various systems.  This problem could happen when there
7405are multiple PCI_Config operation regions under a single PCI root
7406bus.  This doesn't happen very frequently, but there are some
7407systems that do this in the ASL.
7408
7409Fixed a reported problem where the internal DeleteNode function
7410was incorrectly handling the case where a namespace node was the
7411first in the parent's child list, and had additional peers (not
7412the only child, but first in the list of children.)
7413
7414Code and Data Size: Current core subsystem library sizes are shown
7415below.  These are the code and data sizes for the acpica.lib
7416produced by the Microsoft Visual C++ 6.0 compiler, and these
7417values do not include any ACPI driver or OSPM code.  The debug
7418version of the code includes the debug output trace mechanism and
7419has a much larger code and data size.  Note that these values will
7420vary depending on the efficiency of the compiler and the compiler
7421options used during generation.
7422
7423  Previous Release
7424    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7425    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7426  Current Release:
7427    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7428    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7429
7430
74312) Linux:
7432
7433Allow ":" in OS override string (Ducrot Bruno)
7434
7435Kobject fix (Greg KH)
7436
7437
74383 iASL Compiler/Disassembler:
7439
7440Fixed a problem in the generation of the C source code files (AML
7441is emitted in C source statements for BIOS inclusion) where the
7442Ascii dump that appears within a C comment at the end of each line
7443could cause a compile time error if the AML sequence happens to
7444have an open comment or close comment sequence embedded.
7445
7446
7447----------------------------------------
744824 April 2003.  Summary of changes for version 20030424.
7449
7450
74511) ACPI CA Core Subsystem:
7452
7453Support for big-endian systems has been implemented.  Most of the
7454support has been invisibly added behind big-endian versions of the
7455ACPI_MOVE_* macros.
7456
7457Fixed a problem in AcpiHwDisableGpeBlock() and
7458AcpiHwClearGpeBlock() where an incorrect offset was passed to the
7459low level hardware write routine.  The offset parameter was
7460actually eliminated from the low level read/write routines because
7461they had become obsolete.
7462
7463Fixed a problem where a handler object was deleted twice during
7464the removal of a fixed event handler.
7465
7466
74672) Linux:
7468
7469A fix for SMP systems with link devices was contributed by
7470
7471Compaq's Dan Zink.
7472
7473(2.5) Return whether we handled the interrupt in our IRQ handler.
7474(Linux ISRs no longer return void, so we can propagate the handler
7475return value from the ACPI CA core back to the OS.)
7476
7477
7478
74793) Documentation:
7480
7481The ACPI CA Programmer Reference has been updated to reflect new
7482interfaces and changes to existing interfaces.
7483
7484----------------------------------------
748528 March 2003.  Summary of changes for version 20030328.
7486
74871) ACPI CA Core Subsystem:
7488
7489The GPE Block Device support has been completed.  New interfaces
7490are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
7491interfaces (enable, disable, clear, getstatus) have been split
7492into separate interfaces for Fixed Events and General Purpose
7493Events (GPEs) in order to support GPE Block Devices properly.
7494
7495Fixed a problem where the error message "Failed to acquire
7496semaphore" would appear during operations on the embedded
7497controller (EC).
7498
7499Code and Data Size: Current core subsystem library sizes are shown
7500below.  These are the code and data sizes for the acpica.lib
7501produced by the Microsoft Visual C++ 6.0 compiler, and these
7502values do not include any ACPI driver or OSPM code.  The debug
7503version of the code includes the debug output trace mechanism and
7504has a much larger code and data size.  Note that these values will
7505vary depending on the efficiency of the compiler and the compiler
7506options used during generation.
7507
7508  Previous Release
7509    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7510    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7511  Current Release:
7512    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7513    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7514
7515
7516----------------------------------------
751728 February 2003.  Summary of changes for version 20030228.
7518
7519
75201) ACPI CA Core Subsystem:
7521
7522The GPE handling and dispatch code has been completely overhauled
7523in preparation for support of GPE Block Devices (ID ACPI0006).
7524This affects internal data structures and code only; there should
7525be no differences visible externally.  One new file has been
7526added, evgpeblk.c
7527
7528The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7529fields that are used to determine the GPE block lengths.  The
7530REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7531structures are ignored.  This is per the ACPI specification but it
7532isn't very clear.  The full 256 Block 0/1 GPEs are now supported
7533(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7534
7535In the SCI interrupt handler, removed the read of the PM1_CONTROL
7536register to look at the SCI_EN bit.  On some machines, this read
7537causes an SMI event and greatly slows down SCI events.  (This may
7538in fact be the cause of slow battery status response on some
7539systems.)
7540
7541Fixed a problem where a store of a NULL string to a package object
7542could cause the premature deletion of the object.  This was seen
7543during execution of the battery _BIF method on some systems,
7544resulting in no battery data being returned.
7545
7546Added AcpiWalkResources interface to simplify parsing of resource
7547lists.
7548
7549Code and Data Size: Current core subsystem library sizes are shown
7550below.  These are the code and data sizes for the acpica.lib
7551produced by the Microsoft Visual C++ 6.0 compiler, and these
7552values do not include any ACPI driver or OSPM code.  The debug
7553version of the code includes the debug output trace mechanism and
7554has a much larger code and data size.  Note that these values will
7555vary depending on the efficiency of the compiler and the compiler
7556options used during generation.
7557
7558  Previous Release
7559    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7560    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7561  Current Release:
7562    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7563    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7564
7565
75662) Linux
7567
7568S3 fixes (Ole Rohne)
7569
7570Update ACPI PHP driver with to use new acpi_walk_resource API
7571(Bjorn Helgaas)
7572
7573Add S4BIOS support (Pavel Machek)
7574
7575Map in entire table before performing checksum (John Stultz)
7576
7577Expand the mem= cmdline to allow the specification of reserved and
7578ACPI DATA blocks (Pavel Machek)
7579
7580Never use ACPI on VISWS
7581
7582Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7583
7584Revert a change that allowed P_BLK lengths to be 4 or 5. This is
7585causing us to think that some systems support C2 when they really
7586don't.
7587
7588Do not count processor objects for non-present CPUs (Thanks to
7589Dominik Brodowski)
7590
7591
75923) iASL Compiler:
7593
7594Fixed a problem where ASL include files could not be found and
7595opened.
7596
7597Added support for the _PDC reserved name.
7598
7599
7600----------------------------------------
760122 January 2003.  Summary of changes for version 20030122.
7602
7603
76041) ACPI CA Core Subsystem:
7605
7606Added a check for constructs of the form:  Store (Local0, Local0)
7607where Local0 is not initialized.  Apparently, some BIOS
7608programmers believe that this is a NOOP.  Since this store doesn't
7609do anything anyway, the new prototype behavior will ignore this
7610error.  This is a case where we can relax the strict checking in
7611the interpreter in the name of compatibility.
7612
7613
76142) Linux
7615
7616The AcpiSrc Source Conversion Utility has been released with the
7617Linux package for the first time.  This is the utility that is
7618used to convert the ACPI CA base source code to the Linux version.
7619
7620(Both) Handle P_BLK lengths shorter than 6 more gracefully
7621
7622(Both) Move more headers to include/acpi, and delete an unused
7623header.
7624
7625(Both) Move drivers/acpi/include directory to include/acpi
7626
7627(Both) Boot functions don't use cmdline, so don't pass it around
7628
7629(Both) Remove include of unused header (Adrian Bunk)
7630
7631(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
7632the
7633former now also includes the latter, acpiphp.h only needs the one,
7634now.
7635
7636(2.5) Make it possible to select method of bios restoring after S3
7637resume. [=> no more ugly ifdefs] (Pavel Machek)
7638
7639(2.5) Make proc write interfaces work (Pavel Machek)
7640
7641(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
7642
7643(2.5) Break out ACPI Perf code into its own module, under cpufreq
7644(Dominik Brodowski)
7645
7646(2.4) S4BIOS support (Ducrot Bruno)
7647
7648(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
7649Visinoni)
7650
7651
76523) iASL Compiler:
7653
7654Added support to disassemble SSDT and PSDTs.
7655
7656Implemented support to obtain SSDTs from the Windows registry if
7657available.
7658
7659
7660----------------------------------------
766109 January 2003.  Summary of changes for version 20030109.
7662
76631) ACPI CA Core Subsystem:
7664
7665Changed the behavior of the internal Buffer-to-String conversion
7666function.  The current ACPI specification states that the contents
7667of the buffer are "converted to a string of two-character
7668hexadecimal numbers, each separated by a space".  Unfortunately,
7669this definition is not backwards compatible with existing ACPI 1.0
7670implementations (although the behavior was not defined in the ACPI
76711.0 specification).  The new behavior simply copies data from the
7672buffer to the string until a null character is found or the end of
7673the buffer is reached.  The new String object is always null
7674terminated.  This problem was seen during the generation of _BIF
7675battery data where incorrect strings were returned for battery
7676type, etc.  This will also require an errata to the ACPI
7677specification.
7678
7679Renamed all instances of NATIVE_UINT and NATIVE_INT to
7680ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
7681
7682Copyright in all module headers (both Linux and non-Linux) has be
7683updated to 2003.
7684
7685Code and Data Size: Current core subsystem library sizes are shown
7686below.  These are the code and data sizes for the acpica.lib
7687produced by the Microsoft Visual C++ 6.0 compiler, and these
7688values do not include any ACPI driver or OSPM code.  The debug
7689version of the code includes the debug output trace mechanism and
7690has a much larger code and data size.  Note that these values will
7691vary depending on the efficiency of the compiler and the compiler
7692options used during generation.
7693
7694  Previous Release
7695    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7696    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7697  Current Release:
7698    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7699    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7700
7701
77022) Linux
7703
7704Fixed an oops on module insertion/removal (Matthew Tippett)
7705
7706(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
7707
7708(2.5) Replace pr_debug (Randy Dunlap)
7709
7710(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
7711
7712(Both) Eliminate spawning of thread from timer callback, in favor
7713of schedule_work()
7714
7715(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
7716
7717(Both) Added define for Fixed Function HW region (Matthew Wilcox)
7718
7719(Both) Add missing statics to button.c (Pavel Machek)
7720
7721Several changes have been made to the source code translation
7722utility that generates the Linux Code in order to make the code
7723more "Linux-like":
7724
7725All typedefs on structs and unions have been removed in keeping
7726with the Linux coding style.
7727
7728Removed the non-Linux SourceSafe module revision number from each
7729module header.
7730
7731Completed major overhaul of symbols to be lowercased for linux.
7732Doubled the number of symbols that are lowercased.
7733
7734Fixed a problem where identifiers within procedure headers and
7735within quotes were not fully lower cased (they were left with a
7736starting capital.)
7737
7738Some C macros whose only purpose is to allow the generation of 16-
7739bit code are now completely removed in the Linux code, increasing
7740readability and maintainability.
7741
7742----------------------------------------
7743
774412 December 2002.  Summary of changes for version 20021212.
7745
7746
77471) ACPI CA Core Subsystem:
7748
7749Fixed a problem where the creation of a zero-length AML Buffer
7750would cause a fault.
7751
7752Fixed a problem where a Buffer object that pointed to a static AML
7753buffer (in an ACPI table) could inadvertently be deleted, causing
7754memory corruption.
7755
7756Fixed a problem where a user buffer (passed in to the external
7757ACPI CA interfaces) could be overwritten if the buffer was too
7758small to complete the operation, causing memory corruption.
7759
7760Fixed a problem in the Buffer-to-String conversion code where a
7761string of length one was always returned, regardless of the size
7762of the input Buffer object.
7763
7764Removed the NATIVE_CHAR data type across the entire source due to
7765lack of need and lack of consistent use.
7766
7767Code and Data Size: Current core subsystem library sizes are shown
7768below.  These are the code and data sizes for the acpica.lib
7769produced by the Microsoft Visual C++ 6.0 compiler, and these
7770values do not include any ACPI driver or OSPM code.  The debug
7771version of the code includes the debug output trace mechanism and
7772has a much larger code and data size.  Note that these values will
7773vary depending on the efficiency of the compiler and the compiler
7774options used during generation.
7775
7776  Previous Release
7777    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7778    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7779  Current Release:
7780    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7781    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7782
7783
7784----------------------------------------
778505 December 2002.  Summary of changes for version 20021205.
7786
77871) ACPI CA Core Subsystem:
7788
7789Fixed a problem where a store to a String or Buffer object could
7790cause corruption of the DSDT if the object type being stored was
7791the same as the target object type and the length of the object
7792being stored was equal to or smaller than the original (existing)
7793target object.  This was seen to cause corruption of battery _BIF
7794buffers if the _BIF method modified the buffer on the fly.
7795
7796Fixed a problem where an internal error was generated if a control
7797method invocation was used in an OperationRegion, Buffer, or
7798Package declaration.  This was caused by the deferred parsing of
7799the control method and thus the deferred creation of the internal
7800method object.  The solution to this problem was to create the
7801internal method object at the moment the method is encountered in
7802the first pass - so that subsequent references to the method will
7803able to obtain the required parameter count and thus properly
7804parse the method invocation.  This problem presented itself as an
7805AE_AML_INTERNAL during the pass 1 parse phase during table load.
7806
7807Fixed a problem where the internal String object copy routine did
7808not always allocate sufficient memory for the target String object
7809and caused memory corruption.  This problem was seen to cause
7810"Allocation already present in list!" errors as memory allocation
7811became corrupted.
7812
7813Implemented a new function for the evaluation of namespace objects
7814that allows the specification of the allowable return object
7815types.  This simplifies a lot of code that checks for a return
7816object of one or more specific objects returned from the
7817evaluation (such as _STA, etc.)  This may become and external
7818function if it would be useful to ACPI-related drivers.
7819
7820Completed another round of prefixing #defines with "ACPI_" for
7821clarity.
7822
7823Completed additional code restructuring to allow more modular
7824linking for iASL compiler and AcpiExec.  Several files were split
7825creating new files.  New files:  nsparse.c dsinit.c evgpe.c
7826
7827Implemented an abort mechanism to terminate an executing control
7828method via the AML debugger.  This feature is useful for debugging
7829control methods that depend (wait) for specific hardware
7830responses.
7831
7832Code and Data Size: Current core subsystem library sizes are shown
7833below.  These are the code and data sizes for the acpica.lib
7834produced by the Microsoft Visual C++ 6.0 compiler, and these
7835values do not include any ACPI driver or OSPM code.  The debug
7836version of the code includes the debug output trace mechanism and
7837has a much larger code and data size.  Note that these values will
7838vary depending on the efficiency of the compiler and the compiler
7839options used during generation.
7840
7841  Previous Release
7842    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7843    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7844  Current Release:
7845    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7846    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7847
7848
78492) iASL Compiler/Disassembler
7850
7851Fixed a compiler code generation problem for "Interrupt" Resource
7852Descriptors.  If specified in the ASL, the optional "Resource
7853Source Index" and "Resource Source" fields were not inserted into
7854the correct location within the AML resource descriptor, creating
7855an invalid descriptor.
7856
7857Fixed a disassembler problem for "Interrupt" resource descriptors.
7858The optional "Resource Source Index" and "Resource Source" fields
7859were ignored.
7860
7861
7862----------------------------------------
786322 November 2002.  Summary of changes for version 20021122.
7864
7865
78661) ACPI CA Core Subsystem:
7867
7868Fixed a reported problem where an object stored to a Method Local
7869or Arg was not copied to a new object during the store - the
7870object pointer was simply copied to the Local/Arg.  This caused
7871all subsequent operations on the Local/Arg to also affect the
7872original source of the store operation.
7873
7874Fixed a problem where a store operation to a Method Local or Arg
7875was not completed properly if the Local/Arg contained a reference
7876(from RefOf) to a named field.  The general-purpose store-to-
7877namespace-node code is now used so that this case is handled
7878automatically.
7879
7880Fixed a problem where the internal object copy routine would cause
7881a protection fault if the object being copied was a Package and
7882contained either 1) a NULL package element or 2) a nested sub-
7883package.
7884
7885Fixed a problem with the GPE initialization that resulted from an
7886ambiguity in the ACPI specification.  One section of the
7887specification states that both the address and length of the GPE
7888block must be zero if the block is not supported.  Another section
7889implies that only the address need be zero if the block is not
7890supported.  The code has been changed so that both the address and
7891the length must be non-zero to indicate a valid GPE block (i.e.,
7892if either the address or the length is zero, the GPE block is
7893invalid.)
7894
7895Code and Data Size: Current core subsystem library sizes are shown
7896below.  These are the code and data sizes for the acpica.lib
7897produced by the Microsoft Visual C++ 6.0 compiler, and these
7898values do not include any ACPI driver or OSPM code.  The debug
7899version of the code includes the debug output trace mechanism and
7900has a much larger code and data size.  Note that these values will
7901vary depending on the efficiency of the compiler and the compiler
7902options used during generation.
7903
7904  Previous Release
7905    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7906    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7907  Current Release:
7908    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7909    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7910
7911
79122) Linux
7913
7914Cleaned up EC driver. Exported an external EC read/write
7915interface. By going through this, other drivers (most notably
7916sonypi) will be able to serialize access to the EC.
7917
7918
79193) iASL Compiler/Disassembler
7920
7921Implemented support to optionally generate include files for both
7922ASM and C (the -i switch).  This simplifies BIOS development by
7923automatically creating include files that contain external
7924declarations for the symbols that are created within the
7925
7926(optionally generated) ASM and C AML source files.
7927
7928
7929----------------------------------------
793015 November 2002.  Summary of changes for version 20021115.
7931
79321) ACPI CA Core Subsystem:
7933
7934Fixed a memory leak problem where an error during resolution of
7935
7936method arguments during a method invocation from another method
7937failed to cleanup properly by deleting all successfully resolved
7938argument objects.
7939
7940Fixed a problem where the target of the Index() operator was not
7941correctly constructed if the source object was a package.  This
7942problem has not been detected because the use of a target operand
7943with Index() is very rare.
7944
7945Fixed a problem with the Index() operator where an attempt was
7946made to delete the operand objects twice.
7947
7948Fixed a problem where an attempt was made to delete an operand
7949twice during execution of the CondRefOf() operator if the target
7950did not exist.
7951
7952Implemented the first of perhaps several internal create object
7953functions that create and initialize a specific object type.  This
7954consolidates duplicated code wherever the object is created, thus
7955shrinking the size of the subsystem.
7956
7957Implemented improved debug/error messages for errors that occur
7958during nested method invocations.  All executing method pathnames
7959are displayed (with the error) as the call stack is unwound - thus
7960simplifying debug.
7961
7962Fixed a problem introduced in the 10/02 release that caused
7963premature deletion of a buffer object if a buffer was used as an
7964ASL operand where an integer operand is required (Thus causing an
7965implicit object conversion from Buffer to Integer.)  The change in
7966the 10/02 release was attempting to fix a memory leak (albeit
7967incorrectly.)
7968
7969Code and Data Size: Current core subsystem library sizes are shown
7970below.  These are the code and data sizes for the acpica.lib
7971produced by the Microsoft Visual C++ 6.0 compiler, and these
7972values do not include any ACPI driver or OSPM code.  The debug
7973version of the code includes the debug output trace mechanism and
7974has a much larger code and data size.  Note that these values will
7975vary depending on the efficiency of the compiler and the compiler
7976options used during generation.
7977
7978  Previous Release
7979    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7980    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7981  Current Release:
7982    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7983    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7984
7985
79862) Linux
7987
7988Changed the implementation of the ACPI semaphores to use down()
7989instead of down_interruptable().  It is important that the
7990execution of ACPI control methods not be interrupted by signals.
7991Methods must run to completion, or the system may be left in an
7992unknown/unstable state.
7993
7994Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
7995(Shawn Starr)
7996
7997
79983) iASL Compiler/Disassembler
7999
8000
8001Changed the default location of output files.  All output files
8002are now placed in the current directory by default instead of in
8003the directory of the source file.  This change may affect some
8004existing makefiles, but it brings the behavior of the compiler in
8005line with other similar tools.  The location of the output files
8006can be overridden with the -p command line switch.
8007
8008
8009----------------------------------------
801011 November 2002.  Summary of changes for version 20021111.
8011
8012
80130) ACPI Specification 2.0B is released and is now available at:
8014http://www.acpi.info/index.html
8015
8016
80171) ACPI CA Core Subsystem:
8018
8019Implemented support for the ACPI 2.0 SMBus Operation Regions.
8020This includes the early detection and handoff of the request to
8021the SMBus region handler (avoiding all of the complex field
8022support code), and support for the bidirectional return packet
8023from an SMBus write operation.  This paves the way for the
8024development of SMBus drivers in each host operating system.
8025
8026Fixed a problem where the semaphore WAIT_FOREVER constant was
8027defined as 32 bits, but must be 16 bits according to the ACPI
8028specification.  This had the side effect of causing ASL
8029Mutex/Event timeouts even though the ASL code requested a wait
8030forever.  Changed all internal references to the ACPI timeout
8031parameter to 16 bits to prevent future problems.  Changed the name
8032of WAIT_FOREVER to ACPI_WAIT_FOREVER.
8033
8034Code and Data Size: Current core subsystem library sizes are shown
8035below.  These are the code and data sizes for the acpica.lib
8036produced by the Microsoft Visual C++ 6.0 compiler, and these
8037values do not include any ACPI driver or OSPM code.  The debug
8038version of the code includes the debug output trace mechanism and
8039has a much larger code and data size.  Note that these values will
8040vary depending on the efficiency of the compiler and the compiler
8041options used during generation.
8042
8043  Previous Release
8044    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8045    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8046  Current Release:
8047    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8048    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8049
8050
80512) Linux
8052
8053Module loading/unloading fixes (John Cagle)
8054
8055
80563) iASL Compiler/Disassembler
8057
8058Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
8059
8060Implemented support for the disassembly of all SMBus protocol
8061keywords (SMBQuick, SMBWord, etc.)
8062
8063----------------------------------------
806401 November 2002.  Summary of changes for version 20021101.
8065
8066
80671) ACPI CA Core Subsystem:
8068
8069Fixed a problem where platforms that have a GPE1 block but no GPE0
8070block were not handled correctly.  This resulted in a "GPE
8071overlap" error message.  GPE0 is no longer required.
8072
8073Removed code added in the previous release that inserted nodes
8074into the namespace in alphabetical order.  This caused some side-
8075effects on various machines.  The root cause of the problem is
8076still under investigation since in theory, the internal ordering
8077of the namespace nodes should not matter.
8078
8079
8080Enhanced error reporting for the case where a named object is not
8081found during control method execution.  The full ACPI namepath
8082(name reference) of the object that was not found is displayed in
8083this case.
8084
8085Note: as a result of the overhaul of the namespace object types in
8086the previous release, the namespace nodes for the predefined
8087scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
8088instead of ACPI_TYPE_ANY.  This simplifies the namespace
8089management code but may affect code that walks the namespace tree
8090looking for specific object types.
8091
8092Code and Data Size: Current core subsystem library sizes are shown
8093below.  These are the code and data sizes for the acpica.lib
8094produced by the Microsoft Visual C++ 6.0 compiler, and these
8095values do not include any ACPI driver or OSPM code.  The debug
8096version of the code includes the debug output trace mechanism and
8097has a much larger code and data size.  Note that these values will
8098vary depending on the efficiency of the compiler and the compiler
8099options used during generation.
8100
8101  Previous Release
8102    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8103    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8104  Current Release:
8105    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8106    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8107
8108
81092) Linux
8110
8111Fixed a problem introduced in the previous release where the
8112Processor and Thermal objects were not recognized and installed in
8113/proc.  This was related to the scope type change described above.
8114
8115
81163) iASL Compiler/Disassembler
8117
8118Implemented the -g option to get all of the required ACPI tables
8119from the registry and save them to files (Windows version of the
8120compiler only.)  The required tables are the FADT, FACS, and DSDT.
8121
8122Added ACPI table checksum validation during table disassembly in
8123order to catch corrupted tables.
8124
8125
8126----------------------------------------
812722 October 2002.  Summary of changes for version 20021022.
8128
81291) ACPI CA Core Subsystem:
8130
8131Implemented a restriction on the Scope operator that the target
8132must already exist in the namespace at the time the operator is
8133encountered (during table load or method execution).  In other
8134words, forward references are not allowed and Scope() cannot
8135create a new object. This changes the previous behavior where the
8136interpreter would create the name if not found.  This new behavior
8137correctly enables the search-to-root algorithm during namespace
8138lookup of the target name.  Because of this upsearch, this fixes
8139the known Compaq _SB_.OKEC problem and makes both the AML
8140interpreter and iASL compiler compatible with other ACPI
8141implementations.
8142
8143Completed a major overhaul of the internal ACPI object types for
8144the ACPI Namespace and the associated operand objects.  Many of
8145these types had become obsolete with the introduction of the two-
8146pass namespace load.  This cleanup simplifies the code and makes
8147the entire namespace load mechanism much clearer and easier to
8148understand.
8149
8150Improved debug output for tracking scope opening/closing to help
8151diagnose scoping issues.  The old scope name as well as the new
8152scope name are displayed.  Also improved error messages for
8153problems with ASL Mutex objects and error messages for GPE
8154problems.
8155
8156Cleaned up the namespace dump code, removed obsolete code.
8157
8158All string output (for all namespace/object dumps) now uses the
8159common ACPI string output procedure which handles escapes properly
8160and does not emit non-printable characters.
8161
8162Fixed some issues with constants in the 64-bit version of the
8163local C library (utclib.c)
8164
8165
81662) Linux
8167
8168EC Driver:  No longer attempts to acquire the Global Lock at
8169interrupt level.
8170
8171
81723) iASL Compiler/Disassembler
8173
8174Implemented ACPI 2.0B grammar change that disallows all Type 1 and
81752 opcodes outside of a control method.  This means that the
8176"executable" operators (versus the "namespace" operators) cannot
8177be used at the table level; they can only be used within a control
8178method.
8179
8180Implemented the restriction on the Scope() operator where the
8181target must already exist in the namespace at the time the
8182operator is encountered (during ASL compilation). In other words,
8183forward references are not allowed and Scope() cannot create a new
8184object.  This makes the iASL compiler compatible with other ACPI
8185implementations and makes the Scope() implementation adhere to the
8186ACPI specification.
8187
8188Fixed a problem where namepath optimization for the Alias operator
8189was optimizing the wrong path (of the two namepaths.)  This caused
8190a "Missing alias link" error message.
8191
8192Fixed a problem where an "unknown reserved name" warning could be
8193incorrectly generated for names like "_SB" when the trailing
8194underscore is not used in the original ASL.
8195
8196Fixed a problem where the reserved name check did not handle
8197NamePaths with multiple NameSegs correctly.  The first nameseg of
8198the NamePath was examined instead of the last NameSeg.
8199
8200
8201----------------------------------------
8202
820302 October 2002.  Summary of changes for this release.
8204
8205
82061) ACPI CA Core Subsystem version 20021002:
8207
8208Fixed a problem where a store/copy of a string to an existing
8209string did not always set the string length properly in the String
8210object.
8211
8212Fixed a reported problem with the ToString operator where the
8213behavior was identical to the ToHexString operator instead of just
8214simply converting a raw buffer to a string data type.
8215
8216Fixed a problem where CopyObject and the other "explicit"
8217conversion operators were not updating the internal namespace node
8218type as part of the store operation.
8219
8220Fixed a memory leak during implicit source operand conversion
8221where the original object was not deleted if it was converted to a
8222new object of a different type.
8223
8224Enhanced error messages for all problems associated with namespace
8225lookups.  Common procedure generates and prints the lookup name as
8226well as the formatted status.
8227
8228Completed implementation of a new design for the Alias support
8229within the namespace.  The existing design did not handle the case
8230where a new object was assigned to one of the two names due to the
8231use of an explicit conversion operator, resulting in the two names
8232pointing to two different objects.  The new design simply points
8233the Alias name to the original name node - not to the object.
8234This results in a level of indirection that must be handled in the
8235name resolution mechanism.
8236
8237Code and Data Size: Current core subsystem library sizes are shown
8238below.  These are the code and data sizes for the acpica.lib
8239produced by the Microsoft Visual C++ 6.0 compiler, and these
8240values do not include any ACPI driver or OSPM code.  The debug
8241version of the code includes the debug output trace mechanism and
8242has a larger code and data size.  Note that these values will vary
8243depending on the efficiency of the compiler and the compiler
8244options used during generation.
8245
8246  Previous Release
8247    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8248    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8249  Current Release:
8250    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8251    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8252
8253
82542) Linux
8255
8256Initialize thermal driver's timer before it is used. (Knut
8257Neumann)
8258
8259Allow handling negative celsius values. (Kochi Takayoshi)
8260
8261Fix thermal management and make trip points. R/W (Pavel Machek)
8262
8263Fix /proc/acpi/sleep. (P. Christeas)
8264
8265IA64 fixes. (David Mosberger)
8266
8267Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
8268
8269Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
8270Brodowski)
8271
8272
82733) iASL Compiler/Disassembler
8274
8275Clarified some warning/error messages.
8276
8277
8278----------------------------------------
827918 September 2002.  Summary of changes for this release.
8280
8281
82821) ACPI CA Core Subsystem version 20020918:
8283
8284Fixed a reported problem with reference chaining (via the Index()
8285and RefOf() operators) in the ObjectType() and SizeOf() operators.
8286The definition of these operators includes the dereferencing of
8287all chained references to return information on the base object.
8288
8289Fixed a problem with stores to indexed package elements - the
8290existing code would not complete the store if an "implicit
8291conversion" was not performed.  In other words, if the existing
8292object (package element) was to be replaced completely, the code
8293didn't handle this case.
8294
8295Relaxed typechecking on the ASL "Scope" operator to allow the
8296target name to refer to an object of type Integer, String, or
8297Buffer, in addition to the scoping object types (Device,
8298predefined Scopes, Processor, PowerResource, and ThermalZone.)
8299This allows existing AML code that has workarounds for a bug in
8300Windows to function properly.  A warning is issued, however.  This
8301affects both the AML interpreter and the iASL compiler. Below is
8302an example of this type of ASL code:
8303
8304      Name(DEB,0x00)
8305      Scope(DEB)
8306      {
8307
8308Fixed some reported problems with 64-bit integer support in the
8309local implementation of C library functions (clib.c)
8310
8311
83122) Linux
8313
8314Use ACPI fix map region instead of IOAPIC region, since it is
8315undefined in non-SMP.
8316
8317Ensure that the SCI has the proper polarity and trigger, even on
8318systems that do not have an interrupt override entry in the MADT.
8319
83202.5 big driver reorganization (Pat Mochel)
8321
8322Use early table mapping code from acpitable.c (Andi Kleen)
8323
8324New blacklist entries (Andi Kleen)
8325
8326Blacklist improvements. Split blacklist code out into a separate
8327file. Move checking the blacklist to very early. Previously, we
8328would use ACPI tables, and then halfway through init, check the
8329blacklist -- too late. Now, it's early enough to completely fall-
8330back to non-ACPI.
8331
8332
83333) iASL Compiler/Disassembler version 20020918:
8334
8335Fixed a problem where the typechecking code didn't know that an
8336alias could point to a method.  In other words, aliases were not
8337being dereferenced during typechecking.
8338
8339
8340----------------------------------------
834129 August 2002.  Summary of changes for this release.
8342
83431) ACPI CA Core Subsystem Version 20020829:
8344
8345If the target of a Scope() operator already exists, it must be an
8346object type that actually opens a scope -- such as a Device,
8347Method, Scope, etc.  This is a fatal runtime error.  Similar error
8348check has been added to the iASL compiler also.
8349
8350Tightened up the namespace load to disallow multiple names in the
8351same scope.  This previously was allowed if both objects were of
8352the same type.  (i.e., a lookup was the same as entering a new
8353name).
8354
8355
83562) Linux
8357
8358Ensure that the ACPI interrupt has the proper trigger and
8359polarity.
8360
8361local_irq_disable is extraneous. (Matthew Wilcox)
8362
8363Make "acpi=off" actually do what it says, and not use the ACPI
8364interpreter *or* the tables.
8365
8366Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
8367Takayoshi)
8368
8369
83703) iASL Compiler/Disassembler  Version 20020829:
8371
8372Implemented namepath optimization for name declarations.  For
8373example, a declaration like "Method (\_SB_.ABCD)" would get
8374optimized to "Method (ABCD)" if the declaration is within the
8375\_SB_ scope.  This optimization is in addition to the named
8376reference path optimization first released in the previous
8377version. This would seem to complete all possible optimizations
8378for namepaths within the ASL/AML.
8379
8380If the target of a Scope() operator already exists, it must be an
8381object type that actually opens a scope -- such as a Device,
8382Method, Scope, etc.
8383
8384Implemented a check and warning for unreachable code in the same
8385block below a Return() statement.
8386
8387Fixed a problem where the listing file was not generated if the
8388compiler aborted if the maximum error count was exceeded (200).
8389
8390Fixed a problem where the typechecking of method return values was
8391broken.  This includes the check for a return value when the
8392method is invoked as a TermArg (a return value is expected.)
8393
8394Fixed a reported problem where EOF conditions during a quoted
8395string or comment caused a fault.
8396
8397
8398----------------------------------------
839915 August 2002.  Summary of changes for this release.
8400
84011) ACPI CA Core Subsystem Version 20020815:
8402
8403Fixed a reported problem where a Store to a method argument that
8404contains a reference did not perform the indirect store correctly.
8405This problem was created during the conversion to the new
8406reference object model - the indirect store to a method argument
8407code was not updated to reflect the new model.
8408
8409Reworked the ACPI mode change code to better conform to ACPI 2.0,
8410handle corner cases, and improve code legibility (Kochi Takayoshi)
8411
8412Fixed a problem with the pathname parsing for the carat (^)
8413prefix.  The heavy use of the carat operator by the new namepath
8414optimization in the iASL compiler uncovered a problem with the AML
8415interpreter handling of this prefix.  In the case where one or
8416more carats precede a single nameseg, the nameseg was treated as
8417standalone and the search rule (to root) was inadvertently
8418applied.  This could cause both the iASL compiler and the
8419interpreter to find the wrong object or to miss the error that
8420should occur if the object does not exist at that exact pathname.
8421
8422Found and fixed the problem where the HP Pavilion DSDT would not
8423load.  This was a relatively minor tweak to the table loading code
8424(a problem caused by the unexpected encounter with a method
8425invocation not within a control method), but it does not solve the
8426overall issue of the execution of AML code at the table level.
8427This investigation is still ongoing.
8428
8429Code and Data Size: Current core subsystem library sizes are shown
8430below.  These are the code and data sizes for the acpica.lib
8431produced by the Microsoft Visual C++ 6.0 compiler, and these
8432values do not include any ACPI driver or OSPM code.  The debug
8433version of the code includes the debug output trace mechanism and
8434has a larger code and data size.  Note that these values will vary
8435depending on the efficiency of the compiler and the compiler
8436options used during generation.
8437
8438  Previous Release
8439    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8440    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8441  Current Release:
8442    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8443    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8444
8445
84462) Linux
8447
8448Remove redundant slab.h include (Brad Hards)
8449
8450Fix several bugs in thermal.c (Herbert Nachtnebel)
8451
8452Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
8453
8454Change acpi_system_suspend to use updated irq functions (Pavel
8455Machek)
8456
8457Export acpi_get_firmware_table (Matthew Wilcox)
8458
8459Use proper root proc entry for ACPI (Kochi Takayoshi)
8460
8461Fix early-boot table parsing (Bjorn Helgaas)
8462
8463
84643) iASL Compiler/Disassembler
8465
8466Reworked the compiler options to make them more consistent and to
8467use two-letter options where appropriate.  We were running out of
8468sensible letters.   This may break some makefiles, so check the
8469current options list by invoking the compiler with no parameters.
8470
8471Completed the design and implementation of the ASL namepath
8472optimization option for the compiler.  This option optimizes all
8473references to named objects to the shortest possible path.  The
8474first attempt tries to utilize a single nameseg (4 characters) and
8475the "search-to-root" algorithm used by the interpreter.  If that
8476cannot be used (because either the name is not in the search path
8477or there is a conflict with another object with the same name),
8478the pathname is optimized using the carat prefix (usually a
8479shorter string than specifying the entire path from the root.)
8480
8481Implemented support to obtain the DSDT from the Windows registry
8482(when the disassembly option is specified with no input file).
8483Added this code as the implementation for AcpiOsTableOverride in
8484the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
8485utility) to scan memory for the DSDT to the AcpiOsTableOverride
8486function in the DOS OSL to make the disassembler truly OS
8487independent.
8488
8489Implemented a new option to disassemble and compile in one step.
8490When used without an input filename, this option will grab the
8491DSDT from the local machine, disassemble it, and compile it in one
8492step.
8493
8494Added a warning message for invalid escapes (a backslash followed
8495by any character other than the allowable escapes).  This catches
8496the quoted string error "\_SB_" (which should be "\\_SB_" ).
8497
8498Also, there are numerous instances in the ACPI specification where
8499this error occurs.
8500
8501Added a compiler option to disable all optimizations.  This is
8502basically the "compatibility mode" because by using this option,
8503the AML code will come out exactly the same as other ASL
8504compilers.
8505
8506Added error messages for incorrectly ordered dependent resource
8507functions.  This includes: missing EndDependentFn macro at end of
8508dependent resource list, nested dependent function macros (both
8509start and end), and missing StartDependentFn macro.  These are
8510common errors that should be caught at compile time.
8511
8512Implemented _OSI support for the disassembler and compiler.  _OSI
8513must be included in the namespace for proper disassembly (because
8514the disassembler must know the number of arguments.)
8515
8516Added an "optimization" message type that is optional (off by
8517default).  This message is used for all optimizations - including
8518constant folding, integer optimization, and namepath optimization.
8519
8520----------------------------------------
852125 July 2002.  Summary of changes for this release.
8522
8523
85241) ACPI CA Core Subsystem Version 20020725:
8525
8526The AML Disassembler has been enhanced to produce compilable ASL
8527code and has been integrated into the iASL compiler (see below) as
8528well as the single-step disassembly for the AML debugger and the
8529disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
8530resource templates and macros are fully supported.  The
8531disassembler has been tested on over 30 different AML files,
8532producing identical AML when the resulting disassembled ASL file
8533is recompiled with the same ASL compiler.
8534
8535Modified the Resource Manager to allow zero interrupts and zero
8536dma channels during the GetCurrentResources call.  This was
8537causing problems on some platforms.
8538
8539Added the AcpiOsRedirectOutput interface to the OSL to simplify
8540output redirection for the AcpiOsPrintf and AcpiOsVprintf
8541interfaces.
8542
8543Code and Data Size: Current core subsystem library sizes are shown
8544below.  These are the code and data sizes for the acpica.lib
8545produced by the Microsoft Visual C++ 6.0 compiler, and these
8546values do not include any ACPI driver or OSPM code.  The debug
8547version of the code includes the debug output trace mechanism and
8548has a larger code and data size.  Note that these values will vary
8549depending on the efficiency of the compiler and the compiler
8550options used during generation.
8551
8552  Previous Release
8553    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8554    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8555  Current Release:
8556    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8557    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8558
8559
85602) Linux
8561
8562Fixed a panic in the EC driver (Dominik Brodowski)
8563
8564Implemented checksum of the R/XSDT itself during Linux table scan
8565(Richard Schaal)
8566
8567
85683) iASL compiler
8569
8570The AML disassembler is integrated into the compiler.  The "-d"
8571option invokes the disassembler  to completely disassemble an
8572input AML file, producing as output a text ASL file with the
8573extension ".dsl" (to avoid name collisions with existing .asl
8574source files.)  A future enhancement will allow the disassembler
8575to obtain the BIOS DSDT from the registry under Windows.
8576
8577Fixed a problem with the VendorShort and VendorLong resource
8578descriptors where an invalid AML sequence was created.
8579
8580Implemented a fix for BufferData term in the ASL parser.  It was
8581inadvertently defined twice, allowing invalid syntax to pass and
8582causing reduction conflicts.
8583
8584Fixed a problem where the Ones opcode could get converted to a
8585value of zero if "Ones" was used where a byte, word or dword value
8586was expected.  The 64-bit value is now truncated to the correct
8587size with the correct value.
8588
8589
8590
8591----------------------------------------
859202 July 2002.  Summary of changes for this release.
8593
8594
85951) ACPI CA Core Subsystem Version 20020702:
8596
8597The Table Manager code has been restructured to add several new
8598features.  Tables that are not required by the core subsystem
8599(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8600validated in any way and are returned from AcpiGetFirmwareTable if
8601requested.  The AcpiOsTableOverride interface is now called for
8602each table that is loaded by the subsystem in order to allow the
8603host to override any table it chooses.  Previously, only the DSDT
8604could be overridden.  Added one new files, tbrsdt.c and
8605tbgetall.c.
8606
8607Fixed a problem with the conversion of internal package objects to
8608external objects (when a package is returned from a control
8609method.)  The return buffer length was set to zero instead of the
8610proper length of the package object.
8611
8612Fixed a reported problem with the use of the RefOf and DeRefOf
8613operators when passing reference arguments to control methods.  A
8614new type of Reference object is used internally for references
8615produced by the RefOf operator.
8616
8617Added additional error messages in the Resource Manager to explain
8618AE_BAD_DATA errors when they occur during resource parsing.
8619
8620Split the AcpiEnableSubsystem into two primitives to enable a
8621finer granularity initialization sequence.  These two calls should
8622be called in this order: AcpiEnableSubsystem (flags),
8623AcpiInitializeObjects (flags).  The flags parameter remains the
8624same.
8625
8626
86272) Linux
8628
8629Updated the ACPI utilities module to understand the new style of
8630fully resolved package objects that are now returned from the core
8631subsystem.  This eliminates errors of the form:
8632
8633    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
8634    acpi_utils-0430 [145] acpi_evaluate_reference:
8635        Invalid element in package (not a device reference)
8636
8637The method evaluation utility uses the new buffer allocation
8638scheme instead of calling AcpiEvaluate Object twice.
8639
8640Added support for ECDT. This allows the use of the Embedded
8641
8642Controller before the namespace has been fully initialized, which
8643is necessary for ACPI 2.0 support, and for some laptops to
8644initialize properly. (Laptops using ECDT are still rare, so only
8645limited testing was performed of the added functionality.)
8646
8647Fixed memory leaks in the EC driver.
8648
8649Eliminated a brittle code structure in acpi_bus_init().
8650
8651Eliminated the acpi_evaluate() helper function in utils.c. It is
8652no longer needed since acpi_evaluate_object can optionally
8653allocate memory for the return object.
8654
8655Implemented fix for keyboard hang when getting battery readings on
8656some systems (Stephen White)
8657
8658PCI IRQ routing update (Dominik Brodowski)
8659
8660Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
8661support
8662
8663----------------------------------------
866411 June 2002.  Summary of changes for this release.
8665
8666
86671) ACPI CA Core Subsystem Version 20020611:
8668
8669Fixed a reported problem where constants such as Zero and One
8670appearing within _PRT packages were not handled correctly within
8671the resource manager code.  Originally reported against the ASL
8672compiler because the code generator now optimizes integers to
8673their minimal AML representation (i.e. AML constants if possible.)
8674The _PRT code now handles all AML constant opcodes correctly
8675(Zero, One, Ones, Revision).
8676
8677Fixed a problem with the Concatenate operator in the AML
8678interpreter where a buffer result object was incorrectly marked as
8679not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
8680
8681All package sub-objects are now fully resolved before they are
8682returned from the external ACPI interfaces.  This means that name
8683strings are resolved to object handles, and constant operators
8684(Zero, One, Ones, Revision) are resolved to Integers.
8685
8686Implemented immediate resolution of the AML Constant opcodes
8687(Zero, One, Ones, Revision) to Integer objects upon detection
8688within the AML stream. This has simplified and reduced the
8689generated code size of the subsystem by eliminating about 10
8690switch statements for these constants (which previously were
8691contained in Reference objects.)  The complicating issues are that
8692the Zero opcode is used as a "placeholder" for unspecified
8693optional target operands and stores to constants are defined to be
8694no-ops.
8695
8696Code and Data Size: Current core subsystem library sizes are shown
8697below. These are the code and data sizes for the acpica.lib
8698produced by the Microsoft Visual C++ 6.0 compiler, and these
8699values do not include any ACPI driver or OSPM code.  The debug
8700version of the code includes the debug output trace mechanism and
8701has a larger code and data size.  Note that these values will vary
8702depending on the efficiency of the compiler and the compiler
8703options used during generation.
8704
8705  Previous Release
8706    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8707    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8708  Current Release:
8709    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8710    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8711
8712
87132) Linux
8714
8715
8716Added preliminary support for obtaining _TRA data for PCI root
8717bridges (Bjorn Helgaas).
8718
8719
87203) iASL Compiler Version X2046:
8721
8722Fixed a problem where the "_DDN" reserved name was defined to be a
8723control method with one argument.  There are no arguments, and
8724_DDN does not have to be a control method.
8725
8726Fixed a problem with the Linux version of the compiler where the
8727source lines printed with error messages were the wrong lines.
8728This turned out to be the "LF versus CR/LF" difference between
8729Windows and Unix.  This appears to be the longstanding issue
8730concerning listing output and error messages.
8731
8732Fixed a problem with the Linux version of compiler where opcode
8733names within error messages were wrong.  This was caused by a
8734slight difference in the output of the Flex tool on Linux versus
8735Windows.
8736
8737Fixed a problem with the Linux compiler where the hex output files
8738contained some garbage data caused by an internal buffer overrun.
8739
8740
8741----------------------------------------
874217 May 2002.  Summary of changes for this release.
8743
8744
87451) ACPI CA Core Subsystem Version 20020517:
8746
8747Implemented a workaround to an BIOS bug discovered on the HP
8748OmniBook where the FADT revision number and the table size are
8749inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
8750behavior is to fallback to using only the ACPI 1.0 fields of the
8751FADT if the table is too small to be a ACPI 2.0 table as claimed
8752by the revision number.  Although this is a BIOS bug, this is a
8753case where the workaround is simple enough and with no side
8754effects, so it seemed prudent to add it.  A warning message is
8755issued, however.
8756
8757Implemented minimum size checks for the fixed-length ACPI tables -
8758- the FADT and FACS, as well as consistency checks between the
8759revision number and the table size.
8760
8761Fixed a reported problem in the table override support where the
8762new table pointer was incorrectly treated as a physical address
8763instead of a logical address.
8764
8765Eliminated the use of the AE_AML_ERROR exception and replaced it
8766with more descriptive codes.
8767
8768Fixed a problem where an exception would occur if an ASL Field was
8769defined with no named Field Units underneath it (used by some
8770index fields).
8771
8772Code and Data Size: Current core subsystem library sizes are shown
8773below.  These are the code and data sizes for the acpica.lib
8774produced by the Microsoft Visual C++ 6.0 compiler, and these
8775values do not include any ACPI driver or OSPM code.  The debug
8776version of the code includes the debug output trace mechanism and
8777has a larger code and data size.  Note that these values will vary
8778depending on the efficiency of the compiler and the compiler
8779options used during generation.
8780
8781  Previous Release
8782    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8783    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8784  Current Release:
8785    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8786    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8787
8788
8789
87902) Linux
8791
8792Much work done on ACPI init (MADT and PCI IRQ routing support).
8793(Paul D. and Dominik Brodowski)
8794
8795Fix PCI IRQ-related panic on boot (Sam Revitch)
8796
8797Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
8798
8799Fix "MHz" typo (Dominik Brodowski)
8800
8801Fix RTC year 2000 issue (Dominik Brodowski)
8802
8803Preclude multiple button proc entries (Eric Brunet)
8804
8805Moved arch-specific code out of include/platform/aclinux.h
8806
88073) iASL Compiler Version X2044:
8808
8809Implemented error checking for the string used in the EISAID macro
8810(Usually used in the definition of the _HID object.)  The code now
8811strictly enforces the PnP format - exactly 7 characters, 3
8812uppercase letters and 4 hex digits.
8813
8814If a raw string is used in the definition of the _HID object
8815(instead of the EISAID macro), the string must contain all
8816alphanumeric characters (e.g., "*PNP0011" is not allowed because
8817of the asterisk.)
8818
8819Implemented checking for invalid use of ACPI reserved names for
8820most of the name creation operators (Name, Device, Event, Mutex,
8821OperationRegion, PowerResource, Processor, and ThermalZone.)
8822Previously, this check was only performed for control methods.
8823
8824Implemented an additional check on the Name operator to emit an
8825error if a reserved name that must be implemented in ASL as a
8826control method is used.  We know that a reserved name must be a
8827method if it is defined with input arguments.
8828
8829The warning emitted when a namespace object reference is not found
8830during the cross reference phase has been changed into an error.
8831The "External" directive should be used for names defined in other
8832modules.
8833
8834
88354) Tools and Utilities
8836
8837The 16-bit tools (adump16 and aexec16) have been regenerated and
8838tested.
8839
8840Fixed a problem with the output of both acpidump and adump16 where
8841the indentation of closing parentheses and brackets was not
8842
8843aligned properly with the parent block.
8844
8845
8846----------------------------------------
884703 May 2002.  Summary of changes for this release.
8848
8849
88501) ACPI CA Core Subsystem Version 20020503:
8851
8852Added support a new OSL interface that allows the host operating
8853
8854system software to override the DSDT found in the firmware -
8855AcpiOsTableOverride.  With this interface, the OSL can examine the
8856version of the firmware DSDT and replace it with a different one
8857if desired.
8858
8859Added new external interfaces for accessing ACPI registers from
8860device drivers and other system software - AcpiGetRegister and
8861AcpiSetRegister.  This was simply an externalization of the
8862existing AcpiHwBitRegister interfaces.
8863
8864Fixed a regression introduced in the previous build where the
8865ASL/AML CreateField operator always returned an error,
8866"destination must be a NS Node".
8867
8868Extended the maximum time (before failure) to successfully enable
8869ACPI mode to 3 seconds.
8870
8871Code and Data Size: Current core subsystem library sizes are shown
8872below.  These are the code and data sizes for the acpica.lib
8873produced by the Microsoft Visual C++ 6.0 compiler, and these
8874values do not include any ACPI driver or OSPM code.  The debug
8875version of the code includes the debug output trace mechanism and
8876has a larger code and data size.  Note that these values will vary
8877depending on the efficiency of the compiler and the compiler
8878options used during generation.
8879
8880  Previous Release
8881    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8882    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8883  Current Release:
8884    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8885    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8886
8887
88882) Linux
8889
8890Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
8891free. While 3 out of 4 of our in-house systems work fine, the last
8892one still hangs when testing the LAPIC timer.
8893
8894Renamed many files in 2.5 kernel release to omit "acpi_" from the
8895name.
8896
8897Added warning on boot for Presario 711FR.
8898
8899Sleep improvements (Pavel Machek)
8900
8901ACPI can now be built without CONFIG_PCI enabled.
8902
8903IA64: Fixed memory map functions (JI Lee)
8904
8905
89063) iASL Compiler Version X2043:
8907
8908Added support to allow the compiler to be integrated into the MS
8909VC++ development environment for one-button compilation of single
8910files or entire projects -- with error-to-source-line mapping.
8911
8912Implemented support for compile-time constant folding for the
8913Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
8914specification.  This allows the ASL writer to use expressions
8915instead of Integer/Buffer/String constants in terms that must
8916evaluate to constants at compile time and will also simplify the
8917emitted AML in any such sub-expressions that can be folded
8918(evaluated at compile-time.)  This increases the size of the
8919compiler significantly because a portion of the ACPI CA AML
8920interpreter is included within the compiler in order to pre-
8921evaluate constant expressions.
8922
8923
8924Fixed a problem with the "Unicode" ASL macro that caused the
8925compiler to fault.  (This macro is used in conjunction with the
8926_STR reserved name.)
8927
8928Implemented an AML opcode optimization to use the Zero, One, and
8929Ones opcodes where possible to further reduce the size of integer
8930constants and thus reduce the overall size of the generated AML
8931code.
8932
8933Implemented error checking for new reserved terms for ACPI version
89342.0A.
8935
8936Implemented the -qr option to display the current list of ACPI
8937reserved names known to the compiler.
8938
8939Implemented the -qc option to display the current list of ASL
8940operators that are allowed within constant expressions and can
8941therefore be folded at compile time if the operands are constants.
8942
8943
89444) Documentation
8945
8946Updated the Programmer's Reference for new interfaces, data types,
8947and memory allocation model options.
8948
8949Updated the iASL Compiler User Reference to apply new format and
8950add information about new features and options.
8951
8952----------------------------------------
895319 April 2002.  Summary of changes for this release.
8954
89551) ACPI CA Core Subsystem Version 20020419:
8956
8957The source code base for the Core Subsystem has been completely
8958cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
8959versions.  The Lint option files used are included in the
8960/acpi/generate/lint directory.
8961
8962Implemented enhanced status/error checking across the entire
8963Hardware manager subsystem.  Any hardware errors (reported from
8964the OSL) are now bubbled up and will abort a running control
8965method.
8966
8967
8968Fixed a problem where the per-ACPI-table integer width (32 or 64)
8969was stored only with control method nodes, causing a fault when
8970non-control method code was executed during table loading.  The
8971solution implemented uses a global variable to indicate table
8972width across the entire ACPI subsystem.  Therefore, ACPI CA does
8973not support mixed integer widths across different ACPI tables
8974(DSDT, SSDT).
8975
8976Fixed a problem where NULL extended fields (X fields) in an ACPI
89772.0 ACPI FADT caused the table load to fail.  Although the
8978existing ACPI specification is a bit fuzzy on this topic, the new
8979behavior is to fall back on a ACPI 1.0 field if the corresponding
8980ACPI 2.0 X field is zero (even though the table revision indicates
8981a full ACPI 2.0 table.)  The ACPI specification will be updated to
8982clarify this issue.
8983
8984Fixed a problem with the SystemMemory operation region handler
8985where memory was always accessed byte-wise even if the AML-
8986specified access width was larger than a byte.  This caused
8987problems on systems with memory-mapped I/O.  Memory is now
8988accessed with the width specified.  On systems that do not support
8989non-aligned transfers, a check is made to guarantee proper address
8990alignment before proceeding in order to avoid an AML-caused
8991alignment fault within the kernel.
8992
8993
8994Fixed a problem with the ExtendedIrq resource where only one byte
8995of the 4-byte Irq field was extracted.
8996
8997Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
8998function was out of date and required a rewrite.
8999
9000Code and Data Size: Current core subsystem library sizes are shown
9001below.  These are the code and data sizes for the acpica.lib
9002produced by the Microsoft Visual C++ 6.0 compiler, and these
9003values do not include any ACPI driver or OSPM code.  The debug
9004version of the code includes the debug output trace mechanism and
9005has a larger code and data size.  Note that these values will vary
9006depending on the efficiency of the compiler and the compiler
9007options used during generation.
9008
9009  Previous Release
9010    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9011    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9012  Current Release:
9013    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9014    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9015
9016
90172) Linux
9018
9019PCI IRQ routing fixes (Dominik Brodowski)
9020
9021
90223) iASL Compiler Version X2042:
9023
9024Implemented an additional compile-time error check for a field
9025unit whose size + minimum access width would cause a run-time
9026access beyond the end-of-region.  Previously, only the field size
9027itself was checked.
9028
9029The Core subsystem and iASL compiler now share a common parse
9030object in preparation for compile-time evaluation of the type
90313/4/5 ASL operators.
9032
9033
9034----------------------------------------
9035Summary of changes for this release: 03_29_02
9036
90371) ACPI CA Core Subsystem Version 20020329:
9038
9039Implemented support for late evaluation of TermArg operands to
9040Buffer and Package objects.  This allows complex expressions to be
9041used in the declarations of these object types.
9042
9043Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
90441.0, if the field was larger than 32 bits, it was returned as a
9045buffer - otherwise it was returned as an integer.  In ACPI 2.0,
9046the field is returned as a buffer only if the field is larger than
904764 bits.  The TableRevision is now considered when making this
9048conversion to avoid incompatibility with existing ASL code.
9049
9050Implemented logical addressing for AcpiOsGetRootPointer.  This
9051allows an RSDP with either a logical or physical address.  With
9052this support, the host OS can now override all ACPI tables with
9053one logical RSDP.  Includes implementation of  "typed" pointer
9054support to allow a common data type for both physical and logical
9055pointers internally.  This required a change to the
9056AcpiOsGetRootPointer interface.
9057
9058Implemented the use of ACPI 2.0 Generic Address Structures for all
9059GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
9060mapped I/O for these ACPI features.
9061
9062Initialization now ignores not only non-required tables (All
9063tables other than the FADT, FACS, DSDT, and SSDTs), but also does
9064not validate the table headers of unrecognized tables.
9065
9066Fixed a problem where a notify handler could only be
9067installed/removed on an object of type Device.  All "notify"
9068
9069objects are now supported -- Devices, Processor, Power, and
9070Thermal.
9071
9072Removed most verbosity from the ACPI_DB_INFO debug level.  Only
9073critical information is returned when this debug level is enabled.
9074
9075Code and Data Size: Current core subsystem library sizes are shown
9076below.  These are the code and data sizes for the acpica.lib
9077produced by the Microsoft Visual C++ 6.0 compiler, and these
9078values do not include any ACPI driver or OSPM code.  The debug
9079version of the code includes the debug output trace mechanism and
9080has a larger code and data size.  Note that these values will vary
9081depending on the efficiency of the compiler and the compiler
9082options used during generation.
9083
9084  Previous Release
9085    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9086    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9087  Current Release:
9088    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9089    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9090
9091
90922) Linux:
9093
9094The processor driver (acpi_processor.c) now fully supports ACPI
90952.0-based processor performance control (e.g. Intel(R)
9096SpeedStep(TM) technology) Note that older laptops that only have
9097the Intel "applet" interface are not supported through this.  The
9098'limit' and 'performance' interface (/proc) are fully functional.
9099[Note that basic policy for controlling performance state
9100transitions will be included in the next version of ospmd.]  The
9101idle handler was modified to more aggressively use C2, and PIIX4
9102errata handling underwent a complete overhaul (big thanks to
9103Dominik Brodowski).
9104
9105Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
9106based devices in the ACPI namespace are now dynamically bound
9107(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
9108This allows, among other things, ACPI to resolve bus numbers for
9109subordinate PCI bridges.
9110
9111Enhanced PCI IRQ routing to get the proper bus number for _PRT
9112entries defined underneath PCI bridges.
9113
9114Added IBM 600E to bad bios list due to invalid _ADR value for
9115PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
9116
9117In the process of adding full MADT support (e.g. IOAPIC) for IA32
9118(acpi.c, mpparse.c) -- stay tuned.
9119
9120Added back visual differentiation between fixed-feature and
9121control-method buttons in dmesg.  Buttons are also subtyped (e.g.
9122button/power/PWRF) to simplify button identification.
9123
9124We no longer use -Wno-unused when compiling debug. Please ignore
9125any "_THIS_MODULE defined but not used" messages.
9126
9127Can now shut down the system using "magic sysrq" key.
9128
9129
91303) iASL Compiler version 2041:
9131
9132Fixed a problem where conversion errors for hex/octal/decimal
9133constants were not reported.
9134
9135Implemented a fix for the General Register template Address field.
9136This field was 8 bits when it should be 64.
9137
9138Fixed a problem where errors/warnings were no longer being emitted
9139within the listing output file.
9140
9141Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
9142exactly 4 characters, alphanumeric only.
9143
9144
9145
9146
9147----------------------------------------
9148Summary of changes for this release: 03_08_02
9149
9150
91511) ACPI CA Core Subsystem Version 20020308:
9152
9153Fixed a problem with AML Fields where the use of the "AccessAny"
9154keyword could cause an interpreter error due to attempting to read
9155or write beyond the end of the parent Operation Region.
9156
9157Fixed a problem in the SystemMemory Operation Region handler where
9158an attempt was made to map memory beyond the end of the region.
9159This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
9160errors on some Linux systems.
9161
9162Fixed a problem where the interpreter/namespace "search to root"
9163algorithm was not functioning for some object types.  Relaxed the
9164internal restriction on the search to allow upsearches for all
9165external object types as well as most internal types.
9166
9167
91682) Linux:
9169
9170We now use safe_halt() macro versus individual calls to sti | hlt.
9171
9172Writing to the processor limit interface should now work. "echo 1"
9173will increase the limit, 2 will decrease, and 0 will reset to the
9174
9175default.
9176
9177
91783) ASL compiler:
9179
9180Fixed segfault on Linux version.
9181
9182
9183----------------------------------------
9184Summary of changes for this release: 02_25_02
9185
91861) ACPI CA Core Subsystem:
9187
9188
9189Fixed a problem where the GPE bit masks were not initialized
9190properly, causing erratic GPE behavior.
9191
9192Implemented limited support for multiple calling conventions.  The
9193code can be generated with either the VPL (variable parameter
9194list, or "C") convention, or the FPL (fixed parameter list, or
9195"Pascal") convention.  The core subsystem is about 3.4% smaller
9196when generated with FPL.
9197
9198
91992) Linux
9200
9201Re-add some /proc/acpi/event functionality that was lost during
9202the rewrite
9203
9204Resolved issue with /proc events for fixed-feature buttons showing
9205up as the system device.
9206
9207Fixed checks on C2/C3 latencies to be inclusive of maximum values.
9208
9209Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
9210
9211Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
9212
9213Fixed limit interface & usage to fix bugs with passive cooling
9214hysterisis.
9215
9216Restructured PRT support.
9217
9218
9219----------------------------------------
9220Summary of changes for this label: 02_14_02
9221
9222
92231) ACPI CA Core Subsystem:
9224
9225Implemented support in AcpiLoadTable to allow loading of FACS and
9226FADT tables.
9227
9228Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
9229been removed.  All 64-bit platforms should be migrated to the ACPI
92302.0 tables.  The actbl71.h header has been removed from the source
9231tree.
9232
9233All C macros defined within the subsystem have been prefixed with
9234"ACPI_" to avoid collision with other system include files.
9235
9236Removed the return value for the two AcpiOsPrint interfaces, since
9237it is never used and causes lint warnings for ignoring the return
9238value.
9239
9240Added error checking to all internal mutex acquire and release
9241calls.  Although a failure from one of these interfaces is
9242probably a fatal system error, these checks will cause the
9243immediate abort of the currently executing method or interface.
9244
9245Fixed a problem where the AcpiSetCurrentResources interface could
9246fault.  This was a side effect of the deployment of the new memory
9247allocation model.
9248
9249Fixed a couple of problems with the Global Lock support introduced
9250in the last major build.  The "common" (1.0/2.0) internal FACS was
9251being overwritten with the FACS signature and clobbering the
9252Global Lock pointer.  Also, the actual firmware FACS was being
9253unmapped after construction of the "common" FACS, preventing
9254access to the actual Global Lock field within it.  The "common"
9255internal FACS is no longer installed as an actual ACPI table; it
9256is used simply as a global.
9257
9258Code and Data Size: Current core subsystem library sizes are shown
9259below.  These are the code and data sizes for the acpica.lib
9260produced by the Microsoft Visual C++ 6.0 compiler, and these
9261values do not include any ACPI driver or OSPM code.  The debug
9262version of the code includes the debug output trace mechanism and
9263has a larger code and data size.  Note that these values will vary
9264depending on the efficiency of the compiler and the compiler
9265options used during generation.
9266
9267  Previous Release (02_07_01)
9268    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9269    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9270  Current Release:
9271    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9272    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9273
9274
92752) Linux
9276
9277Updated Linux-specific code for core macro and OSL interface
9278changes described above.
9279
9280Improved /proc/acpi/event. It now can be opened only once and has
9281proper poll functionality.
9282
9283Fixed and restructured power management (acpi_bus).
9284
9285Only create /proc "view by type" when devices of that class exist.
9286
9287Fixed "charging/discharging" bug (and others) in acpi_battery.
9288
9289Improved thermal zone code.
9290
9291
92923) ASL Compiler, version X2039:
9293
9294
9295Implemented the new compiler restriction on ASL String hex/octal
9296escapes to non-null, ASCII values.  An error results if an invalid
9297value is used.  (This will require an ACPI 2.0 specification
9298change.)
9299
9300AML object labels that are output to the optional C and ASM source
9301are now prefixed with both the ACPI table signature and table ID
9302to help guarantee uniqueness within a large BIOS project.
9303
9304
9305----------------------------------------
9306Summary of changes for this label: 02_01_02
9307
93081) ACPI CA Core Subsystem:
9309
9310ACPI 2.0 support is complete in the entire Core Subsystem and the
9311ASL compiler. All new ACPI 2.0 operators are implemented and all
9312other changes for ACPI 2.0 support are complete.  With
9313simultaneous code and data optimizations throughout the subsystem,
9314ACPI 2.0 support has been implemented with almost no additional
9315cost in terms of code and data size.
9316
9317Implemented a new mechanism for allocation of return buffers.  If
9318the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
9319be allocated on behalf of the caller.  Consolidated all return
9320buffer validation and allocation to a common procedure.  Return
9321buffers will be allocated via the primary OSL allocation interface
9322since it appears that a separate pool is not needed by most users.
9323If a separate pool is required for these buffers, the caller can
9324still use the original mechanism and pre-allocate the buffer(s).
9325
9326Implemented support for string operands within the DerefOf
9327operator.
9328
9329Restructured the Hardware and Event managers to be table driven,
9330simplifying the source code and reducing the amount of generated
9331code.
9332
9333Split the common read/write low-level ACPI register bitfield
9334procedure into a separate read and write, simplifying the code
9335considerably.
9336
9337Obsoleted the AcpiOsCallocate OSL interface.  This interface was
9338used only a handful of times and didn't have enough critical mass
9339for a separate interface.  Replaced with a common calloc procedure
9340in the core.
9341
9342Fixed a reported problem with the GPE number mapping mechanism
9343that allows GPE1 numbers to be non-contiguous with GPE0.
9344Reorganized the GPE information and shrunk a large array that was
9345originally large enough to hold info for all possible GPEs (256)
9346to simply large enough to hold all GPEs up to the largest GPE
9347number on the machine.
9348
9349Fixed a reported problem with resource structure alignment on 64-
9350bit platforms.
9351
9352Changed the AcpiEnableEvent and AcpiDisableEvent external
9353interfaces to not require any flags for the common case of
9354enabling/disabling a GPE.
9355
9356Implemented support to allow a "Notify" on a Processor object.
9357
9358Most TBDs in comments within the source code have been resolved
9359and eliminated.
9360
9361
9362Fixed a problem in the interpreter where a standalone parent
9363prefix (^) was not handled correctly in the interpreter and
9364debugger.
9365
9366Removed obsolete and unnecessary GPE save/restore code.
9367
9368Implemented Field support in the ASL Load operator.  This allows a
9369table to be loaded from a named field, in addition to loading a
9370table directly from an Operation Region.
9371
9372Implemented timeout and handle support in the external Global Lock
9373interfaces.
9374
9375Fixed a problem in the AcpiDump utility where pathnames were no
9376longer being generated correctly during the dump of named objects.
9377
9378Modified the AML debugger to give a full display of if/while
9379predicates instead of just one AML opcode at a time.  (The
9380predicate can have several nested ASL statements.)  The old method
9381was confusing during single stepping.
9382
9383Code and Data Size: Current core subsystem library sizes are shown
9384below. These are the code and data sizes for the acpica.lib
9385produced by the Microsoft Visual C++ 6.0 compiler, and these
9386values do not include any ACPI driver or OSPM code.  The debug
9387version of the code includes the debug output trace mechanism and
9388has a larger code and data size.  Note that these values will vary
9389depending on the efficiency of the compiler and the compiler
9390options used during generation.
9391
9392  Previous Release (12_18_01)
9393     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9394     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9395   Current Release:
9396     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9397     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9398
93992) Linux
9400
9401 Implemented fix for PIIX reverse throttling errata (Processor
9402driver)
9403
9404Added new Limit interface (Processor and Thermal drivers)
9405
9406New thermal policy (Thermal driver)
9407
9408Many updates to /proc
9409
9410Battery "low" event support (Battery driver)
9411
9412Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9413
9414IA32 - IA64 initialization unification, no longer experimental
9415
9416Menuconfig options redesigned
9417
94183) ASL Compiler, version X2037:
9419
9420Implemented several new output features to simplify integration of
9421AML code into  firmware: 1) Output the AML in C source code with
9422labels for each named ASL object.  The    original ASL source code
9423is interleaved as C comments. 2) Output the AML in ASM source code
9424with labels and interleaved ASL    source. 3) Output the AML in
9425raw hex table form, in either C or ASM.
9426
9427Implemented support for optional string parameters to the
9428LoadTable operator.
9429
9430Completed support for embedded escape sequences within string
9431literals.  The compiler now supports all single character escapes
9432as well as the Octal and Hex escapes.  Note: the insertion of a
9433null byte into a string literal (via the hex/octal escape) causes
9434the string to be immediately terminated.  A warning is issued.
9435
9436Fixed a problem where incorrect AML was generated for the case
9437where an ASL namepath consists of a single parent prefix (
9438
9439) with no trailing name segments.
9440
9441The compiler has been successfully generated with a 64-bit C
9442compiler.
9443
9444
9445
9446
9447----------------------------------------
9448Summary of changes for this label: 12_18_01
9449
94501) Linux
9451
9452Enhanced blacklist with reason and severity fields. Any table's
9453signature may now be used to identify a blacklisted system.
9454
9455Call _PIC control method to inform the firmware which interrupt
9456model the OS is using. Turn on any disabled link devices.
9457
9458Cleaned up busmgr /proc error handling (Andreas Dilger)
9459
9460 2) ACPI CA Core Subsystem:
9461
9462Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
9463while loop)
9464
9465Completed implementation of the ACPI 2.0 "Continue",
9466"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9467operators.  All new ACPI 2.0 operators are now implemented in both
9468the ASL compiler and the AML interpreter.  The only remaining ACPI
94692.0 task is support for the String data type in the DerefOf
9470operator.  Fixed a problem with AcquireMutex where the status code
9471was lost if the caller had to actually wait for the mutex.
9472
9473Increased the maximum ASL Field size from 64K bits to 4G bits.
9474
9475Completed implementation of the external Global Lock interfaces --
9476AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
9477Handler parameters were added.
9478
9479Completed another pass at removing warnings and issues when
9480compiling with 64-bit compilers.  The code now compiles cleanly
9481with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
9482add and subtract (diff) macros have changed considerably.
9483
9484
9485Created and deployed a new ACPI_SIZE type that is 64-bits wide on
948664-bit platforms, 32-bits on all others.  This type is used
9487wherever memory allocation and/or the C sizeof() operator is used,
9488and affects the OSL memory allocation interfaces AcpiOsAllocate
9489and AcpiOsCallocate.
9490
9491Implemented sticky user breakpoints in the AML debugger.
9492
9493Code and Data Size: Current core subsystem library sizes are shown
9494below. These are the code and data sizes for the acpica.lib
9495produced by the Microsoft Visual C++ 6.0 compiler, and these
9496values do not include any ACPI driver or OSPM code.  The debug
9497version of the code includes the debug output trace mechanism and
9498has a larger code and data size. Note that these values will vary
9499depending on the efficiency of the compiler and the compiler
9500options used during generation.
9501
9502  Previous Release (12_05_01)
9503     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9504     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9505   Current Release:
9506     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9507     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9508
9509 3) ASL Compiler, version X2034:
9510
9511Now checks for (and generates an error if detected) the use of a
9512Break or Continue statement without an enclosing While statement.
9513
9514
9515Successfully generated the compiler with the Intel 64-bit C
9516compiler.
9517
9518 ----------------------------------------
9519Summary of changes for this label: 12_05_01
9520
9521 1) ACPI CA Core Subsystem:
9522
9523The ACPI 2.0 CopyObject operator is fully implemented.  This
9524operator creates a new copy of an object (and is also used to
9525bypass the "implicit conversion" mechanism of the Store operator.)
9526
9527The ACPI 2.0 semantics for the SizeOf operator are fully
9528implemented.  The change is that performing a SizeOf on a
9529reference object causes an automatic dereference of the object to
9530tha actual value before the size is evaluated. This behavior was
9531undefined in ACPI 1.0.
9532
9533The ACPI 2.0 semantics for the Extended IRQ resource descriptor
9534have been implemented.  The interrupt polarity and mode are now
9535independently set.
9536
9537Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
9538appearing in Package objects were not properly converted to
9539integers when the internal Package was converted to an external
9540object (via the AcpiEvaluateObject interface.)
9541
9542Fixed a problem with the namespace object deletion mechanism for
9543objects created by control methods.  There were two parts to this
9544problem: 1) Objects created during the initialization phase method
9545parse were not being deleted, and 2) The object owner ID mechanism
9546to track objects was broken.
9547
9548Fixed a problem where the use of the ASL Scope operator within a
9549control method would result in an invalid opcode exception.
9550
9551Fixed a problem introduced in the previous label where the buffer
9552length required for the _PRT structure was not being returned
9553correctly.
9554
9555Code and Data Size: Current core subsystem library sizes are shown
9556below. These are the code and data sizes for the acpica.lib
9557produced by the Microsoft Visual C++ 6.0 compiler, and these
9558values do not include any ACPI driver or OSPM code.  The debug
9559version of the code includes the debug output trace mechanism and
9560has a larger code and data size.  Note that these values will vary
9561depending on the efficiency of the compiler and the compiler
9562options used during generation.
9563
9564  Previous Release (11_20_01)
9565     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9566     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9567
9568  Current Release:
9569     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9570     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9571
9572 2) Linux:
9573
9574Updated all files to apply cleanly against 2.4.16.
9575
9576Added basic PCI Interrupt Routing Table (PRT) support for IA32
9577(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
9578version supports both static and dyanmic PRT entries, but dynamic
9579entries are treated as if they were static (not yet
9580reconfigurable).  Architecture- specific code to use this data is
9581absent on IA32 but should be available shortly.
9582
9583Changed the initialization sequence to start the ACPI interpreter
9584(acpi_init) prior to initialization of the PCI driver (pci_init)
9585in init/main.c.  This ordering is required to support PRT and
9586facilitate other (future) enhancement.  A side effect is that the
9587ACPI bus driver and certain device drivers can no longer be loaded
9588as modules.
9589
9590Modified the 'make menuconfig' options to allow PCI Interrupt
9591Routing support to be included without the ACPI Bus and other
9592device drivers.
9593
9594 3) ASL Compiler, version X2033:
9595
9596Fixed some issues with the use of the new CopyObject and
9597DataTableRegion operators.  Both are fully functional.
9598
9599 ----------------------------------------
9600Summary of changes for this label: 11_20_01
9601
9602 20 November 2001.  Summary of changes for this release.
9603
9604 1) ACPI CA Core Subsystem:
9605
9606Updated Index support to match ACPI 2.0 semantics.  Storing a
9607Integer, String, or Buffer to an Index of a Buffer will store only
9608the least-significant byte of the source to the Indexed buffer
9609byte.  Multiple writes are not performed.
9610
9611Fixed a problem where the access type used in an AccessAs ASL
9612operator was not recorded correctly into the field object.
9613
9614Fixed a problem where ASL Event objects were created in a
9615signalled state. Events are now created in an unsignalled state.
9616
9617The internal object cache is now purged after table loading and
9618initialization to reduce the use of dynamic kernel memory -- on
9619the assumption that object use is greatest during the parse phase
9620of the entire table (versus the run-time use of individual control
9621methods.)
9622
9623ACPI 2.0 variable-length packages are now fully operational.
9624
9625Code and Data Size: Code and Data optimizations have permitted new
9626feature development with an actual reduction in the library size.
9627Current core subsystem library sizes are shown below.  These are
9628the code and data sizes for the acpica.lib produced by the
9629Microsoft Visual C++ 6.0 compiler, and these values do not include
9630any ACPI driver or OSPM code.  The debug version of the code
9631includes the debug output trace mechanism and has a larger code
9632and data size.  Note that these values will vary depending on the
9633efficiency of the compiler and the compiler options used during
9634generation.
9635
9636  Previous Release (11_09_01):
9637     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9638     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9639
9640  Current Release:
9641     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9642     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9643
9644 2) Linux:
9645
9646Enhanced the ACPI boot-time initialization code to allow the use
9647of Local APIC tables for processor enumeration on IA-32, and to
9648pave the way for a fully MPS-free boot (on SMP systems) in the
9649near future.  This functionality replaces
9650arch/i386/kernel/acpitables.c, which was introduced in an earlier
96512.4.15-preX release.  To enable this feature you must add
9652"acpi_boot=on" to the kernel command line -- see the help entry
9653for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
9654the works...
9655
9656Restructured the configuration options to allow boot-time table
9657parsing support without inclusion of the ACPI Interpreter (and
9658other) code.
9659
9660NOTE: This release does not include fixes for the reported events,
9661power-down, and thermal passive cooling issues (coming soon).
9662
9663 3) ASL Compiler:
9664
9665Added additional typechecking for Fields within restricted access
9666Operation Regions.  All fields within EC and CMOS regions must be
9667declared with ByteAcc. All fields withing SMBus regions must be
9668declared with the BufferAcc access type.
9669
9670Fixed a problem where the listing file output of control methods
9671no longer interleaved the actual AML code with the ASL source
9672code.
9673
9674
9675
9676
9677----------------------------------------
9678Summary of changes for this label: 11_09_01
9679
96801) ACPI CA Core Subsystem:
9681
9682Implemented ACPI 2.0-defined support for writes to fields with a
9683Buffer, String, or Integer source operand that is smaller than the
9684target field. In these cases, the source operand is zero-extended
9685to fill the target field.
9686
9687Fixed a problem where a Field starting bit offset (within the
9688parent operation region) was calculated incorrectly if the
9689
9690alignment of the field differed from the access width.  This
9691affected CreateWordField, CreateDwordField, CreateQwordField, and
9692possibly other fields that use the "AccessAny" keyword.
9693
9694Fixed a problem introduced in the 11_02_01 release where indirect
9695stores through method arguments did not operate correctly.
9696
96972) Linux:
9698
9699Implemented boot-time ACPI table parsing support
9700(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
9701facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
9702legacy BIOS interfaces (e.g. MPS) for the configuration of system
9703processors, memory, and interrupts during setup_arch().  Note that
9704this patch does not include the required architecture-specific
9705changes required to apply this information -- subsequent patches
9706will be posted for both IA32 and IA64 to achieve this.
9707
9708Added low-level sleep support for IA32 platforms, courtesy of Pat
9709Mochel. This allows IA32 systems to transition to/from various
9710sleeping states (e.g. S1, S3), although the lack of a centralized
9711driver model and power-manageable drivers will prevent its
9712(successful) use on most systems.
9713
9714Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
9715submenu, unified IA32 and IA64 options, added new "Boot using ACPI
9716tables" option, etc.
9717
9718Increased the default timeout for the EC driver from 1ms to 10ms
9719(1000 cycles of 10us) to try to address AE_TIME errors during EC
9720transactions.
9721
9722 ----------------------------------------
9723Summary of changes for this label: 11_02_01
9724
97251) ACPI CA Core Subsystem:
9726
9727ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
9728(QWordAcc keyword). All ACPI 2.0 64-bit support is now
9729implemented.
9730
9731OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
9732changes to support ACPI 2.0 Qword field access.  Read/Write
9733PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
9734accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
9735the value parameter for the address space handler interface is now
9736an ACPI_INTEGER.  OSL implementations of these interfaces must now
9737handle the case where the Width parameter is 64.
9738
9739Index Fields: Fixed a problem where unaligned bit assembly and
9740disassembly for IndexFields was not supported correctly.
9741
9742Index and Bank Fields:  Nested Index and Bank Fields are now
9743supported. During field access, a check is performed to ensure
9744that the value written to an Index or Bank register is not out of
9745the range of the register.  The Index (or Bank) register is
9746written before each access to the field data. Future support will
9747include allowing individual IndexFields to be wider than the
9748DataRegister width.
9749
9750Fields: Fixed a problem where the AML interpreter was incorrectly
9751attempting to write beyond the end of a Field/OpRegion.  This was
9752a boundary case that occurred when a DWORD field was written to a
9753BYTE access OpRegion, forcing multiple writes and causing the
9754interpreter to write one datum too many.
9755
9756Fields: Fixed a problem with Field/OpRegion access where the
9757starting bit address of a field was incorrectly calculated if the
9758current access type was wider than a byte (WordAcc, DwordAcc, or
9759QwordAcc).
9760
9761Fields: Fixed a problem where forward references to individual
9762FieldUnits (individual Field names within a Field definition) were
9763not resolved during the AML table load.
9764
9765Fields: Fixed a problem where forward references from a Field
9766definition to the parent Operation Region definition were not
9767resolved during the AML table load.
9768
9769Fields: Duplicate FieldUnit names within a scope are now detected
9770during AML table load.
9771
9772Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
9773returned an incorrect name for the root node.
9774
9775Code and Data Size: Code and Data optimizations have permitted new
9776feature development with an actual reduction in the library size.
9777Current core subsystem library sizes are shown below.  These are
9778the code and data sizes for the acpica.lib produced by the
9779Microsoft Visual C++ 6.0 compiler, and these values do not include
9780any ACPI driver or OSPM code.  The debug version of the code
9781includes the debug output trace mechanism and has a larger code
9782and data size.  Note that these values will vary depending on the
9783efficiency of the compiler and the compiler options used during
9784generation.
9785
9786  Previous Release (10_18_01):
9787     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9788     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9789
9790  Current Release:
9791     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9792     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9793
9794 2) Linux:
9795
9796Improved /proc processor output (Pavel Machek) Re-added
9797MODULE_LICENSE("GPL") to all modules.
9798
9799 3) ASL Compiler version X2030:
9800
9801Duplicate FieldUnit names within a scope are now detected and
9802flagged as errors.
9803
9804 4) Documentation:
9805
9806Programmer Reference updated to reflect OSL and address space
9807handler interface changes described above.
9808
9809----------------------------------------
9810Summary of changes for this label: 10_18_01
9811
9812ACPI CA Core Subsystem:
9813
9814Fixed a problem with the internal object reference count mechanism
9815that occasionally caused premature object deletion. This resolves
9816all of the outstanding problem reports where an object is deleted
9817in the middle of an interpreter evaluation.  Although this problem
9818only showed up in rather obscure cases, the solution to the
9819problem involved an adjustment of all reference counts involving
9820objects attached to namespace nodes.
9821
9822Fixed a problem with Field support in the interpreter where
9823writing to an aligned field whose length is an exact multiple (2
9824or greater) of the field access granularity would cause an attempt
9825to write beyond the end of the field.
9826
9827The top level AML opcode execution functions within the
9828interpreter have been renamed with a more meaningful and
9829consistent naming convention.  The modules exmonad.c and
9830exdyadic.c were eliminated.  New modules are exoparg1.c,
9831exoparg2.c, exoparg3.c, and exoparg6.c.
9832
9833Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
9834
9835Fixed a problem where the AML debugger was causing some internal
9836objects to not be deleted during subsystem termination.
9837
9838Fixed a problem with the external AcpiEvaluateObject interface
9839where the subsystem would fault if the named object to be
9840evaluated refered to a constant such as Zero, Ones, etc.
9841
9842Fixed a problem with IndexFields and BankFields where the
9843subsystem would fault if the index, data, or bank registers were
9844not defined in the same scope as the field itself.
9845
9846Added printf format string checking for compilers that support
9847this feature.  Corrected more than 50 instances of issues with
9848format specifiers within invocations of ACPI_DEBUG_PRINT
9849throughout the core subsystem code.
9850
9851The ASL "Revision" operator now returns the ACPI support level
9852implemented in the core - the value "2" since the ACPI 2.0 support
9853is more than 50% implemented.
9854
9855Enhanced the output of the AML debugger "dump namespace" command
9856to output in a more human-readable form.
9857
9858Current core subsystem library code sizes are shown below.  These
9859
9860are the code and data sizes for the acpica.lib produced by the
9861Microsoft Visual C++ 6.0 compiler, and these values do not include
9862any ACPI driver or OSPM code.  The debug version of the code
9863includes the full debug trace mechanism -- leading to a much
9864
9865larger code and data size.  Note that these values will vary
9866depending on the efficiency of the compiler and the compiler
9867options used during generation.
9868
9869     Previous Label (09_20_01):
9870     Non-Debug Version:    65K Code,     5K Data,     70K Total
9871     Debug Version:       138K Code,    58K Data,    196K Total
9872
9873     This Label:
9874
9875     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9876     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9877
9878Linux:
9879
9880Implemented a "Bad BIOS Blacklist" to track machines that have
9881known ASL/AML problems.
9882
9883Enhanced the /proc interface for the thermal zone driver and added
9884support for _HOT (the critical suspend trip point).  The 'info'
9885file now includes threshold/policy information, and allows setting
9886of _SCP (cooling preference) and _TZP (polling frequency) values
9887to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
9888frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
9889preference to the passive/quiet mode (if supported by the ASL).
9890
9891Implemented a workaround for a gcc bug that resuted in an OOPs
9892when loading the control method battery driver.
9893
9894 ----------------------------------------
9895Summary of changes for this label: 09_20_01
9896
9897 ACPI CA Core Subsystem:
9898
9899The AcpiEnableEvent and AcpiDisableEvent interfaces have been
9900modified to allow individual GPE levels to be flagged as wake-
9901enabled (i.e., these GPEs are to remain enabled when the platform
9902sleeps.)
9903
9904The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
9905support wake-enabled GPEs.  This means that upon entering the
9906sleep state, all GPEs that are not wake-enabled are disabled.
9907When leaving the sleep state, these GPEs are reenabled.
9908
9909A local double-precision divide/modulo module has been added to
9910enhance portability to OS kernels where a 64-bit math library is
9911not available.  The new module is "utmath.c".
9912
9913Several optimizations have been made to reduce the use of CPU
9914stack.  Originally over 2K, the maximum stack usage is now below
99152K at 1860  bytes (1.82k)
9916
9917Fixed a problem with the AcpiGetFirmwareTable interface where the
9918root table pointer was not mapped into a logical address properly.
9919
9920Fixed a problem where a NULL pointer was being dereferenced in the
9921interpreter code for the ASL Notify operator.
9922
9923Fixed a problem where the use of the ASL Revision operator
9924returned an error. This operator now returns the current version
9925of the ACPI CA core subsystem.
9926
9927Fixed a problem where objects passed as control method parameters
9928to AcpiEvaluateObject were always deleted at method termination.
9929However, these objects may end up being stored into the namespace
9930by the called method.  The object reference count mechanism was
9931applied to these objects instead of a force delete.
9932
9933Fixed a problem where static strings or buffers (contained in the
9934AML code) that are declared as package elements within the ASL
9935code could cause a fault because the interpreter would attempt to
9936delete them.  These objects are now marked with the "static
9937object" flag to prevent any attempt to delete them.
9938
9939Implemented an interpreter optimization to use operands directly
9940from the state object instead of extracting the operands to local
9941variables.  This reduces stack use and code size, and improves
9942performance.
9943
9944The module exxface.c was eliminated as it was an unnecessary extra
9945layer of code.
9946
9947Current core subsystem library code sizes are shown below.  These
9948are the code and data sizes for the acpica.lib produced by the
9949Microsoft Visual C++ 6.0 compiler, and these values do not include
9950any ACPI driver or OSPM code.  The debug version of the code
9951includes the full debug trace mechanism -- leading to a much
9952larger code and data size.  Note that these values will vary
9953depending on the efficiency of the compiler and the compiler
9954options used during generation.
9955
9956  Non-Debug Version:  65K Code,   5K Data,   70K Total
9957(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
9958Total  (Previously 195K)
9959
9960Linux:
9961
9962Support for ACPI 2.0 64-bit integers has been added.   All ACPI
9963Integer objects are now 64 bits wide
9964
9965All Acpi data types and structures are now in lower case.  Only
9966Acpi macros are upper case for differentiation.
9967
9968 Documentation:
9969
9970Changes to the external interfaces as described above.
9971
9972 ----------------------------------------
9973Summary of changes for this label: 08_31_01
9974
9975 ACPI CA Core Subsystem:
9976
9977A bug with interpreter implementation of the ASL Divide operator
9978was found and fixed.  The implicit function return value (not the
9979explicit store operands) was returning the remainder instead of
9980the quotient.  This was a longstanding bug and it fixes several
9981known outstanding issues on various platforms.
9982
9983The ACPI_DEBUG_PRINT and function trace entry/exit macros have
9984been further optimized for size.  There are 700 invocations of the
9985DEBUG_PRINT macro alone, so each optimization reduces the size of
9986the debug version of the subsystem significantly.
9987
9988A stack trace mechanism has been implemented.  The maximum stack
9989usage is about 2K on 32-bit platforms.  The debugger command "stat
9990stack" will display the current maximum stack usage.
9991
9992All public symbols and global variables within the subsystem are
9993now prefixed with the string "Acpi".  This keeps all of the
9994symbols grouped together in a kernel map, and avoids conflicts
9995with other kernel subsystems.
9996
9997Most of the internal fixed lookup tables have been moved into the
9998code segment via the const operator.
9999
10000Several enhancements have been made to the interpreter to both
10001reduce the code size and improve performance.
10002
10003Current core subsystem library code sizes are shown below.  These
10004are the code and data sizes for the acpica.lib produced by the
10005Microsoft Visual C++ 6.0 compiler, and these values do not include
10006any ACPI driver or OSPM code.  The debug version of the code
10007includes the full debug trace mechanism which contains over 700
10008invocations of the DEBUG_PRINT macro, 500 function entry macro
10009invocations, and over 900 function exit macro invocations --
10010leading to a much larger code and data size.  Note that these
10011values will vary depending on the efficiency of the compiler and
10012the compiler options used during generation.
10013
10014        Non-Debug Version:  64K Code,   5K Data,   69K Total
10015Debug Version:     137K Code,  58K Data,  195K Total
10016
10017 Linux:
10018
10019Implemented wbinvd() macro, pending a kernel-wide definition.
10020
10021Fixed /proc/acpi/event to handle poll() and short reads.
10022
10023 ASL Compiler, version X2026:
10024
10025Fixed a problem introduced in the previous label where the AML
10026
10027code emitted for package objects produced packages with zero
10028length.
10029
10030 ----------------------------------------
10031Summary of changes for this label: 08_16_01
10032
10033ACPI CA Core Subsystem:
10034
10035The following ACPI 2.0 ASL operators have been implemented in the
10036AML interpreter (These are already supported by the Intel ASL
10037compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
10038ToBuffer.  Support for 64-bit AML constants is implemented in the
10039AML parser, debugger, and disassembler.
10040
10041The internal memory tracking mechanism (leak detection code) has
10042been upgraded to reduce the memory overhead (a separate tracking
10043block is no longer allocated for each memory allocation), and now
10044supports all of the internal object caches.
10045
10046The data structures and code for the internal object caches have
10047been coelesced and optimized so that there is a single cache and
10048memory list data structure and a single group of functions that
10049implement generic cache management.  This has reduced the code
10050size in both the debug and release versions of the subsystem.
10051
10052The DEBUG_PRINT macro(s) have been optimized for size and replaced
10053by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
10054different, because it generates a single call to an internal
10055function.  This results in a savings of about 90 bytes per
10056invocation, resulting in an overall code and data savings of about
1005716% in the debug version of the subsystem.
10058
10059 Linux:
10060
10061Fixed C3 disk corruption problems and re-enabled C3 on supporting
10062machines.
10063
10064Integrated low-level sleep code by Patrick Mochel.
10065
10066Further tweaked source code Linuxization.
10067
10068Other minor fixes.
10069
10070 ASL Compiler:
10071
10072Support for ACPI 2.0 variable length packages is fixed/completed.
10073
10074Fixed a problem where the optional length parameter for the ACPI
100752.0 ToString operator.
10076
10077Fixed multiple extraneous error messages when a syntax error is
10078detected within the declaration line of a control method.
10079
10080 ----------------------------------------
10081Summary of changes for this label: 07_17_01
10082
10083ACPI CA Core Subsystem:
10084
10085Added a new interface named AcpiGetFirmwareTable to obtain any
10086ACPI table via the ACPI signature.  The interface can be called at
10087any time during kernel initialization, even before the kernel
10088virtual memory manager is initialized and paging is enabled.  This
10089allows kernel subsystems to obtain ACPI tables very early, even
10090before the ACPI CA subsystem is initialized.
10091
10092Fixed a problem where Fields defined with the AnyAcc attribute
10093could be resolved to the incorrect address under the following
10094conditions: 1) the field width is larger than 8 bits and 2) the
10095parent operation region is not defined on a DWORD boundary.
10096
10097Fixed a problem where the interpreter is not being locked during
10098namespace initialization (during execution of the _INI control
10099methods), causing an error when an attempt is made to release it
10100later.
10101
10102ACPI 2.0 support in the AML Interpreter has begun and will be
10103ongoing throughout the rest of this year.  In this label, The Mod
10104operator is implemented.
10105
10106Added a new data type to contain full PCI addresses named
10107ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
10108and Function values.
10109
10110 Linux:
10111
10112Enhanced the Linux version of the source code to change most
10113capitalized ACPI type names to lowercase. For example, all
10114instances of ACPI_STATUS are changed to acpi_status.  This will
10115result in a large diff, but the change is strictly cosmetic and
10116aligns the CA code closer to the Linux coding standard.
10117
10118OSL Interfaces:
10119
10120The interfaces to the PCI configuration space have been changed to
10121add the PCI Segment number and to split the single 32-bit combined
10122DeviceFunction field into two 16-bit fields.  This was
10123accomplished by moving the four values that define an address in
10124PCI configuration space (segment, bus, device, and function) to
10125the new ACPI_PCI_ID structure.
10126
10127The changes to the PCI configuration space interfaces led to a
10128reexamination of the complete set of address space access
10129interfaces for PCI, I/O, and Memory.  The previously existing 18
10130interfaces have proven difficult to maintain (any small change
10131must be propagated across at least 6 interfaces) and do not easily
10132allow for future expansion to 64 bits if necessary.  Also, on some
10133systems, it would not be appropriate to demultiplex the access
10134width (8, 16, 32,or 64) before calling the OSL if the
10135corresponding native OS interfaces contain a similar access width
10136parameter.  For these reasons, the 18 address space interfaces
10137have been replaced by these 6 new ones:
10138
10139AcpiOsReadPciConfiguration
10140AcpiOsWritePciConfiguration
10141AcpiOsReadMemory
10142AcpiOsWriteMemory
10143AcpiOsReadPort
10144AcpiOsWritePort
10145
10146Added a new interface named AcpiOsGetRootPointer to allow the OSL
10147to perform the platform and/or OS-specific actions necessary to
10148obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
10149interface will simply call down to the CA core to perform the low-
10150memory search for the table.  On IA-64, the RSDP is obtained from
10151EFI.  Migrating this interface to the OSL allows the CA core to
10152
10153remain OS and platform independent.
10154
10155Added a new interface named AcpiOsSignal to provide a generic
10156"function code and pointer" interface for various miscellaneous
10157signals and notifications that must be made to the host OS.   The
10158first such signals are intended to support the ASL Fatal and
10159Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
10160interface has been obsoleted.
10161
10162The definition of the AcpiFormatException interface has been
10163changed to simplify its use.  The caller no longer must supply a
10164buffer to the call; A pointer to a const string is now returned
10165directly.  This allows the call to be easily used in printf
10166statements, etc. since the caller does not have to manage a local
10167buffer.
10168
10169
10170 ASL Compiler, Version X2025:
10171
10172The ACPI 2.0 Switch/Case/Default operators have been implemented
10173and are fully functional.  They will work with all ACPI 1.0
10174interpreters, since the operators are simply translated to If/Else
10175pairs.
10176
10177The ACPI 2.0 ElseIf operator is implemented and will also work
10178with 1.0 interpreters, for the same reason.
10179
10180Implemented support for ACPI 2.0 variable-length packages.  These
10181packages have a separate opcode, and their size is determined by
10182the interpreter at run-time.
10183
10184Documentation The ACPI CA Programmer Reference has been updated to
10185reflect the new interfaces and changes to existing interfaces.
10186
10187 ------------------------------------------
10188Summary of changes for this label: 06_15_01
10189
10190 ACPI CA Core Subsystem:
10191
10192Fixed a problem where a DWORD-accessed field within a Buffer
10193object would get its byte address inadvertently rounded down to
10194the nearest DWORD.  Buffers are always Byte-accessible.
10195
10196 ASL Compiler, version X2024:
10197
10198Fixed a problem where the Switch() operator would either fault or
10199hang the compiler.  Note however, that the AML code for this ACPI
102002.0 operator is not yet implemented.
10201
10202Compiler uses the new AcpiOsGetTimer interface to obtain compile
10203timings.
10204
10205Implementation of the CreateField operator automatically converts
10206a reference to a named field within a resource descriptor from a
10207byte offset to a bit offset if required.
10208
10209Added some missing named fields from the resource descriptor
10210support. These are the names that are automatically created by the
10211compiler to reference fields within a descriptor.  They are only
10212valid at compile time and are not passed through to the AML
10213interpreter.
10214
10215Resource descriptor named fields are now typed as Integers and
10216subject to compile-time typechecking when used in expressions.
10217
10218 ------------------------------------------
10219Summary of changes for this label: 05_18_01
10220
10221 ACPI CA Core Subsystem:
10222
10223Fixed a couple of problems in the Field support code where bits
10224from adjacent fields could be returned along with the proper field
10225bits. Restructured the field support code to improve performance,
10226readability and maintainability.
10227
10228New DEBUG_PRINTP macro automatically inserts the procedure name
10229into the output, saving hundreds of copies of procedure name
10230strings within the source, shrinking the memory footprint of the
10231debug version of the core subsystem.
10232
10233 Source Code Structure:
10234
10235The source code directory tree was restructured to reflect the
10236current organization of the component architecture.  Some files
10237and directories have been moved and/or renamed.
10238
10239 Linux:
10240
10241Fixed leaking kacpidpc processes.
10242
10243Fixed queueing event data even when /proc/acpi/event is not
10244opened.
10245
10246 ASL Compiler, version X2020:
10247
10248Memory allocation performance enhancement - over 24X compile time
10249improvement on large ASL files.  Parse nodes and namestring
10250buffers are now allocated from a large internal compiler buffer.
10251
10252The temporary .SRC file is deleted unless the "-s" option is
10253specified
10254
10255The "-d" debug output option now sends all output to the .DBG file
10256instead of the console.
10257
10258"External" second parameter is now optional
10259
10260"ElseIf" syntax now properly allows the predicate
10261
10262Last operand to "Load" now recognized as a Target operand
10263
10264Debug object can now be used anywhere as a normal object.
10265
10266ResourceTemplate now returns an object of type BUFFER
10267
10268EISAID now returns an object of type INTEGER
10269
10270"Index" now works with a STRING operand
10271
10272"LoadTable" now accepts optional parameters
10273
10274"ToString" length parameter is now optional
10275
10276"Interrupt (ResourceType," parse error fixed.
10277
10278"Register" with a user-defined region space parse error fixed
10279
10280Escaped backslash at the end of a string ("\\") scan/parse error
10281fixed
10282
10283"Revision" is now an object of type INTEGER.
10284
10285
10286
10287------------------------------------------
10288Summary of changes for this label: 05_02_01
10289
10290Linux:
10291
10292/proc/acpi/event now blocks properly.
10293
10294Removed /proc/sys/acpi. You can still dump your DSDT from
10295/proc/acpi/dsdt.
10296
10297 ACPI CA Core Subsystem:
10298
10299Fixed a problem introduced in the previous label where some of the
10300"small" resource descriptor types were not recognized.
10301
10302Improved error messages for the case where an ASL Field is outside
10303the range of the parent operation region.
10304
10305 ASL Compiler, version X2018:
10306
10307
10308Added error detection for ASL Fields that extend beyond the length
10309of the parent operation region (only if the length of the region
10310is known at compile time.)  This includes fields that have a
10311minimum access width that is smaller than the parent region, and
10312individual field units that are partially or entirely beyond the
10313extent of the parent.
10314
10315
10316
10317------------------------------------------
10318Summary of changes for this label: 04_27_01
10319
10320 ACPI CA Core Subsystem:
10321
10322Fixed a problem where the namespace mutex could be released at the
10323wrong time during execution of AcpiRemoveAddressSpaceHandler.
10324
10325Added optional thread ID output for debug traces, to simplify
10326debugging of multiple threads.  Added context switch notification
10327when the debug code realizes that a different thread is now
10328executing ACPI code.
10329
10330Some additional external data types have been prefixed with the
10331string "ACPI_" for consistency.  This may effect existing code.
10332The data types affected are the external callback typedefs - e.g.,
10333
10334WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
10335
10336 Linux:
10337
10338Fixed an issue with the OSL semaphore implementation where a
10339thread was waking up with an error from receiving a SIGCHLD
10340signal.
10341
10342Linux version of ACPI CA now uses the system C library for string
10343manipulation routines instead of a local implementation.
10344
10345Cleaned up comments and removed TBDs.
10346
10347 ASL Compiler, version X2017:
10348
10349Enhanced error detection and reporting for all file I/O
10350operations.
10351
10352 Documentation:
10353
10354Programmer Reference updated to version 1.06.
10355
10356
10357
10358------------------------------------------
10359Summary of changes for this label: 04_13_01
10360
10361 ACPI CA Core Subsystem:
10362
10363Restructured support for BufferFields and RegionFields.
10364BankFields support is now fully operational.  All known 32-bit
10365limitations on field sizes have been removed.  Both BufferFields
10366and (Operation) RegionFields are now supported by the same field
10367management code.
10368
10369Resource support now supports QWORD address and IO resources. The
1037016/32/64 bit address structures and the Extended IRQ structure
10371have been changed to properly handle Source Resource strings.
10372
10373A ThreadId of -1 is now used to indicate a "mutex not acquired"
10374condition internally and must never be returned by AcpiOsThreadId.
10375This reserved value was changed from 0 since Unix systems allow a
10376thread ID of 0.
10377
10378Linux:
10379
10380Driver code reorganized to enhance portability
10381
10382Added a kernel configuration option to control ACPI_DEBUG
10383
10384Fixed the EC driver to honor _GLK.
10385
10386ASL Compiler, version X2016:
10387
10388Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
10389address space was set to 0, not 0x7f as it should be.
10390
10391 ------------------------------------------
10392Summary of changes for this label: 03_13_01
10393
10394 ACPI CA Core Subsystem:
10395
10396During ACPI initialization, the _SB_._INI method is now run if
10397present.
10398
10399Notify handler fix - notifies are deferred until the parent method
10400completes execution.  This fixes the "mutex already acquired"
10401issue seen occasionally.
10402
10403Part of the "implicit conversion" rules in ACPI 2.0 have been
10404found to cause compatibility problems with existing ASL/AML.  The
10405convert "result-to-target-type" implementation has been removed
10406for stores to method Args and Locals.  Source operand conversion
10407is still fully implemented.  Possible changes to ACPI 2.0
10408specification pending.
10409
10410Fix to AcpiRsCalculatePciRoutingTableLength to return correct
10411length.
10412
10413Fix for compiler warnings for 64-bit compiles.
10414
10415 Linux:
10416
10417/proc output aligned for easier parsing.
10418
10419Release-version compile problem fixed.
10420
10421New kernel configuration options documented in Configure.help.
10422
10423IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10424context" message.
10425
10426 OSPM:
10427
10428Power resource driver integrated with bus manager.
10429
10430Fixed kernel fault during active cooling for thermal zones.
10431
10432Source Code:
10433
10434The source code tree has been restructured.
10435
10436
10437
10438------------------------------------------
10439Summary of changes for this label: 03_02_01
10440
10441 Linux OS Services Layer (OSL):
10442
10443Major revision of all Linux-specific code.
10444
10445Modularized all ACPI-specific drivers.
10446
10447Added new thermal zone and power resource drivers.
10448
10449Revamped /proc interface (new functionality is under /proc/acpi).
10450
10451New kernel configuration options.
10452
10453 Linux known issues:
10454
10455New kernel configuration options not documented in Configure.help
10456yet.
10457
10458
10459Module dependencies not currently implemented. If used, they
10460should be loaded in this order: busmgr, power, ec, system,
10461processor, battery, ac_adapter, button, thermal.
10462
10463Modules will not load if CONFIG_MODVERSION is set.
10464
10465IBM 600E - entering S5 may reboot instead of shutting down.
10466
10467IBM 600E - Sleep button may generate "Invalid <NULL> context"
10468message.
10469
10470Some systems may fail with "execution mutex already acquired"
10471message.
10472
10473 ACPI CA Core Subsystem:
10474
10475Added a new OSL Interface, AcpiOsGetThreadId.  This was required
10476for the  deadlock detection code. Defined to return a non-zero, 32-
10477bit thread ID for the currently executing thread.  May be a non-
10478zero constant integer on single-thread systems.
10479
10480Implemented deadlock detection for internal subsystem mutexes.  We
10481may add conditional compilation for this code (debug only) later.
10482
10483ASL/AML Mutex object semantics are now fully supported.  This
10484includes multiple acquires/releases by owner and support for the
10485
10486Mutex SyncLevel parameter.
10487
10488A new "Force Release" mechanism automatically frees all ASL
10489Mutexes that have been acquired but not released when a thread
10490exits the interpreter.  This forces conformance to the ACPI spec
10491("All mutexes must be released when an invocation exits") and
10492prevents deadlocked ASL threads.  This mechanism can be expanded
10493(later) to monitor other resource acquisitions if OEM ASL code
10494continues to misbehave (which it will).
10495
10496Several new ACPI exception codes have been added for the Mutex
10497support.
10498
10499Recursive method calls are now allowed and supported (the ACPI
10500spec does in fact allow recursive method calls.)  The number of
10501recursive calls is subject to the restrictions imposed by the
10502SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10503parameter.
10504
10505Implemented support for the SyncLevel parameter for control
10506methods (ACPI 2.0 feature)
10507
10508Fixed a deadlock problem when multiple threads attempted to use
10509the interpreter.
10510
10511Fixed a problem where the string length of a String package
10512element was not always set in a package returned from
10513AcpiEvaluateObject.
10514
10515Fixed a problem where the length of a String package element was
10516not always included in the length of the overall package returned
10517from AcpiEvaluateObject.
10518
10519Added external interfaces (Acpi*) to the ACPI debug memory
10520manager.  This manager keeps a list of all outstanding
10521allocations, and can therefore detect memory leaks and attempts to
10522free memory blocks more than once. Useful for code such as the
10523power manager, etc.  May not be appropriate for device drivers.
10524Performance with the debug code enabled is slow.
10525
10526The ACPI Global Lock is now an optional hardware element.
10527
10528 ASL Compiler Version X2015:
10529
10530Integrated changes to allow the compiler to be generated on
10531multiple platforms.
10532
10533Linux makefile added to generate the compiler on Linux
10534
10535 Source Code:
10536
10537All platform-specific headers have been moved to their own
10538subdirectory, Include/Platform.
10539
10540New source file added, Interpreter/ammutex.c
10541
10542New header file, Include/acstruct.h
10543
10544 Documentation:
10545
10546The programmer reference has been updated for the following new
10547interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10548
10549 ------------------------------------------
10550Summary of changes for this label: 02_08_01
10551
10552Core ACPI CA Subsystem: Fixed a problem where an error was
10553incorrectly returned if the return resource buffer was larger than
10554the actual data (in the resource interfaces).
10555
10556References to named objects within packages are resolved to the
10557
10558full pathname string before packages are returned directly (via
10559the AcpiEvaluateObject interface) or indirectly via the resource
10560interfaces.
10561
10562Linux OS Services Layer (OSL):
10563
10564Improved /proc battery interface.
10565
10566
10567Added C-state debugging output and other miscellaneous fixes.
10568
10569ASL Compiler Version X2014:
10570
10571All defined method arguments can now be used as local variables,
10572including the ones that are not actually passed in as parameters.
10573The compiler tracks initialization of the arguments and issues an
10574exception if they are used without prior assignment (just like
10575locals).
10576
10577The -o option now specifies a filename prefix that is used for all
10578output files, including the AML output file.  Otherwise, the
10579default behavior is as follows:  1) the AML goes to the file
10580specified in the DSDT.  2) all other output files use the input
10581source filename as the base.
10582
10583 ------------------------------------------
10584Summary of changes for this label: 01_25_01
10585
10586Core ACPI CA Subsystem: Restructured the implementation of object
10587store support within the  interpreter.  This includes support for
10588the Store operator as well  as any ASL operators that include a
10589target operand.
10590
10591Partially implemented support for Implicit Result-to-Target
10592conversion. This is when a result object is converted on the fly
10593to the type of  an existing target object.  Completion of this
10594support is pending  further analysis of the ACPI specification
10595concerning this matter.
10596
10597CPU-specific code has been removed from the subsystem (hardware
10598directory).
10599
10600New Power Management Timer functions added
10601
10602Linux OS Services Layer (OSL): Moved system state transition code
10603to the core, fixed it, and modified  Linux OSL accordingly.
10604
10605Fixed C2 and C3 latency calculations.
10606
10607
10608We no longer use the compilation date for the version message on
10609initialization, but retrieve the version from AcpiGetSystemInfo().
10610
10611Incorporated for fix Sony VAIO machines.
10612
10613Documentation:  The Programmer Reference has been updated and
10614reformatted.
10615
10616
10617ASL Compiler:  Version X2013: Fixed a problem where the line
10618numbering and error reporting could get out  of sync in the
10619presence of multiple include files.
10620
10621 ------------------------------------------
10622Summary of changes for this label: 01_15_01
10623
10624Core ACPI CA Subsystem:
10625
10626Implemented support for type conversions in the execution of the
10627ASL  Concatenate operator (The second operand is converted to
10628match the type  of the first operand before concatenation.)
10629
10630Support for implicit source operand conversion is partially
10631implemented.   The ASL source operand types Integer, Buffer, and
10632String are freely  interchangeable for most ASL operators and are
10633converted by the interpreter  on the fly as required.  Implicit
10634Target operand conversion (where the  result is converted to the
10635target type before storing) is not yet implemented.
10636
10637Support for 32-bit and 64-bit BCD integers is implemented.
10638
10639Problem fixed where a field read on an aligned field could cause a
10640read  past the end of the field.
10641
10642New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
10643does not return a value, but the caller expects one.  (The ASL
10644compiler flags this as a warning.)
10645
10646ASL Compiler:
10647
10648Version X2011:
106491. Static typechecking of all operands is implemented. This
10650prevents the use of invalid objects (such as using a Package where
10651an Integer is required) at compile time instead of at interpreter
10652run-time.
106532. The ASL source line is printed with ALL errors and warnings.
106543. Bug fix for source EOF without final linefeed.
106554. Debug option is split into a parse trace and a namespace trace.
106565. Namespace output option (-n) includes initial values for
10657integers and strings.
106586. Parse-only option added for quick syntax checking.
106597. Compiler checks for duplicate ACPI name declarations
10660
10661Version X2012:
106621. Relaxed typechecking to allow interchangeability between
10663strings, integers, and buffers.  These types are now converted by
10664the interpreter at runtime.
106652. Compiler reports time taken by each internal subsystem in the
10666debug         output file.
10667
10668
10669 ------------------------------------------
10670Summary of changes for this label: 12_14_00
10671
10672ASL Compiler:
10673
10674This is the first official release of the compiler. Since the
10675compiler requires elements of the Core Subsystem, this label
10676synchronizes everything.
10677
10678------------------------------------------
10679Summary of changes for this label: 12_08_00
10680
10681
10682Fixed a problem where named references within the ASL definition
10683of both OperationRegions and CreateXXXFields did not work
10684properly.  The symptom was an AE_AML_OPERAND_TYPE during
10685initialization of the region/field. This is similar (but not
10686related internally) to the problem that was fixed in the last
10687label.
10688
10689Implemented both 32-bit and 64-bit support for the BCD ASL
10690functions ToBCD and FromBCD.
10691
10692Updated all legal headers to include "2000" in the copyright
10693years.
10694
10695 ------------------------------------------
10696Summary of changes for this label: 12_01_00
10697
10698Fixed a problem where method invocations within the ASL definition
10699of both OperationRegions and CreateXXXFields did not work
10700properly.  The symptom was an AE_AML_OPERAND_TYPE during
10701initialization of the region/field:
10702
10703  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
10704[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
10705(0x3005)
10706
10707Fixed a problem where operators with more than one nested
10708subexpression would fail.  The symptoms were varied, by mostly
10709AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
10710problem that has gone unnoticed until now.
10711
10712  Subtract (Add (1,2), Multiply (3,4))
10713
10714Fixed a problem where AcpiGetHandle didn't quite get fixed in the
10715previous build (The prefix part of a relative path was handled
10716incorrectly).
10717
10718Fixed a problem where Operation Region initialization failed if
10719the operation region name was a "namepath" instead of a simple
10720"nameseg". Symptom was an AE_NO_OPERAND error.
10721
10722Fixed a problem where an assignment to a local variable via the
10723indirect RefOf mechanism only worked for the first such
10724assignment.  Subsequent assignments were ignored.
10725
10726 ------------------------------------------
10727Summary of changes for this label: 11_15_00
10728
10729ACPI 2.0 table support with backwards support for ACPI 1.0 and the
107300.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
10731the AML  interpreter does NOT have support for the new 2.0 ASL
10732grammar terms at this time.
10733
10734All ACPI hardware access is via the GAS structures in the ACPI 2.0
10735FADT.
10736
10737All physical memory addresses across all platforms are now 64 bits
10738wide. Logical address width remains dependent on the platform
10739(i.e., "void *").
10740
10741AcpiOsMapMemory interface changed to a 64-bit physical address.
10742
10743The AML interpreter integer size is now 64 bits, as per the ACPI
107442.0 specification.
10745
10746For backwards compatibility with ACPI 1.0, ACPI tables with a
10747revision number less than 2 use 32-bit integers only.
10748
10749Fixed a problem where the evaluation of OpRegion operands did not
10750always resolve them to numbers properly.
10751
10752------------------------------------------
10753Summary of changes for this label: 10_20_00
10754
10755Fix for CBN_._STA issue.  This fix will allow correct access to
10756CBN_ OpRegions when the _STA returns 0x8.
10757
10758Support to convert ACPI constants (Ones, Zeros, One) to actual
10759values before a package object is returned
10760
10761Fix for method call as predicate to if/while construct causing
10762incorrect if/while behavior
10763
10764Fix for Else block package lengths sometimes calculated wrong (if
10765block > 63 bytes)
10766
10767Fix for Processor object length field, was always zero
10768
10769Table load abort if FACP sanity check fails
10770
10771Fix for problem with Scope(name) if name already exists
10772
10773Warning emitted if a named object referenced cannot be found
10774(resolved) during method execution.
10775
10776
10777
10778
10779
10780------------------------------------------
10781Summary of changes for this label: 9_29_00
10782
10783New table initialization interfaces: AcpiInitializeSubsystem no
10784longer has any parameters AcpiFindRootPointer - Find the RSDP (if
10785necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
10786>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
10787AcpiLoadTables
10788
10789Note: These interface changes require changes to all existing OSDs
10790
10791The PCI_Config default address space handler is always installed
10792at the root namespace object.
10793
10794-------------------------------------------
10795Summary of changes for this label: 09_15_00
10796
10797The new initialization architecture is implemented.  New
10798interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
10799AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
10800
10801(Namespace is automatically loaded when a table is loaded)
10802
10803The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1080452 bytes to 32 bytes.  There is usually one of these for every
10805namespace object, so the memory savings is significant.
10806
10807Implemented just-in-time evaluation of the CreateField operators.
10808
10809Bug fixes for IA-64 support have been integrated.
10810
10811Additional code review comments have been implemented
10812
10813The so-called "third pass parse" has been replaced by a final walk
10814through the namespace to initialize all operation regions (address
10815spaces) and fields that have not yet been initialized during the
10816execution of the various _INI and REG methods.
10817
10818New file - namespace/nsinit.c
10819
10820-------------------------------------------
10821Summary of changes for this label: 09_01_00
10822
10823Namespace manager data structures have been reworked to change the
10824primary  object from a table to a single object.  This has
10825resulted in dynamic memory  savings of 3X within the namespace and
108262X overall in the ACPI CA subsystem.
10827
10828Fixed problem where the call to AcpiEvFindPciRootBuses was
10829inadvertently left  commented out.
10830
10831Reduced the warning count when generating the source with the GCC
10832compiler.
10833
10834Revision numbers added to each module header showing the
10835SourceSafe version of the file.  Please refer to this version
10836number when giving us feedback or comments on individual modules.
10837
10838The main object types within the subsystem have been renamed to
10839clarify their  purpose:
10840
10841ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
10842ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
10843ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
10844
10845NOTE: no changes to the initialization sequence are included in
10846this label.
10847
10848-------------------------------------------
10849Summary of changes for this label: 08_23_00
10850
10851Fixed problem where TerminateControlMethod was being called
10852multiple times per  method
10853
10854Fixed debugger problem where single stepping caused a semaphore to
10855be  oversignalled
10856
10857Improved performance through additional parse object caching -
10858added  ACPI_EXTENDED_OP type
10859
10860-------------------------------------------
10861Summary of changes for this label: 08_10_00
10862
10863Parser/Interpreter integration:  Eliminated the creation of
10864complete parse trees  for ACPI tables and control methods.
10865Instead, parse subtrees are created and  then deleted as soon as
10866they are processed (Either entered into the namespace or  executed
10867by the interpreter).  This reduces the use of dynamic kernel
10868memory  significantly. (about 10X)
10869
10870Exception codes broken into classes and renumbered.  Be sure to
10871recompile all  code that includes acexcep.h.  Hopefully we won't
10872have to renumber the codes  again now that they are split into
10873classes (environment, programmer, AML code,  ACPI table, and
10874internal).
10875
10876Fixed some additional alignment issues in the Resource Manager
10877subcomponent
10878
10879Implemented semaphore tracking in the AcpiExec utility, and fixed
10880several places  where mutexes/semaphores were being unlocked
10881without a corresponding lock  operation.  There are no known
10882semaphore or mutex "leaks" at this time.
10883
10884Fixed the case where an ASL Return operator is used to return an
10885unnamed  package.
10886
10887-------------------------------------------
10888Summary of changes for this label: 07_28_00
10889
10890Fixed a problem with the way addresses were calculated in
10891AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
10892manifested itself when a Field was  created with WordAccess or
10893DwordAccess, but the field unit defined within the  Field was less
10894
10895than a Word or Dword.
10896
10897Fixed a problem in AmlDumpOperands() module's loop to pull
10898operands off of the  operand stack to display information. The
10899problem manifested itself as a TLB  error on 64-bit systems when
10900accessing an operand stack with two or more  operands.
10901
10902Fixed a problem with the PCI configuration space handlers where
10903context was  getting confused between accesses. This required a
10904change to the generic address  space handler and address space
10905setup definitions. Handlers now get both a  global handler context
10906(this is the one passed in by the user when executing
10907AcpiInstallAddressSpaceHandler() and a specific region context
10908that is unique to  each region (For example, the _ADR, _SEG and
10909_BBN values associated with a  specific region). The generic
10910function definitions have changed to the  following:
10911
10912typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
10913UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
10914*HandlerContext, // This used to be void *Context void
10915*RegionContext); // This is an additional parameter
10916
10917typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
10918RegionHandle, UINT32 Function, void *HandlerContext,  void
10919**RegionContext); // This used to be **ReturnContext
10920
10921-------------------------------------------
10922Summary of changes for this label: 07_21_00
10923
10924Major file consolidation and rename.  All files within the
10925interpreter have been  renamed as well as most header files.  This
10926was done to prevent collisions with  existing files in the host
10927OSs -- filenames such as "config.h" and "global.h"  seem to be
10928quite common.  The VC project files have been updated.  All
10929makefiles  will require modification.
10930
10931The parser/interpreter integration continues in Phase 5 with the
10932implementation  of a complete 2-pass parse (the AML is parsed
10933twice) for each table;  This  avoids the construction of a huge
10934parse tree and therefore reduces the amount of  dynamic memory
10935required by the subsystem.  Greater use of the parse object cache
10936means that performance is unaffected.
10937
10938Many comments from the two code reviews have been rolled in.
10939
10940The 64-bit alignment support is complete.
10941
10942-------------------------------------------
10943Summary of changes for this label: 06_30_00
10944
10945With a nod and a tip of the hat to the technology of yesteryear,
10946we've added  support in the source code for 80 column output
10947devices.  The code is now mostly  constrained to 80 columns or
10948less to support environments and editors that 1)  cannot display
10949or print more than 80 characters on a single line, and 2) cannot
10950disable line wrapping.
10951
10952A major restructuring of the namespace data structure has been
10953completed.  The  result is 1) cleaner and more
10954understandable/maintainable code, and 2) a  significant reduction
10955in the dynamic memory requirement for each named ACPI  object
10956(almost half).
10957
10958-------------------------------------------
10959Summary of changes for this label: 06_23_00
10960
10961Linux support has been added.  In order to obtain approval to get
10962the ACPI CA  subsystem into the Linux kernel, we've had to make
10963quite a few changes to the  base subsystem that will affect all
10964users (all the changes are generic and OS- independent).  The
10965effects of these global changes have been somewhat far  reaching.
10966Files have been merged and/or renamed and interfaces have been
10967renamed.   The major changes are described below.
10968
10969Osd* interfaces renamed to AcpiOs* to eliminate namespace
10970pollution/confusion  within our target kernels.  All OSD
10971interfaces must be modified to match the new  naming convention.
10972
10973Files merged across the subsystem.  A number of the smaller source
10974and header  files have been merged to reduce the file count and
10975increase the density of the  existing files.  There are too many
10976to list here.  In general, makefiles that  call out individual
10977files will require rebuilding.
10978
10979Interpreter files renamed.  All interpreter files now have the
10980prefix am*  instead of ie* and is*.
10981
10982Header files renamed:  The acapi.h file is now acpixf.h.  The
10983acpiosd.h file is  now acpiosxf.h.  We are removing references to
10984the acronym "API" since it is  somewhat windowsy. The new name is
10985"external interface" or xface or xf in the  filenames.j
10986
10987
10988All manifest constants have been forced to upper case (some were
10989mixed case.)   Also, the string "ACPI_" has been prepended to many
10990(not all) of the constants,  typedefs, and structs.
10991
10992The globals "DebugLevel" and "DebugLayer" have been renamed
10993"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
10994
10995All other globals within the subsystem are now prefixed with
10996"AcpiGbl_" Internal procedures within the subsystem are now
10997prefixed with "Acpi" (with only  a few exceptions).  The original
10998two-letter abbreviation for the subcomponent  remains after "Acpi"
10999- for example, CmCallocate became AcpiCmCallocate.
11000
11001Added a source code translation/conversion utility.  Used to
11002generate the Linux  source code, it can be modified to generate
11003other types of source as well. Can  also be used to cleanup
11004existing source by removing extraneous spaces and blank  lines.
11005Found in tools/acpisrc/*
11006
11007OsdUnMapMemory was renamed to OsdUnmapMemory and then
11008AcpiOsUnmapMemory.  (UnMap  became Unmap).
11009
11010A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
11011When set to  one, this indicates that the caller wants to use the
11012
11013semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
11014both types.  However, implementers of this  call may want to use
11015different OS primitives depending on the type of semaphore
11016requested.  For example, some operating systems provide separate
11017
11018"mutex" and  "semaphore" interfaces - where the mutex interface is
11019much faster because it  doesn't have all the overhead of a full
11020semaphore implementation.
11021
11022Fixed a deadlock problem where a method that accesses the PCI
11023address space can  block forever if it is the first access to the
11024space.
11025
11026-------------------------------------------
11027Summary of changes for this label: 06_02_00
11028
11029Support for environments that cannot handle unaligned data
11030accesses (e.g.  firmware and OS environments devoid of alignment
11031handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
11032been added (via configurable macros) in  these three areas: -
11033Transfer of data from the raw AML byte stream is done via byte
11034moves instead of    word/dword/qword moves. - External objects are
11035aligned within the user buffer, including package   elements (sub-
11036objects). - Conversion of name strings to UINT32 Acpi Names is now
11037done byte-wise.
11038
11039The Store operator was modified to mimic Microsoft's
11040implementation when storing  to a Buffer Field.
11041
11042Added a check of the BM_STS bit before entering C3.
11043
11044The methods subdirectory has been obsoleted and removed.  A new
11045file, cmeval.c  subsumes the functionality.
11046
11047A 16-bit (DOS) version of AcpiExec has been developed.  The
11048makefile is under  the acpiexec directory.
11049