changes.txt revision 231844
1----------------------------------------
215 February 2012. Summary of changes for version 20120215:
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
9There have been some major changes to the sleep/wake support code, as 
10described below (a - e).
11
12a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
13AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
14AcpiLeaveSleepStatePrep. This allows the host to perform actions between the 
15time the _BFS method is called and the _WAK method is called. NOTE: all hosts 
16must update their wake/resume code or else sleep/wake will not work properly. 
17Rafael Wysocki.
18
19b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the _WAK 
20method. Some machines require that the GPEs are enabled before the _WAK method 
21is executed. Thomas Renninger.
22
23c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit. 
24Some BIOS code assumes that WAK_STS will be cleared on resume and use it to 
25determine whether the system is rebooting or resuming. Matthew Garrett.
26
27d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From Sleep) to 
28match the ACPI specification requirement. Rafael Wysocki.
29
30e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
31registers within the V5 FADT. This support adds two new files: 
32hardware/hwesleep.c implements the support for the new registers. Moved all 
33sleep/wake external interfaces to hardware/hwxfsleep.c.
34
35
36Added a new OSL interface for ACPI table overrides, 
37AcpiOsPhysicalTableOverride. This interface allows the host to override a 
38table via a physical address, instead of the logical address required by 
39AcpiOsTableOverride. This simplifies the host implementation. Initial 
40implementation by Thomas Renninger. The ACPICA implementation creates a single 
41shared function for table overrides that attempts both a logical and a 
42physical override.
43
44Expanded the OSL memory read/write interfaces to 64-bit data 
45(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
46transfer support for GAS register structures passed to AcpiRead and AcpiWrite.
47
48Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a custom 
49build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) model. 
50See the ACPICA reference for details. ACPICA BZ 942. This option removes about 
5110% of the code and 5% of the static data, and the following hardware ACPI 
52features become unavailable:
53    PM Event and Control registers
54    SCI interrupt (and handler)
55    Fixed Events
56    General Purpose Events (GPEs)
57    Global Lock
58    ACPI PM timer
59    FACS table (Waking vectors and Global Lock)
60
61Updated the unix tarball directory structure to match the ACPICA git source 
62tree. This ensures that the generic unix makefiles work properly (in 
63generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 867.
64
65Updated the return value of the _REV predefined method to integer value 5 to 
66reflect ACPI 5.0 support.
67
68Moved the external ACPI PM timer interface prototypes to the public acpixf.h 
69file where they belong.
70
71Example Code and Data Size: These are the sizes for the OS-independent 
72acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
73version of the code includes the debug output trace mechanism and has a much 
74larger code and data size.
75
76  Previous Release:
77    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
78    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
79  Current Release:
80    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
81    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
82
83
842) iASL Compiler/Disassembler and Tools:
85
86Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
87descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
88incorrectly displayed.
89
90AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
91specification.
92
93----------------------------------------
9411 January 2012. Summary of changes for version 20120111:
95
96This release is available at www.acpica.org/downloads.
97The ACPI 5.0 specification is available at www.acpi.info.
98
991) ACPICA Core Subsystem:
100
101Implemented a new mechanism to allow host device drivers to check for address 
102range conflicts with ACPI Operation Regions. Both SystemMemory and SystemIO 
103address spaces are supported. A new external interface, AcpiCheckAddressRange, 
104allows drivers to check an address range against the ACPI namespace. See the 
105ACPICA reference for additional details. Adds one new file, 
106utilities/utaddress.c. Lin Ming, Bob Moore.
107
108Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control and 
109Status registers, update the ACPI 5.0 flags, and update internal data 
110structures to handle an FADT larger than 256 bytes. The size of the ACPI 5.0 
111FADT is 268 bytes.
112
113Updated all ACPICA copyrights and signons to 2012. Added the 2012 copyright to 
114all module headers and signons, including the standard Linux header. This 
115affects virtually every file in the ACPICA core subsystem, iASL compiler, and 
116all ACPICA utilities.
117
118Example Code and Data Size: These are the sizes for the OS-independent 
119acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
120version of the code includes the debug output trace mechanism and has a much 
121larger code and data size.
122
123  Previous Release:
124    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
125    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
126  Current Release:
127    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
128    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
129
130
1312) iASL Compiler/Disassembler and Tools:
132
133Disassembler: fixed a problem with the automatic resource tag generation 
134support. Fixes a problem where the resource tags are inadvertently not 
135constructed if the table being disassembled contains external references to 
136control methods. Moved the actual construction of the tags to after the final 
137namespace is constructed (after 2nd parse is invoked due to external control 
138method references.) ACPICA BZ 941.
139
140Table Compiler: Make all "generic" operators caseless. These are the operators 
141like UINT8, String, etc. Making these caseless improves ease-of-use. ACPICA BZ 
142934.
143
144----------------------------------------
14523 November 2011. Summary of changes for version 20111123:
146
1470) ACPI 5.0 Support:
148
149This release contains full support for the ACPI 5.0 specification, as 
150summarized below.
151
152Reduced Hardware Support:
153-------------------------
154
155This support allows for ACPI systems without the usual ACPI hardware. This 
156support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA will 
157not attempt to initialize or use any of the usual ACPI hardware. Note, when 
158this flag is set, all of the following ACPI hardware is assumed to be not 
159present and is not initialized or accessed:
160
161    General Purpose Events (GPEs)
162    Fixed Events (PM1a/PM1b and PM Control)
163    Power Management Timer and Console Buttons (power/sleep)
164    Real-time Clock Alarm
165    Global Lock
166    System Control Interrupt (SCI)
167    The FACS is assumed to be non-existent
168
169ACPI Tables:
170------------
171
172All new tables and updates to existing tables are fully supported in the 
173ACPICA headers (for use by device drivers), the disassembler, and the iASL 
174Data Table Compiler. ACPI 5.0 defines these new tables:
175
176    BGRT        /* Boot Graphics Resource Table */
177    DRTM        /* Dynamic Root of Trust for Measurement table */
178    FPDT        /* Firmware Performance Data Table */
179    GTDT        /* Generic Timer Description Table */
180    MPST        /* Memory Power State Table */
181    PCCT        /* Platform Communications Channel Table */
182    PMTT        /* Platform Memory Topology Table */
183    RASF        /* RAS Feature table */
184
185Operation Regions/SpaceIDs:
186---------------------------
187
188All new operation regions are fully supported by the iASL compiler, the 
189disassembler, and the ACPICA runtime code (for dispatch to region handlers.) 
190The new operation region Space IDs are:
191
192    GeneralPurposeIo
193    GenericSerialBus
194
195Resource Descriptors:
196---------------------
197
198All new ASL resource descriptors are fully supported by the iASL compiler, the 
199ASL/AML disassembler, and the ACPICA runtime Resource Manager code (including 
200all new predefined resource tags). New descriptors are:
201
202    FixedDma
203    GpioIo
204    GpioInt
205    I2cSerialBus
206    SpiSerialBus
207    UartSerialBus
208
209ASL/AML Operators, New and Modified:
210------------------------------------
211
212One new operator is added, the Connection operator, which is used to associate 
213a GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
214field objects within an operation region. Several new protocols are associated 
215with the AccessAs operator. All are fully supported by the iASL compiler, 
216disassembler, and runtime ACPICA AML interpreter:
217
218    Connection                      // Declare Field Connection attributes
219    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
220    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
221    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
222    RawDataBuffer                       // Data type for Vendor Data fields
223
224Predefined ASL/AML Objects:
225---------------------------
226
227All new predefined objects/control-methods are supported by the iASL compiler 
228and the ACPICA runtime validation/repair (arguments and return values.) New 
229predefined names include the following:
230
231Standard Predefined Names (Objects or Control Methods):
232    _AEI, _CLS, _CPC, _CWS, _DEP,
233    _DLM, _EVT, _GCP, _CRT, _GWS,
234    _HRV, _PRE, _PSE, _SRT, _SUB.
235
236Resource Tags (Names used to access individual fields within resource 
237descriptors):
238    _DBT, _DPL, _DRS, _END, _FLC,
239    _IOR, _LIN, _MOD, _PAR, _PHA,
240    _PIN, _PPI, _POL, _RXL, _SLV,
241    _SPE, _STB, _TXL, _VEN.
242
243ACPICA External Interfaces:
244---------------------------
245
246Several new interfaces have been defined for use by ACPI-related device 
247drivers and other host OS services:
248
249AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS to 
250acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
251provided by the BIOS. They are intended to be used in conjunction with the 
252ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
253mutual exclusion with the AML code/interpreter.
254
255AcpiGetEventResources: Returns the (formatted) resource descriptors as defined 
256by the ACPI 5.0 _AEI object (ACPI Event Information).  This object provides 
257resource descriptors associated with hardware-reduced platform events, similar 
258to the AcpiGetCurrentResources interface.
259
260Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
261operation regions, information about the Connection() object and any optional 
262length information is passed to the region handler within the Context 
263parameter.
264
265AcpiBufferToResource: This interface converts a raw AML buffer containing a 
266resource template or resource descriptor to the ACPI_RESOURCE internal format 
267suitable for use by device drivers. Can be used by an operation region handler 
268to convert the Connection() buffer object into a ACPI_RESOURCE.
269
270Miscellaneous/Tools/TestSuites: 
271-------------------------------
272
273Support for extended _HID names (Four alpha characters instead of three).
274Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
275Support for ACPI 5.0 features in the ASLTS test suite.
276Fully updated documentation (ACPICA and iASL reference documents.)
277
278ACPI Table Definition Language:
279-------------------------------
280
281Support for this language was implemented and released as a subsystem of the 
282iASL compiler in 2010. (See the iASL compiler User Guide.)
283
284
285Non-ACPI 5.0 changes for this release:
286--------------------------------------
287
2881) ACPICA Core Subsystem:
289
290Fix a problem with operation region declarations where a failure can occur if 
291the region name and an argument that evaluates to an object (such as the 
292region address) are in different namespace scopes. Lin Ming, ACPICA BZ 937.
293
294Do not abort an ACPI table load if an invalid space ID is found within. This 
295will be caught later if the offending method is executed. ACPICA BZ 925.
296
297Fixed an issue with the FFixedHW space ID where the ID was not always 
298recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
299
300Fixed a problem with the 32-bit generation of the unix-specific OSL 
301(osunixxf.c). Lin Ming, ACPICA BZ 936.
302
303Several changes made to enable generation with the GCC 4.6 compiler. ACPICA BZ 
304935.
305
306New error messages: Unsupported I/O requests (not 8/16/32 bit), and Index/Bank 
307field registers out-of-range.
308
3092) iASL Compiler/Disassembler and Tools:
310
311iASL: Implemented the __PATH__ operator, which returns the full pathname of 
312the current source file.
313
314AcpiHelp: Automatically display expanded keyword information for all ASL 
315operators.
316
317Debugger: Add "Template" command to disassemble/dump resource template 
318buffers.
319
320Added a new master script to generate and execute the ASLTS test suite. 
321Automatically handles 32- and 64-bit generation. See tests/aslts.sh
322
323iASL: Fix problem with listing generation during processing of the Switch() 
324operator where AML listing was disabled until the entire Switch block was 
325completed.
326
327iASL: Improve support for semicolon statement terminators. Fix "invalid 
328character" message for some cases when the semicolon is used. Semicolons are 
329now allowed after every <Term> grammar element. ACPICA BZ 927.
330
331iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 923.
332
333Disassembler: Fix problem with disassembly of the DataTableRegion operator 
334where an inadvertent "Unhandled deferred opcode" message could be generated.
335
3363) Example Code and Data Size
337
338These are the sizes for the OS-independent acpica.lib produced by the 
339Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
340includes the debug output trace mechanism and has a much larger code and data 
341size.
342
343  Previous Release:
344    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
345    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
346  Current Release:
347    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
348    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
349
350----------------------------------------
35122 September 2011. Summary of changes for version 20110922:
352
3530) ACPI 5.0 News:
354
355Support for ACPI 5.0 in ACPICA has been underway for several months and will 
356be released at the same time that ACPI 5.0 is officially released.
357
358The ACPI 5.0 specification is on track for release in the next few months.
359 
3601) ACPICA Core Subsystem:
361
362Fixed a problem where the maximum sleep time for the Sleep() operator was 
363intended to be limited to two seconds, but was inadvertently limited to 20 
364seconds instead.
365
366Linux and Unix makefiles: Added header file dependencies to ensure correct 
367generation of ACPICA core code and utilities. Also simplified the makefiles 
368considerably through the use of the vpath variable to specify search paths. 
369ACPICA BZ 924.
370
3712) iASL Compiler/Disassembler and Tools:
372
373iASL: Implemented support to check the access length for all fields created to 
374access named Resource Descriptor fields. For example, if a resource field is 
375defined to be two bits, a warning is issued if a CreateXxxxField() is used 
376with an incorrect bit length. This is implemented for all current resource 
377descriptor names. ACPICA BZ 930.
378  
379Disassembler: Fixed a byte ordering problem with the output of 24-bit and 56-
380bit integers.
381
382iASL: Fixed a couple of issues associated with variable-length package 
383objects. 1) properly handle constants like One, Ones, Zero -- do not make a 
384VAR_PACKAGE when these are used as a package length. 2) Allow the VAR_PACKAGE 
385opcode (in addition to PACKAGE) when validating object types for predefined 
386names.
387
388iASL: Emit statistics for all output files (instead of just the ASL input and 
389AML output). Includes listings, hex files, etc.
390
391iASL: Added -G option to the table compiler to allow the compilation of custom 
392ACPI tables. The only part of a table that is required is the standard 36-byte 
393ACPI header.
394
395AcpiXtract: Ported to the standard ACPICA environment (with ACPICA headers), 
396which also adds correct 64-bit support. Also, now all output filenames are 
397completely lower case.
398
399AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
400loading table files. A warning is issued for any such tables. The only 
401exception is an FADT. This also fixes a possible fault when attempting to load 
402non-AML tables. ACPICA BZ 932.
403
404AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
405missing table terminator could cause a fault when using the -p option.
406
407AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
408statistics.
409
4103) Example Code and Data Size
411
412These are the sizes for the OS-independent acpica.lib produced by the 
413Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
414includes the debug output trace mechanism and has a much larger code and data 
415size.
416
417  Previous Release (VC 9.0):
418    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
419    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
420  Current Release (VC 9.0):
421    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
422    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
423
424
425----------------------------------------
42623 June 2011. Summary of changes for version 20110623:
427
4281) ACPI CA Core Subsystem:
429
430Updated the predefined name repair mechanism to not attempt repair of a _TSS 
431return object if a _PSS object is present. We can only sort the _TSS return 
432package if there is no _PSS within the same scope. This is because if _PSS is 
433present, the ACPI specification dictates that the _TSS Power Dissipation field 
434is to be ignored, and therefore some BIOSs leave garbage values in the _TSS 
435Power field(s). In this case, it is best to just return the _TSS package as-
436is. Reported by, and fixed with assistance from Fenghua Yu.
437
438Added an option to globally disable the control method return value validation 
439and repair. This runtime option can be used to disable return value repair if 
440this is causing a problem on a particular machine. Also added an option to 
441AcpiExec (-dr) to set this disable flag.
442
443All makefiles and project files: Major changes to improve generation of ACPICA 
444tools. ACPICA BZ 912:
445    Reduce default optimization levels to improve compatibility
446    For Linux, add strict-aliasing=0 for gcc 4
447    Cleanup and simplify use of command line defines
448    Cleanup multithread library support
449    Improve usage messages
450
451Linux-specific header: update handling of THREAD_ID and pthread. For the 32-
452bit case, improve casting to eliminate possible warnings, especially with the 
453acpica tools.
454
455Example Code and Data Size: These are the sizes for the OS-independent 
456acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
457version of the code includes the debug output trace mechanism and has a much 
458larger code and data size.
459
460  Previous Release (VC 9.0):
461    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
462    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
463  Current Release (VC 9.0):
464    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
465    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
466
4672) iASL Compiler/Disassembler and Tools:
468
469With this release, a new utility named "acpihelp" has been added to the ACPICA 
470package. This utility summarizes the ACPI specification chapters for the ASL 
471and AML languages. It generates under Linux/Unix as well as Windows, and 
472provides the following functionality:
473    Find/display ASL operator(s) -- with description and syntax.
474    Find/display ASL keyword(s) -- with exact spelling and descriptions.
475    Find/display ACPI predefined name(s) -- with description, number
476        of arguments, and the return value data type.
477    Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
478    Decode/display AML opcode -- with opcode name, arguments, and grammar.
479
480Service Layers: Make multi-thread support configurable. Conditionally compile 
481the multi-thread support so that threading libraries will not be linked if not 
482necessary. The only tool that requires multi-thread support is AcpiExec.
483
484iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of 
485Bison appear to want the interface to yyerror to be a const char * (or at 
486least this is a problem when generating iASL on some systems.) ACPICA BZ 923 
487Pierre Lejeune.
488
489Tools: Fix for systems where O_BINARY is not defined. Only used for Windows 
490versions of the tools.
491
492----------------------------------------
49327 May 2011. Summary of changes for version 20110527:
494
4951) ACPI CA Core Subsystem:
496
497ASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
498signature. Now, only allow SSDT, OEMx, and a null signature. History:
499    1) Originally, we checked the table signature for "SSDT" or "PSDT".
500       (PSDT is now obsolete.)
501    2) We added support for OEMx tables, signature "OEM" plus a fourth
502       "don't care" character.
503    3) Valid tables were encountered with a null signature, so we just
504       gave up on validating the signature, (05/2008).
505    4) We encountered non-AML tables such as the MADT, which caused
506       interpreter errors and kernel faults. So now, we once again allow
507       only SSDT, OEMx, and now, also a null signature. (05/2011).
508
509Added the missing _TDL predefined name to the global name list in order to 
510enable validation. Affects both the core ACPICA code and the iASL compiler.
511
512Example Code and Data Size: These are the sizes for the OS-independent 
513acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
514version of the code includes the debug output trace mechanism and has a much 
515larger code and data size.
516
517  Previous Release (VC 9.0):
518    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
519    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
520  Current Release (VC 9.0):
521    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
522    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
523
5242) iASL Compiler/Disassembler and Tools:
525
526Debugger/AcpiExec: Implemented support for "complex" method arguments on the 
527debugger command line. This adds support beyond simple integers -- including 
528Strings, Buffers, and Packages. Includes support for nested packages. 
529Increased the default command line buffer size to accommodate these arguments. 
530See the ACPICA reference for details and syntax. ACPICA BZ 917.
531 
532Debugger/AcpiExec: Implemented support for "default" method arguments for the 
533Execute/Debug command. Now, the debugger will always invoke a control method 
534with the required number of arguments -- even if the command line specifies 
535none or insufficient arguments. It uses default integer values for any missing 
536arguments. Also fixes a bug where only six method arguments maximum were 
537supported instead of the required seven.
538
539Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
540also return status in order to prevent buffer overruns. See the ACPICA 
541reference for details and syntax. ACPICA BZ 921
542
543iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
544makefiles to simplify support for the two different but similar parser 
545generators, bison and yacc.
546
547Updated the generic unix makefile for gcc 4. The default gcc version is now 
548expected to be 4 or greater, since options specific to gcc 4 are used.
549
550----------------------------------------
55113 April 2011. Summary of changes for version 20110413:
552
5531) ACPI CA Core Subsystem:
554
555Implemented support to execute a so-called "orphan" _REG method under the EC 
556device. This change will force the execution of a _REG method underneath the 
557EC 
558device even if there is no corresponding operation region of type 
559EmbeddedControl. Fixes a problem seen on some machines and apparently is 
560compatible with Windows behavior. ACPICA BZ 875.
561
562Added more predefined methods that are eligible for automatic NULL package 
563element removal. This change adds another group of predefined names to the 
564list 
565of names that can be repaired by having NULL package elements dynamically 
566removed. This group are those methods that return a single variable-length 
567package containing simple data types such as integers, buffers, strings. This 
568includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL, 
569_Sx, 
570and _TZD. ACPICA BZ 914.
571
572Split and segregated all internal global lock functions to a new file, 
573evglock.c.
574
575Updated internal address SpaceID for DataTable regions. Moved this internal 
576space 
577id in preparation for ACPI 5.0 changes that will include some new space IDs. 
578This 
579change should not affect user/host code.
580
581Example Code and Data Size: These are the sizes for the OS-independent 
582acpica.lib 
583produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
584the code includes the debug output trace mechanism and has a much larger code 
585and 
586data size.
587
588  Previous Release (VC 9.0):
589    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
590    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
591  Current Release (VC 9.0):
592    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
593    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
594
5952) iASL Compiler/Disassembler and Tools:
596
597iASL/DTC: Major update for new grammar features. Allow generic data types in 
598custom ACPI tables. Field names are now optional. Any line can be split to 
599multiple lines using the continuation char (\). Large buffers now use line-
600continuation character(s) and no colon on the continuation lines. See the 
601grammar 
602update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
603
604iASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements. 
605Since the parser stuffs a "zero" as the return value for these statements (due 
606to 
607the underlying AML grammar), they were seen as "return with value" by the iASL 
608semantic checking. They are now seen correctly as "null" return statements.
609
610iASL: Check if a_REG declaration has a corresponding Operation Region. Adds a 
611check for each _REG to ensure that there is in fact a corresponding operation 
612region declaration in the same scope. If not, the _REG method is not very 
613useful 
614since it probably won't be executed. ACPICA BZ 915.
615
616iASL/DTC: Finish support for expression evaluation. Added a new expression 
617parser 
618that implements c-style operator precedence and parenthesization. ACPICA 
619bugzilla 
620908.
621
622Disassembler/DTC: Remove support for () and <> style comments in data tables. 
623Now 
624that DTC has full expression support, we don't want to have comment strings 
625that 
626start with a parentheses or a less-than symbol. Now, only the standard /* and 
627// 
628comments are supported, as well as the bracket [] comments.
629
630AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
631"unusual" 
632headers in the acpidump file. Update the header validation to support these 
633tables. Problem introduced in previous AcpiXtract version in the change to 
634support "wrong checksum" error messages emitted by acpidump utility.
635
636iASL: Add a * option to generate all template files (as a synonym for ALL) as 
637in 
638"iasl -T *" or "iasl -T ALL".
639
640iASL/DTC: Do not abort compiler on fatal errors. We do not want to completely 
641abort the compiler on "fatal" errors, simply should abort the current compile. 
642This allows multiple compiles with a single (possibly wildcard) compiler 
643invocation.
644
645----------------------------------------
64616 March 2011. Summary of changes for version 20110316:
647
6481) ACPI CA Core Subsystem:
649
650Fixed a problem caused by a _PRW method appearing at the namespace root scope 
651during the setup of wake GPEs. A fault could occur if a _PRW directly under 
652the 
653root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
654
655Implemented support for "spurious" Global Lock interrupts. On some systems, a 
656global lock interrupt can occur without the pending flag being set. Upon a GL 
657interrupt, we now ensure that a thread is actually waiting for the lock before 
658signaling GL availability. Rafael Wysocki, Bob Moore.
659
660Example Code and Data Size: These are the sizes for the OS-independent 
661acpica.lib 
662produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
663the code includes the debug output trace mechanism and has a much larger code 
664and 
665data size.
666
667  Previous Release (VC 9.0):
668    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
669    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
670  Current Release (VC 9.0):
671    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
672    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
673
6742) iASL Compiler/Disassembler and Tools:
675
676Implemented full support for the "SLIC" ACPI table. Includes support in the 
677header files, disassembler, table compiler, and template generator. Bob Moore, 
678Lin Ming.
679
680AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
681Apparently some or all versions of acpidump will occasionally emit a comment 
682like 
683"Wrong checksum", etc., into the dump file. This was causing problems for 
684AcpiXtract. ACPICA BZ 905.
685
686iASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
687ACPICA BZ 913.
688
689AcpiExec: Update installation of operation region handlers. Install one 
690handler 
691for a user-defined address space. This is used by the ASL test suite (ASLTS).
692
693----------------------------------------
69411 February 2011. Summary of changes for version 20110211:
695
6961) ACPI CA Core Subsystem:
697
698Added a mechanism to defer _REG methods for some early-installed handlers. 
699Most user handlers should be installed before call to AcpiEnableSubsystem. 
700However, Event handlers and region handlers should be installed after 
701AcpiInitializeObjects. Override handlers for the "default" regions should be 
702installed early, however. This change executes all _REG methods for the 
703default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
704chicken/egg issues between them. ACPICA BZ 848.
705
706Implemented an optimization for GPE detection. This optimization will simply 
707ignore GPE registers that contain no enabled GPEs -- there is no need to 
708read the register since this information is available internally. This 
709becomes more important on machines with a large GPE space. ACPICA bugzilla 
710884. Lin Ming. Suggestion from Joe Liu.
711
712Removed all use of the highly unreliable FADT revision field. The revision 
713number in the FADT has been found to be completely unreliable and cannot be 
714trusted. Only the actual table length can be used to infer the version. This 
715change updates the ACPICA core and the disassembler so that both no longer 
716even look at the FADT version and instead depend solely upon the FADT 
717length.
718
719Fix an unresolved name issue for the no-debug and no-error-message source 
720generation cases. The _AcpiModuleName was left undefined in these cases, but 
721it is actually needed as a parameter to some interfaces. Define 
722_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
723
724Split several large files (makefiles and project files updated)
725  utglobal.c   -> utdecode.c
726  dbcomds.c    -> dbmethod.c dbnames.c
727  dsopcode.c   -> dsargs.c dscontrol.c
728  dsload.c     -> dsload2.c
729  aslanalyze.c -> aslbtypes.c aslwalks.c
730
731Example Code and Data Size: These are the sizes for the OS-independent 
732acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
733debug version of the code includes the debug output trace mechanism and has 
734a much larger code and data size.
735
736  Previous Release (VC 9.0):
737    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
738    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
739  Current Release (VC 9.0):
740    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
741    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
742
7432) iASL Compiler/Disassembler and Tools:
744
745iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
746These are useful C-style macros with the standard definitions. ACPICA 
747bugzilla 898.
748
749iASL/DTC: Added support for integer expressions and labels. Support for full 
750expressions for all integer fields in all ACPI tables. Support for labels in 
751"generic" portions of tables such as UEFI. See the iASL reference manual.
752
753Debugger: Added a command to display the status of global handlers. The 
754"handlers" command will display op region, fixed event, and miscellaneous 
755global handlers. installation status -- and for op regions, whether default 
756or user-installed handler will be used.
757
758iASL: Warn if reserved method incorrectly returns a value. Many predefined 
759names are defined such that they do not return a value. If implemented as a 
760method, issue a warning if such a name explicitly returns a value. ACPICA 
761Bugzilla 855.
762
763iASL: Added detection of GPE method name conflicts. Detects a conflict where 
764there are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
765example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
766
767iASL/DTC: Fixed a couple input scanner issues with comments and line 
768numbers. Comment remover could get confused and miss a comment ending. Fixed 
769a problem with line counter maintenance.
770
771iASL/DTC: Reduced the severity of some errors from fatal to error. There is 
772no need to abort on simple errors within a field definition.
773
774Debugger: Simplified the output of the help command. All help output now in 
775a single screen, instead of help subcommands. ACPICA Bugzilla 897.
776
777----------------------------------------
77812 January 2011. Summary of changes for version 20110112:
779
7801) ACPI CA Core Subsystem:
781
782Fixed a race condition between method execution and namespace walks that can 
783possibly cause a fault. The problem was apparently introduced in version 
78420100528 as a result of a performance optimization that reduces the number of 
785namespace walks upon method exit by using the delete_namespace_subtree 
786function instead of the delete_namespace_by_owner function used previously. 
787Bug is a missing namespace lock in the delete_namespace_subtree function. 
788dana.myers@oracle.com
789
790Fixed several issues and a possible fault with the automatic "serialized" 
791method support. History: This support changes a method to "serialized" on the 
792fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
793possibility that it cannot handle reentrancy. This fix repairs a couple of 
794issues seen in the field, especially on machines with many cores:
795
796    1) Delete method children only upon the exit of the last thread,
797       so as to not delete objects out from under other running threads
798      (and possibly causing a fault.)
799    2) Set the "serialized" bit for the method only upon the exit of the
800       Last thread, so as to not cause deadlock when running threads
801       attempt to exit.
802    3) Cleanup the use of the AML "MethodFlags" and internal method flags
803       so that there is no longer any confusion between the two.
804
805    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
806
807Debugger: Now lock the namespace for duration of a namespace dump. Prevents 
808issues if the namespace is changing dynamically underneath the debugger. 
809Especially affects temporary namespace nodes, since the debugger displays 
810these also.
811
812Updated the ordering of include files. The ACPICA headers should appear 
813before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
814any necessary compiler-specific defines, etc. Affects the ACPI-related tools 
815and utilities.
816
817Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
818to all module headers and signons, including the Linux header. This affects 
819virtually every file in the ACPICA core subsystem, iASL compiler, and all 
820utilities.
821
822Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
823project files for VC++ 6.0 are now obsolete. New project files can be found 
824under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
825details.
826
827Example Code and Data Size: These are the sizes for the OS-independent 
828acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
829debug version of the code includes the debug output trace mechanism and has a 
830much larger code and data size.
831
832  Previous Release (VC 6.0):
833    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
834    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
835  Current Release (VC 9.0):
836    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
837    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
838
8392) iASL Compiler/Disassembler and Tools:
840
841iASL: Added generic data types to the Data Table compiler. Add "generic" data 
842types such as UINT32, String, Unicode, etc., to simplify the generation of 
843platform-defined tables such as UEFI. Lin Ming.
844
845iASL: Added listing support for the Data Table Compiler. Adds listing support 
846(-l) to display actual binary output for each line of input code.
847
848----------------------------------------
84909 December 2010. Summary of changes for version 20101209:
850
8511) ACPI CA Core Subsystem:
852
853Completed the major overhaul of the GPE support code that was begun in July 
8542010. Major features include: removal of _PRW execution in ACPICA (host 
855executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
856changes to existing interfaces, simplification of GPE handler operation, and 
857a handful of new interfaces:
858
859    AcpiUpdateAllGpes
860    AcpiFinishGpe
861    AcpiSetupGpeForWake
862    AcpiSetGpeWakeMask
863    One new file, evxfgpe.c to consolidate all external GPE interfaces.
864
865See the ACPICA Programmer Reference for full details and programming 
866information. See the new section 4.4 "General Purpose Event (GPE) Support" 
867for a full overview, and section 8.7 "ACPI General Purpose Event Management" 
868for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
869Bob Moore, Rafael Wysocki.
870
871Implemented a new GPE feature for Windows compatibility, the "Implicit Wake 
872GPE Notify". This feature will automatically issue a Notify(2) on a device 
873when a Wake GPE is received if there is no corresponding GPE method or 
874handler. ACPICA BZ 870.
875
876Fixed a problem with the Scope() operator during table parse and load phase. 
877During load phase (table load or method execution), the scope operator should 
878not enter the target into the namespace. Instead, it should open a new scope 
879at the target location. Linux BZ 19462, ACPICA BZ 882.
880
881Example Code and Data Size: These are the sizes for the OS-independent 
882acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
883debug version of the code includes the debug output trace mechanism and has a 
884much larger code and data size.
885
886  Previous Release:
887    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
888    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
889  Current Release:
890    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
891    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
892
8932) iASL Compiler/Disassembler and Tools:
894
895iASL: Relax the alphanumeric restriction on _CID strings. These strings are 
896"bus-specific" per the ACPI specification, and therefore any characters are 
897acceptable. The only checks that can be performed are for a null string and 
898perhaps for a leading asterisk. ACPICA BZ 886.
899
900iASL: Fixed a problem where a syntax error that caused a premature EOF 
901condition on the source file emitted a very confusing error message. The 
902premature EOF is now detected correctly. ACPICA BZ 891.
903
904Disassembler: Decode the AccessSize within a Generic Address Structure (byte 
905access, word access, etc.) Note, this field does not allow arbitrary bit 
906access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
907
908New: AcpiNames utility - Example namespace dump utility. Shows an example of 
909ACPICA configuration for a minimal namespace dump utility. Uses table and 
910namespace managers, but no AML interpreter. Does not add any functionality 
911over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
912partition and configure ACPICA. ACPICA BZ 883.
913
914AML Debugger: Increased the debugger buffer size for method return objects. 
915Was 4K, increased to 16K. Also enhanced error messages for debugger method 
916execution, including the buffer overflow case.
917
918----------------------------------------
91913 October 2010. Summary of changes for version 20101013:
920
9211) ACPI CA Core Subsystem:
922
923Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
924clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
925HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
926
927Changed the type of the predefined namespace object _TZ from ThermalZone to 
928Device. This was found to be confusing to the host software that processes 
929the various thermal zones, since _TZ is not really a ThermalZone. However, a 
930Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
931Zhang.
932
933Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
934string is "Windows 2006 SP2".
935
936Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
937code automatically repairs _HID-related strings, this type of code is no 
938longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
939
940Example Code and Data Size: These are the sizes for the OS-independent 
941acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
942debug version of the code includes the debug output trace mechanism and has a 
943much larger code and data size.
944
945  Previous Release:
946    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
947    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
948  Current Release:
949    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
950    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
951
9522) iASL Compiler/Disassembler and Tools:
953
954iASL: Implemented additional compile-time validation for _HID strings. The 
955non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
956the string must be exactly seven or eight characters. For both _HID and _CID 
957strings, all characters must be alphanumeric. ACPICA BZ 874.
958
959iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
960descriptors that are mostly or all zeros, with the expectation that they will 
961be filled in at runtime. iASL now allows this as long as there is a "resource 
962tag" (name) associated with the descriptor, which gives the ASL a handle 
963needed to modify the descriptor. ACPICA BZ 873.
964
965Added single-thread support to the generic Unix application OSL. Primarily 
966for iASL support, this change removes the use of semaphores in the single-
967threaded ACPICA tools/applications - increasing performance. The 
968_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
969option. ACPICA BZ 879.
970
971AcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
972for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
973
974iASL: Moved all compiler messages to a new file, aslmessages.h.
975
976----------------------------------------
97715 September 2010. Summary of changes for version 20100915:
978
9791) ACPI CA Core Subsystem:
980
981Removed the AcpiOsDerivePciId OSL interface. The various host implementations 
982of this function were not OS-dependent and are now obsolete and can be 
983removed from all host OSLs. This function has been replaced by 
984AcpiHwDerivePciId, which is now part of the ACPICA core code. 
985AcpiHwDerivePciId has been implemented without recursion. Adds one new 
986module, hwpci.c. ACPICA BZ 857.
987
988Implemented a dynamic repair for _HID and _CID strings. The following 
989problems are now repaired at runtime: 1) Remove a leading asterisk in the 
990string, and 2) the entire string is uppercased. Both repairs are in 
991accordance with the ACPI specification and will simplify host driver code. 
992ACPICA BZ 871.
993
994The ACPI_THREAD_ID type is no longer configurable, internally it is now 
995always UINT64. This simplifies the ACPICA code, especially any printf output. 
996UINT64 is the only common data type for all thread_id types across all 
997operating systems. It is now up to the host OSL to cast the native thread_id 
998type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
999Lin Ming, Bob Moore.
1000
1001Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
1002keyword is not standard across compilers, and this type allows inline to be 
1003configured on a per-compiler basis. Lin Ming.
1004
1005Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
1006Added an extern for this boolean in acpixf.h. Some hosts utilize this value 
1007during suspend/restore operations. ACPICA BZ 869.
1008
1009All code that implements error/warning messages with the "ACPI:" prefix has 
1010been moved to a new module, utxferror.c.
1011
1012The UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
1013is used. ACPICA BZ 829. Lin Ming, Bob Moore.
1014
1015Example Code and Data Size: These are the sizes for the OS-independent 
1016acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1017debug version of the code includes the debug output trace mechanism and has a 
1018much larger code and data size.
1019
1020  Previous Release:
1021    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1022    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1023  Current Release:
1024    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1025    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1026
10272) iASL Compiler/Disassembler and Tools:
1028
1029iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
1030This keeps the output files free of random error messages that may originate 
1031from within the namespace/interpreter code. Used this opportunity to merge 
1032all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
1033866. Lin Ming, Bob Moore.
1034
1035Tools: update some printfs for ansi warnings on size_t. Handle width change 
1036of size_t on 32-bit versus 64-bit generations. Lin Ming.
1037
1038----------------------------------------
103906 August 2010. Summary of changes for version 20100806:
1040
10411) ACPI CA Core Subsystem:
1042
1043Designed and implemented a new host interface to the _OSI support code. This 
1044will allow the host to dynamically add or remove multiple _OSI strings, as 
1045well as install an optional handler that is called for each _OSI invocation. 
1046Also added a new AML debugger command, 'osi' to display and modify the global 
1047_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
1048reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
1049New Functions:
1050    AcpiInstallInterface - Add an _OSI string.
1051    AcpiRemoveInterface - Delete an _OSI string.
1052    AcpiInstallInterfaceHandler - Install optional _OSI handler.
1053Obsolete Functions:
1054    AcpiOsValidateInterface - no longer used.
1055New Files:
1056    source/components/utilities/utosi.c
1057
1058Re-introduced the support to enable multi-byte transfers for Embedded 
1059Controller (EC) operation regions. A reported problem was found to be a bug 
1060in the host OS, not in the multi-byte support. Previously, the maximum data 
1061size passed to the EC operation region handler was a single byte. There are 
1062often EC Fields larger than one byte that need to be transferred, and it is 
1063useful for the EC driver to lock these as a single transaction. This change 
1064enables single transfers larger than 8 bits. This effectively changes the 
1065access to the EC space from ByteAcc to AnyAcc, and will probably require 
1066changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
1067transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
1068
1069Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
1070prototype in acpiosxf.h had the output value pointer as a (void *).
1071It should be a (UINT64 *). This may affect some host OSL code.
1072
1073Fixed a couple problems with the recently modified Linux makefiles for iASL 
1074and AcpiExec. These new makefiles place the generated object files in the 
1075local directory so that there can be no collisions between the files that are 
1076shared between them that are compiled with different options.
1077
1078Example Code and Data Size: These are the sizes for the OS-independent 
1079acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1080debug version of the code includes the debug output trace mechanism and has a 
1081much larger code and data size.
1082
1083  Previous Release:
1084    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1085    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1086  Current Release:
1087    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1088    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1089
10902) iASL Compiler/Disassembler and Tools:
1091
1092iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
1093namespace from and disassemble an entire group of AML files. Useful for 
1094loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
1095disassembling with one simple command. ACPICA BZ 865. Lin Ming.
1096
1097iASL: Allow multiple invocations of -e option. This change allows multiple 
1098uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
1099Lin Ming.
1100
1101----------------------------------------
110202 July 2010. Summary of changes for version 20100702:
1103
11041) ACPI CA Core Subsystem:
1105
1106Implemented several updates to the recently added GPE reference count 
1107support. The model for "wake" GPEs is changing to give the host OS complete 
1108control of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
1109methods, since the host already must execute them. Also, additional changes 
1110were made to help ensure that the reference counts are kept in proper 
1111synchronization with reality. Rafael J. Wysocki.
1112
11131) Ensure that GPEs are not enabled twice during initialization.
11142) Ensure that GPE enable masks stay in sync with the reference count.
11153) Do not inadvertently enable GPEs when writing GPE registers.
11164) Remove the internal wake reference counter and add new AcpiGpeWakeup 
1117interface. This interface will set or clear individual GPEs for wakeup.
11185) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
1119are now used for "runtime" GPEs only.
1120
1121Changed the behavior of the GPE install/remove handler interfaces. The GPE is 
1122no longer disabled during this process, as it was found to cause problems on 
1123some machines. Rafael J. Wysocki.
1124
1125Reverted a change introduced in version 20100528 to enable Embedded 
1126Controller multi-byte transfers. This change was found to cause problems with 
1127Index Fields and possibly Bank Fields. It will be reintroduced when these 
1128problems have been resolved.
1129
1130Fixed a problem with references to Alias objects within Package Objects. A 
1131reference to an Alias within the definition of a Package was not always 
1132resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
1133were resolved to the actual object instead of a reference to the object as it 
1134should be. Package objects are only allowed to contain integer, string, 
1135buffer, package, and reference objects. Redhat bugzilla 608648.
1136
1137Example Code and Data Size: These are the sizes for the OS-independent 
1138acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1139debug version of the code includes the debug output trace mechanism and has a 
1140much larger code and data size.
1141
1142  Previous Release:
1143    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1144    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1145  Current Release:
1146    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1147    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1148
11492) iASL Compiler/Disassembler and Tools:
1150
1151iASL: Implemented a new compiler subsystem to allow definition and 
1152compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
1153are called "ACPI Data Tables", and the new compiler is the "Data Table 
1154Compiler". This compiler is intended to simplify the existing error-prone 
1155process of creating these tables for the BIOS, as well as allowing the 
1156disassembly, modification, recompilation, and override of existing ACPI data 
1157tables. See the iASL User Guide for detailed information.
1158
1159iASL: Implemented a new Template Generator option in support of the new Data 
1160Table Compiler. This option will create examples of all known ACPI tables 
1161that can be used as the basis for table development. See the iASL 
1162documentation and the -T option.
1163
1164Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
1165Descriptor Table).
1166
1167Updated the Linux makefiles for iASL and AcpiExec to place the generated 
1168object files in the local directory so that there can be no collisions 
1169between the shared files between them that are generated with different 
1170options.
1171
1172Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
1173the #define __APPLE__ to enable this support.
1174
1175----------------------------------------
117628 May 2010. Summary of changes for version 20100528:
1177
1178Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
1179available at www.acpi.info. This is primarily an errata release.
1180
11811) ACPI CA Core Subsystem:
1182
1183Undefined ACPI tables: We are looking for the definitions for the following 
1184ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
1185
1186Implemented support to enable multi-byte transfers for Embedded Controller 
1187(EC) operation regions. Previously, the maximum data size passed to the EC 
1188operation region handler was a single byte. There are often EC Fields larger 
1189than one byte that need to be transferred, and it is useful for the EC driver 
1190to lock these as a single transaction. This change enables single transfers 
1191larger than 8 bits. This effectively changes the access to the EC space from 
1192ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
1193Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
1194transfers. Alexey Starikovskiy, Lin Ming
1195
1196Implemented a performance enhancement for namespace search and access. This 
1197change enhances the performance of namespace searches and walks by adding a 
1198backpointer to the parent in each namespace node. On large namespaces, this 
1199change can improve overall ACPI performance by up to 9X. Adding a pointer to 
1200each namespace node increases the overall size of the internal namespace by 
1201about 5%, since each namespace entry usually consists of both a namespace 
1202node and an ACPI operand object. However, this is the first growth of the 
1203namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
1204
1205Implemented a performance optimization that reduces the number of namespace 
1206walks. On control method exit, only walk the namespace if the method is known 
1207to have created namespace objects outside of its local scope. Previously, the 
1208entire namespace was traversed on each control method exit. This change can 
1209improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
1210
1211Added support to truncate I/O addresses to 16 bits for Windows compatibility. 
1212Some ASL code has been seen in the field that inadvertently has bits set 
1213above bit 15. This feature is optional and is enabled if the BIOS requests 
1214any Windows OSI strings. It can also be enabled by the host OS. Matthew 
1215Garrett, Bob Moore.
1216
1217Added support to limit the maximum time for the ASL Sleep() operator. To 
1218prevent accidental deep sleeps, limit the maximum time that Sleep() will 
1219actually sleep. Configurable, the default maximum is two seconds. ACPICA 
1220bugzilla 854.
1221
1222Added run-time validation support for the _WDG and_WED Microsoft predefined 
1223methods. These objects are defined by "Windows Instrumentation", and are not 
1224part of the ACPI spec. ACPICA BZ 860.
1225
1226Expanded all statistic counters used during namespace and device 
1227initialization from 16 to 32 bits in order to support very large namespaces.
1228
1229Replaced all instances of %d in printf format specifiers with %u since nearly 
1230all integers in ACPICA are unsigned.
1231
1232Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
1233as AE_NO_HANDLER.
1234
1235Example Code and Data Size: These are the sizes for the OS-independent 
1236acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1237debug version of the code includes the debug output trace mechanism and has a 
1238much larger code and data size.
1239
1240  Previous Release:
1241    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1242    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1243  Current Release:
1244    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1245    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1246
12472) iASL Compiler/Disassembler and Tools:
1248
1249iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
1250methods. These objects are defined by "Windows Instrumentation", and are not 
1251part of the ACPI spec. ACPICA BZ 860.
1252
1253AcpiExec: added option to disable the memory tracking mechanism. The -dt 
1254option will disable the tracking mechanism, which improves performance 
1255considerably.
1256
1257AcpiExec: Restructured the command line options into -d (disable) and -e 
1258(enable) options.
1259
1260----------------------------------------
126128 April 2010. Summary of changes for version 20100428:
1262
12631) ACPI CA Core Subsystem:
1264
1265Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
1266including FADT-based and GPE Block Devices, execute any _PRW methods in the 
1267new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
1268runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
1269immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
1270Devices. Provides compatibility with other ACPI implementations. Two new 
1271files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
1272
1273Fixed a regression introduced in version 20100331 within the table manager 
1274where initial table loading could fail. This was introduced in the fix for 
1275AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
1276data structures to clarify their meaning and use.
1277
1278Fixed a possible allocation overrun during internal object copy in 
1279AcpiUtCopySimpleObject. The original code did not correctly handle the case 
1280where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
1281
1282Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
1283possible access beyond end-of-allocation. Also, now fully validate descriptor 
1284(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
1285
1286Example Code and Data Size: These are the sizes for the OS-independent 
1287acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1288debug version of the code includes the debug output trace mechanism and has a 
1289much larger code and data size.
1290
1291  Previous Release:
1292    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1293    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1294  Current Release:
1295    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1296    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1297
12982) iASL Compiler/Disassembler and Tools:
1299
1300iASL: Implemented Min/Max/Len/Gran validation for address resource 
1301descriptors. This change implements validation for the address fields that 
1302are common to all address-type resource descriptors. These checks are 
1303implemented: Checks for valid Min/Max, length within the Min/Max window, 
1304valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
1305table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
1306and aslrestype2.c files into five new files. ACPICA BZ 840.
1307
1308iASL: Added support for the _Wxx predefined names. This support was missing 
1309and these names were not recognized by the compiler as valid predefined 
1310names. ACPICA BZ 851.
1311
1312iASL: Added an error for all predefined names that are defined to return no 
1313value and thus must be implemented as Control Methods. These include all of 
1314the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
1315names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
1316
1317iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
1318ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
1319dynamically loaded via the Load() operator. Also cleaned up output for the -
1320ta and -tc options. ACPICA BZ 853.
1321
1322Tests: Added a new file with examples of extended iASL error checking. 
1323Demonstrates the advanced error checking ability of the iASL compiler. 
1324Available at tests/misc/badcode.asl.
1325
1326----------------------------------------
132731 March 2010. Summary of changes for version 20100331:
1328
13291) ACPI CA Core Subsystem:
1330
1331Completed a major update for the GPE support in order to improve support for 
1332shared GPEs and to simplify both host OS and ACPICA code. Added a reference 
1333count mechanism to support shared GPEs that require multiple device drivers. 
1334Several external interfaces have changed. One external interface has been 
1335removed. One new external interface was added. Most of the GPE external 
1336interfaces now use the GPE spinlock instead of the events mutex (and the 
1337Flags parameter for many GPE interfaces has been removed.) See the updated 
1338ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
1339Wysocki. ACPICA BZ 831.
1340
1341Changed:
1342    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
1343Removed:
1344    AcpiSetGpeType
1345New:
1346    AcpiSetGpe
1347
1348Implemented write support for DataTable operation regions. These regions are 
1349defined via the DataTableRegion() operator. Previously, only read support was 
1350implemented. The ACPI specification allows DataTableRegions to be read/write, 
1351however.
1352
1353Implemented a new subsystem option to force a copy of the DSDT to local 
1354memory. Optionally copy the entire DSDT to local memory (instead of simply 
1355mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
1356the original DSDT, creating the need for this option. Default is FALSE, do 
1357not copy the DSDT.
1358
1359Implemented detection of a corrupted or replaced DSDT. This change adds 
1360support to detect a DSDT that has been corrupted and/or replaced from outside 
1361the OS (by firmware). This is typically catastrophic for the system, but has 
1362been seen on some machines. Once this problem has been detected, the DSDT 
1363copy option can be enabled via system configuration. Lin Ming, Bob Moore.
1364
1365Fixed two problems with AcpiReallocateRootTable during the root table copy. 
1366When copying the root table to the new allocation, the length used was 
1367incorrect. The new size was used instead of the current table size, meaning 
1368too much data was copied. Also, the count of available slots for ACPI tables 
1369was not set correctly. Alexey Starikovskiy, Bob Moore.
1370
1371Example Code and Data Size: These are the sizes for the OS-independent 
1372acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1373debug version of the code includes the debug output trace mechanism and has a 
1374much larger code and data size.
1375
1376  Previous Release:
1377    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1378    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1379  Current Release:
1380    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1381    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1382
13832) iASL Compiler/Disassembler and Tools:
1384
1385iASL: Implement limited typechecking for values returned from predefined 
1386control methods. The type of any returned static (unnamed) object is now 
1387validated. For example, Return(1). ACPICA BZ 786.
1388
1389iASL: Fixed a predefined name object verification regression. Fixes a problem 
1390introduced in version 20100304. An error is incorrectly generated if a 
1391predefined name is declared as a static named object with a value defined 
1392using the keywords "Zero", "One", or "Ones". Lin Ming.
1393
1394iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
1395reducing the requested registry access rights. ACPICA BZ 842.
1396
1397Disassembler: fixed a possible fault when generating External() statements. 
1398Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
1399(carat). Fixes a string length allocation calculation. Lin Ming.
1400
1401----------------------------------------
140204 March 2010. Summary of changes for version 20100304:
1403
14041) ACPI CA Core Subsystem:
1405
1406Fixed a possible problem with the AML Mutex handling function 
1407AcpiExReleaseMutex where the function could fault under the very rare 
1408condition when the interpreter has blocked, the interpreter lock is released, 
1409the interpreter is then reentered via the same thread, and attempts to 
1410acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
1411Ming.
1412
1413Implemented additional configuration support for the AML "Debug Object". 
1414Output from the debug object can now be enabled via a global variable, 
1415AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
1416This debug output is now available in the release version of ACPICA instead 
1417of just the debug version. Also, the entire debug output module can now be 
1418configured out of the ACPICA build if desired. One new file added, 
1419executer/exdebug.c. Lin Ming, Bob Moore.
1420
1421Added header support for the ACPI MCHI table (Management Controller Host 
1422Interface Table). This table was added in ACPI 4.0, but the defining document 
1423has only recently become available.
1424
1425Standardized output of integer values for ACPICA warnings/errors. Always use 
14260x prefix for hex output, always use %u for unsigned integer decimal output. 
1427Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
1428invocations.) These invocations were converted from the original 
1429ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
1430
1431Example Code and Data Size: These are the sizes for the OS-independent 
1432acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1433debug version of the code includes the debug output trace mechanism and has a 
1434much larger code and data size.
1435
1436  Previous Release:
1437    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1438    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1439  Current Release:
1440    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1441    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1442
14432) iASL Compiler/Disassembler and Tools:
1444
1445iASL: Implemented typechecking support for static (non-control method) 
1446predefined named objects that are declared with the Name() operator. For 
1447example, the type of this object is now validated to be of type Integer: 
1448Name(_BBN, 1). This change migrates the compiler to using the core predefined 
1449name table instead of maintaining a local version. Added a new file, 
1450aslpredef.c. ACPICA BZ 832.
1451
1452Disassembler: Added support for the ACPI 4.0 MCHI table.
1453
1454----------------------------------------
145521 January 2010. Summary of changes for version 20100121:
1456
14571) ACPI CA Core Subsystem:
1458
1459Added the 2010 copyright to all module headers and signons. This affects 
1460virtually every file in the ACPICA core subsystem, the iASL compiler, the 
1461tools/utilities, and the test suites.
1462
1463Implemented a change to the AcpiGetDevices interface to eliminate unnecessary 
1464invocations of the _STA method. In the case where a specific _HID is 
1465requested, do not run _STA until a _HID match is found. This eliminates 
1466potentially dozens of _STA calls during a search for a particular device/HID, 
1467which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
1468
1469Implemented an additional repair for predefined method return values. Attempt 
1470to repair unexpected NULL elements within returned Package objects. Create an 
1471Integer of value zero, a NULL String, or a zero-length Buffer as appropriate. 
1472ACPICA BZ 818. Lin Ming, Bob Moore.
1473
1474Removed the obsolete ACPI_INTEGER data type. This type was introduced as the 
1475code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
147664-bit AML integers). It is now obsolete and this change removes it from the 
1477ACPICA code base, replaced by UINT64. The original typedef has been retained 
1478for now for compatibility with existing device driver code. ACPICA BZ 824.
1479
1480Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
1481the parse tree object.
1482
1483Added additional warning options for the gcc-4 generation. Updated the source 
1484accordingly. This includes some code restructuring to eliminate unreachable 
1485code, elimination of some gotos, elimination of unused return values, some 
1486additional casting, and removal of redundant declarations.
1487
1488Example Code and Data Size: These are the sizes for the OS-independent 
1489acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1490debug version of the code includes the debug output trace mechanism and has a 
1491much larger code and data size.
1492
1493  Previous Release:
1494    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1495    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1496  Current Release:
1497    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1498    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1499
15002) iASL Compiler/Disassembler and Tools:
1501
1502No functional changes for this release.
1503
1504----------------------------------------
150514 December 2009. Summary of changes for version 20091214:
1506
15071) ACPI CA Core Subsystem:
1508
1509Enhanced automatic data type conversions for predefined name repairs. This 
1510change expands the automatic repairs/conversions for predefined name return 
1511values to make Integers, Strings, and Buffers fully interchangeable. Also, a 
1512Buffer can be converted to a Package of Integers if necessary. The nsrepair.c 
1513module was completely restructured. Lin Ming, Bob Moore.
1514
1515Implemented automatic removal of null package elements during predefined name 
1516repairs. This change will automatically remove embedded and trailing NULL 
1517package elements from returned package objects that are defined to contain a 
1518variable number of sub-packages. The driver is then presented with a package 
1519with no null elements to deal with. ACPICA BZ 819.
1520
1521Implemented a repair for the predefined _FDE and _GTM names. The expected 
1522return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
1523possible problems (both seen in the field), where a package of integers is 
1524returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
1525
1526Implemented additional module-level code support. This change will properly 
1527execute module-level code that is not at the root of the namespace (under a 
1528Device object, etc.). Now executes the code within the current scope instead 
1529of the root. ACPICA BZ 762. Lin Ming.
1530
1531Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
1532problem where mutex errors can occur when running a _REG method that is in 
1533the same scope as a method-defined operation region or an operation region 
1534under a module-level IF block. This type of code is rare, so the problem has 
1535not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1536
1537Fixed a possible memory leak during module-level code execution. An object 
1538could be leaked for each block of executed module-level code if the 
1539interpreter slack mode is enabled This change deletes any implicitly returned 
1540object from the module-level code block. Lin Ming.
1541
1542Removed messages for successful predefined repair(s). The repair mechanism 
1543was considered too wordy. Now, messages are only unconditionally emitted if 
1544the return object cannot be repaired. Existing messages for successful 
1545repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
1546
1547Example Code and Data Size: These are the sizes for the OS-independent 
1548acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1549debug version of the code includes the debug output trace mechanism and has a 
1550much larger code and data size.
1551
1552  Previous Release:
1553    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1554    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1555  Current Release:
1556    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1557    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1558
15592) iASL Compiler/Disassembler and Tools:
1560
1561iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
1562were no longer automatically removed at the termination of the compile.
1563
1564acpiexec: Implemented the -f option to specify default region fill value. 
1565This option specifies the value used to initialize buffers that simulate 
1566operation regions. Default value is zero. Useful for debugging problems that 
1567depend on a specific initial value for a region or field.
1568
1569----------------------------------------
157012 November 2009. Summary of changes for version 20091112:
1571
15721) ACPI CA Core Subsystem:
1573
1574Implemented a post-order callback to AcpiWalkNamespace. The existing 
1575interface only has a pre-order callback. This change adds an additional 
1576parameter for a post-order callback which will be more useful for bus scans. 
1577ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
1578
1579Modified the behavior of the operation region memory mapping cache for 
1580SystemMemory. Ensure that the memory mappings created for operation regions 
1581do not cross 4K page boundaries. Crossing a page boundary while mapping 
1582regions can cause kernel warnings on some hosts if the pages have different 
1583attributes. Such regions are probably BIOS bugs, and this is the workaround. 
1584Linux BZ 14445. Lin Ming.
1585
1586Implemented an automatic repair for predefined methods that must return 
1587sorted lists. This change will repair (by sorting) packages returned by _ALR, 
1588_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
1589and do not contain NULL package elements. Adds one new file, 
1590namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1591
1592Fixed a possible fault during predefined name validation if a return Package 
1593object contains NULL elements. Also adds a warning if a NULL element is 
1594followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
1595include repair or removal of all such NULL elements where possible.
1596
1597Implemented additional module-level executable AML code support. This change 
1598will execute module-level code that is not at the root of the namespace 
1599(under a Device object, etc.) at table load time. Module-level executable AML 
1600code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1601
1602Implemented a new internal function to create Integer objects. This function 
1603simplifies miscellaneous object creation code. ACPICA BZ 823.
1604
1605Reduced the severity of predefined repair messages, Warning to Info. Since 
1606the object was successfully repaired, a warning is too severe. Reduced to an 
1607info message for now. These messages may eventually be changed to debug-only. 
1608ACPICA BZ 812.
1609
1610Example Code and Data Size: These are the sizes for the OS-independent 
1611acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1612debug version of the code includes the debug output trace mechanism and has a 
1613much larger code and data size.
1614
1615  Previous Release:
1616    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1617    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1618  Current Release:
1619    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1620    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1621
16222) iASL Compiler/Disassembler and Tools:
1623
1624iASL: Implemented Switch() with While(1) so that Break works correctly. This 
1625change correctly implements the Switch operator with a surrounding While(1) 
1626so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1627
1628iASL: Added a message if a package initializer list is shorter than package 
1629length. Adds a new remark for a Package() declaration if an initializer list 
1630exists, but is shorter than the declared length of the package. Although 
1631technically legal, this is probably a coding error and it is seen in the 
1632field. ACPICA BZ 815. Lin Ming, Bob Moore.
1633
1634iASL: Fixed a problem where the compiler could fault after the maximum number 
1635of errors was reached (200).
1636
1637acpixtract: Fixed a possible warning for pointer cast if the compiler warning 
1638level set very high.
1639
1640----------------------------------------
164113 October 2009. Summary of changes for version 20091013:
1642
16431) ACPI CA Core Subsystem:
1644
1645Fixed a problem where an Operation Region _REG method could be executed more 
1646than once. If a custom address space handler is installed by the host before 
1647the "initialize operation regions" phase of the ACPICA initialization, any 
1648_REG methods for that address space could be executed twice. This change 
1649fixes the problem. ACPICA BZ 427. Lin Ming.
1650
1651Fixed a possible memory leak for the Scope() ASL operator. When the exact 
1652invocation of "Scope(\)" is executed (change scope to root), one internal 
1653operand object was leaked. Lin Ming.
1654
1655Implemented a run-time repair for the _MAT predefined method. If the _MAT 
1656return value is defined as a Field object in the AML, and the field
1657size is less than or equal to the default width of an integer (32 or 64),_MAT 
1658can incorrectly return an Integer instead of a Buffer. ACPICA now 
1659automatically repairs this problem. ACPICA BZ 810.
1660
1661Implemented a run-time repair for the _BIF and _BIX predefined methods. The 
1662"OEM Information" field is often incorrectly returned as an Integer with 
1663value zero if the field is not supported by the platform. This is due to an 
1664ambiguity in the ACPI specification. The field should always be a string. 
1665ACPICA now automatically repairs this problem by returning a NULL string 
1666within the returned Package. ACPICA BZ 807.
1667
1668Example Code and Data Size: These are the sizes for the OS-independent 
1669acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1670debug version of the code includes the debug output trace mechanism and has a 
1671much larger code and data size.
1672
1673  Previous Release:
1674    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1675    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1676  Current Release:
1677    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1678    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1679
16802) iASL Compiler/Disassembler and Tools:
1681
1682Disassembler: Fixed a problem where references to external symbols that 
1683contained one or more parent-prefixes (carats) were not handled correctly, 
1684possibly causing a fault. ACPICA BZ 806. Lin Ming.
1685
1686Disassembler: Restructured the code so that all functions that handle 
1687external symbols are in a single module. One new file is added, 
1688common/dmextern.c.
1689
1690AML Debugger: Added a max count argument for the Batch command (which 
1691executes multiple predefined methods within the namespace.)
1692
1693iASL: Updated the compiler documentation (User Reference.) Available at 
1694http://www.acpica.org/documentation/. ACPICA BZ 750.
1695
1696AcpiXtract: Updated for Lint and other formatting changes. Close all open 
1697files.
1698
1699----------------------------------------
170003 September 2009. Summary of changes for version 20090903:
1701
17021) ACPI CA Core Subsystem:
1703
1704For Windows Vista compatibility, added the automatic execution of an _INI 
1705method located at the namespace root (\_INI). This method is executed at 
1706table load time. This support is in addition to the automatic execution of 
1707\_SB._INI. Lin Ming.
1708
1709Fixed a possible memory leak in the interpreter for AML package objects if 
1710the package initializer list is longer than the defined size of the package. 
1711This apparently can only happen if the BIOS changes the package size on the 
1712fly (seen in a _PSS object), as ASL compilers do not allow this. The 
1713interpreter will truncate the package to the defined size (and issue an error 
1714message), but previously could leave the extra objects undeleted if they were 
1715pre-created during the argument processing (such is the case if the package 
1716consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1717
1718Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
1719This has been reported in the field. Previously, ACPICA would zero out the 
1720buffer/string. Now, the operation is treated as a noop. Provides Windows 
1721compatibility. ACPICA BZ 803. Lin Ming.
1722
1723Removed an extraneous error message for ASL constructs of the form 
1724Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
1725are seen in many BIOSs and are once again treated as NOOPs and no error is 
1726emitted when they are encountered. ACPICA BZ 785.
1727
1728Fixed an extraneous warning message if a _DSM reserved method returns a 
1729Package object. _DSM can return any type of object, so validation on the 
1730return type cannot be performed. ACPICA BZ 802.
1731
1732Example Code and Data Size: These are the sizes for the OS-independent 
1733acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1734debug version of the code includes the debug output trace mechanism and has a 
1735much larger code and data size.
1736
1737  Previous Release:
1738    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1739    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1740  Current Release:
1741    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1742    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1743
17442) iASL Compiler/Disassembler and Tools:
1745
1746iASL: Fixed a problem with the use of the Alias operator and Resource 
1747Templates. The correct alias is now constructed and no error is emitted. 
1748ACPICA BZ 738.
1749
1750iASL: Implemented the -I option to specify additional search directories for 
1751include files. Allows multiple additional search paths for include files. 
1752Directories are searched in the order specified on the command line (after 
1753the local directory is searched.) ACPICA BZ 800.
1754
1755iASL: Fixed a problem where the full pathname for include files was not 
1756emitted for warnings/errors. This caused the IDE support to not work 
1757properly. ACPICA BZ 765.
1758
1759iASL: Implemented the -@ option to specify a Windows-style response file 
1760containing additional command line options. ACPICA BZ 801.
1761
1762AcpiExec: Added support to load multiple AML files simultaneously (such as a 
1763DSDT and multiple SSDTs). Also added support for wildcards within the AML 
1764pathname. These features allow all machine tables to be easily loaded and 
1765debugged together. ACPICA BZ 804.
1766
1767Disassembler: Added missing support for disassembly of HEST table Error Bank 
1768subtables. 
1769
1770----------------------------------------
177130 July 2009. Summary of changes for version 20090730:
1772
1773The ACPI 4.0 implementation for ACPICA is complete with this release.
1774
17751) ACPI CA Core Subsystem:
1776
1777ACPI 4.0: Added header file support for all new and changed ACPI tables. 
1778Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
1779for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
1780EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
1781have been some ACPI 4.0 changes to other existing tables. Split the large 
1782actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
1783
1784ACPI 4.0: Implemented predefined name validation for all new names. There are 
178531 new names in ACPI 4.0. The predefined validation module was split into two 
1786files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
1787
1788Implemented support for so-called "module-level executable code". This is 
1789executable AML code that exists outside of any control method and is intended 
1790to be executed at table load time. Although illegal since ACPI 2.0, this type 
1791of code still exists and is apparently still being created. Blocks of this 
1792code are now detected and executed as intended. Currently, the code blocks 
1793must exist under either an If, Else, or While construct; these are the 
1794typical cases seen in the field. ACPICA BZ 762. Lin Ming.
1795
1796Implemented an automatic dynamic repair for predefined names that return 
1797nested Package objects. This applies to predefined names that are defined to 
1798return a variable-length Package of sub-packages. If the number of sub-
1799packages is one, BIOS code is occasionally seen that creates a simple single 
1800package with no sub-packages. This code attempts to fix the problem by 
1801wrapping a new package object around the existing package. These methods can 
1802be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
1803790.
1804
1805Fixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
1806The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
1807BZ 793.
1808
1809Fixed a problem with AcpiReset where the reset would silently fail if the 
1810register was one of the protected I/O ports. AcpiReset now bypasses the port 
1811validation mechanism. This may eventually be driven into the AcpiRead/Write 
1812interfaces.
1813
1814Fixed a regression related to the recent update of the AcpiRead/Write 
1815interfaces. A sleep/suspend could fail if the optional PM2 Control register 
1816does not exist during an attempt to write the Bus Master Arbitration bit. 
1817(However, some hosts already delete the code that writes this bit, and the 
1818code may in fact be obsolete at this date.) ACPICA BZ 799.
1819
1820Fixed a problem where AcpiTerminate could fault if inadvertently called twice 
1821in succession. ACPICA BZ 795.
1822
1823Example Code and Data Size: These are the sizes for the OS-independent 
1824acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1825debug version of the code includes the debug output trace mechanism and has a 
1826much larger code and data size.
1827
1828  Previous Release:
1829    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1830    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1831  Current Release:
1832    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1833    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1834
18352) iASL Compiler/Disassembler and Tools:
1836
1837ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
1838changes to existing tables. ACPICA BZ 775.
1839
1840----------------------------------------
184125 June 2009. Summary of changes for version 20090625:
1842
1843The ACPI 4.0 Specification was released on June 16 and is available at 
1844www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
1845continue for the next few releases.
1846
18471) ACPI CA Core Subsystem:
1848
1849ACPI 4.0: Implemented interpreter support for the IPMI operation region 
1850address space. Includes support for bi-directional data buffers and an IPMI 
1851address space handler (to be installed by an IPMI device driver.) ACPICA BZ 
1852773. Lin Ming.
1853
1854ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
1855support in both the header files and the disassembler.
1856
1857Completed a major update for the AcpiGetObjectInfo external interface. 
1858Changes include:
1859 - Support for variable, unlimited length HID, UID, and CID strings.
1860 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
1861 - Call the _SxW power methods on behalf of a device object.
1862 - Determine if a device is a PCI root bridge.
1863 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
1864These changes will require an update to all callers of this interface. See 
1865the updated ACPICA Programmer Reference for details. One new source file has 
1866been added - utilities/utids.c. ACPICA BZ 368, 780.
1867
1868Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
1869transfers. The Value parameter has been extended from 32 bits to 64 bits in 
1870order to support new ACPI 4.0 tables. These changes will require an update to 
1871all callers of these interfaces. See the ACPICA Programmer Reference for 
1872details. ACPICA BZ 768.
1873
1874Fixed several problems with AcpiAttachData. The handler was not invoked when 
1875the host node was deleted. The data sub-object was not automatically deleted 
1876when the host node was deleted. The interface to the handler had an unused 
1877parameter, this was removed. ACPICA BZ 778.
1878
1879Enhanced the function that dumps ACPI table headers. All non-printable 
1880characters in the string fields are now replaced with '?' (Signature, OemId, 
1881OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
1882these fields are occasionally seen in the field. ACPICA BZ 788.
1883
1884Fixed a problem with predefined method repair code where the code that 
1885attempts to repair/convert an object of incorrect type is only executed on 
1886the first time the predefined method is called. The mechanism that disables 
1887warnings on subsequent calls was interfering with the repair mechanism. 
1888ACPICA BZ 781.
1889
1890Fixed a possible memory leak in the predefined validation/repair code when a 
1891buffer is automatically converted to an expected string object.
1892
1893Removed obsolete 16-bit files from the distribution and from the current git 
1894tree head. ACPICA BZ 776.
1895
1896Example Code and Data Size: These are the sizes for the OS-independent 
1897acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1898debug version of the code includes the debug output trace mechanism and has a 
1899much larger code and data size.
1900
1901  Previous Release:
1902    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1903    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1904  Current Release:
1905    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1906    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1907
19082) iASL Compiler/Disassembler and Tools:
1909
1910ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
1911operation region keyword. ACPICA BZ 771, 772. Lin Ming.
1912
1913ACPI 4.0: iASL - implemented compile-time validation support for all new 
1914predefined names and control methods (31 total). ACPICA BZ 769.
1915
1916----------------------------------------
191721 May 2009. Summary of changes for version 20090521:
1918
19191) ACPI CA Core Subsystem:
1920
1921Disabled the preservation of the SCI enable bit in the PM1 control register. 
1922The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
1923a "preserved" bit - "OSPM always preserves this bit position", section 
19244.7.3.2.1. However, some machines fail if this bit is in fact preserved 
1925because the bit needs to be explicitly set by the OS as a workaround. No 
1926machines fail if the bit is not preserved. Therefore, ACPICA no longer 
1927attempts to preserve this bit.
1928
1929Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
1930incorrectly formed _PRT package could cause a fault. Added validation to 
1931ensure that each package element is actually a sub-package.
1932
1933Implemented a new interface to install or override a single control method, 
1934AcpiInstallMethod. This interface is useful when debugging in order to repair 
1935an existing method or to install a missing method without having to override 
1936the entire ACPI table. See the ACPICA Programmer Reference for use and 
1937examples. Lin Ming, Bob Moore.
1938
1939Fixed several reference count issues with the DdbHandle object that is 
1940created from a Load or LoadTable operator. Prevent premature deletion of the 
1941object. Also, mark the object as invalid once the table has been unloaded. 
1942This is needed because the handle itself may not be deleted after the table 
1943unload, depending on whether it has been stored in a named object by the 
1944caller. Lin Ming.
1945
1946Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
1947mutexes of the same sync level are acquired but then not released in strict 
1948opposite order, the internally maintained Current Sync Level becomes confused 
1949and can cause subsequent execution errors. ACPICA BZ 471.
1950
1951Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
1952specification has been changed to make the SyncLevel for mutex objects more 
1953useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
1954same as the current sync level. This makes more sense than the previous rule 
1955(SyncLevel less than or equal). This change updates the code to match the 
1956specification.
1957
1958Fixed a problem with the local version of the AcpiOsPurgeCache function. The 
1959(local) cache must be locked during all cache object deletions. Andrew 
1960Baumann.
1961
1962Updated the Load operator to use operation region interfaces. This replaces 
1963direct memory mapping with region access calls. Now, all region accesses go 
1964through the installed region handler as they should.
1965
1966Simplified and optimized the NsGetNextNode function. Reduced parameter count 
1967and reduced code for this frequently used function.
1968
1969Example Code and Data Size: These are the sizes for the OS-independent 
1970acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1971debug version of the code includes the debug output trace mechanism and has a 
1972much larger code and data size.
1973
1974  Previous Release:
1975    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1976    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1977  Current Release:
1978    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1979    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1980
19812) iASL Compiler/Disassembler and Tools:
1982
1983Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
1984with sub-table disassembly and handling invalid sub-tables. Attempt recovery 
1985after an invalid sub-table ID.
1986
1987----------------------------------------
198822 April 2009. Summary of changes for version 20090422:
1989
19901) ACPI CA Core Subsystem:
1991
1992Fixed a compatibility issue with the recently released I/O port protection 
1993mechanism. For windows compatibility, 1) On a port protection violation, 
1994simply ignore the request and do not return an exception (allow the control 
1995method to continue execution.) 2) If only part of the request overlaps a 
1996protected port, read/write the individual ports that are not protected. Linux 
1997BZ 13036. Lin Ming
1998
1999Enhanced the execution of the ASL/AML BreakPoint operator so that it actually 
2000breaks into the AML debugger if the debugger is present. This matches the 
2001ACPI-defined behavior.
2002
2003Fixed several possible warnings related to the use of the configurable 
2004ACPI_THREAD_ID. This type can now be configured as either an integer or a 
2005pointer with no warnings. Also fixes several warnings in printf-like 
2006statements for the 64-bit build when the type is configured as a pointer. 
2007ACPICA BZ 766, 767.
2008
2009Fixed a number of possible warnings when compiling with gcc 4+ (depending on 
2010warning options.) Examples include printf formats, aliasing, unused globals, 
2011missing prototypes, missing switch default statements, use of non-ANSI 
2012library functions, use of non-ANSI constructs. See generate/unix/Makefile for 
2013a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
2014
2015Example Code and Data Size: These are the sizes for the OS-independent 
2016acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2017debug version of the code includes the debug output trace mechanism and has a 
2018much larger code and data size.
2019
2020  Previous Release:
2021    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2022    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2023  Current Release:
2024    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
2025    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
2026
20272) iASL Compiler/Disassembler and Tools:
2028
2029iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
2030the 64-bit build.
2031
2032iASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
2033correctly digest Windows/DOS formatted files (with CR/LF).
2034
2035iASL: Added a new option for "quiet mode" (-va) that produces only the 
2036compilation summary, not individual errors and warnings. Useful for large 
2037batch compilations.
2038
2039AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
2040timeout that can be used to detect hang conditions during execution of AML 
2041code (includes both internal semaphores and AML-defined mutexes and events.)
2042
2043Added new makefiles for the generation of acpica in a generic unix-like 
2044environment. These makefiles are intended to generate the acpica tools and 
2045utilities from the original acpica git source tree structure.
2046
2047Test Suites: Updated and cleaned up the documentation files. Updated the 
2048copyrights to 2009, affecting all source files. Use the new version of iASL 
2049with quiet mode. Increased the number of available semaphores in the Windows 
2050OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
2051an alternate implementation of the semaphore timeout to allow aslts to 
2052execute fully on Cygwin.
2053
2054----------------------------------------
205520 March 2009. Summary of changes for version 20090320:
2056
20571) ACPI CA Core Subsystem:
2058
2059Fixed a possible race condition between AcpiWalkNamespace and dynamic table 
2060unloads. Added a reader/writer locking mechanism to allow multiple concurrent 
2061namespace walks (readers), but block a dynamic table unload until it can gain 
2062exclusive write access to the namespace. This fixes a problem where a table 
2063unload could (possibly catastrophically) delete the portion of the namespace 
2064that is currently being examined by a walk. Adds a new file, utlock.c, that 
2065implements the reader/writer lock mechanism. ACPICA BZ 749.
2066
2067Fixed a regression introduced in version 20090220 where a change to the FADT 
2068handling could cause the ACPICA subsystem to access non-existent I/O ports.
2069
2070Modified the handling of FADT register and table (FACS/DSDT) addresses. The 
2071FADT can contain both 32-bit and 64-bit versions of these addresses. 
2072Previously, the 64-bit versions were favored, meaning that if both 32 and 64 
2073versions were valid, but not equal, the 64-bit version was used. This was 
2074found to cause some machines to fail. Now, in this case, the 32-bit version 
2075is used instead. This now matches the Windows behavior.
2076
2077Implemented a new mechanism to protect certain I/O ports. Provides Microsoft 
2078compatibility and protects the standard PC I/O ports from access via AML 
2079code. Adds a new file, hwvalid.c
2080
2081Fixed a possible extraneous warning message from the FADT support. The 
2082message warns of a 32/64 length mismatch between the legacy and GAS 
2083definitions for a register.
2084
2085Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is 
2086made obsolete by the port protection mechanism above. It was previously used 
2087to validate the entire address range of an operation region, which could be 
2088incorrect if the range included illegal ports, but fields within the 
2089operation region did not actually access those ports. Validation is now 
2090performed on a per-field basis instead of the entire region.
2091
2092Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
2093Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
2094means a read/modify/write when writing to the register. However, for status 
2095registers, writing a one means clear the event. Writing a zero means preserve 
2096the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
2097and the ACPICA code now simply always writes a zero to the ignored bit.
2098
2099Modified the handling of ignored bits for the PM1 A/B Control Registers. As 
2100per the ACPI specification, for the control registers, preserve 
2101(read/modify/write) all bits that are defined as either reserved or ignored.
2102
2103Updated the handling of write-only bits in the PM1 A/B Control Registers. 
2104When reading the register, zero the write-only bits as per the ACPI spec. 
2105ACPICA BZ 443. Lin Ming.
2106
2107Removed "Linux" from the list of supported _OSI strings. Linux no longer 
2108wants to reply true to this request. The Windows strings are the only paths 
2109through the AML that are tested and known to work properly.
2110
2111  Previous Release:
2112    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2113    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2114  Current Release:
2115    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2116    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2117
21182) iASL Compiler/Disassembler and Tools:
2119
2120Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
2121aetables.c
2122
2123----------------------------------------
212420 February 2009. Summary of changes for version 20090220:
2125
21261) ACPI CA Core Subsystem:
2127
2128Optimized the ACPI register locking. Removed locking for reads from the ACPI 
2129bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
2130not required when reading the single-bit registers. The 
2131AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
2132This will improve performance for reads on these registers. ACPICA BZ 760.
2133
2134Fixed the parameter validation for AcpiRead/Write. Now return 
2135AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
2136the register has an address of zero. Previously, these cases simply returned 
2137AE_OK. For optional registers such as PM1B status/enable/control, the caller 
2138should check for a valid register address before calling. ACPICA BZ 748.
2139
2140Renamed the external ACPI bit register access functions. Renamed 
2141AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
2142functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
2143Also, restructured the code for these functions by simplifying the code path 
2144and condensing duplicate code to reduce code size.
2145
2146Added new functions to transparently handle the possibly split PM1 A/B 
2147registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
2148now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
2149746.
2150
2151Added a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
2152This function writes both of the PM1 control registers (A/B). These registers 
2153are different than the PM1 A/B status and enable registers in that different 
2154values can be written to the A/B registers. Most notably, the SLP_TYP bits 
2155can be different, as per the values returned from the _Sx predefined methods.
2156
2157Removed an extra register write within AcpiHwClearAcpiStatus. This function 
2158was writing an optional PM1B status register twice. The existing call to the 
2159low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
2160register. ACPICA BZ 751.
2161
2162Split out the PM1 Status registers from the FADT. Added new globals for these 
2163registers (A/B), similar to the way the PM1 Enable registers are handled. 
2164Instead of overloading the FADT Event Register blocks. This makes the code 
2165clearer and less prone to error.
2166
2167Fixed the warning message for when the platform contains too many ACPI tables 
2168for the default size of the global root table data structure. The calculation 
2169for the truncation value was incorrect.
2170
2171Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
2172obsolete macro, since it is now a simple reference to ->common.type. There 
2173were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
2174
2175Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
2176TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
2177simply SLEEP_TYPE. ACPICA BZ 754.
2178
2179Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
2180function is only needed on 64-bit host operating systems and is thus not 
2181included for 32-bit hosts.
2182
2183Debug output: print the input and result for invocations of the _OSI reserved 
2184control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
2185verbosity of this debug level. Len Brown.
2186
2187Example Code and Data Size: These are the sizes for the OS-independent 
2188acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2189debug version of the code includes the debug output trace mechanism and has a 
2190much larger code and data size.
2191
2192  Previous Release:
2193    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2194    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2195  Current Release:
2196    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2197    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2198
21992) iASL Compiler/Disassembler and Tools:
2200
2201Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
2202various legal performance profiles.
2203
2204----------------------------------------
220523 January 2009. Summary of changes for version 20090123:
2206
22071) ACPI CA Core Subsystem:
2208
2209Added the 2009 copyright to all module headers and signons. This affects 
2210virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2211the tools/utilities.
2212
2213Implemented a change to allow the host to override any ACPI table, including 
2214dynamically loaded tables. Previously, only the DSDT could be replaced by the 
2215host. With this change, the AcpiOsTableOverride interface is called for each 
2216table found in the RSDT/XSDT during ACPICA initialization, and also whenever 
2217a table is dynamically loaded via the AML Load operator.
2218
2219Updated FADT flag definitions, especially the Boot Architecture flags.
2220
2221Debugger: For the Find command, automatically pad the input ACPI name with 
2222underscores if the name is shorter than 4 characters. This enables a match 
2223with the actual namespace entry which is itself padded with underscores.
2224
2225Example Code and Data Size: These are the sizes for the OS-independent 
2226acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2227debug version of the code includes the debug output trace mechanism and has a 
2228much larger code and data size.
2229
2230  Previous Release:
2231    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2232    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2233  Current Release:
2234    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2235    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2236
22372) iASL Compiler/Disassembler and Tools:
2238
2239Fix build error under Bison-2.4.
2240
2241Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
2242flags. Now decode all flags, regardless of the FADT version. Flag output 
2243includes the FADT version which first defined each flag.
2244
2245The iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
2246DSDT). Windows only.
2247
2248----------------------------------------
224904 December 2008. Summary of changes for version 20081204:
2250
22511) ACPI CA Core Subsystem:
2252
2253The ACPICA Programmer Reference has been completely updated and revamped for 
2254this release. This includes updates to the external interfaces, OSL 
2255interfaces, the overview sections, and the debugger reference.
2256
2257Several new ACPICA interfaces have been implemented and documented in the 
2258programmer reference:
2259AcpiReset - Writes the reset value to the FADT-defined reset register.
2260AcpiDisableAllGpes - Disable all available GPEs.
2261AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
2262AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
2263AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
2264AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
2265AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
2266
2267Most of the public ACPI hardware-related interfaces have been moved to a new 
2268file, components/hardware/hwxface.c
2269
2270Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
2271register lengths within the FADT are now used, and the low level ACPI 
2272register access no longer hardcodes the ACPI register lengths. Given that 
2273there may be some risk in actually trusting the FADT register lengths, a run-
2274time option was added to fall back to the default hardcoded lengths if the 
2275FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
2276option is set to true for now, and a warning is issued if a suspicious FADT 
2277register length is overridden with the default value.
2278
2279Fixed a reference count issue in NsRepairObject. This problem was introduced 
2280in version 20081031 as part of a fix to repair Buffer objects within 
2281Packages. Lin Ming.
2282
2283Added semaphore support to the Linux/Unix application OS-services layer 
2284(OSL). ACPICA BZ 448. Lin Ming.
2285
2286Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
2287be implemented in the OSL, or will binary semaphores be used instead.
2288
2289Example Code and Data Size: These are the sizes for the OS-independent 
2290acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2291debug version of the code includes the debug output trace mechanism and has a 
2292much larger code and data size.
2293
2294  Previous Release:
2295    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2296    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2297  Current Release:
2298    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2299    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2300
23012) iASL Compiler/Disassembler and Tools:
2302
2303iASL: Completed the '-e' option to include additional ACPI tables in order to 
2304aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
2305Ming.
2306
2307iASL: Removed the "named object in while loop" error. The compiler cannot 
2308determine how many times a loop will execute. ACPICA BZ 730.
2309
2310Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
2311BZ 743.
2312
2313Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
2314
2315----------------------------------------
231631 October 2008. Summary of changes for version 20081031:
2317
23181) ACPI CA Core Subsystem:
2319
2320Restructured the ACPICA header files into public/private. acpi.h now includes 
2321only the "public" acpica headers. All other acpica headers are "private" and 
2322should not be included by acpica users. One new file, accommon.h is used to 
2323include the commonly used private headers for acpica code generation. Future 
2324plans include moving all private headers to a new subdirectory.
2325
2326Implemented an automatic Buffer->String return value conversion for 
2327predefined ACPI methods. For these methods (such as _BIF), added automatic 
2328conversion for return objects that are required to be a String, but a Buffer 
2329was found instead. This can happen when reading string battery data from an 
2330operation region, because it used to be difficult to convert the data from 
2331buffer to string from within the ASL. Ensures that the host OS is provided 
2332with a valid null-terminated string. Linux BZ 11822.
2333
2334Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
2335into two: one for the 32-bit vector, another for the 64-bit vector. This is 
2336required because the host OS must setup the wake much differently for each 
2337vector (real vs. protected mode, etc.) and the interface itself should not be 
2338deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
2339interface, as it served no purpose (only the firmware reads the vector, OS 
2340only writes the vector.) ACPICA BZ 731.
2341
2342Implemented a mechanism to escape infinite AML While() loops. Added a loop 
2343counter to force exit from AML While loops if the count becomes too large. 
2344This can occur in poorly written AML when the hardware does not respond 
2345within a while loop and the loop does not implement a timeout. The maximum 
2346loop count is configurable. A new exception code is returned when a loop is 
2347broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
2348
2349Optimized the execution of AML While loops. Previously, a control state 
2350object was allocated and freed for each execution of the loop. The 
2351optimization is to simply reuse the control state for each iteration. This 
2352speeds up the raw loop execution time by about 5%.
2353
2354Enhanced the implicit return mechanism. For Windows compatibility, return an 
2355implicit integer of value zero for methods that contain no executable code. 
2356Such methods are seen in the field as stubs (presumably), and can cause 
2357drivers to fail if they expect a return value. Lin Ming.
2358
2359Allow multiple backslashes as root prefixes in namepaths. In a fully 
2360qualified namepath, allow multiple backslash prefixes. This can happen (and 
2361is seen in the field) because of the use of a double-backslash in strings 
2362(since backslash is the escape character) causing confusion. ACPICA BZ 739 
2363Lin Ming.
2364
2365Emit a warning if two different FACS or DSDT tables are discovered in the 
2366FADT. Checks if there are two valid but different addresses for the FACS and 
2367DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
2368
2369Consolidated the method argument count validation code. Merged the code that 
2370validates control method argument counts into the predefined validation 
2371module. Eliminates possible multiple warnings for incorrect argument counts.
2372
2373Implemented ACPICA example code. Includes code for ACPICA initialization, 
2374handler installation, and calling a control method. Available at 
2375source/tools/examples.
2376
2377Added a global pointer for FACS table to simplify internal FACS access. Use 
2378the global pointer instead of using AcpiGetTableByIndex for each FACS access. 
2379This simplifies the code for the Global Lock and the Firmware Waking 
2380Vector(s).
2381
2382Example Code and Data Size: These are the sizes for the OS-independent 
2383acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2384debug version of the code includes the debug output trace mechanism and has a 
2385much larger code and data size.
2386
2387  Previous Release:
2388    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2389    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2390  Current Release:
2391    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2392    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2393
23942) iASL Compiler/Disassembler and Tools:
2395
2396iASL: Improved disassembly of external method calls. Added the -e option to 
2397allow the inclusion of additional ACPI tables to help with the disassembly of 
2398method invocations and the generation of external declarations during the 
2399disassembly. Certain external method invocations cannot be disassembled 
2400properly without the actual declaration of the method. Use the -e option to 
2401include the table where the external method(s) are actually declared. Most 
2402useful for disassembling SSDTs that make method calls back to the master 
2403DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
2404-e dsdt.aml ssdt1.aml
2405
2406iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
2407problem where the use of an alias within a namepath would result in a not 
2408found error or cause the compiler to fault. Also now allows forward 
2409references from the Alias operator itself. ACPICA BZ 738.
2410
2411----------------------------------------
241226 September 2008. Summary of changes for version 20080926:
2413
24141) ACPI CA Core Subsystem:
2415
2416Designed and implemented a mechanism to validate predefined ACPI methods and 
2417objects. This code validates the predefined ACPI objects (objects whose names 
2418start with underscore) that appear in the namespace, at the time they are 
2419evaluated. The argument count and the type of the returned object are 
2420validated against the ACPI specification. The purpose of this validation is 
2421to detect problems with the BIOS-implemented predefined ACPI objects before 
2422the results are returned to the ACPI-related drivers. Future enhancements may 
2423include actual repair of incorrect return objects where possible. Two new 
2424files are nspredef.c and acpredef.h.
2425
2426Fixed a fault in the AML parser if a memory allocation fails during the Op 
2427completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
2428
2429Fixed an issue with implicit return compatibility. This change improves the 
2430implicit return mechanism to be more compatible with the MS interpreter. Lin 
2431Ming, ACPICA BZ 349.
2432
2433Implemented support for zero-length buffer-to-string conversions. Allow zero 
2434length strings during interpreter buffer-to-string conversions. For example, 
2435during the ToDecimalString and ToHexString operators, as well as implicit 
2436conversions. Fiodor Suietov, ACPICA BZ 585.
2437
2438Fixed two possible memory leaks in the error exit paths of 
2439AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
2440similar in that they use a stack of state objects in order to eliminate 
2441recursion. The stack must be fully unwound and deallocated if an error 
2442occurs. Lin Ming. ACPICA BZ 383.
2443
2444Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
2445ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
2446Moore ACPICA BZ 442.
2447
2448Removed the obsolete version number in module headers. Removed the 
2449"$Revision" number that appeared in each module header. This version number 
2450was useful under SourceSafe and CVS, but has no meaning under git. It is not 
2451only incorrect, it could also be misleading.
2452
2453Example Code and Data Size: These are the sizes for the OS-independent 
2454acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2455debug version of the code includes the debug output trace mechanism and has a 
2456much larger code and data size.
2457
2458  Previous Release:
2459    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2460    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2461  Current Release:
2462    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2463    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2464
2465----------------------------------------
246629 August 2008. Summary of changes for version 20080829:
2467
24681) ACPI CA Core Subsystem:
2469
2470Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
2471Reference. Changes include the elimination of cheating on the Object field 
2472for the DdbHandle subtype, addition of a reference class field to 
2473differentiate the various reference types (instead of an AML opcode), and the 
2474cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
2475
2476Reduce an error to a warning for an incorrect method argument count. 
2477Previously aborted with an error if too few arguments were passed to a 
2478control method via the external ACPICA interface. Now issue a warning instead 
2479and continue. Handles the case where the method inadvertently declares too 
2480many arguments, but does not actually use the extra ones. Applies mainly to 
2481the predefined methods. Lin Ming. Linux BZ 11032.
2482
2483Disallow the evaluation of named object types with no intrinsic value. Return 
2484AE_TYPE for objects that have no value and therefore evaluation is undefined: 
2485Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
2486these types were allowed, but an exception would be generated at some point 
2487during the evaluation. Now, the error is generated up front.
2488
2489Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
2490(nsnames.c). Fixes a leak in the error exit path.
2491
2492Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
2493levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
2494interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
2495ACPI_LV_EVENTS.
2496
2497Removed obsolete and/or unused exception codes from the acexcep.h header. 
2498There is the possibility that certain device drivers may be affected if they 
2499use any of these exceptions.
2500
2501The ACPICA documentation has been added to the public git source tree, under 
2502acpica/documents. Included are the ACPICA programmer reference, the iASL 
2503compiler reference, and the changes.txt release logfile.
2504
2505Example Code and Data Size: These are the sizes for the OS-independent 
2506acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2507debug version of the code includes the debug output trace mechanism and has a 
2508much larger code and data size.
2509
2510  Previous Release:
2511    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2512    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2513  Current Release:
2514    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2515    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2516
25172) iASL Compiler/Disassembler and Tools:
2518
2519Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
2520defines _SCP with 3 arguments. Previous versions defined it with only 1 
2521argument. iASL now allows both definitions.
2522
2523iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2524length subtables when disassembling ACPI tables. Also fixed a couple of 
2525errors where a full 16-bit table type field was not extracted from the input 
2526properly.
2527
2528acpisrc: Improve comment counting mechanism for generating source code 
2529statistics. Count first and last lines of multi-line comments as whitespace, 
2530not comment lines. Handle Linux legal header in addition to standard acpica 
2531header.
2532
2533----------------------------------------
2534
253529 July 2008. Summary of changes for version 20080729:
2536
25371) ACPI CA Core Subsystem:
2538
2539Fix a possible deadlock in the GPE dispatch. Remove call to 
2540AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
2541to acquire the GPE lock but can deadlock since the GPE lock is already held 
2542at dispatch time. This code was introduced in version 20060831 as a response 
2543to Linux BZ 6881 and has since been removed from Linux.
2544
2545Add a function to dereference returned reference objects. Examines the return 
2546object from a call to AcpiEvaluateObject. Any Index or RefOf references are 
2547automatically dereferenced in an attempt to return something useful (these 
2548reference types cannot be converted into an external ACPI_OBJECT.) Provides 
2549MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2550
2551x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
2552subtables for the MADT and one new subtable for the SRAT. Includes 
2553disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
2554Specification, June 2008.
2555
2556Additional error checking for pathname utilities. Add error check after all 
2557calls to AcpiNsGetPathnameLength. Add status return from 
2558AcpiNsBuildExternalPath and check after all calls. Add parameter validation 
2559to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2560
2561Return status from the global init function AcpiUtGlobalInitialize. This is 
2562used by both the kernel subsystem and the utilities such as iASL compiler. 
2563The function could possibly fail when the caches are initialized. Yang Yi.
2564
2565Add a function to decode reference object types to strings. Created for 
2566improved error messages. 
2567
2568Improve object conversion error messages. Better error messages during object 
2569conversion from internal to the external ACPI_OBJECT. Used for external calls 
2570to AcpiEvaluateObject.
2571
2572Example Code and Data Size: These are the sizes for the OS-independent 
2573acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2574debug version of the code includes the debug output trace mechanism and has a 
2575much larger code and data size.
2576
2577  Previous Release:
2578    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2579    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2580  Current Release:
2581    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2582    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2583
25842) iASL Compiler/Disassembler and Tools:
2585
2586Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
2587introduced in version 20080701. If the object being evaluated (via execute 
2588command) is not a method, the debugger can hang while trying to obtain non-
2589existent parameters.
2590
2591iASL: relax error for using reserved "_T_x" identifiers. These names can 
2592appear in a disassembled ASL file if they were emitted by the original 
2593compiler. Instead of issuing an error or warning and forcing the user to 
2594manually change these names, issue a remark instead.
2595
2596iASL: error if named object created in while loop. Emit an error if any named 
2597object is created within a While loop. If allowed, this code will generate a 
2598run-time error on the second iteration of the loop when an attempt is made to 
2599create the same named object twice. ACPICA bugzilla 730.
2600
2601iASL: Support absolute pathnames for include files. Add support for absolute 
2602pathnames within the Include operator. previously, only relative pathnames 
2603were supported.
2604
2605iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
2606The ACPI spec requires one interrupt minimum. BZ 423
2607
2608iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
2609Handles the case for the Interrupt Resource Descriptor where
2610the ResourceSource argument is omitted but ResourceSourceIndex
2611is present. Now leave room for the Index. BZ 426
2612
2613iASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
2614where an error message is emitted if the target does not exist. BZ 516
2615
2616iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
2617(get ACPI tables on Windows). This was apparently broken in version 20070919.
2618
2619AcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
2620the EOF happens immediately after the last table in the input file. Print 
2621completion message. Previously, no message was displayed in this case.
2622
2623----------------------------------------
262401 July 2008. Summary of changes for version 20080701:
2625
26260) Git source tree / acpica.org
2627
2628Fixed a problem where a git-clone from http would not transfer the entire 
2629source tree.
2630
26311) ACPI CA Core Subsystem:
2632
2633Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
2634enable bit. Now performs a read-change-write of the enable register instead 
2635of simply writing out the cached enable mask. This will prevent inadvertent 
2636enabling of GPEs if a rogue GPE is received during initialization (before GPE 
2637handlers are installed.)
2638
2639Implemented a copy for dynamically loaded tables. Previously, dynamically 
2640loaded tables were simply mapped - but on some machines this memory is 
2641corrupted after suspend. Now copy the table to a local buffer. For the 
2642OpRegion case, added checksum verify. Use the table length from the table 
2643header, not the region length. For the Buffer case, use the table length 
2644also. Dennis Noordsij, Bob Moore. BZ 10734
2645
2646Fixed a problem where the same ACPI table could not be dynamically loaded and 
2647unloaded more than once. Without this change, a table cannot be loaded again 
2648once it has been loaded/unloaded one time. The current mechanism does not 
2649unregister a table upon an unload. During a load, if the same table is found, 
2650this no longer returns an exception. BZ 722
2651
2652Fixed a problem where the wrong descriptor length was calculated for the 
2653EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
2654are calculated as 12 bytes long, but the actual length in the internal 
2655descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
2656by Linn Crosetto. BZ 728
2657
2658Fixed a possible memory leak in the Unload operator. The DdbHandle returned 
2659by Load() did not have its reference count decremented during unload, leading 
2660to a memory leak. Lin Ming. BZ 727
2661
2662Fixed a possible memory leak when deleting thermal/processor objects. Any 
2663associated notify handlers (and objects) were not being deleted. Fiodor 
2664Suietov. BZ 506
2665
2666Fixed the ordering of the ASCII names in the global mutex table to match the 
2667actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
2668Vegard Nossum. BZ 726
2669
2670Enhanced the AcpiGetObjectInfo interface to return the number of required 
2671arguments if the object is a control method. Added this call to the debugger 
2672so the proper number of default arguments are passed to a method. This 
2673prevents a warning when executing methods from AcpiExec.
2674
2675Added a check for an invalid handle in AcpiGetObjectInfo. Return 
2676AE_BAD_PARAMETER if input handle is invalid. BZ 474
2677
2678Fixed an extraneous warning from exconfig.c on the 64-bit build.
2679
2680Example Code and Data Size: These are the sizes for the OS-independent 
2681acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2682debug version of the code includes the debug output trace mechanism and has a 
2683much larger code and data size.
2684
2685  Previous Release:
2686    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2687    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2688  Current Release:
2689    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2690    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2691
26922) iASL Compiler/Disassembler and Tools:
2693
2694iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
2695resource descriptor names.
2696
2697iASL: Detect invalid ASCII characters in input (windows version). Removed the 
2698"-CF" flag from the flex compile, enables correct detection of non-ASCII 
2699characters in the input. BZ 441
2700
2701iASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
2702"result of operation not used" warning when the DDB handle returned from 
2703LoadTable is not used. The warning is not needed. BZ 590
2704
2705AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
2706pass address of table to the AML. Added option to disable OpRegion simulation 
2707to allow creation of an OpRegion with a real address that was passed to _CFG. 
2708All of this allows testing of the Load and Unload operators from AcpiExec.
2709
2710Debugger: update tables command for unloaded tables. Handle unloaded tables 
2711and use the standard table header output routine.
2712
2713----------------------------------------
271409 June 2008. Summary of changes for version 20080609:
2715
27161) ACPI CA Core Subsystem:
2717
2718Implemented a workaround for reversed _PRT entries. A significant number of 
2719BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
2720change dynamically detects and repairs this problem. Provides compatibility 
2721with MS ACPI. BZ 6859
2722
2723Simplified the internal ACPI hardware interfaces to eliminate the locking 
2724flag parameter from Register Read/Write. Added a new external interface, 
2725AcpiGetRegisterUnlocked.
2726
2727Fixed a problem where the invocation of a GPE control method could hang. This 
2728was a regression introduced in 20080514. The new method argument count 
2729validation mechanism can enter an infinite loop when a GPE method is 
2730dispatched. Problem fixed by removing the obsolete code that passed GPE block 
2731information to the notify handler via the control method parameter pointer.
2732
2733Fixed a problem where the _SST execution status was incorrectly returned to 
2734the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
273520080514. _SST is optional and a NOT_FOUND exception should never be 
2736returned. BZ 716
2737
2738Fixed a problem where a deleted object could be accessed from within the AML 
2739parser. This was a regression introduced in version 20080123 as a fix for the 
2740Unload operator. Lin Ming. BZ 10669
2741
2742Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
2743and eliminated the use of a negative index in a loop. Operands are now 
2744displayed in the correct order, not backwards. This also fixes a regression 
2745introduced in 20080514 on 64-bit systems where the elimination of 
2746ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
2747
2748Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
2749path did not delete a locally allocated structure.
2750
2751Updated definitions for the DMAR and SRAT tables to synchronize with the 
2752current specifications. Includes disassembler support.
2753
2754Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
2755loop termination value was used. Loop terminated on iteration early, missing 
2756one mutex. Linn Crosetto
2757
2758Example Code and Data Size: These are the sizes for the OS-independent 
2759acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2760debug version of the code includes the debug output trace mechanism and has a 
2761much larger code and data size.
2762
2763  Previous Release:
2764    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2765    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2766  Current Release:
2767    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2768    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2769
27702) iASL Compiler/Disassembler and Tools:
2771
2772Disassembler: Implemented support for EisaId() within _CID objects. Now 
2773disassemble integer _CID objects back to EisaId invocations, including 
2774multiple integers within _CID packages. Includes single-step support for 
2775debugger also.
2776
2777Disassembler: Added support for DMAR and SRAT table definition changes.
2778
2779----------------------------------------
278014 May 2008. Summary of changes for version 20080514:
2781
27821) ACPI CA Core Subsystem:
2783
2784Fixed a problem where GPEs were enabled too early during the ACPICA 
2785initialization. This could lead to "handler not installed" errors on some 
2786machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
2787ensures that all operation regions and devices throughout the namespace have 
2788been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
2789
2790Implemented a change to the enter sleep code. Moved execution of the _GTS 
2791method to just before setting sleep enable bit. The execution was moved from 
2792AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
2793immediately before the SLP_EN bit is set, as per the ACPI specification. 
2794Luming Yu, BZ 1653.
2795
2796Implemented a fix to disable unknown GPEs (2nd version). Now always disable 
2797the GPE, even if ACPICA thinks that that it is already disabled. It is 
2798possible that the AML or some other code has enabled the GPE unbeknownst to 
2799the ACPICA code.
2800
2801Fixed a problem with the Field operator where zero-length fields would return 
2802an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
2803field declarations in Field(), BankField(), and IndexField(). BZ 10606.
2804
2805Implemented a fix for the Load operator, now load the table at the namespace 
2806root. This reverts a change introduced in version 20071019. The table is now 
2807loaded at the namespace root even though this goes against the ACPI 
2808specification. This provides compatibility with other ACPI implementations. 
2809The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
2810
2811Fixed a problem where ACPICA would not Load() tables with unusual signatures. 
2812Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
2813acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
2814Therefore, signature validation is worthless. Apparently MS ACPI accepts such 
2815signatures, ACPICA must be compatible. BZ 10454.
2816
2817Fixed a possible negative array index in AcpiUtValidateException. Added NULL 
2818fields to the exception string arrays to eliminate a -1 subtraction on the 
2819SubStatus field.
2820
2821Updated the debug tracking macros to reduce overall code and data size. 
2822Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
2823instead of pointers to static strings. Jan Beulich and Bob Moore.
2824
2825Implemented argument count checking in control method invocation via 
2826AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
2827many. This applies only to extern programmatic control method execution, not 
2828method-to-method calls within the AML. Lin Ming.
2829
2830Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
2831longer needed, especially with the removal of 16-bit support. It was replaced 
2832mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
283332/64-bit platforms is required.
2834
2835Added the C const qualifier for appropriate string constants -- mostly 
2836MODULE_NAME and printf format strings. Jan Beulich.
2837
2838Example Code and Data Size: These are the sizes for the OS-independent 
2839acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2840debug version of the code includes the debug output trace mechanism and has a 
2841much larger code and data size.
2842
2843  Previous Release:
2844    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2845    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2846  Current Release:
2847    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2848    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2849
28502) iASL Compiler/Disassembler and Tools:
2851
2852Implemented ACPI table revision ID validation in the disassembler. Zero is 
2853always invalid. For DSDTs, the ID controls the interpreter integer width. 1 
2854means 32-bit and this is unusual. 2 or greater is 64-bit.
2855
2856----------------------------------------
285721 March 2008. Summary of changes for version 20080321:
2858
28591) ACPI CA Core Subsystem:
2860
2861Implemented an additional change to the GPE support in order to suppress 
2862spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
2863disable incoming GPEs that are neither enabled nor disabled -- meaning that 
2864the GPE is unknown to the system. This should prevent future interrupt floods 
2865from that GPE. BZ 6217 (Zhang Rui)
2866
2867Fixed a problem where NULL package elements were not returned to the 
2868AcpiEvaluateObject interface correctly. The element was simply ignored 
2869instead of returning a NULL ACPI_OBJECT package element, potentially causing 
2870a buffer overflow and/or confusing the caller who expected a fixed number of 
2871elements. BZ 10132 (Lin Ming, Bob Moore)
2872
2873Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
2874Qword), Field, BankField, and IndexField operators when invoked from inside 
2875an executing control method. In this case, these operators created namespace 
2876nodes that were incorrectly left marked as permanent nodes instead of 
2877temporary nodes. This could cause a problem if there is race condition 
2878between an exiting control method and a running namespace walk. (Reported by 
2879Linn Crosetto)
2880
2881Fixed a problem where the CreateField and CreateXXXField operators would 
2882incorrectly allow duplicate names (the name of the field) with no exception 
2883generated.
2884
2885Implemented several changes for Notify handling. Added support for new Notify 
2886values (ACPI 2.0+) and improved the Notify debug output. Notify on 
2887PowerResource objects is no longer allowed, as per the ACPI specification. 
2888(Bob Moore, Zhang Rui)
2889
2890All Reference Objects returned via the AcpiEvaluateObject interface are now 
2891marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
2892NULL objects - either NULL package elements or unresolved named references.
2893
2894Fixed a problem where an extraneous debug message was produced for package 
2895objects (when debugging enabled). The message "Package List length larger 
2896than NumElements count" is now produced in the correct case, and is now an 
2897error message rather than a debug message. Added a debug message for the 
2898opposite case, where NumElements is larger than the Package List (the package 
2899will be padded out with NULL elements as per the ACPI spec.)
2900
2901Implemented several improvements for the output of the ASL "Debug" object to 
2902clarify and keep all data for a given object on one output line.
2903
2904Fixed two size calculation issues with the variable-length Start Dependent 
2905resource descriptor.
2906
2907Example Code and Data Size: These are the sizes for the OS-independent 
2908acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2909debug version of the code includes the debug output trace mechanism and has 
2910a much larger code and data size.
2911
2912  Previous Release:
2913    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2914    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2915  Current Release:
2916    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2917    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2918
29192) iASL Compiler/Disassembler and Tools:
2920
2921Fixed a problem with the use of the Switch operator where execution of the 
2922containing method by multiple concurrent threads could cause an 
2923AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
2924actual Switch opcode, it must be simulated with local named temporary 
2925variables and if/else pairs. The solution chosen was to mark any method that 
2926uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
2927
2928----------------------------------------
292913 February 2008. Summary of changes for version 20080213:
2930
29311) ACPI CA Core Subsystem:
2932
2933Implemented another MS compatibility design change for GPE/Notify handling. 
2934GPEs are now cleared/enabled asynchronously to allow all pending notifies to 
2935complete first. It is expected that the OSL will queue the enable request 
2936behind all pending notify requests (may require changes to the local host OSL 
2937in AcpiOsExecute). Alexey Starikovskiy.
2938
2939Fixed a problem where buffer and package objects passed as arguments to a 
2940control method via the external AcpiEvaluateObject interface could cause an 
2941AE_AML_INTERNAL exception depending on the order and type of operators 
2942executed by the target control method.
2943
2944Fixed a problem where resource descriptor size optimization could cause a 
2945problem when a _CRS resource template is passed to a _SRS method. The _SRS 
2946resource template must use the same descriptors (with the same size) as 
2947returned from _CRS. This change affects the following resource descriptors: 
2948IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
2949
2950Fixed a problem where a CopyObject to RegionField, BankField, and IndexField 
2951objects did not perform an implicit conversion as it should. These types must 
2952retain their initial type permanently as per the ACPI specification. However, 
2953a CopyObject to all other object types should not perform an implicit 
2954conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2955
2956Fixed a problem with the AcpiGetDevices interface where the mechanism to 
2957match device CIDs did not examine the entire list of available CIDs, but 
2958instead aborted on the first non-matching CID. Andrew Patterson.
2959
2960Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
2961inadvertently changed to return a 16-bit value instead of a 32-bit value, 
2962truncating the upper dword of a 64-bit value. This macro is only used to 
2963display debug output, so no incorrect calculations were made. Also, 
2964reimplemented the macro so that a 64-bit shift is not performed by 
2965inefficient compilers.
2966
2967Added missing va_end statements that should correspond with each va_start 
2968statement.
2969
2970Example Code and Data Size: These are the sizes for the OS-independent 
2971acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2972debug version of the code includes the debug output trace mechanism and has 
2973a much larger code and data size.
2974
2975  Previous Release:
2976    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2977    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2978  Current Release:
2979    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2980    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2981
29822) iASL Compiler/Disassembler and Tools:
2983
2984Implemented full disassembler support for the following new ACPI tables: 
2985BERT, EINJ, and ERST. Implemented partial disassembler support for the 
2986complicated HEST table. These tables support the Windows Hardware Error 
2987Architecture (WHEA).
2988
2989----------------------------------------
299023 January 2008. Summary of changes for version 20080123:
2991
29921) ACPI CA Core Subsystem:
2993
2994Added the 2008 copyright to all module headers and signons. This affects 
2995virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2996the tools/utilities.
2997
2998Fixed a problem with the SizeOf operator when used with Package and Buffer 
2999objects. These objects have deferred execution for some arguments, and the 
3000execution is now completed before the SizeOf is executed. This problem caused 
3001unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
30029558
3003
3004Implemented an enhancement to the interpreter "slack mode". In the absence of 
3005an explicit return or an implicitly returned object from the last executed 
3006opcode, a control method will now implicitly return an integer of value 0 for 
3007Microsoft compatibility. (Lin Ming) BZ 392
3008
3009Fixed a problem with the Load operator where an exception was not returned in 
3010the case where the table is already loaded. (Lin Ming) BZ 463
3011
3012Implemented support for the use of DDBHandles as an Indexed Reference, as per 
3013the ACPI spec. (Lin Ming) BZ 486
3014
3015Implemented support for UserTerm (Method invocation) for the Unload operator 
3016as per the ACPI spec. (Lin Ming) BZ 580
3017
3018Fixed a problem with the LoadTable operator where the OemId and OemTableId 
3019input strings could cause unexpected failures if they were shorter than the 
3020maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
3021
3022Implemented support for UserTerm (Method invocation) for the Unload operator 
3023as per the ACPI spec. (Lin Ming) BZ 580
3024
3025Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
3026IBFT, UEFI, WDAT. Disassembler support is forthcoming.
3027
3028Example Code and Data Size: These are the sizes for the OS-independent 
3029acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3030debug version of the code includes the debug output trace mechanism and has 
3031a much larger code and data size.
3032
3033  Previous Release:
3034    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3035    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3036  Current Release:
3037    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
3038    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
3039
30402) iASL Compiler/Disassembler and Tools:
3041
3042Implemented support in the disassembler for checksum validation on incoming 
3043binary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
3044header dump at the start of the disassembly.
3045
3046Implemented additional debugging information in the namespace listing file 
3047created during compilation. In addition to the namespace hierarchy, the full 
3048pathname to each namespace object is displayed.
3049
3050Fixed a problem with the disassembler where invalid ACPI tables could cause 
3051faults or infinite loops.
3052
3053Fixed an unexpected parse error when using the optional "parameter types" 
3054list in a control method declaration. (Lin Ming) BZ 397
3055
3056Fixed a problem where two External declarations with the same name did not 
3057cause an error (Lin Ming) BZ 509
3058
3059Implemented support for full TermArgs (adding Argx, Localx and method 
3060invocation) for the ParameterData parameter to the LoadTable operator. (Lin 
3061Ming) BZ 583,587
3062
3063----------------------------------------
306419 December 2007. Summary of changes for version 20071219:
3065
30661) ACPI CA Core Subsystem:
3067
3068Implemented full support for deferred execution for the TermArg string 
3069arguments for DataTableRegion. This enables forward references and full 
3070operand resolution for the three string arguments. Similar to OperationRegion 
3071deferred argument execution.) Lin Ming. BZ 430
3072
3073Implemented full argument resolution support for the BankValue argument to 
3074BankField. Previously, only constants were supported, now any TermArg may be 
3075used. Lin Ming BZ 387, 393
3076
3077Fixed a problem with AcpiGetDevices where the search of a branch of the 
3078device tree could be terminated prematurely. In accordance with the ACPI 
3079specification, the search down the current branch is terminated if a device 
3080is both not present and not functional (instead of just not present.) Yakui 
3081Zhao.
3082
3083Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
3084the underlying AML code changed the GPE enable registers. Now, any unknown 
3085incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
3086instead of simply ignored. Rui Zhang.
3087
3088Fixed a problem with Index Fields where the Index register was incorrectly 
3089limited to a maximum of 32 bits. Now any size may be used.
3090
3091Fixed a couple memory leaks associated with "implicit return" objects when 
3092the AML Interpreter slack mode is enabled. Lin Ming BZ 349
3093
3094Example Code and Data Size: These are the sizes for the OS-independent 
3095acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3096debug version of the code includes the debug output trace mechanism and has 
3097a much larger code and data size.
3098
3099  Previous Release:
3100    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3101    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3102  Current Release:
3103    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3104    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3105
3106----------------------------------------
310714 November 2007. Summary of changes for version 20071114:
3108
31091) ACPI CA Core Subsystem:
3110
3111Implemented event counters for each of the Fixed Events, the ACPI SCI 
3112(interrupt) itself, and control methods executed. Named 
3113AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
3114should be useful for debugging and statistics.
3115
3116Implemented a new external interface, AcpiGetStatistics, to retrieve the 
3117contents of the various event counters. Returns the current values for 
3118AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
3119AcpiMethodCount. The interface can be expanded in the future if new counters 
3120are added. Device drivers should use this interface rather than access the 
3121counters directly.
3122
3123Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
3124the ShortDivide function worked incorrectly, causing problems with the BCD 
3125functions with large input values. A truncation from 64-bit to 32-bit 
3126inadvertently occurred. Internal BZ 435. Lin Ming
3127
3128Fixed a problem with Index references passed as method arguments. References 
3129passed as arguments to control methods were dereferenced immediately (before 
3130control was passed to the called method). The references are now correctly 
3131passed directly to the called method. BZ 5389. Lin Ming
3132
3133Fixed a problem with CopyObject used in conjunction with the Index operator. 
3134The reference was incorrectly dereferenced before the copy. The reference is 
3135now correctly copied. BZ 5391. Lin Ming
3136
3137Fixed a problem with Control Method references within Package objects. These 
3138references are now correctly generated. This completes the package 
3139construction overhaul that began in version 20071019.
3140
3141Example Code and Data Size: These are the sizes for the OS-independent 
3142acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3143debug version of the code includes the debug output trace mechanism and has 
3144a much larger code and data size.
3145
3146  Previous Release:
3147    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3148    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3149  Current Release:
3150    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3151    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3152
3153
31542) iASL Compiler/Disassembler and Tools:
3155
3156The AcpiExec utility now installs handlers for all of the predefined 
3157Operation Region types. New types supported are: PCI_Config, CMOS, and 
3158PCIBARTarget.
3159
3160Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
3161bit) address fields for the DSDT and FACS within the FADT were not being 
3162used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
3163and Bob Moore
3164
3165----------------------------------------
316619 October 2007. Summary of changes for version 20071019:
3167
31681) ACPI CA Core Subsystem:
3169
3170Fixed a problem with the Alias operator when the target of the alias is a 
3171named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
3172Processor, and ThermalZone. In these cases, any children of the original 
3173operator could not be accessed via the alias, potentially causing unexpected 
3174AE_NOT_FOUND exceptions. (BZ 9067)
3175
3176Fixed a problem with the Package operator where all named references were 
3177created as object references and left otherwise unresolved. According to the 
3178ACPI specification, a Package can only contain Data Objects or references to 
3179control methods. The implication is that named references to Data Objects 
3180(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
3181immediately upon package creation. This is the approach taken with this 
3182change. References to all other named objects (Methods, Devices, Scopes, 
3183etc.) are all now properly created as reference objects. (BZ 5328)
3184
3185Reverted a change to Notify handling that was introduced in version 
318620070508. This version changed the Notify handling from asynchronous to 
3187fully synchronous (Device driver Notify handling with respect to the Notify 
3188ASL operator). It was found that this change caused more problems than it 
3189solved and was removed by most users.
3190
3191Fixed a problem with the Increment and Decrement operators where the type of 
3192the target object could be unexpectedly and incorrectly changed. (BZ 353) 
3193Lin Ming.
3194
3195Fixed a problem with the Load and LoadTable operators where the table 
3196location within the namespace was ignored. Instead, the table was always 
3197loaded into the root or current scope. Lin Ming.
3198
3199Fixed a problem with the Load operator when loading a table from a buffer 
3200object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
3201
3202Fixed a problem with the Debug object where a store of a DdbHandle reference 
3203object to the Debug object could cause a fault.
3204
3205Added a table checksum verification for the Load operator, in the case where 
3206the load is from a buffer. (BZ 578).
3207
3208Implemented additional parameter validation for the LoadTable operator. The 
3209length of the input strings SignatureString, OemIdString, and OemTableId are 
3210now checked for maximum lengths. (BZ 582) Lin Ming.
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.5K Code, 17.1K Data,  95.6K Total
3219    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3220  Current Release:
3221    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3222    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3223
3224
32252) iASL Compiler/Disassembler:
3226
3227Fixed a problem where if a single file was specified and the file did not 
3228exist, no error message was emitted. (Introduced with wildcard support in 
3229version 20070917.)
3230
3231----------------------------------------
323219 September 2007. Summary of changes for version 20070919:
3233
32341) ACPI CA Core Subsystem:
3235
3236Designed and implemented new external interfaces to install and remove 
3237handlers for ACPI table-related events. Current events that are defined are 
3238LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
3239they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
3240AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
3241
3242Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
3243(acpi_serialized option on Linux) could cause some systems to hang during 
3244initialization. (Bob Moore) BZ 8171
3245
3246Fixed a problem where objects of certain types (Device, ThermalZone, 
3247Processor, PowerResource) can be not found if they are declared and 
3248referenced from within the same control method (Lin Ming) BZ 341
3249
3250Example Code and Data Size: These are the sizes for the OS-independent 
3251acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3252debug version of the code includes the debug output trace mechanism and has 
3253a much larger code and data size.
3254
3255  Previous Release:
3256    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3257    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3258  Current Release:
3259    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3260    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3261
3262
32632) iASL Compiler/Disassembler:
3264
3265Implemented support to allow multiple files to be compiled/disassembled in a 
3266single invocation. This includes command line wildcard support for both the 
3267Windows and Unix versions of the compiler. This feature simplifies the 
3268disassembly and compilation of multiple ACPI tables in a single directory.
3269
3270----------------------------------------
327108 May 2007. Summary of changes for version 20070508:
3272
32731) ACPI CA Core Subsystem:
3274
3275Implemented a Microsoft compatibility design change for the handling of the 
3276Notify AML operator. Previously, notify handlers were dispatched and 
3277executed completely asynchronously in a deferred thread. The new design 
3278still executes the notify handlers in a different thread, but the original 
3279thread that executed the Notify() now waits at a synchronization point for 
3280the notify handler to complete. Some machines depend on a synchronous Notify 
3281operator in order to operate correctly.
3282
3283Implemented support to allow Package objects to be passed as method 
3284arguments to the external AcpiEvaluateObject interface. Previously, this 
3285would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
3286implemented since there were no reserved control methods that required it 
3287until recently.
3288
3289Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
3290contained invalid non-zero values in reserved fields could cause later 
3291failures because these fields have meaning in later revisions of the FADT. 
3292For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
3293are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
3294
3295Fixed a problem where the Global Lock handle was not properly updated if a 
3296thread that acquired the Global Lock via executing AML code then attempted 
3297to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
3298Liu.
3299
3300Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
3301could be corrupted if the interrupt being removed was at the head of the 
3302list. Reported by Linn Crosetto.
3303
3304Example Code and Data Size: These are the sizes for the OS-independent 
3305acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3306debug version of the code includes the debug output trace mechanism and has 
3307a much larger code and data size.
3308
3309  Previous Release:
3310    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3311    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3312  Current Release:
3313    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3314    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3315
3316----------------------------------------
331720 March 2007. Summary of changes for version 20070320:
3318
33191) ACPI CA Core Subsystem:
3320
3321Implemented a change to the order of interpretation and evaluation of AML 
3322operand objects within the AML interpreter. The interpreter now evaluates 
3323operands in the order that they appear in the AML stream (and the 
3324corresponding ASL code), instead of in the reverse order (after the entire 
3325operand list has been parsed). The previous behavior caused several subtle 
3326incompatibilities with the Microsoft AML interpreter as well as being 
3327somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
3328
3329Implemented a change to the ACPI Global Lock support. All interfaces to the 
3330global lock now allow the same thread to acquire the lock multiple times. 
3331This affects the AcpiAcquireGlobalLock external interface to the global lock 
3332as well as the internal use of the global lock to support AML fields -- a 
3333control method that is holding the global lock can now simultaneously access 
3334AML fields that require global lock protection. Previously, in both cases, 
3335this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
3336AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
3337Controller. There is no change to the behavior of the AML Acquire operator, 
3338as this can already be used to acquire a mutex multiple times by the same 
3339thread. BZ 8066. With assistance from Alexey Starikovskiy.
3340
3341Fixed a problem where invalid objects could be referenced in the AML 
3342Interpreter after error conditions. During operand evaluation, ensure that 
3343the internal "Return Object" field is cleared on error and only valid 
3344pointers are stored there. Caused occasional access to deleted objects that 
3345resulted in "large reference count" warning messages. Valery Podrezov.
3346
3347Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
3348deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
3349Podrezov.
3350
3351Fixed an internal problem with the handling of result objects on the 
3352interpreter result stack. BZ 7872. Valery Podrezov.
3353
3354Removed obsolete code that handled the case where AML_NAME_OP is the target 
3355of a reference (Reference.Opcode). This code was no longer necessary. BZ 
33567874. Valery Podrezov.
3357
3358Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
3359remnant from the previously discontinued 16-bit support.
3360
3361Example Code and Data Size: These are the sizes for the OS-independent 
3362acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3363debug version of the code includes the debug output trace mechanism and has 
3364a much larger code and data size.
3365
3366  Previous Release:
3367    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3368    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3369  Current Release:
3370    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3371    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3372
3373----------------------------------------
337426 January 2007. Summary of changes for version 20070126:
3375
33761) ACPI CA Core Subsystem:
3377
3378Added the 2007 copyright to all module headers and signons. This affects 
3379virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3380the utilities.
3381
3382Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
3383during a table load. A bad pointer was passed in the case where the DSDT is 
3384overridden, causing a fault in this case.
3385
3386Example Code and Data Size: These are the sizes for the OS-independent 
3387acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3388debug version of the code includes the debug output trace mechanism and has 
3389a much larger code and data size.
3390
3391  Previous Release:
3392    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3393    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3394  Current Release:
3395    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3396    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3397
3398----------------------------------------
339915 December 2006. Summary of changes for version 20061215:
3400
34011) ACPI CA Core Subsystem:
3402
3403Support for 16-bit ACPICA has been completely removed since it is no longer 
3404necessary and it clutters the code. All 16-bit macros, types, and 
3405conditional compiles have been removed, cleaning up and simplifying the code 
3406across the entire subsystem. DOS support is no longer needed since the 
3407bootable Linux firmware kit is now available.
3408
3409The handler for the Global Lock is now removed during AcpiTerminate to 
3410enable a clean subsystem restart, via the implementation of the 
3411AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
3412HP)
3413
3414Implemented enhancements to the multithreading support within the debugger 
3415to enable improved multithreading debugging and evaluation of the subsystem. 
3416(Valery Podrezov)
3417
3418Debugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
3419memory used during the execution, as well as the maximum memory consumed by 
3420each of the various object types. (Valery Podrezov)
3421
3422Example Code and Data Size: These are the sizes for the OS-independent 
3423acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3424debug version of the code includes the debug output trace mechanism and has 
3425a much larger code and data size.
3426
3427  Previous Release:
3428    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3429    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3430  Current Release:
3431    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3432    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3433
3434
34352) iASL Compiler/Disassembler and Tools:
3436
3437AcpiExec: Implemented a new option (-m) to display full memory use 
3438statistics upon subsystem/program termination. (Valery Podrezov)
3439
3440----------------------------------------
344109 November 2006. Summary of changes for version 20061109:
3442
34431) ACPI CA Core Subsystem:
3444
3445Optimized the Load ASL operator in the case where the source operand is an 
3446operation region. Simply map the operation region memory, instead of 
3447performing a bytewise read. (Region must be of type SystemMemory, see 
3448below.)
3449
3450Fixed the Load ASL operator for the case where the source operand is a 
3451region field. A buffer object is also allowed as the source operand. BZ 480
3452
3453Fixed a problem where the Load ASL operator allowed the source operand to be 
3454an operation region of any type. It is now restricted to regions of type 
3455SystemMemory, as per the ACPI specification. BZ 481
3456
3457Additional cleanup and optimizations for the new Table Manager code.
3458
3459AcpiEnable will now fail if all of the required ACPI tables are not loaded 
3460(FADT, FACS, DSDT). BZ 477
3461
3462Added #pragma pack(8/4) to acobject.h to ensure that the structures in this 
3463header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
3464manually optimized to be aligned and will not work if it is byte-packed. 
3465
3466Example Code and Data Size: These are the sizes for the OS-independent 
3467acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3468debug version of the code includes the debug output trace mechanism and has 
3469a much larger code and data size.
3470
3471  Previous Release:
3472    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3473    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3474  Current Release:
3475    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3476    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3477
3478
34792) iASL Compiler/Disassembler and Tools:
3480
3481Fixed a problem where the presence of the _OSI predefined control method 
3482within complex expressions could cause an internal compiler error.
3483
3484AcpiExec: Implemented full region support for multiple address spaces. 
3485SpaceId is now part of the REGION object. BZ 429
3486
3487----------------------------------------
348811 October 2006. Summary of changes for version 20061011:
3489
34901) ACPI CA Core Subsystem:
3491
3492Completed an AML interpreter performance enhancement for control method 
3493execution. Previously a 2-pass parse/execution, control methods are now 
3494completely parsed and executed in a single pass. This improves overall 
3495interpreter performance by ~25%, reduces code size, and reduces CPU stack 
3496use. (Valery Podrezov + interpreter changes in version 20051202 that 
3497eliminated namespace loading during the pass one parse.)
3498
3499Implemented _CID support for PCI Root Bridge detection. If the _HID does not 
3500match the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
3501obtained and also checked for an ID match.
3502
3503Implemented additional support for the PCI _ADR execution: upsearch until a 
3504device scope is found before executing _ADR. This allows PCI_Config 
3505operation regions to be declared locally within control methods underneath 
3506PCI device objects.
3507
3508Fixed a problem with a possible race condition between threads executing 
3509AcpiWalkNamespace and the AML interpreter. This condition was removed by 
3510modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
3511entries created during any concurrent control method execution. An 
3512additional namespace race condition is known to exist between 
3513AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
3514investigation.
3515
3516Restructured the AML ParseLoop function, breaking it into several 
3517subfunctions in order to reduce CPU stack use and improve maintainability. 
3518(Mikhail Kouzmich)
3519
3520AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
3521of prefix handle and pathname. BZ 478
3522
3523Example Code and Data Size: These are the sizes for the OS-independent 
3524acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3525debug version of the code includes the debug output trace mechanism and has 
3526a much larger code and data size.
3527
3528  Previous Release:
3529    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3530    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3531  Current Release:
3532    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3533    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3534
35352) iASL Compiler/Disassembler and Tools:
3536
3537Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager 
3538to restore original behavior.
3539
3540----------------------------------------
354127 September 2006. Summary of changes for version 20060927:
3542
35431) ACPI CA Core Subsystem:
3544
3545Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
3546These functions now use a spinlock for mutual exclusion and the interrupt 
3547level indication flag is not needed.
3548
3549Fixed a problem with the Global Lock where the lock could appear to be 
3550obtained before it is actually obtained. The global lock semaphore was 
3551inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
3552Suietov.
3553
3554Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
3555a read from a buffer or region field. (BZ 458) Fiodor Suietov.
3556
3557Example Code and Data Size: These are the sizes for the OS-independent 
3558acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3559debug version of the code includes the debug output trace mechanism and has 
3560a much larger code and data size.
3561
3562  Previous Release:
3563    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3564    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3565  Current Release:
3566    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3567    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3568
3569
35702) iASL Compiler/Disassembler and Tools:
3571
3572Fixed a compilation problem with the pre-defined Resource Descriptor field 
3573names where an "object does not exist" error could be incorrectly generated 
3574if the parent ResourceTemplate pathname places the template within a 
3575different namespace scope than the current scope. (BZ 7212)
3576
3577Fixed a problem where the compiler could hang after syntax errors detected 
3578in an ElseIf construct. (BZ 453)
3579
3580Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
3581operator. An incorrect output filename was produced when this parameter was 
3582a null string (""). Now, the original input filename is used as the AML 
3583output filename, with an ".aml" extension.
3584
3585Implemented a generic batch command mode for the AcpiExec utility (execute 
3586any AML debugger command) (Valery Podrezov).
3587
3588----------------------------------------
358912 September 2006. Summary of changes for version 20060912:
3590
35911) ACPI CA Core Subsystem:
3592
3593Enhanced the implementation of the "serialized mode" of the interpreter 
3594(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
3595specified, instead of creating a serialization semaphore per control method, 
3596the interpreter lock is simply no longer released before a blocking 
3597operation during control method execution. This effectively makes the AML 
3598Interpreter single-threaded. The overhead of a semaphore per-method is 
3599eliminated.
3600
3601Fixed a regression where an error was no longer emitted if a control method 
3602attempts to create 2 objects of the same name. This once again returns 
3603AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
3604will dynamically serialize the control method to possible prevent future 
3605errors. (BZ 440)
3606
3607Integrated a fix for a problem with PCI Express HID detection in the PCI 
3608Config Space setup procedure. (BZ 7145)
3609
3610Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
3611AcpiHwInitialize function - the FADT registers are now validated when the 
3612table is loaded.
3613
3614Added two new warnings during FADT verification - 1) if the FADT is larger 
3615than the largest known FADT version, and 2) if there is a mismatch between a 
361632-bit block address and the 64-bit X counterpart (when both are non-zero.)
3617
3618Example Code and Data Size: These are the sizes for the OS-independent 
3619acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3620debug version of the code includes the debug output trace mechanism and has 
3621a much larger code and data size.
3622
3623  Previous Release:
3624    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3625    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3626  Current Release:
3627    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3628    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3629
3630
36312) iASL Compiler/Disassembler and Tools:
3632
3633Fixed a problem with the implementation of the Switch() operator where the 
3634temporary variable was declared too close to the actual Switch, instead of 
3635at method level. This could cause a problem if the Switch() operator is 
3636within a while loop, causing an error on the second iteration. (BZ 460)
3637
3638Disassembler - fix for error emitted for unknown type for target of scope 
3639operator. Now, ignore it and continue.
3640
3641Disassembly of an FADT now verifies the input FADT and reports any errors 
3642found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3643
3644Disassembly of raw data buffers with byte initialization data now prefixes 
3645each output line with the current buffer offset.
3646
3647Disassembly of ASF! table now includes all variable-length data fields at 
3648the end of some of the subtables.
3649
3650The disassembler now emits a comment if a buffer appears to be a 
3651ResourceTemplate, but cannot be disassembled as such because the EndTag does 
3652not appear at the very end of the buffer.
3653
3654AcpiExec - Added the "-t" command line option to enable the serialized mode 
3655of the AML interpreter.
3656
3657----------------------------------------
365831 August 2006. Summary of changes for version 20060831:
3659
36601) ACPI CA Core Subsystem:
3661
3662Miscellaneous fixes for the Table Manager:
3663- Correctly initialize internal common FADT for all 64-bit "X" fields
3664- Fixed a couple table mapping issues during table load
3665- Fixed a couple alignment issues for IA64
3666- Initialize input array to zero in AcpiInitializeTables
3667- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
3668AcpiGetTableByIndex
3669
3670Change for GPE support: when a "wake" GPE is received, all wake GPEs are now 
3671immediately disabled to prevent the waking GPE from firing again and to 
3672prevent other wake GPEs from interrupting the wake process.
3673
3674Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
3675be used for debugging systems with a large number of ACPI interrupts.
3676
3677Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
3678both the ACPICA headers and the disassembler.
3679
3680Example Code and Data Size: These are the sizes for the OS-independent 
3681acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3682debug version of the code includes the debug output trace mechanism and has 
3683a much larger code and data size.
3684
3685  Previous Release:
3686    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3687    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3688  Current Release:
3689    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3690    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3691
3692
36932) iASL Compiler/Disassembler and Tools:
3694
3695Disassembler support for the DMAR ACPI table.
3696
3697----------------------------------------
369823 August 2006. Summary of changes for version 20060823:
3699
37001) ACPI CA Core Subsystem:
3701
3702The Table Manager component has been completely redesigned and 
3703reimplemented. The new design is much simpler, and reduces the overall code 
3704and data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
3705now possible to obtain the ACPI tables very early during kernel 
3706initialization, even before dynamic memory management is initialized. 
3707(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3708
3709Obsolete ACPICA interfaces:
3710
3711- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
3712time).
3713- AcpiLoadTable: Not needed.
3714- AcpiUnloadTable: Not needed.
3715
3716New ACPICA interfaces:
3717
3718- AcpiInitializeTables: Must be called before the table manager can be used.
3719- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
3720allocated memory after it becomes available.
3721- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
3722in the RSDT/XSDT.
3723
3724Other ACPICA changes:
3725
3726- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
3727AcpiOsUnmapMemory to free this mapping.
3728- AcpiGetTable returns the actual mapped table. The mapping is managed 
3729internally and must not be deleted by the caller. Use of this interface 
3730causes no additional dynamic memory allocation.
3731- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
3732it appeared to be unused.
3733- The interface to AcpiOsMapMemory has changed to be consistent with the 
3734other allocation interfaces.
3735- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
3736parameters.
3737- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
3738bit platforms. Was previously 64 bits on all platforms.
3739- The interface to the ACPI Global Lock acquire/release macros have changed 
3740slightly since ACPICA no longer keeps a local copy of the FACS with a 
3741constructed pointer to the actual global lock.
3742
3743Porting to the new table manager:
3744
3745- AcpiInitializeTables: Must be called once, and can be called anytime 
3746during the OS initialization process. It allows the host to specify an area 
3747of memory to be used to store the internal version of the RSDT/XSDT (root 
3748table). This allows the host to access ACPI tables before memory management 
3749is initialized and running.
3750- AcpiReallocateRootTable: Can be called after memory management is running 
3751to copy the root table to a dynamically allocated array, freeing up the 
3752scratch memory specified in the call to AcpiInitializeTables.
3753- AcpiSubsystemInitialize: This existing interface is independent of the 
3754Table Manager, and does not have to be called before the Table Manager can 
3755be used, it only must be called before the rest of ACPICA can be used.
3756- ACPI Tables: Some changes have been made to the names and structure of the 
3757actbl.h and actbl1.h header files and may require changes to existing code. 
3758For example, bitfields have been completely removed because of their lack of 
3759portability across C compilers.
3760- Update interfaces to the Global Lock acquire/release macros if local 
3761versions are used. (see acwin.h)
3762
3763Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
3764
3765New files: tbfind.c
3766
3767Example Code and Data Size: These are the sizes for the OS-independent 
3768acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3769debug version of the code includes the debug output trace mechanism and has 
3770a much larger code and data size.
3771
3772  Previous Release:
3773    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3774    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3775  Current Release:
3776    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3777    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3778
3779
37802) iASL Compiler/Disassembler and Tools:
3781
3782No changes for this release.
3783
3784----------------------------------------
378521 July 2006. Summary of changes for version 20060721:
3786
37871) ACPI CA Core Subsystem:
3788
3789The full source code for the ASL test suite used to validate the iASL 
3790compiler and the ACPICA core subsystem is being released with the ACPICA 
3791source for the first time. The source is contained in a separate package and 
3792consists of over 1100 files that exercise all ASL/AML operators. The package 
3793should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
3794Suietov)
3795
3796Completed a new design and implementation for support of the ACPI Global 
3797Lock. On the OS side, the global lock is now treated as a standard AML 
3798mutex. Previously, multiple OS threads could "acquire" the global lock 
3799simultaneously. However, this could cause the BIOS to be starved out of the 
3800lock - especially in cases such as the Embedded Controller driver where 
3801there is a tight coupling between the OS and the BIOS.
3802
3803Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
3804The Global Lock interrupt handler no longer queues the execution of a 
3805separate thread to signal the global lock semaphore. Instead, the semaphore 
3806is signaled directly from the interrupt handler.
3807
3808Implemented support within the AML interpreter for package objects that 
3809contain a larger AML length (package list length) than the package element 
3810count. In this case, the length of the package is truncated to match the 
3811package element count. Some BIOS code apparently modifies the package length 
3812on the fly, and this change supports this behavior. Provides compatibility 
3813with the MS AML interpreter. (With assistance from Fiodor Suietov)
3814
3815Implemented a temporary fix for the BankValue parameter of a Bank Field to 
3816support all constant values, now including the Zero and One opcodes. 
3817Evaluation of this parameter must eventually be converted to a full TermArg 
3818evaluation. A not-implemented error is now returned (temporarily) for non-
3819constant values for this parameter.
3820
3821Fixed problem reports (Fiodor Suietov) integrated:
3822- Fix for premature object deletion after CopyObject on Operation Region (BZ 
3823350)
3824
3825Example Code and Data Size: These are the sizes for the OS-independent 
3826acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3827debug version of the code includes the debug output trace mechanism and has 
3828a much larger code and data size.
3829
3830  Previous Release:
3831    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
3832    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
3833  Current Release:
3834    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3835    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3836
3837
38382) iASL Compiler/Disassembler and Tools:
3839
3840No changes for this release.
3841
3842----------------------------------------
384307 July 2006. Summary of changes for version 20060707:
3844
38451) ACPI CA Core Subsystem:
3846
3847Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
3848that do not allow the initialization of address pointers within packed 
3849structures - even though the hardware itself may support misaligned 
3850transfers. Some of the debug data structures are packed by default to 
3851minimize size.
3852
3853Added an error message for the case where AcpiOsGetThreadId() returns zero. 
3854A non-zero value is required by the core ACPICA code to ensure the proper 
3855operation of AML mutexes and recursive control methods.
3856
3857The DSDT is now the only ACPI table that determines whether the AML 
3858interpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
3859the hooks for per-table 32/64 switching have been removed from the code. A 
3860clarification to the ACPI specification is forthcoming in ACPI 3.0B.
3861
3862Fixed a possible leak of an OwnerID in the error path of 
3863AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
3864deletion to a single place in AcpiTbUninstallTable to correct possible leaks 
3865when using the AcpiTbDeleteTablesByType interface (with assistance from 
3866Lance Ortiz.)
3867
3868Fixed a problem with Serialized control methods where the semaphore 
3869associated with the method could be over-signaled after multiple method 
3870invocations.
3871
3872Fixed two issues with the locking of the internal namespace data structure. 
3873Both the Unload() operator and AcpiUnloadTable interface now lock the 
3874namespace during the namespace deletion associated with the table unload 
3875(with assistance from Linn Crosetto.)
3876
3877Fixed problem reports (Valery Podrezov) integrated:
3878- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
3879
3880Fixed problem reports (Fiodor Suietov) integrated:
3881- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
3882- On Address Space handler deletion, needless deactivation call (BZ 374)
3883- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
3884- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
3885(BZ 376)
3886- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
3887- Minimum Length of RSDT should be validated (BZ 379)
3888- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
3889Handler (BZ (380)
3890- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
3891(BZ 381)
3892
3893Example Code and Data Size: These are the sizes for the OS-independent 
3894acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3895debug version of the code includes the debug output trace mechanism and has 
3896a much larger code and data size.
3897
3898  Previous Release:
3899    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3900    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3901  Current Release:
3902    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3903    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3904
3905
39062) iASL Compiler/Disassembler and Tools:
3907
3908Fixed problem reports:
3909Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
3910436)
3911
3912----------------------------------------
391323 June 2006. Summary of changes for version 20060623:
3914
39151) ACPI CA Core Subsystem:
3916
3917Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
3918allows the type to be customized to the host OS for improved efficiency 
3919(since a spinlock is usually a very small object.)
3920
3921Implemented support for "ignored" bits in the ACPI registers. According to 
3922the ACPI specification, these bits should be preserved when writing the 
3923registers via a read/modify/write cycle. There are 3 bits preserved in this 
3924manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
3925
3926Implemented the initial deployment of new OSL mutex interfaces. Since some 
3927host operating systems have separate mutex and semaphore objects, this 
3928feature was requested. The base code now uses mutexes (and the new mutex 
3929interfaces) wherever a binary semaphore was used previously. However, for 
3930the current release, the mutex interfaces are defined as macros to map them 
3931to the existing semaphore interfaces. Therefore, no OSL changes are required 
3932at this time. (See acpiosxf.h)
3933
3934Fixed several problems with the support for the control method SyncLevel 
3935parameter. The SyncLevel now works according to the ACPI specification and 
3936in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
3937is a property of the executing thread. Mutual exclusion for control methods 
3938is now implemented with a mutex instead of a semaphore.
3939
3940Fixed three instances of the use of the C shift operator in the bitfield 
3941support code (exfldio.c) to avoid the use of a shift value larger than the 
3942target data width. The behavior of C compilers is undefined in this case and 
3943can cause unpredictable results, and therefore the case must be detected and 
3944avoided. (Fiodor Suietov)
3945
3946Added an info message whenever an SSDT or OEM table is loaded dynamically 
3947via the Load() or LoadTable() ASL operators. This should improve debugging 
3948capability since it will show exactly what tables have been loaded (beyond 
3949the tables present in the RSDT/XSDT.)
3950
3951Example Code and Data Size: These are the sizes for the OS-independent 
3952acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3953debug version of the code includes the debug output trace mechanism and has 
3954a much larger code and data size.
3955
3956  Previous Release:
3957    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3958    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3959  Current Release:
3960    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3961    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3962
3963
39642) iASL Compiler/Disassembler and Tools:
3965
3966No changes for this release.
3967
3968----------------------------------------
396908 June 2006. Summary of changes for version 20060608:
3970
39711) ACPI CA Core Subsystem:
3972
3973Converted the locking mutex used for the ACPI hardware to a spinlock. This 
3974change should eliminate all problems caused by attempting to acquire a 
3975semaphore at interrupt level, and it means that all ACPICA external 
3976interfaces that directly access the ACPI hardware can be safely called from 
3977interrupt level. OSL code that implements the semaphore interfaces should be 
3978able to eliminate any workarounds for being called at interrupt level.
3979
3980Fixed a regression introduced in 20060526 where the ACPI device 
3981initialization could be prematurely aborted with an AE_NOT_FOUND if a device 
3982did not have an optional _INI method.
3983
3984Fixed an IndexField issue where a write to the Data Register should be 
3985limited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
3986Fiodor Suietov)
3987
3988Fixed problem reports (Valery Podrezov) integrated:
3989- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
3990
3991Fixed problem reports (Fiodor Suietov) integrated:
3992- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
3993
3994Removed four global mutexes that were obsolete and were no longer being 
3995used.
3996
3997Example Code and Data Size: These are the sizes for the OS-independent 
3998acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3999debug version of the code includes the debug output trace mechanism and has 
4000a much larger code and data size.
4001
4002  Previous Release:
4003    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4004    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4005  Current Release:
4006    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
4007    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
4008
4009
40102) iASL Compiler/Disassembler and Tools:
4011
4012Fixed a fault when using -g option (get tables from registry) on Windows 
4013machines.
4014
4015Fixed problem reports integrated:
4016- Generate error if CreateField NumBits parameter is zero. (BZ 405)
4017- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
4018Suietov)
4019- Global table revision override (-r) is ignored (BZ 413)
4020
4021----------------------------------------
402226 May 2006. Summary of changes for version 20060526:
4023
40241) ACPI CA Core Subsystem:
4025
4026Restructured, flattened, and simplified the internal interfaces for 
4027namespace object evaluation - resulting in smaller code, less CPU stack use, 
4028and fewer interfaces. (With assistance from Mikhail Kouzmich)
4029
4030Fixed a problem with the CopyObject operator where the first parameter was 
4031not typed correctly for the parser, interpreter, compiler, and disassembler. 
4032Caused various errors and unexpected behavior.
4033
4034Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
4035produced incorrect results with some C compilers. Since the behavior of C 
4036compilers when the shift value is larger than the datatype width is 
4037apparently not well defined, the interpreter now detects this condition and 
4038simply returns zero as expected in all such cases. (BZ 395)
4039
4040Fixed problem reports (Valery Podrezov) integrated:
4041- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
4042- Allow interpreter to handle nested method declarations (BZ 5361)
4043
4044Fixed problem reports (Fiodor Suietov) integrated:
4045- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
4046- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
4047- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
4048- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
4049- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
4050- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
4051- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
4052- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
4053- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
4054- Status of the Global Initialization Handler call not used (BZ 366)
4055- Incorrect object parameter to Global Initialization Handler (BZ 367)
4056
4057Example Code and Data Size: These are the sizes for the OS-independent 
4058acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4059debug version of the code includes the debug output trace mechanism and has 
4060a much larger code and data size.
4061
4062  Previous Release:
4063    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4064    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4065  Current Release:
4066    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4067    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4068
4069
40702) iASL Compiler/Disassembler and Tools:
4071
4072Modified the parser to allow the names IO, DMA, and IRQ to be used as 
4073namespace identifiers with no collision with existing resource descriptor 
4074macro names. This provides compatibility with other ASL compilers and is 
4075most useful for disassembly/recompilation of existing tables without parse 
4076errors. (With assistance from Thomas Renninger)
4077
4078Disassembler: fixed an incorrect disassembly problem with the 
4079DataTableRegion and CopyObject operators. Fixed a possible fault during 
4080disassembly of some Alias operators.
4081
4082----------------------------------------
408312 May 2006. Summary of changes for version 20060512:
4084
40851) ACPI CA Core Subsystem:
4086
4087Replaced the AcpiOsQueueForExecution interface with a new interface named 
4088AcpiOsExecute. The major difference is that the new interface does not have 
4089a Priority parameter, this appeared to be useless and has been replaced by a 
4090Type parameter. The Type tells the host what type of execution is being 
4091requested, such as global lock handler, notify handler, GPE handler, etc. 
4092This allows the host to queue and execute the request as appropriate for the 
4093request type, possibly using different work queues and different priorities 
4094for the various request types. This enables fixes for multithreading 
4095deadlock problems such as BZ #5534, and will require changes to all existing 
4096OS interface layers. (Alexey Starikovskiy and Bob Moore)
4097
4098Fixed a possible memory leak associated with the support for the so-called 
4099"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
4100Suietov)
4101
4102Fixed a problem with the Load() operator where a table load from an 
4103operation region could overwrite an internal table buffer by up to 7 bytes 
4104and cause alignment faults on IPF systems. (With assistance from Luming Yu)
4105
4106Example Code and Data Size: These are the sizes for the OS-independent 
4107acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4108debug version of the code includes the debug output trace mechanism and has 
4109a much larger code and data size.
4110
4111  Previous Release:
4112    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4113    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4114  Current Release:
4115    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4116    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4117
4118
4119
41202) iASL Compiler/Disassembler and Tools:
4121
4122Disassembler: Implemented support to cross reference the internal namespace 
4123and automatically generate ASL External() statements for symbols not defined 
4124within the current table being disassembled. This will simplify the 
4125disassembly and recompilation of interdependent tables such as SSDTs since 
4126these statements will no longer have to be added manually.
4127
4128Disassembler: Implemented experimental support to automatically detect 
4129invocations of external control methods and generate appropriate External() 
4130statements. This is problematic because the AML cannot be correctly parsed 
4131until the number of arguments for each control method is known. Currently, 
4132standalone method invocations and invocations as the source operand of a 
4133Store() statement are supported.
4134
4135Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
4136LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
4137LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
4138more readable and likely closer to the original ASL source.
4139
4140----------------------------------------
414121 April 2006. Summary of changes for version 20060421:
4142
41431) ACPI CA Core Subsystem:
4144
4145Removed a device initialization optimization introduced in 20051216 where 
4146the _STA method was not run unless an _INI was also present for the same 
4147device. This optimization could cause problems because it could allow _INI 
4148methods to be run within a not-present device subtree. (If a not-present 
4149device had no _INI, _STA would not be run, the not-present status would not 
4150be discovered, and the children of the device would be incorrectly 
4151traversed.)
4152
4153Implemented a new _STA optimization where namespace subtrees that do not 
4154contain _INI are identified and ignored during device initialization. 
4155Selectively running _STA can significantly improve boot time on large 
4156machines (with assistance from Len Brown.)
4157
4158Implemented support for the device initialization case where the returned 
4159_STA flags indicate a device not-present but functioning. In this case, _INI 
4160is not run, but the device children are examined for presence, as per the 
4161ACPI specification.
4162
4163Implemented an additional change to the IndexField support in order to 
4164conform to MS behavior. The value written to the Index Register is not 
4165simply a byte offset, it is a byte offset in units of the access width of 
4166the parent Index Field. (Fiodor Suietov)
4167
4168Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
4169interface is called during the creation of all AML operation regions, and 
4170allows the host OS to exert control over what addresses it will allow the 
4171AML code to access. Operation Regions whose addresses are disallowed will 
4172cause a runtime exception when they are actually accessed (will not affect 
4173or abort table loading.) See oswinxf or osunixxf for an example 
4174implementation.
4175
4176Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
4177interface allows the host OS to match the various "optional" 
4178interface/behavior strings for the _OSI predefined control method as 
4179appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
4180for an example implementation.
4181
4182Restructured and corrected various problems in the exception handling code 
4183paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
4184(with assistance from Takayoshi Kochi.)
4185
4186Modified the Linux source converter to ignore quoted string literals while 
4187converting identifiers from mixed to lower case. This will correct problems 
4188with the disassembler and other areas where such strings must not be 
4189modified.
4190
4191The ACPI_FUNCTION_* macros no longer require quotes around the function 
4192name. This allows the Linux source converter to convert the names, now that 
4193the converter ignores quoted strings.
4194
4195Example Code and Data Size: These are the sizes for the OS-independent 
4196acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4197debug version of the code includes the debug output trace mechanism and has 
4198a much larger code and data size.
4199
4200  Previous Release:
4201
4202    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4203    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4204  Current Release:
4205    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4206    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4207
4208
42092) iASL Compiler/Disassembler and Tools:
4210
4211Implemented 3 new warnings for iASL, and implemented multiple warning levels 
4212(w2 flag).
4213
42141) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
4215WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
4216check for the possible timeout, a warning is issued.
4217
42182) Useless operators: If an ASL operator does not specify an optional target 
4219operand and it also does not use the function return value from the 
4220operator, a warning is issued since the operator effectively does nothing.
4221
42223) Unreferenced objects: If a namespace object is created, but never 
4223referenced, a warning is issued. This is a warning level 2 since there are 
4224cases where this is ok, such as when a secondary table is loaded that uses 
4225the unreferenced objects. Even so, care is taken to only flag objects that 
4226don't look like they will ever be used. For example, the reserved methods 
4227(starting with an underscore) are usually not referenced because it is 
4228expected that the OS will invoke them.
4229
4230----------------------------------------
423131 March 2006. Summary of changes for version 20060331:
4232
42331) ACPI CA Core Subsystem:
4234
4235Implemented header file support for the following additional ACPI tables: 
4236ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
4237all current and known ACPI tables are now defined in the ACPICA headers and 
4238are available for use by device drivers and other software.
4239
4240Implemented support to allow tables that contain ACPI names with invalid 
4241characters to be loaded. Previously, this would cause the table load to 
4242fail, but since there are several known cases of such tables on existing 
4243machines, this change was made to enable ACPI support for them. Also, this 
4244matches the behavior of the Microsoft ACPI implementation.
4245
4246Fixed a couple regressions introduced during the memory optimization in the 
424720060317 release. The namespace node definition required additional 
4248reorganization and an internal datatype that had been changed to 8-bit was 
4249restored to 32-bit. (Valery Podrezov)
4250
4251Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
4252could be passed through to AcpiOsReleaseObject which is unexpected. Such 
4253null pointers are now trapped and ignored, matching the behavior of the 
4254previous implementation before the deployment of AcpiOsReleaseObject.
4255(Valery Podrezov, Fiodor Suietov)
4256
4257Fixed a memory mapping leak during the deletion of a SystemMemory operation 
4258region where a cached memory mapping was not deleted. This became a 
4259noticeable problem for operation regions that are defined within frequently 
4260used control methods. (Dana Meyers)
4261
4262Reorganized the ACPI table header files into two main files: one for the 
4263ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
4264ACPI tables that are consumed by the drivers and other software. The various 
4265FADT definitions were merged into one common section and three different 
4266tables (ACPI 1.0, 1.0+, and 2.0)
4267
4268Example Code and Data Size: These are the sizes for the OS-independent 
4269acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4270debug version of the code includes the debug output trace mechanism and has 
4271a much larger code and data size.
4272
4273  Previous Release:
4274    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4275    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4276  Current Release:
4277    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4278    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4279
4280
42812) iASL Compiler/Disassembler and Tools:
4282
4283Disassembler: Implemented support to decode and format all non-AML ACPI 
4284tables (tables other than DSDTs and SSDTs.) This includes the new tables 
4285added to the ACPICA headers, therefore all current and known ACPI tables are 
4286supported.
4287
4288Disassembler: The change to allow ACPI names with invalid characters also 
4289enables the disassembly of such tables. Invalid characters within names are 
4290changed to '*' to make the name printable; the iASL compiler will still 
4291generate an error for such names, however, since this is an invalid ACPI 
4292character.
4293
4294Implemented an option for AcpiXtract (-a) to extract all tables found in the 
4295input file. The default invocation extracts only the DSDTs and SSDTs.
4296
4297Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
4298makefile for the AcpiXtract utility.
4299
4300----------------------------------------
430117 March 2006. Summary of changes for version 20060317:
4302
43031) ACPI CA Core Subsystem:
4304
4305Implemented the use of a cache object for all internal namespace nodes. 
4306Since there are about 1000 static nodes in a typical system, this will 
4307decrease memory use for cache implementations that minimize per-allocation 
4308overhead (such as a slab allocator.)
4309
4310Removed the reference count mechanism for internal namespace nodes, since it 
4311was deemed unnecessary. This reduces the size of each namespace node by 
4312about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
4313and 32 bytes for the 64-bit case.
4314
4315Optimized several internal data structures to reduce object size on 64-bit 
4316platforms by packing data within the 64-bit alignment. This includes the 
4317frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
4318instances corresponding to the namespace objects.
4319
4320Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
4321and "Windows 2006".
4322
4323Split the allocation tracking mechanism out to a separate file, from 
4324utalloc.c to uttrack.c. This mechanism appears to be only useful for 
4325application-level code. Kernels may wish to not include uttrack.c in 
4326distributions.
4327
4328Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated 
4329code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
4330macros.)
4331
4332Code and Data Size: These are the sizes for the acpica.lib produced by the 
4333Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4334driver or OSPM code. The debug version of the code includes the debug output 
4335trace mechanism and has a much larger code and data size. Note that these 
4336values will vary depending on the efficiency of the compiler and the 
4337compiler options used during generation.
4338
4339  Previous Release:
4340    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4341    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4342  Current Release:
4343    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4344    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4345
4346
43472) iASL Compiler/Disassembler and Tools:
4348
4349Implemented an ANSI C version of the acpixtract utility. This version will 
4350automatically extract the DSDT and all SSDTs from the input acpidump text 
4351file and dump the binary output to separate files. It can also display a 
4352summary of the input file including the headers for each table found and 
4353will extract any single ACPI table, with any signature. (See 
4354source/tools/acpixtract)
4355
4356----------------------------------------
435710 March 2006. Summary of changes for version 20060310:
4358
43591) ACPI CA Core Subsystem:
4360
4361Tagged all external interfaces to the subsystem with the new 
4362ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
4363kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
4364macro. The default definition is NULL.
4365
4366Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
4367This allows the host to define this as necessary to simplify kernel 
4368integration. The default definition is ACPI_NATIVE_UINT.
4369
4370Fixed two interpreter problems related to error processing, the deletion of 
4371objects, and placing invalid pointers onto the internal operator result 
4372stack. BZ 6028, 6151 (Valery Podrezov)
4373
4374Increased the reference count threshold where a warning is emitted for large 
4375reference counts in order to eliminate unnecessary warnings on systems with 
4376large namespaces (especially 64-bit.) Increased the value from 0x400 to 
43770x800.
4378
4379Due to universal disagreement as to the meaning of the 'c' in the calloc() 
4380function, the ACPI_MEM_CALLOCATE macro has been renamed to 
4381ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
4382ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
4383ACPI_FREE.
4384
4385Code and Data Size: These are the sizes for the acpica.lib produced by the 
4386Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4387driver or OSPM code. The debug version of the code includes the debug output 
4388trace mechanism and has a much larger code and data size. Note that these 
4389values will vary depending on the efficiency of the compiler and the 
4390compiler options used during generation.
4391
4392  Previous Release:
4393    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4394    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4395  Current Release:
4396    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4397    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4398
4399
44002) iASL Compiler/Disassembler:
4401
4402Disassembler: implemented support for symbolic resource descriptor 
4403references. If a CreateXxxxField operator references a fixed offset within a 
4404resource descriptor, a name is assigned to the descriptor and the offset is 
4405translated to the appropriate resource tag and pathname. The addition of 
4406this support brings the disassembled code very close to the original ASL 
4407source code and helps eliminate run-time errors when the disassembled code 
4408is modified (and recompiled) in such a way as to invalidate the original 
4409fixed offsets.
4410
4411Implemented support for a Descriptor Name as the last parameter to the ASL 
4412Register() macro. This parameter was inadvertently left out of the ACPI 
4413specification, and will be added for ACPI 3.0b.
4414
4415Fixed a problem where the use of the "_OSI" string (versus the full path 
4416"\_OSI") caused an internal compiler error. ("No back ptr to op")
4417
4418Fixed a problem with the error message that occurs when an invalid string is 
4419used for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
4420The correct message is now displayed.
4421
4422----------------------------------------
442317 February 2006. Summary of changes for version 20060217:
4424
44251) ACPI CA Core Subsystem:
4426
4427Implemented a change to the IndexField support to match the behavior of the 
4428Microsoft AML interpreter. The value written to the Index register is now a 
4429byte offset, no longer an index based upon the width of the Data register. 
4430This should fix IndexField problems seen on some machines where the Data 
4431register is not exactly one byte wide. The ACPI specification will be 
4432clarified on this point.
4433
4434Fixed a problem where several resource descriptor types could overrun the 
4435internal descriptor buffer due to size miscalculation: VendorShort, 
4436VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
4437affect all platforms.
4438
4439Fixed a problem where individual resource descriptors were misaligned within 
4440the internal buffer, causing alignment faults on IA64 platforms.
4441
4442Code and Data Size: These are the sizes for the acpica.lib produced by the 
4443Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4444driver or OSPM code. The debug version of the code includes the debug output 
4445trace mechanism and has a much larger code and data size. Note that these 
4446values will vary depending on the efficiency of the compiler and the 
4447compiler options used during generation.
4448
4449  Previous Release:
4450    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4451    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4452  Current Release:
4453    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4454    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4455
4456
44572) iASL Compiler/Disassembler:
4458
4459Implemented support for new reserved names: _WDG and _WED are Microsoft 
4460extensions for Windows Instrumentation Management, _TDL is a new ACPI-
4461defined method (Throttling Depth Limit.)
4462
4463Fixed a problem where a zero-length VendorShort or VendorLong resource 
4464descriptor was incorrectly emitted as a descriptor of length one.
4465
4466----------------------------------------
446710 February 2006. Summary of changes for version 20060210:
4468
44691) ACPI CA Core Subsystem:
4470
4471Removed a couple of extraneous ACPI_ERROR messages that appeared during 
4472normal execution. These became apparent after the conversion from 
4473ACPI_DEBUG_PRINT.
4474
4475Fixed a problem where the CreateField operator could hang if the BitIndex or 
4476NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4477
4478Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
4479failed with an exception. This also fixes a couple of related RefOf and 
4480DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
4481
4482Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
4483AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
44845480)
4485
4486Implemented a memory cleanup at the end of the execution of each iteration 
4487of an AML While() loop, preventing the accumulation of outstanding objects. 
4488(Valery Podrezov, BZ 5427)
4489
4490Eliminated a chunk of duplicate code in the object resolution code. (Valery 
4491Podrezov, BZ 5336)
4492
4493Fixed several warnings during the 64-bit code generation.
4494
4495The AcpiSrc source code conversion tool now inserts one line of whitespace 
4496after an if() statement that is followed immediately by a comment, improving 
4497readability of the Linux code.
4498
4499Code and Data Size: The current and previous library sizes for the core 
4500subsystem are shown below. These are the code and data sizes for the 
4501acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4502values do not include any ACPI driver or OSPM code. The debug version of the 
4503code includes the debug output trace mechanism and has a much larger code 
4504and data size. Note that these values will vary depending on the efficiency 
4505of the compiler and the compiler options used during generation.
4506
4507  Previous Release:
4508    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4509    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4510  Current Release:
4511    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4512    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4513
4514
45152) iASL Compiler/Disassembler:
4516
4517Fixed a problem with the disassembly of a BankField operator with a complex 
4518expression for the BankValue parameter.
4519
4520----------------------------------------
452127 January 2006. Summary of changes for version 20060127:
4522
45231) ACPI CA Core Subsystem:
4524
4525Implemented support in the Resource Manager to allow unresolved namestring 
4526references within resource package objects for the _PRT method. This support 
4527is in addition to the previously implemented unresolved reference support 
4528within the AML parser. If the interpreter slack mode is enabled, these 
4529unresolved references will be passed through to the caller as a NULL package 
4530entry.
4531
4532Implemented and deployed new macros and functions for error and warning 
4533messages across the subsystem. These macros are simpler and generate less 
4534code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
4535ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
4536macros remain defined to allow ACPI drivers time to migrate to the new 
4537macros.
4538
4539Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
4540Acquire/Release Lock OSL interfaces.
4541
4542Fixed a problem where Alias ASL operators are sometimes not correctly 
4543resolved, in both the interpreter and the iASL compiler.
4544
4545Fixed several problems with the implementation of the ConcatenateResTemplate 
4546ASL operator. As per the ACPI specification, zero length buffers are now 
4547treated as a single EndTag. One-length buffers always cause a fatal 
4548exception. Non-zero length buffers that do not end with a full 2-byte EndTag 
4549cause a fatal exception.
4550
4551Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
4552interface. (With assistance from Thomas Renninger)
4553
4554Code and Data Size: The current and previous library sizes for the core 
4555subsystem are shown below. These are the code and data sizes for the 
4556acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4557values do not include any ACPI driver or OSPM code. The debug version of the 
4558code includes the debug output trace mechanism and has a much larger code 
4559and data size. Note that these values will vary depending on the efficiency 
4560of the compiler and the compiler options used during generation.
4561
4562  Previous Release:
4563    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4564    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4565  Current Release:
4566    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4567    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4568
4569
45702) iASL Compiler/Disassembler:
4571
4572Fixed an internal error that was generated for any forward references to ASL 
4573Alias objects.
4574
4575----------------------------------------
457613 January 2006. Summary of changes for version 20060113:
4577
45781) ACPI CA Core Subsystem:
4579
4580Added 2006 copyright to all module headers and signons. This affects 
4581virtually every file in the ACPICA core subsystem, iASL compiler, and the 
4582utilities.
4583 
4584Enhanced the ACPICA error reporting in order to simplify user migration to 
4585the non-debug version of ACPICA. Replaced all instances of the 
4586ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
4587levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
4588respectively. This preserves all error and warning messages in the non-debug 
4589version of the ACPICA code (this has been referred to as the "debug lite" 
4590option.) Over 200 cases were converted to create a total of over 380 
4591error/warning messages across the ACPICA code. This increases the code and 
4592data size of the default non-debug version of the code somewhat (about 13K), 
4593but all error/warning reporting may be disabled if desired (and code 
4594eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
4595configuration option. The size of the debug version of ACPICA remains about 
4596the same.
4597
4598Fixed a memory leak within the AML Debugger "Set" command. One object was 
4599not properly deleted for every successful invocation of the command.
4600
4601Code and Data Size: The current and previous library sizes for the core 
4602subsystem are shown below. These are the code and data sizes for the 
4603acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4604values do not include any ACPI driver or OSPM code. The debug version of the 
4605code includes the debug output trace mechanism and has a much larger code 
4606and data size. Note that these values will vary depending on the efficiency 
4607of the compiler and the compiler options used during generation.
4608
4609  Previous Release:
4610    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4611    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4612  Current Release:
4613    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4614    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4615
4616
46172) iASL Compiler/Disassembler:
4618
4619The compiler now officially supports the ACPI 3.0a specification that was 
4620released on December 30, 2005. (Specification is available at www.acpi.info)
4621
4622----------------------------------------
462316 December 2005. Summary of changes for version 20051216:
4624
46251) ACPI CA Core Subsystem:
4626
4627Implemented optional support to allow unresolved names within ASL Package 
4628objects. A null object is inserted in the package when a named reference 
4629cannot be located in the current namespace. Enabled via the interpreter 
4630slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
4631that contain such code.
4632
4633Implemented an optimization to the initialization sequence that can improve 
4634boot time. During ACPI device initialization, the _STA method is now run if 
4635and only if the _INI method exists. The _STA method is used to determine if 
4636the device is present; An _INI can only be run if _STA returns present, but 
4637it is a waste of time to run the _STA method if the _INI does not exist. 
4638(Prototype and assistance from Dong Wei)
4639
4640Implemented use of the C99 uintptr_t for the pointer casting macros if it is 
4641available in the current compiler. Otherwise, the default (void *) cast is 
4642used as before.
4643
4644Fixed some possible memory leaks found within the execution path of the 
4645Break, Continue, If, and CreateField operators. (Valery Podrezov)
4646
4647Fixed a problem introduced in the 20051202 release where an exception is 
4648generated during method execution if a control method attempts to declare 
4649another method.
4650
4651Moved resource descriptor string constants that are used by both the AML 
4652disassembler and AML debugger to the common utilities directory so that 
4653these components are independent.
4654
4655Implemented support in the AcpiExec utility (-e switch) to globally ignore 
4656exceptions during control method execution (method is not aborted.)
4657
4658Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
4659generation.
4660
4661Code and Data Size: The current and previous library sizes for the core 
4662subsystem are shown below. These are the code and data sizes for the 
4663acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4664values do not include any ACPI driver or OSPM code. The debug version of the 
4665code includes the debug output trace mechanism and has a much larger code 
4666and data size. Note that these values will vary depending on the efficiency 
4667of the compiler and the compiler options used during generation.
4668
4669  Previous Release:
4670    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4671    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4672  Current Release:
4673    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4674    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4675
4676
46772) iASL Compiler/Disassembler:
4678
4679Fixed a problem where a CPU stack overflow fault could occur if a recursive 
4680method call was made from within a Return statement.
4681
4682----------------------------------------
468302 December 2005. Summary of changes for version 20051202:
4684
46851) ACPI CA Core Subsystem:
4686
4687Modified the parsing of control methods to no longer create namespace 
4688objects during the first pass of the parse. Objects are now created only 
4689during the execute phase, at the moment the namespace creation operator is 
4690encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
4691should eliminate ALREADY_EXISTS exceptions seen on some machines where 
4692reentrant control methods are protected by an AML mutex. The mutex will now 
4693correctly block multiple threads from attempting to create the same object 
4694more than once.
4695
4696Increased the number of available Owner Ids for namespace object tracking 
4697from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
4698some machines with a large number of ACPI tables (either static or dynamic).
4699
4700Fixed a problem with the AcpiExec utility where a fault could occur when the 
4701-b switch (batch mode) is used.
4702
4703Enhanced the namespace dump routine to output the owner ID for each 
4704namespace object.
4705
4706Code and Data Size: The current and previous library sizes for the core 
4707subsystem are shown below. These are the code and data sizes for the 
4708acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4709values do not include any ACPI driver or OSPM code. The debug version of the 
4710code includes the debug output trace mechanism and has a much larger code 
4711and data size. Note that these values will vary depending on the efficiency 
4712of the compiler and the compiler options used during generation.
4713
4714  Previous Release:
4715    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4716    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4717  Current Release:
4718    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4719    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4720
4721
47222) iASL Compiler/Disassembler:
4723
4724Fixed a parse error during compilation of certain Switch/Case constructs. To 
4725simplify the parse, the grammar now allows for multiple Default statements 
4726and this error is now detected and flagged during the analysis phase.
4727
4728Disassembler: The disassembly now includes the contents of the original 
4729table header within a comment at the start of the file. This includes the 
4730name and version of the original ASL compiler.
4731
4732----------------------------------------
473317 November 2005. Summary of changes for version 20051117:
4734
47351) ACPI CA Core Subsystem:
4736
4737Fixed a problem in the AML parser where the method thread count could be 
4738decremented below zero if any errors occurred during the method parse phase. 
4739This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
4740This also fixed a related regression with the mechanism that detects and 
4741corrects methods that cannot properly handle reentrancy (related to the 
4742deployment of the new OwnerId mechanism.)
4743
4744Eliminated the pre-parsing of control methods (to detect errors) during 
4745table load. Related to the problem above, this was causing unwind issues if 
4746any errors occurred during the parse, and it seemed to be overkill. A table 
4747load should not be aborted if there are problems with any single control 
4748method, thus rendering this feature rather pointless.
4749
4750Fixed a problem with the new table-driven resource manager where an internal 
4751buffer overflow could occur for small resource templates.
4752
4753Implemented a new external interface, AcpiGetVendorResource. This interface 
4754will find and return a vendor-defined resource descriptor within a _CRS or 
4755_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
4756
4757Removed the length limit (200) on string objects as per the upcoming ACPI 
47583.0A specification. This affects the following areas of the interpreter: 1) 
4759any implicit conversion of a Buffer to a String, 2) a String object result 
4760of the ASL Concatentate operator, 3) the String object result of the ASL 
4761ToString operator.
4762
4763Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
4764on a semaphore object would incorrectly timeout. This allows the 
4765multithreading features of the AcpiExec utility to work properly under 
4766Windows.
4767
4768Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
4769the recently added file named "utresrc.c".
4770
4771Code and Data Size: The current and previous library sizes for the core 
4772subsystem are shown below. These are the code and data sizes for the 
4773acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4774values do not include any ACPI driver or OSPM code. The debug version of the 
4775code includes the debug output trace mechanism and has a much larger code 
4776and data size. Note that these values will vary depending on the efficiency 
4777of the compiler and the compiler options used during generation.
4778
4779  Previous Release:
4780    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4781    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4782  Current Release:
4783    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4784    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4785
4786
47872) iASL Compiler/Disassembler:
4788
4789Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
4790specification. For the iASL compiler, this means that string literals within 
4791the source ASL can be of any length. 
4792
4793Enhanced the listing output to dump the AML code for resource descriptors 
4794immediately after the ASL code for each descriptor, instead of in a block at 
4795the end of the entire resource template.
4796
4797Enhanced the compiler debug output to dump the entire original parse tree 
4798constructed during the parse phase, before any transforms are applied to the 
4799tree. The transformed tree is dumped also.
4800
4801----------------------------------------
480202 November 2005. Summary of changes for version 20051102:
4803
48041) ACPI CA Core Subsystem:
4805
4806Modified the subsystem initialization sequence to improve GPE support. The 
4807GPE initialization has been split into two parts in order to defer execution 
4808of the _PRW methods (Power Resources for Wake) until after the hardware is 
4809fully initialized and the SCI handler is installed. This allows the _PRW 
4810methods to access fields protected by the Global Lock. This will fix systems 
4811where a NO_GLOBAL_LOCK exception has been seen during initialization.
4812
4813Converted the ACPI internal object disassemble and display code within the 
4814AML debugger to fully table-driven operation, reducing code size and 
4815increasing maintainability.
4816
4817Fixed a regression with the ConcatenateResTemplate() ASL operator introduced 
4818in the 20051021 release.
4819
4820Implemented support for "local" internal ACPI object types within the 
4821debugger "Object" command and the AcpiWalkNamespace external interfaces. 
4822These local types include RegionFields, BankFields, IndexFields, Alias, and 
4823reference objects.
4824
4825Moved common AML resource handling code into a new file, "utresrc.c". This 
4826code is shared by both the Resource Manager and the AML Debugger.
4827
4828Code and Data Size: The current and previous library sizes for the core 
4829subsystem are shown below. These are the code and data sizes for the 
4830acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4831values do not include any ACPI driver or OSPM code. The debug version of the 
4832code includes the debug output trace mechanism and has a much larger code 
4833and data size. Note that these values will vary depending on the efficiency 
4834of the compiler and the compiler options used during generation.
4835
4836  Previous Release:
4837    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4838    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4839  Current Release:
4840    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4841    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4842
4843
48442) iASL Compiler/Disassembler:
4845
4846Fixed a problem with very large initializer lists (more than 4000 elements) 
4847for both Buffer and Package objects where the parse stack could overflow.
4848
4849Enhanced the pre-compile source code scan for non-ASCII characters to ignore 
4850characters within comment fields. The scan is now always performed and is no 
4851longer optional, detecting invalid characters within a source file 
4852immediately rather than during the parse phase or later.
4853
4854Enhanced the ASL grammar definition to force early reductions on all list-
4855style grammar elements so that the overall parse stack usage is greatly 
4856reduced. This should improve performance and reduce the possibility of parse 
4857stack overflow.
4858
4859Eliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
4860with the addition of a %expected statement, the compiler generates from 
4861source with no warnings.
4862
4863Fixed a possible segment fault in the disassembler if the input filename 
4864does not contain a "dot" extension (Thomas Renninger).
4865
4866----------------------------------------
486721 October 2005. Summary of changes for version 20051021:
4868
48691) ACPI CA Core Subsystem:
4870
4871Implemented support for the EM64T and other x86-64 processors. This 
4872essentially entails recognizing that these processors support non-aligned 
4873memory transfers. Previously, all 64-bit processors were assumed to lack 
4874hardware support for non-aligned transfers.
4875
4876Completed conversion of the Resource Manager to nearly full table-driven 
4877operation. Specifically, the resource conversion code (convert AML to 
4878internal format and the reverse) and the debug code to dump internal 
4879resource descriptors are fully table-driven, reducing code and data size and 
4880improving maintainability.
4881
4882The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
4883on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
4884Alexey Starikovskiy)
4885
4886Implemented support within the resource conversion code for the Type-
4887Specific byte within the various ACPI 3.0 *WordSpace macros.
4888
4889Fixed some issues within the resource conversion code for the type-specific 
4890flags for both Memory and I/O address resource descriptors. For Memory, 
4891implemented support for the MTP and TTP flags. For I/O, split the TRS and 
4892TTP flags into two separate fields.
4893
4894Code and Data Size: The current and previous library sizes for the core 
4895subsystem are shown below. These are the code and data sizes for the 
4896acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4897values do not include any ACPI driver or OSPM code. The debug version of the 
4898code includes the debug output trace mechanism and has a much larger code 
4899and data size. Note that these values will vary depending on the efficiency 
4900of the compiler and the compiler options used during generation.
4901
4902  Previous Release:
4903    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4904    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4905  Current Release:
4906    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4907    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4908
4909
4910
49112) iASL Compiler/Disassembler:
4912
4913Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
4914corresponding ResourceSource string was not also present in a resource 
4915descriptor declaration. This restriction caused problems with existing 
4916AML/ASL code that includes the Index byte without the string. When such AML 
4917was disassembled, it could not be compiled without modification. Further, 
4918the modified code created a resource template with a different size than the 
4919original, breaking code that used fixed offsets into the resource template 
4920buffer.
4921
4922Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
4923byte. This byte is now emitted if present so that the exact AML can be 
4924reproduced when the disassembled code is recompiled.
4925
4926Improved comments and text alignment for the resource descriptor code 
4927emitted by the disassembler.
4928
4929Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
4930Register() resource descriptor.
4931
4932----------------------------------------
493330 September 2005. Summary of changes for version 20050930:
4934
49351) ACPI CA Core Subsystem:
4936
4937Completed a major overhaul of the Resource Manager code - specifically, 
4938optimizations in the area of the AML/internal resource conversion code. The 
4939code has been optimized to simplify and eliminate duplicated code, CPU stack 
4940use has been decreased by optimizing function parameters and local 
4941variables, and naming conventions across the manager have been standardized 
4942for clarity and ease of maintenance (this includes function, parameter, 
4943variable, and struct/typedef names.) The update may force changes in some 
4944driver code, depending on how resources are handled by the host OS.
4945
4946All Resource Manager dispatch and information tables have been moved to a 
4947single location for clarity and ease of maintenance. One new file was 
4948created, named "rsinfo.c".
4949
4950The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
4951guarantee that the argument is not evaluated twice, making them less prone 
4952to macro side-effects. However, since there exists the possibility of 
4953additional stack use if a particular compiler cannot optimize them (such as 
4954in the debug generation case), the original macros are optionally available.  
4955Note that some invocations of the return_VALUE macro may now cause size 
4956mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
4957eliminate these. (From Randy Dunlap)
4958
4959Implemented a new mechanism to enable debug tracing for individual control 
4960methods. A new external interface, AcpiDebugTrace, is provided to enable 
4961this mechanism. The intent is to allow the host OS to easily enable and 
4962disable tracing for problematic control methods. This interface can be 
4963easily exposed to a user or debugger interface if desired. See the file 
4964psxface.c for details.
4965
4966AcpiUtCallocate will now return a valid pointer if a length of zero is 
4967specified - a length of one is used and a warning is issued. This matches 
4968the behavior of AcpiUtAllocate.
4969
4970Code and Data Size: The current and previous library sizes for the core 
4971subsystem are shown below. These are the code and data sizes for the 
4972acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4973values do not include any ACPI driver or OSPM code. The debug version of the 
4974code includes the debug output trace mechanism and has a much larger code 
4975and data size. Note that these values will vary depending on the efficiency 
4976of the compiler and the compiler options used during generation.
4977
4978  Previous Release:
4979    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4980    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4981  Current Release:
4982    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4983    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4984
4985
49862) iASL Compiler/Disassembler:
4987
4988A remark is issued if the effective compile-time length of a package or 
4989buffer is zero. Previously, this was a warning.
4990
4991----------------------------------------
499216 September 2005. Summary of changes for version 20050916:
4993
49941) ACPI CA Core Subsystem:
4995
4996Fixed a problem within the Resource Manager where support for the Generic 
4997Register descriptor was not fully implemented. This descriptor is now fully 
4998recognized, parsed, disassembled, and displayed.
4999
5000Completely restructured the Resource Manager code to utilize table-driven 
5001dispatch and lookup, eliminating many of the large switch() statements. This 
5002reduces overall subsystem code size and code complexity. Affects the 
5003resource parsing and construction, disassembly, and debug dump output.
5004
5005Cleaned up and restructured the debug dump output for all resource 
5006descriptors. Improved readability of the output and reduced code size.
5007
5008Fixed a problem where changes to internal data structures caused the 
5009optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
5010
5011Code and Data Size: The current and previous library sizes for the core 
5012subsystem are shown below. These are the code and data sizes for the 
5013acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5014values do not include any ACPI driver or OSPM code. The debug version of the 
5015code includes the debug output trace mechanism and has a much larger code 
5016and data size. Note that these values will vary depending on the efficiency 
5017of the compiler and the compiler options used during generation.
5018
5019  Previous Release:
5020    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5021    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5022  Current Release:
5023    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
5024    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
5025
5026
50272) iASL Compiler/Disassembler:
5028
5029Updated the disassembler to automatically insert an EndDependentFn() macro 
5030into the ASL stream if this macro is missing in the original AML code, 
5031simplifying compilation of the resulting ASL module.
5032
5033Fixed a problem in the disassembler where a disassembled ResourceSource 
5034string (within a large resource descriptor) was not surrounded by quotes and 
5035not followed by a comma, causing errors when the resulting ASL module was 
5036compiled. Also, escape sequences within a ResourceSource string are now 
5037handled correctly (especially "\\")
5038
5039----------------------------------------
504002 September 2005. Summary of changes for version 20050902:
5041
50421) ACPI CA Core Subsystem:
5043
5044Fixed a problem with the internal Owner ID allocation and deallocation 
5045mechanisms for control method execution and recursive method invocation. 
5046This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
5047messages seen on some systems. Recursive method invocation depth is 
5048currently limited to 255. (Alexey Starikovskiy)
5049
5050Completely eliminated all vestiges of support for the "module-level 
5051executable code" until this support is fully implemented and debugged. This 
5052should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
5053some systems that invoke this support.
5054
5055Fixed a problem within the resource manager code where the transaction flags 
5056for a 64-bit address descriptor were handled incorrectly in the type-
5057specific flag byte.
5058
5059Consolidated duplicate code within the address descriptor resource manager 
5060code, reducing overall subsystem code size.
5061
5062Fixed a fault when using the AML debugger "disassemble" command to 
5063disassemble individual control methods.
5064
5065Removed references to the "release_current" directory within the Unix 
5066release package.
5067
5068Code and Data Size: The current and previous core subsystem library sizes 
5069are shown below. These are the code and data sizes for the acpica.lib 
5070produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
5071include any ACPI driver or OSPM code. The debug version of the code includes 
5072the debug output trace mechanism and has a much larger code and data size. 
5073Note that these values will vary depending on the efficiency of the compiler 
5074and the compiler options used during generation.
5075
5076  Previous Release:
5077    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5078    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5079  Current Release:
5080    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5081    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5082
5083
50842) iASL Compiler/Disassembler:
5085
5086Implemented an error check for illegal duplicate values in the interrupt and 
5087dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
5088Interrupt().
5089
5090Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
5091too many values in the interrupt list (16 max) and invalid values in the 
5092list (range 0 - 15)
5093
5094The maximum length string literal within an ASL file is now restricted to 
5095200 characters as per the ACPI specification.
5096
5097Fixed a fault when using the -ln option (generate namespace listing).
5098
5099Implemented an error check to determine if a DescriptorName within a 
5100resource descriptor has already been used within the current scope.
5101
5102----------------------------------------
510315 August 2005.  Summary of changes for version 20050815:
5104 
51051) ACPI CA Core Subsystem:
5106 
5107Implemented a full bytewise compare to determine if a table load request is 
5108attempting to load a duplicate table. The compare is performed if the table 
5109signatures and table lengths match. This will allow different tables with 
5110the same OEM Table ID and revision to be loaded - probably against the ACPI 
5111specification, but discovered in the field nonetheless.
5112 
5113Added the changes.txt logfile to each of the zipped release packages.
5114 
5115Code and Data Size: Current and previous core subsystem library sizes are 
5116shown below. These are the code and data sizes for the acpica.lib produced 
5117by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5118any ACPI driver or OSPM code. The debug version of the code includes the 
5119debug output trace mechanism and has a much larger code and data size. Note 
5120that these values will vary depending on the efficiency of the compiler and 
5121the compiler options used during generation.
5122 
5123  Previous Release:
5124    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5125    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5126  Current Release:
5127    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5128    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5129 
5130 
51312) iASL Compiler/Disassembler:
5132 
5133Fixed a problem where incorrect AML code could be generated for Package 
5134objects if optimization is disabled (via the -oa switch).
5135 
5136Fixed a problem with where incorrect AML code is generated for variable-
5137length packages when the package length is not specified and the number of 
5138initializer values is greater than 255.
5139 
5140
5141----------------------------------------
514229 July 2005.  Summary of changes for version 20050729:
5143
51441) ACPI CA Core Subsystem:
5145
5146Implemented support to ignore an attempt to install/load a particular ACPI 
5147table more than once. Apparently there exists BIOS code that repeatedly 
5148attempts to load the same SSDT upon certain events. With assistance from 
5149Venkatesh Pallipadi.
5150
5151Restructured the main interface to the AML parser in order to correctly 
5152handle all exceptional conditions. This will prevent leakage of the OwnerId 
5153resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
5154machines. With assistance from Alexey Starikovskiy.
5155
5156Support for "module level code" has been disabled in this version due to a 
5157number of issues that have appeared on various machines. The support can be 
5158enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
5159compilation. When the issues are fully resolved, the code will be enabled by 
5160default again.
5161
5162Modified the internal functions for debug print support to define the 
5163FunctionName parameter as a (const char *) for compatibility with compiler 
5164built-in macros such as __FUNCTION__, etc.
5165
5166Linted the entire ACPICA source tree for both 32-bit and 64-bit.
5167
5168Implemented support to display an object count summary for the AML Debugger 
5169commands Object and Methods.
5170
5171Code and Data Size: Current and previous core subsystem library sizes are 
5172shown below. These are the code and data sizes for the acpica.lib produced 
5173by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5174any ACPI driver or OSPM code. The debug version of the code includes the 
5175debug output trace mechanism and has a much larger code and data size. Note 
5176that these values will vary depending on the efficiency of the compiler and 
5177the compiler options used during generation.
5178
5179  Previous Release:
5180    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5181    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5182  Current Release:
5183    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5184    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5185
5186
51872) iASL Compiler/Disassembler:
5188
5189Fixed a regression that appeared in the 20050708 version of the compiler 
5190where an error message was inadvertently emitted for invocations of the _OSI 
5191reserved control method.
5192
5193----------------------------------------
519408 July 2005.  Summary of changes for version 20050708:
5195
51961) ACPI CA Core Subsystem:
5197
5198The use of the CPU stack in the debug version of the subsystem has been 
5199considerably reduced. Previously, a debug structure was declared in every 
5200function that used the debug macros. This structure has been removed in 
5201favor of declaring the individual elements as parameters to the debug 
5202functions. This reduces the cumulative stack use during nested execution of 
5203ACPI function calls at the cost of a small increase in the code size of the 
5204debug version of the subsystem. With assistance from Alexey Starikovskiy and 
5205Len Brown.
5206
5207Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
5208headers to define a macro that will return the current function name at 
5209runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
5210the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
5211compiler-dependent header, the function name is saved on the CPU stack (one 
5212pointer per function.) This mechanism is used because apparently there 
5213exists no standard ANSI-C defined macro that that returns the function name.
5214
5215Redesigned and reimplemented the "Owner ID" mechanism used to track 
5216namespace objects created/deleted by ACPI tables and control method 
5217execution. A bitmap is now used to allocate and free the IDs, thus solving 
5218the wraparound problem present in the previous implementation. The size of 
5219the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
5220Starikovskiy).
5221
5222Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
5223flag definitions within the headers for the predefined ACPI tables. These 
5224have been replaced by UINT8_BIT in order to increase the code portability of 
5225the subsystem. If the use of UINT8 remains a problem, we may be forced to 
5226eliminate bitfields entirely because of a lack of portability.
5227
5228Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
5229is a frequently used function and this improvement increases the performance 
5230of the entire subsystem (Alexey Starikovskiy).
5231
5232Fixed several possible memory leaks and the inverse - premature object 
5233deletion (Alexey Starikovskiy).
5234
5235Code and Data Size: Current and previous core subsystem library sizes are 
5236shown below. These are the code and data sizes for the acpica.lib produced 
5237by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5238any ACPI driver or OSPM code. The debug version of the code includes the 
5239debug output trace mechanism and has a much larger code and data size. Note 
5240that these values will vary depending on the efficiency of the compiler and 
5241the compiler options used during generation.
5242
5243  Previous Release:
5244    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5245    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5246  Current Release:
5247    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5248    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5249
5250----------------------------------------
525124 June 2005.  Summary of changes for version 20050624:
5252
52531) ACPI CA Core Subsystem:
5254
5255Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
5256the host-defined cache object. This allows the OSL implementation to define 
5257and type this object in any manner desired, simplifying the OSL 
5258implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
5259Linux, and should be defined in the OS-specific header file for other 
5260operating systems as required.
5261
5262Changed the interface to AcpiOsAcquireObject to directly return the 
5263requested object as the function return (instead of ACPI_STATUS.) This 
5264change was made for performance reasons, since this is the purpose of the 
5265interface in the first place. AcpiOsAcquireObject is now similar to the 
5266AcpiOsAllocate interface.
5267
5268Implemented a new AML debugger command named Businfo. This command displays 
5269information about all devices that have an associate _PRT object. The _ADR, 
5270_HID, _UID, and _CID are displayed for these devices.
5271
5272Modified the initialization sequence in AcpiInitializeSubsystem to call the 
5273OSL interface AcpiOslInitialize first, before any local initialization. This 
5274change was required because the global initialization now calls OSL 
5275interfaces.
5276
5277Enhanced the Dump command to display the entire contents of Package objects 
5278(including all sub-objects and their values.) 
5279
5280Restructured the code base to split some files because of size and/or 
5281because the code logically belonged in a separate file. New files are listed 
5282below. All makefiles and project files included in the ACPI CA release have 
5283been updated.
5284    utilities/utcache.c           /* Local cache interfaces */
5285    utilities/utmutex.c           /* Local mutex support */
5286    utilities/utstate.c           /* State object support */
5287    interpreter/parser/psloop.c   /* Main AML parse loop */
5288
5289Code and Data Size: Current and previous core subsystem library sizes are 
5290shown below. These are the code and data sizes for the acpica.lib produced 
5291by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5292any ACPI driver or OSPM code. The debug version of the code includes the 
5293debug output trace mechanism and has a much larger code and data size. Note 
5294that these values will vary depending on the efficiency of the compiler and 
5295the compiler options used during generation.
5296
5297  Previous Release:
5298    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5299    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5300  Current Release:
5301    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5302    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5303
5304
53052) iASL Compiler/Disassembler:
5306
5307Fixed a regression introduced in version 20050513 where the use of a Package 
5308object within a Case() statement caused a compile time exception. The 
5309original behavior has been restored (a Match() operator is emitted.)
5310
5311----------------------------------------
531217 June 2005.  Summary of changes for version 20050617:
5313
53141) ACPI CA Core Subsystem:
5315
5316Moved the object cache operations into the OS interface layer (OSL) to allow 
5317the host OS to handle these operations if desired (for example, the Linux 
5318OSL will invoke the slab allocator). This support is optional; the compile 
5319time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
5320code in the ACPI CA core. The new OSL interfaces are shown below. See 
5321utalloc.c for an example implementation, and acpiosxf.h for the exact 
5322interface definitions. With assistance from Alexey Starikovskiy.
5323    AcpiOsCreateCache
5324    AcpiOsDeleteCache
5325    AcpiOsPurgeCache
5326    AcpiOsAcquireObject
5327    AcpiOsReleaseObject
5328
5329Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
5330and restore a flags parameter. This fits better with many OS lock models. 
5331Note: the current execution state (interrupt handler or not) is no longer 
5332passed to these interfaces. If necessary, the OSL must determine this state 
5333by itself, a simple and fast operation. With assistance from Alexey 
5334Starikovskiy.
5335
5336Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
5337present if the revision of the RSDP was 2 or greater. According to the ACPI 
5338specification, the XSDT is optional in all cases, and the table manager 
5339therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
5340Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
5341only the RSDT.
5342
5343Fixed an interpreter problem with the Mid() operator in the case of an input 
5344string where the resulting output string is of zero length. It now correctly 
5345returns a valid, null terminated string object instead of a string object 
5346with a null pointer.
5347
5348Fixed a problem with the control method argument handling to allow a store 
5349to an Arg object that already contains an object of type Device. The Device 
5350object is now correctly overwritten. Previously, an error was returned.
5351
5352
5353Enhanced the debugger Find command to emit object values in addition to the 
5354found object pathnames. The output format is the same as the dump namespace 
5355command.
5356
5357Enhanced the debugger Set command. It now has the ability to set the value 
5358of any Named integer object in the namespace (Previously, only method locals 
5359and args could be set.)
5360
5361Code and Data Size: Current and previous core subsystem library sizes are 
5362shown below. These are the code and data sizes for the acpica.lib produced 
5363by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5364any ACPI driver or OSPM code. The debug version of the code includes the 
5365debug output trace mechanism and has a much larger code and data size. Note 
5366that these values will vary depending on the efficiency of the compiler and 
5367the compiler options used during generation.
5368
5369  Previous Release:
5370    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5371    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5372  Current Release:
5373    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5374    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5375
5376
53772) iASL Compiler/Disassembler:
5378
5379Fixed a regression in the disassembler where if/else/while constructs were 
5380output incorrectly. This problem was introduced in the previous release 
5381(20050526). This problem also affected the single-step disassembly in the 
5382debugger.
5383
5384Fixed a problem where compiling the reserved _OSI method would randomly (but 
5385rarely) produce compile errors.
5386
5387Enhanced the disassembler to emit compilable code in the face of incorrect 
5388AML resource descriptors. If the optional ResourceSourceIndex is present, 
5389but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
5390disassembly. Otherwise, the resulting code cannot be compiled without 
5391errors.
5392
5393----------------------------------------
539426 May 2005.  Summary of changes for version 20050526:
5395
53961) ACPI CA Core Subsystem:
5397
5398Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
5399the module level (not within a control method.) These opcodes are executed 
5400exactly once at the time the table is loaded. This type of code was legal up 
5401until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
5402order to provide backwards compatibility with earlier BIOS implementations. 
5403This eliminates the "Encountered executable code at module level" warning 
5404that was previously generated upon detection of such code.
5405
5406Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
5407inadvertently be generated during the lookup of namespace objects in the 
5408second pass parse of ACPI tables and control methods. It appears that this 
5409problem could occur during the resolution of forward references to namespace 
5410objects.
5411
5412Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
5413corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
5414allows the deadlock detection debug code to be compiled out in the normal 
5415case, improving mutex performance (and overall subsystem performance) 
5416considerably.
5417
5418Implemented a handful of miscellaneous fixes for possible memory leaks on 
5419error conditions and error handling control paths. These fixes were 
5420suggested by FreeBSD and the Coverity Prevent source code analysis tool.
5421
5422Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
5423to prevent a fault in this error case.
5424
5425Code and Data Size: Current and previous core subsystem library sizes are 
5426shown below. These are the code and data sizes for the acpica.lib produced 
5427by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5428any ACPI driver or OSPM code. The debug version of the code includes the 
5429debug output trace mechanism and has a much larger code and data size. Note 
5430that these values will vary depending on the efficiency of the compiler and 
5431the compiler options used during generation.
5432
5433  Previous Release:
5434    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5435    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5436  Current Release:
5437    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5438    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5439
5440
54412) iASL Compiler/Disassembler:
5442
5443Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
5444the module level (not within a control method.) These operators will be 
5445executed once at the time the table is loaded. This type of code was legal 
5446up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
5447compiler in order to provide backwards compatibility with earlier BIOS ASL 
5448code.
5449
5450The ACPI integer width (specified via the table revision ID or the -r 
5451override, 32 or 64 bits) is now used internally during compile-time constant 
5452folding to ensure that constants are truncated to 32 bits if necessary. 
5453Previously, the revision ID value was only emitted in the AML table header.
5454
5455An error message is now generated for the Mutex and Method operators if the 
5456SyncLevel parameter is outside the legal range of 0 through 15.
5457
5458Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
54593.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
5460The actual underlying implementation of method argument typechecking is 
5461still under development, however.
5462
5463----------------------------------------
546413 May 2005.  Summary of changes for version 20050513:
5465
54661) ACPI CA Core Subsystem:
5467
5468Implemented support for PCI Express root bridges -- added support for device 
5469PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
5470
5471The interpreter now automatically truncates incoming 64-bit constants to 32 
5472bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
5473also affects the iASL compiler constant folding. (Note: as per below, the 
5474iASL compiler no longer allows 64-bit constants within 32-bit tables.)
5475
5476Fixed a problem where string and buffer objects with "static" pointers 
5477(pointers to initialization data within an ACPI table) were not handled 
5478consistently. The internal object copy operation now always copies the data 
5479to a newly allocated buffer, regardless of whether the source object is 
5480static or not.
5481
5482Fixed a problem with the FromBCD operator where an implicit result 
5483conversion was improperly performed while storing the result to the target 
5484operand. Since this is an "explicit conversion" operator, the implicit 
5485conversion should never be performed on the output.
5486
5487Fixed a problem with the CopyObject operator where a copy to an existing 
5488named object did not always completely overwrite the existing object stored 
5489at name. Specifically, a buffer-to-buffer copy did not delete the existing 
5490buffer.
5491
5492Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
5493structs for consistency.
5494
5495Code and Data Size: Current and previous core subsystem library sizes are 
5496shown below. These are the code and data sizes for the acpica.lib produced 
5497by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5498any ACPI driver or OSPM code. The debug version of the code includes the 
5499debug output trace mechanism and has a much larger code and data size. Note 
5500that these values will vary depending on the efficiency of the compiler and 
5501the compiler options used during generation.
5502
5503  Previous Release:
5504    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5505    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5506  Current Release: (Same sizes)
5507    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5508    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5509
5510
55112) iASL Compiler/Disassembler:
5512
5513The compiler now emits a warning if an attempt is made to generate a 64-bit 
5514integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
5515is truncated to 32 bits.
5516
5517Fixed a problem with large package objects: if the static length of the 
5518package is greater than 255, the "variable length package" opcode is 
5519emitted. Previously, this caused an error. This requires an update to the 
5520ACPI spec, since it currently (incorrectly) states that packages larger than 
5521255 elements are not allowed.
5522
5523The disassembler now correctly handles variable length packages and packages 
5524larger than 255 elements.
5525
5526----------------------------------------
552708 April 2005.  Summary of changes for version 20050408:
5528
55291) ACPI CA Core Subsystem:
5530
5531Fixed three cases in the interpreter where an "index" argument to an ASL 
5532function was still (internally) 32 bits instead of the required 64 bits. 
5533This was the Index argument to the Index, Mid, and Match operators.
5534
5535The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
5536not a POSIX-defined function and not present in most kernel-level C 
5537libraries. All references to the C library strupr function have been removed 
5538from the headers.
5539
5540Completed the deployment of static functions/prototypes. All prototypes with 
5541the static attribute have been moved from the headers to the owning C file.
5542
5543Implemented an extract option (-e) for the AcpiBin utility (AML binary 
5544utility). This option allows the utility to extract individual ACPI tables 
5545from the output of AcpiDmp. It provides the same functionality of the 
5546acpixtract.pl perl script without the worry of setting the correct perl 
5547options. AcpiBin runs on Windows and has not yet been generated/validated in 
5548the Linux/Unix environment (but should be soon).
5549 
5550Updated and fixed the table dump option for AcpiBin (-d). This option 
5551converts a single ACPI table to a hex/ascii file, similar to the output of 
5552AcpiDmp.
5553
5554Code and Data Size: Current and previous core subsystem library sizes are 
5555shown below. These are the code and data sizes for the acpica.lib produced 
5556by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5557any ACPI driver or OSPM code. The debug version of the code includes the 
5558debug output trace mechanism and has a much larger code and data size. Note 
5559that these values will vary depending on the efficiency of the compiler and 
5560the compiler options used during generation.
5561
5562  Previous Release:
5563    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5564    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5565  Current Release:
5566    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5567    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5568
5569
55702) iASL Compiler/Disassembler:
5571
5572Disassembler fix: Added a check to ensure that the table length found in the 
5573ACPI table header within the input file is not longer than the actual input 
5574file size. This indicates some kind of file or table corruption.
5575
5576----------------------------------------
557729 March 2005.  Summary of changes for version 20050329:
5578
55791) ACPI CA Core Subsystem:
5580
5581An error is now generated if an attempt is made to create a Buffer Field of 
5582length zero (A CreateField with a length operand of zero.)
5583
5584The interpreter now issues a warning whenever executable code at the module 
5585level is detected during ACPI table load. This will give some idea of the 
5586prevalence of this type of code.
5587
5588Implemented support for references to named objects (other than control 
5589methods) within package objects.
5590
5591Enhanced package object output for the debug object. Package objects are now 
5592completely dumped, showing all elements.
5593
5594Enhanced miscellaneous object output for the debug object. Any object can 
5595now be written to the debug object (for example, a device object can be 
5596written, and the type of the object will be displayed.)
5597
5598The "static" qualifier has been added to all local functions across both the 
5599core subsystem and the iASL compiler.
5600
5601The number of "long" lines (> 80 chars) within the source has been 
5602significantly reduced, by about 1/3.
5603
5604Cleaned up all header files to ensure that all CA/iASL functions are 
5605prototyped (even static functions) and the formatting is consistent.
5606
5607Two new header files have been added, acopcode.h and acnames.h.
5608
5609Removed several obsolete functions that were no longer used.
5610
5611Code and Data Size: Current and previous core subsystem library sizes are 
5612shown below. These are the code and data sizes for the acpica.lib produced 
5613by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5614any ACPI driver or OSPM code. The debug version of the code includes the 
5615debug output trace mechanism and has a much larger code and data size. Note 
5616that these values will vary depending on the efficiency of the compiler and 
5617the compiler options used during generation.
5618
5619  Previous Release:
5620    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5621    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5622  Current Release:
5623    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5624    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5625
5626
5627
56282) iASL Compiler/Disassembler:
5629
5630Fixed a problem with the resource descriptor generation/support. For the 
5631ResourceSourceIndex and the ResourceSource fields, both must be present, or 
5632both must be not present - can't have one without the other.
5633
5634The compiler now returns non-zero from the main procedure if any errors have 
5635occurred during the compilation.
5636
5637
5638----------------------------------------
563909 March 2005.  Summary of changes for version 20050309:
5640
56411) ACPI CA Core Subsystem:
5642
5643The string-to-buffer implicit conversion code has been modified again after 
5644a change to the ACPI specification.  In order to match the behavior of the 
5645other major ACPI implementation, the target buffer is no longer truncated if 
5646the source string is smaller than an existing target buffer. This change 
5647requires an update to the ACPI spec, and should eliminate the recent 
5648AE_AML_BUFFER_LIMIT issues.
5649
5650The "implicit return" support was rewritten to a new algorithm that solves 
5651the general case. Rather than attempt to determine when a method is about to 
5652exit, the result of every ASL operator is saved momentarily until the very 
5653next ASL operator is executed. Therefore, no matter how the method exits, 
5654there will always be a saved implicit return value. This feature is only 
5655enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
5656AE_AML_NO_RETURN_VALUE errors when enabled.
5657
5658Implemented implicit conversion support for the predicate (operand) of the 
5659If, Else, and While operators. String and Buffer arguments are automatically 
5660converted to Integers.
5661
5662Changed the string-to-integer conversion behavior to match the new ACPI 
5663errata: "If no integer object exists, a new integer is created. The ASCII 
5664string is interpreted as a hexadecimal constant. Each string character is 
5665interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
5666with the first character as the most significant digit, and ending with the 
5667first non-hexadecimal character or end-of-string." This means that the first 
5668non-hex character terminates the conversion and this is the code that was 
5669changed.
5670
5671Fixed a problem where the ObjectType operator would fail (fault) when used 
5672on an Index of a Package which pointed to a null package element. The 
5673operator now properly returns zero (Uninitialized) in this case.
5674
5675Fixed a problem where the While operator used excessive memory by not 
5676properly popping the result stack during execution. There was no memory leak 
5677after execution, however. (Code provided by Valery Podrezov.)
5678
5679Fixed a problem where references to control methods within Package objects 
5680caused the method to be invoked, instead of producing a reference object 
5681pointing to the method.
5682
5683Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
5684improve performance and reduce code size. (Code provided by Alexey 
5685Starikovskiy.)
5686
5687Code and Data Size: Current and previous core subsystem library sizes are 
5688shown below. These are the code and data sizes for the acpica.lib produced 
5689by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5690any ACPI driver or OSPM code. The debug version of the code includes the 
5691debug output trace mechanism and has a much larger code and data size. Note 
5692that these values will vary depending on the efficiency of the compiler and 
5693the compiler options used during generation.
5694
5695  Previous Release:
5696    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5697    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5698  Current Release:
5699    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5700    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5701
5702
57032) iASL Compiler/Disassembler:
5704
5705Fixed a problem with the Return operator with no arguments. Since the AML 
5706grammar for the byte encoding requires an operand for the Return opcode, the 
5707compiler now emits a Return(Zero) for this case.  An ACPI specification 
5708update has been written for this case.
5709
5710For tables other than the DSDT, namepath optimization is automatically 
5711disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
5712compiler has no knowledge of where, and thus cannot optimize namepaths.
5713
5714Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
5715inadvertently omitted from the ACPI specification, and will require an 
5716update to the spec.
5717
5718The source file scan for ASCII characters is now optional (-a). This change 
5719was made because some vendors place non-ascii characters within comments. 
5720However, the scan is simply a brute-force byte compare to ensure all 
5721characters in the file are in the range 0x00 to 0x7F.
5722
5723Fixed a problem with the CondRefOf operator where the compiler was 
5724inappropriately checking for the existence of the target. Since the point of 
5725the operator is to check for the existence of the target at run-time, the 
5726compiler no longer checks for the target existence.
5727
5728Fixed a problem where errors generated from the internal AML interpreter 
5729during constant folding were not handled properly, causing a fault.
5730
5731Fixed a problem with overly aggressive range checking for the Stall 
5732operator. The valid range (max 255) is now only checked if the operand is of 
5733type Integer. All other operand types cannot be statically checked.
5734
5735Fixed a problem where control method references within the RefOf, DeRefOf, 
5736and ObjectType operators were not treated properly. They are now treated as 
5737actual references, not method invocations.
5738
5739Fixed and enhanced the "list namespace" option (-ln). This option was broken 
5740a number of releases ago.
5741
5742Improved error handling for the Field, IndexField, and BankField operators. 
5743The compiler now cleanly reports and recovers from errors in the field 
5744component (FieldUnit) list.
5745
5746Fixed a disassembler problem where the optional ResourceDescriptor fields 
5747TRS and TTP were not always handled correctly.
5748
5749Disassembler - Comments in output now use "//" instead of "/*"
5750
5751----------------------------------------
575228 February 2005.  Summary of changes for version 20050228:
5753
57541) ACPI CA Core Subsystem:
5755
5756Fixed a problem where the result of an Index() operator (an object 
5757reference) must increment the reference count on the target object for the 
5758life of the object reference.
5759
5760Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
5761Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
5762resource descriptors.
5763
5764Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
5765Space Descriptor" string, indicating interpreter support for the descriptors 
5766above.
5767
5768Implemented header support for the new ACPI 3.0 FADT flag bits.
5769
5770Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
5771status/enable registers.
5772
5773Updated header support for the MADT processor local Apic struct and MADT 
5774platform interrupt source struct for new ACPI 3.0 fields.
5775
5776Implemented header support for the SRAT and SLIT ACPI tables.
5777
5778Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
5779at runtime.
5780
5781Code and Data Size: Current and previous core subsystem library sizes are 
5782shown below. These are the code and data sizes for the acpica.lib produced 
5783by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5784any ACPI driver or OSPM code. The debug version of the code includes the 
5785debug output trace mechanism and has a much larger code and data size. Note 
5786that these values will vary depending on the efficiency of the compiler and 
5787the compiler options used during generation.
5788
5789  Previous Release:
5790    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5791    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5792  Current Release:
5793    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5794    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5795
5796
57972) iASL Compiler/Disassembler:
5798
5799Fixed a problem with the internal 64-bit String-to-integer conversion with 
5800strings less than two characters long.
5801
5802Fixed a problem with constant folding where the result of the Index() 
5803operator can not be considered a constant. This means that Index() cannot be 
5804a type3 opcode and this will require an update to the ACPI specification.
5805
5806Disassembler: Implemented support for the TTP, MTP, and TRS resource 
5807descriptor fields. These fields were inadvertently ignored and not output in 
5808the disassembly of the resource descriptor.
5809
5810
5811 ----------------------------------------
581211 February 2005.  Summary of changes for version 20050211:
5813
58141) ACPI CA Core Subsystem:
5815
5816Implemented ACPI 3.0 support for implicit conversion within the Match() 
5817operator. MatchObjects can now be of type integer, buffer, or string instead 
5818of just type integer.  Package elements are implicitly converted to the type 
5819of the MatchObject. This change aligns the behavior of Match() with the 
5820behavior of the other logical operators (LLess(), etc.) It also requires an 
5821errata change to the ACPI specification as this support was intended for 
5822ACPI 3.0, but was inadvertently omitted.
5823
5824Fixed a problem with the internal implicit "to buffer" conversion. Strings 
5825that are converted to buffers will cause buffer truncation if the string is 
5826smaller than the target buffer. Integers that are converted to buffers will 
5827not cause buffer truncation, only zero extension (both as per the ACPI 
5828spec.) The problem was introduced when code was added to truncate the 
5829buffer, but this should not be performed in all cases, only the string case.
5830
5831Fixed a problem with the Buffer and Package operators where the interpreter 
5832would get confused if two such operators were used as operands to an ASL 
5833operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
5834stack was not being popped after the execution of these operators, resulting 
5835in an AE_NO_RETURN_VALUE exception.
5836
5837Fixed a problem with constructs of the form Store(Index(...),...). The 
5838reference object returned from Index was inadvertently resolved to an actual 
5839value. This problem was introduced in version 20050114 when the behavior of 
5840Store() was modified to restrict the object types that can be used as the 
5841source operand (to match the ACPI specification.)
5842
5843Reduced excessive stack use within the AcpiGetObjectInfo procedure.
5844
5845Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
5846
5847Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
5848
5849Code and Data Size: Current and previous core subsystem library sizes are 
5850shown below. These are the code and data sizes for the acpica.lib produced 
5851by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5852any ACPI driver or OSPM code. The debug version of the code includes the 
5853debug output trace mechanism and has a much larger code and data size. Note 
5854that these values will vary depending on the efficiency of the compiler and 
5855the compiler options used during generation.
5856
5857  Previous Release:
5858    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
5859    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
5860  Current Release:
5861    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5862    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5863
5864
58652) iASL Compiler/Disassembler:
5866
5867Fixed a code generation problem in the constant folding optimization code 
5868where incorrect code was generated if a constant was reduced to a buffer 
5869object (i.e., a reduced type 5 opcode.)
5870
5871Fixed a typechecking problem for the ToBuffer operator. Caused by an 
5872incorrect return type in the internal opcode information table.
5873
5874----------------------------------------
587525 January 2005.  Summary of changes for version 20050125:
5876
58771) ACPI CA Core Subsystem:
5878
5879Fixed a recently introduced problem with the Global Lock where the 
5880underlying semaphore was not created.  This problem was introduced in 
5881version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
5882Acquire() operation on _GL.
5883
5884The local object cache is now optional, and is disabled by default. Both 
5885AcpiExec and the iASL compiler enable the cache because they run in user 
5886mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
5887to enable the local cache.
5888
5889Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
5890optional "implicit return" support where an error was returned if no return 
5891object was expected, but one was implicitly returned. AE_OK is now returned 
5892in this case and the implicitly returned object is deleted. 
5893AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
5894methods such as _STA and _INI where the return type is known up front.
5895
5896Fixed a few issues with the internal convert-to-integer code. It now returns 
5897an error if an attempt is made to convert a null string, a string of only 
5898blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
5899and explicit conversion via the ToInteger() operator.
5900
5901The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
5902not needed for normal operation and should increase the performance of the 
5903entire subsystem. The code remains in case it is needed for debug purposes 
5904again.
5905
5906The AcpiExec source and makefile are included in the Unix/Linux package for 
5907the first time.
5908
5909Code and Data Size: Current and previous core subsystem library sizes are 
5910shown below. These are the code and data sizes for the acpica.lib produced 
5911by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5912any ACPI driver or OSPM code. The debug version of the code includes the 
5913debug output trace mechanism and has a much larger code and data size. Note 
5914that these values will vary depending on the efficiency of the compiler and 
5915the compiler options used during generation.
5916
5917  Previous Release:
5918    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5919    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5920  Current Release:
5921    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
5922    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
5923
59242) iASL Compiler/Disassembler:
5925
5926Switch/Case support: A warning is now issued if the type of the Switch value 
5927cannot be determined at compile time. For example, Switch(Arg0) will 
5928generate the warning, and the type is assumed to be an integer. As per the 
5929ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
5930warning.
5931
5932Switch/Case support: Implemented support for buffer and string objects as 
5933the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
5934buffers and strings.
5935
5936Switch/Case support: The emitted code for the LEqual() comparisons now uses 
5937the switch value as the first operand, not the second. The case value is now 
5938the second operand, and this allows the case value to be implicitly 
5939converted to the type of the switch value, not the other way around.
5940
5941Switch/Case support: Temporary variables are now emitted immediately within 
5942the control method, not at the global level. This means that there are now 
594336 temps available per-method, not 36 temps per-module as was the case with 
5944the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
5945
5946----------------------------------------
594714 January 2005.  Summary of changes for version 20050114:
5948
5949Added 2005 copyright to all module headers.  This affects every module in 
5950the core subsystem, iASL compiler, and the utilities.
5951
59521) ACPI CA Core Subsystem:
5953
5954Fixed an issue with the String-to-Buffer conversion code where the string 
5955null terminator was not included in the buffer after conversion, but there 
5956is existing ASL that assumes the string null terminator is included. This is 
5957the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
5958introduced in the previous version when the code was updated to correctly 
5959set the converted buffer size as per the ACPI specification. The ACPI spec 
5960is ambiguous and will be updated to specify that the null terminator must be 
5961included in the converted buffer. This also affects the ToBuffer() ASL 
5962operator.
5963
5964Fixed a problem with the Mid() ASL/AML operator where it did not work 
5965correctly on Buffer objects. Newly created sub-buffers were not being marked 
5966as initialized.
5967
5968
5969Fixed a problem in AcpiTbFindTable where incorrect string compares were 
5970performed on the OemId and OemTableId table header fields.  These fields are 
5971not null terminated, so strncmp is now used instead of strcmp.
5972
5973Implemented a restriction on the Store() ASL/AML operator to align the 
5974behavior with the ACPI specification.  Previously, any object could be used 
5975as the source operand.  Now, the only objects that may be used are Integers, 
5976Buffers, Strings, Packages, Object References, and DDB Handles.  If 
5977necessary, the original behavior can be restored by enabling the 
5978EnableInterpreterSlack flag.
5979
5980Enhanced the optional "implicit return" support to allow an implicit return 
5981value from methods that are invoked externally via the AcpiEvaluateObject 
5982interface.  This enables implicit returns from the _STA and _INI methods, 
5983for example.
5984
5985Changed the Revision() ASL/AML operator to return the current version of the 
5986AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
5987the supported ACPI version (This is the function of the _REV method).
5988
5989Updated the _REV predefined method to return the currently supported version 
5990of ACPI, now 3.
5991
5992Implemented batch mode option for the AcpiExec utility (-b).
5993
5994Code and Data Size: Current and previous core subsystem library sizes are 
5995shown below. These are the code and data sizes for the acpica.lib produced 
5996by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5997any ACPI driver or OSPM code. The debug version of the code includes the 
5998debug output trace mechanism and has a much larger code and data size. Note 
5999that these values will vary depending on the efficiency of the compiler and 
6000the compiler options used during generation.
6001
6002  Previous Release:
6003    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6004    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6005  Current Release:
6006    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
6007    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
6008
6009----------------------------------------
601010 December 2004.  Summary of changes for version 20041210:
6011
6012ACPI 3.0 support is nearing completion in both the iASL compiler and the 
6013ACPI CA core subsystem.
6014
60151) ACPI CA Core Subsystem:
6016
6017Fixed a problem in the ToDecimalString operator where the resulting string 
6018length was incorrectly calculated. The length is now calculated exactly, 
6019eliminating incorrect AE_STRING_LIMIT exceptions.
6020
6021Fixed a problem in the ToHexString operator to allow a maximum 200 character 
6022string to be produced.
6023
6024Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
6025routine where the length of the resulting buffer was not truncated to the 
6026new size (if the target buffer already existed).
6027
6028Code and Data Size: Current and previous core subsystem library sizes are 
6029shown below. These are the code and data sizes for the acpica.lib produced 
6030by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6031any ACPI driver or OSPM code. The debug version of the code includes the 
6032debug output trace mechanism and has a much larger code and data size. Note 
6033that these values will vary depending on the efficiency of the compiler and 
6034the compiler options used during generation.
6035
6036  Previous Release:
6037    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6038    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6039  Current Release:
6040    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6041    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6042
6043
60442) iASL Compiler/Disassembler:
6045
6046Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
6047ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
6048Includes support in the disassembler.
6049
6050Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
6051AccessSize.
6052
6053Fixed a problem where the _HE resource name for the Interrupt macro was 
6054referencing bit 0 instead of bit 1.
6055
6056Implemented check for maximum 255 interrupts in the Interrupt macro.
6057
6058Fixed a problem with the predefined resource descriptor names where 
6059incorrect AML code was generated if the offset within the resource buffer 
6060was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
6061but did not update the surrounding package lengths.
6062
6063Changes to the Dma macro:  All channels within the channel list must be in 
6064the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
6065optional (default is BusMaster).
6066
6067Implemented check for maximum 7 data bytes for the VendorShort macro.
6068
6069The ReadWrite parameter is now optional for the Memory32 and similar macros.
6070
6071----------------------------------------
607203 December 2004.  Summary of changes for version 20041203:
6073
60741) ACPI CA Core Subsystem:
6075
6076The low-level field insertion/extraction code (exfldio) has been completely 
6077rewritten to eliminate unnecessary complexity, bugs, and boundary 
6078conditions.
6079
6080Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
6081operators where the input operand could be inadvertently deleted if no 
6082conversion was necessary (e.g., if the input to ToInteger was an Integer 
6083object.)
6084
6085Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
6086exception code was returned if the resulting string would be > 200 chars.  
6087AE_STRING_LIMIT is now returned.
6088
6089Fixed a problem with the Concatenate operator where AE_OK was always 
6090returned, even if the operation failed.
6091
6092Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
6093semaphores to be allocated.
6094
6095Code and Data Size: Current and previous core subsystem library sizes are 
6096shown below. These are the code and data sizes for the acpica.lib produced 
6097by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6098any ACPI driver or OSPM code. The debug version of the code includes the 
6099debug output trace mechanism and has a much larger code and data size. Note 
6100that these values will vary depending on the efficiency of the compiler and 
6101the compiler options used during generation.
6102
6103  Previous Release:
6104    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6105    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6106  Current Release:
6107    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6108    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6109
6110
61112) iASL Compiler/Disassembler:
6112
6113Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
6114recently introduced in 20041119.
6115
6116Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
6117byte was inadvertently set to zero.
6118
6119----------------------------------------
612019 November 2004.  Summary of changes for version 20041119:
6121
61221) ACPI CA Core Subsystem:
6123
6124Fixed a problem in the internal ConvertToInteger routine where new integers 
6125were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
6126buffers and strings to integers.
6127
6128Implemented support to store a value to an Index() on a String object. This 
6129is an ACPI 2.0 feature that had not yet been implemented.
6130
6131Implemented new behavior for storing objects to individual package elements 
6132(via the Index() operator). The previous behavior was to invoke the implicit 
6133conversion rules if an object was already present at the index.  The new 
6134behavior is to simply delete any existing object and directly store the new 
6135object. Although the ACPI specification seems unclear on this subject, other 
6136ACPI implementations behave in this manner.  (This is the root of the 
6137AE_BAD_HEX_CONSTANT issue.)
6138
6139Modified the RSDP memory scan mechanism to support the extended checksum for 
6140ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
6141RSDP signature is found with a valid checksum.
6142
6143Code and Data Size: Current and previous core subsystem library sizes are 
6144shown below. These are the code and data sizes for the acpica.lib produced 
6145by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6146any ACPI driver or OSPM code. The debug version of the code includes the 
6147debug output trace mechanism and has a much larger code and data size. Note 
6148that these values will vary depending on the efficiency of the compiler and 
6149the compiler options used during generation.
6150
6151  Previous Release:
6152    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6153    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6154  Current Release:
6155    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6156    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6157
6158
61592) iASL Compiler/Disassembler:
6160
6161Fixed a missing semicolon in the aslcompiler.y file.
6162
6163----------------------------------------
616405 November 2004.  Summary of changes for version 20041105:
6165
61661) ACPI CA Core Subsystem:
6167
6168Implemented support for FADT revision 2.  This was an interim table (between 
6169ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
6170
6171Implemented optional support to allow uninitialized LocalX and ArgX 
6172variables in a control method.  The variables are initialized to an Integer 
6173object with a value of zero.  This support is enabled by setting the 
6174AcpiGbl_EnableInterpreterSlack flag to TRUE.
6175
6176Implemented support for Integer objects for the SizeOf operator.  Either 4 
6177or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
6178depending on the parent table revision).
6179
6180Fixed a problem in the implementation of the SizeOf and ObjectType operators 
6181where the operand was resolved to a value too early, causing incorrect 
6182return values for some objects.
6183
6184Fixed some possible memory leaks during exceptional conditions.
6185
6186Code and Data Size: Current and previous core subsystem library sizes are 
6187shown below. These are the code and data sizes for the acpica.lib produced 
6188by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6189any ACPI driver or OSPM code. The debug version of the code includes the 
6190debug output trace mechanism and has a much larger code and data size. Note 
6191that these values will vary depending on the efficiency of the compiler and 
6192the compiler options used during generation.
6193
6194  Previous Release:
6195    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6196    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6197  Current Release:
6198    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6199    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6200
6201
62022) iASL Compiler/Disassembler:
6203
6204Implemented support for all ACPI 3.0 reserved names and methods.
6205
6206Implemented all ACPI 3.0 grammar elements in the front-end, including 
6207support for semicolons.
6208
6209Implemented the ACPI 3.0 Function() and ToUUID() macros
6210
6211Fixed a problem in the disassembler where a Scope() operator would not be 
6212emitted properly if the target of the scope was in another table.
6213
6214----------------------------------------
621515 October 2004.  Summary of changes for version 20041015:
6216
6217Note:  ACPI CA is currently undergoing an in-depth and complete formal 
6218evaluation to test/verify the following areas. Other suggestions are 
6219welcome. This will result in an increase in the frequency of releases and 
6220the number of bug fixes in the next few months.
6221  - Functional tests for all ASL/AML operators
6222  - All implicit/explicit type conversions
6223  - Bit fields and operation regions
6224  - 64-bit math support and 32-bit-only "truncated" math support
6225  - Exceptional conditions, both compiler and interpreter
6226  - Dynamic object deletion and memory leaks
6227  - ACPI 3.0 support when implemented
6228  - External interfaces to the ACPI subsystem
6229
6230
62311) ACPI CA Core Subsystem:
6232
6233Fixed two alignment issues on 64-bit platforms - within debug statements in 
6234AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
6235field within the non-aligned ACPI generic address structure.
6236
6237Fixed a problem in the Increment and Decrement operators where incorrect 
6238operand resolution could result in the inadvertent modification of the 
6239original integer when the integer is passed into another method as an 
6240argument and the arg is then incremented/decremented.
6241
6242Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
6243BCD number were truncated during conversion.
6244
6245Fixed a problem in the ToDecimal operator where the length of the resulting 
6246string could be set incorrectly too long if the input operand was a Buffer 
6247object.
6248
6249Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
6250within a buffer would prematurely terminate a compare between buffer 
6251objects.
6252
6253Added a check for string overflow (>200 characters as per the ACPI 
6254specification) during the Concatenate operator with two string operands.
6255
6256Code and Data Size: Current and previous core subsystem library sizes are 
6257shown below. These are the code and data sizes for the acpica.lib produced 
6258by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6259any ACPI driver or OSPM code. The debug version of the code includes the 
6260debug output trace mechanism and has a much larger code and data size. Note 
6261that these values will vary depending on the efficiency of the compiler and 
6262the compiler options used during generation.
6263
6264  Previous Release:
6265    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6266    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6267  Current Release:
6268    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6269    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6270
6271
6272
62732) iASL Compiler/Disassembler:
6274
6275Allow the use of the ObjectType operator on uninitialized Locals and Args 
6276(returns 0 as per the ACPI specification).
6277
6278Fixed a problem where the compiler would fault if there was a syntax error 
6279in the FieldName of all of the various CreateXXXField operators.
6280
6281Disallow the use of lower case letters within the EISAID macro, as per the 
6282ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
6283U is an uppercase letter and N is a hex digit.
6284
6285
6286----------------------------------------
628706 October 2004.  Summary of changes for version 20041006:
6288
62891) ACPI CA Core Subsystem:
6290
6291Implemented support for the ACPI 3.0 Timer operator. This ASL function 
6292implements a 64-bit timer with 100 nanosecond granularity.
6293
6294Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
6295implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
6296the timer with the best clock available. Also, it keeps the core subsystem 
6297out of the clock handling business, since the host OS (usually) performs 
6298this function.
6299
6300Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
6301functions use a 64-bit address which is part of the packed ACPI Generic 
6302Address Structure. Since the structure is non-aligned, the alignment macros 
6303are now used to extract the address to a local variable before use.
6304
6305Fixed a problem where the ToInteger operator assumed all input strings were 
6306hexadecimal. The operator now handles both decimal strings and hex strings 
6307(prefixed with "0x").
6308
6309Fixed a problem where the string length in the string object created as a 
6310result of the internal ConvertToString procedure could be incorrect. This 
6311potentially affected all implicit conversions and also the ToDecimalString 
6312and ToHexString operators.
6313
6314Fixed two problems in the ToString operator. If the length parameter was 
6315zero, an incorrect string object was created and the value of the input 
6316length parameter was inadvertently changed from zero to Ones.
6317
6318Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
6319resource macro was ignored.
6320
6321Simplified the interfaces to the internal division functions, reducing code 
6322size and complexity.
6323
6324Code and Data Size: Current and previous core subsystem library sizes are 
6325shown below. These are the code and data sizes for the acpica.lib produced 
6326by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6327any ACPI driver or OSPM code. The debug version of the code includes the 
6328debug output trace mechanism and has a much larger code and data size. Note 
6329that these values will vary depending on the efficiency of the compiler and 
6330the compiler options used during generation.
6331
6332  Previous Release:
6333    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6334    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6335  Current Release:
6336    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6337    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6338
6339
63402) iASL Compiler/Disassembler:
6341
6342Implemented support for the ACPI 3.0 Timer operator.
6343
6344Fixed a problem where the Default() operator was inadvertently ignored in a 
6345Switch/Case block.  This was a problem in the translation of the Switch 
6346statement to If...Else pairs.
6347
6348Added support to allow a standalone Return operator, with no parentheses (or 
6349operands).
6350
6351Fixed a problem with code generation for the ElseIf operator where the 
6352translated Else...If parse tree was improperly constructed leading to the 
6353loss of some code.
6354
6355----------------------------------------
635622 September 2004.  Summary of changes for version 20040922:
6357
63581) ACPI CA Core Subsystem:
6359
6360Fixed a problem with the implementation of the LNot() operator where "Ones" 
6361was not returned for the TRUE case. Changed the code to return Ones instead 
6362of (!Arg) which was usually 1. This change affects iASL constant folding for 
6363this operator also.
6364
6365Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
6366initialized properly -- Now zero the entire buffer in this case where the 
6367buffer already exists.
6368
6369Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
6370Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
6371related code considerably. This will require changes/updates to all OS 
6372interface layers (OSLs.)
6373
6374Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
6375a system exception handler to be installed. This handler is invoked upon any 
6376run-time exception that occurs during control method execution.
6377
6378Added support for the DSDT in AcpiTbFindTable. This allows the 
6379DataTableRegion() operator to access the local copy of the DSDT.
6380
6381Code and Data Size: Current and previous core subsystem library sizes are 
6382shown below. These are the code and data sizes for the acpica.lib produced 
6383by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6384any ACPI driver or OSPM code. The debug version of the code includes the 
6385debug output trace mechanism and has a much larger code and data size. Note 
6386that these values will vary depending on the efficiency of the compiler and 
6387the compiler options used during generation.
6388
6389  Previous Release:
6390    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6391    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6392  Current Release:
6393    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6394    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6395
6396
63972) iASL Compiler/Disassembler:
6398
6399Fixed a problem with constant folding and the LNot operator. LNot was 
6400returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
6401could result in the generation of an incorrect folded/reduced constant.
6402
6403End-Of-File is now allowed within a "//"-style comment.  A parse error no 
6404longer occurs if such a comment is at the very end of the input ASL source 
6405file.
6406
6407Implemented the "-r" option to override the Revision in the table header. 
6408The initial use of this option will be to simplify the evaluation of the AML 
6409interpreter by allowing a single ASL source module to be compiled for either 
641032-bit or 64-bit integers.
6411
6412
6413----------------------------------------
641427 August 2004.  Summary of changes for version 20040827:
6415
64161) ACPI CA Core Subsystem:
6417
6418- Implemented support for implicit object conversion in the non-numeric 
6419logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
6420LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
6421the second operand is implicitly converted on the fly to match the type of 
6422the first operand.  For example:
6423
6424    LEqual (Source1, Source2)
6425
6426Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
6427The data type of Source1 dictates the required type of Source2. Source2 is 
6428implicitly converted if necessary to match the type of Source1.
6429
6430- Updated and corrected the behavior of the string conversion support.  The 
6431rules concerning conversion of buffers to strings (according to the ACPI 
6432specification) are as follows:
6433
6434ToDecimalString - explicit byte-wise conversion of buffer to string of 
6435decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
6436conversion of buffer to string of hex values (0-FF) separated by commas. 
6437ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
6438copy with no transform except NULL terminated. Any other implicit buffer-to-
6439string conversion - byte-wise conversion of buffer to string of hex values 
6440(0-FF) separated by spaces.
6441
6442- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
6443
6444- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
6445one byte too short in the case of a node in the root scope.  This could 
6446cause a fault during debug output.
6447
6448- Code and Data Size: Current and previous core subsystem library sizes are 
6449shown below.  These are the code and data sizes for the acpica.lib produced 
6450by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6451any ACPI driver or OSPM code.  The debug version of the code includes the 
6452debug output trace mechanism and has a much larger code and data size.  Note 
6453that these values will vary depending on the efficiency of the compiler and 
6454the compiler options used during generation.
6455
6456  Previous Release:
6457    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6458    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6459  Current Release:
6460    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6461    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6462
6463
64642) iASL Compiler/Disassembler:
6465
6466- Fixed a Linux generation error.
6467
6468
6469----------------------------------------
647016 August 2004.  Summary of changes for version 20040816:
6471
64721) ACPI CA Core Subsystem:
6473
6474Designed and implemented support within the AML interpreter for the so-
6475called "implicit return".  This support returns the result of the last ASL 
6476operation within a control method, in the absence of an explicit Return() 
6477operator.  A few machines depend on this behavior, even though it is not 
6478explicitly supported by the ASL language.  It is optional support that can 
6479be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
6480
6481Removed support for the PCI_Config address space from the internal low level 
6482hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
6483support was not used internally, and would not work correctly anyway because 
6484the PCI bus number and segment number were not supported.  There are 
6485separate interfaces for PCI configuration space access because of the unique 
6486interface.
6487
6488Code and Data Size: Current and previous core subsystem library sizes are 
6489shown below.  These are the code and data sizes for the acpica.lib produced 
6490by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6491any ACPI driver or OSPM code.  The debug version of the code includes the 
6492debug output trace mechanism and has a much larger code and data size.  Note 
6493that these values will vary depending on the efficiency of the compiler and 
6494the compiler options used during generation.
6495
6496  Previous Release:
6497    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6498    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6499  Current Release:
6500    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6501    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6502
6503
65042) iASL Compiler/Disassembler:
6505
6506Fixed a problem where constants in ASL expressions at the root level (not 
6507within a control method) could be inadvertently truncated during code 
6508generation.  This problem was introduced in the 20040715 release.
6509
6510
6511----------------------------------------
651215 July 2004.  Summary of changes for version 20040715:
6513
65141) ACPI CA Core Subsystem:
6515
6516Restructured the internal HW GPE interfaces to pass/track the current state 
6517of interrupts (enabled/disabled) in order to avoid possible deadlock and 
6518increase flexibility of the interfaces.
6519
6520Implemented a "lexicographical compare" for String and Buffer objects within 
6521the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
6522as per further clarification to the ACPI specification.  Behavior is similar 
6523to C library "strcmp".
6524
6525Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
6526external function.  In the 32-bit non-debug case, the stack use has been 
6527reduced from 168 bytes to 32 bytes.
6528
6529Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
6530whose purpose is to allow the AML interpreter to forgive certain bad AML 
6531constructs.  Default setting is FALSE.
6532
6533Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
6534support code.  If enabled, it allows field access to go beyond the end of a 
6535region definition if the field is within the region length rounded up to the 
6536next access width boundary (a common coding error.)
6537
6538Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
6539ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
6540symbols are lowercased by the latest version of the AcpiSrc tool.
6541
6542The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
6543rename "Register" to simply "Reg" to prevent certain compilers from 
6544complaining.
6545
6546Code and Data Size: Current and previous core subsystem library sizes are 
6547shown below.  These are the code and data sizes for the acpica.lib produced 
6548by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6549any ACPI driver or OSPM code.  The debug version of the code includes the 
6550debug output trace mechanism and has a much larger code and data size.  Note 
6551that these values will vary depending on the efficiency of the compiler and 
6552the compiler options used during generation.
6553
6554  Previous Release:
6555    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6556    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6557  Current Release:
6558    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6559    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6560
6561
65622) iASL Compiler/Disassembler:
6563
6564Implemented full support for Package objects within the Case() operator.  
6565Note: The Break() operator is currently not supported within Case blocks 
6566(TermLists) as there is some question about backward compatibility with ACPI 
65671.0 interpreters.
6568
6569
6570Fixed a problem where complex terms were not supported properly within the 
6571Switch() operator.
6572
6573Eliminated extraneous warning for compiler-emitted reserved names of the 
6574form "_T_x".  (Used in Switch/Case operators.)
6575
6576Eliminated optimization messages for "_T_x" objects and small constants 
6577within the DefinitionBlock operator.
6578
6579
6580----------------------------------------
658115 June 2004.  Summary of changes for version 20040615:
6582
65831) ACPI CA Core Subsystem:
6584
6585Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6586following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6587LLessEqual.
6588
6589All directory names in the entire source package are lower case, as they 
6590were in earlier releases.
6591
6592Implemented "Disassemble" command in the AML debugger that will disassemble 
6593a single control method.
6594
6595Code and Data Size: Current and previous core subsystem library sizes are 
6596shown below.  These are the code and data sizes for the acpica.lib produced 
6597by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6598any ACPI driver or OSPM code.  The debug version of the code includes the 
6599debug output trace mechanism and has a much larger code and data size.  Note 
6600that these values will vary depending on the efficiency of the compiler and 
6601the compiler options used during generation.
6602
6603  Previous Release:
6604    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6605    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6606
6607  Current Release:
6608    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6609    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6610
6611
66122) iASL Compiler/Disassembler:
6613
6614Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6615following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6616LLessEqual.
6617
6618All directory names in the entire source package are lower case, as they 
6619were in earlier releases.
6620
6621Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
6622not found.
6623
6624Fixed an issue with the Windows version of the compiler where later versions 
6625of Windows place the FADT in the registry under the name "FADT" and not 
6626"FACP" as earlier versions did.  This applies when using the -g or -
6627d<nofilename> options.  The compiler now looks for both strings as 
6628necessary.
6629
6630Fixed a problem with compiler namepath optimization where a namepath within 
6631the Scope() operator could not be optimized if the namepath was a subpath of 
6632the current scope path.
6633
6634----------------------------------------
663527 May 2004.  Summary of changes for version 20040527:
6636
66371) ACPI CA Core Subsystem:
6638
6639Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
6640support in the RSDP scan code.  The original code improperly scanned for the 
6641EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
6642is to first obtain the EBDA pointer from within the BIOS data area, then 
6643scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
6644any machines that place the RSDP in the EBDA, however.
6645
6646Integrated a fix for a possible fault during evaluation of BufferField 
6647arguments.  Obsolete code that was causing the problem was removed.
6648
6649Found and fixed a problem in the Field Support Code where data could be 
6650corrupted on a bit field read that starts on an aligned boundary but does 
6651not end on an aligned boundary.  Merged the read/write "datum length" 
6652calculation code into a common procedure.
6653
6654Rolled in a couple of changes to the FreeBSD-specific header.
6655
6656
6657Code and Data Size: Current and previous core subsystem library sizes are 
6658shown below.  These are the code and data sizes for the acpica.lib produced 
6659by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6660any ACPI driver or OSPM code.  The debug version of the code includes the 
6661debug output trace mechanism and has a much larger code and data size.  Note 
6662that these values will vary depending on the efficiency of the compiler and 
6663the compiler options used during generation.
6664
6665  Previous Release:
6666    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6667    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6668  Current Release:
6669    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6670    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6671
6672
66732) iASL Compiler/Disassembler:
6674
6675Fixed a generation warning produced by some overly-verbose compilers for a 
667664-bit constant.
6677
6678----------------------------------------
667914 May 2004.  Summary of changes for version 20040514:
6680
66811) ACPI CA Core Subsystem:
6682
6683Fixed a problem where hardware GPE enable bits sometimes not set properly 
6684during and after GPE method execution.  Result of 04/27 changes.
6685
6686Removed extra "clear all GPEs" when sleeping/waking.
6687
6688Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
6689AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
6690the new AcpiEv* calls as appropriate.
6691
6692ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
6693now "Microsoft Windows NT" for maximum compatibility.  However this can be 
6694changed by modifying the acconfig.h file.
6695
6696Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
6697traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
6698
6699Run _INI methods on ThermalZone objects.  This is against the ACPI 
6700specification, but there is apparently ASL code in the field that has these 
6701_INI methods, and apparently "other" AML interpreters execute them.
6702
6703Performed a full 16/32/64 bit lint that resulted in some small changes.
6704
6705Added a sleep simulation command to the AML debugger to test sleep code. 
6706
6707Code and Data Size: Current and previous core subsystem library sizes are 
6708shown below.  These are the code and data sizes for the acpica.lib produced 
6709by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6710any ACPI driver or OSPM code.  The debug version of the code includes the 
6711debug output trace mechanism and has a much larger code and data size.  Note 
6712that these values will vary depending on the efficiency of the compiler and 
6713the compiler options used during generation.
6714
6715  Previous Release:
6716    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6717    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6718  Current Release:
6719    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6720    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6721
6722----------------------------------------
672327 April 2004.  Summary of changes for version 20040427:
6724
67251) ACPI CA Core Subsystem:
6726
6727Completed a major overhaul of the GPE handling within ACPI CA.  There are 
6728now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
6729The only GPEs allowed to be combination wake/run are for button-style 
6730devices such as a control-method power button, control-method sleep button, 
6731or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
6732referenced by any _PRW methods are marked for "runtime" and hardware 
6733enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
6734(and disabled at runtime).  However, at sleep time, only those GPEs that 
6735have been specifically enabled for wake via the AcpiEnableGpe interface will 
6736actually be hardware enabled.
6737
6738A new external interface has been added, AcpiSetGpeType(), that is meant to 
6739be used by device drivers to force a GPE to a particular type.  It will be 
6740especially useful for the drivers for the button devices mentioned above.
6741
6742Completed restructuring of the ACPI CA initialization sequence so that 
6743default operation region handlers are installed before GPEs are initialized 
6744and the _PRW methods are executed.  This will prevent errors when the _PRW 
6745methods attempt to access system memory or I/O space.
6746
6747GPE enable/disable no longer reads the GPE enable register.  We now keep the 
6748enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
6749thus no longer depend on the hardware to maintain these bits.
6750
6751Always clear the wake status and fixed/GPE status bits before sleep, even 
6752for state S5.
6753
6754Improved the AML debugger output for displaying the GPE blocks and their 
6755current status.
6756
6757Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
6758x = 0,1,2,3,4.
6759
6760Fixed a problem where the physical address was incorrectly calculated when 
6761the Load() operator was used to directly load from an Operation Region (vs. 
6762loading from a Field object.)  Also added check for minimum table length for 
6763this case.
6764
6765Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
6766mutex release.
6767
6768Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
6769consistency with the other fields returned.
6770
6771Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
6772structure for each GPE in the system, so the size of this structure is 
6773important.
6774
6775CPU stack requirement reduction:  Cleaned up the method execution and object 
6776evaluation paths so that now a parameter structure is passed, instead of 
6777copying the various method parameters over and over again.
6778
6779In evregion.c:  Correctly exit and reenter the interpreter region if and 
6780only if dispatching an operation region request to a user-installed handler.  
6781Do not exit/reenter when dispatching to a default handler (e.g., default 
6782system memory or I/O handlers)
6783
6784
6785Notes for updating drivers for the new GPE support.  The following changes 
6786must be made to ACPI-related device drivers that are attached to one or more 
6787GPEs: (This information will be added to the ACPI CA Programmer Reference.)
6788
67891) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
6790explicitly call AcpiEnableGpe.
67912) There is a new interface called AcpiSetGpeType. This should be called 
6792before enabling the GPE.  Also, this interface will automatically disable 
6793the GPE if it is currently enabled.
67943) AcpiEnableGpe no longer supports a GPE type flag.
6795
6796Specific drivers that must be changed:
67971) EC driver:
6798    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
6799AeGpeHandler, NULL);
6800    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
6801    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
6802
68032) Button Drivers (Power, Lid, Sleep):
6804Run _PRW method under parent device
6805If _PRW exists: /* This is a control-method button */
6806    Extract GPE number and possibly GpeDevice
6807    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
6808    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
6809
6810For all other devices that have _PRWs, we automatically set the GPE type to 
6811ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
6812must be done on a selective basis, usually requiring some kind of user app 
6813to allow the user to pick the wake devices.
6814
6815
6816Code and Data Size: Current and previous core subsystem library sizes are 
6817shown below.  These are the code and data sizes for the acpica.lib produced 
6818by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6819any ACPI driver or OSPM code.  The debug version of the code includes the 
6820debug output trace mechanism and has a much larger code and data size.  Note 
6821that these values will vary depending on the efficiency of the compiler and 
6822the compiler options used during generation.
6823
6824  Previous Release:
6825    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6826    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6827  Current Release:
6828
6829    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6830    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6831
6832
6833
6834----------------------------------------
683502 April 2004.  Summary of changes for version 20040402:
6836
68371) ACPI CA Core Subsystem:
6838
6839Fixed an interpreter problem where an indirect store through an ArgX 
6840parameter was incorrectly applying the "implicit conversion rules" during 
6841the store.  From the ACPI specification: "If the target is a method local or 
6842argument (LocalX or ArgX), no conversion is performed and the result is 
6843stored directly to the target".  The new behavior is to disable implicit 
6844conversion during ALL stores to an ArgX.
6845
6846Changed the behavior of the _PRW method scan to ignore any and all errors 
6847returned by a given _PRW.  This prevents the scan from aborting from the 
6848failure of any single _PRW.
6849
6850Moved the runtime configuration parameters from the global init procedure to 
6851static variables in acglobal.h.  This will allow the host to override the 
6852default values easily.
6853
6854Code and Data Size: Current and previous core subsystem library sizes are 
6855shown below.  These are the code and data sizes for the acpica.lib produced 
6856by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6857any ACPI driver or OSPM code.  The debug version of the code includes the 
6858debug output trace mechanism and has a much larger code and data size.  Note 
6859that these values will vary depending on the efficiency of the compiler and 
6860the compiler options used during generation.
6861
6862  Previous Release:
6863    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6864    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6865  Current Release:
6866    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6867    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6868
6869
68702) iASL Compiler/Disassembler:
6871
6872iASL now fully disassembles SSDTs.  However, External() statements are not 
6873generated automatically for unresolved symbols at this time.  This is a 
6874planned feature for future implementation.
6875
6876Fixed a scoping problem in the disassembler that occurs when the type of the 
6877target of a Scope() operator is overridden.  This problem caused an 
6878incorrectly nested internal namespace to be constructed.
6879
6880Any warnings or errors that are emitted during disassembly are now commented 
6881out automatically so that the resulting file can be recompiled without any 
6882hand editing.
6883
6884----------------------------------------
688526 March 2004.  Summary of changes for version 20040326:
6886
68871) ACPI CA Core Subsystem:
6888
6889Implemented support for "wake" GPEs via interaction between GPEs and the 
6890_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
6891identified as a WAKE GPE and by default will no longer be enabled at 
6892runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
6893_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
6894believe this has been the cause of thousands of "spurious" GPEs on some 
6895systems.
6896
6897This new GPE behavior is can be reverted to the original behavior (enable 
6898ALL GPEs at runtime) via a runtime flag.
6899
6900Fixed a problem where aliased control methods could not access objects 
6901properly.  The proper scope within the namespace was not initialized 
6902(transferred to the target of the aliased method) before executing the 
6903target method.
6904
6905Fixed a potential race condition on internal object deletion on the return 
6906object in AcpiEvaluateObject. 
6907
6908Integrated a fix for resource descriptors where both _MEM and _MTP were 
6909being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
6910wide, 0x0F instead of 0x03.)
6911
6912Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
6913fault in some cases.
6914
6915Updated Notify() values for debug statements in evmisc.c
6916
6917Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
6918
6919Code and Data Size: Current and previous core subsystem library sizes are 
6920shown below.  These are the code and data sizes for the acpica.lib produced 
6921by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6922any ACPI driver or OSPM code.  The debug version of the code includes the 
6923debug output trace mechanism and has a much larger code and data size.  Note 
6924that these values will vary depending on the efficiency of the compiler and 
6925the compiler options used during generation.
6926
6927  Previous Release:
6928
6929    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6930    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6931  Current Release:
6932    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6933    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6934
6935----------------------------------------
693611 March 2004.  Summary of changes for version 20040311:
6937
69381) ACPI CA Core Subsystem:
6939
6940Fixed a problem where errors occurring during the parse phase of control 
6941method execution did not abort cleanly.  For example, objects created and 
6942installed in the namespace were not deleted.  This caused all subsequent 
6943invocations of the method to return the AE_ALREADY_EXISTS exception.
6944
6945Implemented a mechanism to force a control method to "Serialized" execution 
6946if the method attempts to create namespace objects. (The root of the 
6947AE_ALREADY_EXISTS problem.)
6948
6949Implemented support for the predefined _OSI "internal" control method.  
6950Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
6951"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
6952This feature will allow "other" operating systems to execute the fully 
6953tested, "Windows" code path through the ASL code
6954
6955Global Lock Support:  Now allows multiple acquires and releases with any 
6956internal thread.  Removed concept of "owning thread" for this special mutex.
6957
6958Fixed two functions that were inappropriately declaring large objects on the 
6959CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
6960method execution considerably.
6961
6962Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
6963S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
6964
6965Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
6966defined on the machine.
6967
6968Implemented two runtime options:  One to force all control method execution 
6969to "Serialized" to mimic Windows behavior, another to disable _OSI support 
6970if it causes problems on a given machine.
6971
6972Code and Data Size: Current and previous core subsystem library sizes are 
6973shown below.  These are the code and data sizes for the acpica.lib produced 
6974by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6975any ACPI driver or OSPM code.  The debug version of the code includes the 
6976debug output trace mechanism and has a much larger code and data size.  Note 
6977that these values will vary depending on the efficiency of the compiler and 
6978the compiler options used during generation.
6979
6980  Previous Release:
6981    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6982    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6983  Current Release:
6984    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6985    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6986
69872) iASL Compiler/Disassembler:
6988
6989Fixed an array size problem for FreeBSD that would cause the compiler to 
6990fault.
6991
6992----------------------------------------
699320 February 2004.  Summary of changes for version 20040220:
6994
6995
69961) ACPI CA Core Subsystem:
6997
6998Implemented execution of _SxD methods for Device objects in the 
6999GetObjectInfo interface.
7000
7001Fixed calls to _SST method to pass the correct arguments.
7002
7003Added a call to _SST on wake to restore to "working" state.
7004
7005Check for End-Of-Buffer failure case in the WalkResources interface.
7006
7007Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
7008structures to the beginning of the file.
7009
7010After wake, clear GPE status register(s) before enabling GPEs.
7011
7012After wake, clear/enable power button.  (Perhaps we should clear/enable all 
7013fixed events upon wake.)
7014
7015Fixed a couple of possible memory leaks in the Namespace manager.
7016
7017Integrated latest acnetbsd.h file.
7018
7019----------------------------------------
702011 February 2004.  Summary of changes for version 20040211:
7021
7022
70231) ACPI CA Core Subsystem:
7024
7025Completed investigation and implementation of the call-by-reference 
7026mechanism for control method arguments.
7027
7028Fixed a problem where a store of an object into an indexed package could 
7029fail if the store occurs within a different method than the method that 
7030created the package.
7031
7032Fixed a problem where the ToDecimal operator could return incorrect results.
7033
7034Fixed a problem where the CopyObject operator could fail on some of the more 
7035obscure objects (e.g., Reference objects.)
7036
7037Improved the output of the Debug object to display buffer, package, and 
7038index objects.
7039
7040Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
7041the expected result.
7042
7043Added permanent ACPI_REPORT_ERROR macros for all instances of the 
7044ACPI_AML_INTERNAL exception.
7045
7046Integrated latest version of acfreebsd.h
7047
7048----------------------------------------
704916 January 2004.  Summary of changes for version 20040116:
7050
7051The purpose of this release is primarily to update the copyright years in 
7052each module, thus causing a huge number of diffs.  There are a few small 
7053functional changes, however.
7054
70551) ACPI CA Core Subsystem:
7056
7057Improved error messages when there is a problem finding one or more of the 
7058required base ACPI tables
7059
7060Reintroduced the definition of APIC_HEADER in actbl.h
7061
7062Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
7063
7064Removed extraneous reference to NewObj in dsmthdat.c
7065
70662) iASL compiler
7067
7068Fixed a problem introduced in December that disabled the correct disassembly 
7069of Resource Templates
7070
7071
7072----------------------------------------
707303 December 2003.  Summary of changes for version 20031203:
7074
70751) ACPI CA Core Subsystem:
7076
7077Changed the initialization of Operation Regions during subsystem
7078init to perform two entire walks of the ACPI namespace; The first
7079to initialize the regions themselves, the second to execute the
7080_REG methods.  This fixed some interdependencies across _REG
7081methods found on some machines.
7082
7083Fixed a problem where a Store(Local0, Local1) could simply update
7084the object reference count, and not create a new copy of the
7085object if the Local1 is uninitialized.
7086
7087Implemented support for the _SST reserved method during sleep
7088transitions.
7089
7090Implemented support to clear the SLP_TYP and SLP_EN bits when
7091waking up, this is apparently required by some machines.
7092
7093When sleeping, clear the wake status only if SleepState is not S5.
7094
7095Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
7096pointer arithmetic advanced a string pointer too far.
7097
7098Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
7099could be returned if the requested table has not been loaded.
7100
7101Within the support for IRQ resources, restructured the handling of
7102the active and edge/level bits.
7103
7104Fixed a few problems in AcpiPsxExecute() where memory could be
7105leaked under certain error conditions.
7106
7107Improved error messages for the cases where the ACPI mode could
7108not be entered.
7109
7110Code and Data Size: Current and previous core subsystem library
7111sizes are shown below.  These are the code and data sizes for the
7112acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7113these values do not include any ACPI driver or OSPM code.  The
7114debug version of the code includes the debug output trace
7115mechanism and has a much larger code and data size.  Note that
7116these values will vary depending on the efficiency of the compiler
7117and the compiler options used during generation.
7118
7119  Previous Release (20031029):
7120    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7121    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7122  Current Release:
7123    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7124    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7125
71262) iASL Compiler/Disassembler:
7127
7128Implemented a fix for the iASL disassembler where a bad index was
7129generated.  This was most noticeable on 64-bit platforms
7130
7131
7132----------------------------------------
713329 October 2003.  Summary of changes for version 20031029:
7134
71351) ACPI CA Core Subsystem:
7136
7137
7138Fixed a problem where a level-triggered GPE with an associated
7139_Lxx control method was incorrectly cleared twice.
7140
7141Fixed a problem with the Field support code where an access can
7142occur beyond the end-of-region if the field is non-aligned but
7143extends to the very end of the parent region (resulted in an
7144AE_AML_REGION_LIMIT exception.)
7145
7146Fixed a problem with ACPI Fixed Events where an RT Clock handler
7147would not get invoked on an RTC event.  The RTC event bitmasks for
7148the PM1 registers were not being initialized properly.
7149
7150Implemented support for executing _STA and _INI methods for
7151Processor objects.  Although this is currently not part of the
7152ACPI specification, there is existing ASL code that depends on the
7153init-time execution of these methods.
7154
7155Implemented and deployed a GetDescriptorName function to decode
7156the various types of internal descriptors.  Guards against null
7157descriptors during debug output also.
7158
7159Implemented and deployed a GetNodeName function to extract the 4-
7160character namespace node name.  This function simplifies the debug
7161and error output, as well as guarding against null pointers during
7162output.
7163
7164Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
7165simplify the debug and error output of 64-bit integers.  This
7166macro replaces the HIDWORD and LODWORD macros for dumping these
7167integers.
7168
7169Updated the implementation of the Stall() operator to only call
7170AcpiOsStall(), and also return an error if the operand is larger
7171than 255.  This preserves the required behavior of not
7172relinquishing the processor, as would happen if AcpiOsSleep() was
7173called for "long stalls".
7174
7175Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
7176initialized are now treated as NOOPs.
7177
7178Cleaned up a handful of warnings during 64-bit generation.
7179
7180Fixed a reported error where and incorrect GPE number was passed
7181to the GPE dispatch handler.  This value is only used for error
7182output, however.  Used this opportunity to clean up and streamline
7183the GPE dispatch code.
7184
7185Code and Data Size: Current and previous core subsystem library
7186sizes are shown below.  These are the code and data sizes for the
7187acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7188these values do not include any ACPI driver or OSPM code.  The
7189
7190debug version of the code includes the debug output trace
7191mechanism and has a much larger code and data size.  Note that
7192these values will vary depending on the efficiency of the compiler
7193and the compiler options used during generation.
7194
7195  Previous Release (20031002):
7196    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7197    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7198  Current Release:
7199    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7200    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7201
7202
72032) iASL Compiler/Disassembler:
7204
7205Updated the iASL compiler to return an error if the operand to the
7206Stall() operator is larger than 255.
7207
7208
7209----------------------------------------
721002 October 2003.  Summary of changes for version 20031002:
7211
7212
72131) ACPI CA Core Subsystem:
7214
7215Fixed a problem with Index Fields where the index was not
7216incremented for fields that require multiple writes to the
7217index/data registers (Fields that are wider than the data
7218register.)
7219
7220Fixed a problem with all Field objects where a write could go
7221beyond the end-of-field if the field was larger than the access
7222granularity and therefore required multiple writes to complete the
7223request.  An extra write beyond the end of the field could happen
7224inadvertently.
7225
7226Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
7227would incorrectly be returned if the width of the Data Register
7228was larger than the specified field access width.
7229
7230Completed fixes for LoadTable() and Unload() and verified their
7231operation.  Implemented full support for the "DdbHandle" object
7232throughout the ACPI CA subsystem.
7233
7234Implemented full support for the MADT and ECDT tables in the ACPI
7235CA header files.  Even though these tables are not directly
7236consumed by ACPI CA, the header definitions are useful for ACPI
7237device drivers.
7238
7239Integrated resource descriptor fixes posted to the Linux ACPI
7240list.  This included checks for minimum descriptor length, and
7241support for trailing NULL strings within descriptors that have
7242optional string elements.
7243
7244Code and Data Size: Current and previous core subsystem library
7245sizes are shown below.  These are the code and data sizes for the
7246acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7247these values do not include any ACPI driver or OSPM code.  The
7248debug version of the code includes the debug output trace
7249mechanism and has a much larger code and data size.  Note that
7250these values will vary depending on the efficiency of the compiler
7251and the compiler options used during generation.
7252
7253  Previous Release (20030918):
7254    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7255    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7256  Current Release:
7257    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7258    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7259
7260
72612) iASL Compiler:
7262
7263Implemented detection of non-ASCII characters within the input
7264source ASL file.  This catches attempts to compile binary (AML)
7265files early in the compile, with an informative error message.
7266
7267Fixed a problem where the disassembler would fault if the output
7268filename could not be generated or if the output file could not be
7269opened.
7270
7271----------------------------------------
727218 September 2003.  Summary of changes for version 20030918:
7273
7274
72751) ACPI CA Core Subsystem:
7276
7277Found and fixed a longstanding problem with the late execution of
7278the various deferred AML opcodes (such as Operation Regions,
7279Buffer Fields, Buffers, and Packages).  If the name string
7280specified for the name of the new object placed the object in a
7281scope other than the current scope, the initialization/execution
7282of the opcode failed.  The solution to this problem was to
7283implement a mechanism where the late execution of such opcodes
7284does not attempt to lookup/create the name a second time in an
7285incorrect scope.  This fixes the "region size computed
7286incorrectly" problem.
7287
7288Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
7289Global Lock AE_BAD_PARAMETER error.
7290
7291Fixed several 64-bit issues with prototypes, casting and data
7292types.
7293
7294Removed duplicate prototype from acdisasm.h
7295
7296Fixed an issue involving EC Operation Region Detach (Shaohua Li)
7297
7298Code and Data Size: Current and previous core subsystem library
7299sizes are shown below.  These are the code and data sizes for the
7300acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7301these values do not include any ACPI driver or OSPM code.  The
7302debug version of the code includes the debug output trace
7303mechanism and has a much larger code and data size.  Note that
7304these values will vary depending on the efficiency of the compiler
7305and the compiler options used during generation.
7306
7307  Previous Release:
7308
7309    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7310    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7311  Current Release:
7312    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7313    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7314
7315
73162) Linux:
7317
7318Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
7319correct sleep time in seconds.
7320
7321----------------------------------------
732214 July 2003.  Summary of changes for version 20030619:
7323
73241) ACPI CA Core Subsystem:
7325
7326Parse SSDTs in order discovered, as opposed to reverse order
7327(Hrvoje Habjanic)
7328
7329Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
7330Klausner,
7331   Nate Lawson)
7332
7333
73342) Linux:
7335
7336Dynamically allocate SDT list (suggested by Andi Kleen)
7337
7338proc function return value cleanups (Andi Kleen)
7339
7340Correctly handle NMI watchdog during long stalls (Andrew Morton)
7341
7342Make it so acpismp=force works (reported by Andrew Morton)
7343
7344
7345----------------------------------------
734619 June 2003.  Summary of changes for version 20030619:
7347
73481) ACPI CA Core Subsystem:
7349
7350Fix To/FromBCD, eliminating the need for an arch-specific #define.
7351
7352Do not acquire a semaphore in the S5 shutdown path.
7353
7354Fix ex_digits_needed for 0. (Takayoshi Kochi)
7355
7356Fix sleep/stall code reversal. (Andi Kleen)
7357
7358Revert a change having to do with control method calling
7359semantics.
7360
73612) Linux:
7362
7363acpiphp update (Takayoshi Kochi)
7364
7365Export acpi_disabled for sonypi (Stelian Pop)
7366
7367Mention acpismp=force in config help
7368
7369Re-add acpitable.c and acpismp=force. This improves backwards
7370
7371compatibility and also cleans up the code to a significant degree.
7372
7373Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
7374
7375----------------------------------------
737622 May 2003.  Summary of changes for version 20030522:
7377
73781) ACPI CA Core Subsystem:
7379
7380Found and fixed a reported problem where an AE_NOT_FOUND error
7381occurred occasionally during _BST evaluation.  This turned out to
7382be an Owner ID allocation issue where a called method did not get
7383a new ID assigned to it.  Eventually, (after 64k calls), the Owner
7384ID UINT16 would wraparound so that the ID would be the same as the
7385caller's and the called method would delete the caller's
7386namespace.
7387
7388Implemented extended error reporting for control methods that are
7389aborted due to a run-time exception.  Output includes the exact
7390AML instruction that caused the method abort, a dump of the method
7391locals and arguments at the time of the abort, and a trace of all
7392nested control method calls.
7393
7394Modified the interpreter to allow the creation of buffers of zero
7395length from the AML code. Implemented new code to ensure that no
7396attempt is made to actually allocate a memory buffer (of length
7397zero) - instead, a simple buffer object with a NULL buffer pointer
7398and length zero is created.  A warning is no longer issued when
7399the AML attempts to create a zero-length buffer.
7400
7401Implemented a workaround for the "leading asterisk issue" in
7402_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
7403asterisk is automatically removed if present in any HID, UID, or
7404CID strings.  The iASL compiler will still flag this asterisk as
7405an error, however.
7406
7407Implemented full support for _CID methods that return a package of
7408multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
7409now additionally returns a device _CID list if present.  This
7410required a change to the external interface in order to pass an
7411ACPI_BUFFER object as a parameter since the _CID list is of
7412variable length.
7413
7414Fixed a problem with the new AE_SAME_HANDLER exception where
7415handler initialization code did not know about this exception.
7416
7417Code and Data Size: Current and previous core subsystem library
7418sizes are shown below.  These are the code and data sizes for the
7419acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7420these values do not include any ACPI driver or OSPM code.  The
7421debug version of the code includes the debug output trace
7422mechanism and has a much larger code and data size.  Note that
7423these values will vary depending on the efficiency of the compiler
7424and the compiler options used during generation.
7425
7426  Previous Release (20030509):
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  Current Release:
7430    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7431    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7432
7433
74342) Linux:
7435
7436Fixed a bug in which we would reinitialize the ACPI interrupt
7437after it was already working, thus disabling all ACPI and the IRQs
7438for any other device sharing the interrupt. (Thanks to Stian
7439Jordet)
7440
7441Toshiba driver update (John Belmonte)
7442
7443Return only 0 or 1 for our interrupt handler status (Andrew
7444Morton)
7445
7446
74473) iASL Compiler:
7448
7449Fixed a reported problem where multiple (nested) ElseIf()
7450statements were not handled correctly by the compiler, resulting
7451in incorrect warnings and incorrect AML code.  This was a problem
7452in both the ASL parser and the code generator.
7453
7454
74554) Documentation:
7456
7457Added changes to existing interfaces, new exception codes, and new
7458text concerning reference count object management versus garbage
7459collection.
7460
7461----------------------------------------
746209 May 2003.  Summary of changes for version 20030509.
7463
7464
74651) ACPI CA Core Subsystem:
7466
7467Changed the subsystem initialization sequence to hold off
7468installation of address space handlers until the hardware has been
7469initialized and the system has entered ACPI mode.  This is because
7470the installation of space handlers can cause _REG methods to be
7471run.  Previously, the _REG methods could potentially be run before
7472ACPI mode was enabled.
7473
7474Fixed some memory leak issues related to address space handler and
7475notify handler installation.  There were some problems with the
7476reference count mechanism caused by the fact that the handler
7477objects are shared across several namespace objects.
7478
7479Fixed a reported problem where reference counts within the
7480namespace were not properly updated when named objects created by
7481method execution were deleted.
7482
7483Fixed a reported problem where multiple SSDTs caused a deletion
7484issue during subsystem termination.  Restructured the table data
7485structures to simplify the linked lists and the related code.
7486
7487Fixed a problem where the table ID associated with secondary
7488tables (SSDTs) was not being propagated into the namespace objects
7489created by those tables.  This would only present a problem for
7490tables that are unloaded at run-time, however.
7491
7492Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7493type as the length parameter (instead of UINT32).
7494
7495Solved a long-standing problem where an ALREADY_EXISTS error
7496appears on various systems.  This problem could happen when there
7497are multiple PCI_Config operation regions under a single PCI root
7498bus.  This doesn't happen very frequently, but there are some
7499systems that do this in the ASL.
7500
7501Fixed a reported problem where the internal DeleteNode function
7502was incorrectly handling the case where a namespace node was the
7503first in the parent's child list, and had additional peers (not
7504the only child, but first in the list of children.)
7505
7506Code and Data Size: Current core subsystem library sizes are shown
7507below.  These are the code and data sizes for the acpica.lib
7508produced by the Microsoft Visual C++ 6.0 compiler, and these
7509values do not include any ACPI driver or OSPM code.  The debug
7510version of the code includes the debug output trace mechanism and
7511has a much larger code and data size.  Note that these values will
7512vary depending on the efficiency of the compiler and the compiler
7513options used during generation.
7514
7515  Previous Release
7516    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7517    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7518  Current Release:
7519    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7520    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7521
7522
75232) Linux:
7524
7525Allow ":" in OS override string (Ducrot Bruno)
7526
7527Kobject fix (Greg KH)
7528
7529
75303 iASL Compiler/Disassembler:
7531
7532Fixed a problem in the generation of the C source code files (AML
7533is emitted in C source statements for BIOS inclusion) where the
7534Ascii dump that appears within a C comment at the end of each line
7535could cause a compile time error if the AML sequence happens to
7536have an open comment or close comment sequence embedded.
7537
7538
7539----------------------------------------
754024 April 2003.  Summary of changes for version 20030424.
7541
7542
75431) ACPI CA Core Subsystem:
7544
7545Support for big-endian systems has been implemented.  Most of the
7546support has been invisibly added behind big-endian versions of the
7547ACPI_MOVE_* macros.
7548
7549Fixed a problem in AcpiHwDisableGpeBlock() and
7550AcpiHwClearGpeBlock() where an incorrect offset was passed to the
7551low level hardware write routine.  The offset parameter was
7552actually eliminated from the low level read/write routines because
7553they had become obsolete.
7554
7555Fixed a problem where a handler object was deleted twice during
7556the removal of a fixed event handler.
7557
7558
75592) Linux:
7560
7561A fix for SMP systems with link devices was contributed by
7562
7563Compaq's Dan Zink.
7564
7565(2.5) Return whether we handled the interrupt in our IRQ handler.
7566(Linux ISRs no longer return void, so we can propagate the handler
7567return value from the ACPI CA core back to the OS.)
7568
7569
7570
75713) Documentation:
7572
7573The ACPI CA Programmer Reference has been updated to reflect new
7574interfaces and changes to existing interfaces.
7575
7576----------------------------------------
757728 March 2003.  Summary of changes for version 20030328.
7578
75791) ACPI CA Core Subsystem:
7580
7581The GPE Block Device support has been completed.  New interfaces
7582are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
7583interfaces (enable, disable, clear, getstatus) have been split
7584into separate interfaces for Fixed Events and General Purpose
7585Events (GPEs) in order to support GPE Block Devices properly.
7586
7587Fixed a problem where the error message "Failed to acquire
7588semaphore" would appear during operations on the embedded
7589controller (EC).
7590
7591Code and Data Size: Current core subsystem library sizes are shown
7592below.  These are the code and data sizes for the acpica.lib
7593produced by the Microsoft Visual C++ 6.0 compiler, and these
7594values do not include any ACPI driver or OSPM code.  The debug
7595version of the code includes the debug output trace mechanism and
7596has a much larger code and data size.  Note that these values will
7597vary depending on the efficiency of the compiler and the compiler
7598options used during generation.
7599
7600  Previous Release
7601    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7602    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7603  Current Release:
7604    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7605    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7606
7607
7608----------------------------------------
760928 February 2003.  Summary of changes for version 20030228.
7610
7611
76121) ACPI CA Core Subsystem:
7613
7614The GPE handling and dispatch code has been completely overhauled
7615in preparation for support of GPE Block Devices (ID ACPI0006).
7616This affects internal data structures and code only; there should
7617be no differences visible externally.  One new file has been
7618added, evgpeblk.c
7619
7620The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7621fields that are used to determine the GPE block lengths.  The
7622REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7623structures are ignored.  This is per the ACPI specification but it
7624isn't very clear.  The full 256 Block 0/1 GPEs are now supported
7625(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7626
7627In the SCI interrupt handler, removed the read of the PM1_CONTROL
7628register to look at the SCI_EN bit.  On some machines, this read
7629causes an SMI event and greatly slows down SCI events.  (This may
7630in fact be the cause of slow battery status response on some
7631systems.)
7632
7633Fixed a problem where a store of a NULL string to a package object
7634could cause the premature deletion of the object.  This was seen
7635during execution of the battery _BIF method on some systems,
7636resulting in no battery data being returned.
7637
7638Added AcpiWalkResources interface to simplify parsing of resource
7639lists.
7640
7641Code and Data Size: Current core subsystem library sizes are shown
7642below.  These are the code and data sizes for the acpica.lib
7643produced by the Microsoft Visual C++ 6.0 compiler, and these
7644values do not include any ACPI driver or OSPM code.  The debug
7645version of the code includes the debug output trace mechanism and
7646has a much larger code and data size.  Note that these values will
7647vary depending on the efficiency of the compiler and the compiler
7648options used during generation.
7649
7650  Previous Release
7651    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7652    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7653  Current Release:
7654    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7655    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7656
7657
76582) Linux
7659
7660S3 fixes (Ole Rohne)
7661
7662Update ACPI PHP driver with to use new acpi_walk_resource API
7663(Bjorn Helgaas)
7664
7665Add S4BIOS support (Pavel Machek)
7666
7667Map in entire table before performing checksum (John Stultz)
7668
7669Expand the mem= cmdline to allow the specification of reserved and
7670ACPI DATA blocks (Pavel Machek)
7671
7672Never use ACPI on VISWS
7673
7674Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7675
7676Revert a change that allowed P_BLK lengths to be 4 or 5. This is
7677causing us to think that some systems support C2 when they really
7678don't.
7679
7680Do not count processor objects for non-present CPUs (Thanks to
7681Dominik Brodowski)
7682
7683
76843) iASL Compiler:
7685
7686Fixed a problem where ASL include files could not be found and
7687opened.
7688
7689Added support for the _PDC reserved name.
7690
7691
7692----------------------------------------
769322 January 2003.  Summary of changes for version 20030122.
7694
7695
76961) ACPI CA Core Subsystem:
7697
7698Added a check for constructs of the form:  Store (Local0, Local0)
7699where Local0 is not initialized.  Apparently, some BIOS
7700programmers believe that this is a NOOP.  Since this store doesn't
7701do anything anyway, the new prototype behavior will ignore this
7702error.  This is a case where we can relax the strict checking in
7703the interpreter in the name of compatibility.
7704
7705
77062) Linux
7707
7708The AcpiSrc Source Conversion Utility has been released with the
7709Linux package for the first time.  This is the utility that is
7710used to convert the ACPI CA base source code to the Linux version.
7711
7712(Both) Handle P_BLK lengths shorter than 6 more gracefully
7713
7714(Both) Move more headers to include/acpi, and delete an unused
7715header.
7716
7717(Both) Move drivers/acpi/include directory to include/acpi
7718
7719(Both) Boot functions don't use cmdline, so don't pass it around
7720
7721(Both) Remove include of unused header (Adrian Bunk)
7722
7723(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
7724the
7725former now also includes the latter, acpiphp.h only needs the one,
7726now.
7727
7728(2.5) Make it possible to select method of bios restoring after S3
7729resume. [=> no more ugly ifdefs] (Pavel Machek)
7730
7731(2.5) Make proc write interfaces work (Pavel Machek)
7732
7733(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
7734
7735(2.5) Break out ACPI Perf code into its own module, under cpufreq
7736(Dominik Brodowski)
7737
7738(2.4) S4BIOS support (Ducrot Bruno)
7739
7740(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
7741Visinoni)
7742
7743
77443) iASL Compiler:
7745
7746Added support to disassemble SSDT and PSDTs.
7747
7748Implemented support to obtain SSDTs from the Windows registry if
7749available.
7750
7751
7752----------------------------------------
775309 January 2003.  Summary of changes for version 20030109.
7754
77551) ACPI CA Core Subsystem:
7756
7757Changed the behavior of the internal Buffer-to-String conversion
7758function.  The current ACPI specification states that the contents
7759of the buffer are "converted to a string of two-character
7760hexadecimal numbers, each separated by a space".  Unfortunately,
7761this definition is not backwards compatible with existing ACPI 1.0
7762implementations (although the behavior was not defined in the ACPI
77631.0 specification).  The new behavior simply copies data from the
7764buffer to the string until a null character is found or the end of
7765the buffer is reached.  The new String object is always null
7766terminated.  This problem was seen during the generation of _BIF
7767battery data where incorrect strings were returned for battery
7768type, etc.  This will also require an errata to the ACPI
7769specification.
7770
7771Renamed all instances of NATIVE_UINT and NATIVE_INT to
7772ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
7773
7774Copyright in all module headers (both Linux and non-Linux) has be
7775updated to 2003.
7776
7777Code and Data Size: Current core subsystem library sizes are shown
7778below.  These are the code and data sizes for the acpica.lib
7779produced by the Microsoft Visual C++ 6.0 compiler, and these
7780values do not include any ACPI driver or OSPM code.  The debug
7781version of the code includes the debug output trace mechanism and
7782has a much larger code and data size.  Note that these values will
7783vary depending on the efficiency of the compiler and the compiler
7784options used during generation.
7785
7786  Previous Release
7787    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7788    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7789  Current Release:
7790    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7791    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7792
7793
77942) Linux
7795
7796Fixed an oops on module insertion/removal (Matthew Tippett)
7797
7798(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
7799
7800(2.5) Replace pr_debug (Randy Dunlap)
7801
7802(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
7803
7804(Both) Eliminate spawning of thread from timer callback, in favor
7805of schedule_work()
7806
7807(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
7808
7809(Both) Added define for Fixed Function HW region (Matthew Wilcox)
7810
7811(Both) Add missing statics to button.c (Pavel Machek)
7812
7813Several changes have been made to the source code translation
7814utility that generates the Linux Code in order to make the code
7815more "Linux-like":
7816
7817All typedefs on structs and unions have been removed in keeping
7818with the Linux coding style.
7819
7820Removed the non-Linux SourceSafe module revision number from each
7821module header.
7822
7823Completed major overhaul of symbols to be lowercased for linux.
7824Doubled the number of symbols that are lowercased.
7825
7826Fixed a problem where identifiers within procedure headers and
7827within quotes were not fully lower cased (they were left with a
7828starting capital.)
7829
7830Some C macros whose only purpose is to allow the generation of 16-
7831bit code are now completely removed in the Linux code, increasing
7832readability and maintainability.
7833
7834----------------------------------------
7835
783612 December 2002.  Summary of changes for version 20021212.
7837
7838
78391) ACPI CA Core Subsystem:
7840
7841Fixed a problem where the creation of a zero-length AML Buffer
7842would cause a fault.
7843
7844Fixed a problem where a Buffer object that pointed to a static AML
7845buffer (in an ACPI table) could inadvertently be deleted, causing
7846memory corruption.
7847
7848Fixed a problem where a user buffer (passed in to the external
7849ACPI CA interfaces) could be overwritten if the buffer was too
7850small to complete the operation, causing memory corruption.
7851
7852Fixed a problem in the Buffer-to-String conversion code where a
7853string of length one was always returned, regardless of the size
7854of the input Buffer object.
7855
7856Removed the NATIVE_CHAR data type across the entire source due to
7857lack of need and lack of consistent use.
7858
7859Code and Data Size: Current core subsystem library sizes are shown
7860below.  These are the code and data sizes for the acpica.lib
7861produced by the Microsoft Visual C++ 6.0 compiler, and these
7862values do not include any ACPI driver or OSPM code.  The debug
7863version of the code includes the debug output trace mechanism and
7864has a much larger code and data size.  Note that these values will
7865vary depending on the efficiency of the compiler and the compiler
7866options used during generation.
7867
7868  Previous Release
7869    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7870    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7871  Current Release:
7872    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7873    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7874
7875
7876----------------------------------------
787705 December 2002.  Summary of changes for version 20021205.
7878
78791) ACPI CA Core Subsystem:
7880
7881Fixed a problem where a store to a String or Buffer object could
7882cause corruption of the DSDT if the object type being stored was
7883the same as the target object type and the length of the object
7884being stored was equal to or smaller than the original (existing)
7885target object.  This was seen to cause corruption of battery _BIF
7886buffers if the _BIF method modified the buffer on the fly.
7887
7888Fixed a problem where an internal error was generated if a control
7889method invocation was used in an OperationRegion, Buffer, or
7890Package declaration.  This was caused by the deferred parsing of
7891the control method and thus the deferred creation of the internal
7892method object.  The solution to this problem was to create the
7893internal method object at the moment the method is encountered in
7894the first pass - so that subsequent references to the method will
7895able to obtain the required parameter count and thus properly
7896parse the method invocation.  This problem presented itself as an
7897AE_AML_INTERNAL during the pass 1 parse phase during table load.
7898
7899Fixed a problem where the internal String object copy routine did
7900not always allocate sufficient memory for the target String object
7901and caused memory corruption.  This problem was seen to cause
7902"Allocation already present in list!" errors as memory allocation
7903became corrupted.
7904
7905Implemented a new function for the evaluation of namespace objects
7906that allows the specification of the allowable return object
7907types.  This simplifies a lot of code that checks for a return
7908object of one or more specific objects returned from the
7909evaluation (such as _STA, etc.)  This may become and external
7910function if it would be useful to ACPI-related drivers.
7911
7912Completed another round of prefixing #defines with "ACPI_" for
7913clarity.
7914
7915Completed additional code restructuring to allow more modular
7916linking for iASL compiler and AcpiExec.  Several files were split
7917creating new files.  New files:  nsparse.c dsinit.c evgpe.c
7918
7919Implemented an abort mechanism to terminate an executing control
7920method via the AML debugger.  This feature is useful for debugging
7921control methods that depend (wait) for specific hardware
7922responses.
7923
7924Code and Data Size: Current core subsystem library sizes are shown
7925below.  These are the code and data sizes for the acpica.lib
7926produced by the Microsoft Visual C++ 6.0 compiler, and these
7927values do not include any ACPI driver or OSPM code.  The debug
7928version of the code includes the debug output trace mechanism and
7929has a much larger code and data size.  Note that these values will
7930vary depending on the efficiency of the compiler and the compiler
7931options used during generation.
7932
7933  Previous Release
7934    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7935    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7936  Current Release:
7937    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7938    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7939
7940
79412) iASL Compiler/Disassembler
7942
7943Fixed a compiler code generation problem for "Interrupt" Resource
7944Descriptors.  If specified in the ASL, the optional "Resource
7945Source Index" and "Resource Source" fields were not inserted into
7946the correct location within the AML resource descriptor, creating
7947an invalid descriptor.
7948
7949Fixed a disassembler problem for "Interrupt" resource descriptors.
7950The optional "Resource Source Index" and "Resource Source" fields
7951were ignored.
7952
7953
7954----------------------------------------
795522 November 2002.  Summary of changes for version 20021122.
7956
7957
79581) ACPI CA Core Subsystem:
7959
7960Fixed a reported problem where an object stored to a Method Local
7961or Arg was not copied to a new object during the store - the
7962object pointer was simply copied to the Local/Arg.  This caused
7963all subsequent operations on the Local/Arg to also affect the
7964original source of the store operation.
7965
7966Fixed a problem where a store operation to a Method Local or Arg
7967was not completed properly if the Local/Arg contained a reference
7968(from RefOf) to a named field.  The general-purpose store-to-
7969namespace-node code is now used so that this case is handled
7970automatically.
7971
7972Fixed a problem where the internal object copy routine would cause
7973a protection fault if the object being copied was a Package and
7974contained either 1) a NULL package element or 2) a nested sub-
7975package.
7976
7977Fixed a problem with the GPE initialization that resulted from an
7978ambiguity in the ACPI specification.  One section of the
7979specification states that both the address and length of the GPE
7980block must be zero if the block is not supported.  Another section
7981implies that only the address need be zero if the block is not
7982supported.  The code has been changed so that both the address and
7983the length must be non-zero to indicate a valid GPE block (i.e.,
7984if either the address or the length is zero, the GPE block is
7985invalid.)
7986
7987Code and Data Size: Current core subsystem library sizes are shown
7988below.  These are the code and data sizes for the acpica.lib
7989produced by the Microsoft Visual C++ 6.0 compiler, and these
7990values do not include any ACPI driver or OSPM code.  The debug
7991version of the code includes the debug output trace mechanism and
7992has a much larger code and data size.  Note that these values will
7993vary depending on the efficiency of the compiler and the compiler
7994options used during generation.
7995
7996  Previous Release
7997    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7998    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7999  Current Release:
8000    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8001    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
8002
8003
80042) Linux
8005
8006Cleaned up EC driver. Exported an external EC read/write
8007interface. By going through this, other drivers (most notably
8008sonypi) will be able to serialize access to the EC.
8009
8010
80113) iASL Compiler/Disassembler
8012
8013Implemented support to optionally generate include files for both
8014ASM and C (the -i switch).  This simplifies BIOS development by
8015automatically creating include files that contain external
8016declarations for the symbols that are created within the
8017
8018(optionally generated) ASM and C AML source files.
8019
8020
8021----------------------------------------
802215 November 2002.  Summary of changes for version 20021115.
8023
80241) ACPI CA Core Subsystem:
8025
8026Fixed a memory leak problem where an error during resolution of
8027
8028method arguments during a method invocation from another method
8029failed to cleanup properly by deleting all successfully resolved
8030argument objects.
8031
8032Fixed a problem where the target of the Index() operator was not
8033correctly constructed if the source object was a package.  This
8034problem has not been detected because the use of a target operand
8035with Index() is very rare.
8036
8037Fixed a problem with the Index() operator where an attempt was
8038made to delete the operand objects twice.
8039
8040Fixed a problem where an attempt was made to delete an operand
8041twice during execution of the CondRefOf() operator if the target
8042did not exist.
8043
8044Implemented the first of perhaps several internal create object
8045functions that create and initialize a specific object type.  This
8046consolidates duplicated code wherever the object is created, thus
8047shrinking the size of the subsystem.
8048
8049Implemented improved debug/error messages for errors that occur
8050during nested method invocations.  All executing method pathnames
8051are displayed (with the error) as the call stack is unwound - thus
8052simplifying debug.
8053
8054Fixed a problem introduced in the 10/02 release that caused
8055premature deletion of a buffer object if a buffer was used as an
8056ASL operand where an integer operand is required (Thus causing an
8057implicit object conversion from Buffer to Integer.)  The change in
8058the 10/02 release was attempting to fix a memory leak (albeit
8059incorrectly.)
8060
8061Code and Data Size: Current core subsystem library sizes are shown
8062below.  These are the code and data sizes for the acpica.lib
8063produced by the Microsoft Visual C++ 6.0 compiler, and these
8064values do not include any ACPI driver or OSPM code.  The debug
8065version of the code includes the debug output trace mechanism and
8066has a much larger code and data size.  Note that these values will
8067vary depending on the efficiency of the compiler and the compiler
8068options used during generation.
8069
8070  Previous Release
8071    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8072    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8073  Current Release:
8074    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
8075    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
8076
8077
80782) Linux
8079
8080Changed the implementation of the ACPI semaphores to use down()
8081instead of down_interruptable().  It is important that the
8082execution of ACPI control methods not be interrupted by signals.
8083Methods must run to completion, or the system may be left in an
8084unknown/unstable state.
8085
8086Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
8087(Shawn Starr)
8088
8089
80903) iASL Compiler/Disassembler
8091
8092
8093Changed the default location of output files.  All output files
8094are now placed in the current directory by default instead of in
8095the directory of the source file.  This change may affect some
8096existing makefiles, but it brings the behavior of the compiler in
8097line with other similar tools.  The location of the output files
8098can be overridden with the -p command line switch.
8099
8100
8101----------------------------------------
810211 November 2002.  Summary of changes for version 20021111.
8103
8104
81050) ACPI Specification 2.0B is released and is now available at:
8106http://www.acpi.info/index.html
8107
8108
81091) ACPI CA Core Subsystem:
8110
8111Implemented support for the ACPI 2.0 SMBus Operation Regions.
8112This includes the early detection and handoff of the request to
8113the SMBus region handler (avoiding all of the complex field
8114support code), and support for the bidirectional return packet
8115from an SMBus write operation.  This paves the way for the
8116development of SMBus drivers in each host operating system.
8117
8118Fixed a problem where the semaphore WAIT_FOREVER constant was
8119defined as 32 bits, but must be 16 bits according to the ACPI
8120specification.  This had the side effect of causing ASL
8121Mutex/Event timeouts even though the ASL code requested a wait
8122forever.  Changed all internal references to the ACPI timeout
8123parameter to 16 bits to prevent future problems.  Changed the name
8124of WAIT_FOREVER to ACPI_WAIT_FOREVER.
8125
8126Code and Data Size: Current core subsystem library sizes are shown
8127below.  These are the code and data sizes for the acpica.lib
8128produced by the Microsoft Visual C++ 6.0 compiler, and these
8129values do not include any ACPI driver or OSPM code.  The debug
8130version of the code includes the debug output trace mechanism and
8131has a much larger code and data size.  Note that these values will
8132vary depending on the efficiency of the compiler and the compiler
8133options used during generation.
8134
8135  Previous Release
8136    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8137    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8138  Current Release:
8139    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8140    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8141
8142
81432) Linux
8144
8145Module loading/unloading fixes (John Cagle)
8146
8147
81483) iASL Compiler/Disassembler
8149
8150Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
8151
8152Implemented support for the disassembly of all SMBus protocol
8153keywords (SMBQuick, SMBWord, etc.)
8154
8155----------------------------------------
815601 November 2002.  Summary of changes for version 20021101.
8157
8158
81591) ACPI CA Core Subsystem:
8160
8161Fixed a problem where platforms that have a GPE1 block but no GPE0
8162block were not handled correctly.  This resulted in a "GPE
8163overlap" error message.  GPE0 is no longer required.
8164
8165Removed code added in the previous release that inserted nodes
8166into the namespace in alphabetical order.  This caused some side-
8167effects on various machines.  The root cause of the problem is
8168still under investigation since in theory, the internal ordering
8169of the namespace nodes should not matter.
8170
8171
8172Enhanced error reporting for the case where a named object is not
8173found during control method execution.  The full ACPI namepath
8174(name reference) of the object that was not found is displayed in
8175this case.
8176
8177Note: as a result of the overhaul of the namespace object types in
8178the previous release, the namespace nodes for the predefined
8179scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
8180instead of ACPI_TYPE_ANY.  This simplifies the namespace
8181management code but may affect code that walks the namespace tree
8182looking for specific object types.
8183
8184Code and Data Size: Current core subsystem library sizes are shown
8185below.  These are the code and data sizes for the acpica.lib
8186produced by the Microsoft Visual C++ 6.0 compiler, and these
8187values do not include any ACPI driver or OSPM code.  The debug
8188version of the code includes the debug output trace mechanism and
8189has a much larger code and data size.  Note that these values will
8190vary depending on the efficiency of the compiler and the compiler
8191options used during generation.
8192
8193  Previous Release
8194    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8195    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8196  Current Release:
8197    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8198    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8199
8200
82012) Linux
8202
8203Fixed a problem introduced in the previous release where the
8204Processor and Thermal objects were not recognized and installed in
8205/proc.  This was related to the scope type change described above.
8206
8207
82083) iASL Compiler/Disassembler
8209
8210Implemented the -g option to get all of the required ACPI tables
8211from the registry and save them to files (Windows version of the
8212compiler only.)  The required tables are the FADT, FACS, and DSDT.
8213
8214Added ACPI table checksum validation during table disassembly in
8215order to catch corrupted tables.
8216
8217
8218----------------------------------------
821922 October 2002.  Summary of changes for version 20021022.
8220
82211) ACPI CA Core Subsystem:
8222
8223Implemented a restriction on the Scope operator that the target
8224must already exist in the namespace at the time the operator is
8225encountered (during table load or method execution).  In other
8226words, forward references are not allowed and Scope() cannot
8227create a new object. This changes the previous behavior where the
8228interpreter would create the name if not found.  This new behavior
8229correctly enables the search-to-root algorithm during namespace
8230lookup of the target name.  Because of this upsearch, this fixes
8231the known Compaq _SB_.OKEC problem and makes both the AML
8232interpreter and iASL compiler compatible with other ACPI
8233implementations.
8234
8235Completed a major overhaul of the internal ACPI object types for
8236the ACPI Namespace and the associated operand objects.  Many of
8237these types had become obsolete with the introduction of the two-
8238pass namespace load.  This cleanup simplifies the code and makes
8239the entire namespace load mechanism much clearer and easier to
8240understand.
8241
8242Improved debug output for tracking scope opening/closing to help
8243diagnose scoping issues.  The old scope name as well as the new
8244scope name are displayed.  Also improved error messages for
8245problems with ASL Mutex objects and error messages for GPE
8246problems.
8247
8248Cleaned up the namespace dump code, removed obsolete code.
8249
8250All string output (for all namespace/object dumps) now uses the
8251common ACPI string output procedure which handles escapes properly
8252and does not emit non-printable characters.
8253
8254Fixed some issues with constants in the 64-bit version of the
8255local C library (utclib.c)
8256
8257
82582) Linux
8259
8260EC Driver:  No longer attempts to acquire the Global Lock at
8261interrupt level.
8262
8263
82643) iASL Compiler/Disassembler
8265
8266Implemented ACPI 2.0B grammar change that disallows all Type 1 and
82672 opcodes outside of a control method.  This means that the
8268"executable" operators (versus the "namespace" operators) cannot
8269be used at the table level; they can only be used within a control
8270method.
8271
8272Implemented the restriction on the Scope() operator where the
8273target must already exist in the namespace at the time the
8274operator is encountered (during ASL compilation). In other words,
8275forward references are not allowed and Scope() cannot create a new
8276object.  This makes the iASL compiler compatible with other ACPI
8277implementations and makes the Scope() implementation adhere to the
8278ACPI specification.
8279
8280Fixed a problem where namepath optimization for the Alias operator
8281was optimizing the wrong path (of the two namepaths.)  This caused
8282a "Missing alias link" error message.
8283
8284Fixed a problem where an "unknown reserved name" warning could be
8285incorrectly generated for names like "_SB" when the trailing
8286underscore is not used in the original ASL.
8287
8288Fixed a problem where the reserved name check did not handle
8289NamePaths with multiple NameSegs correctly.  The first nameseg of
8290the NamePath was examined instead of the last NameSeg.
8291
8292
8293----------------------------------------
8294
829502 October 2002.  Summary of changes for this release.
8296
8297
82981) ACPI CA Core Subsystem version 20021002:
8299
8300Fixed a problem where a store/copy of a string to an existing
8301string did not always set the string length properly in the String
8302object.
8303
8304Fixed a reported problem with the ToString operator where the
8305behavior was identical to the ToHexString operator instead of just
8306simply converting a raw buffer to a string data type.
8307
8308Fixed a problem where CopyObject and the other "explicit"
8309conversion operators were not updating the internal namespace node
8310type as part of the store operation.
8311
8312Fixed a memory leak during implicit source operand conversion
8313where the original object was not deleted if it was converted to a
8314new object of a different type.
8315
8316Enhanced error messages for all problems associated with namespace
8317lookups.  Common procedure generates and prints the lookup name as
8318well as the formatted status.
8319
8320Completed implementation of a new design for the Alias support
8321within the namespace.  The existing design did not handle the case
8322where a new object was assigned to one of the two names due to the
8323use of an explicit conversion operator, resulting in the two names
8324pointing to two different objects.  The new design simply points
8325the Alias name to the original name node - not to the object.
8326This results in a level of indirection that must be handled in the
8327name resolution mechanism.
8328
8329Code and Data Size: Current core subsystem library sizes are shown
8330below.  These are the code and data sizes for the acpica.lib
8331produced by the Microsoft Visual C++ 6.0 compiler, and these
8332values do not include any ACPI driver or OSPM code.  The debug
8333version of the code includes the debug output trace mechanism and
8334has a larger code and data size.  Note that these values will vary
8335depending on the efficiency of the compiler and the compiler
8336options used during generation.
8337
8338  Previous Release
8339    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8340    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8341  Current Release:
8342    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8343    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8344
8345
83462) Linux
8347
8348Initialize thermal driver's timer before it is used. (Knut
8349Neumann)
8350
8351Allow handling negative celsius values. (Kochi Takayoshi)
8352
8353Fix thermal management and make trip points. R/W (Pavel Machek)
8354
8355Fix /proc/acpi/sleep. (P. Christeas)
8356
8357IA64 fixes. (David Mosberger)
8358
8359Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
8360
8361Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
8362Brodowski)
8363
8364
83653) iASL Compiler/Disassembler
8366
8367Clarified some warning/error messages.
8368
8369
8370----------------------------------------
837118 September 2002.  Summary of changes for this release.
8372
8373
83741) ACPI CA Core Subsystem version 20020918:
8375
8376Fixed a reported problem with reference chaining (via the Index()
8377and RefOf() operators) in the ObjectType() and SizeOf() operators.
8378The definition of these operators includes the dereferencing of
8379all chained references to return information on the base object.
8380
8381Fixed a problem with stores to indexed package elements - the
8382existing code would not complete the store if an "implicit
8383conversion" was not performed.  In other words, if the existing
8384object (package element) was to be replaced completely, the code
8385didn't handle this case.
8386
8387Relaxed typechecking on the ASL "Scope" operator to allow the
8388target name to refer to an object of type Integer, String, or
8389Buffer, in addition to the scoping object types (Device,
8390predefined Scopes, Processor, PowerResource, and ThermalZone.)
8391This allows existing AML code that has workarounds for a bug in
8392Windows to function properly.  A warning is issued, however.  This
8393affects both the AML interpreter and the iASL compiler. Below is
8394an example of this type of ASL code:
8395
8396      Name(DEB,0x00)
8397      Scope(DEB)
8398      {
8399
8400Fixed some reported problems with 64-bit integer support in the
8401local implementation of C library functions (clib.c)
8402
8403
84042) Linux
8405
8406Use ACPI fix map region instead of IOAPIC region, since it is
8407undefined in non-SMP.
8408
8409Ensure that the SCI has the proper polarity and trigger, even on
8410systems that do not have an interrupt override entry in the MADT.
8411
84122.5 big driver reorganization (Pat Mochel)
8413
8414Use early table mapping code from acpitable.c (Andi Kleen)
8415
8416New blacklist entries (Andi Kleen)
8417
8418Blacklist improvements. Split blacklist code out into a separate
8419file. Move checking the blacklist to very early. Previously, we
8420would use ACPI tables, and then halfway through init, check the
8421blacklist -- too late. Now, it's early enough to completely fall-
8422back to non-ACPI.
8423
8424
84253) iASL Compiler/Disassembler version 20020918:
8426
8427Fixed a problem where the typechecking code didn't know that an
8428alias could point to a method.  In other words, aliases were not
8429being dereferenced during typechecking.
8430
8431
8432----------------------------------------
843329 August 2002.  Summary of changes for this release.
8434
84351) ACPI CA Core Subsystem Version 20020829:
8436
8437If the target of a Scope() operator already exists, it must be an
8438object type that actually opens a scope -- such as a Device,
8439Method, Scope, etc.  This is a fatal runtime error.  Similar error
8440check has been added to the iASL compiler also.
8441
8442Tightened up the namespace load to disallow multiple names in the
8443same scope.  This previously was allowed if both objects were of
8444the same type.  (i.e., a lookup was the same as entering a new
8445name).
8446
8447
84482) Linux
8449
8450Ensure that the ACPI interrupt has the proper trigger and
8451polarity.
8452
8453local_irq_disable is extraneous. (Matthew Wilcox)
8454
8455Make "acpi=off" actually do what it says, and not use the ACPI
8456interpreter *or* the tables.
8457
8458Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
8459Takayoshi)
8460
8461
84623) iASL Compiler/Disassembler  Version 20020829:
8463
8464Implemented namepath optimization for name declarations.  For
8465example, a declaration like "Method (\_SB_.ABCD)" would get
8466optimized to "Method (ABCD)" if the declaration is within the
8467\_SB_ scope.  This optimization is in addition to the named
8468reference path optimization first released in the previous
8469version. This would seem to complete all possible optimizations
8470for namepaths within the ASL/AML.
8471
8472If the target of a Scope() operator already exists, it must be an
8473object type that actually opens a scope -- such as a Device,
8474Method, Scope, etc.
8475
8476Implemented a check and warning for unreachable code in the same
8477block below a Return() statement.
8478
8479Fixed a problem where the listing file was not generated if the
8480compiler aborted if the maximum error count was exceeded (200).
8481
8482Fixed a problem where the typechecking of method return values was
8483broken.  This includes the check for a return value when the
8484method is invoked as a TermArg (a return value is expected.)
8485
8486Fixed a reported problem where EOF conditions during a quoted
8487string or comment caused a fault.
8488
8489
8490----------------------------------------
849115 August 2002.  Summary of changes for this release.
8492
84931) ACPI CA Core Subsystem Version 20020815:
8494
8495Fixed a reported problem where a Store to a method argument that
8496contains a reference did not perform the indirect store correctly.
8497This problem was created during the conversion to the new
8498reference object model - the indirect store to a method argument
8499code was not updated to reflect the new model.
8500
8501Reworked the ACPI mode change code to better conform to ACPI 2.0,
8502handle corner cases, and improve code legibility (Kochi Takayoshi)
8503
8504Fixed a problem with the pathname parsing for the carat (^)
8505prefix.  The heavy use of the carat operator by the new namepath
8506optimization in the iASL compiler uncovered a problem with the AML
8507interpreter handling of this prefix.  In the case where one or
8508more carats precede a single nameseg, the nameseg was treated as
8509standalone and the search rule (to root) was inadvertently
8510applied.  This could cause both the iASL compiler and the
8511interpreter to find the wrong object or to miss the error that
8512should occur if the object does not exist at that exact pathname.
8513
8514Found and fixed the problem where the HP Pavilion DSDT would not
8515load.  This was a relatively minor tweak to the table loading code
8516(a problem caused by the unexpected encounter with a method
8517invocation not within a control method), but it does not solve the
8518overall issue of the execution of AML code at the table level.
8519This investigation is still ongoing.
8520
8521Code and Data Size: Current core subsystem library sizes are shown
8522below.  These are the code and data sizes for the acpica.lib
8523produced by the Microsoft Visual C++ 6.0 compiler, and these
8524values do not include any ACPI driver or OSPM code.  The debug
8525version of the code includes the debug output trace mechanism and
8526has a larger code and data size.  Note that these values will vary
8527depending on the efficiency of the compiler and the compiler
8528options used during generation.
8529
8530  Previous Release
8531    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8532    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8533  Current Release:
8534    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8535    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8536
8537
85382) Linux
8539
8540Remove redundant slab.h include (Brad Hards)
8541
8542Fix several bugs in thermal.c (Herbert Nachtnebel)
8543
8544Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
8545
8546Change acpi_system_suspend to use updated irq functions (Pavel
8547Machek)
8548
8549Export acpi_get_firmware_table (Matthew Wilcox)
8550
8551Use proper root proc entry for ACPI (Kochi Takayoshi)
8552
8553Fix early-boot table parsing (Bjorn Helgaas)
8554
8555
85563) iASL Compiler/Disassembler
8557
8558Reworked the compiler options to make them more consistent and to
8559use two-letter options where appropriate.  We were running out of
8560sensible letters.   This may break some makefiles, so check the
8561current options list by invoking the compiler with no parameters.
8562
8563Completed the design and implementation of the ASL namepath
8564optimization option for the compiler.  This option optimizes all
8565references to named objects to the shortest possible path.  The
8566first attempt tries to utilize a single nameseg (4 characters) and
8567the "search-to-root" algorithm used by the interpreter.  If that
8568cannot be used (because either the name is not in the search path
8569or there is a conflict with another object with the same name),
8570the pathname is optimized using the carat prefix (usually a
8571shorter string than specifying the entire path from the root.)
8572
8573Implemented support to obtain the DSDT from the Windows registry
8574(when the disassembly option is specified with no input file).
8575Added this code as the implementation for AcpiOsTableOverride in
8576the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
8577utility) to scan memory for the DSDT to the AcpiOsTableOverride
8578function in the DOS OSL to make the disassembler truly OS
8579independent.
8580
8581Implemented a new option to disassemble and compile in one step.
8582When used without an input filename, this option will grab the
8583DSDT from the local machine, disassemble it, and compile it in one
8584step.
8585
8586Added a warning message for invalid escapes (a backslash followed
8587by any character other than the allowable escapes).  This catches
8588the quoted string error "\_SB_" (which should be "\\_SB_" ).
8589
8590Also, there are numerous instances in the ACPI specification where
8591this error occurs.
8592
8593Added a compiler option to disable all optimizations.  This is
8594basically the "compatibility mode" because by using this option,
8595the AML code will come out exactly the same as other ASL
8596compilers.
8597
8598Added error messages for incorrectly ordered dependent resource
8599functions.  This includes: missing EndDependentFn macro at end of
8600dependent resource list, nested dependent function macros (both
8601start and end), and missing StartDependentFn macro.  These are
8602common errors that should be caught at compile time.
8603
8604Implemented _OSI support for the disassembler and compiler.  _OSI
8605must be included in the namespace for proper disassembly (because
8606the disassembler must know the number of arguments.)
8607
8608Added an "optimization" message type that is optional (off by
8609default).  This message is used for all optimizations - including
8610constant folding, integer optimization, and namepath optimization.
8611
8612----------------------------------------
861325 July 2002.  Summary of changes for this release.
8614
8615
86161) ACPI CA Core Subsystem Version 20020725:
8617
8618The AML Disassembler has been enhanced to produce compilable ASL
8619code and has been integrated into the iASL compiler (see below) as
8620well as the single-step disassembly for the AML debugger and the
8621disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
8622resource templates and macros are fully supported.  The
8623disassembler has been tested on over 30 different AML files,
8624producing identical AML when the resulting disassembled ASL file
8625is recompiled with the same ASL compiler.
8626
8627Modified the Resource Manager to allow zero interrupts and zero
8628dma channels during the GetCurrentResources call.  This was
8629causing problems on some platforms.
8630
8631Added the AcpiOsRedirectOutput interface to the OSL to simplify
8632output redirection for the AcpiOsPrintf and AcpiOsVprintf
8633interfaces.
8634
8635Code and Data Size: Current core subsystem library sizes are shown
8636below.  These are the code and data sizes for the acpica.lib
8637produced by the Microsoft Visual C++ 6.0 compiler, and these
8638values do not include any ACPI driver or OSPM code.  The debug
8639version of the code includes the debug output trace mechanism and
8640has a larger code and data size.  Note that these values will vary
8641depending on the efficiency of the compiler and the compiler
8642options used during generation.
8643
8644  Previous Release
8645    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8646    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8647  Current Release:
8648    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8649    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8650
8651
86522) Linux
8653
8654Fixed a panic in the EC driver (Dominik Brodowski)
8655
8656Implemented checksum of the R/XSDT itself during Linux table scan
8657(Richard Schaal)
8658
8659
86603) iASL compiler
8661
8662The AML disassembler is integrated into the compiler.  The "-d"
8663option invokes the disassembler  to completely disassemble an
8664input AML file, producing as output a text ASL file with the
8665extension ".dsl" (to avoid name collisions with existing .asl
8666source files.)  A future enhancement will allow the disassembler
8667to obtain the BIOS DSDT from the registry under Windows.
8668
8669Fixed a problem with the VendorShort and VendorLong resource
8670descriptors where an invalid AML sequence was created.
8671
8672Implemented a fix for BufferData term in the ASL parser.  It was
8673inadvertently defined twice, allowing invalid syntax to pass and
8674causing reduction conflicts.
8675
8676Fixed a problem where the Ones opcode could get converted to a
8677value of zero if "Ones" was used where a byte, word or dword value
8678was expected.  The 64-bit value is now truncated to the correct
8679size with the correct value.
8680
8681
8682
8683----------------------------------------
868402 July 2002.  Summary of changes for this release.
8685
8686
86871) ACPI CA Core Subsystem Version 20020702:
8688
8689The Table Manager code has been restructured to add several new
8690features.  Tables that are not required by the core subsystem
8691(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8692validated in any way and are returned from AcpiGetFirmwareTable if
8693requested.  The AcpiOsTableOverride interface is now called for
8694each table that is loaded by the subsystem in order to allow the
8695host to override any table it chooses.  Previously, only the DSDT
8696could be overridden.  Added one new files, tbrsdt.c and
8697tbgetall.c.
8698
8699Fixed a problem with the conversion of internal package objects to
8700external objects (when a package is returned from a control
8701method.)  The return buffer length was set to zero instead of the
8702proper length of the package object.
8703
8704Fixed a reported problem with the use of the RefOf and DeRefOf
8705operators when passing reference arguments to control methods.  A
8706new type of Reference object is used internally for references
8707produced by the RefOf operator.
8708
8709Added additional error messages in the Resource Manager to explain
8710AE_BAD_DATA errors when they occur during resource parsing.
8711
8712Split the AcpiEnableSubsystem into two primitives to enable a
8713finer granularity initialization sequence.  These two calls should
8714be called in this order: AcpiEnableSubsystem (flags),
8715AcpiInitializeObjects (flags).  The flags parameter remains the
8716same.
8717
8718
87192) Linux
8720
8721Updated the ACPI utilities module to understand the new style of
8722fully resolved package objects that are now returned from the core
8723subsystem.  This eliminates errors of the form:
8724
8725    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
8726    acpi_utils-0430 [145] acpi_evaluate_reference:
8727        Invalid element in package (not a device reference)
8728
8729The method evaluation utility uses the new buffer allocation
8730scheme instead of calling AcpiEvaluate Object twice.
8731
8732Added support for ECDT. This allows the use of the Embedded
8733
8734Controller before the namespace has been fully initialized, which
8735is necessary for ACPI 2.0 support, and for some laptops to
8736initialize properly. (Laptops using ECDT are still rare, so only
8737limited testing was performed of the added functionality.)
8738
8739Fixed memory leaks in the EC driver.
8740
8741Eliminated a brittle code structure in acpi_bus_init().
8742
8743Eliminated the acpi_evaluate() helper function in utils.c. It is
8744no longer needed since acpi_evaluate_object can optionally
8745allocate memory for the return object.
8746
8747Implemented fix for keyboard hang when getting battery readings on
8748some systems (Stephen White)
8749
8750PCI IRQ routing update (Dominik Brodowski)
8751
8752Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
8753support
8754
8755----------------------------------------
875611 June 2002.  Summary of changes for this release.
8757
8758
87591) ACPI CA Core Subsystem Version 20020611:
8760
8761Fixed a reported problem where constants such as Zero and One
8762appearing within _PRT packages were not handled correctly within
8763the resource manager code.  Originally reported against the ASL
8764compiler because the code generator now optimizes integers to
8765their minimal AML representation (i.e. AML constants if possible.)
8766The _PRT code now handles all AML constant opcodes correctly
8767(Zero, One, Ones, Revision).
8768
8769Fixed a problem with the Concatenate operator in the AML
8770interpreter where a buffer result object was incorrectly marked as
8771not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
8772
8773All package sub-objects are now fully resolved before they are
8774returned from the external ACPI interfaces.  This means that name
8775strings are resolved to object handles, and constant operators
8776(Zero, One, Ones, Revision) are resolved to Integers.
8777
8778Implemented immediate resolution of the AML Constant opcodes
8779(Zero, One, Ones, Revision) to Integer objects upon detection
8780within the AML stream. This has simplified and reduced the
8781generated code size of the subsystem by eliminating about 10
8782switch statements for these constants (which previously were
8783contained in Reference objects.)  The complicating issues are that
8784the Zero opcode is used as a "placeholder" for unspecified
8785optional target operands and stores to constants are defined to be
8786no-ops.
8787
8788Code and Data Size: Current core subsystem library sizes are shown
8789below. These are the code and data sizes for the acpica.lib
8790produced by the Microsoft Visual C++ 6.0 compiler, and these
8791values do not include any ACPI driver or OSPM code.  The debug
8792version of the code includes the debug output trace mechanism and
8793has a larger code and data size.  Note that these values will vary
8794depending on the efficiency of the compiler and the compiler
8795options used during generation.
8796
8797  Previous Release
8798    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8799    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8800  Current Release:
8801    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8802    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8803
8804
88052) Linux
8806
8807
8808Added preliminary support for obtaining _TRA data for PCI root
8809bridges (Bjorn Helgaas).
8810
8811
88123) iASL Compiler Version X2046:
8813
8814Fixed a problem where the "_DDN" reserved name was defined to be a
8815control method with one argument.  There are no arguments, and
8816_DDN does not have to be a control method.
8817
8818Fixed a problem with the Linux version of the compiler where the
8819source lines printed with error messages were the wrong lines.
8820This turned out to be the "LF versus CR/LF" difference between
8821Windows and Unix.  This appears to be the longstanding issue
8822concerning listing output and error messages.
8823
8824Fixed a problem with the Linux version of compiler where opcode
8825names within error messages were wrong.  This was caused by a
8826slight difference in the output of the Flex tool on Linux versus
8827Windows.
8828
8829Fixed a problem with the Linux compiler where the hex output files
8830contained some garbage data caused by an internal buffer overrun.
8831
8832
8833----------------------------------------
883417 May 2002.  Summary of changes for this release.
8835
8836
88371) ACPI CA Core Subsystem Version 20020517:
8838
8839Implemented a workaround to an BIOS bug discovered on the HP
8840OmniBook where the FADT revision number and the table size are
8841inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
8842behavior is to fallback to using only the ACPI 1.0 fields of the
8843FADT if the table is too small to be a ACPI 2.0 table as claimed
8844by the revision number.  Although this is a BIOS bug, this is a
8845case where the workaround is simple enough and with no side
8846effects, so it seemed prudent to add it.  A warning message is
8847issued, however.
8848
8849Implemented minimum size checks for the fixed-length ACPI tables -
8850- the FADT and FACS, as well as consistency checks between the
8851revision number and the table size.
8852
8853Fixed a reported problem in the table override support where the
8854new table pointer was incorrectly treated as a physical address
8855instead of a logical address.
8856
8857Eliminated the use of the AE_AML_ERROR exception and replaced it
8858with more descriptive codes.
8859
8860Fixed a problem where an exception would occur if an ASL Field was
8861defined with no named Field Units underneath it (used by some
8862index fields).
8863
8864Code and Data Size: Current core subsystem library sizes are shown
8865below.  These are the code and data sizes for the acpica.lib
8866produced by the Microsoft Visual C++ 6.0 compiler, and these
8867values do not include any ACPI driver or OSPM code.  The debug
8868version of the code includes the debug output trace mechanism and
8869has a larger code and data size.  Note that these values will vary
8870depending on the efficiency of the compiler and the compiler
8871options used during generation.
8872
8873  Previous Release
8874    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8875    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8876  Current Release:
8877    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8878    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8879
8880
8881
88822) Linux
8883
8884Much work done on ACPI init (MADT and PCI IRQ routing support).
8885(Paul D. and Dominik Brodowski)
8886
8887Fix PCI IRQ-related panic on boot (Sam Revitch)
8888
8889Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
8890
8891Fix "MHz" typo (Dominik Brodowski)
8892
8893Fix RTC year 2000 issue (Dominik Brodowski)
8894
8895Preclude multiple button proc entries (Eric Brunet)
8896
8897Moved arch-specific code out of include/platform/aclinux.h
8898
88993) iASL Compiler Version X2044:
8900
8901Implemented error checking for the string used in the EISAID macro
8902(Usually used in the definition of the _HID object.)  The code now
8903strictly enforces the PnP format - exactly 7 characters, 3
8904uppercase letters and 4 hex digits.
8905
8906If a raw string is used in the definition of the _HID object
8907(instead of the EISAID macro), the string must contain all
8908alphanumeric characters (e.g., "*PNP0011" is not allowed because
8909of the asterisk.)
8910
8911Implemented checking for invalid use of ACPI reserved names for
8912most of the name creation operators (Name, Device, Event, Mutex,
8913OperationRegion, PowerResource, Processor, and ThermalZone.)
8914Previously, this check was only performed for control methods.
8915
8916Implemented an additional check on the Name operator to emit an
8917error if a reserved name that must be implemented in ASL as a
8918control method is used.  We know that a reserved name must be a
8919method if it is defined with input arguments.
8920
8921The warning emitted when a namespace object reference is not found
8922during the cross reference phase has been changed into an error.
8923The "External" directive should be used for names defined in other
8924modules.
8925
8926
89274) Tools and Utilities
8928
8929The 16-bit tools (adump16 and aexec16) have been regenerated and
8930tested.
8931
8932Fixed a problem with the output of both acpidump and adump16 where
8933the indentation of closing parentheses and brackets was not
8934
8935aligned properly with the parent block.
8936
8937
8938----------------------------------------
893903 May 2002.  Summary of changes for this release.
8940
8941
89421) ACPI CA Core Subsystem Version 20020503:
8943
8944Added support a new OSL interface that allows the host operating
8945
8946system software to override the DSDT found in the firmware -
8947AcpiOsTableOverride.  With this interface, the OSL can examine the
8948version of the firmware DSDT and replace it with a different one
8949if desired.
8950
8951Added new external interfaces for accessing ACPI registers from
8952device drivers and other system software - AcpiGetRegister and
8953AcpiSetRegister.  This was simply an externalization of the
8954existing AcpiHwBitRegister interfaces.
8955
8956Fixed a regression introduced in the previous build where the
8957ASL/AML CreateField operator always returned an error,
8958"destination must be a NS Node".
8959
8960Extended the maximum time (before failure) to successfully enable
8961ACPI mode to 3 seconds.
8962
8963Code and Data Size: Current core subsystem library sizes are shown
8964below.  These are the code and data sizes for the acpica.lib
8965produced by the Microsoft Visual C++ 6.0 compiler, and these
8966values do not include any ACPI driver or OSPM code.  The debug
8967version of the code includes the debug output trace mechanism and
8968has a larger code and data size.  Note that these values will vary
8969depending on the efficiency of the compiler and the compiler
8970options used during generation.
8971
8972  Previous Release
8973    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8974    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8975  Current Release:
8976    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8977    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8978
8979
89802) Linux
8981
8982Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
8983free. While 3 out of 4 of our in-house systems work fine, the last
8984one still hangs when testing the LAPIC timer.
8985
8986Renamed many files in 2.5 kernel release to omit "acpi_" from the
8987name.
8988
8989Added warning on boot for Presario 711FR.
8990
8991Sleep improvements (Pavel Machek)
8992
8993ACPI can now be built without CONFIG_PCI enabled.
8994
8995IA64: Fixed memory map functions (JI Lee)
8996
8997
89983) iASL Compiler Version X2043:
8999
9000Added support to allow the compiler to be integrated into the MS
9001VC++ development environment for one-button compilation of single
9002files or entire projects -- with error-to-source-line mapping.
9003
9004Implemented support for compile-time constant folding for the
9005Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
9006specification.  This allows the ASL writer to use expressions
9007instead of Integer/Buffer/String constants in terms that must
9008evaluate to constants at compile time and will also simplify the
9009emitted AML in any such sub-expressions that can be folded
9010(evaluated at compile-time.)  This increases the size of the
9011compiler significantly because a portion of the ACPI CA AML
9012interpreter is included within the compiler in order to pre-
9013evaluate constant expressions.
9014
9015
9016Fixed a problem with the "Unicode" ASL macro that caused the
9017compiler to fault.  (This macro is used in conjunction with the
9018_STR reserved name.)
9019
9020Implemented an AML opcode optimization to use the Zero, One, and
9021Ones opcodes where possible to further reduce the size of integer
9022constants and thus reduce the overall size of the generated AML
9023code.
9024
9025Implemented error checking for new reserved terms for ACPI version
90262.0A.
9027
9028Implemented the -qr option to display the current list of ACPI
9029reserved names known to the compiler.
9030
9031Implemented the -qc option to display the current list of ASL
9032operators that are allowed within constant expressions and can
9033therefore be folded at compile time if the operands are constants.
9034
9035
90364) Documentation
9037
9038Updated the Programmer's Reference for new interfaces, data types,
9039and memory allocation model options.
9040
9041Updated the iASL Compiler User Reference to apply new format and
9042add information about new features and options.
9043
9044----------------------------------------
904519 April 2002.  Summary of changes for this release.
9046
90471) ACPI CA Core Subsystem Version 20020419:
9048
9049The source code base for the Core Subsystem has been completely
9050cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
9051versions.  The Lint option files used are included in the
9052/acpi/generate/lint directory.
9053
9054Implemented enhanced status/error checking across the entire
9055Hardware manager subsystem.  Any hardware errors (reported from
9056the OSL) are now bubbled up and will abort a running control
9057method.
9058
9059
9060Fixed a problem where the per-ACPI-table integer width (32 or 64)
9061was stored only with control method nodes, causing a fault when
9062non-control method code was executed during table loading.  The
9063solution implemented uses a global variable to indicate table
9064width across the entire ACPI subsystem.  Therefore, ACPI CA does
9065not support mixed integer widths across different ACPI tables
9066(DSDT, SSDT).
9067
9068Fixed a problem where NULL extended fields (X fields) in an ACPI
90692.0 ACPI FADT caused the table load to fail.  Although the
9070existing ACPI specification is a bit fuzzy on this topic, the new
9071behavior is to fall back on a ACPI 1.0 field if the corresponding
9072ACPI 2.0 X field is zero (even though the table revision indicates
9073a full ACPI 2.0 table.)  The ACPI specification will be updated to
9074clarify this issue.
9075
9076Fixed a problem with the SystemMemory operation region handler
9077where memory was always accessed byte-wise even if the AML-
9078specified access width was larger than a byte.  This caused
9079problems on systems with memory-mapped I/O.  Memory is now
9080accessed with the width specified.  On systems that do not support
9081non-aligned transfers, a check is made to guarantee proper address
9082alignment before proceeding in order to avoid an AML-caused
9083alignment fault within the kernel.
9084
9085
9086Fixed a problem with the ExtendedIrq resource where only one byte
9087of the 4-byte Irq field was extracted.
9088
9089Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
9090function was out of date and required a rewrite.
9091
9092Code and Data Size: Current core subsystem library sizes are shown
9093below.  These are the code and data sizes for the acpica.lib
9094produced by the Microsoft Visual C++ 6.0 compiler, and these
9095values do not include any ACPI driver or OSPM code.  The debug
9096version of the code includes the debug output trace mechanism and
9097has a larger code and data size.  Note that these values will vary
9098depending on the efficiency of the compiler and the compiler
9099options used during generation.
9100
9101  Previous Release
9102    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9103    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9104  Current Release:
9105    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9106    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9107
9108
91092) Linux
9110
9111PCI IRQ routing fixes (Dominik Brodowski)
9112
9113
91143) iASL Compiler Version X2042:
9115
9116Implemented an additional compile-time error check for a field
9117unit whose size + minimum access width would cause a run-time
9118access beyond the end-of-region.  Previously, only the field size
9119itself was checked.
9120
9121The Core subsystem and iASL compiler now share a common parse
9122object in preparation for compile-time evaluation of the type
91233/4/5 ASL operators.
9124
9125
9126----------------------------------------
9127Summary of changes for this release: 03_29_02
9128
91291) ACPI CA Core Subsystem Version 20020329:
9130
9131Implemented support for late evaluation of TermArg operands to
9132Buffer and Package objects.  This allows complex expressions to be
9133used in the declarations of these object types.
9134
9135Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
91361.0, if the field was larger than 32 bits, it was returned as a
9137buffer - otherwise it was returned as an integer.  In ACPI 2.0,
9138the field is returned as a buffer only if the field is larger than
913964 bits.  The TableRevision is now considered when making this
9140conversion to avoid incompatibility with existing ASL code.
9141
9142Implemented logical addressing for AcpiOsGetRootPointer.  This
9143allows an RSDP with either a logical or physical address.  With
9144this support, the host OS can now override all ACPI tables with
9145one logical RSDP.  Includes implementation of  "typed" pointer
9146support to allow a common data type for both physical and logical
9147pointers internally.  This required a change to the
9148AcpiOsGetRootPointer interface.
9149
9150Implemented the use of ACPI 2.0 Generic Address Structures for all
9151GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
9152mapped I/O for these ACPI features.
9153
9154Initialization now ignores not only non-required tables (All
9155tables other than the FADT, FACS, DSDT, and SSDTs), but also does
9156not validate the table headers of unrecognized tables.
9157
9158Fixed a problem where a notify handler could only be
9159installed/removed on an object of type Device.  All "notify"
9160
9161objects are now supported -- Devices, Processor, Power, and
9162Thermal.
9163
9164Removed most verbosity from the ACPI_DB_INFO debug level.  Only
9165critical information is returned when this debug level is enabled.
9166
9167Code and Data Size: Current core subsystem library sizes are shown
9168below.  These are the code and data sizes for the acpica.lib
9169produced by the Microsoft Visual C++ 6.0 compiler, and these
9170values do not include any ACPI driver or OSPM code.  The debug
9171version of the code includes the debug output trace mechanism and
9172has a larger code and data size.  Note that these values will vary
9173depending on the efficiency of the compiler and the compiler
9174options used during generation.
9175
9176  Previous Release
9177    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9178    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9179  Current Release:
9180    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9181    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9182
9183
91842) Linux:
9185
9186The processor driver (acpi_processor.c) now fully supports ACPI
91872.0-based processor performance control (e.g. Intel(R)
9188SpeedStep(TM) technology) Note that older laptops that only have
9189the Intel "applet" interface are not supported through this.  The
9190'limit' and 'performance' interface (/proc) are fully functional.
9191[Note that basic policy for controlling performance state
9192transitions will be included in the next version of ospmd.]  The
9193idle handler was modified to more aggressively use C2, and PIIX4
9194errata handling underwent a complete overhaul (big thanks to
9195Dominik Brodowski).
9196
9197Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
9198based devices in the ACPI namespace are now dynamically bound
9199(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
9200This allows, among other things, ACPI to resolve bus numbers for
9201subordinate PCI bridges.
9202
9203Enhanced PCI IRQ routing to get the proper bus number for _PRT
9204entries defined underneath PCI bridges.
9205
9206Added IBM 600E to bad bios list due to invalid _ADR value for
9207PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
9208
9209In the process of adding full MADT support (e.g. IOAPIC) for IA32
9210(acpi.c, mpparse.c) -- stay tuned.
9211
9212Added back visual differentiation between fixed-feature and
9213control-method buttons in dmesg.  Buttons are also subtyped (e.g.
9214button/power/PWRF) to simplify button identification.
9215
9216We no longer use -Wno-unused when compiling debug. Please ignore
9217any "_THIS_MODULE defined but not used" messages.
9218
9219Can now shut down the system using "magic sysrq" key.
9220
9221
92223) iASL Compiler version 2041:
9223
9224Fixed a problem where conversion errors for hex/octal/decimal
9225constants were not reported.
9226
9227Implemented a fix for the General Register template Address field.
9228This field was 8 bits when it should be 64.
9229
9230Fixed a problem where errors/warnings were no longer being emitted
9231within the listing output file.
9232
9233Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
9234exactly 4 characters, alphanumeric only.
9235
9236
9237
9238
9239----------------------------------------
9240Summary of changes for this release: 03_08_02
9241
9242
92431) ACPI CA Core Subsystem Version 20020308:
9244
9245Fixed a problem with AML Fields where the use of the "AccessAny"
9246keyword could cause an interpreter error due to attempting to read
9247or write beyond the end of the parent Operation Region.
9248
9249Fixed a problem in the SystemMemory Operation Region handler where
9250an attempt was made to map memory beyond the end of the region.
9251This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
9252errors on some Linux systems.
9253
9254Fixed a problem where the interpreter/namespace "search to root"
9255algorithm was not functioning for some object types.  Relaxed the
9256internal restriction on the search to allow upsearches for all
9257external object types as well as most internal types.
9258
9259
92602) Linux:
9261
9262We now use safe_halt() macro versus individual calls to sti | hlt.
9263
9264Writing to the processor limit interface should now work. "echo 1"
9265will increase the limit, 2 will decrease, and 0 will reset to the
9266
9267default.
9268
9269
92703) ASL compiler:
9271
9272Fixed segfault on Linux version.
9273
9274
9275----------------------------------------
9276Summary of changes for this release: 02_25_02
9277
92781) ACPI CA Core Subsystem:
9279
9280
9281Fixed a problem where the GPE bit masks were not initialized
9282properly, causing erratic GPE behavior.
9283
9284Implemented limited support for multiple calling conventions.  The
9285code can be generated with either the VPL (variable parameter
9286list, or "C") convention, or the FPL (fixed parameter list, or
9287"Pascal") convention.  The core subsystem is about 3.4% smaller
9288when generated with FPL.
9289
9290
92912) Linux
9292
9293Re-add some /proc/acpi/event functionality that was lost during
9294the rewrite
9295
9296Resolved issue with /proc events for fixed-feature buttons showing
9297up as the system device.
9298
9299Fixed checks on C2/C3 latencies to be inclusive of maximum values.
9300
9301Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
9302
9303Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
9304
9305Fixed limit interface & usage to fix bugs with passive cooling
9306hysterisis.
9307
9308Restructured PRT support.
9309
9310
9311----------------------------------------
9312Summary of changes for this label: 02_14_02
9313
9314
93151) ACPI CA Core Subsystem:
9316
9317Implemented support in AcpiLoadTable to allow loading of FACS and
9318FADT tables.
9319
9320Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
9321been removed.  All 64-bit platforms should be migrated to the ACPI
93222.0 tables.  The actbl71.h header has been removed from the source
9323tree.
9324
9325All C macros defined within the subsystem have been prefixed with
9326"ACPI_" to avoid collision with other system include files.
9327
9328Removed the return value for the two AcpiOsPrint interfaces, since
9329it is never used and causes lint warnings for ignoring the return
9330value.
9331
9332Added error checking to all internal mutex acquire and release
9333calls.  Although a failure from one of these interfaces is
9334probably a fatal system error, these checks will cause the
9335immediate abort of the currently executing method or interface.
9336
9337Fixed a problem where the AcpiSetCurrentResources interface could
9338fault.  This was a side effect of the deployment of the new memory
9339allocation model.
9340
9341Fixed a couple of problems with the Global Lock support introduced
9342in the last major build.  The "common" (1.0/2.0) internal FACS was
9343being overwritten with the FACS signature and clobbering the
9344Global Lock pointer.  Also, the actual firmware FACS was being
9345unmapped after construction of the "common" FACS, preventing
9346access to the actual Global Lock field within it.  The "common"
9347internal FACS is no longer installed as an actual ACPI table; it
9348is used simply as a global.
9349
9350Code and Data Size: Current core subsystem library sizes are shown
9351below.  These are the code and data sizes for the acpica.lib
9352produced by the Microsoft Visual C++ 6.0 compiler, and these
9353values do not include any ACPI driver or OSPM code.  The debug
9354version of the code includes the debug output trace mechanism and
9355has a larger code and data size.  Note that these values will vary
9356depending on the efficiency of the compiler and the compiler
9357options used during generation.
9358
9359  Previous Release (02_07_01)
9360    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9361    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9362  Current Release:
9363    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9364    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9365
9366
93672) Linux
9368
9369Updated Linux-specific code for core macro and OSL interface
9370changes described above.
9371
9372Improved /proc/acpi/event. It now can be opened only once and has
9373proper poll functionality.
9374
9375Fixed and restructured power management (acpi_bus).
9376
9377Only create /proc "view by type" when devices of that class exist.
9378
9379Fixed "charging/discharging" bug (and others) in acpi_battery.
9380
9381Improved thermal zone code.
9382
9383
93843) ASL Compiler, version X2039:
9385
9386
9387Implemented the new compiler restriction on ASL String hex/octal
9388escapes to non-null, ASCII values.  An error results if an invalid
9389value is used.  (This will require an ACPI 2.0 specification
9390change.)
9391
9392AML object labels that are output to the optional C and ASM source
9393are now prefixed with both the ACPI table signature and table ID
9394to help guarantee uniqueness within a large BIOS project.
9395
9396
9397----------------------------------------
9398Summary of changes for this label: 02_01_02
9399
94001) ACPI CA Core Subsystem:
9401
9402ACPI 2.0 support is complete in the entire Core Subsystem and the
9403ASL compiler. All new ACPI 2.0 operators are implemented and all
9404other changes for ACPI 2.0 support are complete.  With
9405simultaneous code and data optimizations throughout the subsystem,
9406ACPI 2.0 support has been implemented with almost no additional
9407cost in terms of code and data size.
9408
9409Implemented a new mechanism for allocation of return buffers.  If
9410the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
9411be allocated on behalf of the caller.  Consolidated all return
9412buffer validation and allocation to a common procedure.  Return
9413buffers will be allocated via the primary OSL allocation interface
9414since it appears that a separate pool is not needed by most users.
9415If a separate pool is required for these buffers, the caller can
9416still use the original mechanism and pre-allocate the buffer(s).
9417
9418Implemented support for string operands within the DerefOf
9419operator.
9420
9421Restructured the Hardware and Event managers to be table driven,
9422simplifying the source code and reducing the amount of generated
9423code.
9424
9425Split the common read/write low-level ACPI register bitfield
9426procedure into a separate read and write, simplifying the code
9427considerably.
9428
9429Obsoleted the AcpiOsCallocate OSL interface.  This interface was
9430used only a handful of times and didn't have enough critical mass
9431for a separate interface.  Replaced with a common calloc procedure
9432in the core.
9433
9434Fixed a reported problem with the GPE number mapping mechanism
9435that allows GPE1 numbers to be non-contiguous with GPE0.
9436Reorganized the GPE information and shrunk a large array that was
9437originally large enough to hold info for all possible GPEs (256)
9438to simply large enough to hold all GPEs up to the largest GPE
9439number on the machine.
9440
9441Fixed a reported problem with resource structure alignment on 64-
9442bit platforms.
9443
9444Changed the AcpiEnableEvent and AcpiDisableEvent external
9445interfaces to not require any flags for the common case of
9446enabling/disabling a GPE.
9447
9448Implemented support to allow a "Notify" on a Processor object.
9449
9450Most TBDs in comments within the source code have been resolved
9451and eliminated.
9452
9453
9454Fixed a problem in the interpreter where a standalone parent
9455prefix (^) was not handled correctly in the interpreter and
9456debugger.
9457
9458Removed obsolete and unnecessary GPE save/restore code.
9459
9460Implemented Field support in the ASL Load operator.  This allows a
9461table to be loaded from a named field, in addition to loading a
9462table directly from an Operation Region.
9463
9464Implemented timeout and handle support in the external Global Lock
9465interfaces.
9466
9467Fixed a problem in the AcpiDump utility where pathnames were no
9468longer being generated correctly during the dump of named objects.
9469
9470Modified the AML debugger to give a full display of if/while
9471predicates instead of just one AML opcode at a time.  (The
9472predicate can have several nested ASL statements.)  The old method
9473was confusing during single stepping.
9474
9475Code and Data Size: Current core subsystem library sizes are shown
9476below. These are the code and data sizes for the acpica.lib
9477produced by the Microsoft Visual C++ 6.0 compiler, and these
9478values do not include any ACPI driver or OSPM code.  The debug
9479version of the code includes the debug output trace mechanism and
9480has a larger code and data size.  Note that these values will vary
9481depending on the efficiency of the compiler and the compiler
9482options used during generation.
9483
9484  Previous Release (12_18_01)
9485     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9486     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9487   Current Release:
9488     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9489     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9490
94912) Linux
9492
9493 Implemented fix for PIIX reverse throttling errata (Processor
9494driver)
9495
9496Added new Limit interface (Processor and Thermal drivers)
9497
9498New thermal policy (Thermal driver)
9499
9500Many updates to /proc
9501
9502Battery "low" event support (Battery driver)
9503
9504Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9505
9506IA32 - IA64 initialization unification, no longer experimental
9507
9508Menuconfig options redesigned
9509
95103) ASL Compiler, version X2037:
9511
9512Implemented several new output features to simplify integration of
9513AML code into  firmware: 1) Output the AML in C source code with
9514labels for each named ASL object.  The    original ASL source code
9515is interleaved as C comments. 2) Output the AML in ASM source code
9516with labels and interleaved ASL    source. 3) Output the AML in
9517raw hex table form, in either C or ASM.
9518
9519Implemented support for optional string parameters to the
9520LoadTable operator.
9521
9522Completed support for embedded escape sequences within string
9523literals.  The compiler now supports all single character escapes
9524as well as the Octal and Hex escapes.  Note: the insertion of a
9525null byte into a string literal (via the hex/octal escape) causes
9526the string to be immediately terminated.  A warning is issued.
9527
9528Fixed a problem where incorrect AML was generated for the case
9529where an ASL namepath consists of a single parent prefix (
9530
9531) with no trailing name segments.
9532
9533The compiler has been successfully generated with a 64-bit C
9534compiler.
9535
9536
9537
9538
9539----------------------------------------
9540Summary of changes for this label: 12_18_01
9541
95421) Linux
9543
9544Enhanced blacklist with reason and severity fields. Any table's
9545signature may now be used to identify a blacklisted system.
9546
9547Call _PIC control method to inform the firmware which interrupt
9548model the OS is using. Turn on any disabled link devices.
9549
9550Cleaned up busmgr /proc error handling (Andreas Dilger)
9551
9552 2) ACPI CA Core Subsystem:
9553
9554Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
9555while loop)
9556
9557Completed implementation of the ACPI 2.0 "Continue",
9558"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9559operators.  All new ACPI 2.0 operators are now implemented in both
9560the ASL compiler and the AML interpreter.  The only remaining ACPI
95612.0 task is support for the String data type in the DerefOf
9562operator.  Fixed a problem with AcquireMutex where the status code
9563was lost if the caller had to actually wait for the mutex.
9564
9565Increased the maximum ASL Field size from 64K bits to 4G bits.
9566
9567Completed implementation of the external Global Lock interfaces --
9568AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
9569Handler parameters were added.
9570
9571Completed another pass at removing warnings and issues when
9572compiling with 64-bit compilers.  The code now compiles cleanly
9573with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
9574add and subtract (diff) macros have changed considerably.
9575
9576
9577Created and deployed a new ACPI_SIZE type that is 64-bits wide on
957864-bit platforms, 32-bits on all others.  This type is used
9579wherever memory allocation and/or the C sizeof() operator is used,
9580and affects the OSL memory allocation interfaces AcpiOsAllocate
9581and AcpiOsCallocate.
9582
9583Implemented sticky user breakpoints in the AML debugger.
9584
9585Code and Data Size: Current core subsystem library sizes are shown
9586below. These are the code and data sizes for the acpica.lib
9587produced by the Microsoft Visual C++ 6.0 compiler, and these
9588values do not include any ACPI driver or OSPM code.  The debug
9589version of the code includes the debug output trace mechanism and
9590has a larger code and data size. Note that these values will vary
9591depending on the efficiency of the compiler and the compiler
9592options used during generation.
9593
9594  Previous Release (12_05_01)
9595     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9596     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9597   Current Release:
9598     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9599     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9600
9601 3) ASL Compiler, version X2034:
9602
9603Now checks for (and generates an error if detected) the use of a
9604Break or Continue statement without an enclosing While statement.
9605
9606
9607Successfully generated the compiler with the Intel 64-bit C
9608compiler.
9609
9610 ----------------------------------------
9611Summary of changes for this label: 12_05_01
9612
9613 1) ACPI CA Core Subsystem:
9614
9615The ACPI 2.0 CopyObject operator is fully implemented.  This
9616operator creates a new copy of an object (and is also used to
9617bypass the "implicit conversion" mechanism of the Store operator.)
9618
9619The ACPI 2.0 semantics for the SizeOf operator are fully
9620implemented.  The change is that performing a SizeOf on a
9621reference object causes an automatic dereference of the object to
9622tha actual value before the size is evaluated. This behavior was
9623undefined in ACPI 1.0.
9624
9625The ACPI 2.0 semantics for the Extended IRQ resource descriptor
9626have been implemented.  The interrupt polarity and mode are now
9627independently set.
9628
9629Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
9630appearing in Package objects were not properly converted to
9631integers when the internal Package was converted to an external
9632object (via the AcpiEvaluateObject interface.)
9633
9634Fixed a problem with the namespace object deletion mechanism for
9635objects created by control methods.  There were two parts to this
9636problem: 1) Objects created during the initialization phase method
9637parse were not being deleted, and 2) The object owner ID mechanism
9638to track objects was broken.
9639
9640Fixed a problem where the use of the ASL Scope operator within a
9641control method would result in an invalid opcode exception.
9642
9643Fixed a problem introduced in the previous label where the buffer
9644length required for the _PRT structure was not being returned
9645correctly.
9646
9647Code and Data Size: Current core subsystem library sizes are shown
9648below. These are the code and data sizes for the acpica.lib
9649produced by the Microsoft Visual C++ 6.0 compiler, and these
9650values do not include any ACPI driver or OSPM code.  The debug
9651version of the code includes the debug output trace mechanism and
9652has a larger code and data size.  Note that these values will vary
9653depending on the efficiency of the compiler and the compiler
9654options used during generation.
9655
9656  Previous Release (11_20_01)
9657     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9658     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9659
9660  Current Release:
9661     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9662     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9663
9664 2) Linux:
9665
9666Updated all files to apply cleanly against 2.4.16.
9667
9668Added basic PCI Interrupt Routing Table (PRT) support for IA32
9669(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
9670version supports both static and dyanmic PRT entries, but dynamic
9671entries are treated as if they were static (not yet
9672reconfigurable).  Architecture- specific code to use this data is
9673absent on IA32 but should be available shortly.
9674
9675Changed the initialization sequence to start the ACPI interpreter
9676(acpi_init) prior to initialization of the PCI driver (pci_init)
9677in init/main.c.  This ordering is required to support PRT and
9678facilitate other (future) enhancement.  A side effect is that the
9679ACPI bus driver and certain device drivers can no longer be loaded
9680as modules.
9681
9682Modified the 'make menuconfig' options to allow PCI Interrupt
9683Routing support to be included without the ACPI Bus and other
9684device drivers.
9685
9686 3) ASL Compiler, version X2033:
9687
9688Fixed some issues with the use of the new CopyObject and
9689DataTableRegion operators.  Both are fully functional.
9690
9691 ----------------------------------------
9692Summary of changes for this label: 11_20_01
9693
9694 20 November 2001.  Summary of changes for this release.
9695
9696 1) ACPI CA Core Subsystem:
9697
9698Updated Index support to match ACPI 2.0 semantics.  Storing a
9699Integer, String, or Buffer to an Index of a Buffer will store only
9700the least-significant byte of the source to the Indexed buffer
9701byte.  Multiple writes are not performed.
9702
9703Fixed a problem where the access type used in an AccessAs ASL
9704operator was not recorded correctly into the field object.
9705
9706Fixed a problem where ASL Event objects were created in a
9707signalled state. Events are now created in an unsignalled state.
9708
9709The internal object cache is now purged after table loading and
9710initialization to reduce the use of dynamic kernel memory -- on
9711the assumption that object use is greatest during the parse phase
9712of the entire table (versus the run-time use of individual control
9713methods.)
9714
9715ACPI 2.0 variable-length packages are now fully operational.
9716
9717Code and Data Size: Code and Data optimizations have permitted new
9718feature development with an actual reduction in the library size.
9719Current core subsystem library sizes are shown below.  These are
9720the code and data sizes for the acpica.lib produced by the
9721Microsoft Visual C++ 6.0 compiler, and these values do not include
9722any ACPI driver or OSPM code.  The debug version of the code
9723includes the debug output trace mechanism and has a larger code
9724and data size.  Note that these values will vary depending on the
9725efficiency of the compiler and the compiler options used during
9726generation.
9727
9728  Previous Release (11_09_01):
9729     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9730     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9731
9732  Current Release:
9733     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9734     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9735
9736 2) Linux:
9737
9738Enhanced the ACPI boot-time initialization code to allow the use
9739of Local APIC tables for processor enumeration on IA-32, and to
9740pave the way for a fully MPS-free boot (on SMP systems) in the
9741near future.  This functionality replaces
9742arch/i386/kernel/acpitables.c, which was introduced in an earlier
97432.4.15-preX release.  To enable this feature you must add
9744"acpi_boot=on" to the kernel command line -- see the help entry
9745for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
9746the works...
9747
9748Restructured the configuration options to allow boot-time table
9749parsing support without inclusion of the ACPI Interpreter (and
9750other) code.
9751
9752NOTE: This release does not include fixes for the reported events,
9753power-down, and thermal passive cooling issues (coming soon).
9754
9755 3) ASL Compiler:
9756
9757Added additional typechecking for Fields within restricted access
9758Operation Regions.  All fields within EC and CMOS regions must be
9759declared with ByteAcc. All fields withing SMBus regions must be
9760declared with the BufferAcc access type.
9761
9762Fixed a problem where the listing file output of control methods
9763no longer interleaved the actual AML code with the ASL source
9764code.
9765
9766
9767
9768
9769----------------------------------------
9770Summary of changes for this label: 11_09_01
9771
97721) ACPI CA Core Subsystem:
9773
9774Implemented ACPI 2.0-defined support for writes to fields with a
9775Buffer, String, or Integer source operand that is smaller than the
9776target field. In these cases, the source operand is zero-extended
9777to fill the target field.
9778
9779Fixed a problem where a Field starting bit offset (within the
9780parent operation region) was calculated incorrectly if the
9781
9782alignment of the field differed from the access width.  This
9783affected CreateWordField, CreateDwordField, CreateQwordField, and
9784possibly other fields that use the "AccessAny" keyword.
9785
9786Fixed a problem introduced in the 11_02_01 release where indirect
9787stores through method arguments did not operate correctly.
9788
97892) Linux:
9790
9791Implemented boot-time ACPI table parsing support
9792(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
9793facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
9794legacy BIOS interfaces (e.g. MPS) for the configuration of system
9795processors, memory, and interrupts during setup_arch().  Note that
9796this patch does not include the required architecture-specific
9797changes required to apply this information -- subsequent patches
9798will be posted for both IA32 and IA64 to achieve this.
9799
9800Added low-level sleep support for IA32 platforms, courtesy of Pat
9801Mochel. This allows IA32 systems to transition to/from various
9802sleeping states (e.g. S1, S3), although the lack of a centralized
9803driver model and power-manageable drivers will prevent its
9804(successful) use on most systems.
9805
9806Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
9807submenu, unified IA32 and IA64 options, added new "Boot using ACPI
9808tables" option, etc.
9809
9810Increased the default timeout for the EC driver from 1ms to 10ms
9811(1000 cycles of 10us) to try to address AE_TIME errors during EC
9812transactions.
9813
9814 ----------------------------------------
9815Summary of changes for this label: 11_02_01
9816
98171) ACPI CA Core Subsystem:
9818
9819ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
9820(QWordAcc keyword). All ACPI 2.0 64-bit support is now
9821implemented.
9822
9823OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
9824changes to support ACPI 2.0 Qword field access.  Read/Write
9825PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
9826accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
9827the value parameter for the address space handler interface is now
9828an ACPI_INTEGER.  OSL implementations of these interfaces must now
9829handle the case where the Width parameter is 64.
9830
9831Index Fields: Fixed a problem where unaligned bit assembly and
9832disassembly for IndexFields was not supported correctly.
9833
9834Index and Bank Fields:  Nested Index and Bank Fields are now
9835supported. During field access, a check is performed to ensure
9836that the value written to an Index or Bank register is not out of
9837the range of the register.  The Index (or Bank) register is
9838written before each access to the field data. Future support will
9839include allowing individual IndexFields to be wider than the
9840DataRegister width.
9841
9842Fields: Fixed a problem where the AML interpreter was incorrectly
9843attempting to write beyond the end of a Field/OpRegion.  This was
9844a boundary case that occurred when a DWORD field was written to a
9845BYTE access OpRegion, forcing multiple writes and causing the
9846interpreter to write one datum too many.
9847
9848Fields: Fixed a problem with Field/OpRegion access where the
9849starting bit address of a field was incorrectly calculated if the
9850current access type was wider than a byte (WordAcc, DwordAcc, or
9851QwordAcc).
9852
9853Fields: Fixed a problem where forward references to individual
9854FieldUnits (individual Field names within a Field definition) were
9855not resolved during the AML table load.
9856
9857Fields: Fixed a problem where forward references from a Field
9858definition to the parent Operation Region definition were not
9859resolved during the AML table load.
9860
9861Fields: Duplicate FieldUnit names within a scope are now detected
9862during AML table load.
9863
9864Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
9865returned an incorrect name for the root node.
9866
9867Code and Data Size: Code and Data optimizations have permitted new
9868feature development with an actual reduction in the library size.
9869Current core subsystem library sizes are shown below.  These are
9870the code and data sizes for the acpica.lib produced by the
9871Microsoft Visual C++ 6.0 compiler, and these values do not include
9872any ACPI driver or OSPM code.  The debug version of the code
9873includes the debug output trace mechanism and has a larger code
9874and data size.  Note that these values will vary depending on the
9875efficiency of the compiler and the compiler options used during
9876generation.
9877
9878  Previous Release (10_18_01):
9879     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9880     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9881
9882  Current Release:
9883     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9884     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9885
9886 2) Linux:
9887
9888Improved /proc processor output (Pavel Machek) Re-added
9889MODULE_LICENSE("GPL") to all modules.
9890
9891 3) ASL Compiler version X2030:
9892
9893Duplicate FieldUnit names within a scope are now detected and
9894flagged as errors.
9895
9896 4) Documentation:
9897
9898Programmer Reference updated to reflect OSL and address space
9899handler interface changes described above.
9900
9901----------------------------------------
9902Summary of changes for this label: 10_18_01
9903
9904ACPI CA Core Subsystem:
9905
9906Fixed a problem with the internal object reference count mechanism
9907that occasionally caused premature object deletion. This resolves
9908all of the outstanding problem reports where an object is deleted
9909in the middle of an interpreter evaluation.  Although this problem
9910only showed up in rather obscure cases, the solution to the
9911problem involved an adjustment of all reference counts involving
9912objects attached to namespace nodes.
9913
9914Fixed a problem with Field support in the interpreter where
9915writing to an aligned field whose length is an exact multiple (2
9916or greater) of the field access granularity would cause an attempt
9917to write beyond the end of the field.
9918
9919The top level AML opcode execution functions within the
9920interpreter have been renamed with a more meaningful and
9921consistent naming convention.  The modules exmonad.c and
9922exdyadic.c were eliminated.  New modules are exoparg1.c,
9923exoparg2.c, exoparg3.c, and exoparg6.c.
9924
9925Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
9926
9927Fixed a problem where the AML debugger was causing some internal
9928objects to not be deleted during subsystem termination.
9929
9930Fixed a problem with the external AcpiEvaluateObject interface
9931where the subsystem would fault if the named object to be
9932evaluated refered to a constant such as Zero, Ones, etc.
9933
9934Fixed a problem with IndexFields and BankFields where the
9935subsystem would fault if the index, data, or bank registers were
9936not defined in the same scope as the field itself.
9937
9938Added printf format string checking for compilers that support
9939this feature.  Corrected more than 50 instances of issues with
9940format specifiers within invocations of ACPI_DEBUG_PRINT
9941throughout the core subsystem code.
9942
9943The ASL "Revision" operator now returns the ACPI support level
9944implemented in the core - the value "2" since the ACPI 2.0 support
9945is more than 50% implemented.
9946
9947Enhanced the output of the AML debugger "dump namespace" command
9948to output in a more human-readable form.
9949
9950Current core subsystem library code sizes are shown below.  These
9951
9952are the code and data sizes for the acpica.lib produced by the
9953Microsoft Visual C++ 6.0 compiler, and these values do not include
9954any ACPI driver or OSPM code.  The debug version of the code
9955includes the full debug trace mechanism -- leading to a much
9956
9957larger code and data size.  Note that these values will vary
9958depending on the efficiency of the compiler and the compiler
9959options used during generation.
9960
9961     Previous Label (09_20_01):
9962     Non-Debug Version:    65K Code,     5K Data,     70K Total
9963     Debug Version:       138K Code,    58K Data,    196K Total
9964
9965     This Label:
9966
9967     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9968     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9969
9970Linux:
9971
9972Implemented a "Bad BIOS Blacklist" to track machines that have
9973known ASL/AML problems.
9974
9975Enhanced the /proc interface for the thermal zone driver and added
9976support for _HOT (the critical suspend trip point).  The 'info'
9977file now includes threshold/policy information, and allows setting
9978of _SCP (cooling preference) and _TZP (polling frequency) values
9979to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
9980frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
9981preference to the passive/quiet mode (if supported by the ASL).
9982
9983Implemented a workaround for a gcc bug that resuted in an OOPs
9984when loading the control method battery driver.
9985
9986 ----------------------------------------
9987Summary of changes for this label: 09_20_01
9988
9989 ACPI CA Core Subsystem:
9990
9991The AcpiEnableEvent and AcpiDisableEvent interfaces have been
9992modified to allow individual GPE levels to be flagged as wake-
9993enabled (i.e., these GPEs are to remain enabled when the platform
9994sleeps.)
9995
9996The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
9997support wake-enabled GPEs.  This means that upon entering the
9998sleep state, all GPEs that are not wake-enabled are disabled.
9999When leaving the sleep state, these GPEs are reenabled.
10000
10001A local double-precision divide/modulo module has been added to
10002enhance portability to OS kernels where a 64-bit math library is
10003not available.  The new module is "utmath.c".
10004
10005Several optimizations have been made to reduce the use of CPU
10006stack.  Originally over 2K, the maximum stack usage is now below
100072K at 1860  bytes (1.82k)
10008
10009Fixed a problem with the AcpiGetFirmwareTable interface where the
10010root table pointer was not mapped into a logical address properly.
10011
10012Fixed a problem where a NULL pointer was being dereferenced in the
10013interpreter code for the ASL Notify operator.
10014
10015Fixed a problem where the use of the ASL Revision operator
10016returned an error. This operator now returns the current version
10017of the ACPI CA core subsystem.
10018
10019Fixed a problem where objects passed as control method parameters
10020to AcpiEvaluateObject were always deleted at method termination.
10021However, these objects may end up being stored into the namespace
10022by the called method.  The object reference count mechanism was
10023applied to these objects instead of a force delete.
10024
10025Fixed a problem where static strings or buffers (contained in the
10026AML code) that are declared as package elements within the ASL
10027code could cause a fault because the interpreter would attempt to
10028delete them.  These objects are now marked with the "static
10029object" flag to prevent any attempt to delete them.
10030
10031Implemented an interpreter optimization to use operands directly
10032from the state object instead of extracting the operands to local
10033variables.  This reduces stack use and code size, and improves
10034performance.
10035
10036The module exxface.c was eliminated as it was an unnecessary extra
10037layer of code.
10038
10039Current core subsystem library code sizes are shown below.  These
10040are the code and data sizes for the acpica.lib produced by the
10041Microsoft Visual C++ 6.0 compiler, and these values do not include
10042any ACPI driver or OSPM code.  The debug version of the code
10043includes the full debug trace mechanism -- leading to a much
10044larger code and data size.  Note that these values will vary
10045depending on the efficiency of the compiler and the compiler
10046options used during generation.
10047
10048  Non-Debug Version:  65K Code,   5K Data,   70K Total
10049(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
10050Total  (Previously 195K)
10051
10052Linux:
10053
10054Support for ACPI 2.0 64-bit integers has been added.   All ACPI
10055Integer objects are now 64 bits wide
10056
10057All Acpi data types and structures are now in lower case.  Only
10058Acpi macros are upper case for differentiation.
10059
10060 Documentation:
10061
10062Changes to the external interfaces as described above.
10063
10064 ----------------------------------------
10065Summary of changes for this label: 08_31_01
10066
10067 ACPI CA Core Subsystem:
10068
10069A bug with interpreter implementation of the ASL Divide operator
10070was found and fixed.  The implicit function return value (not the
10071explicit store operands) was returning the remainder instead of
10072the quotient.  This was a longstanding bug and it fixes several
10073known outstanding issues on various platforms.
10074
10075The ACPI_DEBUG_PRINT and function trace entry/exit macros have
10076been further optimized for size.  There are 700 invocations of the
10077DEBUG_PRINT macro alone, so each optimization reduces the size of
10078the debug version of the subsystem significantly.
10079
10080A stack trace mechanism has been implemented.  The maximum stack
10081usage is about 2K on 32-bit platforms.  The debugger command "stat
10082stack" will display the current maximum stack usage.
10083
10084All public symbols and global variables within the subsystem are
10085now prefixed with the string "Acpi".  This keeps all of the
10086symbols grouped together in a kernel map, and avoids conflicts
10087with other kernel subsystems.
10088
10089Most of the internal fixed lookup tables have been moved into the
10090code segment via the const operator.
10091
10092Several enhancements have been made to the interpreter to both
10093reduce the code size and improve performance.
10094
10095Current core subsystem library code sizes are shown below.  These
10096are the code and data sizes for the acpica.lib produced by the
10097Microsoft Visual C++ 6.0 compiler, and these values do not include
10098any ACPI driver or OSPM code.  The debug version of the code
10099includes the full debug trace mechanism which contains over 700
10100invocations of the DEBUG_PRINT macro, 500 function entry macro
10101invocations, and over 900 function exit macro invocations --
10102leading to a much larger code and data size.  Note that these
10103values will vary depending on the efficiency of the compiler and
10104the compiler options used during generation.
10105
10106        Non-Debug Version:  64K Code,   5K Data,   69K Total
10107Debug Version:     137K Code,  58K Data,  195K Total
10108
10109 Linux:
10110
10111Implemented wbinvd() macro, pending a kernel-wide definition.
10112
10113Fixed /proc/acpi/event to handle poll() and short reads.
10114
10115 ASL Compiler, version X2026:
10116
10117Fixed a problem introduced in the previous label where the AML
10118
10119code emitted for package objects produced packages with zero
10120length.
10121
10122 ----------------------------------------
10123Summary of changes for this label: 08_16_01
10124
10125ACPI CA Core Subsystem:
10126
10127The following ACPI 2.0 ASL operators have been implemented in the
10128AML interpreter (These are already supported by the Intel ASL
10129compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
10130ToBuffer.  Support for 64-bit AML constants is implemented in the
10131AML parser, debugger, and disassembler.
10132
10133The internal memory tracking mechanism (leak detection code) has
10134been upgraded to reduce the memory overhead (a separate tracking
10135block is no longer allocated for each memory allocation), and now
10136supports all of the internal object caches.
10137
10138The data structures and code for the internal object caches have
10139been coelesced and optimized so that there is a single cache and
10140memory list data structure and a single group of functions that
10141implement generic cache management.  This has reduced the code
10142size in both the debug and release versions of the subsystem.
10143
10144The DEBUG_PRINT macro(s) have been optimized for size and replaced
10145by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
10146different, because it generates a single call to an internal
10147function.  This results in a savings of about 90 bytes per
10148invocation, resulting in an overall code and data savings of about
1014916% in the debug version of the subsystem.
10150
10151 Linux:
10152
10153Fixed C3 disk corruption problems and re-enabled C3 on supporting
10154machines.
10155
10156Integrated low-level sleep code by Patrick Mochel.
10157
10158Further tweaked source code Linuxization.
10159
10160Other minor fixes.
10161
10162 ASL Compiler:
10163
10164Support for ACPI 2.0 variable length packages is fixed/completed.
10165
10166Fixed a problem where the optional length parameter for the ACPI
101672.0 ToString operator.
10168
10169Fixed multiple extraneous error messages when a syntax error is
10170detected within the declaration line of a control method.
10171
10172 ----------------------------------------
10173Summary of changes for this label: 07_17_01
10174
10175ACPI CA Core Subsystem:
10176
10177Added a new interface named AcpiGetFirmwareTable to obtain any
10178ACPI table via the ACPI signature.  The interface can be called at
10179any time during kernel initialization, even before the kernel
10180virtual memory manager is initialized and paging is enabled.  This
10181allows kernel subsystems to obtain ACPI tables very early, even
10182before the ACPI CA subsystem is initialized.
10183
10184Fixed a problem where Fields defined with the AnyAcc attribute
10185could be resolved to the incorrect address under the following
10186conditions: 1) the field width is larger than 8 bits and 2) the
10187parent operation region is not defined on a DWORD boundary.
10188
10189Fixed a problem where the interpreter is not being locked during
10190namespace initialization (during execution of the _INI control
10191methods), causing an error when an attempt is made to release it
10192later.
10193
10194ACPI 2.0 support in the AML Interpreter has begun and will be
10195ongoing throughout the rest of this year.  In this label, The Mod
10196operator is implemented.
10197
10198Added a new data type to contain full PCI addresses named
10199ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
10200and Function values.
10201
10202 Linux:
10203
10204Enhanced the Linux version of the source code to change most
10205capitalized ACPI type names to lowercase. For example, all
10206instances of ACPI_STATUS are changed to acpi_status.  This will
10207result in a large diff, but the change is strictly cosmetic and
10208aligns the CA code closer to the Linux coding standard.
10209
10210OSL Interfaces:
10211
10212The interfaces to the PCI configuration space have been changed to
10213add the PCI Segment number and to split the single 32-bit combined
10214DeviceFunction field into two 16-bit fields.  This was
10215accomplished by moving the four values that define an address in
10216PCI configuration space (segment, bus, device, and function) to
10217the new ACPI_PCI_ID structure.
10218
10219The changes to the PCI configuration space interfaces led to a
10220reexamination of the complete set of address space access
10221interfaces for PCI, I/O, and Memory.  The previously existing 18
10222interfaces have proven difficult to maintain (any small change
10223must be propagated across at least 6 interfaces) and do not easily
10224allow for future expansion to 64 bits if necessary.  Also, on some
10225systems, it would not be appropriate to demultiplex the access
10226width (8, 16, 32,or 64) before calling the OSL if the
10227corresponding native OS interfaces contain a similar access width
10228parameter.  For these reasons, the 18 address space interfaces
10229have been replaced by these 6 new ones:
10230
10231AcpiOsReadPciConfiguration
10232AcpiOsWritePciConfiguration
10233AcpiOsReadMemory
10234AcpiOsWriteMemory
10235AcpiOsReadPort
10236AcpiOsWritePort
10237
10238Added a new interface named AcpiOsGetRootPointer to allow the OSL
10239to perform the platform and/or OS-specific actions necessary to
10240obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
10241interface will simply call down to the CA core to perform the low-
10242memory search for the table.  On IA-64, the RSDP is obtained from
10243EFI.  Migrating this interface to the OSL allows the CA core to
10244
10245remain OS and platform independent.
10246
10247Added a new interface named AcpiOsSignal to provide a generic
10248"function code and pointer" interface for various miscellaneous
10249signals and notifications that must be made to the host OS.   The
10250first such signals are intended to support the ASL Fatal and
10251Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
10252interface has been obsoleted.
10253
10254The definition of the AcpiFormatException interface has been
10255changed to simplify its use.  The caller no longer must supply a
10256buffer to the call; A pointer to a const string is now returned
10257directly.  This allows the call to be easily used in printf
10258statements, etc. since the caller does not have to manage a local
10259buffer.
10260
10261
10262 ASL Compiler, Version X2025:
10263
10264The ACPI 2.0 Switch/Case/Default operators have been implemented
10265and are fully functional.  They will work with all ACPI 1.0
10266interpreters, since the operators are simply translated to If/Else
10267pairs.
10268
10269The ACPI 2.0 ElseIf operator is implemented and will also work
10270with 1.0 interpreters, for the same reason.
10271
10272Implemented support for ACPI 2.0 variable-length packages.  These
10273packages have a separate opcode, and their size is determined by
10274the interpreter at run-time.
10275
10276Documentation The ACPI CA Programmer Reference has been updated to
10277reflect the new interfaces and changes to existing interfaces.
10278
10279 ------------------------------------------
10280Summary of changes for this label: 06_15_01
10281
10282 ACPI CA Core Subsystem:
10283
10284Fixed a problem where a DWORD-accessed field within a Buffer
10285object would get its byte address inadvertently rounded down to
10286the nearest DWORD.  Buffers are always Byte-accessible.
10287
10288 ASL Compiler, version X2024:
10289
10290Fixed a problem where the Switch() operator would either fault or
10291hang the compiler.  Note however, that the AML code for this ACPI
102922.0 operator is not yet implemented.
10293
10294Compiler uses the new AcpiOsGetTimer interface to obtain compile
10295timings.
10296
10297Implementation of the CreateField operator automatically converts
10298a reference to a named field within a resource descriptor from a
10299byte offset to a bit offset if required.
10300
10301Added some missing named fields from the resource descriptor
10302support. These are the names that are automatically created by the
10303compiler to reference fields within a descriptor.  They are only
10304valid at compile time and are not passed through to the AML
10305interpreter.
10306
10307Resource descriptor named fields are now typed as Integers and
10308subject to compile-time typechecking when used in expressions.
10309
10310 ------------------------------------------
10311Summary of changes for this label: 05_18_01
10312
10313 ACPI CA Core Subsystem:
10314
10315Fixed a couple of problems in the Field support code where bits
10316from adjacent fields could be returned along with the proper field
10317bits. Restructured the field support code to improve performance,
10318readability and maintainability.
10319
10320New DEBUG_PRINTP macro automatically inserts the procedure name
10321into the output, saving hundreds of copies of procedure name
10322strings within the source, shrinking the memory footprint of the
10323debug version of the core subsystem.
10324
10325 Source Code Structure:
10326
10327The source code directory tree was restructured to reflect the
10328current organization of the component architecture.  Some files
10329and directories have been moved and/or renamed.
10330
10331 Linux:
10332
10333Fixed leaking kacpidpc processes.
10334
10335Fixed queueing event data even when /proc/acpi/event is not
10336opened.
10337
10338 ASL Compiler, version X2020:
10339
10340Memory allocation performance enhancement - over 24X compile time
10341improvement on large ASL files.  Parse nodes and namestring
10342buffers are now allocated from a large internal compiler buffer.
10343
10344The temporary .SRC file is deleted unless the "-s" option is
10345specified
10346
10347The "-d" debug output option now sends all output to the .DBG file
10348instead of the console.
10349
10350"External" second parameter is now optional
10351
10352"ElseIf" syntax now properly allows the predicate
10353
10354Last operand to "Load" now recognized as a Target operand
10355
10356Debug object can now be used anywhere as a normal object.
10357
10358ResourceTemplate now returns an object of type BUFFER
10359
10360EISAID now returns an object of type INTEGER
10361
10362"Index" now works with a STRING operand
10363
10364"LoadTable" now accepts optional parameters
10365
10366"ToString" length parameter is now optional
10367
10368"Interrupt (ResourceType," parse error fixed.
10369
10370"Register" with a user-defined region space parse error fixed
10371
10372Escaped backslash at the end of a string ("\\") scan/parse error
10373fixed
10374
10375"Revision" is now an object of type INTEGER.
10376
10377
10378
10379------------------------------------------
10380Summary of changes for this label: 05_02_01
10381
10382Linux:
10383
10384/proc/acpi/event now blocks properly.
10385
10386Removed /proc/sys/acpi. You can still dump your DSDT from
10387/proc/acpi/dsdt.
10388
10389 ACPI CA Core Subsystem:
10390
10391Fixed a problem introduced in the previous label where some of the
10392"small" resource descriptor types were not recognized.
10393
10394Improved error messages for the case where an ASL Field is outside
10395the range of the parent operation region.
10396
10397 ASL Compiler, version X2018:
10398
10399
10400Added error detection for ASL Fields that extend beyond the length
10401of the parent operation region (only if the length of the region
10402is known at compile time.)  This includes fields that have a
10403minimum access width that is smaller than the parent region, and
10404individual field units that are partially or entirely beyond the
10405extent of the parent.
10406
10407
10408
10409------------------------------------------
10410Summary of changes for this label: 04_27_01
10411
10412 ACPI CA Core Subsystem:
10413
10414Fixed a problem where the namespace mutex could be released at the
10415wrong time during execution of AcpiRemoveAddressSpaceHandler.
10416
10417Added optional thread ID output for debug traces, to simplify
10418debugging of multiple threads.  Added context switch notification
10419when the debug code realizes that a different thread is now
10420executing ACPI code.
10421
10422Some additional external data types have been prefixed with the
10423string "ACPI_" for consistency.  This may effect existing code.
10424The data types affected are the external callback typedefs - e.g.,
10425
10426WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
10427
10428 Linux:
10429
10430Fixed an issue with the OSL semaphore implementation where a
10431thread was waking up with an error from receiving a SIGCHLD
10432signal.
10433
10434Linux version of ACPI CA now uses the system C library for string
10435manipulation routines instead of a local implementation.
10436
10437Cleaned up comments and removed TBDs.
10438
10439 ASL Compiler, version X2017:
10440
10441Enhanced error detection and reporting for all file I/O
10442operations.
10443
10444 Documentation:
10445
10446Programmer Reference updated to version 1.06.
10447
10448
10449
10450------------------------------------------
10451Summary of changes for this label: 04_13_01
10452
10453 ACPI CA Core Subsystem:
10454
10455Restructured support for BufferFields and RegionFields.
10456BankFields support is now fully operational.  All known 32-bit
10457limitations on field sizes have been removed.  Both BufferFields
10458and (Operation) RegionFields are now supported by the same field
10459management code.
10460
10461Resource support now supports QWORD address and IO resources. The
1046216/32/64 bit address structures and the Extended IRQ structure
10463have been changed to properly handle Source Resource strings.
10464
10465A ThreadId of -1 is now used to indicate a "mutex not acquired"
10466condition internally and must never be returned by AcpiOsThreadId.
10467This reserved value was changed from 0 since Unix systems allow a
10468thread ID of 0.
10469
10470Linux:
10471
10472Driver code reorganized to enhance portability
10473
10474Added a kernel configuration option to control ACPI_DEBUG
10475
10476Fixed the EC driver to honor _GLK.
10477
10478ASL Compiler, version X2016:
10479
10480Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
10481address space was set to 0, not 0x7f as it should be.
10482
10483 ------------------------------------------
10484Summary of changes for this label: 03_13_01
10485
10486 ACPI CA Core Subsystem:
10487
10488During ACPI initialization, the _SB_._INI method is now run if
10489present.
10490
10491Notify handler fix - notifies are deferred until the parent method
10492completes execution.  This fixes the "mutex already acquired"
10493issue seen occasionally.
10494
10495Part of the "implicit conversion" rules in ACPI 2.0 have been
10496found to cause compatibility problems with existing ASL/AML.  The
10497convert "result-to-target-type" implementation has been removed
10498for stores to method Args and Locals.  Source operand conversion
10499is still fully implemented.  Possible changes to ACPI 2.0
10500specification pending.
10501
10502Fix to AcpiRsCalculatePciRoutingTableLength to return correct
10503length.
10504
10505Fix for compiler warnings for 64-bit compiles.
10506
10507 Linux:
10508
10509/proc output aligned for easier parsing.
10510
10511Release-version compile problem fixed.
10512
10513New kernel configuration options documented in Configure.help.
10514
10515IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10516context" message.
10517
10518 OSPM:
10519
10520Power resource driver integrated with bus manager.
10521
10522Fixed kernel fault during active cooling for thermal zones.
10523
10524Source Code:
10525
10526The source code tree has been restructured.
10527
10528
10529
10530------------------------------------------
10531Summary of changes for this label: 03_02_01
10532
10533 Linux OS Services Layer (OSL):
10534
10535Major revision of all Linux-specific code.
10536
10537Modularized all ACPI-specific drivers.
10538
10539Added new thermal zone and power resource drivers.
10540
10541Revamped /proc interface (new functionality is under /proc/acpi).
10542
10543New kernel configuration options.
10544
10545 Linux known issues:
10546
10547New kernel configuration options not documented in Configure.help
10548yet.
10549
10550
10551Module dependencies not currently implemented. If used, they
10552should be loaded in this order: busmgr, power, ec, system,
10553processor, battery, ac_adapter, button, thermal.
10554
10555Modules will not load if CONFIG_MODVERSION is set.
10556
10557IBM 600E - entering S5 may reboot instead of shutting down.
10558
10559IBM 600E - Sleep button may generate "Invalid <NULL> context"
10560message.
10561
10562Some systems may fail with "execution mutex already acquired"
10563message.
10564
10565 ACPI CA Core Subsystem:
10566
10567Added a new OSL Interface, AcpiOsGetThreadId.  This was required
10568for the  deadlock detection code. Defined to return a non-zero, 32-
10569bit thread ID for the currently executing thread.  May be a non-
10570zero constant integer on single-thread systems.
10571
10572Implemented deadlock detection for internal subsystem mutexes.  We
10573may add conditional compilation for this code (debug only) later.
10574
10575ASL/AML Mutex object semantics are now fully supported.  This
10576includes multiple acquires/releases by owner and support for the
10577
10578Mutex SyncLevel parameter.
10579
10580A new "Force Release" mechanism automatically frees all ASL
10581Mutexes that have been acquired but not released when a thread
10582exits the interpreter.  This forces conformance to the ACPI spec
10583("All mutexes must be released when an invocation exits") and
10584prevents deadlocked ASL threads.  This mechanism can be expanded
10585(later) to monitor other resource acquisitions if OEM ASL code
10586continues to misbehave (which it will).
10587
10588Several new ACPI exception codes have been added for the Mutex
10589support.
10590
10591Recursive method calls are now allowed and supported (the ACPI
10592spec does in fact allow recursive method calls.)  The number of
10593recursive calls is subject to the restrictions imposed by the
10594SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10595parameter.
10596
10597Implemented support for the SyncLevel parameter for control
10598methods (ACPI 2.0 feature)
10599
10600Fixed a deadlock problem when multiple threads attempted to use
10601the interpreter.
10602
10603Fixed a problem where the string length of a String package
10604element was not always set in a package returned from
10605AcpiEvaluateObject.
10606
10607Fixed a problem where the length of a String package element was
10608not always included in the length of the overall package returned
10609from AcpiEvaluateObject.
10610
10611Added external interfaces (Acpi*) to the ACPI debug memory
10612manager.  This manager keeps a list of all outstanding
10613allocations, and can therefore detect memory leaks and attempts to
10614free memory blocks more than once. Useful for code such as the
10615power manager, etc.  May not be appropriate for device drivers.
10616Performance with the debug code enabled is slow.
10617
10618The ACPI Global Lock is now an optional hardware element.
10619
10620 ASL Compiler Version X2015:
10621
10622Integrated changes to allow the compiler to be generated on
10623multiple platforms.
10624
10625Linux makefile added to generate the compiler on Linux
10626
10627 Source Code:
10628
10629All platform-specific headers have been moved to their own
10630subdirectory, Include/Platform.
10631
10632New source file added, Interpreter/ammutex.c
10633
10634New header file, Include/acstruct.h
10635
10636 Documentation:
10637
10638The programmer reference has been updated for the following new
10639interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10640
10641 ------------------------------------------
10642Summary of changes for this label: 02_08_01
10643
10644Core ACPI CA Subsystem: Fixed a problem where an error was
10645incorrectly returned if the return resource buffer was larger than
10646the actual data (in the resource interfaces).
10647
10648References to named objects within packages are resolved to the
10649
10650full pathname string before packages are returned directly (via
10651the AcpiEvaluateObject interface) or indirectly via the resource
10652interfaces.
10653
10654Linux OS Services Layer (OSL):
10655
10656Improved /proc battery interface.
10657
10658
10659Added C-state debugging output and other miscellaneous fixes.
10660
10661ASL Compiler Version X2014:
10662
10663All defined method arguments can now be used as local variables,
10664including the ones that are not actually passed in as parameters.
10665The compiler tracks initialization of the arguments and issues an
10666exception if they are used without prior assignment (just like
10667locals).
10668
10669The -o option now specifies a filename prefix that is used for all
10670output files, including the AML output file.  Otherwise, the
10671default behavior is as follows:  1) the AML goes to the file
10672specified in the DSDT.  2) all other output files use the input
10673source filename as the base.
10674
10675 ------------------------------------------
10676Summary of changes for this label: 01_25_01
10677
10678Core ACPI CA Subsystem: Restructured the implementation of object
10679store support within the  interpreter.  This includes support for
10680the Store operator as well  as any ASL operators that include a
10681target operand.
10682
10683Partially implemented support for Implicit Result-to-Target
10684conversion. This is when a result object is converted on the fly
10685to the type of  an existing target object.  Completion of this
10686support is pending  further analysis of the ACPI specification
10687concerning this matter.
10688
10689CPU-specific code has been removed from the subsystem (hardware
10690directory).
10691
10692New Power Management Timer functions added
10693
10694Linux OS Services Layer (OSL): Moved system state transition code
10695to the core, fixed it, and modified  Linux OSL accordingly.
10696
10697Fixed C2 and C3 latency calculations.
10698
10699
10700We no longer use the compilation date for the version message on
10701initialization, but retrieve the version from AcpiGetSystemInfo().
10702
10703Incorporated for fix Sony VAIO machines.
10704
10705Documentation:  The Programmer Reference has been updated and
10706reformatted.
10707
10708
10709ASL Compiler:  Version X2013: Fixed a problem where the line
10710numbering and error reporting could get out  of sync in the
10711presence of multiple include files.
10712
10713 ------------------------------------------
10714Summary of changes for this label: 01_15_01
10715
10716Core ACPI CA Subsystem:
10717
10718Implemented support for type conversions in the execution of the
10719ASL  Concatenate operator (The second operand is converted to
10720match the type  of the first operand before concatenation.)
10721
10722Support for implicit source operand conversion is partially
10723implemented.   The ASL source operand types Integer, Buffer, and
10724String are freely  interchangeable for most ASL operators and are
10725converted by the interpreter  on the fly as required.  Implicit
10726Target operand conversion (where the  result is converted to the
10727target type before storing) is not yet implemented.
10728
10729Support for 32-bit and 64-bit BCD integers is implemented.
10730
10731Problem fixed where a field read on an aligned field could cause a
10732read  past the end of the field.
10733
10734New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
10735does not return a value, but the caller expects one.  (The ASL
10736compiler flags this as a warning.)
10737
10738ASL Compiler:
10739
10740Version X2011:
107411. Static typechecking of all operands is implemented. This
10742prevents the use of invalid objects (such as using a Package where
10743an Integer is required) at compile time instead of at interpreter
10744run-time.
107452. The ASL source line is printed with ALL errors and warnings.
107463. Bug fix for source EOF without final linefeed.
107474. Debug option is split into a parse trace and a namespace trace.
107485. Namespace output option (-n) includes initial values for
10749integers and strings.
107506. Parse-only option added for quick syntax checking.
107517. Compiler checks for duplicate ACPI name declarations
10752
10753Version X2012:
107541. Relaxed typechecking to allow interchangeability between
10755strings, integers, and buffers.  These types are now converted by
10756the interpreter at runtime.
107572. Compiler reports time taken by each internal subsystem in the
10758debug         output file.
10759
10760
10761 ------------------------------------------
10762Summary of changes for this label: 12_14_00
10763
10764ASL Compiler:
10765
10766This is the first official release of the compiler. Since the
10767compiler requires elements of the Core Subsystem, this label
10768synchronizes everything.
10769
10770------------------------------------------
10771Summary of changes for this label: 12_08_00
10772
10773
10774Fixed a problem where named references within the ASL definition
10775of both OperationRegions and CreateXXXFields did not work
10776properly.  The symptom was an AE_AML_OPERAND_TYPE during
10777initialization of the region/field. This is similar (but not
10778related internally) to the problem that was fixed in the last
10779label.
10780
10781Implemented both 32-bit and 64-bit support for the BCD ASL
10782functions ToBCD and FromBCD.
10783
10784Updated all legal headers to include "2000" in the copyright
10785years.
10786
10787 ------------------------------------------
10788Summary of changes for this label: 12_01_00
10789
10790Fixed a problem where method invocations within the ASL definition
10791of both OperationRegions and CreateXXXFields did not work
10792properly.  The symptom was an AE_AML_OPERAND_TYPE during
10793initialization of the region/field:
10794
10795  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
10796[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
10797(0x3005)
10798
10799Fixed a problem where operators with more than one nested
10800subexpression would fail.  The symptoms were varied, by mostly
10801AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
10802problem that has gone unnoticed until now.
10803
10804  Subtract (Add (1,2), Multiply (3,4))
10805
10806Fixed a problem where AcpiGetHandle didn't quite get fixed in the
10807previous build (The prefix part of a relative path was handled
10808incorrectly).
10809
10810Fixed a problem where Operation Region initialization failed if
10811the operation region name was a "namepath" instead of a simple
10812"nameseg". Symptom was an AE_NO_OPERAND error.
10813
10814Fixed a problem where an assignment to a local variable via the
10815indirect RefOf mechanism only worked for the first such
10816assignment.  Subsequent assignments were ignored.
10817
10818 ------------------------------------------
10819Summary of changes for this label: 11_15_00
10820
10821ACPI 2.0 table support with backwards support for ACPI 1.0 and the
108220.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
10823the AML  interpreter does NOT have support for the new 2.0 ASL
10824grammar terms at this time.
10825
10826All ACPI hardware access is via the GAS structures in the ACPI 2.0
10827FADT.
10828
10829All physical memory addresses across all platforms are now 64 bits
10830wide. Logical address width remains dependent on the platform
10831(i.e., "void *").
10832
10833AcpiOsMapMemory interface changed to a 64-bit physical address.
10834
10835The AML interpreter integer size is now 64 bits, as per the ACPI
108362.0 specification.
10837
10838For backwards compatibility with ACPI 1.0, ACPI tables with a
10839revision number less than 2 use 32-bit integers only.
10840
10841Fixed a problem where the evaluation of OpRegion operands did not
10842always resolve them to numbers properly.
10843
10844------------------------------------------
10845Summary of changes for this label: 10_20_00
10846
10847Fix for CBN_._STA issue.  This fix will allow correct access to
10848CBN_ OpRegions when the _STA returns 0x8.
10849
10850Support to convert ACPI constants (Ones, Zeros, One) to actual
10851values before a package object is returned
10852
10853Fix for method call as predicate to if/while construct causing
10854incorrect if/while behavior
10855
10856Fix for Else block package lengths sometimes calculated wrong (if
10857block > 63 bytes)
10858
10859Fix for Processor object length field, was always zero
10860
10861Table load abort if FACP sanity check fails
10862
10863Fix for problem with Scope(name) if name already exists
10864
10865Warning emitted if a named object referenced cannot be found
10866(resolved) during method execution.
10867
10868
10869
10870
10871
10872------------------------------------------
10873Summary of changes for this label: 9_29_00
10874
10875New table initialization interfaces: AcpiInitializeSubsystem no
10876longer has any parameters AcpiFindRootPointer - Find the RSDP (if
10877necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
10878>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
10879AcpiLoadTables
10880
10881Note: These interface changes require changes to all existing OSDs
10882
10883The PCI_Config default address space handler is always installed
10884at the root namespace object.
10885
10886-------------------------------------------
10887Summary of changes for this label: 09_15_00
10888
10889The new initialization architecture is implemented.  New
10890interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
10891AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
10892
10893(Namespace is automatically loaded when a table is loaded)
10894
10895The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1089652 bytes to 32 bytes.  There is usually one of these for every
10897namespace object, so the memory savings is significant.
10898
10899Implemented just-in-time evaluation of the CreateField operators.
10900
10901Bug fixes for IA-64 support have been integrated.
10902
10903Additional code review comments have been implemented
10904
10905The so-called "third pass parse" has been replaced by a final walk
10906through the namespace to initialize all operation regions (address
10907spaces) and fields that have not yet been initialized during the
10908execution of the various _INI and REG methods.
10909
10910New file - namespace/nsinit.c
10911
10912-------------------------------------------
10913Summary of changes for this label: 09_01_00
10914
10915Namespace manager data structures have been reworked to change the
10916primary  object from a table to a single object.  This has
10917resulted in dynamic memory  savings of 3X within the namespace and
109182X overall in the ACPI CA subsystem.
10919
10920Fixed problem where the call to AcpiEvFindPciRootBuses was
10921inadvertently left  commented out.
10922
10923Reduced the warning count when generating the source with the GCC
10924compiler.
10925
10926Revision numbers added to each module header showing the
10927SourceSafe version of the file.  Please refer to this version
10928number when giving us feedback or comments on individual modules.
10929
10930The main object types within the subsystem have been renamed to
10931clarify their  purpose:
10932
10933ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
10934ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
10935ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
10936
10937NOTE: no changes to the initialization sequence are included in
10938this label.
10939
10940-------------------------------------------
10941Summary of changes for this label: 08_23_00
10942
10943Fixed problem where TerminateControlMethod was being called
10944multiple times per  method
10945
10946Fixed debugger problem where single stepping caused a semaphore to
10947be  oversignalled
10948
10949Improved performance through additional parse object caching -
10950added  ACPI_EXTENDED_OP type
10951
10952-------------------------------------------
10953Summary of changes for this label: 08_10_00
10954
10955Parser/Interpreter integration:  Eliminated the creation of
10956complete parse trees  for ACPI tables and control methods.
10957Instead, parse subtrees are created and  then deleted as soon as
10958they are processed (Either entered into the namespace or  executed
10959by the interpreter).  This reduces the use of dynamic kernel
10960memory  significantly. (about 10X)
10961
10962Exception codes broken into classes and renumbered.  Be sure to
10963recompile all  code that includes acexcep.h.  Hopefully we won't
10964have to renumber the codes  again now that they are split into
10965classes (environment, programmer, AML code,  ACPI table, and
10966internal).
10967
10968Fixed some additional alignment issues in the Resource Manager
10969subcomponent
10970
10971Implemented semaphore tracking in the AcpiExec utility, and fixed
10972several places  where mutexes/semaphores were being unlocked
10973without a corresponding lock  operation.  There are no known
10974semaphore or mutex "leaks" at this time.
10975
10976Fixed the case where an ASL Return operator is used to return an
10977unnamed  package.
10978
10979-------------------------------------------
10980Summary of changes for this label: 07_28_00
10981
10982Fixed a problem with the way addresses were calculated in
10983AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
10984manifested itself when a Field was  created with WordAccess or
10985DwordAccess, but the field unit defined within the  Field was less
10986
10987than a Word or Dword.
10988
10989Fixed a problem in AmlDumpOperands() module's loop to pull
10990operands off of the  operand stack to display information. The
10991problem manifested itself as a TLB  error on 64-bit systems when
10992accessing an operand stack with two or more  operands.
10993
10994Fixed a problem with the PCI configuration space handlers where
10995context was  getting confused between accesses. This required a
10996change to the generic address  space handler and address space
10997setup definitions. Handlers now get both a  global handler context
10998(this is the one passed in by the user when executing
10999AcpiInstallAddressSpaceHandler() and a specific region context
11000that is unique to  each region (For example, the _ADR, _SEG and
11001_BBN values associated with a  specific region). The generic
11002function definitions have changed to the  following:
11003
11004typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
11005UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
11006*HandlerContext, // This used to be void *Context void
11007*RegionContext); // This is an additional parameter
11008
11009typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
11010RegionHandle, UINT32 Function, void *HandlerContext,  void
11011**RegionContext); // This used to be **ReturnContext
11012
11013-------------------------------------------
11014Summary of changes for this label: 07_21_00
11015
11016Major file consolidation and rename.  All files within the
11017interpreter have been  renamed as well as most header files.  This
11018was done to prevent collisions with  existing files in the host
11019OSs -- filenames such as "config.h" and "global.h"  seem to be
11020quite common.  The VC project files have been updated.  All
11021makefiles  will require modification.
11022
11023The parser/interpreter integration continues in Phase 5 with the
11024implementation  of a complete 2-pass parse (the AML is parsed
11025twice) for each table;  This  avoids the construction of a huge
11026parse tree and therefore reduces the amount of  dynamic memory
11027required by the subsystem.  Greater use of the parse object cache
11028means that performance is unaffected.
11029
11030Many comments from the two code reviews have been rolled in.
11031
11032The 64-bit alignment support is complete.
11033
11034-------------------------------------------
11035Summary of changes for this label: 06_30_00
11036
11037With a nod and a tip of the hat to the technology of yesteryear,
11038we've added  support in the source code for 80 column output
11039devices.  The code is now mostly  constrained to 80 columns or
11040less to support environments and editors that 1)  cannot display
11041or print more than 80 characters on a single line, and 2) cannot
11042disable line wrapping.
11043
11044A major restructuring of the namespace data structure has been
11045completed.  The  result is 1) cleaner and more
11046understandable/maintainable code, and 2) a  significant reduction
11047in the dynamic memory requirement for each named ACPI  object
11048(almost half).
11049
11050-------------------------------------------
11051Summary of changes for this label: 06_23_00
11052
11053Linux support has been added.  In order to obtain approval to get
11054the ACPI CA  subsystem into the Linux kernel, we've had to make
11055quite a few changes to the  base subsystem that will affect all
11056users (all the changes are generic and OS- independent).  The
11057effects of these global changes have been somewhat far  reaching.
11058Files have been merged and/or renamed and interfaces have been
11059renamed.   The major changes are described below.
11060
11061Osd* interfaces renamed to AcpiOs* to eliminate namespace
11062pollution/confusion  within our target kernels.  All OSD
11063interfaces must be modified to match the new  naming convention.
11064
11065Files merged across the subsystem.  A number of the smaller source
11066and header  files have been merged to reduce the file count and
11067increase the density of the  existing files.  There are too many
11068to list here.  In general, makefiles that  call out individual
11069files will require rebuilding.
11070
11071Interpreter files renamed.  All interpreter files now have the
11072prefix am*  instead of ie* and is*.
11073
11074Header files renamed:  The acapi.h file is now acpixf.h.  The
11075acpiosd.h file is  now acpiosxf.h.  We are removing references to
11076the acronym "API" since it is  somewhat windowsy. The new name is
11077"external interface" or xface or xf in the  filenames.j
11078
11079
11080All manifest constants have been forced to upper case (some were
11081mixed case.)   Also, the string "ACPI_" has been prepended to many
11082(not all) of the constants,  typedefs, and structs.
11083
11084The globals "DebugLevel" and "DebugLayer" have been renamed
11085"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
11086
11087All other globals within the subsystem are now prefixed with
11088"AcpiGbl_" Internal procedures within the subsystem are now
11089prefixed with "Acpi" (with only  a few exceptions).  The original
11090two-letter abbreviation for the subcomponent  remains after "Acpi"
11091- for example, CmCallocate became AcpiCmCallocate.
11092
11093Added a source code translation/conversion utility.  Used to
11094generate the Linux  source code, it can be modified to generate
11095other types of source as well. Can  also be used to cleanup
11096existing source by removing extraneous spaces and blank  lines.
11097Found in tools/acpisrc/*
11098
11099OsdUnMapMemory was renamed to OsdUnmapMemory and then
11100AcpiOsUnmapMemory.  (UnMap  became Unmap).
11101
11102A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
11103When set to  one, this indicates that the caller wants to use the
11104
11105semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
11106both types.  However, implementers of this  call may want to use
11107different OS primitives depending on the type of semaphore
11108requested.  For example, some operating systems provide separate
11109
11110"mutex" and  "semaphore" interfaces - where the mutex interface is
11111much faster because it  doesn't have all the overhead of a full
11112semaphore implementation.
11113
11114Fixed a deadlock problem where a method that accesses the PCI
11115address space can  block forever if it is the first access to the
11116space.
11117
11118-------------------------------------------
11119Summary of changes for this label: 06_02_00
11120
11121Support for environments that cannot handle unaligned data
11122accesses (e.g.  firmware and OS environments devoid of alignment
11123handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
11124been added (via configurable macros) in  these three areas: -
11125Transfer of data from the raw AML byte stream is done via byte
11126moves instead of    word/dword/qword moves. - External objects are
11127aligned within the user buffer, including package   elements (sub-
11128objects). - Conversion of name strings to UINT32 Acpi Names is now
11129done byte-wise.
11130
11131The Store operator was modified to mimic Microsoft's
11132implementation when storing  to a Buffer Field.
11133
11134Added a check of the BM_STS bit before entering C3.
11135
11136The methods subdirectory has been obsoleted and removed.  A new
11137file, cmeval.c  subsumes the functionality.
11138
11139A 16-bit (DOS) version of AcpiExec has been developed.  The
11140makefile is under  the acpiexec directory.
11141