changes.txt revision 237412
1----------------------------------------
220 June 2012. Summary of changes for version 20120620:
3
4This release is available at https://www.acpica.org/downloads
5The ACPI 5.0 specification is available at www.acpi.info
6
71) ACPICA Kernel-resident Subsystem:
8
9Implemented support to expand the "implicit notify" feature to allow multiple 
10devices to be notified by a single GPE. This feature automatically generates a 
11runtime device notification in the absence of a BIOS-provided GPE control 
12method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit notify is 
13provided by ACPICA for Windows compatibility, and is a workaround for BIOS AML 
14code errors. See the description of the AcpiSetupGpeForWake interface in the 
15APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
16
17Changed some comments and internal function names to simplify and ensure 
18correctness of the Linux code translation. No functional changes.
19
20Example Code and Data Size: These are the sizes for the OS-independent 
21acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
22version of the code includes the debug output trace mechanism and has a much 
23larger code and data size.
24
25  Previous Release:
26    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
27    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
28  Current Release:
29    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
30    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
31
32
332) iASL Compiler/Disassembler and Tools:
34
35Disassembler: Added support to emit short, commented descriptions for the ACPI 
36predefined names in order to improve the readability of the disassembled 
37output. ACPICA BZ 959. Changes include:
38  1) Emit descriptions for all standard predefined names (_INI, _STA, _PRW, 
39etc.)
40  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
41  3) Emit descriptions for the resource descriptor names (_MIN, _LEN, etc.)
42
43AcpiSrc: Fixed several long-standing Linux code translation issues. Argument 
44descriptions in function headers are now translated properly to lower case and 
45underscores. ACPICA BZ 961. Also fixes translation problems such as these: 
46(old -> new)
47  i_aSL -> iASL
48  00-7_f -> 00-7F
49  16_k -> 16K
50  local_fADT -> local_FADT
51  execute_oSI -> execute_OSI
52
53iASL: Fixed a problem where null bytes were inadvertently emitted into some 
54listing files.
55
56iASL: Added the existing debug options to the standard help screen. There are 
57no longer two different help screens. ACPICA BZ 957.
58
59AcpiHelp: Fixed some typos in the various predefined name descriptions. Also 
60expand some of the descriptions where appropriate.
61
62iASL: Fixed the -ot option (display compile times/statistics). Was not working 
63properly for standard output; only worked for the debug file case.
64
65----------------------------------------
6618 May 2012. Summary of changes for version 20120518:
67
68
691) ACPICA Core Subsystem:
70
71Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is defined 
72to block until asynchronous events such as notifies and GPEs have completed. 
73Within ACPICA, it is only called before a notify or GPE handler is 
74removed/uninstalled. It also may be useful for the host OS within related 
75drivers such as the Embedded Controller driver. See the ACPICA reference for 
76additional information. ACPICA BZ 868.
77
78ACPI Tables: Added a new error message for a possible overflow failure during 
79the conversion of FADT 32-bit legacy register addresses to internal common 64-
80bit GAS structure representation. The GAS has a one-byte "bit length" field, 
81thus limiting the register length to 255 bits. ACPICA BZ 953.
82
83Example Code and Data Size: These are the sizes for the OS-independent 
84acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
85version of the code includes the debug output trace mechanism and has a much 
86larger code and data size.
87
88  Previous Release:
89    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
90    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
91  Current Release:
92    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
93    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
94
95
962) iASL Compiler/Disassembler and Tools:
97
98iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL macro. 
99This keyword was added late in the ACPI 5.0 release cycle and was not 
100implemented until now.
101
102Disassembler: Added support for Operation Region externals. Adds missing 
103support for operation regions that are defined in another table, and 
104referenced locally via a Field or BankField ASL operator. Now generates the 
105correct External statement.
106
107Disassembler: Several additional fixes for the External() statement generation 
108related to some ASL operators. Also, order the External() statements 
109alphabetically in the disassembler output. Fixes the External() generation for 
110the Create* field, Alias, and Scope operators:
111 1) Create* buffer field operators - fix type mismatch warning on disassembly
112 2) Alias - implement missing External support
113 3) Scope - fix to make sure all necessary externals are emitted.
114
115iASL: Improved pathname support. For include files, merge the prefix pathname 
116with the file pathname and eliminate unnecessary components. Convert 
117backslashes in all pathnames to forward slashes, for readability. Include file 
118pathname changes affect both #include and Include() type operators.
119
120iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the end 
121of a valid line by inserting a newline and then returning the EOF during the 
122next call to GetNextLine. Prevents the line from being ignored due to EOF 
123condition.
124
125iASL: Implemented some changes to enhance the IDE support (-vi option.) Error 
126and Warning messages are now correctly recognized for both the source code 
127browser and the global error and warning counts.
128
129----------------------------------------
13020 April 2012. Summary of changes for version 20120420:
131
132
1331) ACPICA Core Subsystem:
134
135Implemented support for multiple notify handlers. This change adds support to 
136allow multiple system and device notify handlers on Device, Thermal Zone, and 
137Processor objects. This can simplify the host OS notification implementation. 
138Also re-worked and restructured the entire notify support code to simplify 
139handler installation, handler removal, notify event queuing, and notify 
140dispatch to handler(s). Note: there can still only be two global notify 
141handlers - one for system notifies and one for device notifies. There are no 
142changes to the existing handler install/remove interfaces. Lin Ming, Bob 
143Moore, Rafael Wysocki.
144
145Fixed a regression in the package repair code where the object reference 
146count was calculated incorrectly. Regression was introduced in the commit 
147"Support to add Package wrappers".
148
149Fixed a couple possible memory leaks in the AML parser, in the error recovery 
150path. Jesper Juhl, Lin Ming.
151
152Example Code and Data Size: These are the sizes for the OS-independent 
153acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
154debug version of the code includes the debug output trace mechanism and has a 
155much larger code and data size.
156
157  Previous Release:
158    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
159    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
160  Current Release:
161    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
162    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
163
164
1652) iASL Compiler/Disassembler and Tools:
166
167iASL: Fixed a problem with the resource descriptor support where the length 
168of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
169included in cumulative descriptor offset, resulting in incorrect values for 
170resource tags within resource descriptors appearing after a StartDependent* 
171descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
172
173iASL and Preprocessor: Implemented full support for the #line directive to 
174correctly track original source file line numbers through the .i preprocessor 
175output file - for error and warning messages.
176
177iASL: Expand the allowable byte constants for address space IDs. Previously, 
178the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
1790x0A-0xFF to allow for custom and new IDs without changing the compiler.
180
181iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
182
183iASL: Add option to completely disable the preprocessor (-Pn).
184
185iASL: Now emit all error/warning messages to standard error (stderr) by 
186default (instead of the previous stdout).
187
188ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). Update 
189for resource descriptor offset fix above. Update/cleanup error output 
190routines. Enable and send iASL errors/warnings to an error logfile 
191(error.txt). Send all other iASL output to a logfile (compiler.txt). Fixed 
192several extraneous "unrecognized operator" messages.
193
194----------------------------------------
19520 March 2012. Summary of changes for version 20120320:
196
197
1981) ACPICA Core Subsystem:
199
200Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
201(Going To Sleep) and the _BFS method (Back From Sleep). Windows apparently 
202does not execute these methods, and therefore these methods are often 
203untested. It has been seen on some systems where the execution of these 
204methods causes errors and also prevents the machine from entering S5. It is 
205therefore suggested that host operating systems do not execute these methods 
206by default. In the future, perhaps these methods can be optionally executed 
207based on the age of the system and/or what is the newest version of Windows 
208that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState and 
209AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
210Ming.
211
212Fixed a problem where the length of the local/common FADT was set too early. 
213The local FADT table length cannot be set to the common length until the 
214original length has been examined. There is code that checks the table length 
215and sets various fields appropriately. This can affect older machines with 
216early FADT versions. For example, this can cause inadvertent writes to the 
217CST_CNT register. Julian Anastasov.
218
219Fixed a mapping issue related to a physical table override. Use the deferred 
220mapping mechanism for tables loaded via the physical override OSL interface. 
221This allows for early mapping before the virtual memory manager is available. 
222Thomas Renninger, Bob Moore.
223
224Enhanced the automatic return-object repair code: Repair a common problem with 
225predefined methods that are defined to return a variable-length Package of 
226sub-objects. If there is only one sub-object, some BIOS ASL code mistakenly 
227simply returns the single object instead of a Package with one sub-object. 
228This new support will repair this error by wrapping a Package object around 
229the original object, creating the correct and expected Package with one sub-
230object. Names that can be repaired in this manner include: _ALR, _CSD, _HPX, 
231_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 939.
232
233Changed the exception code returned for invalid ACPI paths passed as 
234parameters to external interfaces such as AcpiEvaluateObject. Was 
235AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
236
237Example Code and Data Size: These are the sizes for the OS-independent 
238acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
239version of the code includes the debug output trace mechanism and has a much 
240larger code and data size.
241
242  Previous Release:
243    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
244    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
245  Current Release:
246    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
247    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
248
249
2502) iASL Compiler/Disassembler and Tools:
251
252iASL: Added the infrastructure and initial implementation of a integrated C-
253like preprocessor. This will simplify BIOS development process by eliminating 
254the need for a separate preprocessing step during builds. On Windows, it also 
255eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
256features including full #define() macro support are still under development. 
257These preprocessor directives are supported:
258    #define
259    #elif
260    #else
261    #endif
262    #error
263    #if
264    #ifdef
265    #ifndef
266    #include
267    #pragma message
268    #undef
269    #warning
270In addition, these new command line options are supported:
271    -D <symbol> Define symbol for preprocessor use
272    -li         Create preprocessed output file (*.i)
273    -P          Preprocess only and create preprocessor output file (*.i)
274
275Table Compiler: Fixed a problem where the equals operator within an expression 
276did not work properly.
277
278Updated iASL to use the current versions of Bison/Flex. Updated the Windows 
279project file to invoke these tools from the standard location. ACPICA BZ 904. 
280Versions supported:
281    Flex for Windows:  V2.5.4
282    Bison for Windows: V2.4.1
283
284----------------------------------------
28515 February 2012. Summary of changes for version 20120215:
286
287
2881) ACPICA Core Subsystem:
289
290There have been some major changes to the sleep/wake support code, as 
291described below (a - e).
292
293a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
294AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
295AcpiLeaveSleepStatePrep. This allows the host to perform actions between the 
296time the _BFS method is called and the _WAK method is called. NOTE: all hosts 
297must update their wake/resume code or else sleep/wake will not work properly. 
298Rafael Wysocki.
299
300b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the _WAK 
301method. Some machines require that the GPEs are enabled before the _WAK method 
302is executed. Thomas Renninger.
303
304c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit. 
305Some BIOS code assumes that WAK_STS will be cleared on resume and use it to 
306determine whether the system is rebooting or resuming. Matthew Garrett.
307
308d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From Sleep) to 
309match the ACPI specification requirement. Rafael Wysocki.
310
311e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
312registers within the V5 FADT. This support adds two new files: 
313hardware/hwesleep.c implements the support for the new registers. Moved all 
314sleep/wake external interfaces to hardware/hwxfsleep.c.
315
316
317Added a new OSL interface for ACPI table overrides, 
318AcpiOsPhysicalTableOverride. This interface allows the host to override a 
319table via a physical address, instead of the logical address required by 
320AcpiOsTableOverride. This simplifies the host implementation. Initial 
321implementation by Thomas Renninger. The ACPICA implementation creates a single 
322shared function for table overrides that attempts both a logical and a 
323physical override.
324
325Expanded the OSL memory read/write interfaces to 64-bit data 
326(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
327transfer support for GAS register structures passed to AcpiRead and AcpiWrite.
328
329Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a custom 
330build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) model. 
331See the ACPICA reference for details. ACPICA BZ 942. This option removes about 
33210% of the code and 5% of the static data, and the following hardware ACPI 
333features become unavailable:
334    PM Event and Control registers
335    SCI interrupt (and handler)
336    Fixed Events
337    General Purpose Events (GPEs)
338    Global Lock
339    ACPI PM timer
340    FACS table (Waking vectors and Global Lock)
341
342Updated the unix tarball directory structure to match the ACPICA git source 
343tree. This ensures that the generic unix makefiles work properly (in 
344generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 867.
345
346Updated the return value of the _REV predefined method to integer value 5 to 
347reflect ACPI 5.0 support.
348
349Moved the external ACPI PM timer interface prototypes to the public acpixf.h 
350file where they belong.
351
352Example Code and Data Size: These are the sizes for the OS-independent 
353acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
354version of the code includes the debug output trace mechanism and has a much 
355larger code and data size.
356
357  Previous Release:
358    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
359    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
360  Current Release:
361    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
362    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
363
364
3652) iASL Compiler/Disassembler and Tools:
366
367Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
368descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
369incorrectly displayed.
370
371AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
372specification.
373
374----------------------------------------
37511 January 2012. Summary of changes for version 20120111:
376
377
3781) ACPICA Core Subsystem:
379
380Implemented a new mechanism to allow host device drivers to check for address 
381range conflicts with ACPI Operation Regions. Both SystemMemory and SystemIO 
382address spaces are supported. A new external interface, AcpiCheckAddressRange, 
383allows drivers to check an address range against the ACPI namespace. See the 
384ACPICA reference for additional details. Adds one new file, 
385utilities/utaddress.c. Lin Ming, Bob Moore.
386
387Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control and 
388Status registers, update the ACPI 5.0 flags, and update internal data 
389structures to handle an FADT larger than 256 bytes. The size of the ACPI 5.0 
390FADT is 268 bytes.
391
392Updated all ACPICA copyrights and signons to 2012. Added the 2012 copyright to 
393all module headers and signons, including the standard Linux header. This 
394affects virtually every file in the ACPICA core subsystem, iASL compiler, and 
395all ACPICA utilities.
396
397Example Code and Data Size: These are the sizes for the OS-independent 
398acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
399version of the code includes the debug output trace mechanism and has a much 
400larger code and data size.
401
402  Previous Release:
403    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
404    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
405  Current Release:
406    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
407    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
408
409
4102) iASL Compiler/Disassembler and Tools:
411
412Disassembler: fixed a problem with the automatic resource tag generation 
413support. Fixes a problem where the resource tags are inadvertently not 
414constructed if the table being disassembled contains external references to 
415control methods. Moved the actual construction of the tags to after the final 
416namespace is constructed (after 2nd parse is invoked due to external control 
417method references.) ACPICA BZ 941.
418
419Table Compiler: Make all "generic" operators caseless. These are the operators 
420like UINT8, String, etc. Making these caseless improves ease-of-use. ACPICA BZ 
421934.
422
423----------------------------------------
42423 November 2011. Summary of changes for version 20111123:
425
4260) ACPI 5.0 Support:
427
428This release contains full support for the ACPI 5.0 specification, as 
429summarized below.
430
431Reduced Hardware Support:
432-------------------------
433
434This support allows for ACPI systems without the usual ACPI hardware. This 
435support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA will 
436not attempt to initialize or use any of the usual ACPI hardware. Note, when 
437this flag is set, all of the following ACPI hardware is assumed to be not 
438present and is not initialized or accessed:
439
440    General Purpose Events (GPEs)
441    Fixed Events (PM1a/PM1b and PM Control)
442    Power Management Timer and Console Buttons (power/sleep)
443    Real-time Clock Alarm
444    Global Lock
445    System Control Interrupt (SCI)
446    The FACS is assumed to be non-existent
447
448ACPI Tables:
449------------
450
451All new tables and updates to existing tables are fully supported in the 
452ACPICA headers (for use by device drivers), the disassembler, and the iASL 
453Data Table Compiler. ACPI 5.0 defines these new tables:
454
455    BGRT        /* Boot Graphics Resource Table */
456    DRTM        /* Dynamic Root of Trust for Measurement table */
457    FPDT        /* Firmware Performance Data Table */
458    GTDT        /* Generic Timer Description Table */
459    MPST        /* Memory Power State Table */
460    PCCT        /* Platform Communications Channel Table */
461    PMTT        /* Platform Memory Topology Table */
462    RASF        /* RAS Feature table */
463
464Operation Regions/SpaceIDs:
465---------------------------
466
467All new operation regions are fully supported by the iASL compiler, the 
468disassembler, and the ACPICA runtime code (for dispatch to region handlers.) 
469The new operation region Space IDs are:
470
471    GeneralPurposeIo
472    GenericSerialBus
473
474Resource Descriptors:
475---------------------
476
477All new ASL resource descriptors are fully supported by the iASL compiler, the 
478ASL/AML disassembler, and the ACPICA runtime Resource Manager code (including 
479all new predefined resource tags). New descriptors are:
480
481    FixedDma
482    GpioIo
483    GpioInt
484    I2cSerialBus
485    SpiSerialBus
486    UartSerialBus
487
488ASL/AML Operators, New and Modified:
489------------------------------------
490
491One new operator is added, the Connection operator, which is used to associate 
492a GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
493field objects within an operation region. Several new protocols are associated 
494with the AccessAs operator. All are fully supported by the iASL compiler, 
495disassembler, and runtime ACPICA AML interpreter:
496
497    Connection                      // Declare Field Connection attributes
498    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
499    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
500    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
501    RawDataBuffer                       // Data type for Vendor Data fields
502
503Predefined ASL/AML Objects:
504---------------------------
505
506All new predefined objects/control-methods are supported by the iASL compiler 
507and the ACPICA runtime validation/repair (arguments and return values.) New 
508predefined names include the following:
509
510Standard Predefined Names (Objects or Control Methods):
511    _AEI, _CLS, _CPC, _CWS, _DEP,
512    _DLM, _EVT, _GCP, _CRT, _GWS,
513    _HRV, _PRE, _PSE, _SRT, _SUB.
514
515Resource Tags (Names used to access individual fields within resource 
516descriptors):
517    _DBT, _DPL, _DRS, _END, _FLC,
518    _IOR, _LIN, _MOD, _PAR, _PHA,
519    _PIN, _PPI, _POL, _RXL, _SLV,
520    _SPE, _STB, _TXL, _VEN.
521
522ACPICA External Interfaces:
523---------------------------
524
525Several new interfaces have been defined for use by ACPI-related device 
526drivers and other host OS services:
527
528AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS to 
529acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
530provided by the BIOS. They are intended to be used in conjunction with the 
531ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
532mutual exclusion with the AML code/interpreter.
533
534AcpiGetEventResources: Returns the (formatted) resource descriptors as defined 
535by the ACPI 5.0 _AEI object (ACPI Event Information).  This object provides 
536resource descriptors associated with hardware-reduced platform events, similar 
537to the AcpiGetCurrentResources interface.
538
539Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
540operation regions, information about the Connection() object and any optional 
541length information is passed to the region handler within the Context 
542parameter.
543
544AcpiBufferToResource: This interface converts a raw AML buffer containing a 
545resource template or resource descriptor to the ACPI_RESOURCE internal format 
546suitable for use by device drivers. Can be used by an operation region handler 
547to convert the Connection() buffer object into a ACPI_RESOURCE.
548
549Miscellaneous/Tools/TestSuites: 
550-------------------------------
551
552Support for extended _HID names (Four alpha characters instead of three).
553Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
554Support for ACPI 5.0 features in the ASLTS test suite.
555Fully updated documentation (ACPICA and iASL reference documents.)
556
557ACPI Table Definition Language:
558-------------------------------
559
560Support for this language was implemented and released as a subsystem of the 
561iASL compiler in 2010. (See the iASL compiler User Guide.)
562
563
564Non-ACPI 5.0 changes for this release:
565--------------------------------------
566
5671) ACPICA Core Subsystem:
568
569Fix a problem with operation region declarations where a failure can occur if 
570the region name and an argument that evaluates to an object (such as the 
571region address) are in different namespace scopes. Lin Ming, ACPICA BZ 937.
572
573Do not abort an ACPI table load if an invalid space ID is found within. This 
574will be caught later if the offending method is executed. ACPICA BZ 925.
575
576Fixed an issue with the FFixedHW space ID where the ID was not always 
577recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
578
579Fixed a problem with the 32-bit generation of the unix-specific OSL 
580(osunixxf.c). Lin Ming, ACPICA BZ 936.
581
582Several changes made to enable generation with the GCC 4.6 compiler. ACPICA BZ 
583935.
584
585New error messages: Unsupported I/O requests (not 8/16/32 bit), and Index/Bank 
586field registers out-of-range.
587
5882) iASL Compiler/Disassembler and Tools:
589
590iASL: Implemented the __PATH__ operator, which returns the full pathname of 
591the current source file.
592
593AcpiHelp: Automatically display expanded keyword information for all ASL 
594operators.
595
596Debugger: Add "Template" command to disassemble/dump resource template 
597buffers.
598
599Added a new master script to generate and execute the ASLTS test suite. 
600Automatically handles 32- and 64-bit generation. See tests/aslts.sh
601
602iASL: Fix problem with listing generation during processing of the Switch() 
603operator where AML listing was disabled until the entire Switch block was 
604completed.
605
606iASL: Improve support for semicolon statement terminators. Fix "invalid 
607character" message for some cases when the semicolon is used. Semicolons are 
608now allowed after every <Term> grammar element. ACPICA BZ 927.
609
610iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 923.
611
612Disassembler: Fix problem with disassembly of the DataTableRegion operator 
613where an inadvertent "Unhandled deferred opcode" message could be generated.
614
6153) Example Code and Data Size
616
617These are the sizes for the OS-independent acpica.lib produced by the 
618Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
619includes the debug output trace mechanism and has a much larger code and data 
620size.
621
622  Previous Release:
623    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
624    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
625  Current Release:
626    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
627    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
628
629----------------------------------------
63022 September 2011. Summary of changes for version 20110922:
631
6320) ACPI 5.0 News:
633
634Support for ACPI 5.0 in ACPICA has been underway for several months and will 
635be released at the same time that ACPI 5.0 is officially released.
636
637The ACPI 5.0 specification is on track for release in the next few months.
638 
6391) ACPICA Core Subsystem:
640
641Fixed a problem where the maximum sleep time for the Sleep() operator was 
642intended to be limited to two seconds, but was inadvertently limited to 20 
643seconds instead.
644
645Linux and Unix makefiles: Added header file dependencies to ensure correct 
646generation of ACPICA core code and utilities. Also simplified the makefiles 
647considerably through the use of the vpath variable to specify search paths. 
648ACPICA BZ 924.
649
6502) iASL Compiler/Disassembler and Tools:
651
652iASL: Implemented support to check the access length for all fields created to 
653access named Resource Descriptor fields. For example, if a resource field is 
654defined to be two bits, a warning is issued if a CreateXxxxField() is used 
655with an incorrect bit length. This is implemented for all current resource 
656descriptor names. ACPICA BZ 930.
657  
658Disassembler: Fixed a byte ordering problem with the output of 24-bit and 56-
659bit integers.
660
661iASL: Fixed a couple of issues associated with variable-length package 
662objects. 1) properly handle constants like One, Ones, Zero -- do not make a 
663VAR_PACKAGE when these are used as a package length. 2) Allow the VAR_PACKAGE 
664opcode (in addition to PACKAGE) when validating object types for predefined 
665names.
666
667iASL: Emit statistics for all output files (instead of just the ASL input and 
668AML output). Includes listings, hex files, etc.
669
670iASL: Added -G option to the table compiler to allow the compilation of custom 
671ACPI tables. The only part of a table that is required is the standard 36-byte 
672ACPI header.
673
674AcpiXtract: Ported to the standard ACPICA environment (with ACPICA headers), 
675which also adds correct 64-bit support. Also, now all output filenames are 
676completely lower case.
677
678AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
679loading table files. A warning is issued for any such tables. The only 
680exception is an FADT. This also fixes a possible fault when attempting to load 
681non-AML tables. ACPICA BZ 932.
682
683AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
684missing table terminator could cause a fault when using the -p option.
685
686AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
687statistics.
688
6893) Example Code and Data Size
690
691These are the sizes for the OS-independent acpica.lib produced by the 
692Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
693includes the debug output trace mechanism and has a much larger code and data 
694size.
695
696  Previous Release (VC 9.0):
697    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
698    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
699  Current Release (VC 9.0):
700    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
701    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
702
703
704----------------------------------------
70523 June 2011. Summary of changes for version 20110623:
706
7071) ACPI CA Core Subsystem:
708
709Updated the predefined name repair mechanism to not attempt repair of a _TSS 
710return object if a _PSS object is present. We can only sort the _TSS return 
711package if there is no _PSS within the same scope. This is because if _PSS is 
712present, the ACPI specification dictates that the _TSS Power Dissipation field 
713is to be ignored, and therefore some BIOSs leave garbage values in the _TSS 
714Power field(s). In this case, it is best to just return the _TSS package as-
715is. Reported by, and fixed with assistance from Fenghua Yu.
716
717Added an option to globally disable the control method return value validation 
718and repair. This runtime option can be used to disable return value repair if 
719this is causing a problem on a particular machine. Also added an option to 
720AcpiExec (-dr) to set this disable flag.
721
722All makefiles and project files: Major changes to improve generation of ACPICA 
723tools. ACPICA BZ 912:
724    Reduce default optimization levels to improve compatibility
725    For Linux, add strict-aliasing=0 for gcc 4
726    Cleanup and simplify use of command line defines
727    Cleanup multithread library support
728    Improve usage messages
729
730Linux-specific header: update handling of THREAD_ID and pthread. For the 32-
731bit case, improve casting to eliminate possible warnings, especially with the 
732acpica tools.
733
734Example Code and Data Size: These are the sizes for the OS-independent 
735acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
736version of the code includes the debug output trace mechanism and has a much 
737larger code and data size.
738
739  Previous Release (VC 9.0):
740    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
741    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
742  Current Release (VC 9.0):
743    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
744    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
745
7462) iASL Compiler/Disassembler and Tools:
747
748With this release, a new utility named "acpihelp" has been added to the ACPICA 
749package. This utility summarizes the ACPI specification chapters for the ASL 
750and AML languages. It generates under Linux/Unix as well as Windows, and 
751provides the following functionality:
752    Find/display ASL operator(s) -- with description and syntax.
753    Find/display ASL keyword(s) -- with exact spelling and descriptions.
754    Find/display ACPI predefined name(s) -- with description, number
755        of arguments, and the return value data type.
756    Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
757    Decode/display AML opcode -- with opcode name, arguments, and grammar.
758
759Service Layers: Make multi-thread support configurable. Conditionally compile 
760the multi-thread support so that threading libraries will not be linked if not 
761necessary. The only tool that requires multi-thread support is AcpiExec.
762
763iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of 
764Bison appear to want the interface to yyerror to be a const char * (or at 
765least this is a problem when generating iASL on some systems.) ACPICA BZ 923 
766Pierre Lejeune.
767
768Tools: Fix for systems where O_BINARY is not defined. Only used for Windows 
769versions of the tools.
770
771----------------------------------------
77227 May 2011. Summary of changes for version 20110527:
773
7741) ACPI CA Core Subsystem:
775
776ASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
777signature. Now, only allow SSDT, OEMx, and a null signature. History:
778    1) Originally, we checked the table signature for "SSDT" or "PSDT".
779       (PSDT is now obsolete.)
780    2) We added support for OEMx tables, signature "OEM" plus a fourth
781       "don't care" character.
782    3) Valid tables were encountered with a null signature, so we just
783       gave up on validating the signature, (05/2008).
784    4) We encountered non-AML tables such as the MADT, which caused
785       interpreter errors and kernel faults. So now, we once again allow
786       only SSDT, OEMx, and now, also a null signature. (05/2011).
787
788Added the missing _TDL predefined name to the global name list in order to 
789enable validation. Affects both the core ACPICA code and the iASL compiler.
790
791Example Code and Data Size: These are the sizes for the OS-independent 
792acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
793version of the code includes the debug output trace mechanism and has a much 
794larger code and data size.
795
796  Previous Release (VC 9.0):
797    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
798    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
799  Current Release (VC 9.0):
800    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
801    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
802
8032) iASL Compiler/Disassembler and Tools:
804
805Debugger/AcpiExec: Implemented support for "complex" method arguments on the 
806debugger command line. This adds support beyond simple integers -- including 
807Strings, Buffers, and Packages. Includes support for nested packages. 
808Increased the default command line buffer size to accommodate these arguments. 
809See the ACPICA reference for details and syntax. ACPICA BZ 917.
810 
811Debugger/AcpiExec: Implemented support for "default" method arguments for the 
812Execute/Debug command. Now, the debugger will always invoke a control method 
813with the required number of arguments -- even if the command line specifies 
814none or insufficient arguments. It uses default integer values for any missing 
815arguments. Also fixes a bug where only six method arguments maximum were 
816supported instead of the required seven.
817
818Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
819also return status in order to prevent buffer overruns. See the ACPICA 
820reference for details and syntax. ACPICA BZ 921
821
822iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
823makefiles to simplify support for the two different but similar parser 
824generators, bison and yacc.
825
826Updated the generic unix makefile for gcc 4. The default gcc version is now 
827expected to be 4 or greater, since options specific to gcc 4 are used.
828
829----------------------------------------
83013 April 2011. Summary of changes for version 20110413:
831
8321) ACPI CA Core Subsystem:
833
834Implemented support to execute a so-called "orphan" _REG method under the EC 
835device. This change will force the execution of a _REG method underneath the 
836EC 
837device even if there is no corresponding operation region of type 
838EmbeddedControl. Fixes a problem seen on some machines and apparently is 
839compatible with Windows behavior. ACPICA BZ 875.
840
841Added more predefined methods that are eligible for automatic NULL package 
842element removal. This change adds another group of predefined names to the 
843list 
844of names that can be repaired by having NULL package elements dynamically 
845removed. This group are those methods that return a single variable-length 
846package containing simple data types such as integers, buffers, strings. This 
847includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL, 
848_Sx, 
849and _TZD. ACPICA BZ 914.
850
851Split and segregated all internal global lock functions to a new file, 
852evglock.c.
853
854Updated internal address SpaceID for DataTable regions. Moved this internal 
855space 
856id in preparation for ACPI 5.0 changes that will include some new space IDs. 
857This 
858change should not affect user/host code.
859
860Example Code and Data Size: These are the sizes for the OS-independent 
861acpica.lib 
862produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
863the code includes the debug output trace mechanism and has a much larger code 
864and 
865data size.
866
867  Previous Release (VC 9.0):
868    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
869    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
870  Current Release (VC 9.0):
871    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
872    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
873
8742) iASL Compiler/Disassembler and Tools:
875
876iASL/DTC: Major update for new grammar features. Allow generic data types in 
877custom ACPI tables. Field names are now optional. Any line can be split to 
878multiple lines using the continuation char (\). Large buffers now use line-
879continuation character(s) and no colon on the continuation lines. See the 
880grammar 
881update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
882
883iASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements. 
884Since the parser stuffs a "zero" as the return value for these statements (due 
885to 
886the underlying AML grammar), they were seen as "return with value" by the iASL 
887semantic checking. They are now seen correctly as "null" return statements.
888
889iASL: Check if a_REG declaration has a corresponding Operation Region. Adds a 
890check for each _REG to ensure that there is in fact a corresponding operation 
891region declaration in the same scope. If not, the _REG method is not very 
892useful 
893since it probably won't be executed. ACPICA BZ 915.
894
895iASL/DTC: Finish support for expression evaluation. Added a new expression 
896parser 
897that implements c-style operator precedence and parenthesization. ACPICA 
898bugzilla 
899908.
900
901Disassembler/DTC: Remove support for () and <> style comments in data tables. 
902Now 
903that DTC has full expression support, we don't want to have comment strings 
904that 
905start with a parentheses or a less-than symbol. Now, only the standard /* and 
906// 
907comments are supported, as well as the bracket [] comments.
908
909AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
910"unusual" 
911headers in the acpidump file. Update the header validation to support these 
912tables. Problem introduced in previous AcpiXtract version in the change to 
913support "wrong checksum" error messages emitted by acpidump utility.
914
915iASL: Add a * option to generate all template files (as a synonym for ALL) as 
916in 
917"iasl -T *" or "iasl -T ALL".
918
919iASL/DTC: Do not abort compiler on fatal errors. We do not want to completely 
920abort the compiler on "fatal" errors, simply should abort the current compile. 
921This allows multiple compiles with a single (possibly wildcard) compiler 
922invocation.
923
924----------------------------------------
92516 March 2011. Summary of changes for version 20110316:
926
9271) ACPI CA Core Subsystem:
928
929Fixed a problem caused by a _PRW method appearing at the namespace root scope 
930during the setup of wake GPEs. A fault could occur if a _PRW directly under 
931the 
932root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
933
934Implemented support for "spurious" Global Lock interrupts. On some systems, a 
935global lock interrupt can occur without the pending flag being set. Upon a GL 
936interrupt, we now ensure that a thread is actually waiting for the lock before 
937signaling GL availability. Rafael Wysocki, Bob Moore.
938
939Example Code and Data Size: These are the sizes for the OS-independent 
940acpica.lib 
941produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
942the code includes the debug output trace mechanism and has a much larger code 
943and 
944data size.
945
946  Previous Release (VC 9.0):
947    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
948    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
949  Current Release (VC 9.0):
950    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
951    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
952
9532) iASL Compiler/Disassembler and Tools:
954
955Implemented full support for the "SLIC" ACPI table. Includes support in the 
956header files, disassembler, table compiler, and template generator. Bob Moore, 
957Lin Ming.
958
959AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
960Apparently some or all versions of acpidump will occasionally emit a comment 
961like 
962"Wrong checksum", etc., into the dump file. This was causing problems for 
963AcpiXtract. ACPICA BZ 905.
964
965iASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
966ACPICA BZ 913.
967
968AcpiExec: Update installation of operation region handlers. Install one 
969handler 
970for a user-defined address space. This is used by the ASL test suite (ASLTS).
971
972----------------------------------------
97311 February 2011. Summary of changes for version 20110211:
974
9751) ACPI CA Core Subsystem:
976
977Added a mechanism to defer _REG methods for some early-installed handlers. 
978Most user handlers should be installed before call to AcpiEnableSubsystem. 
979However, Event handlers and region handlers should be installed after 
980AcpiInitializeObjects. Override handlers for the "default" regions should be 
981installed early, however. This change executes all _REG methods for the 
982default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
983chicken/egg issues between them. ACPICA BZ 848.
984
985Implemented an optimization for GPE detection. This optimization will simply 
986ignore GPE registers that contain no enabled GPEs -- there is no need to 
987read the register since this information is available internally. This 
988becomes more important on machines with a large GPE space. ACPICA bugzilla 
989884. Lin Ming. Suggestion from Joe Liu.
990
991Removed all use of the highly unreliable FADT revision field. The revision 
992number in the FADT has been found to be completely unreliable and cannot be 
993trusted. Only the actual table length can be used to infer the version. This 
994change updates the ACPICA core and the disassembler so that both no longer 
995even look at the FADT version and instead depend solely upon the FADT 
996length.
997
998Fix an unresolved name issue for the no-debug and no-error-message source 
999generation cases. The _AcpiModuleName was left undefined in these cases, but 
1000it is actually needed as a parameter to some interfaces. Define 
1001_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
1002
1003Split several large files (makefiles and project files updated)
1004  utglobal.c   -> utdecode.c
1005  dbcomds.c    -> dbmethod.c dbnames.c
1006  dsopcode.c   -> dsargs.c dscontrol.c
1007  dsload.c     -> dsload2.c
1008  aslanalyze.c -> aslbtypes.c aslwalks.c
1009
1010Example Code and Data Size: These are the sizes for the OS-independent 
1011acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1012debug version of the code includes the debug output trace mechanism and has 
1013a much larger code and data size.
1014
1015  Previous Release (VC 9.0):
1016    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1017    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1018  Current Release (VC 9.0):
1019    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1020    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1021
10222) iASL Compiler/Disassembler and Tools:
1023
1024iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
1025These are useful C-style macros with the standard definitions. ACPICA 
1026bugzilla 898.
1027
1028iASL/DTC: Added support for integer expressions and labels. Support for full 
1029expressions for all integer fields in all ACPI tables. Support for labels in 
1030"generic" portions of tables such as UEFI. See the iASL reference manual.
1031
1032Debugger: Added a command to display the status of global handlers. The 
1033"handlers" command will display op region, fixed event, and miscellaneous 
1034global handlers. installation status -- and for op regions, whether default 
1035or user-installed handler will be used.
1036
1037iASL: Warn if reserved method incorrectly returns a value. Many predefined 
1038names are defined such that they do not return a value. If implemented as a 
1039method, issue a warning if such a name explicitly returns a value. ACPICA 
1040Bugzilla 855.
1041
1042iASL: Added detection of GPE method name conflicts. Detects a conflict where 
1043there are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
1044example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
1045
1046iASL/DTC: Fixed a couple input scanner issues with comments and line 
1047numbers. Comment remover could get confused and miss a comment ending. Fixed 
1048a problem with line counter maintenance.
1049
1050iASL/DTC: Reduced the severity of some errors from fatal to error. There is 
1051no need to abort on simple errors within a field definition.
1052
1053Debugger: Simplified the output of the help command. All help output now in 
1054a single screen, instead of help subcommands. ACPICA Bugzilla 897.
1055
1056----------------------------------------
105712 January 2011. Summary of changes for version 20110112:
1058
10591) ACPI CA Core Subsystem:
1060
1061Fixed a race condition between method execution and namespace walks that can 
1062possibly cause a fault. The problem was apparently introduced in version 
106320100528 as a result of a performance optimization that reduces the number of 
1064namespace walks upon method exit by using the delete_namespace_subtree 
1065function instead of the delete_namespace_by_owner function used previously. 
1066Bug is a missing namespace lock in the delete_namespace_subtree function. 
1067dana.myers@oracle.com
1068
1069Fixed several issues and a possible fault with the automatic "serialized" 
1070method support. History: This support changes a method to "serialized" on the 
1071fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
1072possibility that it cannot handle reentrancy. This fix repairs a couple of 
1073issues seen in the field, especially on machines with many cores:
1074
1075    1) Delete method children only upon the exit of the last thread,
1076       so as to not delete objects out from under other running threads
1077      (and possibly causing a fault.)
1078    2) Set the "serialized" bit for the method only upon the exit of the
1079       Last thread, so as to not cause deadlock when running threads
1080       attempt to exit.
1081    3) Cleanup the use of the AML "MethodFlags" and internal method flags
1082       so that there is no longer any confusion between the two.
1083
1084    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
1085
1086Debugger: Now lock the namespace for duration of a namespace dump. Prevents 
1087issues if the namespace is changing dynamically underneath the debugger. 
1088Especially affects temporary namespace nodes, since the debugger displays 
1089these also.
1090
1091Updated the ordering of include files. The ACPICA headers should appear 
1092before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
1093any necessary compiler-specific defines, etc. Affects the ACPI-related tools 
1094and utilities.
1095
1096Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
1097to all module headers and signons, including the Linux header. This affects 
1098virtually every file in the ACPICA core subsystem, iASL compiler, and all 
1099utilities.
1100
1101Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
1102project files for VC++ 6.0 are now obsolete. New project files can be found 
1103under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
1104details.
1105
1106Example Code and Data Size: These are the sizes for the OS-independent 
1107acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1108debug version of the code includes the debug output trace mechanism and has a 
1109much larger code and data size.
1110
1111  Previous Release (VC 6.0):
1112    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
1113    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
1114  Current Release (VC 9.0):
1115    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1116    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1117
11182) iASL Compiler/Disassembler and Tools:
1119
1120iASL: Added generic data types to the Data Table compiler. Add "generic" data 
1121types such as UINT32, String, Unicode, etc., to simplify the generation of 
1122platform-defined tables such as UEFI. Lin Ming.
1123
1124iASL: Added listing support for the Data Table Compiler. Adds listing support 
1125(-l) to display actual binary output for each line of input code.
1126
1127----------------------------------------
112809 December 2010. Summary of changes for version 20101209:
1129
11301) ACPI CA Core Subsystem:
1131
1132Completed the major overhaul of the GPE support code that was begun in July 
11332010. Major features include: removal of _PRW execution in ACPICA (host 
1134executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
1135changes to existing interfaces, simplification of GPE handler operation, and 
1136a handful of new interfaces:
1137
1138    AcpiUpdateAllGpes
1139    AcpiFinishGpe
1140    AcpiSetupGpeForWake
1141    AcpiSetGpeWakeMask
1142    One new file, evxfgpe.c to consolidate all external GPE interfaces.
1143
1144See the ACPICA Programmer Reference for full details and programming 
1145information. See the new section 4.4 "General Purpose Event (GPE) Support" 
1146for a full overview, and section 8.7 "ACPI General Purpose Event Management" 
1147for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
1148Bob Moore, Rafael Wysocki.
1149
1150Implemented a new GPE feature for Windows compatibility, the "Implicit Wake 
1151GPE Notify". This feature will automatically issue a Notify(2) on a device 
1152when a Wake GPE is received if there is no corresponding GPE method or 
1153handler. ACPICA BZ 870.
1154
1155Fixed a problem with the Scope() operator during table parse and load phase. 
1156During load phase (table load or method execution), the scope operator should 
1157not enter the target into the namespace. Instead, it should open a new scope 
1158at the target location. Linux BZ 19462, ACPICA BZ 882.
1159
1160Example Code and Data Size: These are the sizes for the OS-independent 
1161acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1162debug version of the code includes the debug output trace mechanism and has a 
1163much larger code and data size.
1164
1165  Previous Release:
1166    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
1167    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
1168  Current Release:
1169    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1170    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1171
11722) iASL Compiler/Disassembler and Tools:
1173
1174iASL: Relax the alphanumeric restriction on _CID strings. These strings are 
1175"bus-specific" per the ACPI specification, and therefore any characters are 
1176acceptable. The only checks that can be performed are for a null string and 
1177perhaps for a leading asterisk. ACPICA BZ 886.
1178
1179iASL: Fixed a problem where a syntax error that caused a premature EOF 
1180condition on the source file emitted a very confusing error message. The 
1181premature EOF is now detected correctly. ACPICA BZ 891.
1182
1183Disassembler: Decode the AccessSize within a Generic Address Structure (byte 
1184access, word access, etc.) Note, this field does not allow arbitrary bit 
1185access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
1186
1187New: AcpiNames utility - Example namespace dump utility. Shows an example of 
1188ACPICA configuration for a minimal namespace dump utility. Uses table and 
1189namespace managers, but no AML interpreter. Does not add any functionality 
1190over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
1191partition and configure ACPICA. ACPICA BZ 883.
1192
1193AML Debugger: Increased the debugger buffer size for method return objects. 
1194Was 4K, increased to 16K. Also enhanced error messages for debugger method 
1195execution, including the buffer overflow case.
1196
1197----------------------------------------
119813 October 2010. Summary of changes for version 20101013:
1199
12001) ACPI CA Core Subsystem:
1201
1202Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
1203clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
1204HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
1205
1206Changed the type of the predefined namespace object _TZ from ThermalZone to 
1207Device. This was found to be confusing to the host software that processes 
1208the various thermal zones, since _TZ is not really a ThermalZone. However, a 
1209Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
1210Zhang.
1211
1212Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
1213string is "Windows 2006 SP2".
1214
1215Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
1216code automatically repairs _HID-related strings, this type of code is no 
1217longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
1218
1219Example Code and Data Size: These are the sizes for the OS-independent 
1220acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1221debug version of the code includes the debug output trace mechanism and has a 
1222much larger code and data size.
1223
1224  Previous Release:
1225    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1226    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1227  Current Release:
1228    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1229    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1230
12312) iASL Compiler/Disassembler and Tools:
1232
1233iASL: Implemented additional compile-time validation for _HID strings. The 
1234non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
1235the string must be exactly seven or eight characters. For both _HID and _CID 
1236strings, all characters must be alphanumeric. ACPICA BZ 874.
1237
1238iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
1239descriptors that are mostly or all zeros, with the expectation that they will 
1240be filled in at runtime. iASL now allows this as long as there is a "resource 
1241tag" (name) associated with the descriptor, which gives the ASL a handle 
1242needed to modify the descriptor. ACPICA BZ 873.
1243
1244Added single-thread support to the generic Unix application OSL. Primarily 
1245for iASL support, this change removes the use of semaphores in the single-
1246threaded ACPICA tools/applications - increasing performance. The 
1247_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
1248option. ACPICA BZ 879.
1249
1250AcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
1251for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
1252
1253iASL: Moved all compiler messages to a new file, aslmessages.h.
1254
1255----------------------------------------
125615 September 2010. Summary of changes for version 20100915:
1257
12581) ACPI CA Core Subsystem:
1259
1260Removed the AcpiOsDerivePciId OSL interface. The various host implementations 
1261of this function were not OS-dependent and are now obsolete and can be 
1262removed from all host OSLs. This function has been replaced by 
1263AcpiHwDerivePciId, which is now part of the ACPICA core code. 
1264AcpiHwDerivePciId has been implemented without recursion. Adds one new 
1265module, hwpci.c. ACPICA BZ 857.
1266
1267Implemented a dynamic repair for _HID and _CID strings. The following 
1268problems are now repaired at runtime: 1) Remove a leading asterisk in the 
1269string, and 2) the entire string is uppercased. Both repairs are in 
1270accordance with the ACPI specification and will simplify host driver code. 
1271ACPICA BZ 871.
1272
1273The ACPI_THREAD_ID type is no longer configurable, internally it is now 
1274always UINT64. This simplifies the ACPICA code, especially any printf output. 
1275UINT64 is the only common data type for all thread_id types across all 
1276operating systems. It is now up to the host OSL to cast the native thread_id 
1277type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
1278Lin Ming, Bob Moore.
1279
1280Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
1281keyword is not standard across compilers, and this type allows inline to be 
1282configured on a per-compiler basis. Lin Ming.
1283
1284Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
1285Added an extern for this boolean in acpixf.h. Some hosts utilize this value 
1286during suspend/restore operations. ACPICA BZ 869.
1287
1288All code that implements error/warning messages with the "ACPI:" prefix has 
1289been moved to a new module, utxferror.c.
1290
1291The UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
1292is used. ACPICA BZ 829. Lin Ming, Bob Moore.
1293
1294Example Code and Data Size: These are the sizes for the OS-independent 
1295acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1296debug version of the code includes the debug output trace mechanism and has a 
1297much larger code and data size.
1298
1299  Previous Release:
1300    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1301    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1302  Current Release:
1303    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1304    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1305
13062) iASL Compiler/Disassembler and Tools:
1307
1308iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
1309This keeps the output files free of random error messages that may originate 
1310from within the namespace/interpreter code. Used this opportunity to merge 
1311all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
1312866. Lin Ming, Bob Moore.
1313
1314Tools: update some printfs for ansi warnings on size_t. Handle width change 
1315of size_t on 32-bit versus 64-bit generations. Lin Ming.
1316
1317----------------------------------------
131806 August 2010. Summary of changes for version 20100806:
1319
13201) ACPI CA Core Subsystem:
1321
1322Designed and implemented a new host interface to the _OSI support code. This 
1323will allow the host to dynamically add or remove multiple _OSI strings, as 
1324well as install an optional handler that is called for each _OSI invocation. 
1325Also added a new AML debugger command, 'osi' to display and modify the global 
1326_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
1327reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
1328New Functions:
1329    AcpiInstallInterface - Add an _OSI string.
1330    AcpiRemoveInterface - Delete an _OSI string.
1331    AcpiInstallInterfaceHandler - Install optional _OSI handler.
1332Obsolete Functions:
1333    AcpiOsValidateInterface - no longer used.
1334New Files:
1335    source/components/utilities/utosi.c
1336
1337Re-introduced the support to enable multi-byte transfers for Embedded 
1338Controller (EC) operation regions. A reported problem was found to be a bug 
1339in the host OS, not in the multi-byte support. Previously, the maximum data 
1340size passed to the EC operation region handler was a single byte. There are 
1341often EC Fields larger than one byte that need to be transferred, and it is 
1342useful for the EC driver to lock these as a single transaction. This change 
1343enables single transfers larger than 8 bits. This effectively changes the 
1344access to the EC space from ByteAcc to AnyAcc, and will probably require 
1345changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
1346transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
1347
1348Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
1349prototype in acpiosxf.h had the output value pointer as a (void *).
1350It should be a (UINT64 *). This may affect some host OSL code.
1351
1352Fixed a couple problems with the recently modified Linux makefiles for iASL 
1353and AcpiExec. These new makefiles place the generated object files in the 
1354local directory so that there can be no collisions between the files that are 
1355shared between them that are compiled with different options.
1356
1357Example Code and Data Size: These are the sizes for the OS-independent 
1358acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1359debug version of the code includes the debug output trace mechanism and has a 
1360much larger code and data size.
1361
1362  Previous Release:
1363    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1364    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1365  Current Release:
1366    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1367    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1368
13692) iASL Compiler/Disassembler and Tools:
1370
1371iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
1372namespace from and disassemble an entire group of AML files. Useful for 
1373loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
1374disassembling with one simple command. ACPICA BZ 865. Lin Ming.
1375
1376iASL: Allow multiple invocations of -e option. This change allows multiple 
1377uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
1378Lin Ming.
1379
1380----------------------------------------
138102 July 2010. Summary of changes for version 20100702:
1382
13831) ACPI CA Core Subsystem:
1384
1385Implemented several updates to the recently added GPE reference count 
1386support. The model for "wake" GPEs is changing to give the host OS complete 
1387control of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
1388methods, since the host already must execute them. Also, additional changes 
1389were made to help ensure that the reference counts are kept in proper 
1390synchronization with reality. Rafael J. Wysocki.
1391
13921) Ensure that GPEs are not enabled twice during initialization.
13932) Ensure that GPE enable masks stay in sync with the reference count.
13943) Do not inadvertently enable GPEs when writing GPE registers.
13954) Remove the internal wake reference counter and add new AcpiGpeWakeup 
1396interface. This interface will set or clear individual GPEs for wakeup.
13975) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
1398are now used for "runtime" GPEs only.
1399
1400Changed the behavior of the GPE install/remove handler interfaces. The GPE is 
1401no longer disabled during this process, as it was found to cause problems on 
1402some machines. Rafael J. Wysocki.
1403
1404Reverted a change introduced in version 20100528 to enable Embedded 
1405Controller multi-byte transfers. This change was found to cause problems with 
1406Index Fields and possibly Bank Fields. It will be reintroduced when these 
1407problems have been resolved.
1408
1409Fixed a problem with references to Alias objects within Package Objects. A 
1410reference to an Alias within the definition of a Package was not always 
1411resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
1412were resolved to the actual object instead of a reference to the object as it 
1413should be. Package objects are only allowed to contain integer, string, 
1414buffer, package, and reference objects. Redhat bugzilla 608648.
1415
1416Example Code and Data Size: These are the sizes for the OS-independent 
1417acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1418debug version of the code includes the debug output trace mechanism and has a 
1419much larger code and data size.
1420
1421  Previous Release:
1422    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1423    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1424  Current Release:
1425    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1426    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1427
14282) iASL Compiler/Disassembler and Tools:
1429
1430iASL: Implemented a new compiler subsystem to allow definition and 
1431compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
1432are called "ACPI Data Tables", and the new compiler is the "Data Table 
1433Compiler". This compiler is intended to simplify the existing error-prone 
1434process of creating these tables for the BIOS, as well as allowing the 
1435disassembly, modification, recompilation, and override of existing ACPI data 
1436tables. See the iASL User Guide for detailed information.
1437
1438iASL: Implemented a new Template Generator option in support of the new Data 
1439Table Compiler. This option will create examples of all known ACPI tables 
1440that can be used as the basis for table development. See the iASL 
1441documentation and the -T option.
1442
1443Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
1444Descriptor Table).
1445
1446Updated the Linux makefiles for iASL and AcpiExec to place the generated 
1447object files in the local directory so that there can be no collisions 
1448between the shared files between them that are generated with different 
1449options.
1450
1451Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
1452the #define __APPLE__ to enable this support.
1453
1454----------------------------------------
145528 May 2010. Summary of changes for version 20100528:
1456
1457Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
1458available at www.acpi.info. This is primarily an errata release.
1459
14601) ACPI CA Core Subsystem:
1461
1462Undefined ACPI tables: We are looking for the definitions for the following 
1463ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
1464
1465Implemented support to enable multi-byte transfers for Embedded Controller 
1466(EC) operation regions. Previously, the maximum data size passed to the EC 
1467operation region handler was a single byte. There are often EC Fields larger 
1468than one byte that need to be transferred, and it is useful for the EC driver 
1469to lock these as a single transaction. This change enables single transfers 
1470larger than 8 bits. This effectively changes the access to the EC space from 
1471ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
1472Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
1473transfers. Alexey Starikovskiy, Lin Ming
1474
1475Implemented a performance enhancement for namespace search and access. This 
1476change enhances the performance of namespace searches and walks by adding a 
1477backpointer to the parent in each namespace node. On large namespaces, this 
1478change can improve overall ACPI performance by up to 9X. Adding a pointer to 
1479each namespace node increases the overall size of the internal namespace by 
1480about 5%, since each namespace entry usually consists of both a namespace 
1481node and an ACPI operand object. However, this is the first growth of the 
1482namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
1483
1484Implemented a performance optimization that reduces the number of namespace 
1485walks. On control method exit, only walk the namespace if the method is known 
1486to have created namespace objects outside of its local scope. Previously, the 
1487entire namespace was traversed on each control method exit. This change can 
1488improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
1489
1490Added support to truncate I/O addresses to 16 bits for Windows compatibility. 
1491Some ASL code has been seen in the field that inadvertently has bits set 
1492above bit 15. This feature is optional and is enabled if the BIOS requests 
1493any Windows OSI strings. It can also be enabled by the host OS. Matthew 
1494Garrett, Bob Moore.
1495
1496Added support to limit the maximum time for the ASL Sleep() operator. To 
1497prevent accidental deep sleeps, limit the maximum time that Sleep() will 
1498actually sleep. Configurable, the default maximum is two seconds. ACPICA 
1499bugzilla 854.
1500
1501Added run-time validation support for the _WDG and_WED Microsoft predefined 
1502methods. These objects are defined by "Windows Instrumentation", and are not 
1503part of the ACPI spec. ACPICA BZ 860.
1504
1505Expanded all statistic counters used during namespace and device 
1506initialization from 16 to 32 bits in order to support very large namespaces.
1507
1508Replaced all instances of %d in printf format specifiers with %u since nearly 
1509all integers in ACPICA are unsigned.
1510
1511Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
1512as AE_NO_HANDLER.
1513
1514Example Code and Data Size: These are the sizes for the OS-independent 
1515acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1516debug version of the code includes the debug output trace mechanism and has a 
1517much larger code and data size.
1518
1519  Previous Release:
1520    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1521    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1522  Current Release:
1523    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1524    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1525
15262) iASL Compiler/Disassembler and Tools:
1527
1528iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
1529methods. These objects are defined by "Windows Instrumentation", and are not 
1530part of the ACPI spec. ACPICA BZ 860.
1531
1532AcpiExec: added option to disable the memory tracking mechanism. The -dt 
1533option will disable the tracking mechanism, which improves performance 
1534considerably.
1535
1536AcpiExec: Restructured the command line options into -d (disable) and -e 
1537(enable) options.
1538
1539----------------------------------------
154028 April 2010. Summary of changes for version 20100428:
1541
15421) ACPI CA Core Subsystem:
1543
1544Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
1545including FADT-based and GPE Block Devices, execute any _PRW methods in the 
1546new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
1547runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
1548immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
1549Devices. Provides compatibility with other ACPI implementations. Two new 
1550files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
1551
1552Fixed a regression introduced in version 20100331 within the table manager 
1553where initial table loading could fail. This was introduced in the fix for 
1554AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
1555data structures to clarify their meaning and use.
1556
1557Fixed a possible allocation overrun during internal object copy in 
1558AcpiUtCopySimpleObject. The original code did not correctly handle the case 
1559where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
1560
1561Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
1562possible access beyond end-of-allocation. Also, now fully validate descriptor 
1563(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
1564
1565Example Code and Data Size: These are the sizes for the OS-independent 
1566acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1567debug version of the code includes the debug output trace mechanism and has a 
1568much larger code and data size.
1569
1570  Previous Release:
1571    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1572    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1573  Current Release:
1574    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1575    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1576
15772) iASL Compiler/Disassembler and Tools:
1578
1579iASL: Implemented Min/Max/Len/Gran validation for address resource 
1580descriptors. This change implements validation for the address fields that 
1581are common to all address-type resource descriptors. These checks are 
1582implemented: Checks for valid Min/Max, length within the Min/Max window, 
1583valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
1584table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
1585and aslrestype2.c files into five new files. ACPICA BZ 840.
1586
1587iASL: Added support for the _Wxx predefined names. This support was missing 
1588and these names were not recognized by the compiler as valid predefined 
1589names. ACPICA BZ 851.
1590
1591iASL: Added an error for all predefined names that are defined to return no 
1592value and thus must be implemented as Control Methods. These include all of 
1593the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
1594names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
1595
1596iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
1597ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
1598dynamically loaded via the Load() operator. Also cleaned up output for the -
1599ta and -tc options. ACPICA BZ 853.
1600
1601Tests: Added a new file with examples of extended iASL error checking. 
1602Demonstrates the advanced error checking ability of the iASL compiler. 
1603Available at tests/misc/badcode.asl.
1604
1605----------------------------------------
160631 March 2010. Summary of changes for version 20100331:
1607
16081) ACPI CA Core Subsystem:
1609
1610Completed a major update for the GPE support in order to improve support for 
1611shared GPEs and to simplify both host OS and ACPICA code. Added a reference 
1612count mechanism to support shared GPEs that require multiple device drivers. 
1613Several external interfaces have changed. One external interface has been 
1614removed. One new external interface was added. Most of the GPE external 
1615interfaces now use the GPE spinlock instead of the events mutex (and the 
1616Flags parameter for many GPE interfaces has been removed.) See the updated 
1617ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
1618Wysocki. ACPICA BZ 831.
1619
1620Changed:
1621    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
1622Removed:
1623    AcpiSetGpeType
1624New:
1625    AcpiSetGpe
1626
1627Implemented write support for DataTable operation regions. These regions are 
1628defined via the DataTableRegion() operator. Previously, only read support was 
1629implemented. The ACPI specification allows DataTableRegions to be read/write, 
1630however.
1631
1632Implemented a new subsystem option to force a copy of the DSDT to local 
1633memory. Optionally copy the entire DSDT to local memory (instead of simply 
1634mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
1635the original DSDT, creating the need for this option. Default is FALSE, do 
1636not copy the DSDT.
1637
1638Implemented detection of a corrupted or replaced DSDT. This change adds 
1639support to detect a DSDT that has been corrupted and/or replaced from outside 
1640the OS (by firmware). This is typically catastrophic for the system, but has 
1641been seen on some machines. Once this problem has been detected, the DSDT 
1642copy option can be enabled via system configuration. Lin Ming, Bob Moore.
1643
1644Fixed two problems with AcpiReallocateRootTable during the root table copy. 
1645When copying the root table to the new allocation, the length used was 
1646incorrect. The new size was used instead of the current table size, meaning 
1647too much data was copied. Also, the count of available slots for ACPI tables 
1648was not set correctly. Alexey Starikovskiy, Bob Moore.
1649
1650Example Code and Data Size: These are the sizes for the OS-independent 
1651acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1652debug version of the code includes the debug output trace mechanism and has a 
1653much larger code and data size.
1654
1655  Previous Release:
1656    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1657    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1658  Current Release:
1659    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1660    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1661
16622) iASL Compiler/Disassembler and Tools:
1663
1664iASL: Implement limited typechecking for values returned from predefined 
1665control methods. The type of any returned static (unnamed) object is now 
1666validated. For example, Return(1). ACPICA BZ 786.
1667
1668iASL: Fixed a predefined name object verification regression. Fixes a problem 
1669introduced in version 20100304. An error is incorrectly generated if a 
1670predefined name is declared as a static named object with a value defined 
1671using the keywords "Zero", "One", or "Ones". Lin Ming.
1672
1673iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
1674reducing the requested registry access rights. ACPICA BZ 842.
1675
1676Disassembler: fixed a possible fault when generating External() statements. 
1677Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
1678(carat). Fixes a string length allocation calculation. Lin Ming.
1679
1680----------------------------------------
168104 March 2010. Summary of changes for version 20100304:
1682
16831) ACPI CA Core Subsystem:
1684
1685Fixed a possible problem with the AML Mutex handling function 
1686AcpiExReleaseMutex where the function could fault under the very rare 
1687condition when the interpreter has blocked, the interpreter lock is released, 
1688the interpreter is then reentered via the same thread, and attempts to 
1689acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
1690Ming.
1691
1692Implemented additional configuration support for the AML "Debug Object". 
1693Output from the debug object can now be enabled via a global variable, 
1694AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
1695This debug output is now available in the release version of ACPICA instead 
1696of just the debug version. Also, the entire debug output module can now be 
1697configured out of the ACPICA build if desired. One new file added, 
1698executer/exdebug.c. Lin Ming, Bob Moore.
1699
1700Added header support for the ACPI MCHI table (Management Controller Host 
1701Interface Table). This table was added in ACPI 4.0, but the defining document 
1702has only recently become available.
1703
1704Standardized output of integer values for ACPICA warnings/errors. Always use 
17050x prefix for hex output, always use %u for unsigned integer decimal output. 
1706Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
1707invocations.) These invocations were converted from the original 
1708ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
1709
1710Example Code and Data Size: These are the sizes for the OS-independent 
1711acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1712debug version of the code includes the debug output trace mechanism and has a 
1713much larger code and data size.
1714
1715  Previous Release:
1716    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1717    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1718  Current Release:
1719    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1720    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1721
17222) iASL Compiler/Disassembler and Tools:
1723
1724iASL: Implemented typechecking support for static (non-control method) 
1725predefined named objects that are declared with the Name() operator. For 
1726example, the type of this object is now validated to be of type Integer: 
1727Name(_BBN, 1). This change migrates the compiler to using the core predefined 
1728name table instead of maintaining a local version. Added a new file, 
1729aslpredef.c. ACPICA BZ 832.
1730
1731Disassembler: Added support for the ACPI 4.0 MCHI table.
1732
1733----------------------------------------
173421 January 2010. Summary of changes for version 20100121:
1735
17361) ACPI CA Core Subsystem:
1737
1738Added the 2010 copyright to all module headers and signons. This affects 
1739virtually every file in the ACPICA core subsystem, the iASL compiler, the 
1740tools/utilities, and the test suites.
1741
1742Implemented a change to the AcpiGetDevices interface to eliminate unnecessary 
1743invocations of the _STA method. In the case where a specific _HID is 
1744requested, do not run _STA until a _HID match is found. This eliminates 
1745potentially dozens of _STA calls during a search for a particular device/HID, 
1746which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
1747
1748Implemented an additional repair for predefined method return values. Attempt 
1749to repair unexpected NULL elements within returned Package objects. Create an 
1750Integer of value zero, a NULL String, or a zero-length Buffer as appropriate. 
1751ACPICA BZ 818. Lin Ming, Bob Moore.
1752
1753Removed the obsolete ACPI_INTEGER data type. This type was introduced as the 
1754code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
175564-bit AML integers). It is now obsolete and this change removes it from the 
1756ACPICA code base, replaced by UINT64. The original typedef has been retained 
1757for now for compatibility with existing device driver code. ACPICA BZ 824.
1758
1759Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
1760the parse tree object.
1761
1762Added additional warning options for the gcc-4 generation. Updated the source 
1763accordingly. This includes some code restructuring to eliminate unreachable 
1764code, elimination of some gotos, elimination of unused return values, some 
1765additional casting, and removal of redundant declarations.
1766
1767Example Code and Data Size: These are the sizes for the OS-independent 
1768acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1769debug version of the code includes the debug output trace mechanism and has a 
1770much larger code and data size.
1771
1772  Previous Release:
1773    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1774    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1775  Current Release:
1776    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1777    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1778
17792) iASL Compiler/Disassembler and Tools:
1780
1781No functional changes for this release.
1782
1783----------------------------------------
178414 December 2009. Summary of changes for version 20091214:
1785
17861) ACPI CA Core Subsystem:
1787
1788Enhanced automatic data type conversions for predefined name repairs. This 
1789change expands the automatic repairs/conversions for predefined name return 
1790values to make Integers, Strings, and Buffers fully interchangeable. Also, a 
1791Buffer can be converted to a Package of Integers if necessary. The nsrepair.c 
1792module was completely restructured. Lin Ming, Bob Moore.
1793
1794Implemented automatic removal of null package elements during predefined name 
1795repairs. This change will automatically remove embedded and trailing NULL 
1796package elements from returned package objects that are defined to contain a 
1797variable number of sub-packages. The driver is then presented with a package 
1798with no null elements to deal with. ACPICA BZ 819.
1799
1800Implemented a repair for the predefined _FDE and _GTM names. The expected 
1801return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
1802possible problems (both seen in the field), where a package of integers is 
1803returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
1804
1805Implemented additional module-level code support. This change will properly 
1806execute module-level code that is not at the root of the namespace (under a 
1807Device object, etc.). Now executes the code within the current scope instead 
1808of the root. ACPICA BZ 762. Lin Ming.
1809
1810Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
1811problem where mutex errors can occur when running a _REG method that is in 
1812the same scope as a method-defined operation region or an operation region 
1813under a module-level IF block. This type of code is rare, so the problem has 
1814not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1815
1816Fixed a possible memory leak during module-level code execution. An object 
1817could be leaked for each block of executed module-level code if the 
1818interpreter slack mode is enabled This change deletes any implicitly returned 
1819object from the module-level code block. Lin Ming.
1820
1821Removed messages for successful predefined repair(s). The repair mechanism 
1822was considered too wordy. Now, messages are only unconditionally emitted if 
1823the return object cannot be repaired. Existing messages for successful 
1824repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
1825
1826Example Code and Data Size: These are the sizes for the OS-independent 
1827acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1828debug version of the code includes the debug output trace mechanism and has a 
1829much larger code and data size.
1830
1831  Previous Release:
1832    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1833    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1834  Current Release:
1835    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1836    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1837
18382) iASL Compiler/Disassembler and Tools:
1839
1840iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
1841were no longer automatically removed at the termination of the compile.
1842
1843acpiexec: Implemented the -f option to specify default region fill value. 
1844This option specifies the value used to initialize buffers that simulate 
1845operation regions. Default value is zero. Useful for debugging problems that 
1846depend on a specific initial value for a region or field.
1847
1848----------------------------------------
184912 November 2009. Summary of changes for version 20091112:
1850
18511) ACPI CA Core Subsystem:
1852
1853Implemented a post-order callback to AcpiWalkNamespace. The existing 
1854interface only has a pre-order callback. This change adds an additional 
1855parameter for a post-order callback which will be more useful for bus scans. 
1856ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
1857
1858Modified the behavior of the operation region memory mapping cache for 
1859SystemMemory. Ensure that the memory mappings created for operation regions 
1860do not cross 4K page boundaries. Crossing a page boundary while mapping 
1861regions can cause kernel warnings on some hosts if the pages have different 
1862attributes. Such regions are probably BIOS bugs, and this is the workaround. 
1863Linux BZ 14445. Lin Ming.
1864
1865Implemented an automatic repair for predefined methods that must return 
1866sorted lists. This change will repair (by sorting) packages returned by _ALR, 
1867_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
1868and do not contain NULL package elements. Adds one new file, 
1869namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1870
1871Fixed a possible fault during predefined name validation if a return Package 
1872object contains NULL elements. Also adds a warning if a NULL element is 
1873followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
1874include repair or removal of all such NULL elements where possible.
1875
1876Implemented additional module-level executable AML code support. This change 
1877will execute module-level code that is not at the root of the namespace 
1878(under a Device object, etc.) at table load time. Module-level executable AML 
1879code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1880
1881Implemented a new internal function to create Integer objects. This function 
1882simplifies miscellaneous object creation code. ACPICA BZ 823.
1883
1884Reduced the severity of predefined repair messages, Warning to Info. Since 
1885the object was successfully repaired, a warning is too severe. Reduced to an 
1886info message for now. These messages may eventually be changed to debug-only. 
1887ACPICA BZ 812.
1888
1889Example Code and Data Size: These are the sizes for the OS-independent 
1890acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1891debug version of the code includes the debug output trace mechanism and has a 
1892much larger code and data size.
1893
1894  Previous Release:
1895    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1896    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1897  Current Release:
1898    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1899    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1900
19012) iASL Compiler/Disassembler and Tools:
1902
1903iASL: Implemented Switch() with While(1) so that Break works correctly. This 
1904change correctly implements the Switch operator with a surrounding While(1) 
1905so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1906
1907iASL: Added a message if a package initializer list is shorter than package 
1908length. Adds a new remark for a Package() declaration if an initializer list 
1909exists, but is shorter than the declared length of the package. Although 
1910technically legal, this is probably a coding error and it is seen in the 
1911field. ACPICA BZ 815. Lin Ming, Bob Moore.
1912
1913iASL: Fixed a problem where the compiler could fault after the maximum number 
1914of errors was reached (200).
1915
1916acpixtract: Fixed a possible warning for pointer cast if the compiler warning 
1917level set very high.
1918
1919----------------------------------------
192013 October 2009. Summary of changes for version 20091013:
1921
19221) ACPI CA Core Subsystem:
1923
1924Fixed a problem where an Operation Region _REG method could be executed more 
1925than once. If a custom address space handler is installed by the host before 
1926the "initialize operation regions" phase of the ACPICA initialization, any 
1927_REG methods for that address space could be executed twice. This change 
1928fixes the problem. ACPICA BZ 427. Lin Ming.
1929
1930Fixed a possible memory leak for the Scope() ASL operator. When the exact 
1931invocation of "Scope(\)" is executed (change scope to root), one internal 
1932operand object was leaked. Lin Ming.
1933
1934Implemented a run-time repair for the _MAT predefined method. If the _MAT 
1935return value is defined as a Field object in the AML, and the field
1936size is less than or equal to the default width of an integer (32 or 64),_MAT 
1937can incorrectly return an Integer instead of a Buffer. ACPICA now 
1938automatically repairs this problem. ACPICA BZ 810.
1939
1940Implemented a run-time repair for the _BIF and _BIX predefined methods. The 
1941"OEM Information" field is often incorrectly returned as an Integer with 
1942value zero if the field is not supported by the platform. This is due to an 
1943ambiguity in the ACPI specification. The field should always be a string. 
1944ACPICA now automatically repairs this problem by returning a NULL string 
1945within the returned Package. ACPICA BZ 807.
1946
1947Example Code and Data Size: These are the sizes for the OS-independent 
1948acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1949debug version of the code includes the debug output trace mechanism and has a 
1950much larger code and data size.
1951
1952  Previous Release:
1953    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1954    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1955  Current Release:
1956    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1957    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1958
19592) iASL Compiler/Disassembler and Tools:
1960
1961Disassembler: Fixed a problem where references to external symbols that 
1962contained one or more parent-prefixes (carats) were not handled correctly, 
1963possibly causing a fault. ACPICA BZ 806. Lin Ming.
1964
1965Disassembler: Restructured the code so that all functions that handle 
1966external symbols are in a single module. One new file is added, 
1967common/dmextern.c.
1968
1969AML Debugger: Added a max count argument for the Batch command (which 
1970executes multiple predefined methods within the namespace.)
1971
1972iASL: Updated the compiler documentation (User Reference.) Available at 
1973http://www.acpica.org/documentation/. ACPICA BZ 750.
1974
1975AcpiXtract: Updated for Lint and other formatting changes. Close all open 
1976files.
1977
1978----------------------------------------
197903 September 2009. Summary of changes for version 20090903:
1980
19811) ACPI CA Core Subsystem:
1982
1983For Windows Vista compatibility, added the automatic execution of an _INI 
1984method located at the namespace root (\_INI). This method is executed at 
1985table load time. This support is in addition to the automatic execution of 
1986\_SB._INI. Lin Ming.
1987
1988Fixed a possible memory leak in the interpreter for AML package objects if 
1989the package initializer list is longer than the defined size of the package. 
1990This apparently can only happen if the BIOS changes the package size on the 
1991fly (seen in a _PSS object), as ASL compilers do not allow this. The 
1992interpreter will truncate the package to the defined size (and issue an error 
1993message), but previously could leave the extra objects undeleted if they were 
1994pre-created during the argument processing (such is the case if the package 
1995consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1996
1997Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
1998This has been reported in the field. Previously, ACPICA would zero out the 
1999buffer/string. Now, the operation is treated as a noop. Provides Windows 
2000compatibility. ACPICA BZ 803. Lin Ming.
2001
2002Removed an extraneous error message for ASL constructs of the form 
2003Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
2004are seen in many BIOSs and are once again treated as NOOPs and no error is 
2005emitted when they are encountered. ACPICA BZ 785.
2006
2007Fixed an extraneous warning message if a _DSM reserved method returns a 
2008Package object. _DSM can return any type of object, so validation on the 
2009return type cannot be performed. ACPICA BZ 802.
2010
2011Example Code and Data Size: These are the sizes for the OS-independent 
2012acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2013debug version of the code includes the debug output trace mechanism and has a 
2014much larger code and data size.
2015
2016  Previous Release:
2017    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
2018    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
2019  Current Release:
2020    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
2021    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
2022
20232) iASL Compiler/Disassembler and Tools:
2024
2025iASL: Fixed a problem with the use of the Alias operator and Resource 
2026Templates. The correct alias is now constructed and no error is emitted. 
2027ACPICA BZ 738.
2028
2029iASL: Implemented the -I option to specify additional search directories for 
2030include files. Allows multiple additional search paths for include files. 
2031Directories are searched in the order specified on the command line (after 
2032the local directory is searched.) ACPICA BZ 800.
2033
2034iASL: Fixed a problem where the full pathname for include files was not 
2035emitted for warnings/errors. This caused the IDE support to not work 
2036properly. ACPICA BZ 765.
2037
2038iASL: Implemented the -@ option to specify a Windows-style response file 
2039containing additional command line options. ACPICA BZ 801.
2040
2041AcpiExec: Added support to load multiple AML files simultaneously (such as a 
2042DSDT and multiple SSDTs). Also added support for wildcards within the AML 
2043pathname. These features allow all machine tables to be easily loaded and 
2044debugged together. ACPICA BZ 804.
2045
2046Disassembler: Added missing support for disassembly of HEST table Error Bank 
2047subtables. 
2048
2049----------------------------------------
205030 July 2009. Summary of changes for version 20090730:
2051
2052The ACPI 4.0 implementation for ACPICA is complete with this release.
2053
20541) ACPI CA Core Subsystem:
2055
2056ACPI 4.0: Added header file support for all new and changed ACPI tables. 
2057Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
2058for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
2059EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
2060have been some ACPI 4.0 changes to other existing tables. Split the large 
2061actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
2062
2063ACPI 4.0: Implemented predefined name validation for all new names. There are 
206431 new names in ACPI 4.0. The predefined validation module was split into two 
2065files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
2066
2067Implemented support for so-called "module-level executable code". This is 
2068executable AML code that exists outside of any control method and is intended 
2069to be executed at table load time. Although illegal since ACPI 2.0, this type 
2070of code still exists and is apparently still being created. Blocks of this 
2071code are now detected and executed as intended. Currently, the code blocks 
2072must exist under either an If, Else, or While construct; these are the 
2073typical cases seen in the field. ACPICA BZ 762. Lin Ming.
2074
2075Implemented an automatic dynamic repair for predefined names that return 
2076nested Package objects. This applies to predefined names that are defined to 
2077return a variable-length Package of sub-packages. If the number of sub-
2078packages is one, BIOS code is occasionally seen that creates a simple single 
2079package with no sub-packages. This code attempts to fix the problem by 
2080wrapping a new package object around the existing package. These methods can 
2081be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
2082790.
2083
2084Fixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
2085The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
2086BZ 793.
2087
2088Fixed a problem with AcpiReset where the reset would silently fail if the 
2089register was one of the protected I/O ports. AcpiReset now bypasses the port 
2090validation mechanism. This may eventually be driven into the AcpiRead/Write 
2091interfaces.
2092
2093Fixed a regression related to the recent update of the AcpiRead/Write 
2094interfaces. A sleep/suspend could fail if the optional PM2 Control register 
2095does not exist during an attempt to write the Bus Master Arbitration bit. 
2096(However, some hosts already delete the code that writes this bit, and the 
2097code may in fact be obsolete at this date.) ACPICA BZ 799.
2098
2099Fixed a problem where AcpiTerminate could fault if inadvertently called twice 
2100in succession. ACPICA BZ 795.
2101
2102Example Code and Data Size: These are the sizes for the OS-independent 
2103acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2104debug version of the code includes the debug output trace mechanism and has a 
2105much larger code and data size.
2106
2107  Previous Release:
2108    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
2109    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
2110  Current Release:
2111    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
2112    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
2113
21142) iASL Compiler/Disassembler and Tools:
2115
2116ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
2117changes to existing tables. ACPICA BZ 775.
2118
2119----------------------------------------
212025 June 2009. Summary of changes for version 20090625:
2121
2122The ACPI 4.0 Specification was released on June 16 and is available at 
2123www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
2124continue for the next few releases.
2125
21261) ACPI CA Core Subsystem:
2127
2128ACPI 4.0: Implemented interpreter support for the IPMI operation region 
2129address space. Includes support for bi-directional data buffers and an IPMI 
2130address space handler (to be installed by an IPMI device driver.) ACPICA BZ 
2131773. Lin Ming.
2132
2133ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
2134support in both the header files and the disassembler.
2135
2136Completed a major update for the AcpiGetObjectInfo external interface. 
2137Changes include:
2138 - Support for variable, unlimited length HID, UID, and CID strings.
2139 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
2140 - Call the _SxW power methods on behalf of a device object.
2141 - Determine if a device is a PCI root bridge.
2142 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
2143These changes will require an update to all callers of this interface. See 
2144the updated ACPICA Programmer Reference for details. One new source file has 
2145been added - utilities/utids.c. ACPICA BZ 368, 780.
2146
2147Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
2148transfers. The Value parameter has been extended from 32 bits to 64 bits in 
2149order to support new ACPI 4.0 tables. These changes will require an update to 
2150all callers of these interfaces. See the ACPICA Programmer Reference for 
2151details. ACPICA BZ 768.
2152
2153Fixed several problems with AcpiAttachData. The handler was not invoked when 
2154the host node was deleted. The data sub-object was not automatically deleted 
2155when the host node was deleted. The interface to the handler had an unused 
2156parameter, this was removed. ACPICA BZ 778.
2157
2158Enhanced the function that dumps ACPI table headers. All non-printable 
2159characters in the string fields are now replaced with '?' (Signature, OemId, 
2160OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
2161these fields are occasionally seen in the field. ACPICA BZ 788.
2162
2163Fixed a problem with predefined method repair code where the code that 
2164attempts to repair/convert an object of incorrect type is only executed on 
2165the first time the predefined method is called. The mechanism that disables 
2166warnings on subsequent calls was interfering with the repair mechanism. 
2167ACPICA BZ 781.
2168
2169Fixed a possible memory leak in the predefined validation/repair code when a 
2170buffer is automatically converted to an expected string object.
2171
2172Removed obsolete 16-bit files from the distribution and from the current git 
2173tree head. ACPICA BZ 776.
2174
2175Example Code and Data Size: These are the sizes for the OS-independent 
2176acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2177debug version of the code includes the debug output trace mechanism and has a 
2178much larger code and data size.
2179
2180  Previous Release:
2181    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
2182    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
2183  Current Release:
2184    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
2185    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
2186
21872) iASL Compiler/Disassembler and Tools:
2188
2189ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
2190operation region keyword. ACPICA BZ 771, 772. Lin Ming.
2191
2192ACPI 4.0: iASL - implemented compile-time validation support for all new 
2193predefined names and control methods (31 total). ACPICA BZ 769.
2194
2195----------------------------------------
219621 May 2009. Summary of changes for version 20090521:
2197
21981) ACPI CA Core Subsystem:
2199
2200Disabled the preservation of the SCI enable bit in the PM1 control register. 
2201The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
2202a "preserved" bit - "OSPM always preserves this bit position", section 
22034.7.3.2.1. However, some machines fail if this bit is in fact preserved 
2204because the bit needs to be explicitly set by the OS as a workaround. No 
2205machines fail if the bit is not preserved. Therefore, ACPICA no longer 
2206attempts to preserve this bit.
2207
2208Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
2209incorrectly formed _PRT package could cause a fault. Added validation to 
2210ensure that each package element is actually a sub-package.
2211
2212Implemented a new interface to install or override a single control method, 
2213AcpiInstallMethod. This interface is useful when debugging in order to repair 
2214an existing method or to install a missing method without having to override 
2215the entire ACPI table. See the ACPICA Programmer Reference for use and 
2216examples. Lin Ming, Bob Moore.
2217
2218Fixed several reference count issues with the DdbHandle object that is 
2219created from a Load or LoadTable operator. Prevent premature deletion of the 
2220object. Also, mark the object as invalid once the table has been unloaded. 
2221This is needed because the handle itself may not be deleted after the table 
2222unload, depending on whether it has been stored in a named object by the 
2223caller. Lin Ming.
2224
2225Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
2226mutexes of the same sync level are acquired but then not released in strict 
2227opposite order, the internally maintained Current Sync Level becomes confused 
2228and can cause subsequent execution errors. ACPICA BZ 471.
2229
2230Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
2231specification has been changed to make the SyncLevel for mutex objects more 
2232useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
2233same as the current sync level. This makes more sense than the previous rule 
2234(SyncLevel less than or equal). This change updates the code to match the 
2235specification.
2236
2237Fixed a problem with the local version of the AcpiOsPurgeCache function. The 
2238(local) cache must be locked during all cache object deletions. Andrew 
2239Baumann.
2240
2241Updated the Load operator to use operation region interfaces. This replaces 
2242direct memory mapping with region access calls. Now, all region accesses go 
2243through the installed region handler as they should.
2244
2245Simplified and optimized the NsGetNextNode function. Reduced parameter count 
2246and reduced code for this frequently used function.
2247
2248Example Code and Data Size: These are the sizes for the OS-independent 
2249acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2250debug version of the code includes the debug output trace mechanism and has a 
2251much larger code and data size.
2252
2253  Previous Release:
2254    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
2255    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
2256  Current Release:
2257    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
2258    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
2259
22602) iASL Compiler/Disassembler and Tools:
2261
2262Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
2263with sub-table disassembly and handling invalid sub-tables. Attempt recovery 
2264after an invalid sub-table ID.
2265
2266----------------------------------------
226722 April 2009. Summary of changes for version 20090422:
2268
22691) ACPI CA Core Subsystem:
2270
2271Fixed a compatibility issue with the recently released I/O port protection 
2272mechanism. For windows compatibility, 1) On a port protection violation, 
2273simply ignore the request and do not return an exception (allow the control 
2274method to continue execution.) 2) If only part of the request overlaps a 
2275protected port, read/write the individual ports that are not protected. Linux 
2276BZ 13036. Lin Ming
2277
2278Enhanced the execution of the ASL/AML BreakPoint operator so that it actually 
2279breaks into the AML debugger if the debugger is present. This matches the 
2280ACPI-defined behavior.
2281
2282Fixed several possible warnings related to the use of the configurable 
2283ACPI_THREAD_ID. This type can now be configured as either an integer or a 
2284pointer with no warnings. Also fixes several warnings in printf-like 
2285statements for the 64-bit build when the type is configured as a pointer. 
2286ACPICA BZ 766, 767.
2287
2288Fixed a number of possible warnings when compiling with gcc 4+ (depending on 
2289warning options.) Examples include printf formats, aliasing, unused globals, 
2290missing prototypes, missing switch default statements, use of non-ANSI 
2291library functions, use of non-ANSI constructs. See generate/unix/Makefile for 
2292a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
2293
2294Example Code and Data Size: These are the sizes for the OS-independent 
2295acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2296debug version of the code includes the debug output trace mechanism and has a 
2297much larger code and data size.
2298
2299  Previous Release:
2300    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2301    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2302  Current Release:
2303    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
2304    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
2305
23062) iASL Compiler/Disassembler and Tools:
2307
2308iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
2309the 64-bit build.
2310
2311iASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
2312correctly digest Windows/DOS formatted files (with CR/LF).
2313
2314iASL: Added a new option for "quiet mode" (-va) that produces only the 
2315compilation summary, not individual errors and warnings. Useful for large 
2316batch compilations.
2317
2318AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
2319timeout that can be used to detect hang conditions during execution of AML 
2320code (includes both internal semaphores and AML-defined mutexes and events.)
2321
2322Added new makefiles for the generation of acpica in a generic unix-like 
2323environment. These makefiles are intended to generate the acpica tools and 
2324utilities from the original acpica git source tree structure.
2325
2326Test Suites: Updated and cleaned up the documentation files. Updated the 
2327copyrights to 2009, affecting all source files. Use the new version of iASL 
2328with quiet mode. Increased the number of available semaphores in the Windows 
2329OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
2330an alternate implementation of the semaphore timeout to allow aslts to 
2331execute fully on Cygwin.
2332
2333----------------------------------------
233420 March 2009. Summary of changes for version 20090320:
2335
23361) ACPI CA Core Subsystem:
2337
2338Fixed a possible race condition between AcpiWalkNamespace and dynamic table 
2339unloads. Added a reader/writer locking mechanism to allow multiple concurrent 
2340namespace walks (readers), but block a dynamic table unload until it can gain 
2341exclusive write access to the namespace. This fixes a problem where a table 
2342unload could (possibly catastrophically) delete the portion of the namespace 
2343that is currently being examined by a walk. Adds a new file, utlock.c, that 
2344implements the reader/writer lock mechanism. ACPICA BZ 749.
2345
2346Fixed a regression introduced in version 20090220 where a change to the FADT 
2347handling could cause the ACPICA subsystem to access non-existent I/O ports.
2348
2349Modified the handling of FADT register and table (FACS/DSDT) addresses. The 
2350FADT can contain both 32-bit and 64-bit versions of these addresses. 
2351Previously, the 64-bit versions were favored, meaning that if both 32 and 64 
2352versions were valid, but not equal, the 64-bit version was used. This was 
2353found to cause some machines to fail. Now, in this case, the 32-bit version 
2354is used instead. This now matches the Windows behavior.
2355
2356Implemented a new mechanism to protect certain I/O ports. Provides Microsoft 
2357compatibility and protects the standard PC I/O ports from access via AML 
2358code. Adds a new file, hwvalid.c
2359
2360Fixed a possible extraneous warning message from the FADT support. The 
2361message warns of a 32/64 length mismatch between the legacy and GAS 
2362definitions for a register.
2363
2364Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is 
2365made obsolete by the port protection mechanism above. It was previously used 
2366to validate the entire address range of an operation region, which could be 
2367incorrect if the range included illegal ports, but fields within the 
2368operation region did not actually access those ports. Validation is now 
2369performed on a per-field basis instead of the entire region.
2370
2371Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
2372Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
2373means a read/modify/write when writing to the register. However, for status 
2374registers, writing a one means clear the event. Writing a zero means preserve 
2375the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
2376and the ACPICA code now simply always writes a zero to the ignored bit.
2377
2378Modified the handling of ignored bits for the PM1 A/B Control Registers. As 
2379per the ACPI specification, for the control registers, preserve 
2380(read/modify/write) all bits that are defined as either reserved or ignored.
2381
2382Updated the handling of write-only bits in the PM1 A/B Control Registers. 
2383When reading the register, zero the write-only bits as per the ACPI spec. 
2384ACPICA BZ 443. Lin Ming.
2385
2386Removed "Linux" from the list of supported _OSI strings. Linux no longer 
2387wants to reply true to this request. The Windows strings are the only paths 
2388through the AML that are tested and known to work properly.
2389
2390  Previous Release:
2391    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2392    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2393  Current Release:
2394    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2395    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2396
23972) iASL Compiler/Disassembler and Tools:
2398
2399Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
2400aetables.c
2401
2402----------------------------------------
240320 February 2009. Summary of changes for version 20090220:
2404
24051) ACPI CA Core Subsystem:
2406
2407Optimized the ACPI register locking. Removed locking for reads from the ACPI 
2408bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
2409not required when reading the single-bit registers. The 
2410AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
2411This will improve performance for reads on these registers. ACPICA BZ 760.
2412
2413Fixed the parameter validation for AcpiRead/Write. Now return 
2414AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
2415the register has an address of zero. Previously, these cases simply returned 
2416AE_OK. For optional registers such as PM1B status/enable/control, the caller 
2417should check for a valid register address before calling. ACPICA BZ 748.
2418
2419Renamed the external ACPI bit register access functions. Renamed 
2420AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
2421functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
2422Also, restructured the code for these functions by simplifying the code path 
2423and condensing duplicate code to reduce code size.
2424
2425Added new functions to transparently handle the possibly split PM1 A/B 
2426registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
2427now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
2428746.
2429
2430Added a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
2431This function writes both of the PM1 control registers (A/B). These registers 
2432are different than the PM1 A/B status and enable registers in that different 
2433values can be written to the A/B registers. Most notably, the SLP_TYP bits 
2434can be different, as per the values returned from the _Sx predefined methods.
2435
2436Removed an extra register write within AcpiHwClearAcpiStatus. This function 
2437was writing an optional PM1B status register twice. The existing call to the 
2438low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
2439register. ACPICA BZ 751.
2440
2441Split out the PM1 Status registers from the FADT. Added new globals for these 
2442registers (A/B), similar to the way the PM1 Enable registers are handled. 
2443Instead of overloading the FADT Event Register blocks. This makes the code 
2444clearer and less prone to error.
2445
2446Fixed the warning message for when the platform contains too many ACPI tables 
2447for the default size of the global root table data structure. The calculation 
2448for the truncation value was incorrect.
2449
2450Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
2451obsolete macro, since it is now a simple reference to ->common.type. There 
2452were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
2453
2454Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
2455TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
2456simply SLEEP_TYPE. ACPICA BZ 754.
2457
2458Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
2459function is only needed on 64-bit host operating systems and is thus not 
2460included for 32-bit hosts.
2461
2462Debug output: print the input and result for invocations of the _OSI reserved 
2463control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
2464verbosity of this debug level. Len Brown.
2465
2466Example Code and Data Size: These are the sizes for the OS-independent 
2467acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2468debug version of the code includes the debug output trace mechanism and has a 
2469much larger code and data size.
2470
2471  Previous Release:
2472    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2473    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2474  Current Release:
2475    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2476    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2477
24782) iASL Compiler/Disassembler and Tools:
2479
2480Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
2481various legal performance profiles.
2482
2483----------------------------------------
248423 January 2009. Summary of changes for version 20090123:
2485
24861) ACPI CA Core Subsystem:
2487
2488Added the 2009 copyright to all module headers and signons. This affects 
2489virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2490the tools/utilities.
2491
2492Implemented a change to allow the host to override any ACPI table, including 
2493dynamically loaded tables. Previously, only the DSDT could be replaced by the 
2494host. With this change, the AcpiOsTableOverride interface is called for each 
2495table found in the RSDT/XSDT during ACPICA initialization, and also whenever 
2496a table is dynamically loaded via the AML Load operator.
2497
2498Updated FADT flag definitions, especially the Boot Architecture flags.
2499
2500Debugger: For the Find command, automatically pad the input ACPI name with 
2501underscores if the name is shorter than 4 characters. This enables a match 
2502with the actual namespace entry which is itself padded with underscores.
2503
2504Example Code and Data Size: These are the sizes for the OS-independent 
2505acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2506debug version of the code includes the debug output trace mechanism and has a 
2507much larger code and data size.
2508
2509  Previous Release:
2510    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2511    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2512  Current Release:
2513    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2514    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2515
25162) iASL Compiler/Disassembler and Tools:
2517
2518Fix build error under Bison-2.4.
2519
2520Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
2521flags. Now decode all flags, regardless of the FADT version. Flag output 
2522includes the FADT version which first defined each flag.
2523
2524The iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
2525DSDT). Windows only.
2526
2527----------------------------------------
252804 December 2008. Summary of changes for version 20081204:
2529
25301) ACPI CA Core Subsystem:
2531
2532The ACPICA Programmer Reference has been completely updated and revamped for 
2533this release. This includes updates to the external interfaces, OSL 
2534interfaces, the overview sections, and the debugger reference.
2535
2536Several new ACPICA interfaces have been implemented and documented in the 
2537programmer reference:
2538AcpiReset - Writes the reset value to the FADT-defined reset register.
2539AcpiDisableAllGpes - Disable all available GPEs.
2540AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
2541AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
2542AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
2543AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
2544AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
2545
2546Most of the public ACPI hardware-related interfaces have been moved to a new 
2547file, components/hardware/hwxface.c
2548
2549Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
2550register lengths within the FADT are now used, and the low level ACPI 
2551register access no longer hardcodes the ACPI register lengths. Given that 
2552there may be some risk in actually trusting the FADT register lengths, a run-
2553time option was added to fall back to the default hardcoded lengths if the 
2554FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
2555option is set to true for now, and a warning is issued if a suspicious FADT 
2556register length is overridden with the default value.
2557
2558Fixed a reference count issue in NsRepairObject. This problem was introduced 
2559in version 20081031 as part of a fix to repair Buffer objects within 
2560Packages. Lin Ming.
2561
2562Added semaphore support to the Linux/Unix application OS-services layer 
2563(OSL). ACPICA BZ 448. Lin Ming.
2564
2565Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
2566be implemented in the OSL, or will binary semaphores be used instead.
2567
2568Example Code and Data Size: These are the sizes for the OS-independent 
2569acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2570debug version of the code includes the debug output trace mechanism and has a 
2571much larger code and data size.
2572
2573  Previous Release:
2574    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2575    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2576  Current Release:
2577    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2578    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2579
25802) iASL Compiler/Disassembler and Tools:
2581
2582iASL: Completed the '-e' option to include additional ACPI tables in order to 
2583aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
2584Ming.
2585
2586iASL: Removed the "named object in while loop" error. The compiler cannot 
2587determine how many times a loop will execute. ACPICA BZ 730.
2588
2589Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
2590BZ 743.
2591
2592Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
2593
2594----------------------------------------
259531 October 2008. Summary of changes for version 20081031:
2596
25971) ACPI CA Core Subsystem:
2598
2599Restructured the ACPICA header files into public/private. acpi.h now includes 
2600only the "public" acpica headers. All other acpica headers are "private" and 
2601should not be included by acpica users. One new file, accommon.h is used to 
2602include the commonly used private headers for acpica code generation. Future 
2603plans include moving all private headers to a new subdirectory.
2604
2605Implemented an automatic Buffer->String return value conversion for 
2606predefined ACPI methods. For these methods (such as _BIF), added automatic 
2607conversion for return objects that are required to be a String, but a Buffer 
2608was found instead. This can happen when reading string battery data from an 
2609operation region, because it used to be difficult to convert the data from 
2610buffer to string from within the ASL. Ensures that the host OS is provided 
2611with a valid null-terminated string. Linux BZ 11822.
2612
2613Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
2614into two: one for the 32-bit vector, another for the 64-bit vector. This is 
2615required because the host OS must setup the wake much differently for each 
2616vector (real vs. protected mode, etc.) and the interface itself should not be 
2617deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
2618interface, as it served no purpose (only the firmware reads the vector, OS 
2619only writes the vector.) ACPICA BZ 731.
2620
2621Implemented a mechanism to escape infinite AML While() loops. Added a loop 
2622counter to force exit from AML While loops if the count becomes too large. 
2623This can occur in poorly written AML when the hardware does not respond 
2624within a while loop and the loop does not implement a timeout. The maximum 
2625loop count is configurable. A new exception code is returned when a loop is 
2626broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
2627
2628Optimized the execution of AML While loops. Previously, a control state 
2629object was allocated and freed for each execution of the loop. The 
2630optimization is to simply reuse the control state for each iteration. This 
2631speeds up the raw loop execution time by about 5%.
2632
2633Enhanced the implicit return mechanism. For Windows compatibility, return an 
2634implicit integer of value zero for methods that contain no executable code. 
2635Such methods are seen in the field as stubs (presumably), and can cause 
2636drivers to fail if they expect a return value. Lin Ming.
2637
2638Allow multiple backslashes as root prefixes in namepaths. In a fully 
2639qualified namepath, allow multiple backslash prefixes. This can happen (and 
2640is seen in the field) because of the use of a double-backslash in strings 
2641(since backslash is the escape character) causing confusion. ACPICA BZ 739 
2642Lin Ming.
2643
2644Emit a warning if two different FACS or DSDT tables are discovered in the 
2645FADT. Checks if there are two valid but different addresses for the FACS and 
2646DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
2647
2648Consolidated the method argument count validation code. Merged the code that 
2649validates control method argument counts into the predefined validation 
2650module. Eliminates possible multiple warnings for incorrect argument counts.
2651
2652Implemented ACPICA example code. Includes code for ACPICA initialization, 
2653handler installation, and calling a control method. Available at 
2654source/tools/examples.
2655
2656Added a global pointer for FACS table to simplify internal FACS access. Use 
2657the global pointer instead of using AcpiGetTableByIndex for each FACS access. 
2658This simplifies the code for the Global Lock and the Firmware Waking 
2659Vector(s).
2660
2661Example Code and Data Size: These are the sizes for the OS-independent 
2662acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2663debug version of the code includes the debug output trace mechanism and has a 
2664much larger code and data size.
2665
2666  Previous Release:
2667    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2668    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2669  Current Release:
2670    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2671    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2672
26732) iASL Compiler/Disassembler and Tools:
2674
2675iASL: Improved disassembly of external method calls. Added the -e option to 
2676allow the inclusion of additional ACPI tables to help with the disassembly of 
2677method invocations and the generation of external declarations during the 
2678disassembly. Certain external method invocations cannot be disassembled 
2679properly without the actual declaration of the method. Use the -e option to 
2680include the table where the external method(s) are actually declared. Most 
2681useful for disassembling SSDTs that make method calls back to the master 
2682DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
2683-e dsdt.aml ssdt1.aml
2684
2685iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
2686problem where the use of an alias within a namepath would result in a not 
2687found error or cause the compiler to fault. Also now allows forward 
2688references from the Alias operator itself. ACPICA BZ 738.
2689
2690----------------------------------------
269126 September 2008. Summary of changes for version 20080926:
2692
26931) ACPI CA Core Subsystem:
2694
2695Designed and implemented a mechanism to validate predefined ACPI methods and 
2696objects. This code validates the predefined ACPI objects (objects whose names 
2697start with underscore) that appear in the namespace, at the time they are 
2698evaluated. The argument count and the type of the returned object are 
2699validated against the ACPI specification. The purpose of this validation is 
2700to detect problems with the BIOS-implemented predefined ACPI objects before 
2701the results are returned to the ACPI-related drivers. Future enhancements may 
2702include actual repair of incorrect return objects where possible. Two new 
2703files are nspredef.c and acpredef.h.
2704
2705Fixed a fault in the AML parser if a memory allocation fails during the Op 
2706completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
2707
2708Fixed an issue with implicit return compatibility. This change improves the 
2709implicit return mechanism to be more compatible with the MS interpreter. Lin 
2710Ming, ACPICA BZ 349.
2711
2712Implemented support for zero-length buffer-to-string conversions. Allow zero 
2713length strings during interpreter buffer-to-string conversions. For example, 
2714during the ToDecimalString and ToHexString operators, as well as implicit 
2715conversions. Fiodor Suietov, ACPICA BZ 585.
2716
2717Fixed two possible memory leaks in the error exit paths of 
2718AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
2719similar in that they use a stack of state objects in order to eliminate 
2720recursion. The stack must be fully unwound and deallocated if an error 
2721occurs. Lin Ming. ACPICA BZ 383.
2722
2723Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
2724ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
2725Moore ACPICA BZ 442.
2726
2727Removed the obsolete version number in module headers. Removed the 
2728"$Revision" number that appeared in each module header. This version number 
2729was useful under SourceSafe and CVS, but has no meaning under git. It is not 
2730only incorrect, it could also be misleading.
2731
2732Example Code and Data Size: These are the sizes for the OS-independent 
2733acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2734debug version of the code includes the debug output trace mechanism and has a 
2735much larger code and data size.
2736
2737  Previous Release:
2738    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2739    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2740  Current Release:
2741    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2742    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2743
2744----------------------------------------
274529 August 2008. Summary of changes for version 20080829:
2746
27471) ACPI CA Core Subsystem:
2748
2749Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
2750Reference. Changes include the elimination of cheating on the Object field 
2751for the DdbHandle subtype, addition of a reference class field to 
2752differentiate the various reference types (instead of an AML opcode), and the 
2753cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
2754
2755Reduce an error to a warning for an incorrect method argument count. 
2756Previously aborted with an error if too few arguments were passed to a 
2757control method via the external ACPICA interface. Now issue a warning instead 
2758and continue. Handles the case where the method inadvertently declares too 
2759many arguments, but does not actually use the extra ones. Applies mainly to 
2760the predefined methods. Lin Ming. Linux BZ 11032.
2761
2762Disallow the evaluation of named object types with no intrinsic value. Return 
2763AE_TYPE for objects that have no value and therefore evaluation is undefined: 
2764Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
2765these types were allowed, but an exception would be generated at some point 
2766during the evaluation. Now, the error is generated up front.
2767
2768Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
2769(nsnames.c). Fixes a leak in the error exit path.
2770
2771Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
2772levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
2773interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
2774ACPI_LV_EVENTS.
2775
2776Removed obsolete and/or unused exception codes from the acexcep.h header. 
2777There is the possibility that certain device drivers may be affected if they 
2778use any of these exceptions.
2779
2780The ACPICA documentation has been added to the public git source tree, under 
2781acpica/documents. Included are the ACPICA programmer reference, the iASL 
2782compiler reference, and the changes.txt release logfile.
2783
2784Example Code and Data Size: These are the sizes for the OS-independent 
2785acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2786debug version of the code includes the debug output trace mechanism and has a 
2787much larger code and data size.
2788
2789  Previous Release:
2790    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2791    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2792  Current Release:
2793    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2794    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2795
27962) iASL Compiler/Disassembler and Tools:
2797
2798Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
2799defines _SCP with 3 arguments. Previous versions defined it with only 1 
2800argument. iASL now allows both definitions.
2801
2802iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2803length subtables when disassembling ACPI tables. Also fixed a couple of 
2804errors where a full 16-bit table type field was not extracted from the input 
2805properly.
2806
2807acpisrc: Improve comment counting mechanism for generating source code 
2808statistics. Count first and last lines of multi-line comments as whitespace, 
2809not comment lines. Handle Linux legal header in addition to standard acpica 
2810header.
2811
2812----------------------------------------
2813
281429 July 2008. Summary of changes for version 20080729:
2815
28161) ACPI CA Core Subsystem:
2817
2818Fix a possible deadlock in the GPE dispatch. Remove call to 
2819AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
2820to acquire the GPE lock but can deadlock since the GPE lock is already held 
2821at dispatch time. This code was introduced in version 20060831 as a response 
2822to Linux BZ 6881 and has since been removed from Linux.
2823
2824Add a function to dereference returned reference objects. Examines the return 
2825object from a call to AcpiEvaluateObject. Any Index or RefOf references are 
2826automatically dereferenced in an attempt to return something useful (these 
2827reference types cannot be converted into an external ACPI_OBJECT.) Provides 
2828MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2829
2830x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
2831subtables for the MADT and one new subtable for the SRAT. Includes 
2832disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
2833Specification, June 2008.
2834
2835Additional error checking for pathname utilities. Add error check after all 
2836calls to AcpiNsGetPathnameLength. Add status return from 
2837AcpiNsBuildExternalPath and check after all calls. Add parameter validation 
2838to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2839
2840Return status from the global init function AcpiUtGlobalInitialize. This is 
2841used by both the kernel subsystem and the utilities such as iASL compiler. 
2842The function could possibly fail when the caches are initialized. Yang Yi.
2843
2844Add a function to decode reference object types to strings. Created for 
2845improved error messages. 
2846
2847Improve object conversion error messages. Better error messages during object 
2848conversion from internal to the external ACPI_OBJECT. Used for external calls 
2849to AcpiEvaluateObject.
2850
2851Example Code and Data Size: These are the sizes for the OS-independent 
2852acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2853debug version of the code includes the debug output trace mechanism and has a 
2854much larger code and data size.
2855
2856  Previous Release:
2857    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2858    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2859  Current Release:
2860    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2861    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2862
28632) iASL Compiler/Disassembler and Tools:
2864
2865Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
2866introduced in version 20080701. If the object being evaluated (via execute 
2867command) is not a method, the debugger can hang while trying to obtain non-
2868existent parameters.
2869
2870iASL: relax error for using reserved "_T_x" identifiers. These names can 
2871appear in a disassembled ASL file if they were emitted by the original 
2872compiler. Instead of issuing an error or warning and forcing the user to 
2873manually change these names, issue a remark instead.
2874
2875iASL: error if named object created in while loop. Emit an error if any named 
2876object is created within a While loop. If allowed, this code will generate a 
2877run-time error on the second iteration of the loop when an attempt is made to 
2878create the same named object twice. ACPICA bugzilla 730.
2879
2880iASL: Support absolute pathnames for include files. Add support for absolute 
2881pathnames within the Include operator. previously, only relative pathnames 
2882were supported.
2883
2884iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
2885The ACPI spec requires one interrupt minimum. BZ 423
2886
2887iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
2888Handles the case for the Interrupt Resource Descriptor where
2889the ResourceSource argument is omitted but ResourceSourceIndex
2890is present. Now leave room for the Index. BZ 426
2891
2892iASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
2893where an error message is emitted if the target does not exist. BZ 516
2894
2895iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
2896(get ACPI tables on Windows). This was apparently broken in version 20070919.
2897
2898AcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
2899the EOF happens immediately after the last table in the input file. Print 
2900completion message. Previously, no message was displayed in this case.
2901
2902----------------------------------------
290301 July 2008. Summary of changes for version 20080701:
2904
29050) Git source tree / acpica.org
2906
2907Fixed a problem where a git-clone from http would not transfer the entire 
2908source tree.
2909
29101) ACPI CA Core Subsystem:
2911
2912Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
2913enable bit. Now performs a read-change-write of the enable register instead 
2914of simply writing out the cached enable mask. This will prevent inadvertent 
2915enabling of GPEs if a rogue GPE is received during initialization (before GPE 
2916handlers are installed.)
2917
2918Implemented a copy for dynamically loaded tables. Previously, dynamically 
2919loaded tables were simply mapped - but on some machines this memory is 
2920corrupted after suspend. Now copy the table to a local buffer. For the 
2921OpRegion case, added checksum verify. Use the table length from the table 
2922header, not the region length. For the Buffer case, use the table length 
2923also. Dennis Noordsij, Bob Moore. BZ 10734
2924
2925Fixed a problem where the same ACPI table could not be dynamically loaded and 
2926unloaded more than once. Without this change, a table cannot be loaded again 
2927once it has been loaded/unloaded one time. The current mechanism does not 
2928unregister a table upon an unload. During a load, if the same table is found, 
2929this no longer returns an exception. BZ 722
2930
2931Fixed a problem where the wrong descriptor length was calculated for the 
2932EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
2933are calculated as 12 bytes long, but the actual length in the internal 
2934descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
2935by Linn Crosetto. BZ 728
2936
2937Fixed a possible memory leak in the Unload operator. The DdbHandle returned 
2938by Load() did not have its reference count decremented during unload, leading 
2939to a memory leak. Lin Ming. BZ 727
2940
2941Fixed a possible memory leak when deleting thermal/processor objects. Any 
2942associated notify handlers (and objects) were not being deleted. Fiodor 
2943Suietov. BZ 506
2944
2945Fixed the ordering of the ASCII names in the global mutex table to match the 
2946actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
2947Vegard Nossum. BZ 726
2948
2949Enhanced the AcpiGetObjectInfo interface to return the number of required 
2950arguments if the object is a control method. Added this call to the debugger 
2951so the proper number of default arguments are passed to a method. This 
2952prevents a warning when executing methods from AcpiExec.
2953
2954Added a check for an invalid handle in AcpiGetObjectInfo. Return 
2955AE_BAD_PARAMETER if input handle is invalid. BZ 474
2956
2957Fixed an extraneous warning from exconfig.c on the 64-bit build.
2958
2959Example Code and Data Size: These are the sizes for the OS-independent 
2960acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2961debug version of the code includes the debug output trace mechanism and has a 
2962much larger code and data size.
2963
2964  Previous Release:
2965    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2966    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2967  Current Release:
2968    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2969    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2970
29712) iASL Compiler/Disassembler and Tools:
2972
2973iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
2974resource descriptor names.
2975
2976iASL: Detect invalid ASCII characters in input (windows version). Removed the 
2977"-CF" flag from the flex compile, enables correct detection of non-ASCII 
2978characters in the input. BZ 441
2979
2980iASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
2981"result of operation not used" warning when the DDB handle returned from 
2982LoadTable is not used. The warning is not needed. BZ 590
2983
2984AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
2985pass address of table to the AML. Added option to disable OpRegion simulation 
2986to allow creation of an OpRegion with a real address that was passed to _CFG. 
2987All of this allows testing of the Load and Unload operators from AcpiExec.
2988
2989Debugger: update tables command for unloaded tables. Handle unloaded tables 
2990and use the standard table header output routine.
2991
2992----------------------------------------
299309 June 2008. Summary of changes for version 20080609:
2994
29951) ACPI CA Core Subsystem:
2996
2997Implemented a workaround for reversed _PRT entries. A significant number of 
2998BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
2999change dynamically detects and repairs this problem. Provides compatibility 
3000with MS ACPI. BZ 6859
3001
3002Simplified the internal ACPI hardware interfaces to eliminate the locking 
3003flag parameter from Register Read/Write. Added a new external interface, 
3004AcpiGetRegisterUnlocked.
3005
3006Fixed a problem where the invocation of a GPE control method could hang. This 
3007was a regression introduced in 20080514. The new method argument count 
3008validation mechanism can enter an infinite loop when a GPE method is 
3009dispatched. Problem fixed by removing the obsolete code that passed GPE block 
3010information to the notify handler via the control method parameter pointer.
3011
3012Fixed a problem where the _SST execution status was incorrectly returned to 
3013the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
301420080514. _SST is optional and a NOT_FOUND exception should never be 
3015returned. BZ 716
3016
3017Fixed a problem where a deleted object could be accessed from within the AML 
3018parser. This was a regression introduced in version 20080123 as a fix for the 
3019Unload operator. Lin Ming. BZ 10669
3020
3021Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
3022and eliminated the use of a negative index in a loop. Operands are now 
3023displayed in the correct order, not backwards. This also fixes a regression 
3024introduced in 20080514 on 64-bit systems where the elimination of 
3025ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
3026
3027Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
3028path did not delete a locally allocated structure.
3029
3030Updated definitions for the DMAR and SRAT tables to synchronize with the 
3031current specifications. Includes disassembler support.
3032
3033Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
3034loop termination value was used. Loop terminated on iteration early, missing 
3035one mutex. Linn Crosetto
3036
3037Example Code and Data Size: These are the sizes for the OS-independent 
3038acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3039debug version of the code includes the debug output trace mechanism and has a 
3040much larger code and data size.
3041
3042  Previous Release:
3043    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
3044    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
3045  Current Release:
3046    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
3047    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
3048
30492) iASL Compiler/Disassembler and Tools:
3050
3051Disassembler: Implemented support for EisaId() within _CID objects. Now 
3052disassemble integer _CID objects back to EisaId invocations, including 
3053multiple integers within _CID packages. Includes single-step support for 
3054debugger also.
3055
3056Disassembler: Added support for DMAR and SRAT table definition changes.
3057
3058----------------------------------------
305914 May 2008. Summary of changes for version 20080514:
3060
30611) ACPI CA Core Subsystem:
3062
3063Fixed a problem where GPEs were enabled too early during the ACPICA 
3064initialization. This could lead to "handler not installed" errors on some 
3065machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
3066ensures that all operation regions and devices throughout the namespace have 
3067been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
3068
3069Implemented a change to the enter sleep code. Moved execution of the _GTS 
3070method to just before setting sleep enable bit. The execution was moved from 
3071AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
3072immediately before the SLP_EN bit is set, as per the ACPI specification. 
3073Luming Yu, BZ 1653.
3074
3075Implemented a fix to disable unknown GPEs (2nd version). Now always disable 
3076the GPE, even if ACPICA thinks that that it is already disabled. It is 
3077possible that the AML or some other code has enabled the GPE unbeknownst to 
3078the ACPICA code.
3079
3080Fixed a problem with the Field operator where zero-length fields would return 
3081an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
3082field declarations in Field(), BankField(), and IndexField(). BZ 10606.
3083
3084Implemented a fix for the Load operator, now load the table at the namespace 
3085root. This reverts a change introduced in version 20071019. The table is now 
3086loaded at the namespace root even though this goes against the ACPI 
3087specification. This provides compatibility with other ACPI implementations. 
3088The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
3089
3090Fixed a problem where ACPICA would not Load() tables with unusual signatures. 
3091Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
3092acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
3093Therefore, signature validation is worthless. Apparently MS ACPI accepts such 
3094signatures, ACPICA must be compatible. BZ 10454.
3095
3096Fixed a possible negative array index in AcpiUtValidateException. Added NULL 
3097fields to the exception string arrays to eliminate a -1 subtraction on the 
3098SubStatus field.
3099
3100Updated the debug tracking macros to reduce overall code and data size. 
3101Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
3102instead of pointers to static strings. Jan Beulich and Bob Moore.
3103
3104Implemented argument count checking in control method invocation via 
3105AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
3106many. This applies only to extern programmatic control method execution, not 
3107method-to-method calls within the AML. Lin Ming.
3108
3109Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
3110longer needed, especially with the removal of 16-bit support. It was replaced 
3111mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
311232/64-bit platforms is required.
3113
3114Added the C const qualifier for appropriate string constants -- mostly 
3115MODULE_NAME and printf format strings. Jan Beulich.
3116
3117Example Code and Data Size: These are the sizes for the OS-independent 
3118acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3119debug version of the code includes the debug output trace mechanism and has a 
3120much larger code and data size.
3121
3122  Previous Release:
3123    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
3124    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
3125  Current Release:
3126    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
3127    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
3128
31292) iASL Compiler/Disassembler and Tools:
3130
3131Implemented ACPI table revision ID validation in the disassembler. Zero is 
3132always invalid. For DSDTs, the ID controls the interpreter integer width. 1 
3133means 32-bit and this is unusual. 2 or greater is 64-bit.
3134
3135----------------------------------------
313621 March 2008. Summary of changes for version 20080321:
3137
31381) ACPI CA Core Subsystem:
3139
3140Implemented an additional change to the GPE support in order to suppress 
3141spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
3142disable incoming GPEs that are neither enabled nor disabled -- meaning that 
3143the GPE is unknown to the system. This should prevent future interrupt floods 
3144from that GPE. BZ 6217 (Zhang Rui)
3145
3146Fixed a problem where NULL package elements were not returned to the 
3147AcpiEvaluateObject interface correctly. The element was simply ignored 
3148instead of returning a NULL ACPI_OBJECT package element, potentially causing 
3149a buffer overflow and/or confusing the caller who expected a fixed number of 
3150elements. BZ 10132 (Lin Ming, Bob Moore)
3151
3152Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
3153Qword), Field, BankField, and IndexField operators when invoked from inside 
3154an executing control method. In this case, these operators created namespace 
3155nodes that were incorrectly left marked as permanent nodes instead of 
3156temporary nodes. This could cause a problem if there is race condition 
3157between an exiting control method and a running namespace walk. (Reported by 
3158Linn Crosetto)
3159
3160Fixed a problem where the CreateField and CreateXXXField operators would 
3161incorrectly allow duplicate names (the name of the field) with no exception 
3162generated.
3163
3164Implemented several changes for Notify handling. Added support for new Notify 
3165values (ACPI 2.0+) and improved the Notify debug output. Notify on 
3166PowerResource objects is no longer allowed, as per the ACPI specification. 
3167(Bob Moore, Zhang Rui)
3168
3169All Reference Objects returned via the AcpiEvaluateObject interface are now 
3170marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
3171NULL objects - either NULL package elements or unresolved named references.
3172
3173Fixed a problem where an extraneous debug message was produced for package 
3174objects (when debugging enabled). The message "Package List length larger 
3175than NumElements count" is now produced in the correct case, and is now an 
3176error message rather than a debug message. Added a debug message for the 
3177opposite case, where NumElements is larger than the Package List (the package 
3178will be padded out with NULL elements as per the ACPI spec.)
3179
3180Implemented several improvements for the output of the ASL "Debug" object to 
3181clarify and keep all data for a given object on one output line.
3182
3183Fixed two size calculation issues with the variable-length Start Dependent 
3184resource descriptor.
3185
3186Example Code and Data Size: These are the sizes for the OS-independent 
3187acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3188debug version of the code includes the debug output trace mechanism and has 
3189a much larger code and data size.
3190
3191  Previous Release:
3192    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
3193    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
3194  Current Release:
3195    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
3196    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
3197
31982) iASL Compiler/Disassembler and Tools:
3199
3200Fixed a problem with the use of the Switch operator where execution of the 
3201containing method by multiple concurrent threads could cause an 
3202AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
3203actual Switch opcode, it must be simulated with local named temporary 
3204variables and if/else pairs. The solution chosen was to mark any method that 
3205uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
3206
3207----------------------------------------
320813 February 2008. Summary of changes for version 20080213:
3209
32101) ACPI CA Core Subsystem:
3211
3212Implemented another MS compatibility design change for GPE/Notify handling. 
3213GPEs are now cleared/enabled asynchronously to allow all pending notifies to 
3214complete first. It is expected that the OSL will queue the enable request 
3215behind all pending notify requests (may require changes to the local host OSL 
3216in AcpiOsExecute). Alexey Starikovskiy.
3217
3218Fixed a problem where buffer and package objects passed as arguments to a 
3219control method via the external AcpiEvaluateObject interface could cause an 
3220AE_AML_INTERNAL exception depending on the order and type of operators 
3221executed by the target control method.
3222
3223Fixed a problem where resource descriptor size optimization could cause a 
3224problem when a _CRS resource template is passed to a _SRS method. The _SRS 
3225resource template must use the same descriptors (with the same size) as 
3226returned from _CRS. This change affects the following resource descriptors: 
3227IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
3228
3229Fixed a problem where a CopyObject to RegionField, BankField, and IndexField 
3230objects did not perform an implicit conversion as it should. These types must 
3231retain their initial type permanently as per the ACPI specification. However, 
3232a CopyObject to all other object types should not perform an implicit 
3233conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
3234
3235Fixed a problem with the AcpiGetDevices interface where the mechanism to 
3236match device CIDs did not examine the entire list of available CIDs, but 
3237instead aborted on the first non-matching CID. Andrew Patterson.
3238
3239Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
3240inadvertently changed to return a 16-bit value instead of a 32-bit value, 
3241truncating the upper dword of a 64-bit value. This macro is only used to 
3242display debug output, so no incorrect calculations were made. Also, 
3243reimplemented the macro so that a 64-bit shift is not performed by 
3244inefficient compilers.
3245
3246Added missing va_end statements that should correspond with each va_start 
3247statement.
3248
3249Example Code and Data Size: These are the sizes for the OS-independent 
3250acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3251debug version of the code includes the debug output trace mechanism and has 
3252a much larger code and data size.
3253
3254  Previous Release:
3255    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
3256    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
3257  Current Release:
3258    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
3259    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
3260
32612) iASL Compiler/Disassembler and Tools:
3262
3263Implemented full disassembler support for the following new ACPI tables: 
3264BERT, EINJ, and ERST. Implemented partial disassembler support for the 
3265complicated HEST table. These tables support the Windows Hardware Error 
3266Architecture (WHEA).
3267
3268----------------------------------------
326923 January 2008. Summary of changes for version 20080123:
3270
32711) ACPI CA Core Subsystem:
3272
3273Added the 2008 copyright to all module headers and signons. This affects 
3274virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3275the tools/utilities.
3276
3277Fixed a problem with the SizeOf operator when used with Package and Buffer 
3278objects. These objects have deferred execution for some arguments, and the 
3279execution is now completed before the SizeOf is executed. This problem caused 
3280unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
32819558
3282
3283Implemented an enhancement to the interpreter "slack mode". In the absence of 
3284an explicit return or an implicitly returned object from the last executed 
3285opcode, a control method will now implicitly return an integer of value 0 for 
3286Microsoft compatibility. (Lin Ming) BZ 392
3287
3288Fixed a problem with the Load operator where an exception was not returned in 
3289the case where the table is already loaded. (Lin Ming) BZ 463
3290
3291Implemented support for the use of DDBHandles as an Indexed Reference, as per 
3292the ACPI spec. (Lin Ming) BZ 486
3293
3294Implemented support for UserTerm (Method invocation) for the Unload operator 
3295as per the ACPI spec. (Lin Ming) BZ 580
3296
3297Fixed a problem with the LoadTable operator where the OemId and OemTableId 
3298input strings could cause unexpected failures if they were shorter than the 
3299maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
3300
3301Implemented support for UserTerm (Method invocation) for the Unload operator 
3302as per the ACPI spec. (Lin Ming) BZ 580
3303
3304Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
3305IBFT, UEFI, WDAT. Disassembler support is forthcoming.
3306
3307Example Code and Data Size: These are the sizes for the OS-independent 
3308acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3309debug version of the code includes the debug output trace mechanism and has 
3310a much larger code and data size.
3311
3312  Previous Release:
3313    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3314    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3315  Current Release:
3316    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
3317    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
3318
33192) iASL Compiler/Disassembler and Tools:
3320
3321Implemented support in the disassembler for checksum validation on incoming 
3322binary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
3323header dump at the start of the disassembly.
3324
3325Implemented additional debugging information in the namespace listing file 
3326created during compilation. In addition to the namespace hierarchy, the full 
3327pathname to each namespace object is displayed.
3328
3329Fixed a problem with the disassembler where invalid ACPI tables could cause 
3330faults or infinite loops.
3331
3332Fixed an unexpected parse error when using the optional "parameter types" 
3333list in a control method declaration. (Lin Ming) BZ 397
3334
3335Fixed a problem where two External declarations with the same name did not 
3336cause an error (Lin Ming) BZ 509
3337
3338Implemented support for full TermArgs (adding Argx, Localx and method 
3339invocation) for the ParameterData parameter to the LoadTable operator. (Lin 
3340Ming) BZ 583,587
3341
3342----------------------------------------
334319 December 2007. Summary of changes for version 20071219:
3344
33451) ACPI CA Core Subsystem:
3346
3347Implemented full support for deferred execution for the TermArg string 
3348arguments for DataTableRegion. This enables forward references and full 
3349operand resolution for the three string arguments. Similar to OperationRegion 
3350deferred argument execution.) Lin Ming. BZ 430
3351
3352Implemented full argument resolution support for the BankValue argument to 
3353BankField. Previously, only constants were supported, now any TermArg may be 
3354used. Lin Ming BZ 387, 393
3355
3356Fixed a problem with AcpiGetDevices where the search of a branch of the 
3357device tree could be terminated prematurely. In accordance with the ACPI 
3358specification, the search down the current branch is terminated if a device 
3359is both not present and not functional (instead of just not present.) Yakui 
3360Zhao.
3361
3362Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
3363the underlying AML code changed the GPE enable registers. Now, any unknown 
3364incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
3365instead of simply ignored. Rui Zhang.
3366
3367Fixed a problem with Index Fields where the Index register was incorrectly 
3368limited to a maximum of 32 bits. Now any size may be used.
3369
3370Fixed a couple memory leaks associated with "implicit return" objects when 
3371the AML Interpreter slack mode is enabled. Lin Ming BZ 349
3372
3373Example Code and Data Size: These are the sizes for the OS-independent 
3374acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3375debug version of the code includes the debug output trace mechanism and has 
3376a much larger code and data size.
3377
3378  Previous Release:
3379    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3380    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3381  Current Release:
3382    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3383    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3384
3385----------------------------------------
338614 November 2007. Summary of changes for version 20071114:
3387
33881) ACPI CA Core Subsystem:
3389
3390Implemented event counters for each of the Fixed Events, the ACPI SCI 
3391(interrupt) itself, and control methods executed. Named 
3392AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
3393should be useful for debugging and statistics.
3394
3395Implemented a new external interface, AcpiGetStatistics, to retrieve the 
3396contents of the various event counters. Returns the current values for 
3397AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
3398AcpiMethodCount. The interface can be expanded in the future if new counters 
3399are added. Device drivers should use this interface rather than access the 
3400counters directly.
3401
3402Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
3403the ShortDivide function worked incorrectly, causing problems with the BCD 
3404functions with large input values. A truncation from 64-bit to 32-bit 
3405inadvertently occurred. Internal BZ 435. Lin Ming
3406
3407Fixed a problem with Index references passed as method arguments. References 
3408passed as arguments to control methods were dereferenced immediately (before 
3409control was passed to the called method). The references are now correctly 
3410passed directly to the called method. BZ 5389. Lin Ming
3411
3412Fixed a problem with CopyObject used in conjunction with the Index operator. 
3413The reference was incorrectly dereferenced before the copy. The reference is 
3414now correctly copied. BZ 5391. Lin Ming
3415
3416Fixed a problem with Control Method references within Package objects. These 
3417references are now correctly generated. This completes the package 
3418construction overhaul that began in version 20071019.
3419
3420Example Code and Data Size: These are the sizes for the OS-independent 
3421acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3422debug version of the code includes the debug output trace mechanism and has 
3423a much larger code and data size.
3424
3425  Previous Release:
3426    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3427    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3428  Current Release:
3429    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3430    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3431
3432
34332) iASL Compiler/Disassembler and Tools:
3434
3435The AcpiExec utility now installs handlers for all of the predefined 
3436Operation Region types. New types supported are: PCI_Config, CMOS, and 
3437PCIBARTarget.
3438
3439Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
3440bit) address fields for the DSDT and FACS within the FADT were not being 
3441used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
3442and Bob Moore
3443
3444----------------------------------------
344519 October 2007. Summary of changes for version 20071019:
3446
34471) ACPI CA Core Subsystem:
3448
3449Fixed a problem with the Alias operator when the target of the alias is a 
3450named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
3451Processor, and ThermalZone. In these cases, any children of the original 
3452operator could not be accessed via the alias, potentially causing unexpected 
3453AE_NOT_FOUND exceptions. (BZ 9067)
3454
3455Fixed a problem with the Package operator where all named references were 
3456created as object references and left otherwise unresolved. According to the 
3457ACPI specification, a Package can only contain Data Objects or references to 
3458control methods. The implication is that named references to Data Objects 
3459(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
3460immediately upon package creation. This is the approach taken with this 
3461change. References to all other named objects (Methods, Devices, Scopes, 
3462etc.) are all now properly created as reference objects. (BZ 5328)
3463
3464Reverted a change to Notify handling that was introduced in version 
346520070508. This version changed the Notify handling from asynchronous to 
3466fully synchronous (Device driver Notify handling with respect to the Notify 
3467ASL operator). It was found that this change caused more problems than it 
3468solved and was removed by most users.
3469
3470Fixed a problem with the Increment and Decrement operators where the type of 
3471the target object could be unexpectedly and incorrectly changed. (BZ 353) 
3472Lin Ming.
3473
3474Fixed a problem with the Load and LoadTable operators where the table 
3475location within the namespace was ignored. Instead, the table was always 
3476loaded into the root or current scope. Lin Ming.
3477
3478Fixed a problem with the Load operator when loading a table from a buffer 
3479object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
3480
3481Fixed a problem with the Debug object where a store of a DdbHandle reference 
3482object to the Debug object could cause a fault.
3483
3484Added a table checksum verification for the Load operator, in the case where 
3485the load is from a buffer. (BZ 578).
3486
3487Implemented additional parameter validation for the LoadTable operator. The 
3488length of the input strings SignatureString, OemIdString, and OemTableId are 
3489now checked for maximum lengths. (BZ 582) Lin Ming.
3490
3491Example Code and Data Size: These are the sizes for the OS-independent 
3492acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3493debug version of the code includes the debug output trace mechanism and has 
3494a much larger code and data size.
3495
3496  Previous Release:
3497    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3498    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3499  Current Release:
3500    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3501    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3502
3503
35042) iASL Compiler/Disassembler:
3505
3506Fixed a problem where if a single file was specified and the file did not 
3507exist, no error message was emitted. (Introduced with wildcard support in 
3508version 20070917.)
3509
3510----------------------------------------
351119 September 2007. Summary of changes for version 20070919:
3512
35131) ACPI CA Core Subsystem:
3514
3515Designed and implemented new external interfaces to install and remove 
3516handlers for ACPI table-related events. Current events that are defined are 
3517LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
3518they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
3519AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
3520
3521Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
3522(acpi_serialized option on Linux) could cause some systems to hang during 
3523initialization. (Bob Moore) BZ 8171
3524
3525Fixed a problem where objects of certain types (Device, ThermalZone, 
3526Processor, PowerResource) can be not found if they are declared and 
3527referenced from within the same control method (Lin Ming) BZ 341
3528
3529Example Code and Data Size: These are the sizes for the OS-independent 
3530acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3531debug version of the code includes the debug output trace mechanism and has 
3532a much larger code and data size.
3533
3534  Previous Release:
3535    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3536    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3537  Current Release:
3538    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3539    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3540
3541
35422) iASL Compiler/Disassembler:
3543
3544Implemented support to allow multiple files to be compiled/disassembled in a 
3545single invocation. This includes command line wildcard support for both the 
3546Windows and Unix versions of the compiler. This feature simplifies the 
3547disassembly and compilation of multiple ACPI tables in a single directory.
3548
3549----------------------------------------
355008 May 2007. Summary of changes for version 20070508:
3551
35521) ACPI CA Core Subsystem:
3553
3554Implemented a Microsoft compatibility design change for the handling of the 
3555Notify AML operator. Previously, notify handlers were dispatched and 
3556executed completely asynchronously in a deferred thread. The new design 
3557still executes the notify handlers in a different thread, but the original 
3558thread that executed the Notify() now waits at a synchronization point for 
3559the notify handler to complete. Some machines depend on a synchronous Notify 
3560operator in order to operate correctly.
3561
3562Implemented support to allow Package objects to be passed as method 
3563arguments to the external AcpiEvaluateObject interface. Previously, this 
3564would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
3565implemented since there were no reserved control methods that required it 
3566until recently.
3567
3568Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
3569contained invalid non-zero values in reserved fields could cause later 
3570failures because these fields have meaning in later revisions of the FADT. 
3571For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
3572are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
3573
3574Fixed a problem where the Global Lock handle was not properly updated if a 
3575thread that acquired the Global Lock via executing AML code then attempted 
3576to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
3577Liu.
3578
3579Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
3580could be corrupted if the interrupt being removed was at the head of the 
3581list. Reported by Linn Crosetto.
3582
3583Example Code and Data Size: These are the sizes for the OS-independent 
3584acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3585debug version of the code includes the debug output trace mechanism and has 
3586a much larger code and data size.
3587
3588  Previous Release:
3589    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3590    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3591  Current Release:
3592    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3593    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3594
3595----------------------------------------
359620 March 2007. Summary of changes for version 20070320:
3597
35981) ACPI CA Core Subsystem:
3599
3600Implemented a change to the order of interpretation and evaluation of AML 
3601operand objects within the AML interpreter. The interpreter now evaluates 
3602operands in the order that they appear in the AML stream (and the 
3603corresponding ASL code), instead of in the reverse order (after the entire 
3604operand list has been parsed). The previous behavior caused several subtle 
3605incompatibilities with the Microsoft AML interpreter as well as being 
3606somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
3607
3608Implemented a change to the ACPI Global Lock support. All interfaces to the 
3609global lock now allow the same thread to acquire the lock multiple times. 
3610This affects the AcpiAcquireGlobalLock external interface to the global lock 
3611as well as the internal use of the global lock to support AML fields -- a 
3612control method that is holding the global lock can now simultaneously access 
3613AML fields that require global lock protection. Previously, in both cases, 
3614this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
3615AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
3616Controller. There is no change to the behavior of the AML Acquire operator, 
3617as this can already be used to acquire a mutex multiple times by the same 
3618thread. BZ 8066. With assistance from Alexey Starikovskiy.
3619
3620Fixed a problem where invalid objects could be referenced in the AML 
3621Interpreter after error conditions. During operand evaluation, ensure that 
3622the internal "Return Object" field is cleared on error and only valid 
3623pointers are stored there. Caused occasional access to deleted objects that 
3624resulted in "large reference count" warning messages. Valery Podrezov.
3625
3626Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
3627deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
3628Podrezov.
3629
3630Fixed an internal problem with the handling of result objects on the 
3631interpreter result stack. BZ 7872. Valery Podrezov.
3632
3633Removed obsolete code that handled the case where AML_NAME_OP is the target 
3634of a reference (Reference.Opcode). This code was no longer necessary. BZ 
36357874. Valery Podrezov.
3636
3637Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
3638remnant from the previously discontinued 16-bit support.
3639
3640Example Code and Data Size: These are the sizes for the OS-independent 
3641acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3642debug version of the code includes the debug output trace mechanism and has 
3643a much larger code and data size.
3644
3645  Previous Release:
3646    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3647    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3648  Current Release:
3649    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3650    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3651
3652----------------------------------------
365326 January 2007. Summary of changes for version 20070126:
3654
36551) ACPI CA Core Subsystem:
3656
3657Added the 2007 copyright to all module headers and signons. This affects 
3658virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3659the utilities.
3660
3661Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
3662during a table load. A bad pointer was passed in the case where the DSDT is 
3663overridden, causing a fault in this case.
3664
3665Example Code and Data Size: These are the sizes for the OS-independent 
3666acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3667debug version of the code includes the debug output trace mechanism and has 
3668a much larger code and data size.
3669
3670  Previous Release:
3671    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3672    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3673  Current Release:
3674    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3675    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3676
3677----------------------------------------
367815 December 2006. Summary of changes for version 20061215:
3679
36801) ACPI CA Core Subsystem:
3681
3682Support for 16-bit ACPICA has been completely removed since it is no longer 
3683necessary and it clutters the code. All 16-bit macros, types, and 
3684conditional compiles have been removed, cleaning up and simplifying the code 
3685across the entire subsystem. DOS support is no longer needed since the 
3686bootable Linux firmware kit is now available.
3687
3688The handler for the Global Lock is now removed during AcpiTerminate to 
3689enable a clean subsystem restart, via the implementation of the 
3690AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
3691HP)
3692
3693Implemented enhancements to the multithreading support within the debugger 
3694to enable improved multithreading debugging and evaluation of the subsystem. 
3695(Valery Podrezov)
3696
3697Debugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
3698memory used during the execution, as well as the maximum memory consumed by 
3699each of the various object types. (Valery Podrezov)
3700
3701Example Code and Data Size: These are the sizes for the OS-independent 
3702acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3703debug version of the code includes the debug output trace mechanism and has 
3704a much larger code and data size.
3705
3706  Previous Release:
3707    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3708    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3709  Current Release:
3710    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3711    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3712
3713
37142) iASL Compiler/Disassembler and Tools:
3715
3716AcpiExec: Implemented a new option (-m) to display full memory use 
3717statistics upon subsystem/program termination. (Valery Podrezov)
3718
3719----------------------------------------
372009 November 2006. Summary of changes for version 20061109:
3721
37221) ACPI CA Core Subsystem:
3723
3724Optimized the Load ASL operator in the case where the source operand is an 
3725operation region. Simply map the operation region memory, instead of 
3726performing a bytewise read. (Region must be of type SystemMemory, see 
3727below.)
3728
3729Fixed the Load ASL operator for the case where the source operand is a 
3730region field. A buffer object is also allowed as the source operand. BZ 480
3731
3732Fixed a problem where the Load ASL operator allowed the source operand to be 
3733an operation region of any type. It is now restricted to regions of type 
3734SystemMemory, as per the ACPI specification. BZ 481
3735
3736Additional cleanup and optimizations for the new Table Manager code.
3737
3738AcpiEnable will now fail if all of the required ACPI tables are not loaded 
3739(FADT, FACS, DSDT). BZ 477
3740
3741Added #pragma pack(8/4) to acobject.h to ensure that the structures in this 
3742header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
3743manually optimized to be aligned and will not work if it is byte-packed. 
3744
3745Example Code and Data Size: These are the sizes for the OS-independent 
3746acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3747debug version of the code includes the debug output trace mechanism and has 
3748a much larger code and data size.
3749
3750  Previous Release:
3751    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3752    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3753  Current Release:
3754    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3755    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3756
3757
37582) iASL Compiler/Disassembler and Tools:
3759
3760Fixed a problem where the presence of the _OSI predefined control method 
3761within complex expressions could cause an internal compiler error.
3762
3763AcpiExec: Implemented full region support for multiple address spaces. 
3764SpaceId is now part of the REGION object. BZ 429
3765
3766----------------------------------------
376711 October 2006. Summary of changes for version 20061011:
3768
37691) ACPI CA Core Subsystem:
3770
3771Completed an AML interpreter performance enhancement for control method 
3772execution. Previously a 2-pass parse/execution, control methods are now 
3773completely parsed and executed in a single pass. This improves overall 
3774interpreter performance by ~25%, reduces code size, and reduces CPU stack 
3775use. (Valery Podrezov + interpreter changes in version 20051202 that 
3776eliminated namespace loading during the pass one parse.)
3777
3778Implemented _CID support for PCI Root Bridge detection. If the _HID does not 
3779match the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
3780obtained and also checked for an ID match.
3781
3782Implemented additional support for the PCI _ADR execution: upsearch until a 
3783device scope is found before executing _ADR. This allows PCI_Config 
3784operation regions to be declared locally within control methods underneath 
3785PCI device objects.
3786
3787Fixed a problem with a possible race condition between threads executing 
3788AcpiWalkNamespace and the AML interpreter. This condition was removed by 
3789modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
3790entries created during any concurrent control method execution. An 
3791additional namespace race condition is known to exist between 
3792AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
3793investigation.
3794
3795Restructured the AML ParseLoop function, breaking it into several 
3796subfunctions in order to reduce CPU stack use and improve maintainability. 
3797(Mikhail Kouzmich)
3798
3799AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
3800of prefix handle and pathname. BZ 478
3801
3802Example Code and Data Size: These are the sizes for the OS-independent 
3803acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3804debug version of the code includes the debug output trace mechanism and has 
3805a much larger code and data size.
3806
3807  Previous Release:
3808    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3809    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3810  Current Release:
3811    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3812    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3813
38142) iASL Compiler/Disassembler and Tools:
3815
3816Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager 
3817to restore original behavior.
3818
3819----------------------------------------
382027 September 2006. Summary of changes for version 20060927:
3821
38221) ACPI CA Core Subsystem:
3823
3824Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
3825These functions now use a spinlock for mutual exclusion and the interrupt 
3826level indication flag is not needed.
3827
3828Fixed a problem with the Global Lock where the lock could appear to be 
3829obtained before it is actually obtained. The global lock semaphore was 
3830inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
3831Suietov.
3832
3833Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
3834a read from a buffer or region field. (BZ 458) Fiodor Suietov.
3835
3836Example Code and Data Size: These are the sizes for the OS-independent 
3837acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3838debug version of the code includes the debug output trace mechanism and has 
3839a much larger code and data size.
3840
3841  Previous Release:
3842    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3843    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3844  Current Release:
3845    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3846    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3847
3848
38492) iASL Compiler/Disassembler and Tools:
3850
3851Fixed a compilation problem with the pre-defined Resource Descriptor field 
3852names where an "object does not exist" error could be incorrectly generated 
3853if the parent ResourceTemplate pathname places the template within a 
3854different namespace scope than the current scope. (BZ 7212)
3855
3856Fixed a problem where the compiler could hang after syntax errors detected 
3857in an ElseIf construct. (BZ 453)
3858
3859Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
3860operator. An incorrect output filename was produced when this parameter was 
3861a null string (""). Now, the original input filename is used as the AML 
3862output filename, with an ".aml" extension.
3863
3864Implemented a generic batch command mode for the AcpiExec utility (execute 
3865any AML debugger command) (Valery Podrezov).
3866
3867----------------------------------------
386812 September 2006. Summary of changes for version 20060912:
3869
38701) ACPI CA Core Subsystem:
3871
3872Enhanced the implementation of the "serialized mode" of the interpreter 
3873(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
3874specified, instead of creating a serialization semaphore per control method, 
3875the interpreter lock is simply no longer released before a blocking 
3876operation during control method execution. This effectively makes the AML 
3877Interpreter single-threaded. The overhead of a semaphore per-method is 
3878eliminated.
3879
3880Fixed a regression where an error was no longer emitted if a control method 
3881attempts to create 2 objects of the same name. This once again returns 
3882AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
3883will dynamically serialize the control method to possible prevent future 
3884errors. (BZ 440)
3885
3886Integrated a fix for a problem with PCI Express HID detection in the PCI 
3887Config Space setup procedure. (BZ 7145)
3888
3889Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
3890AcpiHwInitialize function - the FADT registers are now validated when the 
3891table is loaded.
3892
3893Added two new warnings during FADT verification - 1) if the FADT is larger 
3894than the largest known FADT version, and 2) if there is a mismatch between a 
389532-bit block address and the 64-bit X counterpart (when both are non-zero.)
3896
3897Example Code and Data Size: These are the sizes for the OS-independent 
3898acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3899debug version of the code includes the debug output trace mechanism and has 
3900a much larger code and data size.
3901
3902  Previous Release:
3903    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3904    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3905  Current Release:
3906    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3907    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3908
3909
39102) iASL Compiler/Disassembler and Tools:
3911
3912Fixed a problem with the implementation of the Switch() operator where the 
3913temporary variable was declared too close to the actual Switch, instead of 
3914at method level. This could cause a problem if the Switch() operator is 
3915within a while loop, causing an error on the second iteration. (BZ 460)
3916
3917Disassembler - fix for error emitted for unknown type for target of scope 
3918operator. Now, ignore it and continue.
3919
3920Disassembly of an FADT now verifies the input FADT and reports any errors 
3921found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3922
3923Disassembly of raw data buffers with byte initialization data now prefixes 
3924each output line with the current buffer offset.
3925
3926Disassembly of ASF! table now includes all variable-length data fields at 
3927the end of some of the subtables.
3928
3929The disassembler now emits a comment if a buffer appears to be a 
3930ResourceTemplate, but cannot be disassembled as such because the EndTag does 
3931not appear at the very end of the buffer.
3932
3933AcpiExec - Added the "-t" command line option to enable the serialized mode 
3934of the AML interpreter.
3935
3936----------------------------------------
393731 August 2006. Summary of changes for version 20060831:
3938
39391) ACPI CA Core Subsystem:
3940
3941Miscellaneous fixes for the Table Manager:
3942- Correctly initialize internal common FADT for all 64-bit "X" fields
3943- Fixed a couple table mapping issues during table load
3944- Fixed a couple alignment issues for IA64
3945- Initialize input array to zero in AcpiInitializeTables
3946- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
3947AcpiGetTableByIndex
3948
3949Change for GPE support: when a "wake" GPE is received, all wake GPEs are now 
3950immediately disabled to prevent the waking GPE from firing again and to 
3951prevent other wake GPEs from interrupting the wake process.
3952
3953Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
3954be used for debugging systems with a large number of ACPI interrupts.
3955
3956Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
3957both the ACPICA headers and the disassembler.
3958
3959Example Code and Data Size: These are the sizes for the OS-independent 
3960acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3961debug version of the code includes the debug output trace mechanism and has 
3962a much larger code and data size.
3963
3964  Previous Release:
3965    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3966    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3967  Current Release:
3968    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3969    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3970
3971
39722) iASL Compiler/Disassembler and Tools:
3973
3974Disassembler support for the DMAR ACPI table.
3975
3976----------------------------------------
397723 August 2006. Summary of changes for version 20060823:
3978
39791) ACPI CA Core Subsystem:
3980
3981The Table Manager component has been completely redesigned and 
3982reimplemented. The new design is much simpler, and reduces the overall code 
3983and data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
3984now possible to obtain the ACPI tables very early during kernel 
3985initialization, even before dynamic memory management is initialized. 
3986(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3987
3988Obsolete ACPICA interfaces:
3989
3990- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
3991time).
3992- AcpiLoadTable: Not needed.
3993- AcpiUnloadTable: Not needed.
3994
3995New ACPICA interfaces:
3996
3997- AcpiInitializeTables: Must be called before the table manager can be used.
3998- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
3999allocated memory after it becomes available.
4000- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
4001in the RSDT/XSDT.
4002
4003Other ACPICA changes:
4004
4005- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
4006AcpiOsUnmapMemory to free this mapping.
4007- AcpiGetTable returns the actual mapped table. The mapping is managed 
4008internally and must not be deleted by the caller. Use of this interface 
4009causes no additional dynamic memory allocation.
4010- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
4011it appeared to be unused.
4012- The interface to AcpiOsMapMemory has changed to be consistent with the 
4013other allocation interfaces.
4014- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
4015parameters.
4016- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
4017bit platforms. Was previously 64 bits on all platforms.
4018- The interface to the ACPI Global Lock acquire/release macros have changed 
4019slightly since ACPICA no longer keeps a local copy of the FACS with a 
4020constructed pointer to the actual global lock.
4021
4022Porting to the new table manager:
4023
4024- AcpiInitializeTables: Must be called once, and can be called anytime 
4025during the OS initialization process. It allows the host to specify an area 
4026of memory to be used to store the internal version of the RSDT/XSDT (root 
4027table). This allows the host to access ACPI tables before memory management 
4028is initialized and running.
4029- AcpiReallocateRootTable: Can be called after memory management is running 
4030to copy the root table to a dynamically allocated array, freeing up the 
4031scratch memory specified in the call to AcpiInitializeTables.
4032- AcpiSubsystemInitialize: This existing interface is independent of the 
4033Table Manager, and does not have to be called before the Table Manager can 
4034be used, it only must be called before the rest of ACPICA can be used.
4035- ACPI Tables: Some changes have been made to the names and structure of the 
4036actbl.h and actbl1.h header files and may require changes to existing code. 
4037For example, bitfields have been completely removed because of their lack of 
4038portability across C compilers.
4039- Update interfaces to the Global Lock acquire/release macros if local 
4040versions are used. (see acwin.h)
4041
4042Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
4043
4044New files: tbfind.c
4045
4046Example Code and Data Size: These are the sizes for the OS-independent 
4047acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4048debug version of the code includes the debug output trace mechanism and has 
4049a much larger code and data size.
4050
4051  Previous Release:
4052    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4053    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4054  Current Release:
4055    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
4056    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
4057
4058
40592) iASL Compiler/Disassembler and Tools:
4060
4061No changes for this release.
4062
4063----------------------------------------
406421 July 2006. Summary of changes for version 20060721:
4065
40661) ACPI CA Core Subsystem:
4067
4068The full source code for the ASL test suite used to validate the iASL 
4069compiler and the ACPICA core subsystem is being released with the ACPICA 
4070source for the first time. The source is contained in a separate package and 
4071consists of over 1100 files that exercise all ASL/AML operators. The package 
4072should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
4073Suietov)
4074
4075Completed a new design and implementation for support of the ACPI Global 
4076Lock. On the OS side, the global lock is now treated as a standard AML 
4077mutex. Previously, multiple OS threads could "acquire" the global lock 
4078simultaneously. However, this could cause the BIOS to be starved out of the 
4079lock - especially in cases such as the Embedded Controller driver where 
4080there is a tight coupling between the OS and the BIOS.
4081
4082Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
4083The Global Lock interrupt handler no longer queues the execution of a 
4084separate thread to signal the global lock semaphore. Instead, the semaphore 
4085is signaled directly from the interrupt handler.
4086
4087Implemented support within the AML interpreter for package objects that 
4088contain a larger AML length (package list length) than the package element 
4089count. In this case, the length of the package is truncated to match the 
4090package element count. Some BIOS code apparently modifies the package length 
4091on the fly, and this change supports this behavior. Provides compatibility 
4092with the MS AML interpreter. (With assistance from Fiodor Suietov)
4093
4094Implemented a temporary fix for the BankValue parameter of a Bank Field to 
4095support all constant values, now including the Zero and One opcodes. 
4096Evaluation of this parameter must eventually be converted to a full TermArg 
4097evaluation. A not-implemented error is now returned (temporarily) for non-
4098constant values for this parameter.
4099
4100Fixed problem reports (Fiodor Suietov) integrated:
4101- Fix for premature object deletion after CopyObject on Operation Region (BZ 
4102350)
4103
4104Example Code and Data Size: These are the sizes for the OS-independent 
4105acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4106debug version of the code includes the debug output trace mechanism and has 
4107a much larger code and data size.
4108
4109  Previous Release:
4110    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
4111    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
4112  Current Release:
4113    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4114    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4115
4116
41172) iASL Compiler/Disassembler and Tools:
4118
4119No changes for this release.
4120
4121----------------------------------------
412207 July 2006. Summary of changes for version 20060707:
4123
41241) ACPI CA Core Subsystem:
4125
4126Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
4127that do not allow the initialization of address pointers within packed 
4128structures - even though the hardware itself may support misaligned 
4129transfers. Some of the debug data structures are packed by default to 
4130minimize size.
4131
4132Added an error message for the case where AcpiOsGetThreadId() returns zero. 
4133A non-zero value is required by the core ACPICA code to ensure the proper 
4134operation of AML mutexes and recursive control methods.
4135
4136The DSDT is now the only ACPI table that determines whether the AML 
4137interpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
4138the hooks for per-table 32/64 switching have been removed from the code. A 
4139clarification to the ACPI specification is forthcoming in ACPI 3.0B.
4140
4141Fixed a possible leak of an OwnerID in the error path of 
4142AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
4143deletion to a single place in AcpiTbUninstallTable to correct possible leaks 
4144when using the AcpiTbDeleteTablesByType interface (with assistance from 
4145Lance Ortiz.)
4146
4147Fixed a problem with Serialized control methods where the semaphore 
4148associated with the method could be over-signaled after multiple method 
4149invocations.
4150
4151Fixed two issues with the locking of the internal namespace data structure. 
4152Both the Unload() operator and AcpiUnloadTable interface now lock the 
4153namespace during the namespace deletion associated with the table unload 
4154(with assistance from Linn Crosetto.)
4155
4156Fixed problem reports (Valery Podrezov) integrated:
4157- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
4158
4159Fixed problem reports (Fiodor Suietov) integrated:
4160- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
4161- On Address Space handler deletion, needless deactivation call (BZ 374)
4162- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
4163- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
4164(BZ 376)
4165- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
4166- Minimum Length of RSDT should be validated (BZ 379)
4167- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
4168Handler (BZ (380)
4169- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
4170(BZ 381)
4171
4172Example Code and Data Size: These are the sizes for the OS-independent 
4173acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4174debug version of the code includes the debug output trace mechanism and has 
4175a much larger code and data size.
4176
4177  Previous Release:
4178    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
4179    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
4180  Current Release:
4181    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4182    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4183
4184
41852) iASL Compiler/Disassembler and Tools:
4186
4187Fixed problem reports:
4188Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
4189436)
4190
4191----------------------------------------
419223 June 2006. Summary of changes for version 20060623:
4193
41941) ACPI CA Core Subsystem:
4195
4196Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
4197allows the type to be customized to the host OS for improved efficiency 
4198(since a spinlock is usually a very small object.)
4199
4200Implemented support for "ignored" bits in the ACPI registers. According to 
4201the ACPI specification, these bits should be preserved when writing the 
4202registers via a read/modify/write cycle. There are 3 bits preserved in this 
4203manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
4204
4205Implemented the initial deployment of new OSL mutex interfaces. Since some 
4206host operating systems have separate mutex and semaphore objects, this 
4207feature was requested. The base code now uses mutexes (and the new mutex 
4208interfaces) wherever a binary semaphore was used previously. However, for 
4209the current release, the mutex interfaces are defined as macros to map them 
4210to the existing semaphore interfaces. Therefore, no OSL changes are required 
4211at this time. (See acpiosxf.h)
4212
4213Fixed several problems with the support for the control method SyncLevel 
4214parameter. The SyncLevel now works according to the ACPI specification and 
4215in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
4216is a property of the executing thread. Mutual exclusion for control methods 
4217is now implemented with a mutex instead of a semaphore.
4218
4219Fixed three instances of the use of the C shift operator in the bitfield 
4220support code (exfldio.c) to avoid the use of a shift value larger than the 
4221target data width. The behavior of C compilers is undefined in this case and 
4222can cause unpredictable results, and therefore the case must be detected and 
4223avoided. (Fiodor Suietov)
4224
4225Added an info message whenever an SSDT or OEM table is loaded dynamically 
4226via the Load() or LoadTable() ASL operators. This should improve debugging 
4227capability since it will show exactly what tables have been loaded (beyond 
4228the tables present in the RSDT/XSDT.)
4229
4230Example Code and Data Size: These are the sizes for the OS-independent 
4231acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4232debug version of the code includes the debug output trace mechanism and has 
4233a much larger code and data size.
4234
4235  Previous Release:
4236    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
4237    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
4238  Current Release:
4239    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
4240    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
4241
4242
42432) iASL Compiler/Disassembler and Tools:
4244
4245No changes for this release.
4246
4247----------------------------------------
424808 June 2006. Summary of changes for version 20060608:
4249
42501) ACPI CA Core Subsystem:
4251
4252Converted the locking mutex used for the ACPI hardware to a spinlock. This 
4253change should eliminate all problems caused by attempting to acquire a 
4254semaphore at interrupt level, and it means that all ACPICA external 
4255interfaces that directly access the ACPI hardware can be safely called from 
4256interrupt level. OSL code that implements the semaphore interfaces should be 
4257able to eliminate any workarounds for being called at interrupt level.
4258
4259Fixed a regression introduced in 20060526 where the ACPI device 
4260initialization could be prematurely aborted with an AE_NOT_FOUND if a device 
4261did not have an optional _INI method.
4262
4263Fixed an IndexField issue where a write to the Data Register should be 
4264limited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
4265Fiodor Suietov)
4266
4267Fixed problem reports (Valery Podrezov) integrated:
4268- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
4269
4270Fixed problem reports (Fiodor Suietov) integrated:
4271- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
4272
4273Removed four global mutexes that were obsolete and were no longer being 
4274used.
4275
4276Example Code and Data Size: These are the sizes for the OS-independent 
4277acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4278debug version of the code includes the debug output trace mechanism and has 
4279a much larger code and data size.
4280
4281  Previous Release:
4282    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4283    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4284  Current Release:
4285    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
4286    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
4287
4288
42892) iASL Compiler/Disassembler and Tools:
4290
4291Fixed a fault when using -g option (get tables from registry) on Windows 
4292machines.
4293
4294Fixed problem reports integrated:
4295- Generate error if CreateField NumBits parameter is zero. (BZ 405)
4296- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
4297Suietov)
4298- Global table revision override (-r) is ignored (BZ 413)
4299
4300----------------------------------------
430126 May 2006. Summary of changes for version 20060526:
4302
43031) ACPI CA Core Subsystem:
4304
4305Restructured, flattened, and simplified the internal interfaces for 
4306namespace object evaluation - resulting in smaller code, less CPU stack use, 
4307and fewer interfaces. (With assistance from Mikhail Kouzmich)
4308
4309Fixed a problem with the CopyObject operator where the first parameter was 
4310not typed correctly for the parser, interpreter, compiler, and disassembler. 
4311Caused various errors and unexpected behavior.
4312
4313Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
4314produced incorrect results with some C compilers. Since the behavior of C 
4315compilers when the shift value is larger than the datatype width is 
4316apparently not well defined, the interpreter now detects this condition and 
4317simply returns zero as expected in all such cases. (BZ 395)
4318
4319Fixed problem reports (Valery Podrezov) integrated:
4320- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
4321- Allow interpreter to handle nested method declarations (BZ 5361)
4322
4323Fixed problem reports (Fiodor Suietov) integrated:
4324- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
4325- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
4326- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
4327- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
4328- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
4329- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
4330- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
4331- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
4332- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
4333- Status of the Global Initialization Handler call not used (BZ 366)
4334- Incorrect object parameter to Global Initialization Handler (BZ 367)
4335
4336Example Code and Data Size: These are the sizes for the OS-independent 
4337acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4338debug version of the code includes the debug output trace mechanism and has 
4339a much larger code and data size.
4340
4341  Previous Release:
4342    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4343    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4344  Current Release:
4345    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4346    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4347
4348
43492) iASL Compiler/Disassembler and Tools:
4350
4351Modified the parser to allow the names IO, DMA, and IRQ to be used as 
4352namespace identifiers with no collision with existing resource descriptor 
4353macro names. This provides compatibility with other ASL compilers and is 
4354most useful for disassembly/recompilation of existing tables without parse 
4355errors. (With assistance from Thomas Renninger)
4356
4357Disassembler: fixed an incorrect disassembly problem with the 
4358DataTableRegion and CopyObject operators. Fixed a possible fault during 
4359disassembly of some Alias operators.
4360
4361----------------------------------------
436212 May 2006. Summary of changes for version 20060512:
4363
43641) ACPI CA Core Subsystem:
4365
4366Replaced the AcpiOsQueueForExecution interface with a new interface named 
4367AcpiOsExecute. The major difference is that the new interface does not have 
4368a Priority parameter, this appeared to be useless and has been replaced by a 
4369Type parameter. The Type tells the host what type of execution is being 
4370requested, such as global lock handler, notify handler, GPE handler, etc. 
4371This allows the host to queue and execute the request as appropriate for the 
4372request type, possibly using different work queues and different priorities 
4373for the various request types. This enables fixes for multithreading 
4374deadlock problems such as BZ #5534, and will require changes to all existing 
4375OS interface layers. (Alexey Starikovskiy and Bob Moore)
4376
4377Fixed a possible memory leak associated with the support for the so-called 
4378"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
4379Suietov)
4380
4381Fixed a problem with the Load() operator where a table load from an 
4382operation region could overwrite an internal table buffer by up to 7 bytes 
4383and cause alignment faults on IPF systems. (With assistance from Luming Yu)
4384
4385Example Code and Data Size: These are the sizes for the OS-independent 
4386acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4387debug version of the code includes the debug output trace mechanism and has 
4388a much larger code and data size.
4389
4390  Previous Release:
4391    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4392    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4393  Current Release:
4394    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4395    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4396
4397
4398
43992) iASL Compiler/Disassembler and Tools:
4400
4401Disassembler: Implemented support to cross reference the internal namespace 
4402and automatically generate ASL External() statements for symbols not defined 
4403within the current table being disassembled. This will simplify the 
4404disassembly and recompilation of interdependent tables such as SSDTs since 
4405these statements will no longer have to be added manually.
4406
4407Disassembler: Implemented experimental support to automatically detect 
4408invocations of external control methods and generate appropriate External() 
4409statements. This is problematic because the AML cannot be correctly parsed 
4410until the number of arguments for each control method is known. Currently, 
4411standalone method invocations and invocations as the source operand of a 
4412Store() statement are supported.
4413
4414Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
4415LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
4416LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
4417more readable and likely closer to the original ASL source.
4418
4419----------------------------------------
442021 April 2006. Summary of changes for version 20060421:
4421
44221) ACPI CA Core Subsystem:
4423
4424Removed a device initialization optimization introduced in 20051216 where 
4425the _STA method was not run unless an _INI was also present for the same 
4426device. This optimization could cause problems because it could allow _INI 
4427methods to be run within a not-present device subtree. (If a not-present 
4428device had no _INI, _STA would not be run, the not-present status would not 
4429be discovered, and the children of the device would be incorrectly 
4430traversed.)
4431
4432Implemented a new _STA optimization where namespace subtrees that do not 
4433contain _INI are identified and ignored during device initialization. 
4434Selectively running _STA can significantly improve boot time on large 
4435machines (with assistance from Len Brown.)
4436
4437Implemented support for the device initialization case where the returned 
4438_STA flags indicate a device not-present but functioning. In this case, _INI 
4439is not run, but the device children are examined for presence, as per the 
4440ACPI specification.
4441
4442Implemented an additional change to the IndexField support in order to 
4443conform to MS behavior. The value written to the Index Register is not 
4444simply a byte offset, it is a byte offset in units of the access width of 
4445the parent Index Field. (Fiodor Suietov)
4446
4447Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
4448interface is called during the creation of all AML operation regions, and 
4449allows the host OS to exert control over what addresses it will allow the 
4450AML code to access. Operation Regions whose addresses are disallowed will 
4451cause a runtime exception when they are actually accessed (will not affect 
4452or abort table loading.) See oswinxf or osunixxf for an example 
4453implementation.
4454
4455Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
4456interface allows the host OS to match the various "optional" 
4457interface/behavior strings for the _OSI predefined control method as 
4458appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
4459for an example implementation.
4460
4461Restructured and corrected various problems in the exception handling code 
4462paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
4463(with assistance from Takayoshi Kochi.)
4464
4465Modified the Linux source converter to ignore quoted string literals while 
4466converting identifiers from mixed to lower case. This will correct problems 
4467with the disassembler and other areas where such strings must not be 
4468modified.
4469
4470The ACPI_FUNCTION_* macros no longer require quotes around the function 
4471name. This allows the Linux source converter to convert the names, now that 
4472the converter ignores quoted strings.
4473
4474Example Code and Data Size: These are the sizes for the OS-independent 
4475acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4476debug version of the code includes the debug output trace mechanism and has 
4477a much larger code and data size.
4478
4479  Previous Release:
4480
4481    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4482    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4483  Current Release:
4484    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4485    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4486
4487
44882) iASL Compiler/Disassembler and Tools:
4489
4490Implemented 3 new warnings for iASL, and implemented multiple warning levels 
4491(w2 flag).
4492
44931) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
4494WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
4495check for the possible timeout, a warning is issued.
4496
44972) Useless operators: If an ASL operator does not specify an optional target 
4498operand and it also does not use the function return value from the 
4499operator, a warning is issued since the operator effectively does nothing.
4500
45013) Unreferenced objects: If a namespace object is created, but never 
4502referenced, a warning is issued. This is a warning level 2 since there are 
4503cases where this is ok, such as when a secondary table is loaded that uses 
4504the unreferenced objects. Even so, care is taken to only flag objects that 
4505don't look like they will ever be used. For example, the reserved methods 
4506(starting with an underscore) are usually not referenced because it is 
4507expected that the OS will invoke them.
4508
4509----------------------------------------
451031 March 2006. Summary of changes for version 20060331:
4511
45121) ACPI CA Core Subsystem:
4513
4514Implemented header file support for the following additional ACPI tables: 
4515ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
4516all current and known ACPI tables are now defined in the ACPICA headers and 
4517are available for use by device drivers and other software.
4518
4519Implemented support to allow tables that contain ACPI names with invalid 
4520characters to be loaded. Previously, this would cause the table load to 
4521fail, but since there are several known cases of such tables on existing 
4522machines, this change was made to enable ACPI support for them. Also, this 
4523matches the behavior of the Microsoft ACPI implementation.
4524
4525Fixed a couple regressions introduced during the memory optimization in the 
452620060317 release. The namespace node definition required additional 
4527reorganization and an internal datatype that had been changed to 8-bit was 
4528restored to 32-bit. (Valery Podrezov)
4529
4530Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
4531could be passed through to AcpiOsReleaseObject which is unexpected. Such 
4532null pointers are now trapped and ignored, matching the behavior of the 
4533previous implementation before the deployment of AcpiOsReleaseObject.
4534(Valery Podrezov, Fiodor Suietov)
4535
4536Fixed a memory mapping leak during the deletion of a SystemMemory operation 
4537region where a cached memory mapping was not deleted. This became a 
4538noticeable problem for operation regions that are defined within frequently 
4539used control methods. (Dana Meyers)
4540
4541Reorganized the ACPI table header files into two main files: one for the 
4542ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
4543ACPI tables that are consumed by the drivers and other software. The various 
4544FADT definitions were merged into one common section and three different 
4545tables (ACPI 1.0, 1.0+, and 2.0)
4546
4547Example Code and Data Size: These are the sizes for the OS-independent 
4548acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4549debug version of the code includes the debug output trace mechanism and has 
4550a much larger code and data size.
4551
4552  Previous Release:
4553    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4554    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4555  Current Release:
4556    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4557    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4558
4559
45602) iASL Compiler/Disassembler and Tools:
4561
4562Disassembler: Implemented support to decode and format all non-AML ACPI 
4563tables (tables other than DSDTs and SSDTs.) This includes the new tables 
4564added to the ACPICA headers, therefore all current and known ACPI tables are 
4565supported.
4566
4567Disassembler: The change to allow ACPI names with invalid characters also 
4568enables the disassembly of such tables. Invalid characters within names are 
4569changed to '*' to make the name printable; the iASL compiler will still 
4570generate an error for such names, however, since this is an invalid ACPI 
4571character.
4572
4573Implemented an option for AcpiXtract (-a) to extract all tables found in the 
4574input file. The default invocation extracts only the DSDTs and SSDTs.
4575
4576Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
4577makefile for the AcpiXtract utility.
4578
4579----------------------------------------
458017 March 2006. Summary of changes for version 20060317:
4581
45821) ACPI CA Core Subsystem:
4583
4584Implemented the use of a cache object for all internal namespace nodes. 
4585Since there are about 1000 static nodes in a typical system, this will 
4586decrease memory use for cache implementations that minimize per-allocation 
4587overhead (such as a slab allocator.)
4588
4589Removed the reference count mechanism for internal namespace nodes, since it 
4590was deemed unnecessary. This reduces the size of each namespace node by 
4591about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
4592and 32 bytes for the 64-bit case.
4593
4594Optimized several internal data structures to reduce object size on 64-bit 
4595platforms by packing data within the 64-bit alignment. This includes the 
4596frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
4597instances corresponding to the namespace objects.
4598
4599Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
4600and "Windows 2006".
4601
4602Split the allocation tracking mechanism out to a separate file, from 
4603utalloc.c to uttrack.c. This mechanism appears to be only useful for 
4604application-level code. Kernels may wish to not include uttrack.c in 
4605distributions.
4606
4607Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated 
4608code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
4609macros.)
4610
4611Code and Data Size: These are the sizes for the acpica.lib produced by the 
4612Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4613driver or OSPM code. The debug version of the code includes the debug output 
4614trace mechanism and has a much larger code and data size. Note that these 
4615values will vary depending on the efficiency of the compiler and the 
4616compiler options used during generation.
4617
4618  Previous Release:
4619    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4620    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4621  Current Release:
4622    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4623    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4624
4625
46262) iASL Compiler/Disassembler and Tools:
4627
4628Implemented an ANSI C version of the acpixtract utility. This version will 
4629automatically extract the DSDT and all SSDTs from the input acpidump text 
4630file and dump the binary output to separate files. It can also display a 
4631summary of the input file including the headers for each table found and 
4632will extract any single ACPI table, with any signature. (See 
4633source/tools/acpixtract)
4634
4635----------------------------------------
463610 March 2006. Summary of changes for version 20060310:
4637
46381) ACPI CA Core Subsystem:
4639
4640Tagged all external interfaces to the subsystem with the new 
4641ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
4642kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
4643macro. The default definition is NULL.
4644
4645Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
4646This allows the host to define this as necessary to simplify kernel 
4647integration. The default definition is ACPI_NATIVE_UINT.
4648
4649Fixed two interpreter problems related to error processing, the deletion of 
4650objects, and placing invalid pointers onto the internal operator result 
4651stack. BZ 6028, 6151 (Valery Podrezov)
4652
4653Increased the reference count threshold where a warning is emitted for large 
4654reference counts in order to eliminate unnecessary warnings on systems with 
4655large namespaces (especially 64-bit.) Increased the value from 0x400 to 
46560x800.
4657
4658Due to universal disagreement as to the meaning of the 'c' in the calloc() 
4659function, the ACPI_MEM_CALLOCATE macro has been renamed to 
4660ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
4661ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
4662ACPI_FREE.
4663
4664Code and Data Size: These are the sizes for the acpica.lib produced by the 
4665Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4666driver or OSPM code. The debug version of the code includes the debug output 
4667trace mechanism and has a much larger code and data size. Note that these 
4668values will vary depending on the efficiency of the compiler and the 
4669compiler options used during generation.
4670
4671  Previous Release:
4672    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4673    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4674  Current Release:
4675    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4676    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4677
4678
46792) iASL Compiler/Disassembler:
4680
4681Disassembler: implemented support for symbolic resource descriptor 
4682references. If a CreateXxxxField operator references a fixed offset within a 
4683resource descriptor, a name is assigned to the descriptor and the offset is 
4684translated to the appropriate resource tag and pathname. The addition of 
4685this support brings the disassembled code very close to the original ASL 
4686source code and helps eliminate run-time errors when the disassembled code 
4687is modified (and recompiled) in such a way as to invalidate the original 
4688fixed offsets.
4689
4690Implemented support for a Descriptor Name as the last parameter to the ASL 
4691Register() macro. This parameter was inadvertently left out of the ACPI 
4692specification, and will be added for ACPI 3.0b.
4693
4694Fixed a problem where the use of the "_OSI" string (versus the full path 
4695"\_OSI") caused an internal compiler error. ("No back ptr to op")
4696
4697Fixed a problem with the error message that occurs when an invalid string is 
4698used for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
4699The correct message is now displayed.
4700
4701----------------------------------------
470217 February 2006. Summary of changes for version 20060217:
4703
47041) ACPI CA Core Subsystem:
4705
4706Implemented a change to the IndexField support to match the behavior of the 
4707Microsoft AML interpreter. The value written to the Index register is now a 
4708byte offset, no longer an index based upon the width of the Data register. 
4709This should fix IndexField problems seen on some machines where the Data 
4710register is not exactly one byte wide. The ACPI specification will be 
4711clarified on this point.
4712
4713Fixed a problem where several resource descriptor types could overrun the 
4714internal descriptor buffer due to size miscalculation: VendorShort, 
4715VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
4716affect all platforms.
4717
4718Fixed a problem where individual resource descriptors were misaligned within 
4719the internal buffer, causing alignment faults on IA64 platforms.
4720
4721Code and Data Size: These are the sizes for the acpica.lib produced by the 
4722Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4723driver or OSPM code. The debug version of the code includes the debug output 
4724trace mechanism and has a much larger code and data size. Note that these 
4725values will vary depending on the efficiency of the compiler and the 
4726compiler options used during generation.
4727
4728  Previous Release:
4729    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4730    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4731  Current Release:
4732    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4733    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4734
4735
47362) iASL Compiler/Disassembler:
4737
4738Implemented support for new reserved names: _WDG and _WED are Microsoft 
4739extensions for Windows Instrumentation Management, _TDL is a new ACPI-
4740defined method (Throttling Depth Limit.)
4741
4742Fixed a problem where a zero-length VendorShort or VendorLong resource 
4743descriptor was incorrectly emitted as a descriptor of length one.
4744
4745----------------------------------------
474610 February 2006. Summary of changes for version 20060210:
4747
47481) ACPI CA Core Subsystem:
4749
4750Removed a couple of extraneous ACPI_ERROR messages that appeared during 
4751normal execution. These became apparent after the conversion from 
4752ACPI_DEBUG_PRINT.
4753
4754Fixed a problem where the CreateField operator could hang if the BitIndex or 
4755NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4756
4757Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
4758failed with an exception. This also fixes a couple of related RefOf and 
4759DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
4760
4761Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
4762AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
47635480)
4764
4765Implemented a memory cleanup at the end of the execution of each iteration 
4766of an AML While() loop, preventing the accumulation of outstanding objects. 
4767(Valery Podrezov, BZ 5427)
4768
4769Eliminated a chunk of duplicate code in the object resolution code. (Valery 
4770Podrezov, BZ 5336)
4771
4772Fixed several warnings during the 64-bit code generation.
4773
4774The AcpiSrc source code conversion tool now inserts one line of whitespace 
4775after an if() statement that is followed immediately by a comment, improving 
4776readability of the Linux code.
4777
4778Code and Data Size: The current and previous library sizes for the core 
4779subsystem are shown below. These are the code and data sizes for the 
4780acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4781values do not include any ACPI driver or OSPM code. The debug version of the 
4782code includes the debug output trace mechanism and has a much larger code 
4783and data size. Note that these values will vary depending on the efficiency 
4784of the compiler and the compiler options used during generation.
4785
4786  Previous Release:
4787    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4788    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4789  Current Release:
4790    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4791    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4792
4793
47942) iASL Compiler/Disassembler:
4795
4796Fixed a problem with the disassembly of a BankField operator with a complex 
4797expression for the BankValue parameter.
4798
4799----------------------------------------
480027 January 2006. Summary of changes for version 20060127:
4801
48021) ACPI CA Core Subsystem:
4803
4804Implemented support in the Resource Manager to allow unresolved namestring 
4805references within resource package objects for the _PRT method. This support 
4806is in addition to the previously implemented unresolved reference support 
4807within the AML parser. If the interpreter slack mode is enabled, these 
4808unresolved references will be passed through to the caller as a NULL package 
4809entry.
4810
4811Implemented and deployed new macros and functions for error and warning 
4812messages across the subsystem. These macros are simpler and generate less 
4813code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
4814ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
4815macros remain defined to allow ACPI drivers time to migrate to the new 
4816macros.
4817
4818Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
4819Acquire/Release Lock OSL interfaces.
4820
4821Fixed a problem where Alias ASL operators are sometimes not correctly 
4822resolved, in both the interpreter and the iASL compiler.
4823
4824Fixed several problems with the implementation of the ConcatenateResTemplate 
4825ASL operator. As per the ACPI specification, zero length buffers are now 
4826treated as a single EndTag. One-length buffers always cause a fatal 
4827exception. Non-zero length buffers that do not end with a full 2-byte EndTag 
4828cause a fatal exception.
4829
4830Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
4831interface. (With assistance from Thomas Renninger)
4832
4833Code and Data Size: The current and previous library sizes for the core 
4834subsystem are shown below. These are the code and data sizes for the 
4835acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4836values do not include any ACPI driver or OSPM code. The debug version of the 
4837code includes the debug output trace mechanism and has a much larger code 
4838and data size. Note that these values will vary depending on the efficiency 
4839of the compiler and the compiler options used during generation.
4840
4841  Previous Release:
4842    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4843    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4844  Current Release:
4845    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4846    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4847
4848
48492) iASL Compiler/Disassembler:
4850
4851Fixed an internal error that was generated for any forward references to ASL 
4852Alias objects.
4853
4854----------------------------------------
485513 January 2006. Summary of changes for version 20060113:
4856
48571) ACPI CA Core Subsystem:
4858
4859Added 2006 copyright to all module headers and signons. This affects 
4860virtually every file in the ACPICA core subsystem, iASL compiler, and the 
4861utilities.
4862 
4863Enhanced the ACPICA error reporting in order to simplify user migration to 
4864the non-debug version of ACPICA. Replaced all instances of the 
4865ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
4866levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
4867respectively. This preserves all error and warning messages in the non-debug 
4868version of the ACPICA code (this has been referred to as the "debug lite" 
4869option.) Over 200 cases were converted to create a total of over 380 
4870error/warning messages across the ACPICA code. This increases the code and 
4871data size of the default non-debug version of the code somewhat (about 13K), 
4872but all error/warning reporting may be disabled if desired (and code 
4873eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
4874configuration option. The size of the debug version of ACPICA remains about 
4875the same.
4876
4877Fixed a memory leak within the AML Debugger "Set" command. One object was 
4878not properly deleted for every successful invocation of the command.
4879
4880Code and Data Size: The current and previous library sizes for the core 
4881subsystem are shown below. These are the code and data sizes for the 
4882acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4883values do not include any ACPI driver or OSPM code. The debug version of the 
4884code includes the debug output trace mechanism and has a much larger code 
4885and data size. Note that these values will vary depending on the efficiency 
4886of the compiler and the compiler options used during generation.
4887
4888  Previous Release:
4889    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4890    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4891  Current Release:
4892    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4893    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4894
4895
48962) iASL Compiler/Disassembler:
4897
4898The compiler now officially supports the ACPI 3.0a specification that was 
4899released on December 30, 2005. (Specification is available at www.acpi.info)
4900
4901----------------------------------------
490216 December 2005. Summary of changes for version 20051216:
4903
49041) ACPI CA Core Subsystem:
4905
4906Implemented optional support to allow unresolved names within ASL Package 
4907objects. A null object is inserted in the package when a named reference 
4908cannot be located in the current namespace. Enabled via the interpreter 
4909slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
4910that contain such code.
4911
4912Implemented an optimization to the initialization sequence that can improve 
4913boot time. During ACPI device initialization, the _STA method is now run if 
4914and only if the _INI method exists. The _STA method is used to determine if 
4915the device is present; An _INI can only be run if _STA returns present, but 
4916it is a waste of time to run the _STA method if the _INI does not exist. 
4917(Prototype and assistance from Dong Wei)
4918
4919Implemented use of the C99 uintptr_t for the pointer casting macros if it is 
4920available in the current compiler. Otherwise, the default (void *) cast is 
4921used as before.
4922
4923Fixed some possible memory leaks found within the execution path of the 
4924Break, Continue, If, and CreateField operators. (Valery Podrezov)
4925
4926Fixed a problem introduced in the 20051202 release where an exception is 
4927generated during method execution if a control method attempts to declare 
4928another method.
4929
4930Moved resource descriptor string constants that are used by both the AML 
4931disassembler and AML debugger to the common utilities directory so that 
4932these components are independent.
4933
4934Implemented support in the AcpiExec utility (-e switch) to globally ignore 
4935exceptions during control method execution (method is not aborted.)
4936
4937Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
4938generation.
4939
4940Code and Data Size: The current and previous library sizes for the core 
4941subsystem are shown below. These are the code and data sizes for the 
4942acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4943values do not include any ACPI driver or OSPM code. The debug version of the 
4944code includes the debug output trace mechanism and has a much larger code 
4945and data size. Note that these values will vary depending on the efficiency 
4946of the compiler and the compiler options used during generation.
4947
4948  Previous Release:
4949    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4950    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4951  Current Release:
4952    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4953    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4954
4955
49562) iASL Compiler/Disassembler:
4957
4958Fixed a problem where a CPU stack overflow fault could occur if a recursive 
4959method call was made from within a Return statement.
4960
4961----------------------------------------
496202 December 2005. Summary of changes for version 20051202:
4963
49641) ACPI CA Core Subsystem:
4965
4966Modified the parsing of control methods to no longer create namespace 
4967objects during the first pass of the parse. Objects are now created only 
4968during the execute phase, at the moment the namespace creation operator is 
4969encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
4970should eliminate ALREADY_EXISTS exceptions seen on some machines where 
4971reentrant control methods are protected by an AML mutex. The mutex will now 
4972correctly block multiple threads from attempting to create the same object 
4973more than once.
4974
4975Increased the number of available Owner Ids for namespace object tracking 
4976from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
4977some machines with a large number of ACPI tables (either static or dynamic).
4978
4979Fixed a problem with the AcpiExec utility where a fault could occur when the 
4980-b switch (batch mode) is used.
4981
4982Enhanced the namespace dump routine to output the owner ID for each 
4983namespace object.
4984
4985Code and Data Size: The current and previous library sizes for the core 
4986subsystem are shown below. These are the code and data sizes for the 
4987acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4988values do not include any ACPI driver or OSPM code. The debug version of the 
4989code includes the debug output trace mechanism and has a much larger code 
4990and data size. Note that these values will vary depending on the efficiency 
4991of the compiler and the compiler options used during generation.
4992
4993  Previous Release:
4994    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4995    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4996  Current Release:
4997    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4998    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4999
5000
50012) iASL Compiler/Disassembler:
5002
5003Fixed a parse error during compilation of certain Switch/Case constructs. To 
5004simplify the parse, the grammar now allows for multiple Default statements 
5005and this error is now detected and flagged during the analysis phase.
5006
5007Disassembler: The disassembly now includes the contents of the original 
5008table header within a comment at the start of the file. This includes the 
5009name and version of the original ASL compiler.
5010
5011----------------------------------------
501217 November 2005. Summary of changes for version 20051117:
5013
50141) ACPI CA Core Subsystem:
5015
5016Fixed a problem in the AML parser where the method thread count could be 
5017decremented below zero if any errors occurred during the method parse phase. 
5018This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
5019This also fixed a related regression with the mechanism that detects and 
5020corrects methods that cannot properly handle reentrancy (related to the 
5021deployment of the new OwnerId mechanism.)
5022
5023Eliminated the pre-parsing of control methods (to detect errors) during 
5024table load. Related to the problem above, this was causing unwind issues if 
5025any errors occurred during the parse, and it seemed to be overkill. A table 
5026load should not be aborted if there are problems with any single control 
5027method, thus rendering this feature rather pointless.
5028
5029Fixed a problem with the new table-driven resource manager where an internal 
5030buffer overflow could occur for small resource templates.
5031
5032Implemented a new external interface, AcpiGetVendorResource. This interface 
5033will find and return a vendor-defined resource descriptor within a _CRS or 
5034_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
5035
5036Removed the length limit (200) on string objects as per the upcoming ACPI 
50373.0A specification. This affects the following areas of the interpreter: 1) 
5038any implicit conversion of a Buffer to a String, 2) a String object result 
5039of the ASL Concatentate operator, 3) the String object result of the ASL 
5040ToString operator.
5041
5042Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
5043on a semaphore object would incorrectly timeout. This allows the 
5044multithreading features of the AcpiExec utility to work properly under 
5045Windows.
5046
5047Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
5048the recently added file named "utresrc.c".
5049
5050Code and Data Size: The current and previous library sizes for the core 
5051subsystem are shown below. These are the code and data sizes for the 
5052acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5053values do not include any ACPI driver or OSPM code. The debug version of the 
5054code includes the debug output trace mechanism and has a much larger code 
5055and data size. Note that these values will vary depending on the efficiency 
5056of the compiler and the compiler options used during generation.
5057
5058  Previous Release:
5059    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
5060    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5061  Current Release:
5062    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5063    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5064
5065
50662) iASL Compiler/Disassembler:
5067
5068Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
5069specification. For the iASL compiler, this means that string literals within 
5070the source ASL can be of any length. 
5071
5072Enhanced the listing output to dump the AML code for resource descriptors 
5073immediately after the ASL code for each descriptor, instead of in a block at 
5074the end of the entire resource template.
5075
5076Enhanced the compiler debug output to dump the entire original parse tree 
5077constructed during the parse phase, before any transforms are applied to the 
5078tree. The transformed tree is dumped also.
5079
5080----------------------------------------
508102 November 2005. Summary of changes for version 20051102:
5082
50831) ACPI CA Core Subsystem:
5084
5085Modified the subsystem initialization sequence to improve GPE support. The 
5086GPE initialization has been split into two parts in order to defer execution 
5087of the _PRW methods (Power Resources for Wake) until after the hardware is 
5088fully initialized and the SCI handler is installed. This allows the _PRW 
5089methods to access fields protected by the Global Lock. This will fix systems 
5090where a NO_GLOBAL_LOCK exception has been seen during initialization.
5091
5092Converted the ACPI internal object disassemble and display code within the 
5093AML debugger to fully table-driven operation, reducing code size and 
5094increasing maintainability.
5095
5096Fixed a regression with the ConcatenateResTemplate() ASL operator introduced 
5097in the 20051021 release.
5098
5099Implemented support for "local" internal ACPI object types within the 
5100debugger "Object" command and the AcpiWalkNamespace external interfaces. 
5101These local types include RegionFields, BankFields, IndexFields, Alias, and 
5102reference objects.
5103
5104Moved common AML resource handling code into a new file, "utresrc.c". This 
5105code is shared by both the Resource Manager and the AML Debugger.
5106
5107Code and Data Size: The current and previous library sizes for the core 
5108subsystem are shown below. These are the code and data sizes for the 
5109acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5110values do not include any ACPI driver or OSPM code. The debug version of the 
5111code includes the debug output trace mechanism and has a much larger code 
5112and data size. Note that these values will vary depending on the efficiency 
5113of the compiler and the compiler options used during generation.
5114
5115  Previous Release:
5116    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
5117    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
5118  Current Release:
5119    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
5120    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5121
5122
51232) iASL Compiler/Disassembler:
5124
5125Fixed a problem with very large initializer lists (more than 4000 elements) 
5126for both Buffer and Package objects where the parse stack could overflow.
5127
5128Enhanced the pre-compile source code scan for non-ASCII characters to ignore 
5129characters within comment fields. The scan is now always performed and is no 
5130longer optional, detecting invalid characters within a source file 
5131immediately rather than during the parse phase or later.
5132
5133Enhanced the ASL grammar definition to force early reductions on all list-
5134style grammar elements so that the overall parse stack usage is greatly 
5135reduced. This should improve performance and reduce the possibility of parse 
5136stack overflow.
5137
5138Eliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
5139with the addition of a %expected statement, the compiler generates from 
5140source with no warnings.
5141
5142Fixed a possible segment fault in the disassembler if the input filename 
5143does not contain a "dot" extension (Thomas Renninger).
5144
5145----------------------------------------
514621 October 2005. Summary of changes for version 20051021:
5147
51481) ACPI CA Core Subsystem:
5149
5150Implemented support for the EM64T and other x86-64 processors. This 
5151essentially entails recognizing that these processors support non-aligned 
5152memory transfers. Previously, all 64-bit processors were assumed to lack 
5153hardware support for non-aligned transfers.
5154
5155Completed conversion of the Resource Manager to nearly full table-driven 
5156operation. Specifically, the resource conversion code (convert AML to 
5157internal format and the reverse) and the debug code to dump internal 
5158resource descriptors are fully table-driven, reducing code and data size and 
5159improving maintainability.
5160
5161The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
5162on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
5163Alexey Starikovskiy)
5164
5165Implemented support within the resource conversion code for the Type-
5166Specific byte within the various ACPI 3.0 *WordSpace macros.
5167
5168Fixed some issues within the resource conversion code for the type-specific 
5169flags for both Memory and I/O address resource descriptors. For Memory, 
5170implemented support for the MTP and TTP flags. For I/O, split the TRS and 
5171TTP flags into two separate fields.
5172
5173Code and Data Size: The current and previous library sizes for the core 
5174subsystem are shown below. These are the code and data sizes for the 
5175acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5176values do not include any ACPI driver or OSPM code. The debug version of the 
5177code includes the debug output trace mechanism and has a much larger code 
5178and data size. Note that these values will vary depending on the efficiency 
5179of the compiler and the compiler options used during generation.
5180
5181  Previous Release:
5182    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
5183    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
5184  Current Release:
5185    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
5186    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
5187
5188
5189
51902) iASL Compiler/Disassembler:
5191
5192Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
5193corresponding ResourceSource string was not also present in a resource 
5194descriptor declaration. This restriction caused problems with existing 
5195AML/ASL code that includes the Index byte without the string. When such AML 
5196was disassembled, it could not be compiled without modification. Further, 
5197the modified code created a resource template with a different size than the 
5198original, breaking code that used fixed offsets into the resource template 
5199buffer.
5200
5201Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
5202byte. This byte is now emitted if present so that the exact AML can be 
5203reproduced when the disassembled code is recompiled.
5204
5205Improved comments and text alignment for the resource descriptor code 
5206emitted by the disassembler.
5207
5208Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
5209Register() resource descriptor.
5210
5211----------------------------------------
521230 September 2005. Summary of changes for version 20050930:
5213
52141) ACPI CA Core Subsystem:
5215
5216Completed a major overhaul of the Resource Manager code - specifically, 
5217optimizations in the area of the AML/internal resource conversion code. The 
5218code has been optimized to simplify and eliminate duplicated code, CPU stack 
5219use has been decreased by optimizing function parameters and local 
5220variables, and naming conventions across the manager have been standardized 
5221for clarity and ease of maintenance (this includes function, parameter, 
5222variable, and struct/typedef names.) The update may force changes in some 
5223driver code, depending on how resources are handled by the host OS.
5224
5225All Resource Manager dispatch and information tables have been moved to a 
5226single location for clarity and ease of maintenance. One new file was 
5227created, named "rsinfo.c".
5228
5229The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
5230guarantee that the argument is not evaluated twice, making them less prone 
5231to macro side-effects. However, since there exists the possibility of 
5232additional stack use if a particular compiler cannot optimize them (such as 
5233in the debug generation case), the original macros are optionally available.  
5234Note that some invocations of the return_VALUE macro may now cause size 
5235mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
5236eliminate these. (From Randy Dunlap)
5237
5238Implemented a new mechanism to enable debug tracing for individual control 
5239methods. A new external interface, AcpiDebugTrace, is provided to enable 
5240this mechanism. The intent is to allow the host OS to easily enable and 
5241disable tracing for problematic control methods. This interface can be 
5242easily exposed to a user or debugger interface if desired. See the file 
5243psxface.c for details.
5244
5245AcpiUtCallocate will now return a valid pointer if a length of zero is 
5246specified - a length of one is used and a warning is issued. This matches 
5247the behavior of AcpiUtAllocate.
5248
5249Code and Data Size: The current and previous library sizes for the core 
5250subsystem are shown below. These are the code and data sizes for the 
5251acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5252values do not include any ACPI driver or OSPM code. The debug version of the 
5253code includes the debug output trace mechanism and has a much larger code 
5254and data size. Note that these values will vary depending on the efficiency 
5255of the compiler and the compiler options used during generation.
5256
5257  Previous Release:
5258    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
5259    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
5260  Current Release:
5261    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
5262    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
5263
5264
52652) iASL Compiler/Disassembler:
5266
5267A remark is issued if the effective compile-time length of a package or 
5268buffer is zero. Previously, this was a warning.
5269
5270----------------------------------------
527116 September 2005. Summary of changes for version 20050916:
5272
52731) ACPI CA Core Subsystem:
5274
5275Fixed a problem within the Resource Manager where support for the Generic 
5276Register descriptor was not fully implemented. This descriptor is now fully 
5277recognized, parsed, disassembled, and displayed.
5278
5279Completely restructured the Resource Manager code to utilize table-driven 
5280dispatch and lookup, eliminating many of the large switch() statements. This 
5281reduces overall subsystem code size and code complexity. Affects the 
5282resource parsing and construction, disassembly, and debug dump output.
5283
5284Cleaned up and restructured the debug dump output for all resource 
5285descriptors. Improved readability of the output and reduced code size.
5286
5287Fixed a problem where changes to internal data structures caused the 
5288optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
5289
5290Code and Data Size: The current and previous library sizes for the core 
5291subsystem are shown below. These are the code and data sizes for the 
5292acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5293values do not include any ACPI driver or OSPM code. The debug version of the 
5294code includes the debug output trace mechanism and has a much larger code 
5295and data size. Note that these values will vary depending on the efficiency 
5296of the compiler and the compiler options used during generation.
5297
5298  Previous Release:
5299    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5300    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5301  Current Release:
5302    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
5303    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
5304
5305
53062) iASL Compiler/Disassembler:
5307
5308Updated the disassembler to automatically insert an EndDependentFn() macro 
5309into the ASL stream if this macro is missing in the original AML code, 
5310simplifying compilation of the resulting ASL module.
5311
5312Fixed a problem in the disassembler where a disassembled ResourceSource 
5313string (within a large resource descriptor) was not surrounded by quotes and 
5314not followed by a comma, causing errors when the resulting ASL module was 
5315compiled. Also, escape sequences within a ResourceSource string are now 
5316handled correctly (especially "\\")
5317
5318----------------------------------------
531902 September 2005. Summary of changes for version 20050902:
5320
53211) ACPI CA Core Subsystem:
5322
5323Fixed a problem with the internal Owner ID allocation and deallocation 
5324mechanisms for control method execution and recursive method invocation. 
5325This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
5326messages seen on some systems. Recursive method invocation depth is 
5327currently limited to 255. (Alexey Starikovskiy)
5328
5329Completely eliminated all vestiges of support for the "module-level 
5330executable code" until this support is fully implemented and debugged. This 
5331should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
5332some systems that invoke this support.
5333
5334Fixed a problem within the resource manager code where the transaction flags 
5335for a 64-bit address descriptor were handled incorrectly in the type-
5336specific flag byte.
5337
5338Consolidated duplicate code within the address descriptor resource manager 
5339code, reducing overall subsystem code size.
5340
5341Fixed a fault when using the AML debugger "disassemble" command to 
5342disassemble individual control methods.
5343
5344Removed references to the "release_current" directory within the Unix 
5345release package.
5346
5347Code and Data Size: The current and previous core subsystem library sizes 
5348are shown below. These are the code and data sizes for the acpica.lib 
5349produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
5350include any ACPI driver or OSPM code. The debug version of the code includes 
5351the debug output trace mechanism and has a much larger code and data size. 
5352Note that these values will vary depending on the efficiency of the compiler 
5353and the compiler options used during generation.
5354
5355  Previous Release:
5356    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5357    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5358  Current Release:
5359    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5360    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5361
5362
53632) iASL Compiler/Disassembler:
5364
5365Implemented an error check for illegal duplicate values in the interrupt and 
5366dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
5367Interrupt().
5368
5369Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
5370too many values in the interrupt list (16 max) and invalid values in the 
5371list (range 0 - 15)
5372
5373The maximum length string literal within an ASL file is now restricted to 
5374200 characters as per the ACPI specification.
5375
5376Fixed a fault when using the -ln option (generate namespace listing).
5377
5378Implemented an error check to determine if a DescriptorName within a 
5379resource descriptor has already been used within the current scope.
5380
5381----------------------------------------
538215 August 2005.  Summary of changes for version 20050815:
5383 
53841) ACPI CA Core Subsystem:
5385 
5386Implemented a full bytewise compare to determine if a table load request is 
5387attempting to load a duplicate table. The compare is performed if the table 
5388signatures and table lengths match. This will allow different tables with 
5389the same OEM Table ID and revision to be loaded - probably against the ACPI 
5390specification, but discovered in the field nonetheless.
5391 
5392Added the changes.txt logfile to each of the zipped release packages.
5393 
5394Code and Data Size: Current and previous core subsystem library sizes are 
5395shown below. These are the code and data sizes for the acpica.lib produced 
5396by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5397any ACPI driver or OSPM code. The debug version of the code includes the 
5398debug output trace mechanism and has a much larger code and data size. Note 
5399that these values will vary depending on the efficiency of the compiler and 
5400the compiler options used during generation.
5401 
5402  Previous Release:
5403    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5404    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5405  Current Release:
5406    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5407    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5408 
5409 
54102) iASL Compiler/Disassembler:
5411 
5412Fixed a problem where incorrect AML code could be generated for Package 
5413objects if optimization is disabled (via the -oa switch).
5414 
5415Fixed a problem with where incorrect AML code is generated for variable-
5416length packages when the package length is not specified and the number of 
5417initializer values is greater than 255.
5418 
5419
5420----------------------------------------
542129 July 2005.  Summary of changes for version 20050729:
5422
54231) ACPI CA Core Subsystem:
5424
5425Implemented support to ignore an attempt to install/load a particular ACPI 
5426table more than once. Apparently there exists BIOS code that repeatedly 
5427attempts to load the same SSDT upon certain events. With assistance from 
5428Venkatesh Pallipadi.
5429
5430Restructured the main interface to the AML parser in order to correctly 
5431handle all exceptional conditions. This will prevent leakage of the OwnerId 
5432resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
5433machines. With assistance from Alexey Starikovskiy.
5434
5435Support for "module level code" has been disabled in this version due to a 
5436number of issues that have appeared on various machines. The support can be 
5437enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
5438compilation. When the issues are fully resolved, the code will be enabled by 
5439default again.
5440
5441Modified the internal functions for debug print support to define the 
5442FunctionName parameter as a (const char *) for compatibility with compiler 
5443built-in macros such as __FUNCTION__, etc.
5444
5445Linted the entire ACPICA source tree for both 32-bit and 64-bit.
5446
5447Implemented support to display an object count summary for the AML Debugger 
5448commands Object and Methods.
5449
5450Code and Data Size: Current and previous core subsystem library sizes are 
5451shown below. These are the code and data sizes for the acpica.lib produced 
5452by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5453any ACPI driver or OSPM code. The debug version of the code includes the 
5454debug output trace mechanism and has a much larger code and data size. Note 
5455that these values will vary depending on the efficiency of the compiler and 
5456the compiler options used during generation.
5457
5458  Previous Release:
5459    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5460    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5461  Current Release:
5462    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5463    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5464
5465
54662) iASL Compiler/Disassembler:
5467
5468Fixed a regression that appeared in the 20050708 version of the compiler 
5469where an error message was inadvertently emitted for invocations of the _OSI 
5470reserved control method.
5471
5472----------------------------------------
547308 July 2005.  Summary of changes for version 20050708:
5474
54751) ACPI CA Core Subsystem:
5476
5477The use of the CPU stack in the debug version of the subsystem has been 
5478considerably reduced. Previously, a debug structure was declared in every 
5479function that used the debug macros. This structure has been removed in 
5480favor of declaring the individual elements as parameters to the debug 
5481functions. This reduces the cumulative stack use during nested execution of 
5482ACPI function calls at the cost of a small increase in the code size of the 
5483debug version of the subsystem. With assistance from Alexey Starikovskiy and 
5484Len Brown.
5485
5486Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
5487headers to define a macro that will return the current function name at 
5488runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
5489the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
5490compiler-dependent header, the function name is saved on the CPU stack (one 
5491pointer per function.) This mechanism is used because apparently there 
5492exists no standard ANSI-C defined macro that that returns the function name.
5493
5494Redesigned and reimplemented the "Owner ID" mechanism used to track 
5495namespace objects created/deleted by ACPI tables and control method 
5496execution. A bitmap is now used to allocate and free the IDs, thus solving 
5497the wraparound problem present in the previous implementation. The size of 
5498the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
5499Starikovskiy).
5500
5501Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
5502flag definitions within the headers for the predefined ACPI tables. These 
5503have been replaced by UINT8_BIT in order to increase the code portability of 
5504the subsystem. If the use of UINT8 remains a problem, we may be forced to 
5505eliminate bitfields entirely because of a lack of portability.
5506
5507Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
5508is a frequently used function and this improvement increases the performance 
5509of the entire subsystem (Alexey Starikovskiy).
5510
5511Fixed several possible memory leaks and the inverse - premature object 
5512deletion (Alexey Starikovskiy).
5513
5514Code and Data Size: Current and previous core subsystem library sizes are 
5515shown below. These are the code and data sizes for the acpica.lib produced 
5516by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5517any ACPI driver or OSPM code. The debug version of the code includes the 
5518debug output trace mechanism and has a much larger code and data size. Note 
5519that these values will vary depending on the efficiency of the compiler and 
5520the compiler options used during generation.
5521
5522  Previous Release:
5523    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5524    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5525  Current Release:
5526    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5527    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5528
5529----------------------------------------
553024 June 2005.  Summary of changes for version 20050624:
5531
55321) ACPI CA Core Subsystem:
5533
5534Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
5535the host-defined cache object. This allows the OSL implementation to define 
5536and type this object in any manner desired, simplifying the OSL 
5537implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
5538Linux, and should be defined in the OS-specific header file for other 
5539operating systems as required.
5540
5541Changed the interface to AcpiOsAcquireObject to directly return the 
5542requested object as the function return (instead of ACPI_STATUS.) This 
5543change was made for performance reasons, since this is the purpose of the 
5544interface in the first place. AcpiOsAcquireObject is now similar to the 
5545AcpiOsAllocate interface.
5546
5547Implemented a new AML debugger command named Businfo. This command displays 
5548information about all devices that have an associate _PRT object. The _ADR, 
5549_HID, _UID, and _CID are displayed for these devices.
5550
5551Modified the initialization sequence in AcpiInitializeSubsystem to call the 
5552OSL interface AcpiOslInitialize first, before any local initialization. This 
5553change was required because the global initialization now calls OSL 
5554interfaces.
5555
5556Enhanced the Dump command to display the entire contents of Package objects 
5557(including all sub-objects and their values.) 
5558
5559Restructured the code base to split some files because of size and/or 
5560because the code logically belonged in a separate file. New files are listed 
5561below. All makefiles and project files included in the ACPI CA release have 
5562been updated.
5563    utilities/utcache.c           /* Local cache interfaces */
5564    utilities/utmutex.c           /* Local mutex support */
5565    utilities/utstate.c           /* State object support */
5566    interpreter/parser/psloop.c   /* Main AML parse loop */
5567
5568Code and Data Size: Current and previous core subsystem library sizes are 
5569shown below. These are the code and data sizes for the acpica.lib produced 
5570by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5571any ACPI driver or OSPM code. The debug version of the code includes the 
5572debug output trace mechanism and has a much larger code and data size. Note 
5573that these values will vary depending on the efficiency of the compiler and 
5574the compiler options used during generation.
5575
5576  Previous Release:
5577    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5578    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5579  Current Release:
5580    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5581    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5582
5583
55842) iASL Compiler/Disassembler:
5585
5586Fixed a regression introduced in version 20050513 where the use of a Package 
5587object within a Case() statement caused a compile time exception. The 
5588original behavior has been restored (a Match() operator is emitted.)
5589
5590----------------------------------------
559117 June 2005.  Summary of changes for version 20050617:
5592
55931) ACPI CA Core Subsystem:
5594
5595Moved the object cache operations into the OS interface layer (OSL) to allow 
5596the host OS to handle these operations if desired (for example, the Linux 
5597OSL will invoke the slab allocator). This support is optional; the compile 
5598time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
5599code in the ACPI CA core. The new OSL interfaces are shown below. See 
5600utalloc.c for an example implementation, and acpiosxf.h for the exact 
5601interface definitions. With assistance from Alexey Starikovskiy.
5602    AcpiOsCreateCache
5603    AcpiOsDeleteCache
5604    AcpiOsPurgeCache
5605    AcpiOsAcquireObject
5606    AcpiOsReleaseObject
5607
5608Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
5609and restore a flags parameter. This fits better with many OS lock models. 
5610Note: the current execution state (interrupt handler or not) is no longer 
5611passed to these interfaces. If necessary, the OSL must determine this state 
5612by itself, a simple and fast operation. With assistance from Alexey 
5613Starikovskiy.
5614
5615Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
5616present if the revision of the RSDP was 2 or greater. According to the ACPI 
5617specification, the XSDT is optional in all cases, and the table manager 
5618therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
5619Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
5620only the RSDT.
5621
5622Fixed an interpreter problem with the Mid() operator in the case of an input 
5623string where the resulting output string is of zero length. It now correctly 
5624returns a valid, null terminated string object instead of a string object 
5625with a null pointer.
5626
5627Fixed a problem with the control method argument handling to allow a store 
5628to an Arg object that already contains an object of type Device. The Device 
5629object is now correctly overwritten. Previously, an error was returned.
5630
5631
5632Enhanced the debugger Find command to emit object values in addition to the 
5633found object pathnames. The output format is the same as the dump namespace 
5634command.
5635
5636Enhanced the debugger Set command. It now has the ability to set the value 
5637of any Named integer object in the namespace (Previously, only method locals 
5638and args could be set.)
5639
5640Code and Data Size: Current and previous core subsystem library sizes are 
5641shown below. These are the code and data sizes for the acpica.lib produced 
5642by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5643any ACPI driver or OSPM code. The debug version of the code includes the 
5644debug output trace mechanism and has a much larger code and data size. Note 
5645that these values will vary depending on the efficiency of the compiler and 
5646the compiler options used during generation.
5647
5648  Previous Release:
5649    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5650    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5651  Current Release:
5652    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5653    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5654
5655
56562) iASL Compiler/Disassembler:
5657
5658Fixed a regression in the disassembler where if/else/while constructs were 
5659output incorrectly. This problem was introduced in the previous release 
5660(20050526). This problem also affected the single-step disassembly in the 
5661debugger.
5662
5663Fixed a problem where compiling the reserved _OSI method would randomly (but 
5664rarely) produce compile errors.
5665
5666Enhanced the disassembler to emit compilable code in the face of incorrect 
5667AML resource descriptors. If the optional ResourceSourceIndex is present, 
5668but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
5669disassembly. Otherwise, the resulting code cannot be compiled without 
5670errors.
5671
5672----------------------------------------
567326 May 2005.  Summary of changes for version 20050526:
5674
56751) ACPI CA Core Subsystem:
5676
5677Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
5678the module level (not within a control method.) These opcodes are executed 
5679exactly once at the time the table is loaded. This type of code was legal up 
5680until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
5681order to provide backwards compatibility with earlier BIOS implementations. 
5682This eliminates the "Encountered executable code at module level" warning 
5683that was previously generated upon detection of such code.
5684
5685Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
5686inadvertently be generated during the lookup of namespace objects in the 
5687second pass parse of ACPI tables and control methods. It appears that this 
5688problem could occur during the resolution of forward references to namespace 
5689objects.
5690
5691Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
5692corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
5693allows the deadlock detection debug code to be compiled out in the normal 
5694case, improving mutex performance (and overall subsystem performance) 
5695considerably.
5696
5697Implemented a handful of miscellaneous fixes for possible memory leaks on 
5698error conditions and error handling control paths. These fixes were 
5699suggested by FreeBSD and the Coverity Prevent source code analysis tool.
5700
5701Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
5702to prevent a fault in this error case.
5703
5704Code and Data Size: Current and previous core subsystem library sizes are 
5705shown below. These are the code and data sizes for the acpica.lib produced 
5706by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5707any ACPI driver or OSPM code. The debug version of the code includes the 
5708debug output trace mechanism and has a much larger code and data size. Note 
5709that these values will vary depending on the efficiency of the compiler and 
5710the compiler options used during generation.
5711
5712  Previous Release:
5713    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5714    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5715  Current Release:
5716    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5717    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5718
5719
57202) iASL Compiler/Disassembler:
5721
5722Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
5723the module level (not within a control method.) These operators will be 
5724executed once at the time the table is loaded. This type of code was legal 
5725up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
5726compiler in order to provide backwards compatibility with earlier BIOS ASL 
5727code.
5728
5729The ACPI integer width (specified via the table revision ID or the -r 
5730override, 32 or 64 bits) is now used internally during compile-time constant 
5731folding to ensure that constants are truncated to 32 bits if necessary. 
5732Previously, the revision ID value was only emitted in the AML table header.
5733
5734An error message is now generated for the Mutex and Method operators if the 
5735SyncLevel parameter is outside the legal range of 0 through 15.
5736
5737Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
57383.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
5739The actual underlying implementation of method argument typechecking is 
5740still under development, however.
5741
5742----------------------------------------
574313 May 2005.  Summary of changes for version 20050513:
5744
57451) ACPI CA Core Subsystem:
5746
5747Implemented support for PCI Express root bridges -- added support for device 
5748PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
5749
5750The interpreter now automatically truncates incoming 64-bit constants to 32 
5751bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
5752also affects the iASL compiler constant folding. (Note: as per below, the 
5753iASL compiler no longer allows 64-bit constants within 32-bit tables.)
5754
5755Fixed a problem where string and buffer objects with "static" pointers 
5756(pointers to initialization data within an ACPI table) were not handled 
5757consistently. The internal object copy operation now always copies the data 
5758to a newly allocated buffer, regardless of whether the source object is 
5759static or not.
5760
5761Fixed a problem with the FromBCD operator where an implicit result 
5762conversion was improperly performed while storing the result to the target 
5763operand. Since this is an "explicit conversion" operator, the implicit 
5764conversion should never be performed on the output.
5765
5766Fixed a problem with the CopyObject operator where a copy to an existing 
5767named object did not always completely overwrite the existing object stored 
5768at name. Specifically, a buffer-to-buffer copy did not delete the existing 
5769buffer.
5770
5771Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
5772structs for consistency.
5773
5774Code and Data Size: Current and previous core subsystem library sizes are 
5775shown below. These are the code and data sizes for the acpica.lib produced 
5776by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5777any ACPI driver or OSPM code. The debug version of the code includes the 
5778debug output trace mechanism and has a much larger code and data size. Note 
5779that these values will vary depending on the efficiency of the compiler and 
5780the compiler options used during generation.
5781
5782  Previous Release:
5783    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5784    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5785  Current Release: (Same sizes)
5786    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5787    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5788
5789
57902) iASL Compiler/Disassembler:
5791
5792The compiler now emits a warning if an attempt is made to generate a 64-bit 
5793integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
5794is truncated to 32 bits.
5795
5796Fixed a problem with large package objects: if the static length of the 
5797package is greater than 255, the "variable length package" opcode is 
5798emitted. Previously, this caused an error. This requires an update to the 
5799ACPI spec, since it currently (incorrectly) states that packages larger than 
5800255 elements are not allowed.
5801
5802The disassembler now correctly handles variable length packages and packages 
5803larger than 255 elements.
5804
5805----------------------------------------
580608 April 2005.  Summary of changes for version 20050408:
5807
58081) ACPI CA Core Subsystem:
5809
5810Fixed three cases in the interpreter where an "index" argument to an ASL 
5811function was still (internally) 32 bits instead of the required 64 bits. 
5812This was the Index argument to the Index, Mid, and Match operators.
5813
5814The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
5815not a POSIX-defined function and not present in most kernel-level C 
5816libraries. All references to the C library strupr function have been removed 
5817from the headers.
5818
5819Completed the deployment of static functions/prototypes. All prototypes with 
5820the static attribute have been moved from the headers to the owning C file.
5821
5822Implemented an extract option (-e) for the AcpiBin utility (AML binary 
5823utility). This option allows the utility to extract individual ACPI tables 
5824from the output of AcpiDmp. It provides the same functionality of the 
5825acpixtract.pl perl script without the worry of setting the correct perl 
5826options. AcpiBin runs on Windows and has not yet been generated/validated in 
5827the Linux/Unix environment (but should be soon).
5828 
5829Updated and fixed the table dump option for AcpiBin (-d). This option 
5830converts a single ACPI table to a hex/ascii file, similar to the output of 
5831AcpiDmp.
5832
5833Code and Data Size: Current and previous core subsystem library sizes are 
5834shown below. These are the code and data sizes for the acpica.lib produced 
5835by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5836any ACPI driver or OSPM code. The debug version of the code includes the 
5837debug output trace mechanism and has a much larger code and data size. Note 
5838that these values will vary depending on the efficiency of the compiler and 
5839the compiler options used during generation.
5840
5841  Previous Release:
5842    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5843    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5844  Current Release:
5845    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5846    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5847
5848
58492) iASL Compiler/Disassembler:
5850
5851Disassembler fix: Added a check to ensure that the table length found in the 
5852ACPI table header within the input file is not longer than the actual input 
5853file size. This indicates some kind of file or table corruption.
5854
5855----------------------------------------
585629 March 2005.  Summary of changes for version 20050329:
5857
58581) ACPI CA Core Subsystem:
5859
5860An error is now generated if an attempt is made to create a Buffer Field of 
5861length zero (A CreateField with a length operand of zero.)
5862
5863The interpreter now issues a warning whenever executable code at the module 
5864level is detected during ACPI table load. This will give some idea of the 
5865prevalence of this type of code.
5866
5867Implemented support for references to named objects (other than control 
5868methods) within package objects.
5869
5870Enhanced package object output for the debug object. Package objects are now 
5871completely dumped, showing all elements.
5872
5873Enhanced miscellaneous object output for the debug object. Any object can 
5874now be written to the debug object (for example, a device object can be 
5875written, and the type of the object will be displayed.)
5876
5877The "static" qualifier has been added to all local functions across both the 
5878core subsystem and the iASL compiler.
5879
5880The number of "long" lines (> 80 chars) within the source has been 
5881significantly reduced, by about 1/3.
5882
5883Cleaned up all header files to ensure that all CA/iASL functions are 
5884prototyped (even static functions) and the formatting is consistent.
5885
5886Two new header files have been added, acopcode.h and acnames.h.
5887
5888Removed several obsolete functions that were no longer used.
5889
5890Code and Data Size: Current and previous core subsystem library sizes are 
5891shown below. These are the code and data sizes for the acpica.lib produced 
5892by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5893any ACPI driver or OSPM code. The debug version of the code includes the 
5894debug output trace mechanism and has a much larger code and data size. Note 
5895that these values will vary depending on the efficiency of the compiler and 
5896the compiler options used during generation.
5897
5898  Previous Release:
5899    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5900    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5901  Current Release:
5902    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5903    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5904
5905
5906
59072) iASL Compiler/Disassembler:
5908
5909Fixed a problem with the resource descriptor generation/support. For the 
5910ResourceSourceIndex and the ResourceSource fields, both must be present, or 
5911both must be not present - can't have one without the other.
5912
5913The compiler now returns non-zero from the main procedure if any errors have 
5914occurred during the compilation.
5915
5916
5917----------------------------------------
591809 March 2005.  Summary of changes for version 20050309:
5919
59201) ACPI CA Core Subsystem:
5921
5922The string-to-buffer implicit conversion code has been modified again after 
5923a change to the ACPI specification.  In order to match the behavior of the 
5924other major ACPI implementation, the target buffer is no longer truncated if 
5925the source string is smaller than an existing target buffer. This change 
5926requires an update to the ACPI spec, and should eliminate the recent 
5927AE_AML_BUFFER_LIMIT issues.
5928
5929The "implicit return" support was rewritten to a new algorithm that solves 
5930the general case. Rather than attempt to determine when a method is about to 
5931exit, the result of every ASL operator is saved momentarily until the very 
5932next ASL operator is executed. Therefore, no matter how the method exits, 
5933there will always be a saved implicit return value. This feature is only 
5934enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
5935AE_AML_NO_RETURN_VALUE errors when enabled.
5936
5937Implemented implicit conversion support for the predicate (operand) of the 
5938If, Else, and While operators. String and Buffer arguments are automatically 
5939converted to Integers.
5940
5941Changed the string-to-integer conversion behavior to match the new ACPI 
5942errata: "If no integer object exists, a new integer is created. The ASCII 
5943string is interpreted as a hexadecimal constant. Each string character is 
5944interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
5945with the first character as the most significant digit, and ending with the 
5946first non-hexadecimal character or end-of-string." This means that the first 
5947non-hex character terminates the conversion and this is the code that was 
5948changed.
5949
5950Fixed a problem where the ObjectType operator would fail (fault) when used 
5951on an Index of a Package which pointed to a null package element. The 
5952operator now properly returns zero (Uninitialized) in this case.
5953
5954Fixed a problem where the While operator used excessive memory by not 
5955properly popping the result stack during execution. There was no memory leak 
5956after execution, however. (Code provided by Valery Podrezov.)
5957
5958Fixed a problem where references to control methods within Package objects 
5959caused the method to be invoked, instead of producing a reference object 
5960pointing to the method.
5961
5962Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
5963improve performance and reduce code size. (Code provided by Alexey 
5964Starikovskiy.)
5965
5966Code and Data Size: Current and previous core subsystem library sizes are 
5967shown below. These are the code and data sizes for the acpica.lib produced 
5968by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5969any ACPI driver or OSPM code. The debug version of the code includes the 
5970debug output trace mechanism and has a much larger code and data size. Note 
5971that these values will vary depending on the efficiency of the compiler and 
5972the compiler options used during generation.
5973
5974  Previous Release:
5975    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5976    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5977  Current Release:
5978    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5979    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5980
5981
59822) iASL Compiler/Disassembler:
5983
5984Fixed a problem with the Return operator with no arguments. Since the AML 
5985grammar for the byte encoding requires an operand for the Return opcode, the 
5986compiler now emits a Return(Zero) for this case.  An ACPI specification 
5987update has been written for this case.
5988
5989For tables other than the DSDT, namepath optimization is automatically 
5990disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
5991compiler has no knowledge of where, and thus cannot optimize namepaths.
5992
5993Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
5994inadvertently omitted from the ACPI specification, and will require an 
5995update to the spec.
5996
5997The source file scan for ASCII characters is now optional (-a). This change 
5998was made because some vendors place non-ascii characters within comments. 
5999However, the scan is simply a brute-force byte compare to ensure all 
6000characters in the file are in the range 0x00 to 0x7F.
6001
6002Fixed a problem with the CondRefOf operator where the compiler was 
6003inappropriately checking for the existence of the target. Since the point of 
6004the operator is to check for the existence of the target at run-time, the 
6005compiler no longer checks for the target existence.
6006
6007Fixed a problem where errors generated from the internal AML interpreter 
6008during constant folding were not handled properly, causing a fault.
6009
6010Fixed a problem with overly aggressive range checking for the Stall 
6011operator. The valid range (max 255) is now only checked if the operand is of 
6012type Integer. All other operand types cannot be statically checked.
6013
6014Fixed a problem where control method references within the RefOf, DeRefOf, 
6015and ObjectType operators were not treated properly. They are now treated as 
6016actual references, not method invocations.
6017
6018Fixed and enhanced the "list namespace" option (-ln). This option was broken 
6019a number of releases ago.
6020
6021Improved error handling for the Field, IndexField, and BankField operators. 
6022The compiler now cleanly reports and recovers from errors in the field 
6023component (FieldUnit) list.
6024
6025Fixed a disassembler problem where the optional ResourceDescriptor fields 
6026TRS and TTP were not always handled correctly.
6027
6028Disassembler - Comments in output now use "//" instead of "/*"
6029
6030----------------------------------------
603128 February 2005.  Summary of changes for version 20050228:
6032
60331) ACPI CA Core Subsystem:
6034
6035Fixed a problem where the result of an Index() operator (an object 
6036reference) must increment the reference count on the target object for the 
6037life of the object reference.
6038
6039Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
6040Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
6041resource descriptors.
6042
6043Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
6044Space Descriptor" string, indicating interpreter support for the descriptors 
6045above.
6046
6047Implemented header support for the new ACPI 3.0 FADT flag bits.
6048
6049Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
6050status/enable registers.
6051
6052Updated header support for the MADT processor local Apic struct and MADT 
6053platform interrupt source struct for new ACPI 3.0 fields.
6054
6055Implemented header support for the SRAT and SLIT ACPI tables.
6056
6057Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
6058at runtime.
6059
6060Code and Data Size: Current and previous core subsystem library sizes are 
6061shown below. These are the code and data sizes for the acpica.lib produced 
6062by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6063any ACPI driver or OSPM code. The debug version of the code includes the 
6064debug output trace mechanism and has a much larger code and data size. Note 
6065that these values will vary depending on the efficiency of the compiler and 
6066the compiler options used during generation.
6067
6068  Previous Release:
6069    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
6070    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
6071  Current Release:
6072    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6073    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
6074
6075
60762) iASL Compiler/Disassembler:
6077
6078Fixed a problem with the internal 64-bit String-to-integer conversion with 
6079strings less than two characters long.
6080
6081Fixed a problem with constant folding where the result of the Index() 
6082operator can not be considered a constant. This means that Index() cannot be 
6083a type3 opcode and this will require an update to the ACPI specification.
6084
6085Disassembler: Implemented support for the TTP, MTP, and TRS resource 
6086descriptor fields. These fields were inadvertently ignored and not output in 
6087the disassembly of the resource descriptor.
6088
6089
6090 ----------------------------------------
609111 February 2005.  Summary of changes for version 20050211:
6092
60931) ACPI CA Core Subsystem:
6094
6095Implemented ACPI 3.0 support for implicit conversion within the Match() 
6096operator. MatchObjects can now be of type integer, buffer, or string instead 
6097of just type integer.  Package elements are implicitly converted to the type 
6098of the MatchObject. This change aligns the behavior of Match() with the 
6099behavior of the other logical operators (LLess(), etc.) It also requires an 
6100errata change to the ACPI specification as this support was intended for 
6101ACPI 3.0, but was inadvertently omitted.
6102
6103Fixed a problem with the internal implicit "to buffer" conversion. Strings 
6104that are converted to buffers will cause buffer truncation if the string is 
6105smaller than the target buffer. Integers that are converted to buffers will 
6106not cause buffer truncation, only zero extension (both as per the ACPI 
6107spec.) The problem was introduced when code was added to truncate the 
6108buffer, but this should not be performed in all cases, only the string case.
6109
6110Fixed a problem with the Buffer and Package operators where the interpreter 
6111would get confused if two such operators were used as operands to an ASL 
6112operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
6113stack was not being popped after the execution of these operators, resulting 
6114in an AE_NO_RETURN_VALUE exception.
6115
6116Fixed a problem with constructs of the form Store(Index(...),...). The 
6117reference object returned from Index was inadvertently resolved to an actual 
6118value. This problem was introduced in version 20050114 when the behavior of 
6119Store() was modified to restrict the object types that can be used as the 
6120source operand (to match the ACPI specification.)
6121
6122Reduced excessive stack use within the AcpiGetObjectInfo procedure.
6123
6124Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
6125
6126Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
6127
6128Code and Data Size: Current and previous core subsystem library sizes are 
6129shown below. These are the code and data sizes for the acpica.lib produced 
6130by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6131any ACPI driver or OSPM code. The debug version of the code includes the 
6132debug output trace mechanism and has a much larger code and data size. Note 
6133that these values will vary depending on the efficiency of the compiler and 
6134the compiler options used during generation.
6135
6136  Previous Release:
6137    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
6138    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
6139  Current Release:
6140    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
6141    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
6142
6143
61442) iASL Compiler/Disassembler:
6145
6146Fixed a code generation problem in the constant folding optimization code 
6147where incorrect code was generated if a constant was reduced to a buffer 
6148object (i.e., a reduced type 5 opcode.)
6149
6150Fixed a typechecking problem for the ToBuffer operator. Caused by an 
6151incorrect return type in the internal opcode information table.
6152
6153----------------------------------------
615425 January 2005.  Summary of changes for version 20050125:
6155
61561) ACPI CA Core Subsystem:
6157
6158Fixed a recently introduced problem with the Global Lock where the 
6159underlying semaphore was not created.  This problem was introduced in 
6160version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
6161Acquire() operation on _GL.
6162
6163The local object cache is now optional, and is disabled by default. Both 
6164AcpiExec and the iASL compiler enable the cache because they run in user 
6165mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
6166to enable the local cache.
6167
6168Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
6169optional "implicit return" support where an error was returned if no return 
6170object was expected, but one was implicitly returned. AE_OK is now returned 
6171in this case and the implicitly returned object is deleted. 
6172AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
6173methods such as _STA and _INI where the return type is known up front.
6174
6175Fixed a few issues with the internal convert-to-integer code. It now returns 
6176an error if an attempt is made to convert a null string, a string of only 
6177blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
6178and explicit conversion via the ToInteger() operator.
6179
6180The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
6181not needed for normal operation and should increase the performance of the 
6182entire subsystem. The code remains in case it is needed for debug purposes 
6183again.
6184
6185The AcpiExec source and makefile are included in the Unix/Linux package for 
6186the first time.
6187
6188Code and Data Size: Current and previous core subsystem library sizes are 
6189shown below. These are the code and data sizes for the acpica.lib produced 
6190by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6191any ACPI driver or OSPM code. The debug version of the code includes the 
6192debug output trace mechanism and has a much larger code and data size. Note 
6193that these values will vary depending on the efficiency of the compiler and 
6194the compiler options used during generation.
6195
6196  Previous Release:
6197    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
6198    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
6199  Current Release:
6200    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
6201    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
6202
62032) iASL Compiler/Disassembler:
6204
6205Switch/Case support: A warning is now issued if the type of the Switch value 
6206cannot be determined at compile time. For example, Switch(Arg0) will 
6207generate the warning, and the type is assumed to be an integer. As per the 
6208ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
6209warning.
6210
6211Switch/Case support: Implemented support for buffer and string objects as 
6212the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
6213buffers and strings.
6214
6215Switch/Case support: The emitted code for the LEqual() comparisons now uses 
6216the switch value as the first operand, not the second. The case value is now 
6217the second operand, and this allows the case value to be implicitly 
6218converted to the type of the switch value, not the other way around.
6219
6220Switch/Case support: Temporary variables are now emitted immediately within 
6221the control method, not at the global level. This means that there are now 
622236 temps available per-method, not 36 temps per-module as was the case with 
6223the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
6224
6225----------------------------------------
622614 January 2005.  Summary of changes for version 20050114:
6227
6228Added 2005 copyright to all module headers.  This affects every module in 
6229the core subsystem, iASL compiler, and the utilities.
6230
62311) ACPI CA Core Subsystem:
6232
6233Fixed an issue with the String-to-Buffer conversion code where the string 
6234null terminator was not included in the buffer after conversion, but there 
6235is existing ASL that assumes the string null terminator is included. This is 
6236the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
6237introduced in the previous version when the code was updated to correctly 
6238set the converted buffer size as per the ACPI specification. The ACPI spec 
6239is ambiguous and will be updated to specify that the null terminator must be 
6240included in the converted buffer. This also affects the ToBuffer() ASL 
6241operator.
6242
6243Fixed a problem with the Mid() ASL/AML operator where it did not work 
6244correctly on Buffer objects. Newly created sub-buffers were not being marked 
6245as initialized.
6246
6247
6248Fixed a problem in AcpiTbFindTable where incorrect string compares were 
6249performed on the OemId and OemTableId table header fields.  These fields are 
6250not null terminated, so strncmp is now used instead of strcmp.
6251
6252Implemented a restriction on the Store() ASL/AML operator to align the 
6253behavior with the ACPI specification.  Previously, any object could be used 
6254as the source operand.  Now, the only objects that may be used are Integers, 
6255Buffers, Strings, Packages, Object References, and DDB Handles.  If 
6256necessary, the original behavior can be restored by enabling the 
6257EnableInterpreterSlack flag.
6258
6259Enhanced the optional "implicit return" support to allow an implicit return 
6260value from methods that are invoked externally via the AcpiEvaluateObject 
6261interface.  This enables implicit returns from the _STA and _INI methods, 
6262for example.
6263
6264Changed the Revision() ASL/AML operator to return the current version of the 
6265AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
6266the supported ACPI version (This is the function of the _REV method).
6267
6268Updated the _REV predefined method to return the currently supported version 
6269of ACPI, now 3.
6270
6271Implemented batch mode option for the AcpiExec utility (-b).
6272
6273Code and Data Size: Current and previous core subsystem library sizes are 
6274shown below. These are the code and data sizes for the acpica.lib produced 
6275by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6276any ACPI driver or OSPM code. The debug version of the code includes the 
6277debug output trace mechanism and has a much larger code and data size. Note 
6278that these values will vary depending on the efficiency of the compiler and 
6279the compiler options used during generation.
6280
6281  Previous Release:
6282    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6283    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6284  Current Release:
6285    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
6286    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
6287
6288----------------------------------------
628910 December 2004.  Summary of changes for version 20041210:
6290
6291ACPI 3.0 support is nearing completion in both the iASL compiler and the 
6292ACPI CA core subsystem.
6293
62941) ACPI CA Core Subsystem:
6295
6296Fixed a problem in the ToDecimalString operator where the resulting string 
6297length was incorrectly calculated. The length is now calculated exactly, 
6298eliminating incorrect AE_STRING_LIMIT exceptions.
6299
6300Fixed a problem in the ToHexString operator to allow a maximum 200 character 
6301string to be produced.
6302
6303Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
6304routine where the length of the resulting buffer was not truncated to the 
6305new size (if the target buffer already existed).
6306
6307Code and Data Size: Current and previous core subsystem library sizes are 
6308shown below. These are the code and data sizes for the acpica.lib produced 
6309by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6310any ACPI driver or OSPM code. The debug version of the code includes the 
6311debug output trace mechanism and has a much larger code and data size. Note 
6312that these values will vary depending on the efficiency of the compiler and 
6313the compiler options used during generation.
6314
6315  Previous Release:
6316    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6317    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6318  Current Release:
6319    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6320    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6321
6322
63232) iASL Compiler/Disassembler:
6324
6325Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
6326ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
6327Includes support in the disassembler.
6328
6329Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
6330AccessSize.
6331
6332Fixed a problem where the _HE resource name for the Interrupt macro was 
6333referencing bit 0 instead of bit 1.
6334
6335Implemented check for maximum 255 interrupts in the Interrupt macro.
6336
6337Fixed a problem with the predefined resource descriptor names where 
6338incorrect AML code was generated if the offset within the resource buffer 
6339was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
6340but did not update the surrounding package lengths.
6341
6342Changes to the Dma macro:  All channels within the channel list must be in 
6343the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
6344optional (default is BusMaster).
6345
6346Implemented check for maximum 7 data bytes for the VendorShort macro.
6347
6348The ReadWrite parameter is now optional for the Memory32 and similar macros.
6349
6350----------------------------------------
635103 December 2004.  Summary of changes for version 20041203:
6352
63531) ACPI CA Core Subsystem:
6354
6355The low-level field insertion/extraction code (exfldio) has been completely 
6356rewritten to eliminate unnecessary complexity, bugs, and boundary 
6357conditions.
6358
6359Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
6360operators where the input operand could be inadvertently deleted if no 
6361conversion was necessary (e.g., if the input to ToInteger was an Integer 
6362object.)
6363
6364Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
6365exception code was returned if the resulting string would be > 200 chars.  
6366AE_STRING_LIMIT is now returned.
6367
6368Fixed a problem with the Concatenate operator where AE_OK was always 
6369returned, even if the operation failed.
6370
6371Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
6372semaphores to be allocated.
6373
6374Code and Data Size: Current and previous core subsystem library sizes are 
6375shown below. These are the code and data sizes for the acpica.lib produced 
6376by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6377any ACPI driver or OSPM code. The debug version of the code includes the 
6378debug output trace mechanism and has a much larger code and data size. Note 
6379that these values will vary depending on the efficiency of the compiler and 
6380the compiler options used during generation.
6381
6382  Previous Release:
6383    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6384    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6385  Current Release:
6386    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6387    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6388
6389
63902) iASL Compiler/Disassembler:
6391
6392Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
6393recently introduced in 20041119.
6394
6395Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
6396byte was inadvertently set to zero.
6397
6398----------------------------------------
639919 November 2004.  Summary of changes for version 20041119:
6400
64011) ACPI CA Core Subsystem:
6402
6403Fixed a problem in the internal ConvertToInteger routine where new integers 
6404were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
6405buffers and strings to integers.
6406
6407Implemented support to store a value to an Index() on a String object. This 
6408is an ACPI 2.0 feature that had not yet been implemented.
6409
6410Implemented new behavior for storing objects to individual package elements 
6411(via the Index() operator). The previous behavior was to invoke the implicit 
6412conversion rules if an object was already present at the index.  The new 
6413behavior is to simply delete any existing object and directly store the new 
6414object. Although the ACPI specification seems unclear on this subject, other 
6415ACPI implementations behave in this manner.  (This is the root of the 
6416AE_BAD_HEX_CONSTANT issue.)
6417
6418Modified the RSDP memory scan mechanism to support the extended checksum for 
6419ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
6420RSDP signature is found with a valid checksum.
6421
6422Code and Data Size: Current and previous core subsystem library sizes are 
6423shown below. These are the code and data sizes for the acpica.lib produced 
6424by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6425any ACPI driver or OSPM code. The debug version of the code includes the 
6426debug output trace mechanism and has a much larger code and data size. Note 
6427that these values will vary depending on the efficiency of the compiler and 
6428the compiler options used during generation.
6429
6430  Previous Release:
6431    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6432    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6433  Current Release:
6434    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6435    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6436
6437
64382) iASL Compiler/Disassembler:
6439
6440Fixed a missing semicolon in the aslcompiler.y file.
6441
6442----------------------------------------
644305 November 2004.  Summary of changes for version 20041105:
6444
64451) ACPI CA Core Subsystem:
6446
6447Implemented support for FADT revision 2.  This was an interim table (between 
6448ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
6449
6450Implemented optional support to allow uninitialized LocalX and ArgX 
6451variables in a control method.  The variables are initialized to an Integer 
6452object with a value of zero.  This support is enabled by setting the 
6453AcpiGbl_EnableInterpreterSlack flag to TRUE.
6454
6455Implemented support for Integer objects for the SizeOf operator.  Either 4 
6456or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
6457depending on the parent table revision).
6458
6459Fixed a problem in the implementation of the SizeOf and ObjectType operators 
6460where the operand was resolved to a value too early, causing incorrect 
6461return values for some objects.
6462
6463Fixed some possible memory leaks during exceptional conditions.
6464
6465Code and Data Size: Current and previous core subsystem library sizes are 
6466shown below. These are the code and data sizes for the acpica.lib produced 
6467by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6468any ACPI driver or OSPM code. The debug version of the code includes the 
6469debug output trace mechanism and has a much larger code and data size. Note 
6470that these values will vary depending on the efficiency of the compiler and 
6471the compiler options used during generation.
6472
6473  Previous Release:
6474    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6475    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6476  Current Release:
6477    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6478    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6479
6480
64812) iASL Compiler/Disassembler:
6482
6483Implemented support for all ACPI 3.0 reserved names and methods.
6484
6485Implemented all ACPI 3.0 grammar elements in the front-end, including 
6486support for semicolons.
6487
6488Implemented the ACPI 3.0 Function() and ToUUID() macros
6489
6490Fixed a problem in the disassembler where a Scope() operator would not be 
6491emitted properly if the target of the scope was in another table.
6492
6493----------------------------------------
649415 October 2004.  Summary of changes for version 20041015:
6495
6496Note:  ACPI CA is currently undergoing an in-depth and complete formal 
6497evaluation to test/verify the following areas. Other suggestions are 
6498welcome. This will result in an increase in the frequency of releases and 
6499the number of bug fixes in the next few months.
6500  - Functional tests for all ASL/AML operators
6501  - All implicit/explicit type conversions
6502  - Bit fields and operation regions
6503  - 64-bit math support and 32-bit-only "truncated" math support
6504  - Exceptional conditions, both compiler and interpreter
6505  - Dynamic object deletion and memory leaks
6506  - ACPI 3.0 support when implemented
6507  - External interfaces to the ACPI subsystem
6508
6509
65101) ACPI CA Core Subsystem:
6511
6512Fixed two alignment issues on 64-bit platforms - within debug statements in 
6513AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
6514field within the non-aligned ACPI generic address structure.
6515
6516Fixed a problem in the Increment and Decrement operators where incorrect 
6517operand resolution could result in the inadvertent modification of the 
6518original integer when the integer is passed into another method as an 
6519argument and the arg is then incremented/decremented.
6520
6521Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
6522BCD number were truncated during conversion.
6523
6524Fixed a problem in the ToDecimal operator where the length of the resulting 
6525string could be set incorrectly too long if the input operand was a Buffer 
6526object.
6527
6528Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
6529within a buffer would prematurely terminate a compare between buffer 
6530objects.
6531
6532Added a check for string overflow (>200 characters as per the ACPI 
6533specification) during the Concatenate operator with two string operands.
6534
6535Code and Data Size: Current and previous core subsystem library sizes are 
6536shown below. These are the code and data sizes for the acpica.lib produced 
6537by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6538any ACPI driver or OSPM code. The debug version of the code includes the 
6539debug output trace mechanism and has a much larger code and data size. Note 
6540that these values will vary depending on the efficiency of the compiler and 
6541the compiler options used during generation.
6542
6543  Previous Release:
6544    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6545    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6546  Current Release:
6547    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6548    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6549
6550
6551
65522) iASL Compiler/Disassembler:
6553
6554Allow the use of the ObjectType operator on uninitialized Locals and Args 
6555(returns 0 as per the ACPI specification).
6556
6557Fixed a problem where the compiler would fault if there was a syntax error 
6558in the FieldName of all of the various CreateXXXField operators.
6559
6560Disallow the use of lower case letters within the EISAID macro, as per the 
6561ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
6562U is an uppercase letter and N is a hex digit.
6563
6564
6565----------------------------------------
656606 October 2004.  Summary of changes for version 20041006:
6567
65681) ACPI CA Core Subsystem:
6569
6570Implemented support for the ACPI 3.0 Timer operator. This ASL function 
6571implements a 64-bit timer with 100 nanosecond granularity.
6572
6573Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
6574implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
6575the timer with the best clock available. Also, it keeps the core subsystem 
6576out of the clock handling business, since the host OS (usually) performs 
6577this function.
6578
6579Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
6580functions use a 64-bit address which is part of the packed ACPI Generic 
6581Address Structure. Since the structure is non-aligned, the alignment macros 
6582are now used to extract the address to a local variable before use.
6583
6584Fixed a problem where the ToInteger operator assumed all input strings were 
6585hexadecimal. The operator now handles both decimal strings and hex strings 
6586(prefixed with "0x").
6587
6588Fixed a problem where the string length in the string object created as a 
6589result of the internal ConvertToString procedure could be incorrect. This 
6590potentially affected all implicit conversions and also the ToDecimalString 
6591and ToHexString operators.
6592
6593Fixed two problems in the ToString operator. If the length parameter was 
6594zero, an incorrect string object was created and the value of the input 
6595length parameter was inadvertently changed from zero to Ones.
6596
6597Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
6598resource macro was ignored.
6599
6600Simplified the interfaces to the internal division functions, reducing code 
6601size and complexity.
6602
6603Code and Data Size: Current and previous core subsystem library sizes are 
6604shown below. These are the code and data sizes for the acpica.lib produced 
6605by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6606any ACPI driver or OSPM code. The debug version of the code includes the 
6607debug output trace mechanism and has a much larger code and data size. Note 
6608that these values will vary depending on the efficiency of the compiler and 
6609the compiler options used during generation.
6610
6611  Previous Release:
6612    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6613    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6614  Current Release:
6615    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6616    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6617
6618
66192) iASL Compiler/Disassembler:
6620
6621Implemented support for the ACPI 3.0 Timer operator.
6622
6623Fixed a problem where the Default() operator was inadvertently ignored in a 
6624Switch/Case block.  This was a problem in the translation of the Switch 
6625statement to If...Else pairs.
6626
6627Added support to allow a standalone Return operator, with no parentheses (or 
6628operands).
6629
6630Fixed a problem with code generation for the ElseIf operator where the 
6631translated Else...If parse tree was improperly constructed leading to the 
6632loss of some code.
6633
6634----------------------------------------
663522 September 2004.  Summary of changes for version 20040922:
6636
66371) ACPI CA Core Subsystem:
6638
6639Fixed a problem with the implementation of the LNot() operator where "Ones" 
6640was not returned for the TRUE case. Changed the code to return Ones instead 
6641of (!Arg) which was usually 1. This change affects iASL constant folding for 
6642this operator also.
6643
6644Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
6645initialized properly -- Now zero the entire buffer in this case where the 
6646buffer already exists.
6647
6648Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
6649Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
6650related code considerably. This will require changes/updates to all OS 
6651interface layers (OSLs.)
6652
6653Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
6654a system exception handler to be installed. This handler is invoked upon any 
6655run-time exception that occurs during control method execution.
6656
6657Added support for the DSDT in AcpiTbFindTable. This allows the 
6658DataTableRegion() operator to access the local copy of the DSDT.
6659
6660Code and Data Size: Current and previous core subsystem library sizes are 
6661shown below. These are the code and data sizes for the acpica.lib produced 
6662by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6663any ACPI driver or OSPM code. The debug version of the code includes the 
6664debug output trace mechanism and has a much larger code and data size. Note 
6665that these values will vary depending on the efficiency of the compiler and 
6666the compiler options used during generation.
6667
6668  Previous Release:
6669    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6670    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6671  Current Release:
6672    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6673    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6674
6675
66762) iASL Compiler/Disassembler:
6677
6678Fixed a problem with constant folding and the LNot operator. LNot was 
6679returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
6680could result in the generation of an incorrect folded/reduced constant.
6681
6682End-Of-File is now allowed within a "//"-style comment.  A parse error no 
6683longer occurs if such a comment is at the very end of the input ASL source 
6684file.
6685
6686Implemented the "-r" option to override the Revision in the table header. 
6687The initial use of this option will be to simplify the evaluation of the AML 
6688interpreter by allowing a single ASL source module to be compiled for either 
668932-bit or 64-bit integers.
6690
6691
6692----------------------------------------
669327 August 2004.  Summary of changes for version 20040827:
6694
66951) ACPI CA Core Subsystem:
6696
6697- Implemented support for implicit object conversion in the non-numeric 
6698logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
6699LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
6700the second operand is implicitly converted on the fly to match the type of 
6701the first operand.  For example:
6702
6703    LEqual (Source1, Source2)
6704
6705Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
6706The data type of Source1 dictates the required type of Source2. Source2 is 
6707implicitly converted if necessary to match the type of Source1.
6708
6709- Updated and corrected the behavior of the string conversion support.  The 
6710rules concerning conversion of buffers to strings (according to the ACPI 
6711specification) are as follows:
6712
6713ToDecimalString - explicit byte-wise conversion of buffer to string of 
6714decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
6715conversion of buffer to string of hex values (0-FF) separated by commas. 
6716ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
6717copy with no transform except NULL terminated. Any other implicit buffer-to-
6718string conversion - byte-wise conversion of buffer to string of hex values 
6719(0-FF) separated by spaces.
6720
6721- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
6722
6723- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
6724one byte too short in the case of a node in the root scope.  This could 
6725cause a fault during debug output.
6726
6727- Code and Data Size: Current and previous core subsystem library sizes are 
6728shown below.  These are the code and data sizes for the acpica.lib produced 
6729by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6730any ACPI driver or OSPM code.  The debug version of the code includes the 
6731debug output trace mechanism and has a much larger code and data size.  Note 
6732that these values will vary depending on the efficiency of the compiler and 
6733the compiler options used during generation.
6734
6735  Previous Release:
6736    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6737    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6738  Current Release:
6739    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6740    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6741
6742
67432) iASL Compiler/Disassembler:
6744
6745- Fixed a Linux generation error.
6746
6747
6748----------------------------------------
674916 August 2004.  Summary of changes for version 20040816:
6750
67511) ACPI CA Core Subsystem:
6752
6753Designed and implemented support within the AML interpreter for the so-
6754called "implicit return".  This support returns the result of the last ASL 
6755operation within a control method, in the absence of an explicit Return() 
6756operator.  A few machines depend on this behavior, even though it is not 
6757explicitly supported by the ASL language.  It is optional support that can 
6758be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
6759
6760Removed support for the PCI_Config address space from the internal low level 
6761hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
6762support was not used internally, and would not work correctly anyway because 
6763the PCI bus number and segment number were not supported.  There are 
6764separate interfaces for PCI configuration space access because of the unique 
6765interface.
6766
6767Code and Data Size: Current and previous core subsystem library sizes are 
6768shown below.  These are the code and data sizes for the acpica.lib produced 
6769by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6770any ACPI driver or OSPM code.  The debug version of the code includes the 
6771debug output trace mechanism and has a much larger code and data size.  Note 
6772that these values will vary depending on the efficiency of the compiler and 
6773the compiler options used during generation.
6774
6775  Previous Release:
6776    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6777    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6778  Current Release:
6779    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6780    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6781
6782
67832) iASL Compiler/Disassembler:
6784
6785Fixed a problem where constants in ASL expressions at the root level (not 
6786within a control method) could be inadvertently truncated during code 
6787generation.  This problem was introduced in the 20040715 release.
6788
6789
6790----------------------------------------
679115 July 2004.  Summary of changes for version 20040715:
6792
67931) ACPI CA Core Subsystem:
6794
6795Restructured the internal HW GPE interfaces to pass/track the current state 
6796of interrupts (enabled/disabled) in order to avoid possible deadlock and 
6797increase flexibility of the interfaces.
6798
6799Implemented a "lexicographical compare" for String and Buffer objects within 
6800the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
6801as per further clarification to the ACPI specification.  Behavior is similar 
6802to C library "strcmp".
6803
6804Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
6805external function.  In the 32-bit non-debug case, the stack use has been 
6806reduced from 168 bytes to 32 bytes.
6807
6808Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
6809whose purpose is to allow the AML interpreter to forgive certain bad AML 
6810constructs.  Default setting is FALSE.
6811
6812Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
6813support code.  If enabled, it allows field access to go beyond the end of a 
6814region definition if the field is within the region length rounded up to the 
6815next access width boundary (a common coding error.)
6816
6817Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
6818ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
6819symbols are lowercased by the latest version of the AcpiSrc tool.
6820
6821The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
6822rename "Register" to simply "Reg" to prevent certain compilers from 
6823complaining.
6824
6825Code and Data Size: Current and previous core subsystem library sizes are 
6826shown below.  These are the code and data sizes for the acpica.lib produced 
6827by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6828any ACPI driver or OSPM code.  The debug version of the code includes the 
6829debug output trace mechanism and has a much larger code and data size.  Note 
6830that these values will vary depending on the efficiency of the compiler and 
6831the compiler options used during generation.
6832
6833  Previous Release:
6834    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6835    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6836  Current Release:
6837    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6838    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6839
6840
68412) iASL Compiler/Disassembler:
6842
6843Implemented full support for Package objects within the Case() operator.  
6844Note: The Break() operator is currently not supported within Case blocks 
6845(TermLists) as there is some question about backward compatibility with ACPI 
68461.0 interpreters.
6847
6848
6849Fixed a problem where complex terms were not supported properly within the 
6850Switch() operator.
6851
6852Eliminated extraneous warning for compiler-emitted reserved names of the 
6853form "_T_x".  (Used in Switch/Case operators.)
6854
6855Eliminated optimization messages for "_T_x" objects and small constants 
6856within the DefinitionBlock operator.
6857
6858
6859----------------------------------------
686015 June 2004.  Summary of changes for version 20040615:
6861
68621) ACPI CA Core Subsystem:
6863
6864Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6865following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6866LLessEqual.
6867
6868All directory names in the entire source package are lower case, as they 
6869were in earlier releases.
6870
6871Implemented "Disassemble" command in the AML debugger that will disassemble 
6872a single control method.
6873
6874Code and Data Size: Current and previous core subsystem library sizes are 
6875shown below.  These are the code and data sizes for the acpica.lib produced 
6876by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6877any ACPI driver or OSPM code.  The debug version of the code includes the 
6878debug output trace mechanism and has a much larger code and data size.  Note 
6879that these values will vary depending on the efficiency of the compiler and 
6880the compiler options used during generation.
6881
6882  Previous Release:
6883    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6884    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6885
6886  Current Release:
6887    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6888    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6889
6890
68912) iASL Compiler/Disassembler:
6892
6893Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
6894following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6895LLessEqual.
6896
6897All directory names in the entire source package are lower case, as they 
6898were in earlier releases.
6899
6900Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
6901not found.
6902
6903Fixed an issue with the Windows version of the compiler where later versions 
6904of Windows place the FADT in the registry under the name "FADT" and not 
6905"FACP" as earlier versions did.  This applies when using the -g or -
6906d<nofilename> options.  The compiler now looks for both strings as 
6907necessary.
6908
6909Fixed a problem with compiler namepath optimization where a namepath within 
6910the Scope() operator could not be optimized if the namepath was a subpath of 
6911the current scope path.
6912
6913----------------------------------------
691427 May 2004.  Summary of changes for version 20040527:
6915
69161) ACPI CA Core Subsystem:
6917
6918Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
6919support in the RSDP scan code.  The original code improperly scanned for the 
6920EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
6921is to first obtain the EBDA pointer from within the BIOS data area, then 
6922scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
6923any machines that place the RSDP in the EBDA, however.
6924
6925Integrated a fix for a possible fault during evaluation of BufferField 
6926arguments.  Obsolete code that was causing the problem was removed.
6927
6928Found and fixed a problem in the Field Support Code where data could be 
6929corrupted on a bit field read that starts on an aligned boundary but does 
6930not end on an aligned boundary.  Merged the read/write "datum length" 
6931calculation code into a common procedure.
6932
6933Rolled in a couple of changes to the FreeBSD-specific header.
6934
6935
6936Code and Data Size: Current and previous core subsystem library sizes are 
6937shown below.  These are the code and data sizes for the acpica.lib produced 
6938by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6939any ACPI driver or OSPM code.  The debug version of the code includes the 
6940debug output trace mechanism and has a much larger code and data size.  Note 
6941that these values will vary depending on the efficiency of the compiler and 
6942the compiler options used during generation.
6943
6944  Previous Release:
6945    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6946    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6947  Current Release:
6948    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6949    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6950
6951
69522) iASL Compiler/Disassembler:
6953
6954Fixed a generation warning produced by some overly-verbose compilers for a 
695564-bit constant.
6956
6957----------------------------------------
695814 May 2004.  Summary of changes for version 20040514:
6959
69601) ACPI CA Core Subsystem:
6961
6962Fixed a problem where hardware GPE enable bits sometimes not set properly 
6963during and after GPE method execution.  Result of 04/27 changes.
6964
6965Removed extra "clear all GPEs" when sleeping/waking.
6966
6967Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
6968AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
6969the new AcpiEv* calls as appropriate.
6970
6971ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
6972now "Microsoft Windows NT" for maximum compatibility.  However this can be 
6973changed by modifying the acconfig.h file.
6974
6975Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
6976traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
6977
6978Run _INI methods on ThermalZone objects.  This is against the ACPI 
6979specification, but there is apparently ASL code in the field that has these 
6980_INI methods, and apparently "other" AML interpreters execute them.
6981
6982Performed a full 16/32/64 bit lint that resulted in some small changes.
6983
6984Added a sleep simulation command to the AML debugger to test sleep code. 
6985
6986Code and Data Size: Current and previous core subsystem library sizes are 
6987shown below.  These are the code and data sizes for the acpica.lib produced 
6988by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6989any ACPI driver or OSPM code.  The debug version of the code includes the 
6990debug output trace mechanism and has a much larger code and data size.  Note 
6991that these values will vary depending on the efficiency of the compiler and 
6992the compiler options used during generation.
6993
6994  Previous Release:
6995    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6996    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6997  Current Release:
6998    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6999    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
7000
7001----------------------------------------
700227 April 2004.  Summary of changes for version 20040427:
7003
70041) ACPI CA Core Subsystem:
7005
7006Completed a major overhaul of the GPE handling within ACPI CA.  There are 
7007now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
7008The only GPEs allowed to be combination wake/run are for button-style 
7009devices such as a control-method power button, control-method sleep button, 
7010or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
7011referenced by any _PRW methods are marked for "runtime" and hardware 
7012enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
7013(and disabled at runtime).  However, at sleep time, only those GPEs that 
7014have been specifically enabled for wake via the AcpiEnableGpe interface will 
7015actually be hardware enabled.
7016
7017A new external interface has been added, AcpiSetGpeType(), that is meant to 
7018be used by device drivers to force a GPE to a particular type.  It will be 
7019especially useful for the drivers for the button devices mentioned above.
7020
7021Completed restructuring of the ACPI CA initialization sequence so that 
7022default operation region handlers are installed before GPEs are initialized 
7023and the _PRW methods are executed.  This will prevent errors when the _PRW 
7024methods attempt to access system memory or I/O space.
7025
7026GPE enable/disable no longer reads the GPE enable register.  We now keep the 
7027enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
7028thus no longer depend on the hardware to maintain these bits.
7029
7030Always clear the wake status and fixed/GPE status bits before sleep, even 
7031for state S5.
7032
7033Improved the AML debugger output for displaying the GPE blocks and their 
7034current status.
7035
7036Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
7037x = 0,1,2,3,4.
7038
7039Fixed a problem where the physical address was incorrectly calculated when 
7040the Load() operator was used to directly load from an Operation Region (vs. 
7041loading from a Field object.)  Also added check for minimum table length for 
7042this case.
7043
7044Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
7045mutex release.
7046
7047Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
7048consistency with the other fields returned.
7049
7050Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
7051structure for each GPE in the system, so the size of this structure is 
7052important.
7053
7054CPU stack requirement reduction:  Cleaned up the method execution and object 
7055evaluation paths so that now a parameter structure is passed, instead of 
7056copying the various method parameters over and over again.
7057
7058In evregion.c:  Correctly exit and reenter the interpreter region if and 
7059only if dispatching an operation region request to a user-installed handler.  
7060Do not exit/reenter when dispatching to a default handler (e.g., default 
7061system memory or I/O handlers)
7062
7063
7064Notes for updating drivers for the new GPE support.  The following changes 
7065must be made to ACPI-related device drivers that are attached to one or more 
7066GPEs: (This information will be added to the ACPI CA Programmer Reference.)
7067
70681) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
7069explicitly call AcpiEnableGpe.
70702) There is a new interface called AcpiSetGpeType. This should be called 
7071before enabling the GPE.  Also, this interface will automatically disable 
7072the GPE if it is currently enabled.
70733) AcpiEnableGpe no longer supports a GPE type flag.
7074
7075Specific drivers that must be changed:
70761) EC driver:
7077    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
7078AeGpeHandler, NULL);
7079    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
7080    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
7081
70822) Button Drivers (Power, Lid, Sleep):
7083Run _PRW method under parent device
7084If _PRW exists: /* This is a control-method button */
7085    Extract GPE number and possibly GpeDevice
7086    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
7087    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
7088
7089For all other devices that have _PRWs, we automatically set the GPE type to 
7090ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
7091must be done on a selective basis, usually requiring some kind of user app 
7092to allow the user to pick the wake devices.
7093
7094
7095Code and Data Size: Current and previous core subsystem library sizes are 
7096shown below.  These are the code and data sizes for the acpica.lib produced 
7097by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7098any ACPI driver or OSPM code.  The debug version of the code includes the 
7099debug output trace mechanism and has a much larger code and data size.  Note 
7100that these values will vary depending on the efficiency of the compiler and 
7101the compiler options used during generation.
7102
7103  Previous Release:
7104    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
7105    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
7106  Current Release:
7107
7108    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7109    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
7110
7111
7112
7113----------------------------------------
711402 April 2004.  Summary of changes for version 20040402:
7115
71161) ACPI CA Core Subsystem:
7117
7118Fixed an interpreter problem where an indirect store through an ArgX 
7119parameter was incorrectly applying the "implicit conversion rules" during 
7120the store.  From the ACPI specification: "If the target is a method local or 
7121argument (LocalX or ArgX), no conversion is performed and the result is 
7122stored directly to the target".  The new behavior is to disable implicit 
7123conversion during ALL stores to an ArgX.
7124
7125Changed the behavior of the _PRW method scan to ignore any and all errors 
7126returned by a given _PRW.  This prevents the scan from aborting from the 
7127failure of any single _PRW.
7128
7129Moved the runtime configuration parameters from the global init procedure to 
7130static variables in acglobal.h.  This will allow the host to override the 
7131default values easily.
7132
7133Code and Data Size: Current and previous core subsystem library sizes are 
7134shown below.  These are the code and data sizes for the acpica.lib produced 
7135by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7136any ACPI driver or OSPM code.  The debug version of the code includes the 
7137debug output trace mechanism and has a much larger code and data size.  Note 
7138that these values will vary depending on the efficiency of the compiler and 
7139the compiler options used during generation.
7140
7141  Previous Release:
7142    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
7143    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
7144  Current Release:
7145    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
7146    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
7147
7148
71492) iASL Compiler/Disassembler:
7150
7151iASL now fully disassembles SSDTs.  However, External() statements are not 
7152generated automatically for unresolved symbols at this time.  This is a 
7153planned feature for future implementation.
7154
7155Fixed a scoping problem in the disassembler that occurs when the type of the 
7156target of a Scope() operator is overridden.  This problem caused an 
7157incorrectly nested internal namespace to be constructed.
7158
7159Any warnings or errors that are emitted during disassembly are now commented 
7160out automatically so that the resulting file can be recompiled without any 
7161hand editing.
7162
7163----------------------------------------
716426 March 2004.  Summary of changes for version 20040326:
7165
71661) ACPI CA Core Subsystem:
7167
7168Implemented support for "wake" GPEs via interaction between GPEs and the 
7169_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
7170identified as a WAKE GPE and by default will no longer be enabled at 
7171runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
7172_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
7173believe this has been the cause of thousands of "spurious" GPEs on some 
7174systems.
7175
7176This new GPE behavior is can be reverted to the original behavior (enable 
7177ALL GPEs at runtime) via a runtime flag.
7178
7179Fixed a problem where aliased control methods could not access objects 
7180properly.  The proper scope within the namespace was not initialized 
7181(transferred to the target of the aliased method) before executing the 
7182target method.
7183
7184Fixed a potential race condition on internal object deletion on the return 
7185object in AcpiEvaluateObject. 
7186
7187Integrated a fix for resource descriptors where both _MEM and _MTP were 
7188being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
7189wide, 0x0F instead of 0x03.)
7190
7191Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
7192fault in some cases.
7193
7194Updated Notify() values for debug statements in evmisc.c
7195
7196Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
7197
7198Code and Data Size: Current and previous core subsystem library sizes are 
7199shown below.  These are the code and data sizes for the acpica.lib produced 
7200by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7201any ACPI driver or OSPM code.  The debug version of the code includes the 
7202debug output trace mechanism and has a much larger code and data size.  Note 
7203that these values will vary depending on the efficiency of the compiler and 
7204the compiler options used during generation.
7205
7206  Previous Release:
7207
7208    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
7209    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
7210  Current Release:
7211    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
7212    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
7213
7214----------------------------------------
721511 March 2004.  Summary of changes for version 20040311:
7216
72171) ACPI CA Core Subsystem:
7218
7219Fixed a problem where errors occurring during the parse phase of control 
7220method execution did not abort cleanly.  For example, objects created and 
7221installed in the namespace were not deleted.  This caused all subsequent 
7222invocations of the method to return the AE_ALREADY_EXISTS exception.
7223
7224Implemented a mechanism to force a control method to "Serialized" execution 
7225if the method attempts to create namespace objects. (The root of the 
7226AE_ALREADY_EXISTS problem.)
7227
7228Implemented support for the predefined _OSI "internal" control method.  
7229Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
7230"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
7231This feature will allow "other" operating systems to execute the fully 
7232tested, "Windows" code path through the ASL code
7233
7234Global Lock Support:  Now allows multiple acquires and releases with any 
7235internal thread.  Removed concept of "owning thread" for this special mutex.
7236
7237Fixed two functions that were inappropriately declaring large objects on the 
7238CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
7239method execution considerably.
7240
7241Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
7242S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
7243
7244Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
7245defined on the machine.
7246
7247Implemented two runtime options:  One to force all control method execution 
7248to "Serialized" to mimic Windows behavior, another to disable _OSI support 
7249if it causes problems on a given machine.
7250
7251Code and Data Size: Current and previous core subsystem library sizes are 
7252shown below.  These are the code and data sizes for the acpica.lib produced 
7253by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7254any ACPI driver or OSPM code.  The debug version of the code includes the 
7255debug output trace mechanism and has a much larger code and data size.  Note 
7256that these values will vary depending on the efficiency of the compiler and 
7257the compiler options used during generation.
7258
7259  Previous Release:
7260    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7261    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7262  Current Release:
7263    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
7264    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
7265
72662) iASL Compiler/Disassembler:
7267
7268Fixed an array size problem for FreeBSD that would cause the compiler to 
7269fault.
7270
7271----------------------------------------
727220 February 2004.  Summary of changes for version 20040220:
7273
7274
72751) ACPI CA Core Subsystem:
7276
7277Implemented execution of _SxD methods for Device objects in the 
7278GetObjectInfo interface.
7279
7280Fixed calls to _SST method to pass the correct arguments.
7281
7282Added a call to _SST on wake to restore to "working" state.
7283
7284Check for End-Of-Buffer failure case in the WalkResources interface.
7285
7286Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
7287structures to the beginning of the file.
7288
7289After wake, clear GPE status register(s) before enabling GPEs.
7290
7291After wake, clear/enable power button.  (Perhaps we should clear/enable all 
7292fixed events upon wake.)
7293
7294Fixed a couple of possible memory leaks in the Namespace manager.
7295
7296Integrated latest acnetbsd.h file.
7297
7298----------------------------------------
729911 February 2004.  Summary of changes for version 20040211:
7300
7301
73021) ACPI CA Core Subsystem:
7303
7304Completed investigation and implementation of the call-by-reference 
7305mechanism for control method arguments.
7306
7307Fixed a problem where a store of an object into an indexed package could 
7308fail if the store occurs within a different method than the method that 
7309created the package.
7310
7311Fixed a problem where the ToDecimal operator could return incorrect results.
7312
7313Fixed a problem where the CopyObject operator could fail on some of the more 
7314obscure objects (e.g., Reference objects.)
7315
7316Improved the output of the Debug object to display buffer, package, and 
7317index objects.
7318
7319Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
7320the expected result.
7321
7322Added permanent ACPI_REPORT_ERROR macros for all instances of the 
7323ACPI_AML_INTERNAL exception.
7324
7325Integrated latest version of acfreebsd.h
7326
7327----------------------------------------
732816 January 2004.  Summary of changes for version 20040116:
7329
7330The purpose of this release is primarily to update the copyright years in 
7331each module, thus causing a huge number of diffs.  There are a few small 
7332functional changes, however.
7333
73341) ACPI CA Core Subsystem:
7335
7336Improved error messages when there is a problem finding one or more of the 
7337required base ACPI tables
7338
7339Reintroduced the definition of APIC_HEADER in actbl.h
7340
7341Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
7342
7343Removed extraneous reference to NewObj in dsmthdat.c
7344
73452) iASL compiler
7346
7347Fixed a problem introduced in December that disabled the correct disassembly 
7348of Resource Templates
7349
7350
7351----------------------------------------
735203 December 2003.  Summary of changes for version 20031203:
7353
73541) ACPI CA Core Subsystem:
7355
7356Changed the initialization of Operation Regions during subsystem
7357init to perform two entire walks of the ACPI namespace; The first
7358to initialize the regions themselves, the second to execute the
7359_REG methods.  This fixed some interdependencies across _REG
7360methods found on some machines.
7361
7362Fixed a problem where a Store(Local0, Local1) could simply update
7363the object reference count, and not create a new copy of the
7364object if the Local1 is uninitialized.
7365
7366Implemented support for the _SST reserved method during sleep
7367transitions.
7368
7369Implemented support to clear the SLP_TYP and SLP_EN bits when
7370waking up, this is apparently required by some machines.
7371
7372When sleeping, clear the wake status only if SleepState is not S5.
7373
7374Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
7375pointer arithmetic advanced a string pointer too far.
7376
7377Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
7378could be returned if the requested table has not been loaded.
7379
7380Within the support for IRQ resources, restructured the handling of
7381the active and edge/level bits.
7382
7383Fixed a few problems in AcpiPsxExecute() where memory could be
7384leaked under certain error conditions.
7385
7386Improved error messages for the cases where the ACPI mode could
7387not be entered.
7388
7389Code and Data Size: Current and previous core subsystem library
7390sizes are shown below.  These are the code and data sizes for the
7391acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7392these values do not include any ACPI driver or OSPM code.  The
7393debug version of the code includes the debug output trace
7394mechanism and has a much larger code and data size.  Note that
7395these values will vary depending on the efficiency of the compiler
7396and the compiler options used during generation.
7397
7398  Previous Release (20031029):
7399    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7400    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7401  Current Release:
7402    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7403    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7404
74052) iASL Compiler/Disassembler:
7406
7407Implemented a fix for the iASL disassembler where a bad index was
7408generated.  This was most noticeable on 64-bit platforms
7409
7410
7411----------------------------------------
741229 October 2003.  Summary of changes for version 20031029:
7413
74141) ACPI CA Core Subsystem:
7415
7416
7417Fixed a problem where a level-triggered GPE with an associated
7418_Lxx control method was incorrectly cleared twice.
7419
7420Fixed a problem with the Field support code where an access can
7421occur beyond the end-of-region if the field is non-aligned but
7422extends to the very end of the parent region (resulted in an
7423AE_AML_REGION_LIMIT exception.)
7424
7425Fixed a problem with ACPI Fixed Events where an RT Clock handler
7426would not get invoked on an RTC event.  The RTC event bitmasks for
7427the PM1 registers were not being initialized properly.
7428
7429Implemented support for executing _STA and _INI methods for
7430Processor objects.  Although this is currently not part of the
7431ACPI specification, there is existing ASL code that depends on the
7432init-time execution of these methods.
7433
7434Implemented and deployed a GetDescriptorName function to decode
7435the various types of internal descriptors.  Guards against null
7436descriptors during debug output also.
7437
7438Implemented and deployed a GetNodeName function to extract the 4-
7439character namespace node name.  This function simplifies the debug
7440and error output, as well as guarding against null pointers during
7441output.
7442
7443Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
7444simplify the debug and error output of 64-bit integers.  This
7445macro replaces the HIDWORD and LODWORD macros for dumping these
7446integers.
7447
7448Updated the implementation of the Stall() operator to only call
7449AcpiOsStall(), and also return an error if the operand is larger
7450than 255.  This preserves the required behavior of not
7451relinquishing the processor, as would happen if AcpiOsSleep() was
7452called for "long stalls".
7453
7454Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
7455initialized are now treated as NOOPs.
7456
7457Cleaned up a handful of warnings during 64-bit generation.
7458
7459Fixed a reported error where and incorrect GPE number was passed
7460to the GPE dispatch handler.  This value is only used for error
7461output, however.  Used this opportunity to clean up and streamline
7462the GPE dispatch code.
7463
7464Code and Data Size: Current and previous core subsystem library
7465sizes are shown below.  These are the code and data sizes for the
7466acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7467these values do not include any ACPI driver or OSPM code.  The
7468
7469debug version of the code includes the debug output trace
7470mechanism and has a much larger code and data size.  Note that
7471these values will vary depending on the efficiency of the compiler
7472and the compiler options used during generation.
7473
7474  Previous Release (20031002):
7475    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7476    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7477  Current Release:
7478    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7479    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7480
7481
74822) iASL Compiler/Disassembler:
7483
7484Updated the iASL compiler to return an error if the operand to the
7485Stall() operator is larger than 255.
7486
7487
7488----------------------------------------
748902 October 2003.  Summary of changes for version 20031002:
7490
7491
74921) ACPI CA Core Subsystem:
7493
7494Fixed a problem with Index Fields where the index was not
7495incremented for fields that require multiple writes to the
7496index/data registers (Fields that are wider than the data
7497register.)
7498
7499Fixed a problem with all Field objects where a write could go
7500beyond the end-of-field if the field was larger than the access
7501granularity and therefore required multiple writes to complete the
7502request.  An extra write beyond the end of the field could happen
7503inadvertently.
7504
7505Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
7506would incorrectly be returned if the width of the Data Register
7507was larger than the specified field access width.
7508
7509Completed fixes for LoadTable() and Unload() and verified their
7510operation.  Implemented full support for the "DdbHandle" object
7511throughout the ACPI CA subsystem.
7512
7513Implemented full support for the MADT and ECDT tables in the ACPI
7514CA header files.  Even though these tables are not directly
7515consumed by ACPI CA, the header definitions are useful for ACPI
7516device drivers.
7517
7518Integrated resource descriptor fixes posted to the Linux ACPI
7519list.  This included checks for minimum descriptor length, and
7520support for trailing NULL strings within descriptors that have
7521optional string elements.
7522
7523Code and Data Size: Current and previous core subsystem library
7524sizes are shown below.  These are the code and data sizes for the
7525acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7526these values do not include any ACPI driver or OSPM code.  The
7527debug version of the code includes the debug output trace
7528mechanism and has a much larger code and data size.  Note that
7529these values will vary depending on the efficiency of the compiler
7530and the compiler options used during generation.
7531
7532  Previous Release (20030918):
7533    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7534    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7535  Current Release:
7536    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7537    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7538
7539
75402) iASL Compiler:
7541
7542Implemented detection of non-ASCII characters within the input
7543source ASL file.  This catches attempts to compile binary (AML)
7544files early in the compile, with an informative error message.
7545
7546Fixed a problem where the disassembler would fault if the output
7547filename could not be generated or if the output file could not be
7548opened.
7549
7550----------------------------------------
755118 September 2003.  Summary of changes for version 20030918:
7552
7553
75541) ACPI CA Core Subsystem:
7555
7556Found and fixed a longstanding problem with the late execution of
7557the various deferred AML opcodes (such as Operation Regions,
7558Buffer Fields, Buffers, and Packages).  If the name string
7559specified for the name of the new object placed the object in a
7560scope other than the current scope, the initialization/execution
7561of the opcode failed.  The solution to this problem was to
7562implement a mechanism where the late execution of such opcodes
7563does not attempt to lookup/create the name a second time in an
7564incorrect scope.  This fixes the "region size computed
7565incorrectly" problem.
7566
7567Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
7568Global Lock AE_BAD_PARAMETER error.
7569
7570Fixed several 64-bit issues with prototypes, casting and data
7571types.
7572
7573Removed duplicate prototype from acdisasm.h
7574
7575Fixed an issue involving EC Operation Region Detach (Shaohua Li)
7576
7577Code and Data Size: Current and previous core subsystem library
7578sizes are shown below.  These are the code and data sizes for the
7579acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7580these values do not include any ACPI driver or OSPM code.  The
7581debug version of the code includes the debug output trace
7582mechanism and has a much larger code and data size.  Note that
7583these values will vary depending on the efficiency of the compiler
7584and the compiler options used during generation.
7585
7586  Previous Release:
7587
7588    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7589    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7590  Current Release:
7591    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7592    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7593
7594
75952) Linux:
7596
7597Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
7598correct sleep time in seconds.
7599
7600----------------------------------------
760114 July 2003.  Summary of changes for version 20030619:
7602
76031) ACPI CA Core Subsystem:
7604
7605Parse SSDTs in order discovered, as opposed to reverse order
7606(Hrvoje Habjanic)
7607
7608Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
7609Klausner,
7610   Nate Lawson)
7611
7612
76132) Linux:
7614
7615Dynamically allocate SDT list (suggested by Andi Kleen)
7616
7617proc function return value cleanups (Andi Kleen)
7618
7619Correctly handle NMI watchdog during long stalls (Andrew Morton)
7620
7621Make it so acpismp=force works (reported by Andrew Morton)
7622
7623
7624----------------------------------------
762519 June 2003.  Summary of changes for version 20030619:
7626
76271) ACPI CA Core Subsystem:
7628
7629Fix To/FromBCD, eliminating the need for an arch-specific #define.
7630
7631Do not acquire a semaphore in the S5 shutdown path.
7632
7633Fix ex_digits_needed for 0. (Takayoshi Kochi)
7634
7635Fix sleep/stall code reversal. (Andi Kleen)
7636
7637Revert a change having to do with control method calling
7638semantics.
7639
76402) Linux:
7641
7642acpiphp update (Takayoshi Kochi)
7643
7644Export acpi_disabled for sonypi (Stelian Pop)
7645
7646Mention acpismp=force in config help
7647
7648Re-add acpitable.c and acpismp=force. This improves backwards
7649
7650compatibility and also cleans up the code to a significant degree.
7651
7652Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
7653
7654----------------------------------------
765522 May 2003.  Summary of changes for version 20030522:
7656
76571) ACPI CA Core Subsystem:
7658
7659Found and fixed a reported problem where an AE_NOT_FOUND error
7660occurred occasionally during _BST evaluation.  This turned out to
7661be an Owner ID allocation issue where a called method did not get
7662a new ID assigned to it.  Eventually, (after 64k calls), the Owner
7663ID UINT16 would wraparound so that the ID would be the same as the
7664caller's and the called method would delete the caller's
7665namespace.
7666
7667Implemented extended error reporting for control methods that are
7668aborted due to a run-time exception.  Output includes the exact
7669AML instruction that caused the method abort, a dump of the method
7670locals and arguments at the time of the abort, and a trace of all
7671nested control method calls.
7672
7673Modified the interpreter to allow the creation of buffers of zero
7674length from the AML code. Implemented new code to ensure that no
7675attempt is made to actually allocate a memory buffer (of length
7676zero) - instead, a simple buffer object with a NULL buffer pointer
7677and length zero is created.  A warning is no longer issued when
7678the AML attempts to create a zero-length buffer.
7679
7680Implemented a workaround for the "leading asterisk issue" in
7681_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
7682asterisk is automatically removed if present in any HID, UID, or
7683CID strings.  The iASL compiler will still flag this asterisk as
7684an error, however.
7685
7686Implemented full support for _CID methods that return a package of
7687multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
7688now additionally returns a device _CID list if present.  This
7689required a change to the external interface in order to pass an
7690ACPI_BUFFER object as a parameter since the _CID list is of
7691variable length.
7692
7693Fixed a problem with the new AE_SAME_HANDLER exception where
7694handler initialization code did not know about this exception.
7695
7696Code and Data Size: Current and previous core subsystem library
7697sizes are shown below.  These are the code and data sizes for the
7698acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7699these values do not include any ACPI driver or OSPM code.  The
7700debug version of the code includes the debug output trace
7701mechanism and has a much larger code and data size.  Note that
7702these values will vary depending on the efficiency of the compiler
7703and the compiler options used during generation.
7704
7705  Previous Release (20030509):
7706    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7707    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7708  Current Release:
7709    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7710    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7711
7712
77132) Linux:
7714
7715Fixed a bug in which we would reinitialize the ACPI interrupt
7716after it was already working, thus disabling all ACPI and the IRQs
7717for any other device sharing the interrupt. (Thanks to Stian
7718Jordet)
7719
7720Toshiba driver update (John Belmonte)
7721
7722Return only 0 or 1 for our interrupt handler status (Andrew
7723Morton)
7724
7725
77263) iASL Compiler:
7727
7728Fixed a reported problem where multiple (nested) ElseIf()
7729statements were not handled correctly by the compiler, resulting
7730in incorrect warnings and incorrect AML code.  This was a problem
7731in both the ASL parser and the code generator.
7732
7733
77344) Documentation:
7735
7736Added changes to existing interfaces, new exception codes, and new
7737text concerning reference count object management versus garbage
7738collection.
7739
7740----------------------------------------
774109 May 2003.  Summary of changes for version 20030509.
7742
7743
77441) ACPI CA Core Subsystem:
7745
7746Changed the subsystem initialization sequence to hold off
7747installation of address space handlers until the hardware has been
7748initialized and the system has entered ACPI mode.  This is because
7749the installation of space handlers can cause _REG methods to be
7750run.  Previously, the _REG methods could potentially be run before
7751ACPI mode was enabled.
7752
7753Fixed some memory leak issues related to address space handler and
7754notify handler installation.  There were some problems with the
7755reference count mechanism caused by the fact that the handler
7756objects are shared across several namespace objects.
7757
7758Fixed a reported problem where reference counts within the
7759namespace were not properly updated when named objects created by
7760method execution were deleted.
7761
7762Fixed a reported problem where multiple SSDTs caused a deletion
7763issue during subsystem termination.  Restructured the table data
7764structures to simplify the linked lists and the related code.
7765
7766Fixed a problem where the table ID associated with secondary
7767tables (SSDTs) was not being propagated into the namespace objects
7768created by those tables.  This would only present a problem for
7769tables that are unloaded at run-time, however.
7770
7771Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7772type as the length parameter (instead of UINT32).
7773
7774Solved a long-standing problem where an ALREADY_EXISTS error
7775appears on various systems.  This problem could happen when there
7776are multiple PCI_Config operation regions under a single PCI root
7777bus.  This doesn't happen very frequently, but there are some
7778systems that do this in the ASL.
7779
7780Fixed a reported problem where the internal DeleteNode function
7781was incorrectly handling the case where a namespace node was the
7782first in the parent's child list, and had additional peers (not
7783the only child, but first in the list of children.)
7784
7785Code and Data Size: Current core subsystem library sizes are shown
7786below.  These are the code and data sizes for the acpica.lib
7787produced by the Microsoft Visual C++ 6.0 compiler, and these
7788values do not include any ACPI driver or OSPM code.  The debug
7789version of the code includes the debug output trace mechanism and
7790has a much larger code and data size.  Note that these values will
7791vary depending on the efficiency of the compiler and the compiler
7792options used during generation.
7793
7794  Previous Release
7795    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7796    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7797  Current Release:
7798    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7799    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7800
7801
78022) Linux:
7803
7804Allow ":" in OS override string (Ducrot Bruno)
7805
7806Kobject fix (Greg KH)
7807
7808
78093 iASL Compiler/Disassembler:
7810
7811Fixed a problem in the generation of the C source code files (AML
7812is emitted in C source statements for BIOS inclusion) where the
7813Ascii dump that appears within a C comment at the end of each line
7814could cause a compile time error if the AML sequence happens to
7815have an open comment or close comment sequence embedded.
7816
7817
7818----------------------------------------
781924 April 2003.  Summary of changes for version 20030424.
7820
7821
78221) ACPI CA Core Subsystem:
7823
7824Support for big-endian systems has been implemented.  Most of the
7825support has been invisibly added behind big-endian versions of the
7826ACPI_MOVE_* macros.
7827
7828Fixed a problem in AcpiHwDisableGpeBlock() and
7829AcpiHwClearGpeBlock() where an incorrect offset was passed to the
7830low level hardware write routine.  The offset parameter was
7831actually eliminated from the low level read/write routines because
7832they had become obsolete.
7833
7834Fixed a problem where a handler object was deleted twice during
7835the removal of a fixed event handler.
7836
7837
78382) Linux:
7839
7840A fix for SMP systems with link devices was contributed by
7841
7842Compaq's Dan Zink.
7843
7844(2.5) Return whether we handled the interrupt in our IRQ handler.
7845(Linux ISRs no longer return void, so we can propagate the handler
7846return value from the ACPI CA core back to the OS.)
7847
7848
7849
78503) Documentation:
7851
7852The ACPI CA Programmer Reference has been updated to reflect new
7853interfaces and changes to existing interfaces.
7854
7855----------------------------------------
785628 March 2003.  Summary of changes for version 20030328.
7857
78581) ACPI CA Core Subsystem:
7859
7860The GPE Block Device support has been completed.  New interfaces
7861are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
7862interfaces (enable, disable, clear, getstatus) have been split
7863into separate interfaces for Fixed Events and General Purpose
7864Events (GPEs) in order to support GPE Block Devices properly.
7865
7866Fixed a problem where the error message "Failed to acquire
7867semaphore" would appear during operations on the embedded
7868controller (EC).
7869
7870Code and Data Size: Current core subsystem library sizes are shown
7871below.  These are the code and data sizes for the acpica.lib
7872produced by the Microsoft Visual C++ 6.0 compiler, and these
7873values do not include any ACPI driver or OSPM code.  The debug
7874version of the code includes the debug output trace mechanism and
7875has a much larger code and data size.  Note that these values will
7876vary depending on the efficiency of the compiler and the compiler
7877options used during generation.
7878
7879  Previous Release
7880    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7881    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7882  Current Release:
7883    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7884    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7885
7886
7887----------------------------------------
788828 February 2003.  Summary of changes for version 20030228.
7889
7890
78911) ACPI CA Core Subsystem:
7892
7893The GPE handling and dispatch code has been completely overhauled
7894in preparation for support of GPE Block Devices (ID ACPI0006).
7895This affects internal data structures and code only; there should
7896be no differences visible externally.  One new file has been
7897added, evgpeblk.c
7898
7899The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7900fields that are used to determine the GPE block lengths.  The
7901REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7902structures are ignored.  This is per the ACPI specification but it
7903isn't very clear.  The full 256 Block 0/1 GPEs are now supported
7904(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7905
7906In the SCI interrupt handler, removed the read of the PM1_CONTROL
7907register to look at the SCI_EN bit.  On some machines, this read
7908causes an SMI event and greatly slows down SCI events.  (This may
7909in fact be the cause of slow battery status response on some
7910systems.)
7911
7912Fixed a problem where a store of a NULL string to a package object
7913could cause the premature deletion of the object.  This was seen
7914during execution of the battery _BIF method on some systems,
7915resulting in no battery data being returned.
7916
7917Added AcpiWalkResources interface to simplify parsing of resource
7918lists.
7919
7920Code and Data Size: Current core subsystem library sizes are shown
7921below.  These are the code and data sizes for the acpica.lib
7922produced by the Microsoft Visual C++ 6.0 compiler, and these
7923values do not include any ACPI driver or OSPM code.  The debug
7924version of the code includes the debug output trace mechanism and
7925has a much larger code and data size.  Note that these values will
7926vary depending on the efficiency of the compiler and the compiler
7927options used during generation.
7928
7929  Previous Release
7930    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7931    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7932  Current Release:
7933    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7934    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7935
7936
79372) Linux
7938
7939S3 fixes (Ole Rohne)
7940
7941Update ACPI PHP driver with to use new acpi_walk_resource API
7942(Bjorn Helgaas)
7943
7944Add S4BIOS support (Pavel Machek)
7945
7946Map in entire table before performing checksum (John Stultz)
7947
7948Expand the mem= cmdline to allow the specification of reserved and
7949ACPI DATA blocks (Pavel Machek)
7950
7951Never use ACPI on VISWS
7952
7953Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7954
7955Revert a change that allowed P_BLK lengths to be 4 or 5. This is
7956causing us to think that some systems support C2 when they really
7957don't.
7958
7959Do not count processor objects for non-present CPUs (Thanks to
7960Dominik Brodowski)
7961
7962
79633) iASL Compiler:
7964
7965Fixed a problem where ASL include files could not be found and
7966opened.
7967
7968Added support for the _PDC reserved name.
7969
7970
7971----------------------------------------
797222 January 2003.  Summary of changes for version 20030122.
7973
7974
79751) ACPI CA Core Subsystem:
7976
7977Added a check for constructs of the form:  Store (Local0, Local0)
7978where Local0 is not initialized.  Apparently, some BIOS
7979programmers believe that this is a NOOP.  Since this store doesn't
7980do anything anyway, the new prototype behavior will ignore this
7981error.  This is a case where we can relax the strict checking in
7982the interpreter in the name of compatibility.
7983
7984
79852) Linux
7986
7987The AcpiSrc Source Conversion Utility has been released with the
7988Linux package for the first time.  This is the utility that is
7989used to convert the ACPI CA base source code to the Linux version.
7990
7991(Both) Handle P_BLK lengths shorter than 6 more gracefully
7992
7993(Both) Move more headers to include/acpi, and delete an unused
7994header.
7995
7996(Both) Move drivers/acpi/include directory to include/acpi
7997
7998(Both) Boot functions don't use cmdline, so don't pass it around
7999
8000(Both) Remove include of unused header (Adrian Bunk)
8001
8002(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
8003the
8004former now also includes the latter, acpiphp.h only needs the one,
8005now.
8006
8007(2.5) Make it possible to select method of bios restoring after S3
8008resume. [=> no more ugly ifdefs] (Pavel Machek)
8009
8010(2.5) Make proc write interfaces work (Pavel Machek)
8011
8012(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
8013
8014(2.5) Break out ACPI Perf code into its own module, under cpufreq
8015(Dominik Brodowski)
8016
8017(2.4) S4BIOS support (Ducrot Bruno)
8018
8019(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
8020Visinoni)
8021
8022
80233) iASL Compiler:
8024
8025Added support to disassemble SSDT and PSDTs.
8026
8027Implemented support to obtain SSDTs from the Windows registry if
8028available.
8029
8030
8031----------------------------------------
803209 January 2003.  Summary of changes for version 20030109.
8033
80341) ACPI CA Core Subsystem:
8035
8036Changed the behavior of the internal Buffer-to-String conversion
8037function.  The current ACPI specification states that the contents
8038of the buffer are "converted to a string of two-character
8039hexadecimal numbers, each separated by a space".  Unfortunately,
8040this definition is not backwards compatible with existing ACPI 1.0
8041implementations (although the behavior was not defined in the ACPI
80421.0 specification).  The new behavior simply copies data from the
8043buffer to the string until a null character is found or the end of
8044the buffer is reached.  The new String object is always null
8045terminated.  This problem was seen during the generation of _BIF
8046battery data where incorrect strings were returned for battery
8047type, etc.  This will also require an errata to the ACPI
8048specification.
8049
8050Renamed all instances of NATIVE_UINT and NATIVE_INT to
8051ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
8052
8053Copyright in all module headers (both Linux and non-Linux) has be
8054updated to 2003.
8055
8056Code and Data Size: Current core subsystem library sizes are shown
8057below.  These are the code and data sizes for the acpica.lib
8058produced by the Microsoft Visual C++ 6.0 compiler, and these
8059values do not include any ACPI driver or OSPM code.  The debug
8060version of the code includes the debug output trace mechanism and
8061has a much larger code and data size.  Note that these values will
8062vary depending on the efficiency of the compiler and the compiler
8063options used during generation.
8064
8065  Previous Release
8066    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8067    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8068  Current Release:
8069    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8070    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8071
8072
80732) Linux
8074
8075Fixed an oops on module insertion/removal (Matthew Tippett)
8076
8077(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
8078
8079(2.5) Replace pr_debug (Randy Dunlap)
8080
8081(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
8082
8083(Both) Eliminate spawning of thread from timer callback, in favor
8084of schedule_work()
8085
8086(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
8087
8088(Both) Added define for Fixed Function HW region (Matthew Wilcox)
8089
8090(Both) Add missing statics to button.c (Pavel Machek)
8091
8092Several changes have been made to the source code translation
8093utility that generates the Linux Code in order to make the code
8094more "Linux-like":
8095
8096All typedefs on structs and unions have been removed in keeping
8097with the Linux coding style.
8098
8099Removed the non-Linux SourceSafe module revision number from each
8100module header.
8101
8102Completed major overhaul of symbols to be lowercased for linux.
8103Doubled the number of symbols that are lowercased.
8104
8105Fixed a problem where identifiers within procedure headers and
8106within quotes were not fully lower cased (they were left with a
8107starting capital.)
8108
8109Some C macros whose only purpose is to allow the generation of 16-
8110bit code are now completely removed in the Linux code, increasing
8111readability and maintainability.
8112
8113----------------------------------------
8114
811512 December 2002.  Summary of changes for version 20021212.
8116
8117
81181) ACPI CA Core Subsystem:
8119
8120Fixed a problem where the creation of a zero-length AML Buffer
8121would cause a fault.
8122
8123Fixed a problem where a Buffer object that pointed to a static AML
8124buffer (in an ACPI table) could inadvertently be deleted, causing
8125memory corruption.
8126
8127Fixed a problem where a user buffer (passed in to the external
8128ACPI CA interfaces) could be overwritten if the buffer was too
8129small to complete the operation, causing memory corruption.
8130
8131Fixed a problem in the Buffer-to-String conversion code where a
8132string of length one was always returned, regardless of the size
8133of the input Buffer object.
8134
8135Removed the NATIVE_CHAR data type across the entire source due to
8136lack of need and lack of consistent use.
8137
8138Code and Data Size: Current core subsystem library sizes are shown
8139below.  These are the code and data sizes for the acpica.lib
8140produced by the Microsoft Visual C++ 6.0 compiler, and these
8141values do not include any ACPI driver or OSPM code.  The debug
8142version of the code includes the debug output trace mechanism and
8143has a much larger code and data size.  Note that these values will
8144vary depending on the efficiency of the compiler and the compiler
8145options used during generation.
8146
8147  Previous Release
8148    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
8149    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
8150  Current Release:
8151    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8152    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8153
8154
8155----------------------------------------
815605 December 2002.  Summary of changes for version 20021205.
8157
81581) ACPI CA Core Subsystem:
8159
8160Fixed a problem where a store to a String or Buffer object could
8161cause corruption of the DSDT if the object type being stored was
8162the same as the target object type and the length of the object
8163being stored was equal to or smaller than the original (existing)
8164target object.  This was seen to cause corruption of battery _BIF
8165buffers if the _BIF method modified the buffer on the fly.
8166
8167Fixed a problem where an internal error was generated if a control
8168method invocation was used in an OperationRegion, Buffer, or
8169Package declaration.  This was caused by the deferred parsing of
8170the control method and thus the deferred creation of the internal
8171method object.  The solution to this problem was to create the
8172internal method object at the moment the method is encountered in
8173the first pass - so that subsequent references to the method will
8174able to obtain the required parameter count and thus properly
8175parse the method invocation.  This problem presented itself as an
8176AE_AML_INTERNAL during the pass 1 parse phase during table load.
8177
8178Fixed a problem where the internal String object copy routine did
8179not always allocate sufficient memory for the target String object
8180and caused memory corruption.  This problem was seen to cause
8181"Allocation already present in list!" errors as memory allocation
8182became corrupted.
8183
8184Implemented a new function for the evaluation of namespace objects
8185that allows the specification of the allowable return object
8186types.  This simplifies a lot of code that checks for a return
8187object of one or more specific objects returned from the
8188evaluation (such as _STA, etc.)  This may become and external
8189function if it would be useful to ACPI-related drivers.
8190
8191Completed another round of prefixing #defines with "ACPI_" for
8192clarity.
8193
8194Completed additional code restructuring to allow more modular
8195linking for iASL compiler and AcpiExec.  Several files were split
8196creating new files.  New files:  nsparse.c dsinit.c evgpe.c
8197
8198Implemented an abort mechanism to terminate an executing control
8199method via the AML debugger.  This feature is useful for debugging
8200control methods that depend (wait) for specific hardware
8201responses.
8202
8203Code and Data Size: Current core subsystem library sizes are shown
8204below.  These are the code and data sizes for the acpica.lib
8205produced by the Microsoft Visual C++ 6.0 compiler, and these
8206values do not include any ACPI driver or OSPM code.  The debug
8207version of the code includes the debug output trace mechanism and
8208has a much larger code and data size.  Note that these values will
8209vary depending on the efficiency of the compiler and the compiler
8210options used during generation.
8211
8212  Previous Release
8213    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8214    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
8215  Current Release:
8216    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
8217    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
8218
8219
82202) iASL Compiler/Disassembler
8221
8222Fixed a compiler code generation problem for "Interrupt" Resource
8223Descriptors.  If specified in the ASL, the optional "Resource
8224Source Index" and "Resource Source" fields were not inserted into
8225the correct location within the AML resource descriptor, creating
8226an invalid descriptor.
8227
8228Fixed a disassembler problem for "Interrupt" resource descriptors.
8229The optional "Resource Source Index" and "Resource Source" fields
8230were ignored.
8231
8232
8233----------------------------------------
823422 November 2002.  Summary of changes for version 20021122.
8235
8236
82371) ACPI CA Core Subsystem:
8238
8239Fixed a reported problem where an object stored to a Method Local
8240or Arg was not copied to a new object during the store - the
8241object pointer was simply copied to the Local/Arg.  This caused
8242all subsequent operations on the Local/Arg to also affect the
8243original source of the store operation.
8244
8245Fixed a problem where a store operation to a Method Local or Arg
8246was not completed properly if the Local/Arg contained a reference
8247(from RefOf) to a named field.  The general-purpose store-to-
8248namespace-node code is now used so that this case is handled
8249automatically.
8250
8251Fixed a problem where the internal object copy routine would cause
8252a protection fault if the object being copied was a Package and
8253contained either 1) a NULL package element or 2) a nested sub-
8254package.
8255
8256Fixed a problem with the GPE initialization that resulted from an
8257ambiguity in the ACPI specification.  One section of the
8258specification states that both the address and length of the GPE
8259block must be zero if the block is not supported.  Another section
8260implies that only the address need be zero if the block is not
8261supported.  The code has been changed so that both the address and
8262the length must be non-zero to indicate a valid GPE block (i.e.,
8263if either the address or the length is zero, the GPE block is
8264invalid.)
8265
8266Code and Data Size: Current core subsystem library sizes are shown
8267below.  These are the code and data sizes for the acpica.lib
8268produced by the Microsoft Visual C++ 6.0 compiler, and these
8269values do not include any ACPI driver or OSPM code.  The debug
8270version of the code includes the debug output trace mechanism and
8271has a much larger code and data size.  Note that these values will
8272vary depending on the efficiency of the compiler and the compiler
8273options used during generation.
8274
8275  Previous Release
8276    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
8277    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
8278  Current Release:
8279    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8280    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
8281
8282
82832) Linux
8284
8285Cleaned up EC driver. Exported an external EC read/write
8286interface. By going through this, other drivers (most notably
8287sonypi) will be able to serialize access to the EC.
8288
8289
82903) iASL Compiler/Disassembler
8291
8292Implemented support to optionally generate include files for both
8293ASM and C (the -i switch).  This simplifies BIOS development by
8294automatically creating include files that contain external
8295declarations for the symbols that are created within the
8296
8297(optionally generated) ASM and C AML source files.
8298
8299
8300----------------------------------------
830115 November 2002.  Summary of changes for version 20021115.
8302
83031) ACPI CA Core Subsystem:
8304
8305Fixed a memory leak problem where an error during resolution of
8306
8307method arguments during a method invocation from another method
8308failed to cleanup properly by deleting all successfully resolved
8309argument objects.
8310
8311Fixed a problem where the target of the Index() operator was not
8312correctly constructed if the source object was a package.  This
8313problem has not been detected because the use of a target operand
8314with Index() is very rare.
8315
8316Fixed a problem with the Index() operator where an attempt was
8317made to delete the operand objects twice.
8318
8319Fixed a problem where an attempt was made to delete an operand
8320twice during execution of the CondRefOf() operator if the target
8321did not exist.
8322
8323Implemented the first of perhaps several internal create object
8324functions that create and initialize a specific object type.  This
8325consolidates duplicated code wherever the object is created, thus
8326shrinking the size of the subsystem.
8327
8328Implemented improved debug/error messages for errors that occur
8329during nested method invocations.  All executing method pathnames
8330are displayed (with the error) as the call stack is unwound - thus
8331simplifying debug.
8332
8333Fixed a problem introduced in the 10/02 release that caused
8334premature deletion of a buffer object if a buffer was used as an
8335ASL operand where an integer operand is required (Thus causing an
8336implicit object conversion from Buffer to Integer.)  The change in
8337the 10/02 release was attempting to fix a memory leak (albeit
8338incorrectly.)
8339
8340Code and Data Size: Current core subsystem library sizes are shown
8341below.  These are the code and data sizes for the acpica.lib
8342produced by the Microsoft Visual C++ 6.0 compiler, and these
8343values do not include any ACPI driver or OSPM code.  The debug
8344version of the code includes the debug output trace mechanism and
8345has a much larger code and data size.  Note that these values will
8346vary depending on the efficiency of the compiler and the compiler
8347options used during generation.
8348
8349  Previous Release
8350    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8351    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8352  Current Release:
8353    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
8354    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
8355
8356
83572) Linux
8358
8359Changed the implementation of the ACPI semaphores to use down()
8360instead of down_interruptable().  It is important that the
8361execution of ACPI control methods not be interrupted by signals.
8362Methods must run to completion, or the system may be left in an
8363unknown/unstable state.
8364
8365Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
8366(Shawn Starr)
8367
8368
83693) iASL Compiler/Disassembler
8370
8371
8372Changed the default location of output files.  All output files
8373are now placed in the current directory by default instead of in
8374the directory of the source file.  This change may affect some
8375existing makefiles, but it brings the behavior of the compiler in
8376line with other similar tools.  The location of the output files
8377can be overridden with the -p command line switch.
8378
8379
8380----------------------------------------
838111 November 2002.  Summary of changes for version 20021111.
8382
8383
83840) ACPI Specification 2.0B is released and is now available at:
8385http://www.acpi.info/index.html
8386
8387
83881) ACPI CA Core Subsystem:
8389
8390Implemented support for the ACPI 2.0 SMBus Operation Regions.
8391This includes the early detection and handoff of the request to
8392the SMBus region handler (avoiding all of the complex field
8393support code), and support for the bidirectional return packet
8394from an SMBus write operation.  This paves the way for the
8395development of SMBus drivers in each host operating system.
8396
8397Fixed a problem where the semaphore WAIT_FOREVER constant was
8398defined as 32 bits, but must be 16 bits according to the ACPI
8399specification.  This had the side effect of causing ASL
8400Mutex/Event timeouts even though the ASL code requested a wait
8401forever.  Changed all internal references to the ACPI timeout
8402parameter to 16 bits to prevent future problems.  Changed the name
8403of WAIT_FOREVER to ACPI_WAIT_FOREVER.
8404
8405Code and Data Size: Current core subsystem library sizes are shown
8406below.  These are the code and data sizes for the acpica.lib
8407produced by the Microsoft Visual C++ 6.0 compiler, and these
8408values do not include any ACPI driver or OSPM code.  The debug
8409version of the code includes the debug output trace mechanism and
8410has a much larger code and data size.  Note that these values will
8411vary depending on the efficiency of the compiler and the compiler
8412options used during generation.
8413
8414  Previous Release
8415    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8416    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8417  Current Release:
8418    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8419    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8420
8421
84222) Linux
8423
8424Module loading/unloading fixes (John Cagle)
8425
8426
84273) iASL Compiler/Disassembler
8428
8429Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
8430
8431Implemented support for the disassembly of all SMBus protocol
8432keywords (SMBQuick, SMBWord, etc.)
8433
8434----------------------------------------
843501 November 2002.  Summary of changes for version 20021101.
8436
8437
84381) ACPI CA Core Subsystem:
8439
8440Fixed a problem where platforms that have a GPE1 block but no GPE0
8441block were not handled correctly.  This resulted in a "GPE
8442overlap" error message.  GPE0 is no longer required.
8443
8444Removed code added in the previous release that inserted nodes
8445into the namespace in alphabetical order.  This caused some side-
8446effects on various machines.  The root cause of the problem is
8447still under investigation since in theory, the internal ordering
8448of the namespace nodes should not matter.
8449
8450
8451Enhanced error reporting for the case where a named object is not
8452found during control method execution.  The full ACPI namepath
8453(name reference) of the object that was not found is displayed in
8454this case.
8455
8456Note: as a result of the overhaul of the namespace object types in
8457the previous release, the namespace nodes for the predefined
8458scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
8459instead of ACPI_TYPE_ANY.  This simplifies the namespace
8460management code but may affect code that walks the namespace tree
8461looking for specific object types.
8462
8463Code and Data Size: Current core subsystem library sizes are shown
8464below.  These are the code and data sizes for the acpica.lib
8465produced by the Microsoft Visual C++ 6.0 compiler, and these
8466values do not include any ACPI driver or OSPM code.  The debug
8467version of the code includes the debug output trace mechanism and
8468has a much larger code and data size.  Note that these values will
8469vary depending on the efficiency of the compiler and the compiler
8470options used during generation.
8471
8472  Previous Release
8473    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8474    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8475  Current Release:
8476    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8477    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8478
8479
84802) Linux
8481
8482Fixed a problem introduced in the previous release where the
8483Processor and Thermal objects were not recognized and installed in
8484/proc.  This was related to the scope type change described above.
8485
8486
84873) iASL Compiler/Disassembler
8488
8489Implemented the -g option to get all of the required ACPI tables
8490from the registry and save them to files (Windows version of the
8491compiler only.)  The required tables are the FADT, FACS, and DSDT.
8492
8493Added ACPI table checksum validation during table disassembly in
8494order to catch corrupted tables.
8495
8496
8497----------------------------------------
849822 October 2002.  Summary of changes for version 20021022.
8499
85001) ACPI CA Core Subsystem:
8501
8502Implemented a restriction on the Scope operator that the target
8503must already exist in the namespace at the time the operator is
8504encountered (during table load or method execution).  In other
8505words, forward references are not allowed and Scope() cannot
8506create a new object. This changes the previous behavior where the
8507interpreter would create the name if not found.  This new behavior
8508correctly enables the search-to-root algorithm during namespace
8509lookup of the target name.  Because of this upsearch, this fixes
8510the known Compaq _SB_.OKEC problem and makes both the AML
8511interpreter and iASL compiler compatible with other ACPI
8512implementations.
8513
8514Completed a major overhaul of the internal ACPI object types for
8515the ACPI Namespace and the associated operand objects.  Many of
8516these types had become obsolete with the introduction of the two-
8517pass namespace load.  This cleanup simplifies the code and makes
8518the entire namespace load mechanism much clearer and easier to
8519understand.
8520
8521Improved debug output for tracking scope opening/closing to help
8522diagnose scoping issues.  The old scope name as well as the new
8523scope name are displayed.  Also improved error messages for
8524problems with ASL Mutex objects and error messages for GPE
8525problems.
8526
8527Cleaned up the namespace dump code, removed obsolete code.
8528
8529All string output (for all namespace/object dumps) now uses the
8530common ACPI string output procedure which handles escapes properly
8531and does not emit non-printable characters.
8532
8533Fixed some issues with constants in the 64-bit version of the
8534local C library (utclib.c)
8535
8536
85372) Linux
8538
8539EC Driver:  No longer attempts to acquire the Global Lock at
8540interrupt level.
8541
8542
85433) iASL Compiler/Disassembler
8544
8545Implemented ACPI 2.0B grammar change that disallows all Type 1 and
85462 opcodes outside of a control method.  This means that the
8547"executable" operators (versus the "namespace" operators) cannot
8548be used at the table level; they can only be used within a control
8549method.
8550
8551Implemented the restriction on the Scope() operator where the
8552target must already exist in the namespace at the time the
8553operator is encountered (during ASL compilation). In other words,
8554forward references are not allowed and Scope() cannot create a new
8555object.  This makes the iASL compiler compatible with other ACPI
8556implementations and makes the Scope() implementation adhere to the
8557ACPI specification.
8558
8559Fixed a problem where namepath optimization for the Alias operator
8560was optimizing the wrong path (of the two namepaths.)  This caused
8561a "Missing alias link" error message.
8562
8563Fixed a problem where an "unknown reserved name" warning could be
8564incorrectly generated for names like "_SB" when the trailing
8565underscore is not used in the original ASL.
8566
8567Fixed a problem where the reserved name check did not handle
8568NamePaths with multiple NameSegs correctly.  The first nameseg of
8569the NamePath was examined instead of the last NameSeg.
8570
8571
8572----------------------------------------
8573
857402 October 2002.  Summary of changes for this release.
8575
8576
85771) ACPI CA Core Subsystem version 20021002:
8578
8579Fixed a problem where a store/copy of a string to an existing
8580string did not always set the string length properly in the String
8581object.
8582
8583Fixed a reported problem with the ToString operator where the
8584behavior was identical to the ToHexString operator instead of just
8585simply converting a raw buffer to a string data type.
8586
8587Fixed a problem where CopyObject and the other "explicit"
8588conversion operators were not updating the internal namespace node
8589type as part of the store operation.
8590
8591Fixed a memory leak during implicit source operand conversion
8592where the original object was not deleted if it was converted to a
8593new object of a different type.
8594
8595Enhanced error messages for all problems associated with namespace
8596lookups.  Common procedure generates and prints the lookup name as
8597well as the formatted status.
8598
8599Completed implementation of a new design for the Alias support
8600within the namespace.  The existing design did not handle the case
8601where a new object was assigned to one of the two names due to the
8602use of an explicit conversion operator, resulting in the two names
8603pointing to two different objects.  The new design simply points
8604the Alias name to the original name node - not to the object.
8605This results in a level of indirection that must be handled in the
8606name resolution mechanism.
8607
8608Code and Data Size: Current core subsystem library sizes are shown
8609below.  These are the code and data sizes for the acpica.lib
8610produced by the Microsoft Visual C++ 6.0 compiler, and these
8611values do not include any ACPI driver or OSPM code.  The debug
8612version of the code includes the debug output trace mechanism and
8613has a larger code and data size.  Note that these values will vary
8614depending on the efficiency of the compiler and the compiler
8615options used during generation.
8616
8617  Previous Release
8618    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8619    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8620  Current Release:
8621    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8622    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8623
8624
86252) Linux
8626
8627Initialize thermal driver's timer before it is used. (Knut
8628Neumann)
8629
8630Allow handling negative celsius values. (Kochi Takayoshi)
8631
8632Fix thermal management and make trip points. R/W (Pavel Machek)
8633
8634Fix /proc/acpi/sleep. (P. Christeas)
8635
8636IA64 fixes. (David Mosberger)
8637
8638Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
8639
8640Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
8641Brodowski)
8642
8643
86443) iASL Compiler/Disassembler
8645
8646Clarified some warning/error messages.
8647
8648
8649----------------------------------------
865018 September 2002.  Summary of changes for this release.
8651
8652
86531) ACPI CA Core Subsystem version 20020918:
8654
8655Fixed a reported problem with reference chaining (via the Index()
8656and RefOf() operators) in the ObjectType() and SizeOf() operators.
8657The definition of these operators includes the dereferencing of
8658all chained references to return information on the base object.
8659
8660Fixed a problem with stores to indexed package elements - the
8661existing code would not complete the store if an "implicit
8662conversion" was not performed.  In other words, if the existing
8663object (package element) was to be replaced completely, the code
8664didn't handle this case.
8665
8666Relaxed typechecking on the ASL "Scope" operator to allow the
8667target name to refer to an object of type Integer, String, or
8668Buffer, in addition to the scoping object types (Device,
8669predefined Scopes, Processor, PowerResource, and ThermalZone.)
8670This allows existing AML code that has workarounds for a bug in
8671Windows to function properly.  A warning is issued, however.  This
8672affects both the AML interpreter and the iASL compiler. Below is
8673an example of this type of ASL code:
8674
8675      Name(DEB,0x00)
8676      Scope(DEB)
8677      {
8678
8679Fixed some reported problems with 64-bit integer support in the
8680local implementation of C library functions (clib.c)
8681
8682
86832) Linux
8684
8685Use ACPI fix map region instead of IOAPIC region, since it is
8686undefined in non-SMP.
8687
8688Ensure that the SCI has the proper polarity and trigger, even on
8689systems that do not have an interrupt override entry in the MADT.
8690
86912.5 big driver reorganization (Pat Mochel)
8692
8693Use early table mapping code from acpitable.c (Andi Kleen)
8694
8695New blacklist entries (Andi Kleen)
8696
8697Blacklist improvements. Split blacklist code out into a separate
8698file. Move checking the blacklist to very early. Previously, we
8699would use ACPI tables, and then halfway through init, check the
8700blacklist -- too late. Now, it's early enough to completely fall-
8701back to non-ACPI.
8702
8703
87043) iASL Compiler/Disassembler version 20020918:
8705
8706Fixed a problem where the typechecking code didn't know that an
8707alias could point to a method.  In other words, aliases were not
8708being dereferenced during typechecking.
8709
8710
8711----------------------------------------
871229 August 2002.  Summary of changes for this release.
8713
87141) ACPI CA Core Subsystem Version 20020829:
8715
8716If the target of a Scope() operator already exists, it must be an
8717object type that actually opens a scope -- such as a Device,
8718Method, Scope, etc.  This is a fatal runtime error.  Similar error
8719check has been added to the iASL compiler also.
8720
8721Tightened up the namespace load to disallow multiple names in the
8722same scope.  This previously was allowed if both objects were of
8723the same type.  (i.e., a lookup was the same as entering a new
8724name).
8725
8726
87272) Linux
8728
8729Ensure that the ACPI interrupt has the proper trigger and
8730polarity.
8731
8732local_irq_disable is extraneous. (Matthew Wilcox)
8733
8734Make "acpi=off" actually do what it says, and not use the ACPI
8735interpreter *or* the tables.
8736
8737Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
8738Takayoshi)
8739
8740
87413) iASL Compiler/Disassembler  Version 20020829:
8742
8743Implemented namepath optimization for name declarations.  For
8744example, a declaration like "Method (\_SB_.ABCD)" would get
8745optimized to "Method (ABCD)" if the declaration is within the
8746\_SB_ scope.  This optimization is in addition to the named
8747reference path optimization first released in the previous
8748version. This would seem to complete all possible optimizations
8749for namepaths within the ASL/AML.
8750
8751If the target of a Scope() operator already exists, it must be an
8752object type that actually opens a scope -- such as a Device,
8753Method, Scope, etc.
8754
8755Implemented a check and warning for unreachable code in the same
8756block below a Return() statement.
8757
8758Fixed a problem where the listing file was not generated if the
8759compiler aborted if the maximum error count was exceeded (200).
8760
8761Fixed a problem where the typechecking of method return values was
8762broken.  This includes the check for a return value when the
8763method is invoked as a TermArg (a return value is expected.)
8764
8765Fixed a reported problem where EOF conditions during a quoted
8766string or comment caused a fault.
8767
8768
8769----------------------------------------
877015 August 2002.  Summary of changes for this release.
8771
87721) ACPI CA Core Subsystem Version 20020815:
8773
8774Fixed a reported problem where a Store to a method argument that
8775contains a reference did not perform the indirect store correctly.
8776This problem was created during the conversion to the new
8777reference object model - the indirect store to a method argument
8778code was not updated to reflect the new model.
8779
8780Reworked the ACPI mode change code to better conform to ACPI 2.0,
8781handle corner cases, and improve code legibility (Kochi Takayoshi)
8782
8783Fixed a problem with the pathname parsing for the carat (^)
8784prefix.  The heavy use of the carat operator by the new namepath
8785optimization in the iASL compiler uncovered a problem with the AML
8786interpreter handling of this prefix.  In the case where one or
8787more carats precede a single nameseg, the nameseg was treated as
8788standalone and the search rule (to root) was inadvertently
8789applied.  This could cause both the iASL compiler and the
8790interpreter to find the wrong object or to miss the error that
8791should occur if the object does not exist at that exact pathname.
8792
8793Found and fixed the problem where the HP Pavilion DSDT would not
8794load.  This was a relatively minor tweak to the table loading code
8795(a problem caused by the unexpected encounter with a method
8796invocation not within a control method), but it does not solve the
8797overall issue of the execution of AML code at the table level.
8798This investigation is still ongoing.
8799
8800Code and Data Size: Current core subsystem library sizes are shown
8801below.  These are the code and data sizes for the acpica.lib
8802produced by the Microsoft Visual C++ 6.0 compiler, and these
8803values do not include any ACPI driver or OSPM code.  The debug
8804version of the code includes the debug output trace mechanism and
8805has a larger code and data size.  Note that these values will vary
8806depending on the efficiency of the compiler and the compiler
8807options used during generation.
8808
8809  Previous Release
8810    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8811    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8812  Current Release:
8813    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8814    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8815
8816
88172) Linux
8818
8819Remove redundant slab.h include (Brad Hards)
8820
8821Fix several bugs in thermal.c (Herbert Nachtnebel)
8822
8823Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
8824
8825Change acpi_system_suspend to use updated irq functions (Pavel
8826Machek)
8827
8828Export acpi_get_firmware_table (Matthew Wilcox)
8829
8830Use proper root proc entry for ACPI (Kochi Takayoshi)
8831
8832Fix early-boot table parsing (Bjorn Helgaas)
8833
8834
88353) iASL Compiler/Disassembler
8836
8837Reworked the compiler options to make them more consistent and to
8838use two-letter options where appropriate.  We were running out of
8839sensible letters.   This may break some makefiles, so check the
8840current options list by invoking the compiler with no parameters.
8841
8842Completed the design and implementation of the ASL namepath
8843optimization option for the compiler.  This option optimizes all
8844references to named objects to the shortest possible path.  The
8845first attempt tries to utilize a single nameseg (4 characters) and
8846the "search-to-root" algorithm used by the interpreter.  If that
8847cannot be used (because either the name is not in the search path
8848or there is a conflict with another object with the same name),
8849the pathname is optimized using the carat prefix (usually a
8850shorter string than specifying the entire path from the root.)
8851
8852Implemented support to obtain the DSDT from the Windows registry
8853(when the disassembly option is specified with no input file).
8854Added this code as the implementation for AcpiOsTableOverride in
8855the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
8856utility) to scan memory for the DSDT to the AcpiOsTableOverride
8857function in the DOS OSL to make the disassembler truly OS
8858independent.
8859
8860Implemented a new option to disassemble and compile in one step.
8861When used without an input filename, this option will grab the
8862DSDT from the local machine, disassemble it, and compile it in one
8863step.
8864
8865Added a warning message for invalid escapes (a backslash followed
8866by any character other than the allowable escapes).  This catches
8867the quoted string error "\_SB_" (which should be "\\_SB_" ).
8868
8869Also, there are numerous instances in the ACPI specification where
8870this error occurs.
8871
8872Added a compiler option to disable all optimizations.  This is
8873basically the "compatibility mode" because by using this option,
8874the AML code will come out exactly the same as other ASL
8875compilers.
8876
8877Added error messages for incorrectly ordered dependent resource
8878functions.  This includes: missing EndDependentFn macro at end of
8879dependent resource list, nested dependent function macros (both
8880start and end), and missing StartDependentFn macro.  These are
8881common errors that should be caught at compile time.
8882
8883Implemented _OSI support for the disassembler and compiler.  _OSI
8884must be included in the namespace for proper disassembly (because
8885the disassembler must know the number of arguments.)
8886
8887Added an "optimization" message type that is optional (off by
8888default).  This message is used for all optimizations - including
8889constant folding, integer optimization, and namepath optimization.
8890
8891----------------------------------------
889225 July 2002.  Summary of changes for this release.
8893
8894
88951) ACPI CA Core Subsystem Version 20020725:
8896
8897The AML Disassembler has been enhanced to produce compilable ASL
8898code and has been integrated into the iASL compiler (see below) as
8899well as the single-step disassembly for the AML debugger and the
8900disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
8901resource templates and macros are fully supported.  The
8902disassembler has been tested on over 30 different AML files,
8903producing identical AML when the resulting disassembled ASL file
8904is recompiled with the same ASL compiler.
8905
8906Modified the Resource Manager to allow zero interrupts and zero
8907dma channels during the GetCurrentResources call.  This was
8908causing problems on some platforms.
8909
8910Added the AcpiOsRedirectOutput interface to the OSL to simplify
8911output redirection for the AcpiOsPrintf and AcpiOsVprintf
8912interfaces.
8913
8914Code and Data Size: Current core subsystem library sizes are shown
8915below.  These are the code and data sizes for the acpica.lib
8916produced by the Microsoft Visual C++ 6.0 compiler, and these
8917values do not include any ACPI driver or OSPM code.  The debug
8918version of the code includes the debug output trace mechanism and
8919has a larger code and data size.  Note that these values will vary
8920depending on the efficiency of the compiler and the compiler
8921options used during generation.
8922
8923  Previous Release
8924    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8925    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8926  Current Release:
8927    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8928    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8929
8930
89312) Linux
8932
8933Fixed a panic in the EC driver (Dominik Brodowski)
8934
8935Implemented checksum of the R/XSDT itself during Linux table scan
8936(Richard Schaal)
8937
8938
89393) iASL compiler
8940
8941The AML disassembler is integrated into the compiler.  The "-d"
8942option invokes the disassembler  to completely disassemble an
8943input AML file, producing as output a text ASL file with the
8944extension ".dsl" (to avoid name collisions with existing .asl
8945source files.)  A future enhancement will allow the disassembler
8946to obtain the BIOS DSDT from the registry under Windows.
8947
8948Fixed a problem with the VendorShort and VendorLong resource
8949descriptors where an invalid AML sequence was created.
8950
8951Implemented a fix for BufferData term in the ASL parser.  It was
8952inadvertently defined twice, allowing invalid syntax to pass and
8953causing reduction conflicts.
8954
8955Fixed a problem where the Ones opcode could get converted to a
8956value of zero if "Ones" was used where a byte, word or dword value
8957was expected.  The 64-bit value is now truncated to the correct
8958size with the correct value.
8959
8960
8961
8962----------------------------------------
896302 July 2002.  Summary of changes for this release.
8964
8965
89661) ACPI CA Core Subsystem Version 20020702:
8967
8968The Table Manager code has been restructured to add several new
8969features.  Tables that are not required by the core subsystem
8970(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8971validated in any way and are returned from AcpiGetFirmwareTable if
8972requested.  The AcpiOsTableOverride interface is now called for
8973each table that is loaded by the subsystem in order to allow the
8974host to override any table it chooses.  Previously, only the DSDT
8975could be overridden.  Added one new files, tbrsdt.c and
8976tbgetall.c.
8977
8978Fixed a problem with the conversion of internal package objects to
8979external objects (when a package is returned from a control
8980method.)  The return buffer length was set to zero instead of the
8981proper length of the package object.
8982
8983Fixed a reported problem with the use of the RefOf and DeRefOf
8984operators when passing reference arguments to control methods.  A
8985new type of Reference object is used internally for references
8986produced by the RefOf operator.
8987
8988Added additional error messages in the Resource Manager to explain
8989AE_BAD_DATA errors when they occur during resource parsing.
8990
8991Split the AcpiEnableSubsystem into two primitives to enable a
8992finer granularity initialization sequence.  These two calls should
8993be called in this order: AcpiEnableSubsystem (flags),
8994AcpiInitializeObjects (flags).  The flags parameter remains the
8995same.
8996
8997
89982) Linux
8999
9000Updated the ACPI utilities module to understand the new style of
9001fully resolved package objects that are now returned from the core
9002subsystem.  This eliminates errors of the form:
9003
9004    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
9005    acpi_utils-0430 [145] acpi_evaluate_reference:
9006        Invalid element in package (not a device reference)
9007
9008The method evaluation utility uses the new buffer allocation
9009scheme instead of calling AcpiEvaluate Object twice.
9010
9011Added support for ECDT. This allows the use of the Embedded
9012
9013Controller before the namespace has been fully initialized, which
9014is necessary for ACPI 2.0 support, and for some laptops to
9015initialize properly. (Laptops using ECDT are still rare, so only
9016limited testing was performed of the added functionality.)
9017
9018Fixed memory leaks in the EC driver.
9019
9020Eliminated a brittle code structure in acpi_bus_init().
9021
9022Eliminated the acpi_evaluate() helper function in utils.c. It is
9023no longer needed since acpi_evaluate_object can optionally
9024allocate memory for the return object.
9025
9026Implemented fix for keyboard hang when getting battery readings on
9027some systems (Stephen White)
9028
9029PCI IRQ routing update (Dominik Brodowski)
9030
9031Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
9032support
9033
9034----------------------------------------
903511 June 2002.  Summary of changes for this release.
9036
9037
90381) ACPI CA Core Subsystem Version 20020611:
9039
9040Fixed a reported problem where constants such as Zero and One
9041appearing within _PRT packages were not handled correctly within
9042the resource manager code.  Originally reported against the ASL
9043compiler because the code generator now optimizes integers to
9044their minimal AML representation (i.e. AML constants if possible.)
9045The _PRT code now handles all AML constant opcodes correctly
9046(Zero, One, Ones, Revision).
9047
9048Fixed a problem with the Concatenate operator in the AML
9049interpreter where a buffer result object was incorrectly marked as
9050not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
9051
9052All package sub-objects are now fully resolved before they are
9053returned from the external ACPI interfaces.  This means that name
9054strings are resolved to object handles, and constant operators
9055(Zero, One, Ones, Revision) are resolved to Integers.
9056
9057Implemented immediate resolution of the AML Constant opcodes
9058(Zero, One, Ones, Revision) to Integer objects upon detection
9059within the AML stream. This has simplified and reduced the
9060generated code size of the subsystem by eliminating about 10
9061switch statements for these constants (which previously were
9062contained in Reference objects.)  The complicating issues are that
9063the Zero opcode is used as a "placeholder" for unspecified
9064optional target operands and stores to constants are defined to be
9065no-ops.
9066
9067Code and Data Size: Current core subsystem library sizes are shown
9068below. These are the code and data sizes for the acpica.lib
9069produced by the Microsoft Visual C++ 6.0 compiler, and these
9070values do not include any ACPI driver or OSPM code.  The debug
9071version of the code includes the debug output trace mechanism and
9072has a larger code and data size.  Note that these values will vary
9073depending on the efficiency of the compiler and the compiler
9074options used during generation.
9075
9076  Previous Release
9077    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
9078    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
9079  Current Release:
9080    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
9081    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
9082
9083
90842) Linux
9085
9086
9087Added preliminary support for obtaining _TRA data for PCI root
9088bridges (Bjorn Helgaas).
9089
9090
90913) iASL Compiler Version X2046:
9092
9093Fixed a problem where the "_DDN" reserved name was defined to be a
9094control method with one argument.  There are no arguments, and
9095_DDN does not have to be a control method.
9096
9097Fixed a problem with the Linux version of the compiler where the
9098source lines printed with error messages were the wrong lines.
9099This turned out to be the "LF versus CR/LF" difference between
9100Windows and Unix.  This appears to be the longstanding issue
9101concerning listing output and error messages.
9102
9103Fixed a problem with the Linux version of compiler where opcode
9104names within error messages were wrong.  This was caused by a
9105slight difference in the output of the Flex tool on Linux versus
9106Windows.
9107
9108Fixed a problem with the Linux compiler where the hex output files
9109contained some garbage data caused by an internal buffer overrun.
9110
9111
9112----------------------------------------
911317 May 2002.  Summary of changes for this release.
9114
9115
91161) ACPI CA Core Subsystem Version 20020517:
9117
9118Implemented a workaround to an BIOS bug discovered on the HP
9119OmniBook where the FADT revision number and the table size are
9120inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
9121behavior is to fallback to using only the ACPI 1.0 fields of the
9122FADT if the table is too small to be a ACPI 2.0 table as claimed
9123by the revision number.  Although this is a BIOS bug, this is a
9124case where the workaround is simple enough and with no side
9125effects, so it seemed prudent to add it.  A warning message is
9126issued, however.
9127
9128Implemented minimum size checks for the fixed-length ACPI tables -
9129- the FADT and FACS, as well as consistency checks between the
9130revision number and the table size.
9131
9132Fixed a reported problem in the table override support where the
9133new table pointer was incorrectly treated as a physical address
9134instead of a logical address.
9135
9136Eliminated the use of the AE_AML_ERROR exception and replaced it
9137with more descriptive codes.
9138
9139Fixed a problem where an exception would occur if an ASL Field was
9140defined with no named Field Units underneath it (used by some
9141index fields).
9142
9143Code and Data Size: Current core subsystem library sizes are shown
9144below.  These are the code and data sizes for the acpica.lib
9145produced by the Microsoft Visual C++ 6.0 compiler, and these
9146values do not include any ACPI driver or OSPM code.  The debug
9147version of the code includes the debug output trace mechanism and
9148has a larger code and data size.  Note that these values will vary
9149depending on the efficiency of the compiler and the compiler
9150options used during generation.
9151
9152  Previous Release
9153    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
9154    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
9155  Current Release:
9156    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
9157    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
9158
9159
9160
91612) Linux
9162
9163Much work done on ACPI init (MADT and PCI IRQ routing support).
9164(Paul D. and Dominik Brodowski)
9165
9166Fix PCI IRQ-related panic on boot (Sam Revitch)
9167
9168Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
9169
9170Fix "MHz" typo (Dominik Brodowski)
9171
9172Fix RTC year 2000 issue (Dominik Brodowski)
9173
9174Preclude multiple button proc entries (Eric Brunet)
9175
9176Moved arch-specific code out of include/platform/aclinux.h
9177
91783) iASL Compiler Version X2044:
9179
9180Implemented error checking for the string used in the EISAID macro
9181(Usually used in the definition of the _HID object.)  The code now
9182strictly enforces the PnP format - exactly 7 characters, 3
9183uppercase letters and 4 hex digits.
9184
9185If a raw string is used in the definition of the _HID object
9186(instead of the EISAID macro), the string must contain all
9187alphanumeric characters (e.g., "*PNP0011" is not allowed because
9188of the asterisk.)
9189
9190Implemented checking for invalid use of ACPI reserved names for
9191most of the name creation operators (Name, Device, Event, Mutex,
9192OperationRegion, PowerResource, Processor, and ThermalZone.)
9193Previously, this check was only performed for control methods.
9194
9195Implemented an additional check on the Name operator to emit an
9196error if a reserved name that must be implemented in ASL as a
9197control method is used.  We know that a reserved name must be a
9198method if it is defined with input arguments.
9199
9200The warning emitted when a namespace object reference is not found
9201during the cross reference phase has been changed into an error.
9202The "External" directive should be used for names defined in other
9203modules.
9204
9205
92064) Tools and Utilities
9207
9208The 16-bit tools (adump16 and aexec16) have been regenerated and
9209tested.
9210
9211Fixed a problem with the output of both acpidump and adump16 where
9212the indentation of closing parentheses and brackets was not
9213
9214aligned properly with the parent block.
9215
9216
9217----------------------------------------
921803 May 2002.  Summary of changes for this release.
9219
9220
92211) ACPI CA Core Subsystem Version 20020503:
9222
9223Added support a new OSL interface that allows the host operating
9224
9225system software to override the DSDT found in the firmware -
9226AcpiOsTableOverride.  With this interface, the OSL can examine the
9227version of the firmware DSDT and replace it with a different one
9228if desired.
9229
9230Added new external interfaces for accessing ACPI registers from
9231device drivers and other system software - AcpiGetRegister and
9232AcpiSetRegister.  This was simply an externalization of the
9233existing AcpiHwBitRegister interfaces.
9234
9235Fixed a regression introduced in the previous build where the
9236ASL/AML CreateField operator always returned an error,
9237"destination must be a NS Node".
9238
9239Extended the maximum time (before failure) to successfully enable
9240ACPI mode to 3 seconds.
9241
9242Code and Data Size: Current core subsystem library sizes are shown
9243below.  These are the code and data sizes for the acpica.lib
9244produced by the Microsoft Visual C++ 6.0 compiler, and these
9245values do not include any ACPI driver or OSPM code.  The debug
9246version of the code includes the debug output trace mechanism and
9247has a larger code and data size.  Note that these values will vary
9248depending on the efficiency of the compiler and the compiler
9249options used during generation.
9250
9251  Previous Release
9252    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9253    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9254  Current Release:
9255    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
9256    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
9257
9258
92592) Linux
9260
9261Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
9262free. While 3 out of 4 of our in-house systems work fine, the last
9263one still hangs when testing the LAPIC timer.
9264
9265Renamed many files in 2.5 kernel release to omit "acpi_" from the
9266name.
9267
9268Added warning on boot for Presario 711FR.
9269
9270Sleep improvements (Pavel Machek)
9271
9272ACPI can now be built without CONFIG_PCI enabled.
9273
9274IA64: Fixed memory map functions (JI Lee)
9275
9276
92773) iASL Compiler Version X2043:
9278
9279Added support to allow the compiler to be integrated into the MS
9280VC++ development environment for one-button compilation of single
9281files or entire projects -- with error-to-source-line mapping.
9282
9283Implemented support for compile-time constant folding for the
9284Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
9285specification.  This allows the ASL writer to use expressions
9286instead of Integer/Buffer/String constants in terms that must
9287evaluate to constants at compile time and will also simplify the
9288emitted AML in any such sub-expressions that can be folded
9289(evaluated at compile-time.)  This increases the size of the
9290compiler significantly because a portion of the ACPI CA AML
9291interpreter is included within the compiler in order to pre-
9292evaluate constant expressions.
9293
9294
9295Fixed a problem with the "Unicode" ASL macro that caused the
9296compiler to fault.  (This macro is used in conjunction with the
9297_STR reserved name.)
9298
9299Implemented an AML opcode optimization to use the Zero, One, and
9300Ones opcodes where possible to further reduce the size of integer
9301constants and thus reduce the overall size of the generated AML
9302code.
9303
9304Implemented error checking for new reserved terms for ACPI version
93052.0A.
9306
9307Implemented the -qr option to display the current list of ACPI
9308reserved names known to the compiler.
9309
9310Implemented the -qc option to display the current list of ASL
9311operators that are allowed within constant expressions and can
9312therefore be folded at compile time if the operands are constants.
9313
9314
93154) Documentation
9316
9317Updated the Programmer's Reference for new interfaces, data types,
9318and memory allocation model options.
9319
9320Updated the iASL Compiler User Reference to apply new format and
9321add information about new features and options.
9322
9323----------------------------------------
932419 April 2002.  Summary of changes for this release.
9325
93261) ACPI CA Core Subsystem Version 20020419:
9327
9328The source code base for the Core Subsystem has been completely
9329cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
9330versions.  The Lint option files used are included in the
9331/acpi/generate/lint directory.
9332
9333Implemented enhanced status/error checking across the entire
9334Hardware manager subsystem.  Any hardware errors (reported from
9335the OSL) are now bubbled up and will abort a running control
9336method.
9337
9338
9339Fixed a problem where the per-ACPI-table integer width (32 or 64)
9340was stored only with control method nodes, causing a fault when
9341non-control method code was executed during table loading.  The
9342solution implemented uses a global variable to indicate table
9343width across the entire ACPI subsystem.  Therefore, ACPI CA does
9344not support mixed integer widths across different ACPI tables
9345(DSDT, SSDT).
9346
9347Fixed a problem where NULL extended fields (X fields) in an ACPI
93482.0 ACPI FADT caused the table load to fail.  Although the
9349existing ACPI specification is a bit fuzzy on this topic, the new
9350behavior is to fall back on a ACPI 1.0 field if the corresponding
9351ACPI 2.0 X field is zero (even though the table revision indicates
9352a full ACPI 2.0 table.)  The ACPI specification will be updated to
9353clarify this issue.
9354
9355Fixed a problem with the SystemMemory operation region handler
9356where memory was always accessed byte-wise even if the AML-
9357specified access width was larger than a byte.  This caused
9358problems on systems with memory-mapped I/O.  Memory is now
9359accessed with the width specified.  On systems that do not support
9360non-aligned transfers, a check is made to guarantee proper address
9361alignment before proceeding in order to avoid an AML-caused
9362alignment fault within the kernel.
9363
9364
9365Fixed a problem with the ExtendedIrq resource where only one byte
9366of the 4-byte Irq field was extracted.
9367
9368Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
9369function was out of date and required a rewrite.
9370
9371Code and Data Size: Current core subsystem library sizes are shown
9372below.  These are the code and data sizes for the acpica.lib
9373produced by the Microsoft Visual C++ 6.0 compiler, and these
9374values do not include any ACPI driver or OSPM code.  The debug
9375version of the code includes the debug output trace mechanism and
9376has a larger code and data size.  Note that these values will vary
9377depending on the efficiency of the compiler and the compiler
9378options used during generation.
9379
9380  Previous Release
9381    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9382    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9383  Current Release:
9384    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9385    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9386
9387
93882) Linux
9389
9390PCI IRQ routing fixes (Dominik Brodowski)
9391
9392
93933) iASL Compiler Version X2042:
9394
9395Implemented an additional compile-time error check for a field
9396unit whose size + minimum access width would cause a run-time
9397access beyond the end-of-region.  Previously, only the field size
9398itself was checked.
9399
9400The Core subsystem and iASL compiler now share a common parse
9401object in preparation for compile-time evaluation of the type
94023/4/5 ASL operators.
9403
9404
9405----------------------------------------
9406Summary of changes for this release: 03_29_02
9407
94081) ACPI CA Core Subsystem Version 20020329:
9409
9410Implemented support for late evaluation of TermArg operands to
9411Buffer and Package objects.  This allows complex expressions to be
9412used in the declarations of these object types.
9413
9414Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
94151.0, if the field was larger than 32 bits, it was returned as a
9416buffer - otherwise it was returned as an integer.  In ACPI 2.0,
9417the field is returned as a buffer only if the field is larger than
941864 bits.  The TableRevision is now considered when making this
9419conversion to avoid incompatibility with existing ASL code.
9420
9421Implemented logical addressing for AcpiOsGetRootPointer.  This
9422allows an RSDP with either a logical or physical address.  With
9423this support, the host OS can now override all ACPI tables with
9424one logical RSDP.  Includes implementation of  "typed" pointer
9425support to allow a common data type for both physical and logical
9426pointers internally.  This required a change to the
9427AcpiOsGetRootPointer interface.
9428
9429Implemented the use of ACPI 2.0 Generic Address Structures for all
9430GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
9431mapped I/O for these ACPI features.
9432
9433Initialization now ignores not only non-required tables (All
9434tables other than the FADT, FACS, DSDT, and SSDTs), but also does
9435not validate the table headers of unrecognized tables.
9436
9437Fixed a problem where a notify handler could only be
9438installed/removed on an object of type Device.  All "notify"
9439
9440objects are now supported -- Devices, Processor, Power, and
9441Thermal.
9442
9443Removed most verbosity from the ACPI_DB_INFO debug level.  Only
9444critical information is returned when this debug level is enabled.
9445
9446Code and Data Size: Current core subsystem library sizes are shown
9447below.  These are the code and data sizes for the acpica.lib
9448produced by the Microsoft Visual C++ 6.0 compiler, and these
9449values do not include any ACPI driver or OSPM code.  The debug
9450version of the code includes the debug output trace mechanism and
9451has a larger code and data size.  Note that these values will vary
9452depending on the efficiency of the compiler and the compiler
9453options used during generation.
9454
9455  Previous Release
9456    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9457    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9458  Current Release:
9459    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9460    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9461
9462
94632) Linux:
9464
9465The processor driver (acpi_processor.c) now fully supports ACPI
94662.0-based processor performance control (e.g. Intel(R)
9467SpeedStep(TM) technology) Note that older laptops that only have
9468the Intel "applet" interface are not supported through this.  The
9469'limit' and 'performance' interface (/proc) are fully functional.
9470[Note that basic policy for controlling performance state
9471transitions will be included in the next version of ospmd.]  The
9472idle handler was modified to more aggressively use C2, and PIIX4
9473errata handling underwent a complete overhaul (big thanks to
9474Dominik Brodowski).
9475
9476Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
9477based devices in the ACPI namespace are now dynamically bound
9478(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
9479This allows, among other things, ACPI to resolve bus numbers for
9480subordinate PCI bridges.
9481
9482Enhanced PCI IRQ routing to get the proper bus number for _PRT
9483entries defined underneath PCI bridges.
9484
9485Added IBM 600E to bad bios list due to invalid _ADR value for
9486PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
9487
9488In the process of adding full MADT support (e.g. IOAPIC) for IA32
9489(acpi.c, mpparse.c) -- stay tuned.
9490
9491Added back visual differentiation between fixed-feature and
9492control-method buttons in dmesg.  Buttons are also subtyped (e.g.
9493button/power/PWRF) to simplify button identification.
9494
9495We no longer use -Wno-unused when compiling debug. Please ignore
9496any "_THIS_MODULE defined but not used" messages.
9497
9498Can now shut down the system using "magic sysrq" key.
9499
9500
95013) iASL Compiler version 2041:
9502
9503Fixed a problem where conversion errors for hex/octal/decimal
9504constants were not reported.
9505
9506Implemented a fix for the General Register template Address field.
9507This field was 8 bits when it should be 64.
9508
9509Fixed a problem where errors/warnings were no longer being emitted
9510within the listing output file.
9511
9512Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
9513exactly 4 characters, alphanumeric only.
9514
9515
9516
9517
9518----------------------------------------
9519Summary of changes for this release: 03_08_02
9520
9521
95221) ACPI CA Core Subsystem Version 20020308:
9523
9524Fixed a problem with AML Fields where the use of the "AccessAny"
9525keyword could cause an interpreter error due to attempting to read
9526or write beyond the end of the parent Operation Region.
9527
9528Fixed a problem in the SystemMemory Operation Region handler where
9529an attempt was made to map memory beyond the end of the region.
9530This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
9531errors on some Linux systems.
9532
9533Fixed a problem where the interpreter/namespace "search to root"
9534algorithm was not functioning for some object types.  Relaxed the
9535internal restriction on the search to allow upsearches for all
9536external object types as well as most internal types.
9537
9538
95392) Linux:
9540
9541We now use safe_halt() macro versus individual calls to sti | hlt.
9542
9543Writing to the processor limit interface should now work. "echo 1"
9544will increase the limit, 2 will decrease, and 0 will reset to the
9545
9546default.
9547
9548
95493) ASL compiler:
9550
9551Fixed segfault on Linux version.
9552
9553
9554----------------------------------------
9555Summary of changes for this release: 02_25_02
9556
95571) ACPI CA Core Subsystem:
9558
9559
9560Fixed a problem where the GPE bit masks were not initialized
9561properly, causing erratic GPE behavior.
9562
9563Implemented limited support for multiple calling conventions.  The
9564code can be generated with either the VPL (variable parameter
9565list, or "C") convention, or the FPL (fixed parameter list, or
9566"Pascal") convention.  The core subsystem is about 3.4% smaller
9567when generated with FPL.
9568
9569
95702) Linux
9571
9572Re-add some /proc/acpi/event functionality that was lost during
9573the rewrite
9574
9575Resolved issue with /proc events for fixed-feature buttons showing
9576up as the system device.
9577
9578Fixed checks on C2/C3 latencies to be inclusive of maximum values.
9579
9580Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
9581
9582Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
9583
9584Fixed limit interface & usage to fix bugs with passive cooling
9585hysterisis.
9586
9587Restructured PRT support.
9588
9589
9590----------------------------------------
9591Summary of changes for this label: 02_14_02
9592
9593
95941) ACPI CA Core Subsystem:
9595
9596Implemented support in AcpiLoadTable to allow loading of FACS and
9597FADT tables.
9598
9599Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
9600been removed.  All 64-bit platforms should be migrated to the ACPI
96012.0 tables.  The actbl71.h header has been removed from the source
9602tree.
9603
9604All C macros defined within the subsystem have been prefixed with
9605"ACPI_" to avoid collision with other system include files.
9606
9607Removed the return value for the two AcpiOsPrint interfaces, since
9608it is never used and causes lint warnings for ignoring the return
9609value.
9610
9611Added error checking to all internal mutex acquire and release
9612calls.  Although a failure from one of these interfaces is
9613probably a fatal system error, these checks will cause the
9614immediate abort of the currently executing method or interface.
9615
9616Fixed a problem where the AcpiSetCurrentResources interface could
9617fault.  This was a side effect of the deployment of the new memory
9618allocation model.
9619
9620Fixed a couple of problems with the Global Lock support introduced
9621in the last major build.  The "common" (1.0/2.0) internal FACS was
9622being overwritten with the FACS signature and clobbering the
9623Global Lock pointer.  Also, the actual firmware FACS was being
9624unmapped after construction of the "common" FACS, preventing
9625access to the actual Global Lock field within it.  The "common"
9626internal FACS is no longer installed as an actual ACPI table; it
9627is used simply as a global.
9628
9629Code and Data Size: Current core subsystem library sizes are shown
9630below.  These are the code and data sizes for the acpica.lib
9631produced by the Microsoft Visual C++ 6.0 compiler, and these
9632values do not include any ACPI driver or OSPM code.  The debug
9633version of the code includes the debug output trace mechanism and
9634has a larger code and data size.  Note that these values will vary
9635depending on the efficiency of the compiler and the compiler
9636options used during generation.
9637
9638  Previous Release (02_07_01)
9639    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9640    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9641  Current Release:
9642    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9643    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9644
9645
96462) Linux
9647
9648Updated Linux-specific code for core macro and OSL interface
9649changes described above.
9650
9651Improved /proc/acpi/event. It now can be opened only once and has
9652proper poll functionality.
9653
9654Fixed and restructured power management (acpi_bus).
9655
9656Only create /proc "view by type" when devices of that class exist.
9657
9658Fixed "charging/discharging" bug (and others) in acpi_battery.
9659
9660Improved thermal zone code.
9661
9662
96633) ASL Compiler, version X2039:
9664
9665
9666Implemented the new compiler restriction on ASL String hex/octal
9667escapes to non-null, ASCII values.  An error results if an invalid
9668value is used.  (This will require an ACPI 2.0 specification
9669change.)
9670
9671AML object labels that are output to the optional C and ASM source
9672are now prefixed with both the ACPI table signature and table ID
9673to help guarantee uniqueness within a large BIOS project.
9674
9675
9676----------------------------------------
9677Summary of changes for this label: 02_01_02
9678
96791) ACPI CA Core Subsystem:
9680
9681ACPI 2.0 support is complete in the entire Core Subsystem and the
9682ASL compiler. All new ACPI 2.0 operators are implemented and all
9683other changes for ACPI 2.0 support are complete.  With
9684simultaneous code and data optimizations throughout the subsystem,
9685ACPI 2.0 support has been implemented with almost no additional
9686cost in terms of code and data size.
9687
9688Implemented a new mechanism for allocation of return buffers.  If
9689the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
9690be allocated on behalf of the caller.  Consolidated all return
9691buffer validation and allocation to a common procedure.  Return
9692buffers will be allocated via the primary OSL allocation interface
9693since it appears that a separate pool is not needed by most users.
9694If a separate pool is required for these buffers, the caller can
9695still use the original mechanism and pre-allocate the buffer(s).
9696
9697Implemented support for string operands within the DerefOf
9698operator.
9699
9700Restructured the Hardware and Event managers to be table driven,
9701simplifying the source code and reducing the amount of generated
9702code.
9703
9704Split the common read/write low-level ACPI register bitfield
9705procedure into a separate read and write, simplifying the code
9706considerably.
9707
9708Obsoleted the AcpiOsCallocate OSL interface.  This interface was
9709used only a handful of times and didn't have enough critical mass
9710for a separate interface.  Replaced with a common calloc procedure
9711in the core.
9712
9713Fixed a reported problem with the GPE number mapping mechanism
9714that allows GPE1 numbers to be non-contiguous with GPE0.
9715Reorganized the GPE information and shrunk a large array that was
9716originally large enough to hold info for all possible GPEs (256)
9717to simply large enough to hold all GPEs up to the largest GPE
9718number on the machine.
9719
9720Fixed a reported problem with resource structure alignment on 64-
9721bit platforms.
9722
9723Changed the AcpiEnableEvent and AcpiDisableEvent external
9724interfaces to not require any flags for the common case of
9725enabling/disabling a GPE.
9726
9727Implemented support to allow a "Notify" on a Processor object.
9728
9729Most TBDs in comments within the source code have been resolved
9730and eliminated.
9731
9732
9733Fixed a problem in the interpreter where a standalone parent
9734prefix (^) was not handled correctly in the interpreter and
9735debugger.
9736
9737Removed obsolete and unnecessary GPE save/restore code.
9738
9739Implemented Field support in the ASL Load operator.  This allows a
9740table to be loaded from a named field, in addition to loading a
9741table directly from an Operation Region.
9742
9743Implemented timeout and handle support in the external Global Lock
9744interfaces.
9745
9746Fixed a problem in the AcpiDump utility where pathnames were no
9747longer being generated correctly during the dump of named objects.
9748
9749Modified the AML debugger to give a full display of if/while
9750predicates instead of just one AML opcode at a time.  (The
9751predicate can have several nested ASL statements.)  The old method
9752was confusing during single stepping.
9753
9754Code and Data Size: Current core subsystem library sizes are shown
9755below. These are the code and data sizes for the acpica.lib
9756produced by the Microsoft Visual C++ 6.0 compiler, and these
9757values do not include any ACPI driver or OSPM code.  The debug
9758version of the code includes the debug output trace mechanism and
9759has a larger code and data size.  Note that these values will vary
9760depending on the efficiency of the compiler and the compiler
9761options used during generation.
9762
9763  Previous Release (12_18_01)
9764     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9765     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9766   Current Release:
9767     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9768     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9769
97702) Linux
9771
9772 Implemented fix for PIIX reverse throttling errata (Processor
9773driver)
9774
9775Added new Limit interface (Processor and Thermal drivers)
9776
9777New thermal policy (Thermal driver)
9778
9779Many updates to /proc
9780
9781Battery "low" event support (Battery driver)
9782
9783Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9784
9785IA32 - IA64 initialization unification, no longer experimental
9786
9787Menuconfig options redesigned
9788
97893) ASL Compiler, version X2037:
9790
9791Implemented several new output features to simplify integration of
9792AML code into  firmware: 1) Output the AML in C source code with
9793labels for each named ASL object.  The    original ASL source code
9794is interleaved as C comments. 2) Output the AML in ASM source code
9795with labels and interleaved ASL    source. 3) Output the AML in
9796raw hex table form, in either C or ASM.
9797
9798Implemented support for optional string parameters to the
9799LoadTable operator.
9800
9801Completed support for embedded escape sequences within string
9802literals.  The compiler now supports all single character escapes
9803as well as the Octal and Hex escapes.  Note: the insertion of a
9804null byte into a string literal (via the hex/octal escape) causes
9805the string to be immediately terminated.  A warning is issued.
9806
9807Fixed a problem where incorrect AML was generated for the case
9808where an ASL namepath consists of a single parent prefix (
9809
9810) with no trailing name segments.
9811
9812The compiler has been successfully generated with a 64-bit C
9813compiler.
9814
9815
9816
9817
9818----------------------------------------
9819Summary of changes for this label: 12_18_01
9820
98211) Linux
9822
9823Enhanced blacklist with reason and severity fields. Any table's
9824signature may now be used to identify a blacklisted system.
9825
9826Call _PIC control method to inform the firmware which interrupt
9827model the OS is using. Turn on any disabled link devices.
9828
9829Cleaned up busmgr /proc error handling (Andreas Dilger)
9830
9831 2) ACPI CA Core Subsystem:
9832
9833Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
9834while loop)
9835
9836Completed implementation of the ACPI 2.0 "Continue",
9837"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9838operators.  All new ACPI 2.0 operators are now implemented in both
9839the ASL compiler and the AML interpreter.  The only remaining ACPI
98402.0 task is support for the String data type in the DerefOf
9841operator.  Fixed a problem with AcquireMutex where the status code
9842was lost if the caller had to actually wait for the mutex.
9843
9844Increased the maximum ASL Field size from 64K bits to 4G bits.
9845
9846Completed implementation of the external Global Lock interfaces --
9847AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
9848Handler parameters were added.
9849
9850Completed another pass at removing warnings and issues when
9851compiling with 64-bit compilers.  The code now compiles cleanly
9852with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
9853add and subtract (diff) macros have changed considerably.
9854
9855
9856Created and deployed a new ACPI_SIZE type that is 64-bits wide on
985764-bit platforms, 32-bits on all others.  This type is used
9858wherever memory allocation and/or the C sizeof() operator is used,
9859and affects the OSL memory allocation interfaces AcpiOsAllocate
9860and AcpiOsCallocate.
9861
9862Implemented sticky user breakpoints in the AML debugger.
9863
9864Code and Data Size: Current core subsystem library sizes are shown
9865below. These are the code and data sizes for the acpica.lib
9866produced by the Microsoft Visual C++ 6.0 compiler, and these
9867values do not include any ACPI driver or OSPM code.  The debug
9868version of the code includes the debug output trace mechanism and
9869has a larger code and data size. Note that these values will vary
9870depending on the efficiency of the compiler and the compiler
9871options used during generation.
9872
9873  Previous Release (12_05_01)
9874     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9875     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9876   Current Release:
9877     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9878     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9879
9880 3) ASL Compiler, version X2034:
9881
9882Now checks for (and generates an error if detected) the use of a
9883Break or Continue statement without an enclosing While statement.
9884
9885
9886Successfully generated the compiler with the Intel 64-bit C
9887compiler.
9888
9889 ----------------------------------------
9890Summary of changes for this label: 12_05_01
9891
9892 1) ACPI CA Core Subsystem:
9893
9894The ACPI 2.0 CopyObject operator is fully implemented.  This
9895operator creates a new copy of an object (and is also used to
9896bypass the "implicit conversion" mechanism of the Store operator.)
9897
9898The ACPI 2.0 semantics for the SizeOf operator are fully
9899implemented.  The change is that performing a SizeOf on a
9900reference object causes an automatic dereference of the object to
9901tha actual value before the size is evaluated. This behavior was
9902undefined in ACPI 1.0.
9903
9904The ACPI 2.0 semantics for the Extended IRQ resource descriptor
9905have been implemented.  The interrupt polarity and mode are now
9906independently set.
9907
9908Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
9909appearing in Package objects were not properly converted to
9910integers when the internal Package was converted to an external
9911object (via the AcpiEvaluateObject interface.)
9912
9913Fixed a problem with the namespace object deletion mechanism for
9914objects created by control methods.  There were two parts to this
9915problem: 1) Objects created during the initialization phase method
9916parse were not being deleted, and 2) The object owner ID mechanism
9917to track objects was broken.
9918
9919Fixed a problem where the use of the ASL Scope operator within a
9920control method would result in an invalid opcode exception.
9921
9922Fixed a problem introduced in the previous label where the buffer
9923length required for the _PRT structure was not being returned
9924correctly.
9925
9926Code and Data Size: Current core subsystem library sizes are shown
9927below. These are the code and data sizes for the acpica.lib
9928produced by the Microsoft Visual C++ 6.0 compiler, and these
9929values do not include any ACPI driver or OSPM code.  The debug
9930version of the code includes the debug output trace mechanism and
9931has a larger code and data size.  Note that these values will vary
9932depending on the efficiency of the compiler and the compiler
9933options used during generation.
9934
9935  Previous Release (11_20_01)
9936     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9937     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9938
9939  Current Release:
9940     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9941     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9942
9943 2) Linux:
9944
9945Updated all files to apply cleanly against 2.4.16.
9946
9947Added basic PCI Interrupt Routing Table (PRT) support for IA32
9948(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
9949version supports both static and dyanmic PRT entries, but dynamic
9950entries are treated as if they were static (not yet
9951reconfigurable).  Architecture- specific code to use this data is
9952absent on IA32 but should be available shortly.
9953
9954Changed the initialization sequence to start the ACPI interpreter
9955(acpi_init) prior to initialization of the PCI driver (pci_init)
9956in init/main.c.  This ordering is required to support PRT and
9957facilitate other (future) enhancement.  A side effect is that the
9958ACPI bus driver and certain device drivers can no longer be loaded
9959as modules.
9960
9961Modified the 'make menuconfig' options to allow PCI Interrupt
9962Routing support to be included without the ACPI Bus and other
9963device drivers.
9964
9965 3) ASL Compiler, version X2033:
9966
9967Fixed some issues with the use of the new CopyObject and
9968DataTableRegion operators.  Both are fully functional.
9969
9970 ----------------------------------------
9971Summary of changes for this label: 11_20_01
9972
9973 20 November 2001.  Summary of changes for this release.
9974
9975 1) ACPI CA Core Subsystem:
9976
9977Updated Index support to match ACPI 2.0 semantics.  Storing a
9978Integer, String, or Buffer to an Index of a Buffer will store only
9979the least-significant byte of the source to the Indexed buffer
9980byte.  Multiple writes are not performed.
9981
9982Fixed a problem where the access type used in an AccessAs ASL
9983operator was not recorded correctly into the field object.
9984
9985Fixed a problem where ASL Event objects were created in a
9986signalled state. Events are now created in an unsignalled state.
9987
9988The internal object cache is now purged after table loading and
9989initialization to reduce the use of dynamic kernel memory -- on
9990the assumption that object use is greatest during the parse phase
9991of the entire table (versus the run-time use of individual control
9992methods.)
9993
9994ACPI 2.0 variable-length packages are now fully operational.
9995
9996Code and Data Size: Code and Data optimizations have permitted new
9997feature development with an actual reduction in the library size.
9998Current core subsystem library sizes are shown below.  These are
9999the code and data sizes for the acpica.lib produced by the
10000Microsoft Visual C++ 6.0 compiler, and these values do not include
10001any ACPI driver or OSPM code.  The debug version of the code
10002includes the debug output trace mechanism and has a larger code
10003and data size.  Note that these values will vary depending on the
10004efficiency of the compiler and the compiler options used during
10005generation.
10006
10007  Previous Release (11_09_01):
10008     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
10009     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
10010
10011  Current Release:
10012     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
10013     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
10014
10015 2) Linux:
10016
10017Enhanced the ACPI boot-time initialization code to allow the use
10018of Local APIC tables for processor enumeration on IA-32, and to
10019pave the way for a fully MPS-free boot (on SMP systems) in the
10020near future.  This functionality replaces
10021arch/i386/kernel/acpitables.c, which was introduced in an earlier
100222.4.15-preX release.  To enable this feature you must add
10023"acpi_boot=on" to the kernel command line -- see the help entry
10024for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
10025the works...
10026
10027Restructured the configuration options to allow boot-time table
10028parsing support without inclusion of the ACPI Interpreter (and
10029other) code.
10030
10031NOTE: This release does not include fixes for the reported events,
10032power-down, and thermal passive cooling issues (coming soon).
10033
10034 3) ASL Compiler:
10035
10036Added additional typechecking for Fields within restricted access
10037Operation Regions.  All fields within EC and CMOS regions must be
10038declared with ByteAcc. All fields withing SMBus regions must be
10039declared with the BufferAcc access type.
10040
10041Fixed a problem where the listing file output of control methods
10042no longer interleaved the actual AML code with the ASL source
10043code.
10044
10045
10046
10047
10048----------------------------------------
10049Summary of changes for this label: 11_09_01
10050
100511) ACPI CA Core Subsystem:
10052
10053Implemented ACPI 2.0-defined support for writes to fields with a
10054Buffer, String, or Integer source operand that is smaller than the
10055target field. In these cases, the source operand is zero-extended
10056to fill the target field.
10057
10058Fixed a problem where a Field starting bit offset (within the
10059parent operation region) was calculated incorrectly if the
10060
10061alignment of the field differed from the access width.  This
10062affected CreateWordField, CreateDwordField, CreateQwordField, and
10063possibly other fields that use the "AccessAny" keyword.
10064
10065Fixed a problem introduced in the 11_02_01 release where indirect
10066stores through method arguments did not operate correctly.
10067
100682) Linux:
10069
10070Implemented boot-time ACPI table parsing support
10071(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
10072facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
10073legacy BIOS interfaces (e.g. MPS) for the configuration of system
10074processors, memory, and interrupts during setup_arch().  Note that
10075this patch does not include the required architecture-specific
10076changes required to apply this information -- subsequent patches
10077will be posted for both IA32 and IA64 to achieve this.
10078
10079Added low-level sleep support for IA32 platforms, courtesy of Pat
10080Mochel. This allows IA32 systems to transition to/from various
10081sleeping states (e.g. S1, S3), although the lack of a centralized
10082driver model and power-manageable drivers will prevent its
10083(successful) use on most systems.
10084
10085Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
10086submenu, unified IA32 and IA64 options, added new "Boot using ACPI
10087tables" option, etc.
10088
10089Increased the default timeout for the EC driver from 1ms to 10ms
10090(1000 cycles of 10us) to try to address AE_TIME errors during EC
10091transactions.
10092
10093 ----------------------------------------
10094Summary of changes for this label: 11_02_01
10095
100961) ACPI CA Core Subsystem:
10097
10098ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
10099(QWordAcc keyword). All ACPI 2.0 64-bit support is now
10100implemented.
10101
10102OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
10103changes to support ACPI 2.0 Qword field access.  Read/Write
10104PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
10105accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
10106the value parameter for the address space handler interface is now
10107an ACPI_INTEGER.  OSL implementations of these interfaces must now
10108handle the case where the Width parameter is 64.
10109
10110Index Fields: Fixed a problem where unaligned bit assembly and
10111disassembly for IndexFields was not supported correctly.
10112
10113Index and Bank Fields:  Nested Index and Bank Fields are now
10114supported. During field access, a check is performed to ensure
10115that the value written to an Index or Bank register is not out of
10116the range of the register.  The Index (or Bank) register is
10117written before each access to the field data. Future support will
10118include allowing individual IndexFields to be wider than the
10119DataRegister width.
10120
10121Fields: Fixed a problem where the AML interpreter was incorrectly
10122attempting to write beyond the end of a Field/OpRegion.  This was
10123a boundary case that occurred when a DWORD field was written to a
10124BYTE access OpRegion, forcing multiple writes and causing the
10125interpreter to write one datum too many.
10126
10127Fields: Fixed a problem with Field/OpRegion access where the
10128starting bit address of a field was incorrectly calculated if the
10129current access type was wider than a byte (WordAcc, DwordAcc, or
10130QwordAcc).
10131
10132Fields: Fixed a problem where forward references to individual
10133FieldUnits (individual Field names within a Field definition) were
10134not resolved during the AML table load.
10135
10136Fields: Fixed a problem where forward references from a Field
10137definition to the parent Operation Region definition were not
10138resolved during the AML table load.
10139
10140Fields: Duplicate FieldUnit names within a scope are now detected
10141during AML table load.
10142
10143Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
10144returned an incorrect name for the root node.
10145
10146Code and Data Size: Code and Data optimizations have permitted new
10147feature development with an actual reduction in the library size.
10148Current core subsystem library sizes are shown below.  These are
10149the code and data sizes for the acpica.lib produced by the
10150Microsoft Visual C++ 6.0 compiler, and these values do not include
10151any ACPI driver or OSPM code.  The debug version of the code
10152includes the debug output trace mechanism and has a larger code
10153and data size.  Note that these values will vary depending on the
10154efficiency of the compiler and the compiler options used during
10155generation.
10156
10157  Previous Release (10_18_01):
10158     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
10159     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
10160
10161  Current Release:
10162     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
10163     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
10164
10165 2) Linux:
10166
10167Improved /proc processor output (Pavel Machek) Re-added
10168MODULE_LICENSE("GPL") to all modules.
10169
10170 3) ASL Compiler version X2030:
10171
10172Duplicate FieldUnit names within a scope are now detected and
10173flagged as errors.
10174
10175 4) Documentation:
10176
10177Programmer Reference updated to reflect OSL and address space
10178handler interface changes described above.
10179
10180----------------------------------------
10181Summary of changes for this label: 10_18_01
10182
10183ACPI CA Core Subsystem:
10184
10185Fixed a problem with the internal object reference count mechanism
10186that occasionally caused premature object deletion. This resolves
10187all of the outstanding problem reports where an object is deleted
10188in the middle of an interpreter evaluation.  Although this problem
10189only showed up in rather obscure cases, the solution to the
10190problem involved an adjustment of all reference counts involving
10191objects attached to namespace nodes.
10192
10193Fixed a problem with Field support in the interpreter where
10194writing to an aligned field whose length is an exact multiple (2
10195or greater) of the field access granularity would cause an attempt
10196to write beyond the end of the field.
10197
10198The top level AML opcode execution functions within the
10199interpreter have been renamed with a more meaningful and
10200consistent naming convention.  The modules exmonad.c and
10201exdyadic.c were eliminated.  New modules are exoparg1.c,
10202exoparg2.c, exoparg3.c, and exoparg6.c.
10203
10204Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
10205
10206Fixed a problem where the AML debugger was causing some internal
10207objects to not be deleted during subsystem termination.
10208
10209Fixed a problem with the external AcpiEvaluateObject interface
10210where the subsystem would fault if the named object to be
10211evaluated refered to a constant such as Zero, Ones, etc.
10212
10213Fixed a problem with IndexFields and BankFields where the
10214subsystem would fault if the index, data, or bank registers were
10215not defined in the same scope as the field itself.
10216
10217Added printf format string checking for compilers that support
10218this feature.  Corrected more than 50 instances of issues with
10219format specifiers within invocations of ACPI_DEBUG_PRINT
10220throughout the core subsystem code.
10221
10222The ASL "Revision" operator now returns the ACPI support level
10223implemented in the core - the value "2" since the ACPI 2.0 support
10224is more than 50% implemented.
10225
10226Enhanced the output of the AML debugger "dump namespace" command
10227to output in a more human-readable form.
10228
10229Current core subsystem library code sizes are shown below.  These
10230
10231are the code and data sizes for the acpica.lib produced by the
10232Microsoft Visual C++ 6.0 compiler, and these values do not include
10233any ACPI driver or OSPM code.  The debug version of the code
10234includes the full debug trace mechanism -- leading to a much
10235
10236larger code and data size.  Note that these values will vary
10237depending on the efficiency of the compiler and the compiler
10238options used during generation.
10239
10240     Previous Label (09_20_01):
10241     Non-Debug Version:    65K Code,     5K Data,     70K Total
10242     Debug Version:       138K Code,    58K Data,    196K Total
10243
10244     This Label:
10245
10246     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
10247     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
10248
10249Linux:
10250
10251Implemented a "Bad BIOS Blacklist" to track machines that have
10252known ASL/AML problems.
10253
10254Enhanced the /proc interface for the thermal zone driver and added
10255support for _HOT (the critical suspend trip point).  The 'info'
10256file now includes threshold/policy information, and allows setting
10257of _SCP (cooling preference) and _TZP (polling frequency) values
10258to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
10259frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
10260preference to the passive/quiet mode (if supported by the ASL).
10261
10262Implemented a workaround for a gcc bug that resuted in an OOPs
10263when loading the control method battery driver.
10264
10265 ----------------------------------------
10266Summary of changes for this label: 09_20_01
10267
10268 ACPI CA Core Subsystem:
10269
10270The AcpiEnableEvent and AcpiDisableEvent interfaces have been
10271modified to allow individual GPE levels to be flagged as wake-
10272enabled (i.e., these GPEs are to remain enabled when the platform
10273sleeps.)
10274
10275The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
10276support wake-enabled GPEs.  This means that upon entering the
10277sleep state, all GPEs that are not wake-enabled are disabled.
10278When leaving the sleep state, these GPEs are reenabled.
10279
10280A local double-precision divide/modulo module has been added to
10281enhance portability to OS kernels where a 64-bit math library is
10282not available.  The new module is "utmath.c".
10283
10284Several optimizations have been made to reduce the use of CPU
10285stack.  Originally over 2K, the maximum stack usage is now below
102862K at 1860  bytes (1.82k)
10287
10288Fixed a problem with the AcpiGetFirmwareTable interface where the
10289root table pointer was not mapped into a logical address properly.
10290
10291Fixed a problem where a NULL pointer was being dereferenced in the
10292interpreter code for the ASL Notify operator.
10293
10294Fixed a problem where the use of the ASL Revision operator
10295returned an error. This operator now returns the current version
10296of the ACPI CA core subsystem.
10297
10298Fixed a problem where objects passed as control method parameters
10299to AcpiEvaluateObject were always deleted at method termination.
10300However, these objects may end up being stored into the namespace
10301by the called method.  The object reference count mechanism was
10302applied to these objects instead of a force delete.
10303
10304Fixed a problem where static strings or buffers (contained in the
10305AML code) that are declared as package elements within the ASL
10306code could cause a fault because the interpreter would attempt to
10307delete them.  These objects are now marked with the "static
10308object" flag to prevent any attempt to delete them.
10309
10310Implemented an interpreter optimization to use operands directly
10311from the state object instead of extracting the operands to local
10312variables.  This reduces stack use and code size, and improves
10313performance.
10314
10315The module exxface.c was eliminated as it was an unnecessary extra
10316layer of code.
10317
10318Current core subsystem library code sizes are shown below.  These
10319are the code and data sizes for the acpica.lib produced by the
10320Microsoft Visual C++ 6.0 compiler, and these values do not include
10321any ACPI driver or OSPM code.  The debug version of the code
10322includes the full debug trace mechanism -- leading to a much
10323larger code and data size.  Note that these values will vary
10324depending on the efficiency of the compiler and the compiler
10325options used during generation.
10326
10327  Non-Debug Version:  65K Code,   5K Data,   70K Total
10328(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
10329Total  (Previously 195K)
10330
10331Linux:
10332
10333Support for ACPI 2.0 64-bit integers has been added.   All ACPI
10334Integer objects are now 64 bits wide
10335
10336All Acpi data types and structures are now in lower case.  Only
10337Acpi macros are upper case for differentiation.
10338
10339 Documentation:
10340
10341Changes to the external interfaces as described above.
10342
10343 ----------------------------------------
10344Summary of changes for this label: 08_31_01
10345
10346 ACPI CA Core Subsystem:
10347
10348A bug with interpreter implementation of the ASL Divide operator
10349was found and fixed.  The implicit function return value (not the
10350explicit store operands) was returning the remainder instead of
10351the quotient.  This was a longstanding bug and it fixes several
10352known outstanding issues on various platforms.
10353
10354The ACPI_DEBUG_PRINT and function trace entry/exit macros have
10355been further optimized for size.  There are 700 invocations of the
10356DEBUG_PRINT macro alone, so each optimization reduces the size of
10357the debug version of the subsystem significantly.
10358
10359A stack trace mechanism has been implemented.  The maximum stack
10360usage is about 2K on 32-bit platforms.  The debugger command "stat
10361stack" will display the current maximum stack usage.
10362
10363All public symbols and global variables within the subsystem are
10364now prefixed with the string "Acpi".  This keeps all of the
10365symbols grouped together in a kernel map, and avoids conflicts
10366with other kernel subsystems.
10367
10368Most of the internal fixed lookup tables have been moved into the
10369code segment via the const operator.
10370
10371Several enhancements have been made to the interpreter to both
10372reduce the code size and improve performance.
10373
10374Current core subsystem library code sizes are shown below.  These
10375are the code and data sizes for the acpica.lib produced by the
10376Microsoft Visual C++ 6.0 compiler, and these values do not include
10377any ACPI driver or OSPM code.  The debug version of the code
10378includes the full debug trace mechanism which contains over 700
10379invocations of the DEBUG_PRINT macro, 500 function entry macro
10380invocations, and over 900 function exit macro invocations --
10381leading to a much larger code and data size.  Note that these
10382values will vary depending on the efficiency of the compiler and
10383the compiler options used during generation.
10384
10385        Non-Debug Version:  64K Code,   5K Data,   69K Total
10386Debug Version:     137K Code,  58K Data,  195K Total
10387
10388 Linux:
10389
10390Implemented wbinvd() macro, pending a kernel-wide definition.
10391
10392Fixed /proc/acpi/event to handle poll() and short reads.
10393
10394 ASL Compiler, version X2026:
10395
10396Fixed a problem introduced in the previous label where the AML
10397
10398code emitted for package objects produced packages with zero
10399length.
10400
10401 ----------------------------------------
10402Summary of changes for this label: 08_16_01
10403
10404ACPI CA Core Subsystem:
10405
10406The following ACPI 2.0 ASL operators have been implemented in the
10407AML interpreter (These are already supported by the Intel ASL
10408compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
10409ToBuffer.  Support for 64-bit AML constants is implemented in the
10410AML parser, debugger, and disassembler.
10411
10412The internal memory tracking mechanism (leak detection code) has
10413been upgraded to reduce the memory overhead (a separate tracking
10414block is no longer allocated for each memory allocation), and now
10415supports all of the internal object caches.
10416
10417The data structures and code for the internal object caches have
10418been coelesced and optimized so that there is a single cache and
10419memory list data structure and a single group of functions that
10420implement generic cache management.  This has reduced the code
10421size in both the debug and release versions of the subsystem.
10422
10423The DEBUG_PRINT macro(s) have been optimized for size and replaced
10424by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
10425different, because it generates a single call to an internal
10426function.  This results in a savings of about 90 bytes per
10427invocation, resulting in an overall code and data savings of about
1042816% in the debug version of the subsystem.
10429
10430 Linux:
10431
10432Fixed C3 disk corruption problems and re-enabled C3 on supporting
10433machines.
10434
10435Integrated low-level sleep code by Patrick Mochel.
10436
10437Further tweaked source code Linuxization.
10438
10439Other minor fixes.
10440
10441 ASL Compiler:
10442
10443Support for ACPI 2.0 variable length packages is fixed/completed.
10444
10445Fixed a problem where the optional length parameter for the ACPI
104462.0 ToString operator.
10447
10448Fixed multiple extraneous error messages when a syntax error is
10449detected within the declaration line of a control method.
10450
10451 ----------------------------------------
10452Summary of changes for this label: 07_17_01
10453
10454ACPI CA Core Subsystem:
10455
10456Added a new interface named AcpiGetFirmwareTable to obtain any
10457ACPI table via the ACPI signature.  The interface can be called at
10458any time during kernel initialization, even before the kernel
10459virtual memory manager is initialized and paging is enabled.  This
10460allows kernel subsystems to obtain ACPI tables very early, even
10461before the ACPI CA subsystem is initialized.
10462
10463Fixed a problem where Fields defined with the AnyAcc attribute
10464could be resolved to the incorrect address under the following
10465conditions: 1) the field width is larger than 8 bits and 2) the
10466parent operation region is not defined on a DWORD boundary.
10467
10468Fixed a problem where the interpreter is not being locked during
10469namespace initialization (during execution of the _INI control
10470methods), causing an error when an attempt is made to release it
10471later.
10472
10473ACPI 2.0 support in the AML Interpreter has begun and will be
10474ongoing throughout the rest of this year.  In this label, The Mod
10475operator is implemented.
10476
10477Added a new data type to contain full PCI addresses named
10478ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
10479and Function values.
10480
10481 Linux:
10482
10483Enhanced the Linux version of the source code to change most
10484capitalized ACPI type names to lowercase. For example, all
10485instances of ACPI_STATUS are changed to acpi_status.  This will
10486result in a large diff, but the change is strictly cosmetic and
10487aligns the CA code closer to the Linux coding standard.
10488
10489OSL Interfaces:
10490
10491The interfaces to the PCI configuration space have been changed to
10492add the PCI Segment number and to split the single 32-bit combined
10493DeviceFunction field into two 16-bit fields.  This was
10494accomplished by moving the four values that define an address in
10495PCI configuration space (segment, bus, device, and function) to
10496the new ACPI_PCI_ID structure.
10497
10498The changes to the PCI configuration space interfaces led to a
10499reexamination of the complete set of address space access
10500interfaces for PCI, I/O, and Memory.  The previously existing 18
10501interfaces have proven difficult to maintain (any small change
10502must be propagated across at least 6 interfaces) and do not easily
10503allow for future expansion to 64 bits if necessary.  Also, on some
10504systems, it would not be appropriate to demultiplex the access
10505width (8, 16, 32,or 64) before calling the OSL if the
10506corresponding native OS interfaces contain a similar access width
10507parameter.  For these reasons, the 18 address space interfaces
10508have been replaced by these 6 new ones:
10509
10510AcpiOsReadPciConfiguration
10511AcpiOsWritePciConfiguration
10512AcpiOsReadMemory
10513AcpiOsWriteMemory
10514AcpiOsReadPort
10515AcpiOsWritePort
10516
10517Added a new interface named AcpiOsGetRootPointer to allow the OSL
10518to perform the platform and/or OS-specific actions necessary to
10519obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
10520interface will simply call down to the CA core to perform the low-
10521memory search for the table.  On IA-64, the RSDP is obtained from
10522EFI.  Migrating this interface to the OSL allows the CA core to
10523
10524remain OS and platform independent.
10525
10526Added a new interface named AcpiOsSignal to provide a generic
10527"function code and pointer" interface for various miscellaneous
10528signals and notifications that must be made to the host OS.   The
10529first such signals are intended to support the ASL Fatal and
10530Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
10531interface has been obsoleted.
10532
10533The definition of the AcpiFormatException interface has been
10534changed to simplify its use.  The caller no longer must supply a
10535buffer to the call; A pointer to a const string is now returned
10536directly.  This allows the call to be easily used in printf
10537statements, etc. since the caller does not have to manage a local
10538buffer.
10539
10540
10541 ASL Compiler, Version X2025:
10542
10543The ACPI 2.0 Switch/Case/Default operators have been implemented
10544and are fully functional.  They will work with all ACPI 1.0
10545interpreters, since the operators are simply translated to If/Else
10546pairs.
10547
10548The ACPI 2.0 ElseIf operator is implemented and will also work
10549with 1.0 interpreters, for the same reason.
10550
10551Implemented support for ACPI 2.0 variable-length packages.  These
10552packages have a separate opcode, and their size is determined by
10553the interpreter at run-time.
10554
10555Documentation The ACPI CA Programmer Reference has been updated to
10556reflect the new interfaces and changes to existing interfaces.
10557
10558 ------------------------------------------
10559Summary of changes for this label: 06_15_01
10560
10561 ACPI CA Core Subsystem:
10562
10563Fixed a problem where a DWORD-accessed field within a Buffer
10564object would get its byte address inadvertently rounded down to
10565the nearest DWORD.  Buffers are always Byte-accessible.
10566
10567 ASL Compiler, version X2024:
10568
10569Fixed a problem where the Switch() operator would either fault or
10570hang the compiler.  Note however, that the AML code for this ACPI
105712.0 operator is not yet implemented.
10572
10573Compiler uses the new AcpiOsGetTimer interface to obtain compile
10574timings.
10575
10576Implementation of the CreateField operator automatically converts
10577a reference to a named field within a resource descriptor from a
10578byte offset to a bit offset if required.
10579
10580Added some missing named fields from the resource descriptor
10581support. These are the names that are automatically created by the
10582compiler to reference fields within a descriptor.  They are only
10583valid at compile time and are not passed through to the AML
10584interpreter.
10585
10586Resource descriptor named fields are now typed as Integers and
10587subject to compile-time typechecking when used in expressions.
10588
10589 ------------------------------------------
10590Summary of changes for this label: 05_18_01
10591
10592 ACPI CA Core Subsystem:
10593
10594Fixed a couple of problems in the Field support code where bits
10595from adjacent fields could be returned along with the proper field
10596bits. Restructured the field support code to improve performance,
10597readability and maintainability.
10598
10599New DEBUG_PRINTP macro automatically inserts the procedure name
10600into the output, saving hundreds of copies of procedure name
10601strings within the source, shrinking the memory footprint of the
10602debug version of the core subsystem.
10603
10604 Source Code Structure:
10605
10606The source code directory tree was restructured to reflect the
10607current organization of the component architecture.  Some files
10608and directories have been moved and/or renamed.
10609
10610 Linux:
10611
10612Fixed leaking kacpidpc processes.
10613
10614Fixed queueing event data even when /proc/acpi/event is not
10615opened.
10616
10617 ASL Compiler, version X2020:
10618
10619Memory allocation performance enhancement - over 24X compile time
10620improvement on large ASL files.  Parse nodes and namestring
10621buffers are now allocated from a large internal compiler buffer.
10622
10623The temporary .SRC file is deleted unless the "-s" option is
10624specified
10625
10626The "-d" debug output option now sends all output to the .DBG file
10627instead of the console.
10628
10629"External" second parameter is now optional
10630
10631"ElseIf" syntax now properly allows the predicate
10632
10633Last operand to "Load" now recognized as a Target operand
10634
10635Debug object can now be used anywhere as a normal object.
10636
10637ResourceTemplate now returns an object of type BUFFER
10638
10639EISAID now returns an object of type INTEGER
10640
10641"Index" now works with a STRING operand
10642
10643"LoadTable" now accepts optional parameters
10644
10645"ToString" length parameter is now optional
10646
10647"Interrupt (ResourceType," parse error fixed.
10648
10649"Register" with a user-defined region space parse error fixed
10650
10651Escaped backslash at the end of a string ("\\") scan/parse error
10652fixed
10653
10654"Revision" is now an object of type INTEGER.
10655
10656
10657
10658------------------------------------------
10659Summary of changes for this label: 05_02_01
10660
10661Linux:
10662
10663/proc/acpi/event now blocks properly.
10664
10665Removed /proc/sys/acpi. You can still dump your DSDT from
10666/proc/acpi/dsdt.
10667
10668 ACPI CA Core Subsystem:
10669
10670Fixed a problem introduced in the previous label where some of the
10671"small" resource descriptor types were not recognized.
10672
10673Improved error messages for the case where an ASL Field is outside
10674the range of the parent operation region.
10675
10676 ASL Compiler, version X2018:
10677
10678
10679Added error detection for ASL Fields that extend beyond the length
10680of the parent operation region (only if the length of the region
10681is known at compile time.)  This includes fields that have a
10682minimum access width that is smaller than the parent region, and
10683individual field units that are partially or entirely beyond the
10684extent of the parent.
10685
10686
10687
10688------------------------------------------
10689Summary of changes for this label: 04_27_01
10690
10691 ACPI CA Core Subsystem:
10692
10693Fixed a problem where the namespace mutex could be released at the
10694wrong time during execution of AcpiRemoveAddressSpaceHandler.
10695
10696Added optional thread ID output for debug traces, to simplify
10697debugging of multiple threads.  Added context switch notification
10698when the debug code realizes that a different thread is now
10699executing ACPI code.
10700
10701Some additional external data types have been prefixed with the
10702string "ACPI_" for consistency.  This may effect existing code.
10703The data types affected are the external callback typedefs - e.g.,
10704
10705WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
10706
10707 Linux:
10708
10709Fixed an issue with the OSL semaphore implementation where a
10710thread was waking up with an error from receiving a SIGCHLD
10711signal.
10712
10713Linux version of ACPI CA now uses the system C library for string
10714manipulation routines instead of a local implementation.
10715
10716Cleaned up comments and removed TBDs.
10717
10718 ASL Compiler, version X2017:
10719
10720Enhanced error detection and reporting for all file I/O
10721operations.
10722
10723 Documentation:
10724
10725Programmer Reference updated to version 1.06.
10726
10727
10728
10729------------------------------------------
10730Summary of changes for this label: 04_13_01
10731
10732 ACPI CA Core Subsystem:
10733
10734Restructured support for BufferFields and RegionFields.
10735BankFields support is now fully operational.  All known 32-bit
10736limitations on field sizes have been removed.  Both BufferFields
10737and (Operation) RegionFields are now supported by the same field
10738management code.
10739
10740Resource support now supports QWORD address and IO resources. The
1074116/32/64 bit address structures and the Extended IRQ structure
10742have been changed to properly handle Source Resource strings.
10743
10744A ThreadId of -1 is now used to indicate a "mutex not acquired"
10745condition internally and must never be returned by AcpiOsThreadId.
10746This reserved value was changed from 0 since Unix systems allow a
10747thread ID of 0.
10748
10749Linux:
10750
10751Driver code reorganized to enhance portability
10752
10753Added a kernel configuration option to control ACPI_DEBUG
10754
10755Fixed the EC driver to honor _GLK.
10756
10757ASL Compiler, version X2016:
10758
10759Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
10760address space was set to 0, not 0x7f as it should be.
10761
10762 ------------------------------------------
10763Summary of changes for this label: 03_13_01
10764
10765 ACPI CA Core Subsystem:
10766
10767During ACPI initialization, the _SB_._INI method is now run if
10768present.
10769
10770Notify handler fix - notifies are deferred until the parent method
10771completes execution.  This fixes the "mutex already acquired"
10772issue seen occasionally.
10773
10774Part of the "implicit conversion" rules in ACPI 2.0 have been
10775found to cause compatibility problems with existing ASL/AML.  The
10776convert "result-to-target-type" implementation has been removed
10777for stores to method Args and Locals.  Source operand conversion
10778is still fully implemented.  Possible changes to ACPI 2.0
10779specification pending.
10780
10781Fix to AcpiRsCalculatePciRoutingTableLength to return correct
10782length.
10783
10784Fix for compiler warnings for 64-bit compiles.
10785
10786 Linux:
10787
10788/proc output aligned for easier parsing.
10789
10790Release-version compile problem fixed.
10791
10792New kernel configuration options documented in Configure.help.
10793
10794IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10795context" message.
10796
10797 OSPM:
10798
10799Power resource driver integrated with bus manager.
10800
10801Fixed kernel fault during active cooling for thermal zones.
10802
10803Source Code:
10804
10805The source code tree has been restructured.
10806
10807
10808
10809------------------------------------------
10810Summary of changes for this label: 03_02_01
10811
10812 Linux OS Services Layer (OSL):
10813
10814Major revision of all Linux-specific code.
10815
10816Modularized all ACPI-specific drivers.
10817
10818Added new thermal zone and power resource drivers.
10819
10820Revamped /proc interface (new functionality is under /proc/acpi).
10821
10822New kernel configuration options.
10823
10824 Linux known issues:
10825
10826New kernel configuration options not documented in Configure.help
10827yet.
10828
10829
10830Module dependencies not currently implemented. If used, they
10831should be loaded in this order: busmgr, power, ec, system,
10832processor, battery, ac_adapter, button, thermal.
10833
10834Modules will not load if CONFIG_MODVERSION is set.
10835
10836IBM 600E - entering S5 may reboot instead of shutting down.
10837
10838IBM 600E - Sleep button may generate "Invalid <NULL> context"
10839message.
10840
10841Some systems may fail with "execution mutex already acquired"
10842message.
10843
10844 ACPI CA Core Subsystem:
10845
10846Added a new OSL Interface, AcpiOsGetThreadId.  This was required
10847for the  deadlock detection code. Defined to return a non-zero, 32-
10848bit thread ID for the currently executing thread.  May be a non-
10849zero constant integer on single-thread systems.
10850
10851Implemented deadlock detection for internal subsystem mutexes.  We
10852may add conditional compilation for this code (debug only) later.
10853
10854ASL/AML Mutex object semantics are now fully supported.  This
10855includes multiple acquires/releases by owner and support for the
10856
10857Mutex SyncLevel parameter.
10858
10859A new "Force Release" mechanism automatically frees all ASL
10860Mutexes that have been acquired but not released when a thread
10861exits the interpreter.  This forces conformance to the ACPI spec
10862("All mutexes must be released when an invocation exits") and
10863prevents deadlocked ASL threads.  This mechanism can be expanded
10864(later) to monitor other resource acquisitions if OEM ASL code
10865continues to misbehave (which it will).
10866
10867Several new ACPI exception codes have been added for the Mutex
10868support.
10869
10870Recursive method calls are now allowed and supported (the ACPI
10871spec does in fact allow recursive method calls.)  The number of
10872recursive calls is subject to the restrictions imposed by the
10873SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10874parameter.
10875
10876Implemented support for the SyncLevel parameter for control
10877methods (ACPI 2.0 feature)
10878
10879Fixed a deadlock problem when multiple threads attempted to use
10880the interpreter.
10881
10882Fixed a problem where the string length of a String package
10883element was not always set in a package returned from
10884AcpiEvaluateObject.
10885
10886Fixed a problem where the length of a String package element was
10887not always included in the length of the overall package returned
10888from AcpiEvaluateObject.
10889
10890Added external interfaces (Acpi*) to the ACPI debug memory
10891manager.  This manager keeps a list of all outstanding
10892allocations, and can therefore detect memory leaks and attempts to
10893free memory blocks more than once. Useful for code such as the
10894power manager, etc.  May not be appropriate for device drivers.
10895Performance with the debug code enabled is slow.
10896
10897The ACPI Global Lock is now an optional hardware element.
10898
10899 ASL Compiler Version X2015:
10900
10901Integrated changes to allow the compiler to be generated on
10902multiple platforms.
10903
10904Linux makefile added to generate the compiler on Linux
10905
10906 Source Code:
10907
10908All platform-specific headers have been moved to their own
10909subdirectory, Include/Platform.
10910
10911New source file added, Interpreter/ammutex.c
10912
10913New header file, Include/acstruct.h
10914
10915 Documentation:
10916
10917The programmer reference has been updated for the following new
10918interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10919
10920 ------------------------------------------
10921Summary of changes for this label: 02_08_01
10922
10923Core ACPI CA Subsystem: Fixed a problem where an error was
10924incorrectly returned if the return resource buffer was larger than
10925the actual data (in the resource interfaces).
10926
10927References to named objects within packages are resolved to the
10928
10929full pathname string before packages are returned directly (via
10930the AcpiEvaluateObject interface) or indirectly via the resource
10931interfaces.
10932
10933Linux OS Services Layer (OSL):
10934
10935Improved /proc battery interface.
10936
10937
10938Added C-state debugging output and other miscellaneous fixes.
10939
10940ASL Compiler Version X2014:
10941
10942All defined method arguments can now be used as local variables,
10943including the ones that are not actually passed in as parameters.
10944The compiler tracks initialization of the arguments and issues an
10945exception if they are used without prior assignment (just like
10946locals).
10947
10948The -o option now specifies a filename prefix that is used for all
10949output files, including the AML output file.  Otherwise, the
10950default behavior is as follows:  1) the AML goes to the file
10951specified in the DSDT.  2) all other output files use the input
10952source filename as the base.
10953
10954 ------------------------------------------
10955Summary of changes for this label: 01_25_01
10956
10957Core ACPI CA Subsystem: Restructured the implementation of object
10958store support within the  interpreter.  This includes support for
10959the Store operator as well  as any ASL operators that include a
10960target operand.
10961
10962Partially implemented support for Implicit Result-to-Target
10963conversion. This is when a result object is converted on the fly
10964to the type of  an existing target object.  Completion of this
10965support is pending  further analysis of the ACPI specification
10966concerning this matter.
10967
10968CPU-specific code has been removed from the subsystem (hardware
10969directory).
10970
10971New Power Management Timer functions added
10972
10973Linux OS Services Layer (OSL): Moved system state transition code
10974to the core, fixed it, and modified  Linux OSL accordingly.
10975
10976Fixed C2 and C3 latency calculations.
10977
10978
10979We no longer use the compilation date for the version message on
10980initialization, but retrieve the version from AcpiGetSystemInfo().
10981
10982Incorporated for fix Sony VAIO machines.
10983
10984Documentation:  The Programmer Reference has been updated and
10985reformatted.
10986
10987
10988ASL Compiler:  Version X2013: Fixed a problem where the line
10989numbering and error reporting could get out  of sync in the
10990presence of multiple include files.
10991
10992 ------------------------------------------
10993Summary of changes for this label: 01_15_01
10994
10995Core ACPI CA Subsystem:
10996
10997Implemented support for type conversions in the execution of the
10998ASL  Concatenate operator (The second operand is converted to
10999match the type  of the first operand before concatenation.)
11000
11001Support for implicit source operand conversion is partially
11002implemented.   The ASL source operand types Integer, Buffer, and
11003String are freely  interchangeable for most ASL operators and are
11004converted by the interpreter  on the fly as required.  Implicit
11005Target operand conversion (where the  result is converted to the
11006target type before storing) is not yet implemented.
11007
11008Support for 32-bit and 64-bit BCD integers is implemented.
11009
11010Problem fixed where a field read on an aligned field could cause a
11011read  past the end of the field.
11012
11013New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
11014does not return a value, but the caller expects one.  (The ASL
11015compiler flags this as a warning.)
11016
11017ASL Compiler:
11018
11019Version X2011:
110201. Static typechecking of all operands is implemented. This
11021prevents the use of invalid objects (such as using a Package where
11022an Integer is required) at compile time instead of at interpreter
11023run-time.
110242. The ASL source line is printed with ALL errors and warnings.
110253. Bug fix for source EOF without final linefeed.
110264. Debug option is split into a parse trace and a namespace trace.
110275. Namespace output option (-n) includes initial values for
11028integers and strings.
110296. Parse-only option added for quick syntax checking.
110307. Compiler checks for duplicate ACPI name declarations
11031
11032Version X2012:
110331. Relaxed typechecking to allow interchangeability between
11034strings, integers, and buffers.  These types are now converted by
11035the interpreter at runtime.
110362. Compiler reports time taken by each internal subsystem in the
11037debug         output file.
11038
11039
11040 ------------------------------------------
11041Summary of changes for this label: 12_14_00
11042
11043ASL Compiler:
11044
11045This is the first official release of the compiler. Since the
11046compiler requires elements of the Core Subsystem, this label
11047synchronizes everything.
11048
11049------------------------------------------
11050Summary of changes for this label: 12_08_00
11051
11052
11053Fixed a problem where named references within the ASL definition
11054of both OperationRegions and CreateXXXFields did not work
11055properly.  The symptom was an AE_AML_OPERAND_TYPE during
11056initialization of the region/field. This is similar (but not
11057related internally) to the problem that was fixed in the last
11058label.
11059
11060Implemented both 32-bit and 64-bit support for the BCD ASL
11061functions ToBCD and FromBCD.
11062
11063Updated all legal headers to include "2000" in the copyright
11064years.
11065
11066 ------------------------------------------
11067Summary of changes for this label: 12_01_00
11068
11069Fixed a problem where method invocations within the ASL definition
11070of both OperationRegions and CreateXXXFields did not work
11071properly.  The symptom was an AE_AML_OPERAND_TYPE during
11072initialization of the region/field:
11073
11074  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
11075[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
11076(0x3005)
11077
11078Fixed a problem where operators with more than one nested
11079subexpression would fail.  The symptoms were varied, by mostly
11080AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
11081problem that has gone unnoticed until now.
11082
11083  Subtract (Add (1,2), Multiply (3,4))
11084
11085Fixed a problem where AcpiGetHandle didn't quite get fixed in the
11086previous build (The prefix part of a relative path was handled
11087incorrectly).
11088
11089Fixed a problem where Operation Region initialization failed if
11090the operation region name was a "namepath" instead of a simple
11091"nameseg". Symptom was an AE_NO_OPERAND error.
11092
11093Fixed a problem where an assignment to a local variable via the
11094indirect RefOf mechanism only worked for the first such
11095assignment.  Subsequent assignments were ignored.
11096
11097 ------------------------------------------
11098Summary of changes for this label: 11_15_00
11099
11100ACPI 2.0 table support with backwards support for ACPI 1.0 and the
111010.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
11102the AML  interpreter does NOT have support for the new 2.0 ASL
11103grammar terms at this time.
11104
11105All ACPI hardware access is via the GAS structures in the ACPI 2.0
11106FADT.
11107
11108All physical memory addresses across all platforms are now 64 bits
11109wide. Logical address width remains dependent on the platform
11110(i.e., "void *").
11111
11112AcpiOsMapMemory interface changed to a 64-bit physical address.
11113
11114The AML interpreter integer size is now 64 bits, as per the ACPI
111152.0 specification.
11116
11117For backwards compatibility with ACPI 1.0, ACPI tables with a
11118revision number less than 2 use 32-bit integers only.
11119
11120Fixed a problem where the evaluation of OpRegion operands did not
11121always resolve them to numbers properly.
11122
11123------------------------------------------
11124Summary of changes for this label: 10_20_00
11125
11126Fix for CBN_._STA issue.  This fix will allow correct access to
11127CBN_ OpRegions when the _STA returns 0x8.
11128
11129Support to convert ACPI constants (Ones, Zeros, One) to actual
11130values before a package object is returned
11131
11132Fix for method call as predicate to if/while construct causing
11133incorrect if/while behavior
11134
11135Fix for Else block package lengths sometimes calculated wrong (if
11136block > 63 bytes)
11137
11138Fix for Processor object length field, was always zero
11139
11140Table load abort if FACP sanity check fails
11141
11142Fix for problem with Scope(name) if name already exists
11143
11144Warning emitted if a named object referenced cannot be found
11145(resolved) during method execution.
11146
11147
11148
11149
11150
11151------------------------------------------
11152Summary of changes for this label: 9_29_00
11153
11154New table initialization interfaces: AcpiInitializeSubsystem no
11155longer has any parameters AcpiFindRootPointer - Find the RSDP (if
11156necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
11157>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
11158AcpiLoadTables
11159
11160Note: These interface changes require changes to all existing OSDs
11161
11162The PCI_Config default address space handler is always installed
11163at the root namespace object.
11164
11165-------------------------------------------
11166Summary of changes for this label: 09_15_00
11167
11168The new initialization architecture is implemented.  New
11169interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
11170AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
11171
11172(Namespace is automatically loaded when a table is loaded)
11173
11174The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1117552 bytes to 32 bytes.  There is usually one of these for every
11176namespace object, so the memory savings is significant.
11177
11178Implemented just-in-time evaluation of the CreateField operators.
11179
11180Bug fixes for IA-64 support have been integrated.
11181
11182Additional code review comments have been implemented
11183
11184The so-called "third pass parse" has been replaced by a final walk
11185through the namespace to initialize all operation regions (address
11186spaces) and fields that have not yet been initialized during the
11187execution of the various _INI and REG methods.
11188
11189New file - namespace/nsinit.c
11190
11191-------------------------------------------
11192Summary of changes for this label: 09_01_00
11193
11194Namespace manager data structures have been reworked to change the
11195primary  object from a table to a single object.  This has
11196resulted in dynamic memory  savings of 3X within the namespace and
111972X overall in the ACPI CA subsystem.
11198
11199Fixed problem where the call to AcpiEvFindPciRootBuses was
11200inadvertently left  commented out.
11201
11202Reduced the warning count when generating the source with the GCC
11203compiler.
11204
11205Revision numbers added to each module header showing the
11206SourceSafe version of the file.  Please refer to this version
11207number when giving us feedback or comments on individual modules.
11208
11209The main object types within the subsystem have been renamed to
11210clarify their  purpose:
11211
11212ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
11213ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
11214ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
11215
11216NOTE: no changes to the initialization sequence are included in
11217this label.
11218
11219-------------------------------------------
11220Summary of changes for this label: 08_23_00
11221
11222Fixed problem where TerminateControlMethod was being called
11223multiple times per  method
11224
11225Fixed debugger problem where single stepping caused a semaphore to
11226be  oversignalled
11227
11228Improved performance through additional parse object caching -
11229added  ACPI_EXTENDED_OP type
11230
11231-------------------------------------------
11232Summary of changes for this label: 08_10_00
11233
11234Parser/Interpreter integration:  Eliminated the creation of
11235complete parse trees  for ACPI tables and control methods.
11236Instead, parse subtrees are created and  then deleted as soon as
11237they are processed (Either entered into the namespace or  executed
11238by the interpreter).  This reduces the use of dynamic kernel
11239memory  significantly. (about 10X)
11240
11241Exception codes broken into classes and renumbered.  Be sure to
11242recompile all  code that includes acexcep.h.  Hopefully we won't
11243have to renumber the codes  again now that they are split into
11244classes (environment, programmer, AML code,  ACPI table, and
11245internal).
11246
11247Fixed some additional alignment issues in the Resource Manager
11248subcomponent
11249
11250Implemented semaphore tracking in the AcpiExec utility, and fixed
11251several places  where mutexes/semaphores were being unlocked
11252without a corresponding lock  operation.  There are no known
11253semaphore or mutex "leaks" at this time.
11254
11255Fixed the case where an ASL Return operator is used to return an
11256unnamed  package.
11257
11258-------------------------------------------
11259Summary of changes for this label: 07_28_00
11260
11261Fixed a problem with the way addresses were calculated in
11262AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
11263manifested itself when a Field was  created with WordAccess or
11264DwordAccess, but the field unit defined within the  Field was less
11265
11266than a Word or Dword.
11267
11268Fixed a problem in AmlDumpOperands() module's loop to pull
11269operands off of the  operand stack to display information. The
11270problem manifested itself as a TLB  error on 64-bit systems when
11271accessing an operand stack with two or more  operands.
11272
11273Fixed a problem with the PCI configuration space handlers where
11274context was  getting confused between accesses. This required a
11275change to the generic address  space handler and address space
11276setup definitions. Handlers now get both a  global handler context
11277(this is the one passed in by the user when executing
11278AcpiInstallAddressSpaceHandler() and a specific region context
11279that is unique to  each region (For example, the _ADR, _SEG and
11280_BBN values associated with a  specific region). The generic
11281function definitions have changed to the  following:
11282
11283typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
11284UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
11285*HandlerContext, // This used to be void *Context void
11286*RegionContext); // This is an additional parameter
11287
11288typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
11289RegionHandle, UINT32 Function, void *HandlerContext,  void
11290**RegionContext); // This used to be **ReturnContext
11291
11292-------------------------------------------
11293Summary of changes for this label: 07_21_00
11294
11295Major file consolidation and rename.  All files within the
11296interpreter have been  renamed as well as most header files.  This
11297was done to prevent collisions with  existing files in the host
11298OSs -- filenames such as "config.h" and "global.h"  seem to be
11299quite common.  The VC project files have been updated.  All
11300makefiles  will require modification.
11301
11302The parser/interpreter integration continues in Phase 5 with the
11303implementation  of a complete 2-pass parse (the AML is parsed
11304twice) for each table;  This  avoids the construction of a huge
11305parse tree and therefore reduces the amount of  dynamic memory
11306required by the subsystem.  Greater use of the parse object cache
11307means that performance is unaffected.
11308
11309Many comments from the two code reviews have been rolled in.
11310
11311The 64-bit alignment support is complete.
11312
11313-------------------------------------------
11314Summary of changes for this label: 06_30_00
11315
11316With a nod and a tip of the hat to the technology of yesteryear,
11317we've added  support in the source code for 80 column output
11318devices.  The code is now mostly  constrained to 80 columns or
11319less to support environments and editors that 1)  cannot display
11320or print more than 80 characters on a single line, and 2) cannot
11321disable line wrapping.
11322
11323A major restructuring of the namespace data structure has been
11324completed.  The  result is 1) cleaner and more
11325understandable/maintainable code, and 2) a  significant reduction
11326in the dynamic memory requirement for each named ACPI  object
11327(almost half).
11328
11329-------------------------------------------
11330Summary of changes for this label: 06_23_00
11331
11332Linux support has been added.  In order to obtain approval to get
11333the ACPI CA  subsystem into the Linux kernel, we've had to make
11334quite a few changes to the  base subsystem that will affect all
11335users (all the changes are generic and OS- independent).  The
11336effects of these global changes have been somewhat far  reaching.
11337Files have been merged and/or renamed and interfaces have been
11338renamed.   The major changes are described below.
11339
11340Osd* interfaces renamed to AcpiOs* to eliminate namespace
11341pollution/confusion  within our target kernels.  All OSD
11342interfaces must be modified to match the new  naming convention.
11343
11344Files merged across the subsystem.  A number of the smaller source
11345and header  files have been merged to reduce the file count and
11346increase the density of the  existing files.  There are too many
11347to list here.  In general, makefiles that  call out individual
11348files will require rebuilding.
11349
11350Interpreter files renamed.  All interpreter files now have the
11351prefix am*  instead of ie* and is*.
11352
11353Header files renamed:  The acapi.h file is now acpixf.h.  The
11354acpiosd.h file is  now acpiosxf.h.  We are removing references to
11355the acronym "API" since it is  somewhat windowsy. The new name is
11356"external interface" or xface or xf in the  filenames.j
11357
11358
11359All manifest constants have been forced to upper case (some were
11360mixed case.)   Also, the string "ACPI_" has been prepended to many
11361(not all) of the constants,  typedefs, and structs.
11362
11363The globals "DebugLevel" and "DebugLayer" have been renamed
11364"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
11365
11366All other globals within the subsystem are now prefixed with
11367"AcpiGbl_" Internal procedures within the subsystem are now
11368prefixed with "Acpi" (with only  a few exceptions).  The original
11369two-letter abbreviation for the subcomponent  remains after "Acpi"
11370- for example, CmCallocate became AcpiCmCallocate.
11371
11372Added a source code translation/conversion utility.  Used to
11373generate the Linux  source code, it can be modified to generate
11374other types of source as well. Can  also be used to cleanup
11375existing source by removing extraneous spaces and blank  lines.
11376Found in tools/acpisrc/*
11377
11378OsdUnMapMemory was renamed to OsdUnmapMemory and then
11379AcpiOsUnmapMemory.  (UnMap  became Unmap).
11380
11381A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
11382When set to  one, this indicates that the caller wants to use the
11383
11384semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
11385both types.  However, implementers of this  call may want to use
11386different OS primitives depending on the type of semaphore
11387requested.  For example, some operating systems provide separate
11388
11389"mutex" and  "semaphore" interfaces - where the mutex interface is
11390much faster because it  doesn't have all the overhead of a full
11391semaphore implementation.
11392
11393Fixed a deadlock problem where a method that accesses the PCI
11394address space can  block forever if it is the first access to the
11395space.
11396
11397-------------------------------------------
11398Summary of changes for this label: 06_02_00
11399
11400Support for environments that cannot handle unaligned data
11401accesses (e.g.  firmware and OS environments devoid of alignment
11402handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
11403been added (via configurable macros) in  these three areas: -
11404Transfer of data from the raw AML byte stream is done via byte
11405moves instead of    word/dword/qword moves. - External objects are
11406aligned within the user buffer, including package   elements (sub-
11407objects). - Conversion of name strings to UINT32 Acpi Names is now
11408done byte-wise.
11409
11410The Store operator was modified to mimic Microsoft's
11411implementation when storing  to a Buffer Field.
11412
11413Added a check of the BM_STS bit before entering C3.
11414
11415The methods subdirectory has been obsoleted and removed.  A new
11416file, cmeval.c  subsumes the functionality.
11417
11418A 16-bit (DOS) version of AcpiExec has been developed.  The
11419makefile is under  the acpiexec directory.
11420