changes.txt revision 240716
1----------------------------------------
213 September 2012. Summary of changes for version 20120913:
3
4This release is available at https://www.acpica.org/downloads The ACPI 5.0 
5specification is available at www.acpi.info
6
71) ACPICA Kernel-resident Subsystem:
8
9ACPI 5.0: Added two new notify types for the Hardware Error Notification 
10Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) and 
11MCE(6).
12 
13Table Manager: Merged/removed duplicate code in the root table resize 
14functions. One function is external, the other is internal. Lv Zheng, ACPICA 
15BZ 846.
16
17Makefiles: Completely removed the obsolete "Linux" makefiles under 
18acpica/generate/linux. These makefiles are obsolete and have been replaced by 
19the generic unix makefiles under acpica/generate/unix.
20
21Makefiles: Ensure that binary files always copied properly. Minor rule change 
22to ensure that the final binary output files are always copied up to the 
23appropriate binary directory (bin32 or bin64.)
24
25Example Code and Data Size: These are the sizes for the OS-independent 
26acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
27version of the code includes the debug output trace mechanism and has a much 
28larger code and data size.
29
30  Previous Release:
31    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
32    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
33  Current Release:
34    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
35    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
36
37
382) iASL Compiler/Disassembler and Tools:
39
40Disassembler: Fixed a possible fault during the disassembly of resource 
41descriptors when a second parse is required because of the invocation of 
42external control methods within the table. With assistance from 
43adq@lidskialf.net. ACPICA BZ 976.
44
45iASL: Fixed a namepath optimization problem. An error can occur if the parse 
46node that contains the namepath to be optimized does not have a parent node 
47that is a named object. This change fixes the problem.
48
49iASL: Fixed a regression where the AML file is not deleted on errors. The AML 
50output file should be deleted if there are any errors during the compiler. The 
51only exception is if the -f (force output) option is used. ACPICA BZ 974.
52
53iASL: Added a feature to automatically increase internal line buffer sizes. 
54Via realloc(), automatically increase the internal line buffer sizes as 
55necessary to support very long source code lines. The current version of the 
56preprocessor requires a buffer long enough to contain full source code lines. 
57This change increases the line buffer(s) if the input lines go beyond the 
58current buffer size. This eliminates errors that occurred when a source code 
59line was longer than the buffer.
60
61iASL: Fixed a problem with constant folding in method declarations. The 
62SyncLevel term is a ByteConstExpr, and incorrect code would be generated if a 
63Type3 opcode was used.
64
65Debugger: Improved command help support. For incorrect argument count, display 
66full help for the command. For help command itself, allow an argument to 
67specify a command.
68
69Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
70errors during execution of the suite. Guan Chao.
71
72----------------------------------------
7316 August 2012. Summary of changes for version 20120816:
74
75This release is available at https://www.acpica.org/downloads
76The ACPI 5.0 specification is available at www.acpi.info
77
781) ACPICA Kernel-resident Subsystem:
79
80Removed all use of the deprecated _GTS and _BFS predefined methods. The _GTS 
81(Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
82deprecated and will probably be removed from the ACPI specification. Windows 
83does not invoke them, and reportedly never will. The final nail in the coffin 
84is that the ACPI specification states that these methods must be run with 
85interrupts off, which is not going to happen in a kernel interpreter. Note: 
86Linux has removed all use of the methods also. It was discovered that 
87invoking these functions caused failures on some machines, probably because 
88they were never tested since Windows does not call them. Affects two external 
89interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
90ACPICA BZ 969.
91
92Implemented support for complex bit-packed buffers returned from the _PLD 
93(Physical Location of Device) predefined method. Adds a new external 
94interface, AcpiDecodePldBuffer that parses the buffer into a more usable C 
95structure. Note: C Bitfields cannot be used for this type of predefined 
96structure since the memory layout of individual bitfields is not defined by 
97the C language. In addition, there are endian concerns where a compiler will 
98change the bitfield ordering based on the machine type. The new ACPICA 
99interface eliminates these issues, and should be called after _PLD is 
100executed. ACPICA BZ 954.
101
102Implemented a change to allow a scope change to root (via "Scope (\)") during 
103execution of module-level ASL code (code that is executed at table load 
104time.) Lin Ming.
105
106Added the Windows8/Server2012 string for the _OSI method. This change adds a 
107new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 2012.
108
109Added header support for the new ACPI tables DBG2 (Debug Port Table Type 2) 
110and CSRT (Core System Resource Table).
111
112Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
113names. This simplifies access to the buffers returned by these predefined 
114names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
115
116GPE support: Removed an extraneous parameter from the various low-level 
117internal GPE functions. Tang Feng.
118
119Removed the linux makefiles from the unix packages. The generate/linux 
120makefiles are obsolete and have been removed from the unix tarball release 
121packages. The replacement makefiles are under generate/unix, and there is a 
122top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
123
124Updates for Unix makefiles:
1251) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
1262) Update linker flags (move to end of command line) for AcpiExec utility. 
127Guan Chao.
128
129Split ACPICA initialization functions to new file, utxfinit.c. Split from 
130utxface.c to improve modularity and reduce file size.
131
132Example Code and Data Size: These are the sizes for the OS-independent 
133acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
134debug version of the code includes the debug output trace mechanism and has a 
135much larger code and data size.
136
137  Previous Release:
138    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
139    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
140  Current Release:
141    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
142    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
143
144
1452) iASL Compiler/Disassembler and Tools:
146
147iASL: Fixed a problem with constant folding for fixed-length constant 
148expressions. The constant-folding code was not being invoked for constant 
149expressions that allow the use of type 3/4/5 opcodes to generate constants 
150for expressions such as ByteConstExpr, WordConstExpr, etc. This could result 
151in the generation of invalid AML bytecode. ACPICA BZ 970.
152
153iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
154apparently automatically emit some of the necessary externals. This change 
155handles these versions in order to eliminate generation warnings.
156
157Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
158
159Disassembler: Add support to decode _PLD buffers. The decoded buffer appears 
160within comments in the output file.
161
162Debugger: Fixed a regression with the "Threads" command where 
163AE_BAD_PARAMETER was always returned.
164
165----------------------------------------
16611 July 2012. Summary of changes for version 20120711:
167
168This release is available at https://www.acpica.org/downloads The ACPI 5.0 
169specification is available at www.acpi.info
170
1711) ACPICA Kernel-resident Subsystem:
172
173Fixed a possible fault in the return package object repair code. Fixes a 
174problem that can occur when a lone package object is wrapped with an outer 
175package object in order to force conformance to the ACPI specification. Can 
176affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, _DLM, 
177_CSD, _PSD, _TSD.
178
179Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
180PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
181ARB_DIS bit must be implemented in the host-dependent C3 processor power state 
182support. Note, ARB_DIS is obsolete and only applies to older chipsets, both 
183Intel and other vendors. (for Intel: ICH4-M and earlier)
184
185This change removes the code to disable/enable bus master arbitration during 
186suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register causes 
187resume problems on some machines. The change has been in use for over seven 
188years within Linux.
189
190Implemented two new external interfaces to support host-directed dynamic ACPI 
191table load and unload. They are intended to simplify the host implementation 
192of hot-plug support:
193  AcpiLoadTable: Load an SSDT from a buffer into the namespace.
194  AcpiUnloadParentTable: Unload an SSDT via a named object owned by the table.
195See the ACPICA reference for additional details. Adds one new file, 
196components/tables/tbxfload.c
197
198Implemented and deployed two new interfaces for errors and warnings that are 
199known to be caused by BIOS/firmware issues:
200  AcpiBiosError: Prints "ACPI Firmware Error" message.
201  AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
202Deployed these new interfaces in the ACPICA Table Manager code for ACPI table 
203and FADT errors. Additional deployment to be completed as appropriate in the 
204future. The associated conditional macros are ACPI_BIOS_ERROR and 
205ACPI_BIOS_WARNING. See the ACPICA reference for additional details. ACPICA BZ 
206843.
207
208Implicit notify support: ensure that no memory allocation occurs within a 
209critical region. This fix moves a memory allocation outside of the time that a 
210spinlock is held. Fixes issues on systems that do not allow this behavior. 
211Jung-uk Kim.
212
213Split exception code utilities and tables into a new file, utilities/utexcep.c
214
215Example Code and Data Size: These are the sizes for the OS-independent 
216acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
217version of the code includes the debug output trace mechanism and has a much 
218larger code and data size.
219
220  Previous Release:
221    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
222    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
223  Current Release:
224    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
225    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
226
227
2282) iASL Compiler/Disassembler and Tools:
229
230iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead of 
2310. Jung-uk Kim.
232
233Debugger: Enhanced the "tables" command to emit additional information about 
234the current set of ACPI tables, including the owner ID and flags decode.
235
236Debugger: Reimplemented the "unload" command to use the new 
237AcpiUnloadParentTable external interface. This command was disable previously 
238due to need for an unload interface.
239
240AcpiHelp: Added a new option to decode ACPICA exception codes. The -e option 
241will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
242
243----------------------------------------
24420 June 2012. Summary of changes for version 20120620:
245
246This release is available at https://www.acpica.org/downloads
247The ACPI 5.0 specification is available at www.acpi.info
248
2491) ACPICA Kernel-resident Subsystem:
250
251Implemented support to expand the "implicit notify" feature to allow multiple 
252devices to be notified by a single GPE. This feature automatically generates a 
253runtime device notification in the absence of a BIOS-provided GPE control 
254method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit notify is 
255provided by ACPICA for Windows compatibility, and is a workaround for BIOS AML 
256code errors. See the description of the AcpiSetupGpeForWake interface in the 
257APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
258
259Changed some comments and internal function names to simplify and ensure 
260correctness of the Linux code translation. No functional changes.
261
262Example Code and Data Size: These are the sizes for the OS-independent 
263acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
264version of the code includes the debug output trace mechanism and has a much 
265larger code and data size.
266
267  Previous Release:
268    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
269    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
270  Current Release:
271    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
272    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
273
274
2752) iASL Compiler/Disassembler and Tools:
276
277Disassembler: Added support to emit short, commented descriptions for the ACPI 
278predefined names in order to improve the readability of the disassembled 
279output. ACPICA BZ 959. Changes include:
280  1) Emit descriptions for all standard predefined names (_INI, _STA, _PRW, 
281etc.)
282  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
283  3) Emit descriptions for the resource descriptor names (_MIN, _LEN, etc.)
284
285AcpiSrc: Fixed several long-standing Linux code translation issues. Argument 
286descriptions in function headers are now translated properly to lower case and 
287underscores. ACPICA BZ 961. Also fixes translation problems such as these: 
288(old -> new)
289  i_aSL -> iASL
290  00-7_f -> 00-7F
291  16_k -> 16K
292  local_fADT -> local_FADT
293  execute_oSI -> execute_OSI
294
295iASL: Fixed a problem where null bytes were inadvertently emitted into some 
296listing files.
297
298iASL: Added the existing debug options to the standard help screen. There are 
299no longer two different help screens. ACPICA BZ 957.
300
301AcpiHelp: Fixed some typos in the various predefined name descriptions. Also 
302expand some of the descriptions where appropriate.
303
304iASL: Fixed the -ot option (display compile times/statistics). Was not working 
305properly for standard output; only worked for the debug file case.
306
307----------------------------------------
30818 May 2012. Summary of changes for version 20120518:
309
310
3111) ACPICA Core Subsystem:
312
313Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is defined 
314to block until asynchronous events such as notifies and GPEs have completed. 
315Within ACPICA, it is only called before a notify or GPE handler is 
316removed/uninstalled. It also may be useful for the host OS within related 
317drivers such as the Embedded Controller driver. See the ACPICA reference for 
318additional information. ACPICA BZ 868.
319
320ACPI Tables: Added a new error message for a possible overflow failure during 
321the conversion of FADT 32-bit legacy register addresses to internal common 64-
322bit GAS structure representation. The GAS has a one-byte "bit length" field, 
323thus limiting the register length to 255 bits. ACPICA BZ 953.
324
325Example Code and Data Size: These are the sizes for the OS-independent 
326acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
327version of the code includes the debug output trace mechanism and has a much 
328larger code and data size.
329
330  Previous Release:
331    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
332    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
333  Current Release:
334    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
335    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
336
337
3382) iASL Compiler/Disassembler and Tools:
339
340iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL macro. 
341This keyword was added late in the ACPI 5.0 release cycle and was not 
342implemented until now.
343
344Disassembler: Added support for Operation Region externals. Adds missing 
345support for operation regions that are defined in another table, and 
346referenced locally via a Field or BankField ASL operator. Now generates the 
347correct External statement.
348
349Disassembler: Several additional fixes for the External() statement generation 
350related to some ASL operators. Also, order the External() statements 
351alphabetically in the disassembler output. Fixes the External() generation for 
352the Create* field, Alias, and Scope operators:
353 1) Create* buffer field operators - fix type mismatch warning on disassembly
354 2) Alias - implement missing External support
355 3) Scope - fix to make sure all necessary externals are emitted.
356
357iASL: Improved pathname support. For include files, merge the prefix pathname 
358with the file pathname and eliminate unnecessary components. Convert 
359backslashes in all pathnames to forward slashes, for readability. Include file 
360pathname changes affect both #include and Include() type operators.
361
362iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the end 
363of a valid line by inserting a newline and then returning the EOF during the 
364next call to GetNextLine. Prevents the line from being ignored due to EOF 
365condition.
366
367iASL: Implemented some changes to enhance the IDE support (-vi option.) Error 
368and Warning messages are now correctly recognized for both the source code 
369browser and the global error and warning counts.
370
371----------------------------------------
37220 April 2012. Summary of changes for version 20120420:
373
374
3751) ACPICA Core Subsystem:
376
377Implemented support for multiple notify handlers. This change adds support to 
378allow multiple system and device notify handlers on Device, Thermal Zone, and 
379Processor objects. This can simplify the host OS notification implementation. 
380Also re-worked and restructured the entire notify support code to simplify 
381handler installation, handler removal, notify event queuing, and notify 
382dispatch to handler(s). Note: there can still only be two global notify 
383handlers - one for system notifies and one for device notifies. There are no 
384changes to the existing handler install/remove interfaces. Lin Ming, Bob 
385Moore, Rafael Wysocki.
386
387Fixed a regression in the package repair code where the object reference 
388count was calculated incorrectly. Regression was introduced in the commit 
389"Support to add Package wrappers".
390
391Fixed a couple possible memory leaks in the AML parser, in the error recovery 
392path. Jesper Juhl, Lin Ming.
393
394Example Code and Data Size: These are the sizes for the OS-independent 
395acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
396debug version of the code includes the debug output trace mechanism and has a 
397much larger code and data size.
398
399  Previous Release:
400    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
401    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
402  Current Release:
403    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
404    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
405
406
4072) iASL Compiler/Disassembler and Tools:
408
409iASL: Fixed a problem with the resource descriptor support where the length 
410of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
411included in cumulative descriptor offset, resulting in incorrect values for 
412resource tags within resource descriptors appearing after a StartDependent* 
413descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
414
415iASL and Preprocessor: Implemented full support for the #line directive to 
416correctly track original source file line numbers through the .i preprocessor 
417output file - for error and warning messages.
418
419iASL: Expand the allowable byte constants for address space IDs. Previously, 
420the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
4210x0A-0xFF to allow for custom and new IDs without changing the compiler.
422
423iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
424
425iASL: Add option to completely disable the preprocessor (-Pn).
426
427iASL: Now emit all error/warning messages to standard error (stderr) by 
428default (instead of the previous stdout).
429
430ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). Update 
431for resource descriptor offset fix above. Update/cleanup error output 
432routines. Enable and send iASL errors/warnings to an error logfile 
433(error.txt). Send all other iASL output to a logfile (compiler.txt). Fixed 
434several extraneous "unrecognized operator" messages.
435
436----------------------------------------
43720 March 2012. Summary of changes for version 20120320:
438
439
4401) ACPICA Core Subsystem:
441
442Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
443(Going To Sleep) and the _BFS method (Back From Sleep). Windows apparently 
444does not execute these methods, and therefore these methods are often 
445untested. It has been seen on some systems where the execution of these 
446methods causes errors and also prevents the machine from entering S5. It is 
447therefore suggested that host operating systems do not execute these methods 
448by default. In the future, perhaps these methods can be optionally executed 
449based on the age of the system and/or what is the newest version of Windows 
450that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState and 
451AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
452Ming.
453
454Fixed a problem where the length of the local/common FADT was set too early. 
455The local FADT table length cannot be set to the common length until the 
456original length has been examined. There is code that checks the table length 
457and sets various fields appropriately. This can affect older machines with 
458early FADT versions. For example, this can cause inadvertent writes to the 
459CST_CNT register. Julian Anastasov.
460
461Fixed a mapping issue related to a physical table override. Use the deferred 
462mapping mechanism for tables loaded via the physical override OSL interface. 
463This allows for early mapping before the virtual memory manager is available. 
464Thomas Renninger, Bob Moore.
465
466Enhanced the automatic return-object repair code: Repair a common problem with 
467predefined methods that are defined to return a variable-length Package of 
468sub-objects. If there is only one sub-object, some BIOS ASL code mistakenly 
469simply returns the single object instead of a Package with one sub-object. 
470This new support will repair this error by wrapping a Package object around 
471the original object, creating the correct and expected Package with one sub-
472object. Names that can be repaired in this manner include: _ALR, _CSD, _HPX, 
473_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 939.
474
475Changed the exception code returned for invalid ACPI paths passed as 
476parameters to external interfaces such as AcpiEvaluateObject. Was 
477AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
478
479Example Code and Data Size: These are the sizes for the OS-independent 
480acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
481version of the code includes the debug output trace mechanism and has a much 
482larger code and data size.
483
484  Previous Release:
485    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
486    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
487  Current Release:
488    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
489    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
490
491
4922) iASL Compiler/Disassembler and Tools:
493
494iASL: Added the infrastructure and initial implementation of a integrated C-
495like preprocessor. This will simplify BIOS development process by eliminating 
496the need for a separate preprocessing step during builds. On Windows, it also 
497eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
498features including full #define() macro support are still under development. 
499These preprocessor directives are supported:
500    #define
501    #elif
502    #else
503    #endif
504    #error
505    #if
506    #ifdef
507    #ifndef
508    #include
509    #pragma message
510    #undef
511    #warning
512In addition, these new command line options are supported:
513    -D <symbol> Define symbol for preprocessor use
514    -li         Create preprocessed output file (*.i)
515    -P          Preprocess only and create preprocessor output file (*.i)
516
517Table Compiler: Fixed a problem where the equals operator within an expression 
518did not work properly.
519
520Updated iASL to use the current versions of Bison/Flex. Updated the Windows 
521project file to invoke these tools from the standard location. ACPICA BZ 904. 
522Versions supported:
523    Flex for Windows:  V2.5.4
524    Bison for Windows: V2.4.1
525
526----------------------------------------
52715 February 2012. Summary of changes for version 20120215:
528
529
5301) ACPICA Core Subsystem:
531
532There have been some major changes to the sleep/wake support code, as 
533described below (a - e).
534
535a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
536AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
537AcpiLeaveSleepStatePrep. This allows the host to perform actions between the 
538time the _BFS method is called and the _WAK method is called. NOTE: all hosts 
539must update their wake/resume code or else sleep/wake will not work properly. 
540Rafael Wysocki.
541
542b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the _WAK 
543method. Some machines require that the GPEs are enabled before the _WAK method 
544is executed. Thomas Renninger.
545
546c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit. 
547Some BIOS code assumes that WAK_STS will be cleared on resume and use it to 
548determine whether the system is rebooting or resuming. Matthew Garrett.
549
550d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From Sleep) to 
551match the ACPI specification requirement. Rafael Wysocki.
552
553e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
554registers within the V5 FADT. This support adds two new files: 
555hardware/hwesleep.c implements the support for the new registers. Moved all 
556sleep/wake external interfaces to hardware/hwxfsleep.c.
557
558
559Added a new OSL interface for ACPI table overrides, 
560AcpiOsPhysicalTableOverride. This interface allows the host to override a 
561table via a physical address, instead of the logical address required by 
562AcpiOsTableOverride. This simplifies the host implementation. Initial 
563implementation by Thomas Renninger. The ACPICA implementation creates a single 
564shared function for table overrides that attempts both a logical and a 
565physical override.
566
567Expanded the OSL memory read/write interfaces to 64-bit data 
568(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
569transfer support for GAS register structures passed to AcpiRead and AcpiWrite.
570
571Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a custom 
572build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) model. 
573See the ACPICA reference for details. ACPICA BZ 942. This option removes about 
57410% of the code and 5% of the static data, and the following hardware ACPI 
575features become unavailable:
576    PM Event and Control registers
577    SCI interrupt (and handler)
578    Fixed Events
579    General Purpose Events (GPEs)
580    Global Lock
581    ACPI PM timer
582    FACS table (Waking vectors and Global Lock)
583
584Updated the unix tarball directory structure to match the ACPICA git source 
585tree. This ensures that the generic unix makefiles work properly (in 
586generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 867.
587
588Updated the return value of the _REV predefined method to integer value 5 to 
589reflect ACPI 5.0 support.
590
591Moved the external ACPI PM timer interface prototypes to the public acpixf.h 
592file where they belong.
593
594Example Code and Data Size: These are the sizes for the OS-independent 
595acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
596version of the code includes the debug output trace mechanism and has a much 
597larger code and data size.
598
599  Previous Release:
600    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
601    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
602  Current Release:
603    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
604    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
605
606
6072) iASL Compiler/Disassembler and Tools:
608
609Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
610descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
611incorrectly displayed.
612
613AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
614specification.
615
616----------------------------------------
61711 January 2012. Summary of changes for version 20120111:
618
619
6201) ACPICA Core Subsystem:
621
622Implemented a new mechanism to allow host device drivers to check for address 
623range conflicts with ACPI Operation Regions. Both SystemMemory and SystemIO 
624address spaces are supported. A new external interface, AcpiCheckAddressRange, 
625allows drivers to check an address range against the ACPI namespace. See the 
626ACPICA reference for additional details. Adds one new file, 
627utilities/utaddress.c. Lin Ming, Bob Moore.
628
629Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control and 
630Status registers, update the ACPI 5.0 flags, and update internal data 
631structures to handle an FADT larger than 256 bytes. The size of the ACPI 5.0 
632FADT is 268 bytes.
633
634Updated all ACPICA copyrights and signons to 2012. Added the 2012 copyright to 
635all module headers and signons, including the standard Linux header. This 
636affects virtually every file in the ACPICA core subsystem, iASL compiler, and 
637all ACPICA utilities.
638
639Example Code and Data Size: These are the sizes for the OS-independent 
640acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
641version of the code includes the debug output trace mechanism and has a much 
642larger code and data size.
643
644  Previous Release:
645    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
646    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
647  Current Release:
648    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
649    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
650
651
6522) iASL Compiler/Disassembler and Tools:
653
654Disassembler: fixed a problem with the automatic resource tag generation 
655support. Fixes a problem where the resource tags are inadvertently not 
656constructed if the table being disassembled contains external references to 
657control methods. Moved the actual construction of the tags to after the final 
658namespace is constructed (after 2nd parse is invoked due to external control 
659method references.) ACPICA BZ 941.
660
661Table Compiler: Make all "generic" operators caseless. These are the operators 
662like UINT8, String, etc. Making these caseless improves ease-of-use. ACPICA BZ 
663934.
664
665----------------------------------------
66623 November 2011. Summary of changes for version 20111123:
667
6680) ACPI 5.0 Support:
669
670This release contains full support for the ACPI 5.0 specification, as 
671summarized below.
672
673Reduced Hardware Support:
674-------------------------
675
676This support allows for ACPI systems without the usual ACPI hardware. This 
677support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA will 
678not attempt to initialize or use any of the usual ACPI hardware. Note, when 
679this flag is set, all of the following ACPI hardware is assumed to be not 
680present and is not initialized or accessed:
681
682    General Purpose Events (GPEs)
683    Fixed Events (PM1a/PM1b and PM Control)
684    Power Management Timer and Console Buttons (power/sleep)
685    Real-time Clock Alarm
686    Global Lock
687    System Control Interrupt (SCI)
688    The FACS is assumed to be non-existent
689
690ACPI Tables:
691------------
692
693All new tables and updates to existing tables are fully supported in the 
694ACPICA headers (for use by device drivers), the disassembler, and the iASL 
695Data Table Compiler. ACPI 5.0 defines these new tables:
696
697    BGRT        /* Boot Graphics Resource Table */
698    DRTM        /* Dynamic Root of Trust for Measurement table */
699    FPDT        /* Firmware Performance Data Table */
700    GTDT        /* Generic Timer Description Table */
701    MPST        /* Memory Power State Table */
702    PCCT        /* Platform Communications Channel Table */
703    PMTT        /* Platform Memory Topology Table */
704    RASF        /* RAS Feature table */
705
706Operation Regions/SpaceIDs:
707---------------------------
708
709All new operation regions are fully supported by the iASL compiler, the 
710disassembler, and the ACPICA runtime code (for dispatch to region handlers.) 
711The new operation region Space IDs are:
712
713    GeneralPurposeIo
714    GenericSerialBus
715
716Resource Descriptors:
717---------------------
718
719All new ASL resource descriptors are fully supported by the iASL compiler, the 
720ASL/AML disassembler, and the ACPICA runtime Resource Manager code (including 
721all new predefined resource tags). New descriptors are:
722
723    FixedDma
724    GpioIo
725    GpioInt
726    I2cSerialBus
727    SpiSerialBus
728    UartSerialBus
729
730ASL/AML Operators, New and Modified:
731------------------------------------
732
733One new operator is added, the Connection operator, which is used to associate 
734a GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
735field objects within an operation region. Several new protocols are associated 
736with the AccessAs operator. All are fully supported by the iASL compiler, 
737disassembler, and runtime ACPICA AML interpreter:
738
739    Connection                      // Declare Field Connection attributes
740    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
741    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
742    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
743    RawDataBuffer                       // Data type for Vendor Data fields
744
745Predefined ASL/AML Objects:
746---------------------------
747
748All new predefined objects/control-methods are supported by the iASL compiler 
749and the ACPICA runtime validation/repair (arguments and return values.) New 
750predefined names include the following:
751
752Standard Predefined Names (Objects or Control Methods):
753    _AEI, _CLS, _CPC, _CWS, _DEP,
754    _DLM, _EVT, _GCP, _CRT, _GWS,
755    _HRV, _PRE, _PSE, _SRT, _SUB.
756
757Resource Tags (Names used to access individual fields within resource 
758descriptors):
759    _DBT, _DPL, _DRS, _END, _FLC,
760    _IOR, _LIN, _MOD, _PAR, _PHA,
761    _PIN, _PPI, _POL, _RXL, _SLV,
762    _SPE, _STB, _TXL, _VEN.
763
764ACPICA External Interfaces:
765---------------------------
766
767Several new interfaces have been defined for use by ACPI-related device 
768drivers and other host OS services:
769
770AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS to 
771acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
772provided by the BIOS. They are intended to be used in conjunction with the 
773ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
774mutual exclusion with the AML code/interpreter.
775
776AcpiGetEventResources: Returns the (formatted) resource descriptors as defined 
777by the ACPI 5.0 _AEI object (ACPI Event Information).  This object provides 
778resource descriptors associated with hardware-reduced platform events, similar 
779to the AcpiGetCurrentResources interface.
780
781Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
782operation regions, information about the Connection() object and any optional 
783length information is passed to the region handler within the Context 
784parameter.
785
786AcpiBufferToResource: This interface converts a raw AML buffer containing a 
787resource template or resource descriptor to the ACPI_RESOURCE internal format 
788suitable for use by device drivers. Can be used by an operation region handler 
789to convert the Connection() buffer object into a ACPI_RESOURCE.
790
791Miscellaneous/Tools/TestSuites: 
792-------------------------------
793
794Support for extended _HID names (Four alpha characters instead of three).
795Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
796Support for ACPI 5.0 features in the ASLTS test suite.
797Fully updated documentation (ACPICA and iASL reference documents.)
798
799ACPI Table Definition Language:
800-------------------------------
801
802Support for this language was implemented and released as a subsystem of the 
803iASL compiler in 2010. (See the iASL compiler User Guide.)
804
805
806Non-ACPI 5.0 changes for this release:
807--------------------------------------
808
8091) ACPICA Core Subsystem:
810
811Fix a problem with operation region declarations where a failure can occur if 
812the region name and an argument that evaluates to an object (such as the 
813region address) are in different namespace scopes. Lin Ming, ACPICA BZ 937.
814
815Do not abort an ACPI table load if an invalid space ID is found within. This 
816will be caught later if the offending method is executed. ACPICA BZ 925.
817
818Fixed an issue with the FFixedHW space ID where the ID was not always 
819recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
820
821Fixed a problem with the 32-bit generation of the unix-specific OSL 
822(osunixxf.c). Lin Ming, ACPICA BZ 936.
823
824Several changes made to enable generation with the GCC 4.6 compiler. ACPICA BZ 
825935.
826
827New error messages: Unsupported I/O requests (not 8/16/32 bit), and Index/Bank 
828field registers out-of-range.
829
8302) iASL Compiler/Disassembler and Tools:
831
832iASL: Implemented the __PATH__ operator, which returns the full pathname of 
833the current source file.
834
835AcpiHelp: Automatically display expanded keyword information for all ASL 
836operators.
837
838Debugger: Add "Template" command to disassemble/dump resource template 
839buffers.
840
841Added a new master script to generate and execute the ASLTS test suite. 
842Automatically handles 32- and 64-bit generation. See tests/aslts.sh
843
844iASL: Fix problem with listing generation during processing of the Switch() 
845operator where AML listing was disabled until the entire Switch block was 
846completed.
847
848iASL: Improve support for semicolon statement terminators. Fix "invalid 
849character" message for some cases when the semicolon is used. Semicolons are 
850now allowed after every <Term> grammar element. ACPICA BZ 927.
851
852iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 923.
853
854Disassembler: Fix problem with disassembly of the DataTableRegion operator 
855where an inadvertent "Unhandled deferred opcode" message could be generated.
856
8573) Example Code and Data Size
858
859These are the sizes for the OS-independent acpica.lib produced by the 
860Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
861includes the debug output trace mechanism and has a much larger code and data 
862size.
863
864  Previous Release:
865    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
866    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
867  Current Release:
868    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
869    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
870
871----------------------------------------
87222 September 2011. Summary of changes for version 20110922:
873
8740) ACPI 5.0 News:
875
876Support for ACPI 5.0 in ACPICA has been underway for several months and will 
877be released at the same time that ACPI 5.0 is officially released.
878
879The ACPI 5.0 specification is on track for release in the next few months.
880 
8811) ACPICA Core Subsystem:
882
883Fixed a problem where the maximum sleep time for the Sleep() operator was 
884intended to be limited to two seconds, but was inadvertently limited to 20 
885seconds instead.
886
887Linux and Unix makefiles: Added header file dependencies to ensure correct 
888generation of ACPICA core code and utilities. Also simplified the makefiles 
889considerably through the use of the vpath variable to specify search paths. 
890ACPICA BZ 924.
891
8922) iASL Compiler/Disassembler and Tools:
893
894iASL: Implemented support to check the access length for all fields created to 
895access named Resource Descriptor fields. For example, if a resource field is 
896defined to be two bits, a warning is issued if a CreateXxxxField() is used 
897with an incorrect bit length. This is implemented for all current resource 
898descriptor names. ACPICA BZ 930.
899  
900Disassembler: Fixed a byte ordering problem with the output of 24-bit and 56-
901bit integers.
902
903iASL: Fixed a couple of issues associated with variable-length package 
904objects. 1) properly handle constants like One, Ones, Zero -- do not make a 
905VAR_PACKAGE when these are used as a package length. 2) Allow the VAR_PACKAGE 
906opcode (in addition to PACKAGE) when validating object types for predefined 
907names.
908
909iASL: Emit statistics for all output files (instead of just the ASL input and 
910AML output). Includes listings, hex files, etc.
911
912iASL: Added -G option to the table compiler to allow the compilation of custom 
913ACPI tables. The only part of a table that is required is the standard 36-byte 
914ACPI header.
915
916AcpiXtract: Ported to the standard ACPICA environment (with ACPICA headers), 
917which also adds correct 64-bit support. Also, now all output filenames are 
918completely lower case.
919
920AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
921loading table files. A warning is issued for any such tables. The only 
922exception is an FADT. This also fixes a possible fault when attempting to load 
923non-AML tables. ACPICA BZ 932.
924
925AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
926missing table terminator could cause a fault when using the -p option.
927
928AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
929statistics.
930
9313) Example Code and Data Size
932
933These are the sizes for the OS-independent acpica.lib produced by the 
934Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
935includes the debug output trace mechanism and has a much larger code and data 
936size.
937
938  Previous Release (VC 9.0):
939    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
940    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
941  Current Release (VC 9.0):
942    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
943    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
944
945
946----------------------------------------
94723 June 2011. Summary of changes for version 20110623:
948
9491) ACPI CA Core Subsystem:
950
951Updated the predefined name repair mechanism to not attempt repair of a _TSS 
952return object if a _PSS object is present. We can only sort the _TSS return 
953package if there is no _PSS within the same scope. This is because if _PSS is 
954present, the ACPI specification dictates that the _TSS Power Dissipation field 
955is to be ignored, and therefore some BIOSs leave garbage values in the _TSS 
956Power field(s). In this case, it is best to just return the _TSS package as-
957is. Reported by, and fixed with assistance from Fenghua Yu.
958
959Added an option to globally disable the control method return value validation 
960and repair. This runtime option can be used to disable return value repair if 
961this is causing a problem on a particular machine. Also added an option to 
962AcpiExec (-dr) to set this disable flag.
963
964All makefiles and project files: Major changes to improve generation of ACPICA 
965tools. ACPICA BZ 912:
966    Reduce default optimization levels to improve compatibility
967    For Linux, add strict-aliasing=0 for gcc 4
968    Cleanup and simplify use of command line defines
969    Cleanup multithread library support
970    Improve usage messages
971
972Linux-specific header: update handling of THREAD_ID and pthread. For the 32-
973bit case, improve casting to eliminate possible warnings, especially with the 
974acpica tools.
975
976Example Code and Data Size: These are the sizes for the OS-independent 
977acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
978version of the code includes the debug output trace mechanism and has a much 
979larger code and data size.
980
981  Previous Release (VC 9.0):
982    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
983    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
984  Current Release (VC 9.0):
985    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
986    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
987
9882) iASL Compiler/Disassembler and Tools:
989
990With this release, a new utility named "acpihelp" has been added to the ACPICA 
991package. This utility summarizes the ACPI specification chapters for the ASL 
992and AML languages. It generates under Linux/Unix as well as Windows, and 
993provides the following functionality:
994    Find/display ASL operator(s) -- with description and syntax.
995    Find/display ASL keyword(s) -- with exact spelling and descriptions.
996    Find/display ACPI predefined name(s) -- with description, number
997        of arguments, and the return value data type.
998    Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
999    Decode/display AML opcode -- with opcode name, arguments, and grammar.
1000
1001Service Layers: Make multi-thread support configurable. Conditionally compile 
1002the multi-thread support so that threading libraries will not be linked if not 
1003necessary. The only tool that requires multi-thread support is AcpiExec.
1004
1005iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of 
1006Bison appear to want the interface to yyerror to be a const char * (or at 
1007least this is a problem when generating iASL on some systems.) ACPICA BZ 923 
1008Pierre Lejeune.
1009
1010Tools: Fix for systems where O_BINARY is not defined. Only used for Windows 
1011versions of the tools.
1012
1013----------------------------------------
101427 May 2011. Summary of changes for version 20110527:
1015
10161) ACPI CA Core Subsystem:
1017
1018ASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
1019signature. Now, only allow SSDT, OEMx, and a null signature. History:
1020    1) Originally, we checked the table signature for "SSDT" or "PSDT".
1021       (PSDT is now obsolete.)
1022    2) We added support for OEMx tables, signature "OEM" plus a fourth
1023       "don't care" character.
1024    3) Valid tables were encountered with a null signature, so we just
1025       gave up on validating the signature, (05/2008).
1026    4) We encountered non-AML tables such as the MADT, which caused
1027       interpreter errors and kernel faults. So now, we once again allow
1028       only SSDT, OEMx, and now, also a null signature. (05/2011).
1029
1030Added the missing _TDL predefined name to the global name list in order to 
1031enable validation. Affects both the core ACPICA code and the iASL compiler.
1032
1033Example Code and Data Size: These are the sizes for the OS-independent 
1034acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
1035version of the code includes the debug output trace mechanism and has a much 
1036larger code and data size.
1037
1038  Previous Release (VC 9.0):
1039    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
1040    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
1041  Current Release (VC 9.0):
1042    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
1043    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1044
10452) iASL Compiler/Disassembler and Tools:
1046
1047Debugger/AcpiExec: Implemented support for "complex" method arguments on the 
1048debugger command line. This adds support beyond simple integers -- including 
1049Strings, Buffers, and Packages. Includes support for nested packages. 
1050Increased the default command line buffer size to accommodate these arguments. 
1051See the ACPICA reference for details and syntax. ACPICA BZ 917.
1052 
1053Debugger/AcpiExec: Implemented support for "default" method arguments for the 
1054Execute/Debug command. Now, the debugger will always invoke a control method 
1055with the required number of arguments -- even if the command line specifies 
1056none or insufficient arguments. It uses default integer values for any missing 
1057arguments. Also fixes a bug where only six method arguments maximum were 
1058supported instead of the required seven.
1059
1060Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
1061also return status in order to prevent buffer overruns. See the ACPICA 
1062reference for details and syntax. ACPICA BZ 921
1063
1064iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
1065makefiles to simplify support for the two different but similar parser 
1066generators, bison and yacc.
1067
1068Updated the generic unix makefile for gcc 4. The default gcc version is now 
1069expected to be 4 or greater, since options specific to gcc 4 are used.
1070
1071----------------------------------------
107213 April 2011. Summary of changes for version 20110413:
1073
10741) ACPI CA Core Subsystem:
1075
1076Implemented support to execute a so-called "orphan" _REG method under the EC 
1077device. This change will force the execution of a _REG method underneath the 
1078EC 
1079device even if there is no corresponding operation region of type 
1080EmbeddedControl. Fixes a problem seen on some machines and apparently is 
1081compatible with Windows behavior. ACPICA BZ 875.
1082
1083Added more predefined methods that are eligible for automatic NULL package 
1084element removal. This change adds another group of predefined names to the 
1085list 
1086of names that can be repaired by having NULL package elements dynamically 
1087removed. This group are those methods that return a single variable-length 
1088package containing simple data types such as integers, buffers, strings. This 
1089includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL, 
1090_Sx, 
1091and _TZD. ACPICA BZ 914.
1092
1093Split and segregated all internal global lock functions to a new file, 
1094evglock.c.
1095
1096Updated internal address SpaceID for DataTable regions. Moved this internal 
1097space 
1098id in preparation for ACPI 5.0 changes that will include some new space IDs. 
1099This 
1100change should not affect user/host code.
1101
1102Example Code and Data Size: These are the sizes for the OS-independent 
1103acpica.lib 
1104produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
1105the code includes the debug output trace mechanism and has a much larger code 
1106and 
1107data size.
1108
1109  Previous Release (VC 9.0):
1110    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
1111    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
1112  Current Release (VC 9.0):
1113    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
1114    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
1115
11162) iASL Compiler/Disassembler and Tools:
1117
1118iASL/DTC: Major update for new grammar features. Allow generic data types in 
1119custom ACPI tables. Field names are now optional. Any line can be split to 
1120multiple lines using the continuation char (\). Large buffers now use line-
1121continuation character(s) and no colon on the continuation lines. See the 
1122grammar 
1123update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
1124
1125iASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements. 
1126Since the parser stuffs a "zero" as the return value for these statements (due 
1127to 
1128the underlying AML grammar), they were seen as "return with value" by the iASL 
1129semantic checking. They are now seen correctly as "null" return statements.
1130
1131iASL: Check if a_REG declaration has a corresponding Operation Region. Adds a 
1132check for each _REG to ensure that there is in fact a corresponding operation 
1133region declaration in the same scope. If not, the _REG method is not very 
1134useful 
1135since it probably won't be executed. ACPICA BZ 915.
1136
1137iASL/DTC: Finish support for expression evaluation. Added a new expression 
1138parser 
1139that implements c-style operator precedence and parenthesization. ACPICA 
1140bugzilla 
1141908.
1142
1143Disassembler/DTC: Remove support for () and <> style comments in data tables. 
1144Now 
1145that DTC has full expression support, we don't want to have comment strings 
1146that 
1147start with a parentheses or a less-than symbol. Now, only the standard /* and 
1148// 
1149comments are supported, as well as the bracket [] comments.
1150
1151AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
1152"unusual" 
1153headers in the acpidump file. Update the header validation to support these 
1154tables. Problem introduced in previous AcpiXtract version in the change to 
1155support "wrong checksum" error messages emitted by acpidump utility.
1156
1157iASL: Add a * option to generate all template files (as a synonym for ALL) as 
1158in 
1159"iasl -T *" or "iasl -T ALL".
1160
1161iASL/DTC: Do not abort compiler on fatal errors. We do not want to completely 
1162abort the compiler on "fatal" errors, simply should abort the current compile. 
1163This allows multiple compiles with a single (possibly wildcard) compiler 
1164invocation.
1165
1166----------------------------------------
116716 March 2011. Summary of changes for version 20110316:
1168
11691) ACPI CA Core Subsystem:
1170
1171Fixed a problem caused by a _PRW method appearing at the namespace root scope 
1172during the setup of wake GPEs. A fault could occur if a _PRW directly under 
1173the 
1174root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
1175
1176Implemented support for "spurious" Global Lock interrupts. On some systems, a 
1177global lock interrupt can occur without the pending flag being set. Upon a GL 
1178interrupt, we now ensure that a thread is actually waiting for the lock before 
1179signaling GL availability. Rafael Wysocki, Bob Moore.
1180
1181Example Code and Data Size: These are the sizes for the OS-independent 
1182acpica.lib 
1183produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
1184the code includes the debug output trace mechanism and has a much larger code 
1185and 
1186data size.
1187
1188  Previous Release (VC 9.0):
1189    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1190    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1191  Current Release (VC 9.0):
1192    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
1193    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
1194
11952) iASL Compiler/Disassembler and Tools:
1196
1197Implemented full support for the "SLIC" ACPI table. Includes support in the 
1198header files, disassembler, table compiler, and template generator. Bob Moore, 
1199Lin Ming.
1200
1201AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
1202Apparently some or all versions of acpidump will occasionally emit a comment 
1203like 
1204"Wrong checksum", etc., into the dump file. This was causing problems for 
1205AcpiXtract. ACPICA BZ 905.
1206
1207iASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
1208ACPICA BZ 913.
1209
1210AcpiExec: Update installation of operation region handlers. Install one 
1211handler 
1212for a user-defined address space. This is used by the ASL test suite (ASLTS).
1213
1214----------------------------------------
121511 February 2011. Summary of changes for version 20110211:
1216
12171) ACPI CA Core Subsystem:
1218
1219Added a mechanism to defer _REG methods for some early-installed handlers. 
1220Most user handlers should be installed before call to AcpiEnableSubsystem. 
1221However, Event handlers and region handlers should be installed after 
1222AcpiInitializeObjects. Override handlers for the "default" regions should be 
1223installed early, however. This change executes all _REG methods for the 
1224default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
1225chicken/egg issues between them. ACPICA BZ 848.
1226
1227Implemented an optimization for GPE detection. This optimization will simply 
1228ignore GPE registers that contain no enabled GPEs -- there is no need to 
1229read the register since this information is available internally. This 
1230becomes more important on machines with a large GPE space. ACPICA bugzilla 
1231884. Lin Ming. Suggestion from Joe Liu.
1232
1233Removed all use of the highly unreliable FADT revision field. The revision 
1234number in the FADT has been found to be completely unreliable and cannot be 
1235trusted. Only the actual table length can be used to infer the version. This 
1236change updates the ACPICA core and the disassembler so that both no longer 
1237even look at the FADT version and instead depend solely upon the FADT 
1238length.
1239
1240Fix an unresolved name issue for the no-debug and no-error-message source 
1241generation cases. The _AcpiModuleName was left undefined in these cases, but 
1242it is actually needed as a parameter to some interfaces. Define 
1243_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
1244
1245Split several large files (makefiles and project files updated)
1246  utglobal.c   -> utdecode.c
1247  dbcomds.c    -> dbmethod.c dbnames.c
1248  dsopcode.c   -> dsargs.c dscontrol.c
1249  dsload.c     -> dsload2.c
1250  aslanalyze.c -> aslbtypes.c aslwalks.c
1251
1252Example Code and Data Size: These are the sizes for the OS-independent 
1253acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1254debug version of the code includes the debug output trace mechanism and has 
1255a much larger code and data size.
1256
1257  Previous Release (VC 9.0):
1258    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1259    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1260  Current Release (VC 9.0):
1261    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1262    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1263
12642) iASL Compiler/Disassembler and Tools:
1265
1266iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
1267These are useful C-style macros with the standard definitions. ACPICA 
1268bugzilla 898.
1269
1270iASL/DTC: Added support for integer expressions and labels. Support for full 
1271expressions for all integer fields in all ACPI tables. Support for labels in 
1272"generic" portions of tables such as UEFI. See the iASL reference manual.
1273
1274Debugger: Added a command to display the status of global handlers. The 
1275"handlers" command will display op region, fixed event, and miscellaneous 
1276global handlers. installation status -- and for op regions, whether default 
1277or user-installed handler will be used.
1278
1279iASL: Warn if reserved method incorrectly returns a value. Many predefined 
1280names are defined such that they do not return a value. If implemented as a 
1281method, issue a warning if such a name explicitly returns a value. ACPICA 
1282Bugzilla 855.
1283
1284iASL: Added detection of GPE method name conflicts. Detects a conflict where 
1285there are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
1286example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
1287
1288iASL/DTC: Fixed a couple input scanner issues with comments and line 
1289numbers. Comment remover could get confused and miss a comment ending. Fixed 
1290a problem with line counter maintenance.
1291
1292iASL/DTC: Reduced the severity of some errors from fatal to error. There is 
1293no need to abort on simple errors within a field definition.
1294
1295Debugger: Simplified the output of the help command. All help output now in 
1296a single screen, instead of help subcommands. ACPICA Bugzilla 897.
1297
1298----------------------------------------
129912 January 2011. Summary of changes for version 20110112:
1300
13011) ACPI CA Core Subsystem:
1302
1303Fixed a race condition between method execution and namespace walks that can 
1304possibly cause a fault. The problem was apparently introduced in version 
130520100528 as a result of a performance optimization that reduces the number of 
1306namespace walks upon method exit by using the delete_namespace_subtree 
1307function instead of the delete_namespace_by_owner function used previously. 
1308Bug is a missing namespace lock in the delete_namespace_subtree function. 
1309dana.myers@oracle.com
1310
1311Fixed several issues and a possible fault with the automatic "serialized" 
1312method support. History: This support changes a method to "serialized" on the 
1313fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
1314possibility that it cannot handle reentrancy. This fix repairs a couple of 
1315issues seen in the field, especially on machines with many cores:
1316
1317    1) Delete method children only upon the exit of the last thread,
1318       so as to not delete objects out from under other running threads
1319      (and possibly causing a fault.)
1320    2) Set the "serialized" bit for the method only upon the exit of the
1321       Last thread, so as to not cause deadlock when running threads
1322       attempt to exit.
1323    3) Cleanup the use of the AML "MethodFlags" and internal method flags
1324       so that there is no longer any confusion between the two.
1325
1326    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
1327
1328Debugger: Now lock the namespace for duration of a namespace dump. Prevents 
1329issues if the namespace is changing dynamically underneath the debugger. 
1330Especially affects temporary namespace nodes, since the debugger displays 
1331these also.
1332
1333Updated the ordering of include files. The ACPICA headers should appear 
1334before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
1335any necessary compiler-specific defines, etc. Affects the ACPI-related tools 
1336and utilities.
1337
1338Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
1339to all module headers and signons, including the Linux header. This affects 
1340virtually every file in the ACPICA core subsystem, iASL compiler, and all 
1341utilities.
1342
1343Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
1344project files for VC++ 6.0 are now obsolete. New project files can be found 
1345under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
1346details.
1347
1348Example Code and Data Size: These are the sizes for the OS-independent 
1349acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1350debug version of the code includes the debug output trace mechanism and has a 
1351much larger code and data size.
1352
1353  Previous Release (VC 6.0):
1354    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
1355    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
1356  Current Release (VC 9.0):
1357    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1358    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1359
13602) iASL Compiler/Disassembler and Tools:
1361
1362iASL: Added generic data types to the Data Table compiler. Add "generic" data 
1363types such as UINT32, String, Unicode, etc., to simplify the generation of 
1364platform-defined tables such as UEFI. Lin Ming.
1365
1366iASL: Added listing support for the Data Table Compiler. Adds listing support 
1367(-l) to display actual binary output for each line of input code.
1368
1369----------------------------------------
137009 December 2010. Summary of changes for version 20101209:
1371
13721) ACPI CA Core Subsystem:
1373
1374Completed the major overhaul of the GPE support code that was begun in July 
13752010. Major features include: removal of _PRW execution in ACPICA (host 
1376executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
1377changes to existing interfaces, simplification of GPE handler operation, and 
1378a handful of new interfaces:
1379
1380    AcpiUpdateAllGpes
1381    AcpiFinishGpe
1382    AcpiSetupGpeForWake
1383    AcpiSetGpeWakeMask
1384    One new file, evxfgpe.c to consolidate all external GPE interfaces.
1385
1386See the ACPICA Programmer Reference for full details and programming 
1387information. See the new section 4.4 "General Purpose Event (GPE) Support" 
1388for a full overview, and section 8.7 "ACPI General Purpose Event Management" 
1389for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
1390Bob Moore, Rafael Wysocki.
1391
1392Implemented a new GPE feature for Windows compatibility, the "Implicit Wake 
1393GPE Notify". This feature will automatically issue a Notify(2) on a device 
1394when a Wake GPE is received if there is no corresponding GPE method or 
1395handler. ACPICA BZ 870.
1396
1397Fixed a problem with the Scope() operator during table parse and load phase. 
1398During load phase (table load or method execution), the scope operator should 
1399not enter the target into the namespace. Instead, it should open a new scope 
1400at the target location. Linux BZ 19462, ACPICA BZ 882.
1401
1402Example Code and Data Size: These are the sizes for the OS-independent 
1403acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1404debug version of the code includes the debug output trace mechanism and has a 
1405much larger code and data size.
1406
1407  Previous Release:
1408    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
1409    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
1410  Current Release:
1411    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1412    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1413
14142) iASL Compiler/Disassembler and Tools:
1415
1416iASL: Relax the alphanumeric restriction on _CID strings. These strings are 
1417"bus-specific" per the ACPI specification, and therefore any characters are 
1418acceptable. The only checks that can be performed are for a null string and 
1419perhaps for a leading asterisk. ACPICA BZ 886.
1420
1421iASL: Fixed a problem where a syntax error that caused a premature EOF 
1422condition on the source file emitted a very confusing error message. The 
1423premature EOF is now detected correctly. ACPICA BZ 891.
1424
1425Disassembler: Decode the AccessSize within a Generic Address Structure (byte 
1426access, word access, etc.) Note, this field does not allow arbitrary bit 
1427access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
1428
1429New: AcpiNames utility - Example namespace dump utility. Shows an example of 
1430ACPICA configuration for a minimal namespace dump utility. Uses table and 
1431namespace managers, but no AML interpreter. Does not add any functionality 
1432over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
1433partition and configure ACPICA. ACPICA BZ 883.
1434
1435AML Debugger: Increased the debugger buffer size for method return objects. 
1436Was 4K, increased to 16K. Also enhanced error messages for debugger method 
1437execution, including the buffer overflow case.
1438
1439----------------------------------------
144013 October 2010. Summary of changes for version 20101013:
1441
14421) ACPI CA Core Subsystem:
1443
1444Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
1445clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
1446HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
1447
1448Changed the type of the predefined namespace object _TZ from ThermalZone to 
1449Device. This was found to be confusing to the host software that processes 
1450the various thermal zones, since _TZ is not really a ThermalZone. However, a 
1451Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
1452Zhang.
1453
1454Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
1455string is "Windows 2006 SP2".
1456
1457Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
1458code automatically repairs _HID-related strings, this type of code is no 
1459longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
1460
1461Example Code and Data Size: These are the sizes for the OS-independent 
1462acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1463debug version of the code includes the debug output trace mechanism and has a 
1464much larger code and data size.
1465
1466  Previous Release:
1467    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1468    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1469  Current Release:
1470    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1471    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1472
14732) iASL Compiler/Disassembler and Tools:
1474
1475iASL: Implemented additional compile-time validation for _HID strings. The 
1476non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
1477the string must be exactly seven or eight characters. For both _HID and _CID 
1478strings, all characters must be alphanumeric. ACPICA BZ 874.
1479
1480iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
1481descriptors that are mostly or all zeros, with the expectation that they will 
1482be filled in at runtime. iASL now allows this as long as there is a "resource 
1483tag" (name) associated with the descriptor, which gives the ASL a handle 
1484needed to modify the descriptor. ACPICA BZ 873.
1485
1486Added single-thread support to the generic Unix application OSL. Primarily 
1487for iASL support, this change removes the use of semaphores in the single-
1488threaded ACPICA tools/applications - increasing performance. The 
1489_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
1490option. ACPICA BZ 879.
1491
1492AcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
1493for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
1494
1495iASL: Moved all compiler messages to a new file, aslmessages.h.
1496
1497----------------------------------------
149815 September 2010. Summary of changes for version 20100915:
1499
15001) ACPI CA Core Subsystem:
1501
1502Removed the AcpiOsDerivePciId OSL interface. The various host implementations 
1503of this function were not OS-dependent and are now obsolete and can be 
1504removed from all host OSLs. This function has been replaced by 
1505AcpiHwDerivePciId, which is now part of the ACPICA core code. 
1506AcpiHwDerivePciId has been implemented without recursion. Adds one new 
1507module, hwpci.c. ACPICA BZ 857.
1508
1509Implemented a dynamic repair for _HID and _CID strings. The following 
1510problems are now repaired at runtime: 1) Remove a leading asterisk in the 
1511string, and 2) the entire string is uppercased. Both repairs are in 
1512accordance with the ACPI specification and will simplify host driver code. 
1513ACPICA BZ 871.
1514
1515The ACPI_THREAD_ID type is no longer configurable, internally it is now 
1516always UINT64. This simplifies the ACPICA code, especially any printf output. 
1517UINT64 is the only common data type for all thread_id types across all 
1518operating systems. It is now up to the host OSL to cast the native thread_id 
1519type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
1520Lin Ming, Bob Moore.
1521
1522Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
1523keyword is not standard across compilers, and this type allows inline to be 
1524configured on a per-compiler basis. Lin Ming.
1525
1526Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
1527Added an extern for this boolean in acpixf.h. Some hosts utilize this value 
1528during suspend/restore operations. ACPICA BZ 869.
1529
1530All code that implements error/warning messages with the "ACPI:" prefix has 
1531been moved to a new module, utxferror.c.
1532
1533The UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
1534is used. ACPICA BZ 829. Lin Ming, Bob Moore.
1535
1536Example Code and Data Size: These are the sizes for the OS-independent 
1537acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1538debug version of the code includes the debug output trace mechanism and has a 
1539much larger code and data size.
1540
1541  Previous Release:
1542    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1543    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1544  Current Release:
1545    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1546    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1547
15482) iASL Compiler/Disassembler and Tools:
1549
1550iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
1551This keeps the output files free of random error messages that may originate 
1552from within the namespace/interpreter code. Used this opportunity to merge 
1553all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
1554866. Lin Ming, Bob Moore.
1555
1556Tools: update some printfs for ansi warnings on size_t. Handle width change 
1557of size_t on 32-bit versus 64-bit generations. Lin Ming.
1558
1559----------------------------------------
156006 August 2010. Summary of changes for version 20100806:
1561
15621) ACPI CA Core Subsystem:
1563
1564Designed and implemented a new host interface to the _OSI support code. This 
1565will allow the host to dynamically add or remove multiple _OSI strings, as 
1566well as install an optional handler that is called for each _OSI invocation. 
1567Also added a new AML debugger command, 'osi' to display and modify the global 
1568_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
1569reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
1570New Functions:
1571    AcpiInstallInterface - Add an _OSI string.
1572    AcpiRemoveInterface - Delete an _OSI string.
1573    AcpiInstallInterfaceHandler - Install optional _OSI handler.
1574Obsolete Functions:
1575    AcpiOsValidateInterface - no longer used.
1576New Files:
1577    source/components/utilities/utosi.c
1578
1579Re-introduced the support to enable multi-byte transfers for Embedded 
1580Controller (EC) operation regions. A reported problem was found to be a bug 
1581in the host OS, not in the multi-byte support. Previously, the maximum data 
1582size passed to the EC operation region handler was a single byte. There are 
1583often EC Fields larger than one byte that need to be transferred, and it is 
1584useful for the EC driver to lock these as a single transaction. This change 
1585enables single transfers larger than 8 bits. This effectively changes the 
1586access to the EC space from ByteAcc to AnyAcc, and will probably require 
1587changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
1588transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
1589
1590Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
1591prototype in acpiosxf.h had the output value pointer as a (void *).
1592It should be a (UINT64 *). This may affect some host OSL code.
1593
1594Fixed a couple problems with the recently modified Linux makefiles for iASL 
1595and AcpiExec. These new makefiles place the generated object files in the 
1596local directory so that there can be no collisions between the files that are 
1597shared between them that are compiled with different options.
1598
1599Example Code and Data Size: These are the sizes for the OS-independent 
1600acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1601debug version of the code includes the debug output trace mechanism and has a 
1602much larger code and data size.
1603
1604  Previous Release:
1605    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1606    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1607  Current Release:
1608    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1609    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1610
16112) iASL Compiler/Disassembler and Tools:
1612
1613iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
1614namespace from and disassemble an entire group of AML files. Useful for 
1615loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
1616disassembling with one simple command. ACPICA BZ 865. Lin Ming.
1617
1618iASL: Allow multiple invocations of -e option. This change allows multiple 
1619uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
1620Lin Ming.
1621
1622----------------------------------------
162302 July 2010. Summary of changes for version 20100702:
1624
16251) ACPI CA Core Subsystem:
1626
1627Implemented several updates to the recently added GPE reference count 
1628support. The model for "wake" GPEs is changing to give the host OS complete 
1629control of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
1630methods, since the host already must execute them. Also, additional changes 
1631were made to help ensure that the reference counts are kept in proper 
1632synchronization with reality. Rafael J. Wysocki.
1633
16341) Ensure that GPEs are not enabled twice during initialization.
16352) Ensure that GPE enable masks stay in sync with the reference count.
16363) Do not inadvertently enable GPEs when writing GPE registers.
16374) Remove the internal wake reference counter and add new AcpiGpeWakeup 
1638interface. This interface will set or clear individual GPEs for wakeup.
16395) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
1640are now used for "runtime" GPEs only.
1641
1642Changed the behavior of the GPE install/remove handler interfaces. The GPE is 
1643no longer disabled during this process, as it was found to cause problems on 
1644some machines. Rafael J. Wysocki.
1645
1646Reverted a change introduced in version 20100528 to enable Embedded 
1647Controller multi-byte transfers. This change was found to cause problems with 
1648Index Fields and possibly Bank Fields. It will be reintroduced when these 
1649problems have been resolved.
1650
1651Fixed a problem with references to Alias objects within Package Objects. A 
1652reference to an Alias within the definition of a Package was not always 
1653resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
1654were resolved to the actual object instead of a reference to the object as it 
1655should be. Package objects are only allowed to contain integer, string, 
1656buffer, package, and reference objects. Redhat bugzilla 608648.
1657
1658Example Code and Data Size: These are the sizes for the OS-independent 
1659acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1660debug version of the code includes the debug output trace mechanism and has a 
1661much larger code and data size.
1662
1663  Previous Release:
1664    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1665    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1666  Current Release:
1667    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1668    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1669
16702) iASL Compiler/Disassembler and Tools:
1671
1672iASL: Implemented a new compiler subsystem to allow definition and 
1673compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
1674are called "ACPI Data Tables", and the new compiler is the "Data Table 
1675Compiler". This compiler is intended to simplify the existing error-prone 
1676process of creating these tables for the BIOS, as well as allowing the 
1677disassembly, modification, recompilation, and override of existing ACPI data 
1678tables. See the iASL User Guide for detailed information.
1679
1680iASL: Implemented a new Template Generator option in support of the new Data 
1681Table Compiler. This option will create examples of all known ACPI tables 
1682that can be used as the basis for table development. See the iASL 
1683documentation and the -T option.
1684
1685Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
1686Descriptor Table).
1687
1688Updated the Linux makefiles for iASL and AcpiExec to place the generated 
1689object files in the local directory so that there can be no collisions 
1690between the shared files between them that are generated with different 
1691options.
1692
1693Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
1694the #define __APPLE__ to enable this support.
1695
1696----------------------------------------
169728 May 2010. Summary of changes for version 20100528:
1698
1699Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
1700available at www.acpi.info. This is primarily an errata release.
1701
17021) ACPI CA Core Subsystem:
1703
1704Undefined ACPI tables: We are looking for the definitions for the following 
1705ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
1706
1707Implemented support to enable multi-byte transfers for Embedded Controller 
1708(EC) operation regions. Previously, the maximum data size passed to the EC 
1709operation region handler was a single byte. There are often EC Fields larger 
1710than one byte that need to be transferred, and it is useful for the EC driver 
1711to lock these as a single transaction. This change enables single transfers 
1712larger than 8 bits. This effectively changes the access to the EC space from 
1713ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
1714Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
1715transfers. Alexey Starikovskiy, Lin Ming
1716
1717Implemented a performance enhancement for namespace search and access. This 
1718change enhances the performance of namespace searches and walks by adding a 
1719backpointer to the parent in each namespace node. On large namespaces, this 
1720change can improve overall ACPI performance by up to 9X. Adding a pointer to 
1721each namespace node increases the overall size of the internal namespace by 
1722about 5%, since each namespace entry usually consists of both a namespace 
1723node and an ACPI operand object. However, this is the first growth of the 
1724namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
1725
1726Implemented a performance optimization that reduces the number of namespace 
1727walks. On control method exit, only walk the namespace if the method is known 
1728to have created namespace objects outside of its local scope. Previously, the 
1729entire namespace was traversed on each control method exit. This change can 
1730improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
1731
1732Added support to truncate I/O addresses to 16 bits for Windows compatibility. 
1733Some ASL code has been seen in the field that inadvertently has bits set 
1734above bit 15. This feature is optional and is enabled if the BIOS requests 
1735any Windows OSI strings. It can also be enabled by the host OS. Matthew 
1736Garrett, Bob Moore.
1737
1738Added support to limit the maximum time for the ASL Sleep() operator. To 
1739prevent accidental deep sleeps, limit the maximum time that Sleep() will 
1740actually sleep. Configurable, the default maximum is two seconds. ACPICA 
1741bugzilla 854.
1742
1743Added run-time validation support for the _WDG and_WED Microsoft predefined 
1744methods. These objects are defined by "Windows Instrumentation", and are not 
1745part of the ACPI spec. ACPICA BZ 860.
1746
1747Expanded all statistic counters used during namespace and device 
1748initialization from 16 to 32 bits in order to support very large namespaces.
1749
1750Replaced all instances of %d in printf format specifiers with %u since nearly 
1751all integers in ACPICA are unsigned.
1752
1753Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
1754as AE_NO_HANDLER.
1755
1756Example Code and Data Size: These are the sizes for the OS-independent 
1757acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1758debug version of the code includes the debug output trace mechanism and has a 
1759much larger code and data size.
1760
1761  Previous Release:
1762    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1763    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1764  Current Release:
1765    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1766    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1767
17682) iASL Compiler/Disassembler and Tools:
1769
1770iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
1771methods. These objects are defined by "Windows Instrumentation", and are not 
1772part of the ACPI spec. ACPICA BZ 860.
1773
1774AcpiExec: added option to disable the memory tracking mechanism. The -dt 
1775option will disable the tracking mechanism, which improves performance 
1776considerably.
1777
1778AcpiExec: Restructured the command line options into -d (disable) and -e 
1779(enable) options.
1780
1781----------------------------------------
178228 April 2010. Summary of changes for version 20100428:
1783
17841) ACPI CA Core Subsystem:
1785
1786Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
1787including FADT-based and GPE Block Devices, execute any _PRW methods in the 
1788new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
1789runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
1790immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
1791Devices. Provides compatibility with other ACPI implementations. Two new 
1792files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
1793
1794Fixed a regression introduced in version 20100331 within the table manager 
1795where initial table loading could fail. This was introduced in the fix for 
1796AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
1797data structures to clarify their meaning and use.
1798
1799Fixed a possible allocation overrun during internal object copy in 
1800AcpiUtCopySimpleObject. The original code did not correctly handle the case 
1801where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
1802
1803Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
1804possible access beyond end-of-allocation. Also, now fully validate descriptor 
1805(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
1806
1807Example Code and Data Size: These are the sizes for the OS-independent 
1808acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1809debug version of the code includes the debug output trace mechanism and has a 
1810much larger code and data size.
1811
1812  Previous Release:
1813    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1814    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1815  Current Release:
1816    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1817    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1818
18192) iASL Compiler/Disassembler and Tools:
1820
1821iASL: Implemented Min/Max/Len/Gran validation for address resource 
1822descriptors. This change implements validation for the address fields that 
1823are common to all address-type resource descriptors. These checks are 
1824implemented: Checks for valid Min/Max, length within the Min/Max window, 
1825valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
1826table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
1827and aslrestype2.c files into five new files. ACPICA BZ 840.
1828
1829iASL: Added support for the _Wxx predefined names. This support was missing 
1830and these names were not recognized by the compiler as valid predefined 
1831names. ACPICA BZ 851.
1832
1833iASL: Added an error for all predefined names that are defined to return no 
1834value and thus must be implemented as Control Methods. These include all of 
1835the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
1836names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
1837
1838iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
1839ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
1840dynamically loaded via the Load() operator. Also cleaned up output for the -
1841ta and -tc options. ACPICA BZ 853.
1842
1843Tests: Added a new file with examples of extended iASL error checking. 
1844Demonstrates the advanced error checking ability of the iASL compiler. 
1845Available at tests/misc/badcode.asl.
1846
1847----------------------------------------
184831 March 2010. Summary of changes for version 20100331:
1849
18501) ACPI CA Core Subsystem:
1851
1852Completed a major update for the GPE support in order to improve support for 
1853shared GPEs and to simplify both host OS and ACPICA code. Added a reference 
1854count mechanism to support shared GPEs that require multiple device drivers. 
1855Several external interfaces have changed. One external interface has been 
1856removed. One new external interface was added. Most of the GPE external 
1857interfaces now use the GPE spinlock instead of the events mutex (and the 
1858Flags parameter for many GPE interfaces has been removed.) See the updated 
1859ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
1860Wysocki. ACPICA BZ 831.
1861
1862Changed:
1863    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
1864Removed:
1865    AcpiSetGpeType
1866New:
1867    AcpiSetGpe
1868
1869Implemented write support for DataTable operation regions. These regions are 
1870defined via the DataTableRegion() operator. Previously, only read support was 
1871implemented. The ACPI specification allows DataTableRegions to be read/write, 
1872however.
1873
1874Implemented a new subsystem option to force a copy of the DSDT to local 
1875memory. Optionally copy the entire DSDT to local memory (instead of simply 
1876mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
1877the original DSDT, creating the need for this option. Default is FALSE, do 
1878not copy the DSDT.
1879
1880Implemented detection of a corrupted or replaced DSDT. This change adds 
1881support to detect a DSDT that has been corrupted and/or replaced from outside 
1882the OS (by firmware). This is typically catastrophic for the system, but has 
1883been seen on some machines. Once this problem has been detected, the DSDT 
1884copy option can be enabled via system configuration. Lin Ming, Bob Moore.
1885
1886Fixed two problems with AcpiReallocateRootTable during the root table copy. 
1887When copying the root table to the new allocation, the length used was 
1888incorrect. The new size was used instead of the current table size, meaning 
1889too much data was copied. Also, the count of available slots for ACPI tables 
1890was not set correctly. Alexey Starikovskiy, Bob Moore.
1891
1892Example Code and Data Size: These are the sizes for the OS-independent 
1893acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1894debug version of the code includes the debug output trace mechanism and has a 
1895much larger code and data size.
1896
1897  Previous Release:
1898    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1899    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1900  Current Release:
1901    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1902    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1903
19042) iASL Compiler/Disassembler and Tools:
1905
1906iASL: Implement limited typechecking for values returned from predefined 
1907control methods. The type of any returned static (unnamed) object is now 
1908validated. For example, Return(1). ACPICA BZ 786.
1909
1910iASL: Fixed a predefined name object verification regression. Fixes a problem 
1911introduced in version 20100304. An error is incorrectly generated if a 
1912predefined name is declared as a static named object with a value defined 
1913using the keywords "Zero", "One", or "Ones". Lin Ming.
1914
1915iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
1916reducing the requested registry access rights. ACPICA BZ 842.
1917
1918Disassembler: fixed a possible fault when generating External() statements. 
1919Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
1920(carat). Fixes a string length allocation calculation. Lin Ming.
1921
1922----------------------------------------
192304 March 2010. Summary of changes for version 20100304:
1924
19251) ACPI CA Core Subsystem:
1926
1927Fixed a possible problem with the AML Mutex handling function 
1928AcpiExReleaseMutex where the function could fault under the very rare 
1929condition when the interpreter has blocked, the interpreter lock is released, 
1930the interpreter is then reentered via the same thread, and attempts to 
1931acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
1932Ming.
1933
1934Implemented additional configuration support for the AML "Debug Object". 
1935Output from the debug object can now be enabled via a global variable, 
1936AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
1937This debug output is now available in the release version of ACPICA instead 
1938of just the debug version. Also, the entire debug output module can now be 
1939configured out of the ACPICA build if desired. One new file added, 
1940executer/exdebug.c. Lin Ming, Bob Moore.
1941
1942Added header support for the ACPI MCHI table (Management Controller Host 
1943Interface Table). This table was added in ACPI 4.0, but the defining document 
1944has only recently become available.
1945
1946Standardized output of integer values for ACPICA warnings/errors. Always use 
19470x prefix for hex output, always use %u for unsigned integer decimal output. 
1948Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
1949invocations.) These invocations were converted from the original 
1950ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
1951
1952Example Code and Data Size: These are the sizes for the OS-independent 
1953acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1954debug version of the code includes the debug output trace mechanism and has a 
1955much larger code and data size.
1956
1957  Previous Release:
1958    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1959    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1960  Current Release:
1961    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1962    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1963
19642) iASL Compiler/Disassembler and Tools:
1965
1966iASL: Implemented typechecking support for static (non-control method) 
1967predefined named objects that are declared with the Name() operator. For 
1968example, the type of this object is now validated to be of type Integer: 
1969Name(_BBN, 1). This change migrates the compiler to using the core predefined 
1970name table instead of maintaining a local version. Added a new file, 
1971aslpredef.c. ACPICA BZ 832.
1972
1973Disassembler: Added support for the ACPI 4.0 MCHI table.
1974
1975----------------------------------------
197621 January 2010. Summary of changes for version 20100121:
1977
19781) ACPI CA Core Subsystem:
1979
1980Added the 2010 copyright to all module headers and signons. This affects 
1981virtually every file in the ACPICA core subsystem, the iASL compiler, the 
1982tools/utilities, and the test suites.
1983
1984Implemented a change to the AcpiGetDevices interface to eliminate unnecessary 
1985invocations of the _STA method. In the case where a specific _HID is 
1986requested, do not run _STA until a _HID match is found. This eliminates 
1987potentially dozens of _STA calls during a search for a particular device/HID, 
1988which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
1989
1990Implemented an additional repair for predefined method return values. Attempt 
1991to repair unexpected NULL elements within returned Package objects. Create an 
1992Integer of value zero, a NULL String, or a zero-length Buffer as appropriate. 
1993ACPICA BZ 818. Lin Ming, Bob Moore.
1994
1995Removed the obsolete ACPI_INTEGER data type. This type was introduced as the 
1996code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
199764-bit AML integers). It is now obsolete and this change removes it from the 
1998ACPICA code base, replaced by UINT64. The original typedef has been retained 
1999for now for compatibility with existing device driver code. ACPICA BZ 824.
2000
2001Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
2002the parse tree object.
2003
2004Added additional warning options for the gcc-4 generation. Updated the source 
2005accordingly. This includes some code restructuring to eliminate unreachable 
2006code, elimination of some gotos, elimination of unused return values, some 
2007additional casting, and removal of redundant declarations.
2008
2009Example Code and Data Size: These are the sizes for the OS-independent 
2010acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2011debug version of the code includes the debug output trace mechanism and has a 
2012much larger code and data size.
2013
2014  Previous Release:
2015    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
2016    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
2017  Current Release:
2018    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
2019    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
2020
20212) iASL Compiler/Disassembler and Tools:
2022
2023No functional changes for this release.
2024
2025----------------------------------------
202614 December 2009. Summary of changes for version 20091214:
2027
20281) ACPI CA Core Subsystem:
2029
2030Enhanced automatic data type conversions for predefined name repairs. This 
2031change expands the automatic repairs/conversions for predefined name return 
2032values to make Integers, Strings, and Buffers fully interchangeable. Also, a 
2033Buffer can be converted to a Package of Integers if necessary. The nsrepair.c 
2034module was completely restructured. Lin Ming, Bob Moore.
2035
2036Implemented automatic removal of null package elements during predefined name 
2037repairs. This change will automatically remove embedded and trailing NULL 
2038package elements from returned package objects that are defined to contain a 
2039variable number of sub-packages. The driver is then presented with a package 
2040with no null elements to deal with. ACPICA BZ 819.
2041
2042Implemented a repair for the predefined _FDE and _GTM names. The expected 
2043return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
2044possible problems (both seen in the field), where a package of integers is 
2045returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
2046
2047Implemented additional module-level code support. This change will properly 
2048execute module-level code that is not at the root of the namespace (under a 
2049Device object, etc.). Now executes the code within the current scope instead 
2050of the root. ACPICA BZ 762. Lin Ming.
2051
2052Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
2053problem where mutex errors can occur when running a _REG method that is in 
2054the same scope as a method-defined operation region or an operation region 
2055under a module-level IF block. This type of code is rare, so the problem has 
2056not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
2057
2058Fixed a possible memory leak during module-level code execution. An object 
2059could be leaked for each block of executed module-level code if the 
2060interpreter slack mode is enabled This change deletes any implicitly returned 
2061object from the module-level code block. Lin Ming.
2062
2063Removed messages for successful predefined repair(s). The repair mechanism 
2064was considered too wordy. Now, messages are only unconditionally emitted if 
2065the return object cannot be repaired. Existing messages for successful 
2066repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
2067
2068Example Code and Data Size: These are the sizes for the OS-independent 
2069acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2070debug version of the code includes the debug output trace mechanism and has a 
2071much larger code and data size.
2072
2073  Previous Release:
2074    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
2075    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
2076  Current Release:
2077    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
2078    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
2079
20802) iASL Compiler/Disassembler and Tools:
2081
2082iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
2083were no longer automatically removed at the termination of the compile.
2084
2085acpiexec: Implemented the -f option to specify default region fill value. 
2086This option specifies the value used to initialize buffers that simulate 
2087operation regions. Default value is zero. Useful for debugging problems that 
2088depend on a specific initial value for a region or field.
2089
2090----------------------------------------
209112 November 2009. Summary of changes for version 20091112:
2092
20931) ACPI CA Core Subsystem:
2094
2095Implemented a post-order callback to AcpiWalkNamespace. The existing 
2096interface only has a pre-order callback. This change adds an additional 
2097parameter for a post-order callback which will be more useful for bus scans. 
2098ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
2099
2100Modified the behavior of the operation region memory mapping cache for 
2101SystemMemory. Ensure that the memory mappings created for operation regions 
2102do not cross 4K page boundaries. Crossing a page boundary while mapping 
2103regions can cause kernel warnings on some hosts if the pages have different 
2104attributes. Such regions are probably BIOS bugs, and this is the workaround. 
2105Linux BZ 14445. Lin Ming.
2106
2107Implemented an automatic repair for predefined methods that must return 
2108sorted lists. This change will repair (by sorting) packages returned by _ALR, 
2109_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
2110and do not contain NULL package elements. Adds one new file, 
2111namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
2112
2113Fixed a possible fault during predefined name validation if a return Package 
2114object contains NULL elements. Also adds a warning if a NULL element is 
2115followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
2116include repair or removal of all such NULL elements where possible.
2117
2118Implemented additional module-level executable AML code support. This change 
2119will execute module-level code that is not at the root of the namespace 
2120(under a Device object, etc.) at table load time. Module-level executable AML 
2121code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
2122
2123Implemented a new internal function to create Integer objects. This function 
2124simplifies miscellaneous object creation code. ACPICA BZ 823.
2125
2126Reduced the severity of predefined repair messages, Warning to Info. Since 
2127the object was successfully repaired, a warning is too severe. Reduced to an 
2128info message for now. These messages may eventually be changed to debug-only. 
2129ACPICA BZ 812.
2130
2131Example Code and Data Size: These are the sizes for the OS-independent 
2132acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2133debug version of the code includes the debug output trace mechanism and has a 
2134much larger code and data size.
2135
2136  Previous Release:
2137    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
2138    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
2139  Current Release:
2140    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
2141    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
2142
21432) iASL Compiler/Disassembler and Tools:
2144
2145iASL: Implemented Switch() with While(1) so that Break works correctly. This 
2146change correctly implements the Switch operator with a surrounding While(1) 
2147so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
2148
2149iASL: Added a message if a package initializer list is shorter than package 
2150length. Adds a new remark for a Package() declaration if an initializer list 
2151exists, but is shorter than the declared length of the package. Although 
2152technically legal, this is probably a coding error and it is seen in the 
2153field. ACPICA BZ 815. Lin Ming, Bob Moore.
2154
2155iASL: Fixed a problem where the compiler could fault after the maximum number 
2156of errors was reached (200).
2157
2158acpixtract: Fixed a possible warning for pointer cast if the compiler warning 
2159level set very high.
2160
2161----------------------------------------
216213 October 2009. Summary of changes for version 20091013:
2163
21641) ACPI CA Core Subsystem:
2165
2166Fixed a problem where an Operation Region _REG method could be executed more 
2167than once. If a custom address space handler is installed by the host before 
2168the "initialize operation regions" phase of the ACPICA initialization, any 
2169_REG methods for that address space could be executed twice. This change 
2170fixes the problem. ACPICA BZ 427. Lin Ming.
2171
2172Fixed a possible memory leak for the Scope() ASL operator. When the exact 
2173invocation of "Scope(\)" is executed (change scope to root), one internal 
2174operand object was leaked. Lin Ming.
2175
2176Implemented a run-time repair for the _MAT predefined method. If the _MAT 
2177return value is defined as a Field object in the AML, and the field
2178size is less than or equal to the default width of an integer (32 or 64),_MAT 
2179can incorrectly return an Integer instead of a Buffer. ACPICA now 
2180automatically repairs this problem. ACPICA BZ 810.
2181
2182Implemented a run-time repair for the _BIF and _BIX predefined methods. The 
2183"OEM Information" field is often incorrectly returned as an Integer with 
2184value zero if the field is not supported by the platform. This is due to an 
2185ambiguity in the ACPI specification. The field should always be a string. 
2186ACPICA now automatically repairs this problem by returning a NULL string 
2187within the returned Package. ACPICA BZ 807.
2188
2189Example Code and Data Size: These are the sizes for the OS-independent 
2190acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2191debug version of the code includes the debug output trace mechanism and has a 
2192much larger code and data size.
2193
2194  Previous Release:
2195    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
2196    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
2197  Current Release:
2198    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
2199    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
2200
22012) iASL Compiler/Disassembler and Tools:
2202
2203Disassembler: Fixed a problem where references to external symbols that 
2204contained one or more parent-prefixes (carats) were not handled correctly, 
2205possibly causing a fault. ACPICA BZ 806. Lin Ming.
2206
2207Disassembler: Restructured the code so that all functions that handle 
2208external symbols are in a single module. One new file is added, 
2209common/dmextern.c.
2210
2211AML Debugger: Added a max count argument for the Batch command (which 
2212executes multiple predefined methods within the namespace.)
2213
2214iASL: Updated the compiler documentation (User Reference.) Available at 
2215http://www.acpica.org/documentation/. ACPICA BZ 750.
2216
2217AcpiXtract: Updated for Lint and other formatting changes. Close all open 
2218files.
2219
2220----------------------------------------
222103 September 2009. Summary of changes for version 20090903:
2222
22231) ACPI CA Core Subsystem:
2224
2225For Windows Vista compatibility, added the automatic execution of an _INI 
2226method located at the namespace root (\_INI). This method is executed at 
2227table load time. This support is in addition to the automatic execution of 
2228\_SB._INI. Lin Ming.
2229
2230Fixed a possible memory leak in the interpreter for AML package objects if 
2231the package initializer list is longer than the defined size of the package. 
2232This apparently can only happen if the BIOS changes the package size on the 
2233fly (seen in a _PSS object), as ASL compilers do not allow this. The 
2234interpreter will truncate the package to the defined size (and issue an error 
2235message), but previously could leave the extra objects undeleted if they were 
2236pre-created during the argument processing (such is the case if the package 
2237consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
2238
2239Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
2240This has been reported in the field. Previously, ACPICA would zero out the 
2241buffer/string. Now, the operation is treated as a noop. Provides Windows 
2242compatibility. ACPICA BZ 803. Lin Ming.
2243
2244Removed an extraneous error message for ASL constructs of the form 
2245Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
2246are seen in many BIOSs and are once again treated as NOOPs and no error is 
2247emitted when they are encountered. ACPICA BZ 785.
2248
2249Fixed an extraneous warning message if a _DSM reserved method returns a 
2250Package object. _DSM can return any type of object, so validation on the 
2251return type cannot be performed. ACPICA BZ 802.
2252
2253Example Code and Data Size: These are the sizes for the OS-independent 
2254acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2255debug version of the code includes the debug output trace mechanism and has a 
2256much larger code and data size.
2257
2258  Previous Release:
2259    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
2260    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
2261  Current Release:
2262    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
2263    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
2264
22652) iASL Compiler/Disassembler and Tools:
2266
2267iASL: Fixed a problem with the use of the Alias operator and Resource 
2268Templates. The correct alias is now constructed and no error is emitted. 
2269ACPICA BZ 738.
2270
2271iASL: Implemented the -I option to specify additional search directories for 
2272include files. Allows multiple additional search paths for include files. 
2273Directories are searched in the order specified on the command line (after 
2274the local directory is searched.) ACPICA BZ 800.
2275
2276iASL: Fixed a problem where the full pathname for include files was not 
2277emitted for warnings/errors. This caused the IDE support to not work 
2278properly. ACPICA BZ 765.
2279
2280iASL: Implemented the -@ option to specify a Windows-style response file 
2281containing additional command line options. ACPICA BZ 801.
2282
2283AcpiExec: Added support to load multiple AML files simultaneously (such as a 
2284DSDT and multiple SSDTs). Also added support for wildcards within the AML 
2285pathname. These features allow all machine tables to be easily loaded and 
2286debugged together. ACPICA BZ 804.
2287
2288Disassembler: Added missing support for disassembly of HEST table Error Bank 
2289subtables. 
2290
2291----------------------------------------
229230 July 2009. Summary of changes for version 20090730:
2293
2294The ACPI 4.0 implementation for ACPICA is complete with this release.
2295
22961) ACPI CA Core Subsystem:
2297
2298ACPI 4.0: Added header file support for all new and changed ACPI tables. 
2299Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
2300for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
2301EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
2302have been some ACPI 4.0 changes to other existing tables. Split the large 
2303actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
2304
2305ACPI 4.0: Implemented predefined name validation for all new names. There are 
230631 new names in ACPI 4.0. The predefined validation module was split into two 
2307files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
2308
2309Implemented support for so-called "module-level executable code". This is 
2310executable AML code that exists outside of any control method and is intended 
2311to be executed at table load time. Although illegal since ACPI 2.0, this type 
2312of code still exists and is apparently still being created. Blocks of this 
2313code are now detected and executed as intended. Currently, the code blocks 
2314must exist under either an If, Else, or While construct; these are the 
2315typical cases seen in the field. ACPICA BZ 762. Lin Ming.
2316
2317Implemented an automatic dynamic repair for predefined names that return 
2318nested Package objects. This applies to predefined names that are defined to 
2319return a variable-length Package of sub-packages. If the number of sub-
2320packages is one, BIOS code is occasionally seen that creates a simple single 
2321package with no sub-packages. This code attempts to fix the problem by 
2322wrapping a new package object around the existing package. These methods can 
2323be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
2324790.
2325
2326Fixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
2327The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
2328BZ 793.
2329
2330Fixed a problem with AcpiReset where the reset would silently fail if the 
2331register was one of the protected I/O ports. AcpiReset now bypasses the port 
2332validation mechanism. This may eventually be driven into the AcpiRead/Write 
2333interfaces.
2334
2335Fixed a regression related to the recent update of the AcpiRead/Write 
2336interfaces. A sleep/suspend could fail if the optional PM2 Control register 
2337does not exist during an attempt to write the Bus Master Arbitration bit. 
2338(However, some hosts already delete the code that writes this bit, and the 
2339code may in fact be obsolete at this date.) ACPICA BZ 799.
2340
2341Fixed a problem where AcpiTerminate could fault if inadvertently called twice 
2342in succession. ACPICA BZ 795.
2343
2344Example Code and Data Size: These are the sizes for the OS-independent 
2345acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2346debug version of the code includes the debug output trace mechanism and has a 
2347much larger code and data size.
2348
2349  Previous Release:
2350    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
2351    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
2352  Current Release:
2353    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
2354    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
2355
23562) iASL Compiler/Disassembler and Tools:
2357
2358ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
2359changes to existing tables. ACPICA BZ 775.
2360
2361----------------------------------------
236225 June 2009. Summary of changes for version 20090625:
2363
2364The ACPI 4.0 Specification was released on June 16 and is available at 
2365www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
2366continue for the next few releases.
2367
23681) ACPI CA Core Subsystem:
2369
2370ACPI 4.0: Implemented interpreter support for the IPMI operation region 
2371address space. Includes support for bi-directional data buffers and an IPMI 
2372address space handler (to be installed by an IPMI device driver.) ACPICA BZ 
2373773. Lin Ming.
2374
2375ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
2376support in both the header files and the disassembler.
2377
2378Completed a major update for the AcpiGetObjectInfo external interface. 
2379Changes include:
2380 - Support for variable, unlimited length HID, UID, and CID strings.
2381 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
2382 - Call the _SxW power methods on behalf of a device object.
2383 - Determine if a device is a PCI root bridge.
2384 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
2385These changes will require an update to all callers of this interface. See 
2386the updated ACPICA Programmer Reference for details. One new source file has 
2387been added - utilities/utids.c. ACPICA BZ 368, 780.
2388
2389Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
2390transfers. The Value parameter has been extended from 32 bits to 64 bits in 
2391order to support new ACPI 4.0 tables. These changes will require an update to 
2392all callers of these interfaces. See the ACPICA Programmer Reference for 
2393details. ACPICA BZ 768.
2394
2395Fixed several problems with AcpiAttachData. The handler was not invoked when 
2396the host node was deleted. The data sub-object was not automatically deleted 
2397when the host node was deleted. The interface to the handler had an unused 
2398parameter, this was removed. ACPICA BZ 778.
2399
2400Enhanced the function that dumps ACPI table headers. All non-printable 
2401characters in the string fields are now replaced with '?' (Signature, OemId, 
2402OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
2403these fields are occasionally seen in the field. ACPICA BZ 788.
2404
2405Fixed a problem with predefined method repair code where the code that 
2406attempts to repair/convert an object of incorrect type is only executed on 
2407the first time the predefined method is called. The mechanism that disables 
2408warnings on subsequent calls was interfering with the repair mechanism. 
2409ACPICA BZ 781.
2410
2411Fixed a possible memory leak in the predefined validation/repair code when a 
2412buffer is automatically converted to an expected string object.
2413
2414Removed obsolete 16-bit files from the distribution and from the current git 
2415tree head. ACPICA BZ 776.
2416
2417Example Code and Data Size: These are the sizes for the OS-independent 
2418acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2419debug version of the code includes the debug output trace mechanism and has a 
2420much larger code and data size.
2421
2422  Previous Release:
2423    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
2424    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
2425  Current Release:
2426    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
2427    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
2428
24292) iASL Compiler/Disassembler and Tools:
2430
2431ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
2432operation region keyword. ACPICA BZ 771, 772. Lin Ming.
2433
2434ACPI 4.0: iASL - implemented compile-time validation support for all new 
2435predefined names and control methods (31 total). ACPICA BZ 769.
2436
2437----------------------------------------
243821 May 2009. Summary of changes for version 20090521:
2439
24401) ACPI CA Core Subsystem:
2441
2442Disabled the preservation of the SCI enable bit in the PM1 control register. 
2443The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
2444a "preserved" bit - "OSPM always preserves this bit position", section 
24454.7.3.2.1. However, some machines fail if this bit is in fact preserved 
2446because the bit needs to be explicitly set by the OS as a workaround. No 
2447machines fail if the bit is not preserved. Therefore, ACPICA no longer 
2448attempts to preserve this bit.
2449
2450Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
2451incorrectly formed _PRT package could cause a fault. Added validation to 
2452ensure that each package element is actually a sub-package.
2453
2454Implemented a new interface to install or override a single control method, 
2455AcpiInstallMethod. This interface is useful when debugging in order to repair 
2456an existing method or to install a missing method without having to override 
2457the entire ACPI table. See the ACPICA Programmer Reference for use and 
2458examples. Lin Ming, Bob Moore.
2459
2460Fixed several reference count issues with the DdbHandle object that is 
2461created from a Load or LoadTable operator. Prevent premature deletion of the 
2462object. Also, mark the object as invalid once the table has been unloaded. 
2463This is needed because the handle itself may not be deleted after the table 
2464unload, depending on whether it has been stored in a named object by the 
2465caller. Lin Ming.
2466
2467Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
2468mutexes of the same sync level are acquired but then not released in strict 
2469opposite order, the internally maintained Current Sync Level becomes confused 
2470and can cause subsequent execution errors. ACPICA BZ 471.
2471
2472Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
2473specification has been changed to make the SyncLevel for mutex objects more 
2474useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
2475same as the current sync level. This makes more sense than the previous rule 
2476(SyncLevel less than or equal). This change updates the code to match the 
2477specification.
2478
2479Fixed a problem with the local version of the AcpiOsPurgeCache function. The 
2480(local) cache must be locked during all cache object deletions. Andrew 
2481Baumann.
2482
2483Updated the Load operator to use operation region interfaces. This replaces 
2484direct memory mapping with region access calls. Now, all region accesses go 
2485through the installed region handler as they should.
2486
2487Simplified and optimized the NsGetNextNode function. Reduced parameter count 
2488and reduced code for this frequently used function.
2489
2490Example Code and Data Size: These are the sizes for the OS-independent 
2491acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2492debug version of the code includes the debug output trace mechanism and has a 
2493much larger code and data size.
2494
2495  Previous Release:
2496    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
2497    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
2498  Current Release:
2499    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
2500    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
2501
25022) iASL Compiler/Disassembler and Tools:
2503
2504Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
2505with sub-table disassembly and handling invalid sub-tables. Attempt recovery 
2506after an invalid sub-table ID.
2507
2508----------------------------------------
250922 April 2009. Summary of changes for version 20090422:
2510
25111) ACPI CA Core Subsystem:
2512
2513Fixed a compatibility issue with the recently released I/O port protection 
2514mechanism. For windows compatibility, 1) On a port protection violation, 
2515simply ignore the request and do not return an exception (allow the control 
2516method to continue execution.) 2) If only part of the request overlaps a 
2517protected port, read/write the individual ports that are not protected. Linux 
2518BZ 13036. Lin Ming
2519
2520Enhanced the execution of the ASL/AML BreakPoint operator so that it actually 
2521breaks into the AML debugger if the debugger is present. This matches the 
2522ACPI-defined behavior.
2523
2524Fixed several possible warnings related to the use of the configurable 
2525ACPI_THREAD_ID. This type can now be configured as either an integer or a 
2526pointer with no warnings. Also fixes several warnings in printf-like 
2527statements for the 64-bit build when the type is configured as a pointer. 
2528ACPICA BZ 766, 767.
2529
2530Fixed a number of possible warnings when compiling with gcc 4+ (depending on 
2531warning options.) Examples include printf formats, aliasing, unused globals, 
2532missing prototypes, missing switch default statements, use of non-ANSI 
2533library functions, use of non-ANSI constructs. See generate/unix/Makefile for 
2534a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
2535
2536Example Code and Data Size: These are the sizes for the OS-independent 
2537acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2538debug version of the code includes the debug output trace mechanism and has a 
2539much larger code and data size.
2540
2541  Previous Release:
2542    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2543    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2544  Current Release:
2545    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
2546    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
2547
25482) iASL Compiler/Disassembler and Tools:
2549
2550iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
2551the 64-bit build.
2552
2553iASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
2554correctly digest Windows/DOS formatted files (with CR/LF).
2555
2556iASL: Added a new option for "quiet mode" (-va) that produces only the 
2557compilation summary, not individual errors and warnings. Useful for large 
2558batch compilations.
2559
2560AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
2561timeout that can be used to detect hang conditions during execution of AML 
2562code (includes both internal semaphores and AML-defined mutexes and events.)
2563
2564Added new makefiles for the generation of acpica in a generic unix-like 
2565environment. These makefiles are intended to generate the acpica tools and 
2566utilities from the original acpica git source tree structure.
2567
2568Test Suites: Updated and cleaned up the documentation files. Updated the 
2569copyrights to 2009, affecting all source files. Use the new version of iASL 
2570with quiet mode. Increased the number of available semaphores in the Windows 
2571OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
2572an alternate implementation of the semaphore timeout to allow aslts to 
2573execute fully on Cygwin.
2574
2575----------------------------------------
257620 March 2009. Summary of changes for version 20090320:
2577
25781) ACPI CA Core Subsystem:
2579
2580Fixed a possible race condition between AcpiWalkNamespace and dynamic table 
2581unloads. Added a reader/writer locking mechanism to allow multiple concurrent 
2582namespace walks (readers), but block a dynamic table unload until it can gain 
2583exclusive write access to the namespace. This fixes a problem where a table 
2584unload could (possibly catastrophically) delete the portion of the namespace 
2585that is currently being examined by a walk. Adds a new file, utlock.c, that 
2586implements the reader/writer lock mechanism. ACPICA BZ 749.
2587
2588Fixed a regression introduced in version 20090220 where a change to the FADT 
2589handling could cause the ACPICA subsystem to access non-existent I/O ports.
2590
2591Modified the handling of FADT register and table (FACS/DSDT) addresses. The 
2592FADT can contain both 32-bit and 64-bit versions of these addresses. 
2593Previously, the 64-bit versions were favored, meaning that if both 32 and 64 
2594versions were valid, but not equal, the 64-bit version was used. This was 
2595found to cause some machines to fail. Now, in this case, the 32-bit version 
2596is used instead. This now matches the Windows behavior.
2597
2598Implemented a new mechanism to protect certain I/O ports. Provides Microsoft 
2599compatibility and protects the standard PC I/O ports from access via AML 
2600code. Adds a new file, hwvalid.c
2601
2602Fixed a possible extraneous warning message from the FADT support. The 
2603message warns of a 32/64 length mismatch between the legacy and GAS 
2604definitions for a register.
2605
2606Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is 
2607made obsolete by the port protection mechanism above. It was previously used 
2608to validate the entire address range of an operation region, which could be 
2609incorrect if the range included illegal ports, but fields within the 
2610operation region did not actually access those ports. Validation is now 
2611performed on a per-field basis instead of the entire region.
2612
2613Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
2614Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
2615means a read/modify/write when writing to the register. However, for status 
2616registers, writing a one means clear the event. Writing a zero means preserve 
2617the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
2618and the ACPICA code now simply always writes a zero to the ignored bit.
2619
2620Modified the handling of ignored bits for the PM1 A/B Control Registers. As 
2621per the ACPI specification, for the control registers, preserve 
2622(read/modify/write) all bits that are defined as either reserved or ignored.
2623
2624Updated the handling of write-only bits in the PM1 A/B Control Registers. 
2625When reading the register, zero the write-only bits as per the ACPI spec. 
2626ACPICA BZ 443. Lin Ming.
2627
2628Removed "Linux" from the list of supported _OSI strings. Linux no longer 
2629wants to reply true to this request. The Windows strings are the only paths 
2630through the AML that are tested and known to work properly.
2631
2632  Previous Release:
2633    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2634    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2635  Current Release:
2636    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2637    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2638
26392) iASL Compiler/Disassembler and Tools:
2640
2641Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
2642aetables.c
2643
2644----------------------------------------
264520 February 2009. Summary of changes for version 20090220:
2646
26471) ACPI CA Core Subsystem:
2648
2649Optimized the ACPI register locking. Removed locking for reads from the ACPI 
2650bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
2651not required when reading the single-bit registers. The 
2652AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
2653This will improve performance for reads on these registers. ACPICA BZ 760.
2654
2655Fixed the parameter validation for AcpiRead/Write. Now return 
2656AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
2657the register has an address of zero. Previously, these cases simply returned 
2658AE_OK. For optional registers such as PM1B status/enable/control, the caller 
2659should check for a valid register address before calling. ACPICA BZ 748.
2660
2661Renamed the external ACPI bit register access functions. Renamed 
2662AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
2663functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
2664Also, restructured the code for these functions by simplifying the code path 
2665and condensing duplicate code to reduce code size.
2666
2667Added new functions to transparently handle the possibly split PM1 A/B 
2668registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
2669now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
2670746.
2671
2672Added a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
2673This function writes both of the PM1 control registers (A/B). These registers 
2674are different than the PM1 A/B status and enable registers in that different 
2675values can be written to the A/B registers. Most notably, the SLP_TYP bits 
2676can be different, as per the values returned from the _Sx predefined methods.
2677
2678Removed an extra register write within AcpiHwClearAcpiStatus. This function 
2679was writing an optional PM1B status register twice. The existing call to the 
2680low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
2681register. ACPICA BZ 751.
2682
2683Split out the PM1 Status registers from the FADT. Added new globals for these 
2684registers (A/B), similar to the way the PM1 Enable registers are handled. 
2685Instead of overloading the FADT Event Register blocks. This makes the code 
2686clearer and less prone to error.
2687
2688Fixed the warning message for when the platform contains too many ACPI tables 
2689for the default size of the global root table data structure. The calculation 
2690for the truncation value was incorrect.
2691
2692Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
2693obsolete macro, since it is now a simple reference to ->common.type. There 
2694were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
2695
2696Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
2697TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
2698simply SLEEP_TYPE. ACPICA BZ 754.
2699
2700Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
2701function is only needed on 64-bit host operating systems and is thus not 
2702included for 32-bit hosts.
2703
2704Debug output: print the input and result for invocations of the _OSI reserved 
2705control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
2706verbosity of this debug level. Len Brown.
2707
2708Example Code and Data Size: These are the sizes for the OS-independent 
2709acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2710debug version of the code includes the debug output trace mechanism and has a 
2711much larger code and data size.
2712
2713  Previous Release:
2714    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2715    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2716  Current Release:
2717    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2718    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2719
27202) iASL Compiler/Disassembler and Tools:
2721
2722Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
2723various legal performance profiles.
2724
2725----------------------------------------
272623 January 2009. Summary of changes for version 20090123:
2727
27281) ACPI CA Core Subsystem:
2729
2730Added the 2009 copyright to all module headers and signons. This affects 
2731virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2732the tools/utilities.
2733
2734Implemented a change to allow the host to override any ACPI table, including 
2735dynamically loaded tables. Previously, only the DSDT could be replaced by the 
2736host. With this change, the AcpiOsTableOverride interface is called for each 
2737table found in the RSDT/XSDT during ACPICA initialization, and also whenever 
2738a table is dynamically loaded via the AML Load operator.
2739
2740Updated FADT flag definitions, especially the Boot Architecture flags.
2741
2742Debugger: For the Find command, automatically pad the input ACPI name with 
2743underscores if the name is shorter than 4 characters. This enables a match 
2744with the actual namespace entry which is itself padded with underscores.
2745
2746Example Code and Data Size: These are the sizes for the OS-independent 
2747acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2748debug version of the code includes the debug output trace mechanism and has a 
2749much larger code and data size.
2750
2751  Previous Release:
2752    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2753    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2754  Current Release:
2755    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2756    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2757
27582) iASL Compiler/Disassembler and Tools:
2759
2760Fix build error under Bison-2.4.
2761
2762Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
2763flags. Now decode all flags, regardless of the FADT version. Flag output 
2764includes the FADT version which first defined each flag.
2765
2766The iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
2767DSDT). Windows only.
2768
2769----------------------------------------
277004 December 2008. Summary of changes for version 20081204:
2771
27721) ACPI CA Core Subsystem:
2773
2774The ACPICA Programmer Reference has been completely updated and revamped for 
2775this release. This includes updates to the external interfaces, OSL 
2776interfaces, the overview sections, and the debugger reference.
2777
2778Several new ACPICA interfaces have been implemented and documented in the 
2779programmer reference:
2780AcpiReset - Writes the reset value to the FADT-defined reset register.
2781AcpiDisableAllGpes - Disable all available GPEs.
2782AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
2783AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
2784AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
2785AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
2786AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
2787
2788Most of the public ACPI hardware-related interfaces have been moved to a new 
2789file, components/hardware/hwxface.c
2790
2791Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
2792register lengths within the FADT are now used, and the low level ACPI 
2793register access no longer hardcodes the ACPI register lengths. Given that 
2794there may be some risk in actually trusting the FADT register lengths, a run-
2795time option was added to fall back to the default hardcoded lengths if the 
2796FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
2797option is set to true for now, and a warning is issued if a suspicious FADT 
2798register length is overridden with the default value.
2799
2800Fixed a reference count issue in NsRepairObject. This problem was introduced 
2801in version 20081031 as part of a fix to repair Buffer objects within 
2802Packages. Lin Ming.
2803
2804Added semaphore support to the Linux/Unix application OS-services layer 
2805(OSL). ACPICA BZ 448. Lin Ming.
2806
2807Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
2808be implemented in the OSL, or will binary semaphores be used instead.
2809
2810Example Code and Data Size: These are the sizes for the OS-independent 
2811acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2812debug version of the code includes the debug output trace mechanism and has a 
2813much larger code and data size.
2814
2815  Previous Release:
2816    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2817    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2818  Current Release:
2819    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2820    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2821
28222) iASL Compiler/Disassembler and Tools:
2823
2824iASL: Completed the '-e' option to include additional ACPI tables in order to 
2825aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
2826Ming.
2827
2828iASL: Removed the "named object in while loop" error. The compiler cannot 
2829determine how many times a loop will execute. ACPICA BZ 730.
2830
2831Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
2832BZ 743.
2833
2834Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
2835
2836----------------------------------------
283731 October 2008. Summary of changes for version 20081031:
2838
28391) ACPI CA Core Subsystem:
2840
2841Restructured the ACPICA header files into public/private. acpi.h now includes 
2842only the "public" acpica headers. All other acpica headers are "private" and 
2843should not be included by acpica users. One new file, accommon.h is used to 
2844include the commonly used private headers for acpica code generation. Future 
2845plans include moving all private headers to a new subdirectory.
2846
2847Implemented an automatic Buffer->String return value conversion for 
2848predefined ACPI methods. For these methods (such as _BIF), added automatic 
2849conversion for return objects that are required to be a String, but a Buffer 
2850was found instead. This can happen when reading string battery data from an 
2851operation region, because it used to be difficult to convert the data from 
2852buffer to string from within the ASL. Ensures that the host OS is provided 
2853with a valid null-terminated string. Linux BZ 11822.
2854
2855Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
2856into two: one for the 32-bit vector, another for the 64-bit vector. This is 
2857required because the host OS must setup the wake much differently for each 
2858vector (real vs. protected mode, etc.) and the interface itself should not be 
2859deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
2860interface, as it served no purpose (only the firmware reads the vector, OS 
2861only writes the vector.) ACPICA BZ 731.
2862
2863Implemented a mechanism to escape infinite AML While() loops. Added a loop 
2864counter to force exit from AML While loops if the count becomes too large. 
2865This can occur in poorly written AML when the hardware does not respond 
2866within a while loop and the loop does not implement a timeout. The maximum 
2867loop count is configurable. A new exception code is returned when a loop is 
2868broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
2869
2870Optimized the execution of AML While loops. Previously, a control state 
2871object was allocated and freed for each execution of the loop. The 
2872optimization is to simply reuse the control state for each iteration. This 
2873speeds up the raw loop execution time by about 5%.
2874
2875Enhanced the implicit return mechanism. For Windows compatibility, return an 
2876implicit integer of value zero for methods that contain no executable code. 
2877Such methods are seen in the field as stubs (presumably), and can cause 
2878drivers to fail if they expect a return value. Lin Ming.
2879
2880Allow multiple backslashes as root prefixes in namepaths. In a fully 
2881qualified namepath, allow multiple backslash prefixes. This can happen (and 
2882is seen in the field) because of the use of a double-backslash in strings 
2883(since backslash is the escape character) causing confusion. ACPICA BZ 739 
2884Lin Ming.
2885
2886Emit a warning if two different FACS or DSDT tables are discovered in the 
2887FADT. Checks if there are two valid but different addresses for the FACS and 
2888DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
2889
2890Consolidated the method argument count validation code. Merged the code that 
2891validates control method argument counts into the predefined validation 
2892module. Eliminates possible multiple warnings for incorrect argument counts.
2893
2894Implemented ACPICA example code. Includes code for ACPICA initialization, 
2895handler installation, and calling a control method. Available at 
2896source/tools/examples.
2897
2898Added a global pointer for FACS table to simplify internal FACS access. Use 
2899the global pointer instead of using AcpiGetTableByIndex for each FACS access. 
2900This simplifies the code for the Global Lock and the Firmware Waking 
2901Vector(s).
2902
2903Example Code and Data Size: These are the sizes for the OS-independent 
2904acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2905debug version of the code includes the debug output trace mechanism and has a 
2906much larger code and data size.
2907
2908  Previous Release:
2909    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2910    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2911  Current Release:
2912    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2913    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2914
29152) iASL Compiler/Disassembler and Tools:
2916
2917iASL: Improved disassembly of external method calls. Added the -e option to 
2918allow the inclusion of additional ACPI tables to help with the disassembly of 
2919method invocations and the generation of external declarations during the 
2920disassembly. Certain external method invocations cannot be disassembled 
2921properly without the actual declaration of the method. Use the -e option to 
2922include the table where the external method(s) are actually declared. Most 
2923useful for disassembling SSDTs that make method calls back to the master 
2924DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
2925-e dsdt.aml ssdt1.aml
2926
2927iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
2928problem where the use of an alias within a namepath would result in a not 
2929found error or cause the compiler to fault. Also now allows forward 
2930references from the Alias operator itself. ACPICA BZ 738.
2931
2932----------------------------------------
293326 September 2008. Summary of changes for version 20080926:
2934
29351) ACPI CA Core Subsystem:
2936
2937Designed and implemented a mechanism to validate predefined ACPI methods and 
2938objects. This code validates the predefined ACPI objects (objects whose names 
2939start with underscore) that appear in the namespace, at the time they are 
2940evaluated. The argument count and the type of the returned object are 
2941validated against the ACPI specification. The purpose of this validation is 
2942to detect problems with the BIOS-implemented predefined ACPI objects before 
2943the results are returned to the ACPI-related drivers. Future enhancements may 
2944include actual repair of incorrect return objects where possible. Two new 
2945files are nspredef.c and acpredef.h.
2946
2947Fixed a fault in the AML parser if a memory allocation fails during the Op 
2948completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
2949
2950Fixed an issue with implicit return compatibility. This change improves the 
2951implicit return mechanism to be more compatible with the MS interpreter. Lin 
2952Ming, ACPICA BZ 349.
2953
2954Implemented support for zero-length buffer-to-string conversions. Allow zero 
2955length strings during interpreter buffer-to-string conversions. For example, 
2956during the ToDecimalString and ToHexString operators, as well as implicit 
2957conversions. Fiodor Suietov, ACPICA BZ 585.
2958
2959Fixed two possible memory leaks in the error exit paths of 
2960AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
2961similar in that they use a stack of state objects in order to eliminate 
2962recursion. The stack must be fully unwound and deallocated if an error 
2963occurs. Lin Ming. ACPICA BZ 383.
2964
2965Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
2966ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
2967Moore ACPICA BZ 442.
2968
2969Removed the obsolete version number in module headers. Removed the 
2970"$Revision" number that appeared in each module header. This version number 
2971was useful under SourceSafe and CVS, but has no meaning under git. It is not 
2972only incorrect, it could also be misleading.
2973
2974Example Code and Data Size: These are the sizes for the OS-independent 
2975acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2976debug version of the code includes the debug output trace mechanism and has a 
2977much larger code and data size.
2978
2979  Previous Release:
2980    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2981    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2982  Current Release:
2983    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2984    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2985
2986----------------------------------------
298729 August 2008. Summary of changes for version 20080829:
2988
29891) ACPI CA Core Subsystem:
2990
2991Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
2992Reference. Changes include the elimination of cheating on the Object field 
2993for the DdbHandle subtype, addition of a reference class field to 
2994differentiate the various reference types (instead of an AML opcode), and the 
2995cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
2996
2997Reduce an error to a warning for an incorrect method argument count. 
2998Previously aborted with an error if too few arguments were passed to a 
2999control method via the external ACPICA interface. Now issue a warning instead 
3000and continue. Handles the case where the method inadvertently declares too 
3001many arguments, but does not actually use the extra ones. Applies mainly to 
3002the predefined methods. Lin Ming. Linux BZ 11032.
3003
3004Disallow the evaluation of named object types with no intrinsic value. Return 
3005AE_TYPE for objects that have no value and therefore evaluation is undefined: 
3006Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
3007these types were allowed, but an exception would be generated at some point 
3008during the evaluation. Now, the error is generated up front.
3009
3010Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
3011(nsnames.c). Fixes a leak in the error exit path.
3012
3013Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
3014levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
3015interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
3016ACPI_LV_EVENTS.
3017
3018Removed obsolete and/or unused exception codes from the acexcep.h header. 
3019There is the possibility that certain device drivers may be affected if they 
3020use any of these exceptions.
3021
3022The ACPICA documentation has been added to the public git source tree, under 
3023acpica/documents. Included are the ACPICA programmer reference, the iASL 
3024compiler reference, and the changes.txt release logfile.
3025
3026Example Code and Data Size: These are the sizes for the OS-independent 
3027acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3028debug version of the code includes the debug output trace mechanism and has a 
3029much larger code and data size.
3030
3031  Previous Release:
3032    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
3033    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
3034  Current Release:
3035    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
3036    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
3037
30382) iASL Compiler/Disassembler and Tools:
3039
3040Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
3041defines _SCP with 3 arguments. Previous versions defined it with only 1 
3042argument. iASL now allows both definitions.
3043
3044iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
3045length subtables when disassembling ACPI tables. Also fixed a couple of 
3046errors where a full 16-bit table type field was not extracted from the input 
3047properly.
3048
3049acpisrc: Improve comment counting mechanism for generating source code 
3050statistics. Count first and last lines of multi-line comments as whitespace, 
3051not comment lines. Handle Linux legal header in addition to standard acpica 
3052header.
3053
3054----------------------------------------
3055
305629 July 2008. Summary of changes for version 20080729:
3057
30581) ACPI CA Core Subsystem:
3059
3060Fix a possible deadlock in the GPE dispatch. Remove call to 
3061AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
3062to acquire the GPE lock but can deadlock since the GPE lock is already held 
3063at dispatch time. This code was introduced in version 20060831 as a response 
3064to Linux BZ 6881 and has since been removed from Linux.
3065
3066Add a function to dereference returned reference objects. Examines the return 
3067object from a call to AcpiEvaluateObject. Any Index or RefOf references are 
3068automatically dereferenced in an attempt to return something useful (these 
3069reference types cannot be converted into an external ACPI_OBJECT.) Provides 
3070MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
3071
3072x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
3073subtables for the MADT and one new subtable for the SRAT. Includes 
3074disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
3075Specification, June 2008.
3076
3077Additional error checking for pathname utilities. Add error check after all 
3078calls to AcpiNsGetPathnameLength. Add status return from 
3079AcpiNsBuildExternalPath and check after all calls. Add parameter validation 
3080to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
3081
3082Return status from the global init function AcpiUtGlobalInitialize. This is 
3083used by both the kernel subsystem and the utilities such as iASL compiler. 
3084The function could possibly fail when the caches are initialized. Yang Yi.
3085
3086Add a function to decode reference object types to strings. Created for 
3087improved error messages. 
3088
3089Improve object conversion error messages. Better error messages during object 
3090conversion from internal to the external ACPI_OBJECT. Used for external calls 
3091to AcpiEvaluateObject.
3092
3093Example Code and Data Size: These are the sizes for the OS-independent 
3094acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3095debug version of the code includes the debug output trace mechanism and has a 
3096much larger code and data size.
3097
3098  Previous Release:
3099    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
3100    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
3101  Current Release:
3102    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
3103    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
3104
31052) iASL Compiler/Disassembler and Tools:
3106
3107Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
3108introduced in version 20080701. If the object being evaluated (via execute 
3109command) is not a method, the debugger can hang while trying to obtain non-
3110existent parameters.
3111
3112iASL: relax error for using reserved "_T_x" identifiers. These names can 
3113appear in a disassembled ASL file if they were emitted by the original 
3114compiler. Instead of issuing an error or warning and forcing the user to 
3115manually change these names, issue a remark instead.
3116
3117iASL: error if named object created in while loop. Emit an error if any named 
3118object is created within a While loop. If allowed, this code will generate a 
3119run-time error on the second iteration of the loop when an attempt is made to 
3120create the same named object twice. ACPICA bugzilla 730.
3121
3122iASL: Support absolute pathnames for include files. Add support for absolute 
3123pathnames within the Include operator. previously, only relative pathnames 
3124were supported.
3125
3126iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
3127The ACPI spec requires one interrupt minimum. BZ 423
3128
3129iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
3130Handles the case for the Interrupt Resource Descriptor where
3131the ResourceSource argument is omitted but ResourceSourceIndex
3132is present. Now leave room for the Index. BZ 426
3133
3134iASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
3135where an error message is emitted if the target does not exist. BZ 516
3136
3137iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
3138(get ACPI tables on Windows). This was apparently broken in version 20070919.
3139
3140AcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
3141the EOF happens immediately after the last table in the input file. Print 
3142completion message. Previously, no message was displayed in this case.
3143
3144----------------------------------------
314501 July 2008. Summary of changes for version 20080701:
3146
31470) Git source tree / acpica.org
3148
3149Fixed a problem where a git-clone from http would not transfer the entire 
3150source tree.
3151
31521) ACPI CA Core Subsystem:
3153
3154Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
3155enable bit. Now performs a read-change-write of the enable register instead 
3156of simply writing out the cached enable mask. This will prevent inadvertent 
3157enabling of GPEs if a rogue GPE is received during initialization (before GPE 
3158handlers are installed.)
3159
3160Implemented a copy for dynamically loaded tables. Previously, dynamically 
3161loaded tables were simply mapped - but on some machines this memory is 
3162corrupted after suspend. Now copy the table to a local buffer. For the 
3163OpRegion case, added checksum verify. Use the table length from the table 
3164header, not the region length. For the Buffer case, use the table length 
3165also. Dennis Noordsij, Bob Moore. BZ 10734
3166
3167Fixed a problem where the same ACPI table could not be dynamically loaded and 
3168unloaded more than once. Without this change, a table cannot be loaded again 
3169once it has been loaded/unloaded one time. The current mechanism does not 
3170unregister a table upon an unload. During a load, if the same table is found, 
3171this no longer returns an exception. BZ 722
3172
3173Fixed a problem where the wrong descriptor length was calculated for the 
3174EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
3175are calculated as 12 bytes long, but the actual length in the internal 
3176descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
3177by Linn Crosetto. BZ 728
3178
3179Fixed a possible memory leak in the Unload operator. The DdbHandle returned 
3180by Load() did not have its reference count decremented during unload, leading 
3181to a memory leak. Lin Ming. BZ 727
3182
3183Fixed a possible memory leak when deleting thermal/processor objects. Any 
3184associated notify handlers (and objects) were not being deleted. Fiodor 
3185Suietov. BZ 506
3186
3187Fixed the ordering of the ASCII names in the global mutex table to match the 
3188actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
3189Vegard Nossum. BZ 726
3190
3191Enhanced the AcpiGetObjectInfo interface to return the number of required 
3192arguments if the object is a control method. Added this call to the debugger 
3193so the proper number of default arguments are passed to a method. This 
3194prevents a warning when executing methods from AcpiExec.
3195
3196Added a check for an invalid handle in AcpiGetObjectInfo. Return 
3197AE_BAD_PARAMETER if input handle is invalid. BZ 474
3198
3199Fixed an extraneous warning from exconfig.c on the 64-bit build.
3200
3201Example Code and Data Size: These are the sizes for the OS-independent 
3202acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3203debug version of the code includes the debug output trace mechanism and has a 
3204much larger code and data size.
3205
3206  Previous Release:
3207    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
3208    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
3209  Current Release:
3210    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
3211    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
3212
32132) iASL Compiler/Disassembler and Tools:
3214
3215iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
3216resource descriptor names.
3217
3218iASL: Detect invalid ASCII characters in input (windows version). Removed the 
3219"-CF" flag from the flex compile, enables correct detection of non-ASCII 
3220characters in the input. BZ 441
3221
3222iASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
3223"result of operation not used" warning when the DDB handle returned from 
3224LoadTable is not used. The warning is not needed. BZ 590
3225
3226AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
3227pass address of table to the AML. Added option to disable OpRegion simulation 
3228to allow creation of an OpRegion with a real address that was passed to _CFG. 
3229All of this allows testing of the Load and Unload operators from AcpiExec.
3230
3231Debugger: update tables command for unloaded tables. Handle unloaded tables 
3232and use the standard table header output routine.
3233
3234----------------------------------------
323509 June 2008. Summary of changes for version 20080609:
3236
32371) ACPI CA Core Subsystem:
3238
3239Implemented a workaround for reversed _PRT entries. A significant number of 
3240BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
3241change dynamically detects and repairs this problem. Provides compatibility 
3242with MS ACPI. BZ 6859
3243
3244Simplified the internal ACPI hardware interfaces to eliminate the locking 
3245flag parameter from Register Read/Write. Added a new external interface, 
3246AcpiGetRegisterUnlocked.
3247
3248Fixed a problem where the invocation of a GPE control method could hang. This 
3249was a regression introduced in 20080514. The new method argument count 
3250validation mechanism can enter an infinite loop when a GPE method is 
3251dispatched. Problem fixed by removing the obsolete code that passed GPE block 
3252information to the notify handler via the control method parameter pointer.
3253
3254Fixed a problem where the _SST execution status was incorrectly returned to 
3255the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
325620080514. _SST is optional and a NOT_FOUND exception should never be 
3257returned. BZ 716
3258
3259Fixed a problem where a deleted object could be accessed from within the AML 
3260parser. This was a regression introduced in version 20080123 as a fix for the 
3261Unload operator. Lin Ming. BZ 10669
3262
3263Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
3264and eliminated the use of a negative index in a loop. Operands are now 
3265displayed in the correct order, not backwards. This also fixes a regression 
3266introduced in 20080514 on 64-bit systems where the elimination of 
3267ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
3268
3269Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
3270path did not delete a locally allocated structure.
3271
3272Updated definitions for the DMAR and SRAT tables to synchronize with the 
3273current specifications. Includes disassembler support.
3274
3275Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
3276loop termination value was used. Loop terminated on iteration early, missing 
3277one mutex. Linn Crosetto
3278
3279Example Code and Data Size: These are the sizes for the OS-independent 
3280acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3281debug version of the code includes the debug output trace mechanism and has a 
3282much larger code and data size.
3283
3284  Previous Release:
3285    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
3286    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
3287  Current Release:
3288    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
3289    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
3290
32912) iASL Compiler/Disassembler and Tools:
3292
3293Disassembler: Implemented support for EisaId() within _CID objects. Now 
3294disassemble integer _CID objects back to EisaId invocations, including 
3295multiple integers within _CID packages. Includes single-step support for 
3296debugger also.
3297
3298Disassembler: Added support for DMAR and SRAT table definition changes.
3299
3300----------------------------------------
330114 May 2008. Summary of changes for version 20080514:
3302
33031) ACPI CA Core Subsystem:
3304
3305Fixed a problem where GPEs were enabled too early during the ACPICA 
3306initialization. This could lead to "handler not installed" errors on some 
3307machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
3308ensures that all operation regions and devices throughout the namespace have 
3309been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
3310
3311Implemented a change to the enter sleep code. Moved execution of the _GTS 
3312method to just before setting sleep enable bit. The execution was moved from 
3313AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
3314immediately before the SLP_EN bit is set, as per the ACPI specification. 
3315Luming Yu, BZ 1653.
3316
3317Implemented a fix to disable unknown GPEs (2nd version). Now always disable 
3318the GPE, even if ACPICA thinks that that it is already disabled. It is 
3319possible that the AML or some other code has enabled the GPE unbeknownst to 
3320the ACPICA code.
3321
3322Fixed a problem with the Field operator where zero-length fields would return 
3323an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
3324field declarations in Field(), BankField(), and IndexField(). BZ 10606.
3325
3326Implemented a fix for the Load operator, now load the table at the namespace 
3327root. This reverts a change introduced in version 20071019. The table is now 
3328loaded at the namespace root even though this goes against the ACPI 
3329specification. This provides compatibility with other ACPI implementations. 
3330The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
3331
3332Fixed a problem where ACPICA would not Load() tables with unusual signatures. 
3333Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
3334acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
3335Therefore, signature validation is worthless. Apparently MS ACPI accepts such 
3336signatures, ACPICA must be compatible. BZ 10454.
3337
3338Fixed a possible negative array index in AcpiUtValidateException. Added NULL 
3339fields to the exception string arrays to eliminate a -1 subtraction on the 
3340SubStatus field.
3341
3342Updated the debug tracking macros to reduce overall code and data size. 
3343Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
3344instead of pointers to static strings. Jan Beulich and Bob Moore.
3345
3346Implemented argument count checking in control method invocation via 
3347AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
3348many. This applies only to extern programmatic control method execution, not 
3349method-to-method calls within the AML. Lin Ming.
3350
3351Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
3352longer needed, especially with the removal of 16-bit support. It was replaced 
3353mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
335432/64-bit platforms is required.
3355
3356Added the C const qualifier for appropriate string constants -- mostly 
3357MODULE_NAME and printf format strings. Jan Beulich.
3358
3359Example Code and Data Size: These are the sizes for the OS-independent 
3360acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3361debug version of the code includes the debug output trace mechanism and has a 
3362much larger code and data size.
3363
3364  Previous Release:
3365    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
3366    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
3367  Current Release:
3368    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
3369    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
3370
33712) iASL Compiler/Disassembler and Tools:
3372
3373Implemented ACPI table revision ID validation in the disassembler. Zero is 
3374always invalid. For DSDTs, the ID controls the interpreter integer width. 1 
3375means 32-bit and this is unusual. 2 or greater is 64-bit.
3376
3377----------------------------------------
337821 March 2008. Summary of changes for version 20080321:
3379
33801) ACPI CA Core Subsystem:
3381
3382Implemented an additional change to the GPE support in order to suppress 
3383spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
3384disable incoming GPEs that are neither enabled nor disabled -- meaning that 
3385the GPE is unknown to the system. This should prevent future interrupt floods 
3386from that GPE. BZ 6217 (Zhang Rui)
3387
3388Fixed a problem where NULL package elements were not returned to the 
3389AcpiEvaluateObject interface correctly. The element was simply ignored 
3390instead of returning a NULL ACPI_OBJECT package element, potentially causing 
3391a buffer overflow and/or confusing the caller who expected a fixed number of 
3392elements. BZ 10132 (Lin Ming, Bob Moore)
3393
3394Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
3395Qword), Field, BankField, and IndexField operators when invoked from inside 
3396an executing control method. In this case, these operators created namespace 
3397nodes that were incorrectly left marked as permanent nodes instead of 
3398temporary nodes. This could cause a problem if there is race condition 
3399between an exiting control method and a running namespace walk. (Reported by 
3400Linn Crosetto)
3401
3402Fixed a problem where the CreateField and CreateXXXField operators would 
3403incorrectly allow duplicate names (the name of the field) with no exception 
3404generated.
3405
3406Implemented several changes for Notify handling. Added support for new Notify 
3407values (ACPI 2.0+) and improved the Notify debug output. Notify on 
3408PowerResource objects is no longer allowed, as per the ACPI specification. 
3409(Bob Moore, Zhang Rui)
3410
3411All Reference Objects returned via the AcpiEvaluateObject interface are now 
3412marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
3413NULL objects - either NULL package elements or unresolved named references.
3414
3415Fixed a problem where an extraneous debug message was produced for package 
3416objects (when debugging enabled). The message "Package List length larger 
3417than NumElements count" is now produced in the correct case, and is now an 
3418error message rather than a debug message. Added a debug message for the 
3419opposite case, where NumElements is larger than the Package List (the package 
3420will be padded out with NULL elements as per the ACPI spec.)
3421
3422Implemented several improvements for the output of the ASL "Debug" object to 
3423clarify and keep all data for a given object on one output line.
3424
3425Fixed two size calculation issues with the variable-length Start Dependent 
3426resource descriptor.
3427
3428Example Code and Data Size: These are the sizes for the OS-independent 
3429acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3430debug version of the code includes the debug output trace mechanism and has 
3431a much larger code and data size.
3432
3433  Previous Release:
3434    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
3435    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
3436  Current Release:
3437    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
3438    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
3439
34402) iASL Compiler/Disassembler and Tools:
3441
3442Fixed a problem with the use of the Switch operator where execution of the 
3443containing method by multiple concurrent threads could cause an 
3444AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
3445actual Switch opcode, it must be simulated with local named temporary 
3446variables and if/else pairs. The solution chosen was to mark any method that 
3447uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
3448
3449----------------------------------------
345013 February 2008. Summary of changes for version 20080213:
3451
34521) ACPI CA Core Subsystem:
3453
3454Implemented another MS compatibility design change for GPE/Notify handling. 
3455GPEs are now cleared/enabled asynchronously to allow all pending notifies to 
3456complete first. It is expected that the OSL will queue the enable request 
3457behind all pending notify requests (may require changes to the local host OSL 
3458in AcpiOsExecute). Alexey Starikovskiy.
3459
3460Fixed a problem where buffer and package objects passed as arguments to a 
3461control method via the external AcpiEvaluateObject interface could cause an 
3462AE_AML_INTERNAL exception depending on the order and type of operators 
3463executed by the target control method.
3464
3465Fixed a problem where resource descriptor size optimization could cause a 
3466problem when a _CRS resource template is passed to a _SRS method. The _SRS 
3467resource template must use the same descriptors (with the same size) as 
3468returned from _CRS. This change affects the following resource descriptors: 
3469IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
3470
3471Fixed a problem where a CopyObject to RegionField, BankField, and IndexField 
3472objects did not perform an implicit conversion as it should. These types must 
3473retain their initial type permanently as per the ACPI specification. However, 
3474a CopyObject to all other object types should not perform an implicit 
3475conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
3476
3477Fixed a problem with the AcpiGetDevices interface where the mechanism to 
3478match device CIDs did not examine the entire list of available CIDs, but 
3479instead aborted on the first non-matching CID. Andrew Patterson.
3480
3481Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
3482inadvertently changed to return a 16-bit value instead of a 32-bit value, 
3483truncating the upper dword of a 64-bit value. This macro is only used to 
3484display debug output, so no incorrect calculations were made. Also, 
3485reimplemented the macro so that a 64-bit shift is not performed by 
3486inefficient compilers.
3487
3488Added missing va_end statements that should correspond with each va_start 
3489statement.
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:  79.5K Code, 17.2K Data,  96.7K Total
3498    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
3499  Current Release:
3500    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
3501    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
3502
35032) iASL Compiler/Disassembler and Tools:
3504
3505Implemented full disassembler support for the following new ACPI tables: 
3506BERT, EINJ, and ERST. Implemented partial disassembler support for the 
3507complicated HEST table. These tables support the Windows Hardware Error 
3508Architecture (WHEA).
3509
3510----------------------------------------
351123 January 2008. Summary of changes for version 20080123:
3512
35131) ACPI CA Core Subsystem:
3514
3515Added the 2008 copyright to all module headers and signons. This affects 
3516virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3517the tools/utilities.
3518
3519Fixed a problem with the SizeOf operator when used with Package and Buffer 
3520objects. These objects have deferred execution for some arguments, and the 
3521execution is now completed before the SizeOf is executed. This problem caused 
3522unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
35239558
3524
3525Implemented an enhancement to the interpreter "slack mode". In the absence of 
3526an explicit return or an implicitly returned object from the last executed 
3527opcode, a control method will now implicitly return an integer of value 0 for 
3528Microsoft compatibility. (Lin Ming) BZ 392
3529
3530Fixed a problem with the Load operator where an exception was not returned in 
3531the case where the table is already loaded. (Lin Ming) BZ 463
3532
3533Implemented support for the use of DDBHandles as an Indexed Reference, as per 
3534the ACPI spec. (Lin Ming) BZ 486
3535
3536Implemented support for UserTerm (Method invocation) for the Unload operator 
3537as per the ACPI spec. (Lin Ming) BZ 580
3538
3539Fixed a problem with the LoadTable operator where the OemId and OemTableId 
3540input strings could cause unexpected failures if they were shorter than the 
3541maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
3542
3543Implemented support for UserTerm (Method invocation) for the Unload operator 
3544as per the ACPI spec. (Lin Ming) BZ 580
3545
3546Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
3547IBFT, UEFI, WDAT. Disassembler support is forthcoming.
3548
3549Example Code and Data Size: These are the sizes for the OS-independent 
3550acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3551debug version of the code includes the debug output trace mechanism and has 
3552a much larger code and data size.
3553
3554  Previous Release:
3555    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3556    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3557  Current Release:
3558    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
3559    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
3560
35612) iASL Compiler/Disassembler and Tools:
3562
3563Implemented support in the disassembler for checksum validation on incoming 
3564binary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
3565header dump at the start of the disassembly.
3566
3567Implemented additional debugging information in the namespace listing file 
3568created during compilation. In addition to the namespace hierarchy, the full 
3569pathname to each namespace object is displayed.
3570
3571Fixed a problem with the disassembler where invalid ACPI tables could cause 
3572faults or infinite loops.
3573
3574Fixed an unexpected parse error when using the optional "parameter types" 
3575list in a control method declaration. (Lin Ming) BZ 397
3576
3577Fixed a problem where two External declarations with the same name did not 
3578cause an error (Lin Ming) BZ 509
3579
3580Implemented support for full TermArgs (adding Argx, Localx and method 
3581invocation) for the ParameterData parameter to the LoadTable operator. (Lin 
3582Ming) BZ 583,587
3583
3584----------------------------------------
358519 December 2007. Summary of changes for version 20071219:
3586
35871) ACPI CA Core Subsystem:
3588
3589Implemented full support for deferred execution for the TermArg string 
3590arguments for DataTableRegion. This enables forward references and full 
3591operand resolution for the three string arguments. Similar to OperationRegion 
3592deferred argument execution.) Lin Ming. BZ 430
3593
3594Implemented full argument resolution support for the BankValue argument to 
3595BankField. Previously, only constants were supported, now any TermArg may be 
3596used. Lin Ming BZ 387, 393
3597
3598Fixed a problem with AcpiGetDevices where the search of a branch of the 
3599device tree could be terminated prematurely. In accordance with the ACPI 
3600specification, the search down the current branch is terminated if a device 
3601is both not present and not functional (instead of just not present.) Yakui 
3602Zhao.
3603
3604Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
3605the underlying AML code changed the GPE enable registers. Now, any unknown 
3606incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
3607instead of simply ignored. Rui Zhang.
3608
3609Fixed a problem with Index Fields where the Index register was incorrectly 
3610limited to a maximum of 32 bits. Now any size may be used.
3611
3612Fixed a couple memory leaks associated with "implicit return" objects when 
3613the AML Interpreter slack mode is enabled. Lin Ming BZ 349
3614
3615Example Code and Data Size: These are the sizes for the OS-independent 
3616acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3617debug version of the code includes the debug output trace mechanism and has 
3618a much larger code and data size.
3619
3620  Previous Release:
3621    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3622    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3623  Current Release:
3624    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3625    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3626
3627----------------------------------------
362814 November 2007. Summary of changes for version 20071114:
3629
36301) ACPI CA Core Subsystem:
3631
3632Implemented event counters for each of the Fixed Events, the ACPI SCI 
3633(interrupt) itself, and control methods executed. Named 
3634AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
3635should be useful for debugging and statistics.
3636
3637Implemented a new external interface, AcpiGetStatistics, to retrieve the 
3638contents of the various event counters. Returns the current values for 
3639AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
3640AcpiMethodCount. The interface can be expanded in the future if new counters 
3641are added. Device drivers should use this interface rather than access the 
3642counters directly.
3643
3644Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
3645the ShortDivide function worked incorrectly, causing problems with the BCD 
3646functions with large input values. A truncation from 64-bit to 32-bit 
3647inadvertently occurred. Internal BZ 435. Lin Ming
3648
3649Fixed a problem with Index references passed as method arguments. References 
3650passed as arguments to control methods were dereferenced immediately (before 
3651control was passed to the called method). The references are now correctly 
3652passed directly to the called method. BZ 5389. Lin Ming
3653
3654Fixed a problem with CopyObject used in conjunction with the Index operator. 
3655The reference was incorrectly dereferenced before the copy. The reference is 
3656now correctly copied. BZ 5391. Lin Ming
3657
3658Fixed a problem with Control Method references within Package objects. These 
3659references are now correctly generated. This completes the package 
3660construction overhaul that began in version 20071019.
3661
3662Example Code and Data Size: These are the sizes for the OS-independent 
3663acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3664debug version of the code includes the debug output trace mechanism and has 
3665a much larger code and data size.
3666
3667  Previous Release:
3668    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3669    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3670  Current Release:
3671    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3672    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3673
3674
36752) iASL Compiler/Disassembler and Tools:
3676
3677The AcpiExec utility now installs handlers for all of the predefined 
3678Operation Region types. New types supported are: PCI_Config, CMOS, and 
3679PCIBARTarget.
3680
3681Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
3682bit) address fields for the DSDT and FACS within the FADT were not being 
3683used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
3684and Bob Moore
3685
3686----------------------------------------
368719 October 2007. Summary of changes for version 20071019:
3688
36891) ACPI CA Core Subsystem:
3690
3691Fixed a problem with the Alias operator when the target of the alias is a 
3692named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
3693Processor, and ThermalZone. In these cases, any children of the original 
3694operator could not be accessed via the alias, potentially causing unexpected 
3695AE_NOT_FOUND exceptions. (BZ 9067)
3696
3697Fixed a problem with the Package operator where all named references were 
3698created as object references and left otherwise unresolved. According to the 
3699ACPI specification, a Package can only contain Data Objects or references to 
3700control methods. The implication is that named references to Data Objects 
3701(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
3702immediately upon package creation. This is the approach taken with this 
3703change. References to all other named objects (Methods, Devices, Scopes, 
3704etc.) are all now properly created as reference objects. (BZ 5328)
3705
3706Reverted a change to Notify handling that was introduced in version 
370720070508. This version changed the Notify handling from asynchronous to 
3708fully synchronous (Device driver Notify handling with respect to the Notify 
3709ASL operator). It was found that this change caused more problems than it 
3710solved and was removed by most users.
3711
3712Fixed a problem with the Increment and Decrement operators where the type of 
3713the target object could be unexpectedly and incorrectly changed. (BZ 353) 
3714Lin Ming.
3715
3716Fixed a problem with the Load and LoadTable operators where the table 
3717location within the namespace was ignored. Instead, the table was always 
3718loaded into the root or current scope. Lin Ming.
3719
3720Fixed a problem with the Load operator when loading a table from a buffer 
3721object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
3722
3723Fixed a problem with the Debug object where a store of a DdbHandle reference 
3724object to the Debug object could cause a fault.
3725
3726Added a table checksum verification for the Load operator, in the case where 
3727the load is from a buffer. (BZ 578).
3728
3729Implemented additional parameter validation for the LoadTable operator. The 
3730length of the input strings SignatureString, OemIdString, and OemTableId are 
3731now checked for maximum lengths. (BZ 582) Lin Ming.
3732
3733Example Code and Data Size: These are the sizes for the OS-independent 
3734acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3735debug version of the code includes the debug output trace mechanism and has 
3736a much larger code and data size.
3737
3738  Previous Release:
3739    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3740    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3741  Current Release:
3742    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3743    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3744
3745
37462) iASL Compiler/Disassembler:
3747
3748Fixed a problem where if a single file was specified and the file did not 
3749exist, no error message was emitted. (Introduced with wildcard support in 
3750version 20070917.)
3751
3752----------------------------------------
375319 September 2007. Summary of changes for version 20070919:
3754
37551) ACPI CA Core Subsystem:
3756
3757Designed and implemented new external interfaces to install and remove 
3758handlers for ACPI table-related events. Current events that are defined are 
3759LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
3760they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
3761AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
3762
3763Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
3764(acpi_serialized option on Linux) could cause some systems to hang during 
3765initialization. (Bob Moore) BZ 8171
3766
3767Fixed a problem where objects of certain types (Device, ThermalZone, 
3768Processor, PowerResource) can be not found if they are declared and 
3769referenced from within the same control method (Lin Ming) BZ 341
3770
3771Example Code and Data Size: These are the sizes for the OS-independent 
3772acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3773debug version of the code includes the debug output trace mechanism and has 
3774a much larger code and data size.
3775
3776  Previous Release:
3777    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3778    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3779  Current Release:
3780    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3781    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3782
3783
37842) iASL Compiler/Disassembler:
3785
3786Implemented support to allow multiple files to be compiled/disassembled in a 
3787single invocation. This includes command line wildcard support for both the 
3788Windows and Unix versions of the compiler. This feature simplifies the 
3789disassembly and compilation of multiple ACPI tables in a single directory.
3790
3791----------------------------------------
379208 May 2007. Summary of changes for version 20070508:
3793
37941) ACPI CA Core Subsystem:
3795
3796Implemented a Microsoft compatibility design change for the handling of the 
3797Notify AML operator. Previously, notify handlers were dispatched and 
3798executed completely asynchronously in a deferred thread. The new design 
3799still executes the notify handlers in a different thread, but the original 
3800thread that executed the Notify() now waits at a synchronization point for 
3801the notify handler to complete. Some machines depend on a synchronous Notify 
3802operator in order to operate correctly.
3803
3804Implemented support to allow Package objects to be passed as method 
3805arguments to the external AcpiEvaluateObject interface. Previously, this 
3806would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
3807implemented since there were no reserved control methods that required it 
3808until recently.
3809
3810Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
3811contained invalid non-zero values in reserved fields could cause later 
3812failures because these fields have meaning in later revisions of the FADT. 
3813For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
3814are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
3815
3816Fixed a problem where the Global Lock handle was not properly updated if a 
3817thread that acquired the Global Lock via executing AML code then attempted 
3818to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
3819Liu.
3820
3821Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
3822could be corrupted if the interrupt being removed was at the head of the 
3823list. Reported by Linn Crosetto.
3824
3825Example Code and Data Size: These are the sizes for the OS-independent 
3826acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3827debug version of the code includes the debug output trace mechanism and has 
3828a much larger code and data size.
3829
3830  Previous Release:
3831    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3832    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3833  Current Release:
3834    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3835    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3836
3837----------------------------------------
383820 March 2007. Summary of changes for version 20070320:
3839
38401) ACPI CA Core Subsystem:
3841
3842Implemented a change to the order of interpretation and evaluation of AML 
3843operand objects within the AML interpreter. The interpreter now evaluates 
3844operands in the order that they appear in the AML stream (and the 
3845corresponding ASL code), instead of in the reverse order (after the entire 
3846operand list has been parsed). The previous behavior caused several subtle 
3847incompatibilities with the Microsoft AML interpreter as well as being 
3848somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
3849
3850Implemented a change to the ACPI Global Lock support. All interfaces to the 
3851global lock now allow the same thread to acquire the lock multiple times. 
3852This affects the AcpiAcquireGlobalLock external interface to the global lock 
3853as well as the internal use of the global lock to support AML fields -- a 
3854control method that is holding the global lock can now simultaneously access 
3855AML fields that require global lock protection. Previously, in both cases, 
3856this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
3857AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
3858Controller. There is no change to the behavior of the AML Acquire operator, 
3859as this can already be used to acquire a mutex multiple times by the same 
3860thread. BZ 8066. With assistance from Alexey Starikovskiy.
3861
3862Fixed a problem where invalid objects could be referenced in the AML 
3863Interpreter after error conditions. During operand evaluation, ensure that 
3864the internal "Return Object" field is cleared on error and only valid 
3865pointers are stored there. Caused occasional access to deleted objects that 
3866resulted in "large reference count" warning messages. Valery Podrezov.
3867
3868Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
3869deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
3870Podrezov.
3871
3872Fixed an internal problem with the handling of result objects on the 
3873interpreter result stack. BZ 7872. Valery Podrezov.
3874
3875Removed obsolete code that handled the case where AML_NAME_OP is the target 
3876of a reference (Reference.Opcode). This code was no longer necessary. BZ 
38777874. Valery Podrezov.
3878
3879Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
3880remnant from the previously discontinued 16-bit support.
3881
3882Example Code and Data Size: These are the sizes for the OS-independent 
3883acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3884debug version of the code includes the debug output trace mechanism and has 
3885a much larger code and data size.
3886
3887  Previous Release:
3888    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3889    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3890  Current Release:
3891    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3892    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3893
3894----------------------------------------
389526 January 2007. Summary of changes for version 20070126:
3896
38971) ACPI CA Core Subsystem:
3898
3899Added the 2007 copyright to all module headers and signons. This affects 
3900virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3901the utilities.
3902
3903Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
3904during a table load. A bad pointer was passed in the case where the DSDT is 
3905overridden, causing a fault in this case.
3906
3907Example Code and Data Size: These are the sizes for the OS-independent 
3908acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3909debug version of the code includes the debug output trace mechanism and has 
3910a much larger code and data size.
3911
3912  Previous Release:
3913    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3914    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3915  Current Release:
3916    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3917    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3918
3919----------------------------------------
392015 December 2006. Summary of changes for version 20061215:
3921
39221) ACPI CA Core Subsystem:
3923
3924Support for 16-bit ACPICA has been completely removed since it is no longer 
3925necessary and it clutters the code. All 16-bit macros, types, and 
3926conditional compiles have been removed, cleaning up and simplifying the code 
3927across the entire subsystem. DOS support is no longer needed since the 
3928bootable Linux firmware kit is now available.
3929
3930The handler for the Global Lock is now removed during AcpiTerminate to 
3931enable a clean subsystem restart, via the implementation of the 
3932AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
3933HP)
3934
3935Implemented enhancements to the multithreading support within the debugger 
3936to enable improved multithreading debugging and evaluation of the subsystem. 
3937(Valery Podrezov)
3938
3939Debugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
3940memory used during the execution, as well as the maximum memory consumed by 
3941each of the various object types. (Valery Podrezov)
3942
3943Example Code and Data Size: These are the sizes for the OS-independent 
3944acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3945debug version of the code includes the debug output trace mechanism and has 
3946a much larger code and data size.
3947
3948  Previous Release:
3949    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3950    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3951  Current Release:
3952    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3953    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3954
3955
39562) iASL Compiler/Disassembler and Tools:
3957
3958AcpiExec: Implemented a new option (-m) to display full memory use 
3959statistics upon subsystem/program termination. (Valery Podrezov)
3960
3961----------------------------------------
396209 November 2006. Summary of changes for version 20061109:
3963
39641) ACPI CA Core Subsystem:
3965
3966Optimized the Load ASL operator in the case where the source operand is an 
3967operation region. Simply map the operation region memory, instead of 
3968performing a bytewise read. (Region must be of type SystemMemory, see 
3969below.)
3970
3971Fixed the Load ASL operator for the case where the source operand is a 
3972region field. A buffer object is also allowed as the source operand. BZ 480
3973
3974Fixed a problem where the Load ASL operator allowed the source operand to be 
3975an operation region of any type. It is now restricted to regions of type 
3976SystemMemory, as per the ACPI specification. BZ 481
3977
3978Additional cleanup and optimizations for the new Table Manager code.
3979
3980AcpiEnable will now fail if all of the required ACPI tables are not loaded 
3981(FADT, FACS, DSDT). BZ 477
3982
3983Added #pragma pack(8/4) to acobject.h to ensure that the structures in this 
3984header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
3985manually optimized to be aligned and will not work if it is byte-packed. 
3986
3987Example Code and Data Size: These are the sizes for the OS-independent 
3988acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3989debug version of the code includes the debug output trace mechanism and has 
3990a much larger code and data size.
3991
3992  Previous Release:
3993    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3994    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3995  Current Release:
3996    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3997    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3998
3999
40002) iASL Compiler/Disassembler and Tools:
4001
4002Fixed a problem where the presence of the _OSI predefined control method 
4003within complex expressions could cause an internal compiler error.
4004
4005AcpiExec: Implemented full region support for multiple address spaces. 
4006SpaceId is now part of the REGION object. BZ 429
4007
4008----------------------------------------
400911 October 2006. Summary of changes for version 20061011:
4010
40111) ACPI CA Core Subsystem:
4012
4013Completed an AML interpreter performance enhancement for control method 
4014execution. Previously a 2-pass parse/execution, control methods are now 
4015completely parsed and executed in a single pass. This improves overall 
4016interpreter performance by ~25%, reduces code size, and reduces CPU stack 
4017use. (Valery Podrezov + interpreter changes in version 20051202 that 
4018eliminated namespace loading during the pass one parse.)
4019
4020Implemented _CID support for PCI Root Bridge detection. If the _HID does not 
4021match the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
4022obtained and also checked for an ID match.
4023
4024Implemented additional support for the PCI _ADR execution: upsearch until a 
4025device scope is found before executing _ADR. This allows PCI_Config 
4026operation regions to be declared locally within control methods underneath 
4027PCI device objects.
4028
4029Fixed a problem with a possible race condition between threads executing 
4030AcpiWalkNamespace and the AML interpreter. This condition was removed by 
4031modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
4032entries created during any concurrent control method execution. An 
4033additional namespace race condition is known to exist between 
4034AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
4035investigation.
4036
4037Restructured the AML ParseLoop function, breaking it into several 
4038subfunctions in order to reduce CPU stack use and improve maintainability. 
4039(Mikhail Kouzmich)
4040
4041AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
4042of prefix handle and pathname. BZ 478
4043
4044Example Code and Data Size: These are the sizes for the OS-independent 
4045acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4046debug version of the code includes the debug output trace mechanism and has 
4047a much larger code and data size.
4048
4049  Previous Release:
4050    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
4051    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
4052  Current Release:
4053    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
4054    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
4055
40562) iASL Compiler/Disassembler and Tools:
4057
4058Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager 
4059to restore original behavior.
4060
4061----------------------------------------
406227 September 2006. Summary of changes for version 20060927:
4063
40641) ACPI CA Core Subsystem:
4065
4066Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
4067These functions now use a spinlock for mutual exclusion and the interrupt 
4068level indication flag is not needed.
4069
4070Fixed a problem with the Global Lock where the lock could appear to be 
4071obtained before it is actually obtained. The global lock semaphore was 
4072inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
4073Suietov.
4074
4075Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
4076a read from a buffer or region field. (BZ 458) Fiodor Suietov.
4077
4078Example Code and Data Size: These are the sizes for the OS-independent 
4079acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4080debug version of the code includes the debug output trace mechanism and has 
4081a much larger code and data size.
4082
4083  Previous Release:
4084    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
4085    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
4086  Current Release:
4087    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
4088    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
4089
4090
40912) iASL Compiler/Disassembler and Tools:
4092
4093Fixed a compilation problem with the pre-defined Resource Descriptor field 
4094names where an "object does not exist" error could be incorrectly generated 
4095if the parent ResourceTemplate pathname places the template within a 
4096different namespace scope than the current scope. (BZ 7212)
4097
4098Fixed a problem where the compiler could hang after syntax errors detected 
4099in an ElseIf construct. (BZ 453)
4100
4101Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
4102operator. An incorrect output filename was produced when this parameter was 
4103a null string (""). Now, the original input filename is used as the AML 
4104output filename, with an ".aml" extension.
4105
4106Implemented a generic batch command mode for the AcpiExec utility (execute 
4107any AML debugger command) (Valery Podrezov).
4108
4109----------------------------------------
411012 September 2006. Summary of changes for version 20060912:
4111
41121) ACPI CA Core Subsystem:
4113
4114Enhanced the implementation of the "serialized mode" of the interpreter 
4115(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
4116specified, instead of creating a serialization semaphore per control method, 
4117the interpreter lock is simply no longer released before a blocking 
4118operation during control method execution. This effectively makes the AML 
4119Interpreter single-threaded. The overhead of a semaphore per-method is 
4120eliminated.
4121
4122Fixed a regression where an error was no longer emitted if a control method 
4123attempts to create 2 objects of the same name. This once again returns 
4124AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
4125will dynamically serialize the control method to possible prevent future 
4126errors. (BZ 440)
4127
4128Integrated a fix for a problem with PCI Express HID detection in the PCI 
4129Config Space setup procedure. (BZ 7145)
4130
4131Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
4132AcpiHwInitialize function - the FADT registers are now validated when the 
4133table is loaded.
4134
4135Added two new warnings during FADT verification - 1) if the FADT is larger 
4136than the largest known FADT version, and 2) if there is a mismatch between a 
413732-bit block address and the 64-bit X counterpart (when both are non-zero.)
4138
4139Example Code and Data Size: These are the sizes for the OS-independent 
4140acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4141debug version of the code includes the debug output trace mechanism and has 
4142a much larger code and data size.
4143
4144  Previous Release:
4145    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
4146    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
4147  Current Release:
4148    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
4149    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
4150
4151
41522) iASL Compiler/Disassembler and Tools:
4153
4154Fixed a problem with the implementation of the Switch() operator where the 
4155temporary variable was declared too close to the actual Switch, instead of 
4156at method level. This could cause a problem if the Switch() operator is 
4157within a while loop, causing an error on the second iteration. (BZ 460)
4158
4159Disassembler - fix for error emitted for unknown type for target of scope 
4160operator. Now, ignore it and continue.
4161
4162Disassembly of an FADT now verifies the input FADT and reports any errors 
4163found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
4164
4165Disassembly of raw data buffers with byte initialization data now prefixes 
4166each output line with the current buffer offset.
4167
4168Disassembly of ASF! table now includes all variable-length data fields at 
4169the end of some of the subtables.
4170
4171The disassembler now emits a comment if a buffer appears to be a 
4172ResourceTemplate, but cannot be disassembled as such because the EndTag does 
4173not appear at the very end of the buffer.
4174
4175AcpiExec - Added the "-t" command line option to enable the serialized mode 
4176of the AML interpreter.
4177
4178----------------------------------------
417931 August 2006. Summary of changes for version 20060831:
4180
41811) ACPI CA Core Subsystem:
4182
4183Miscellaneous fixes for the Table Manager:
4184- Correctly initialize internal common FADT for all 64-bit "X" fields
4185- Fixed a couple table mapping issues during table load
4186- Fixed a couple alignment issues for IA64
4187- Initialize input array to zero in AcpiInitializeTables
4188- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
4189AcpiGetTableByIndex
4190
4191Change for GPE support: when a "wake" GPE is received, all wake GPEs are now 
4192immediately disabled to prevent the waking GPE from firing again and to 
4193prevent other wake GPEs from interrupting the wake process.
4194
4195Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
4196be used for debugging systems with a large number of ACPI interrupts.
4197
4198Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
4199both the ACPICA headers and the disassembler.
4200
4201Example Code and Data Size: These are the sizes for the OS-independent 
4202acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4203debug version of the code includes the debug output trace mechanism and has 
4204a much larger code and data size.
4205
4206  Previous Release:
4207    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
4208    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
4209  Current Release:
4210    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
4211    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
4212
4213
42142) iASL Compiler/Disassembler and Tools:
4215
4216Disassembler support for the DMAR ACPI table.
4217
4218----------------------------------------
421923 August 2006. Summary of changes for version 20060823:
4220
42211) ACPI CA Core Subsystem:
4222
4223The Table Manager component has been completely redesigned and 
4224reimplemented. The new design is much simpler, and reduces the overall code 
4225and data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
4226now possible to obtain the ACPI tables very early during kernel 
4227initialization, even before dynamic memory management is initialized. 
4228(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
4229
4230Obsolete ACPICA interfaces:
4231
4232- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
4233time).
4234- AcpiLoadTable: Not needed.
4235- AcpiUnloadTable: Not needed.
4236
4237New ACPICA interfaces:
4238
4239- AcpiInitializeTables: Must be called before the table manager can be used.
4240- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
4241allocated memory after it becomes available.
4242- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
4243in the RSDT/XSDT.
4244
4245Other ACPICA changes:
4246
4247- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
4248AcpiOsUnmapMemory to free this mapping.
4249- AcpiGetTable returns the actual mapped table. The mapping is managed 
4250internally and must not be deleted by the caller. Use of this interface 
4251causes no additional dynamic memory allocation.
4252- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
4253it appeared to be unused.
4254- The interface to AcpiOsMapMemory has changed to be consistent with the 
4255other allocation interfaces.
4256- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
4257parameters.
4258- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
4259bit platforms. Was previously 64 bits on all platforms.
4260- The interface to the ACPI Global Lock acquire/release macros have changed 
4261slightly since ACPICA no longer keeps a local copy of the FACS with a 
4262constructed pointer to the actual global lock.
4263
4264Porting to the new table manager:
4265
4266- AcpiInitializeTables: Must be called once, and can be called anytime 
4267during the OS initialization process. It allows the host to specify an area 
4268of memory to be used to store the internal version of the RSDT/XSDT (root 
4269table). This allows the host to access ACPI tables before memory management 
4270is initialized and running.
4271- AcpiReallocateRootTable: Can be called after memory management is running 
4272to copy the root table to a dynamically allocated array, freeing up the 
4273scratch memory specified in the call to AcpiInitializeTables.
4274- AcpiSubsystemInitialize: This existing interface is independent of the 
4275Table Manager, and does not have to be called before the Table Manager can 
4276be used, it only must be called before the rest of ACPICA can be used.
4277- ACPI Tables: Some changes have been made to the names and structure of the 
4278actbl.h and actbl1.h header files and may require changes to existing code. 
4279For example, bitfields have been completely removed because of their lack of 
4280portability across C compilers.
4281- Update interfaces to the Global Lock acquire/release macros if local 
4282versions are used. (see acwin.h)
4283
4284Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
4285
4286New files: tbfind.c
4287
4288Example Code and Data Size: These are the sizes for the OS-independent 
4289acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4290debug version of the code includes the debug output trace mechanism and has 
4291a much larger code and data size.
4292
4293  Previous Release:
4294    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4295    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4296  Current Release:
4297    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
4298    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
4299
4300
43012) iASL Compiler/Disassembler and Tools:
4302
4303No changes for this release.
4304
4305----------------------------------------
430621 July 2006. Summary of changes for version 20060721:
4307
43081) ACPI CA Core Subsystem:
4309
4310The full source code for the ASL test suite used to validate the iASL 
4311compiler and the ACPICA core subsystem is being released with the ACPICA 
4312source for the first time. The source is contained in a separate package and 
4313consists of over 1100 files that exercise all ASL/AML operators. The package 
4314should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
4315Suietov)
4316
4317Completed a new design and implementation for support of the ACPI Global 
4318Lock. On the OS side, the global lock is now treated as a standard AML 
4319mutex. Previously, multiple OS threads could "acquire" the global lock 
4320simultaneously. However, this could cause the BIOS to be starved out of the 
4321lock - especially in cases such as the Embedded Controller driver where 
4322there is a tight coupling between the OS and the BIOS.
4323
4324Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
4325The Global Lock interrupt handler no longer queues the execution of a 
4326separate thread to signal the global lock semaphore. Instead, the semaphore 
4327is signaled directly from the interrupt handler.
4328
4329Implemented support within the AML interpreter for package objects that 
4330contain a larger AML length (package list length) than the package element 
4331count. In this case, the length of the package is truncated to match the 
4332package element count. Some BIOS code apparently modifies the package length 
4333on the fly, and this change supports this behavior. Provides compatibility 
4334with the MS AML interpreter. (With assistance from Fiodor Suietov)
4335
4336Implemented a temporary fix for the BankValue parameter of a Bank Field to 
4337support all constant values, now including the Zero and One opcodes. 
4338Evaluation of this parameter must eventually be converted to a full TermArg 
4339evaluation. A not-implemented error is now returned (temporarily) for non-
4340constant values for this parameter.
4341
4342Fixed problem reports (Fiodor Suietov) integrated:
4343- Fix for premature object deletion after CopyObject on Operation Region (BZ 
4344350)
4345
4346Example Code and Data Size: These are the sizes for the OS-independent 
4347acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4348debug version of the code includes the debug output trace mechanism and has 
4349a much larger code and data size.
4350
4351  Previous Release:
4352    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
4353    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
4354  Current Release:
4355    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4356    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4357
4358
43592) iASL Compiler/Disassembler and Tools:
4360
4361No changes for this release.
4362
4363----------------------------------------
436407 July 2006. Summary of changes for version 20060707:
4365
43661) ACPI CA Core Subsystem:
4367
4368Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
4369that do not allow the initialization of address pointers within packed 
4370structures - even though the hardware itself may support misaligned 
4371transfers. Some of the debug data structures are packed by default to 
4372minimize size.
4373
4374Added an error message for the case where AcpiOsGetThreadId() returns zero. 
4375A non-zero value is required by the core ACPICA code to ensure the proper 
4376operation of AML mutexes and recursive control methods.
4377
4378The DSDT is now the only ACPI table that determines whether the AML 
4379interpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
4380the hooks for per-table 32/64 switching have been removed from the code. A 
4381clarification to the ACPI specification is forthcoming in ACPI 3.0B.
4382
4383Fixed a possible leak of an OwnerID in the error path of 
4384AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
4385deletion to a single place in AcpiTbUninstallTable to correct possible leaks 
4386when using the AcpiTbDeleteTablesByType interface (with assistance from 
4387Lance Ortiz.)
4388
4389Fixed a problem with Serialized control methods where the semaphore 
4390associated with the method could be over-signaled after multiple method 
4391invocations.
4392
4393Fixed two issues with the locking of the internal namespace data structure. 
4394Both the Unload() operator and AcpiUnloadTable interface now lock the 
4395namespace during the namespace deletion associated with the table unload 
4396(with assistance from Linn Crosetto.)
4397
4398Fixed problem reports (Valery Podrezov) integrated:
4399- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
4400
4401Fixed problem reports (Fiodor Suietov) integrated:
4402- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
4403- On Address Space handler deletion, needless deactivation call (BZ 374)
4404- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
4405- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
4406(BZ 376)
4407- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
4408- Minimum Length of RSDT should be validated (BZ 379)
4409- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
4410Handler (BZ (380)
4411- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
4412(BZ 381)
4413
4414Example Code and Data Size: These are the sizes for the OS-independent 
4415acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4416debug version of the code includes the debug output trace mechanism and has 
4417a much larger code and data size.
4418
4419  Previous Release:
4420    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
4421    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
4422  Current Release:
4423    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4424    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4425
4426
44272) iASL Compiler/Disassembler and Tools:
4428
4429Fixed problem reports:
4430Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
4431436)
4432
4433----------------------------------------
443423 June 2006. Summary of changes for version 20060623:
4435
44361) ACPI CA Core Subsystem:
4437
4438Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
4439allows the type to be customized to the host OS for improved efficiency 
4440(since a spinlock is usually a very small object.)
4441
4442Implemented support for "ignored" bits in the ACPI registers. According to 
4443the ACPI specification, these bits should be preserved when writing the 
4444registers via a read/modify/write cycle. There are 3 bits preserved in this 
4445manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
4446
4447Implemented the initial deployment of new OSL mutex interfaces. Since some 
4448host operating systems have separate mutex and semaphore objects, this 
4449feature was requested. The base code now uses mutexes (and the new mutex 
4450interfaces) wherever a binary semaphore was used previously. However, for 
4451the current release, the mutex interfaces are defined as macros to map them 
4452to the existing semaphore interfaces. Therefore, no OSL changes are required 
4453at this time. (See acpiosxf.h)
4454
4455Fixed several problems with the support for the control method SyncLevel 
4456parameter. The SyncLevel now works according to the ACPI specification and 
4457in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
4458is a property of the executing thread. Mutual exclusion for control methods 
4459is now implemented with a mutex instead of a semaphore.
4460
4461Fixed three instances of the use of the C shift operator in the bitfield 
4462support code (exfldio.c) to avoid the use of a shift value larger than the 
4463target data width. The behavior of C compilers is undefined in this case and 
4464can cause unpredictable results, and therefore the case must be detected and 
4465avoided. (Fiodor Suietov)
4466
4467Added an info message whenever an SSDT or OEM table is loaded dynamically 
4468via the Load() or LoadTable() ASL operators. This should improve debugging 
4469capability since it will show exactly what tables have been loaded (beyond 
4470the tables present in the RSDT/XSDT.)
4471
4472Example Code and Data Size: These are the sizes for the OS-independent 
4473acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4474debug version of the code includes the debug output trace mechanism and has 
4475a much larger code and data size.
4476
4477  Previous Release:
4478    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
4479    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
4480  Current Release:
4481    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
4482    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
4483
4484
44852) iASL Compiler/Disassembler and Tools:
4486
4487No changes for this release.
4488
4489----------------------------------------
449008 June 2006. Summary of changes for version 20060608:
4491
44921) ACPI CA Core Subsystem:
4493
4494Converted the locking mutex used for the ACPI hardware to a spinlock. This 
4495change should eliminate all problems caused by attempting to acquire a 
4496semaphore at interrupt level, and it means that all ACPICA external 
4497interfaces that directly access the ACPI hardware can be safely called from 
4498interrupt level. OSL code that implements the semaphore interfaces should be 
4499able to eliminate any workarounds for being called at interrupt level.
4500
4501Fixed a regression introduced in 20060526 where the ACPI device 
4502initialization could be prematurely aborted with an AE_NOT_FOUND if a device 
4503did not have an optional _INI method.
4504
4505Fixed an IndexField issue where a write to the Data Register should be 
4506limited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
4507Fiodor Suietov)
4508
4509Fixed problem reports (Valery Podrezov) integrated:
4510- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
4511
4512Fixed problem reports (Fiodor Suietov) integrated:
4513- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
4514
4515Removed four global mutexes that were obsolete and were no longer being 
4516used.
4517
4518Example Code and Data Size: These are the sizes for the OS-independent 
4519acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4520debug version of the code includes the debug output trace mechanism and has 
4521a much larger code and data size.
4522
4523  Previous Release:
4524    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4525    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4526  Current Release:
4527    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
4528    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
4529
4530
45312) iASL Compiler/Disassembler and Tools:
4532
4533Fixed a fault when using -g option (get tables from registry) on Windows 
4534machines.
4535
4536Fixed problem reports integrated:
4537- Generate error if CreateField NumBits parameter is zero. (BZ 405)
4538- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
4539Suietov)
4540- Global table revision override (-r) is ignored (BZ 413)
4541
4542----------------------------------------
454326 May 2006. Summary of changes for version 20060526:
4544
45451) ACPI CA Core Subsystem:
4546
4547Restructured, flattened, and simplified the internal interfaces for 
4548namespace object evaluation - resulting in smaller code, less CPU stack use, 
4549and fewer interfaces. (With assistance from Mikhail Kouzmich)
4550
4551Fixed a problem with the CopyObject operator where the first parameter was 
4552not typed correctly for the parser, interpreter, compiler, and disassembler. 
4553Caused various errors and unexpected behavior.
4554
4555Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
4556produced incorrect results with some C compilers. Since the behavior of C 
4557compilers when the shift value is larger than the datatype width is 
4558apparently not well defined, the interpreter now detects this condition and 
4559simply returns zero as expected in all such cases. (BZ 395)
4560
4561Fixed problem reports (Valery Podrezov) integrated:
4562- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
4563- Allow interpreter to handle nested method declarations (BZ 5361)
4564
4565Fixed problem reports (Fiodor Suietov) integrated:
4566- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
4567- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
4568- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
4569- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
4570- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
4571- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
4572- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
4573- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
4574- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
4575- Status of the Global Initialization Handler call not used (BZ 366)
4576- Incorrect object parameter to Global Initialization Handler (BZ 367)
4577
4578Example Code and Data Size: These are the sizes for the OS-independent 
4579acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4580debug version of the code includes the debug output trace mechanism and has 
4581a much larger code and data size.
4582
4583  Previous Release:
4584    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4585    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4586  Current Release:
4587    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4588    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4589
4590
45912) iASL Compiler/Disassembler and Tools:
4592
4593Modified the parser to allow the names IO, DMA, and IRQ to be used as 
4594namespace identifiers with no collision with existing resource descriptor 
4595macro names. This provides compatibility with other ASL compilers and is 
4596most useful for disassembly/recompilation of existing tables without parse 
4597errors. (With assistance from Thomas Renninger)
4598
4599Disassembler: fixed an incorrect disassembly problem with the 
4600DataTableRegion and CopyObject operators. Fixed a possible fault during 
4601disassembly of some Alias operators.
4602
4603----------------------------------------
460412 May 2006. Summary of changes for version 20060512:
4605
46061) ACPI CA Core Subsystem:
4607
4608Replaced the AcpiOsQueueForExecution interface with a new interface named 
4609AcpiOsExecute. The major difference is that the new interface does not have 
4610a Priority parameter, this appeared to be useless and has been replaced by a 
4611Type parameter. The Type tells the host what type of execution is being 
4612requested, such as global lock handler, notify handler, GPE handler, etc. 
4613This allows the host to queue and execute the request as appropriate for the 
4614request type, possibly using different work queues and different priorities 
4615for the various request types. This enables fixes for multithreading 
4616deadlock problems such as BZ #5534, and will require changes to all existing 
4617OS interface layers. (Alexey Starikovskiy and Bob Moore)
4618
4619Fixed a possible memory leak associated with the support for the so-called 
4620"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
4621Suietov)
4622
4623Fixed a problem with the Load() operator where a table load from an 
4624operation region could overwrite an internal table buffer by up to 7 bytes 
4625and cause alignment faults on IPF systems. (With assistance from Luming Yu)
4626
4627Example Code and Data Size: These are the sizes for the OS-independent 
4628acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4629debug version of the code includes the debug output trace mechanism and has 
4630a much larger code and data size.
4631
4632  Previous Release:
4633    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4634    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4635  Current Release:
4636    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4637    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4638
4639
4640
46412) iASL Compiler/Disassembler and Tools:
4642
4643Disassembler: Implemented support to cross reference the internal namespace 
4644and automatically generate ASL External() statements for symbols not defined 
4645within the current table being disassembled. This will simplify the 
4646disassembly and recompilation of interdependent tables such as SSDTs since 
4647these statements will no longer have to be added manually.
4648
4649Disassembler: Implemented experimental support to automatically detect 
4650invocations of external control methods and generate appropriate External() 
4651statements. This is problematic because the AML cannot be correctly parsed 
4652until the number of arguments for each control method is known. Currently, 
4653standalone method invocations and invocations as the source operand of a 
4654Store() statement are supported.
4655
4656Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
4657LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
4658LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
4659more readable and likely closer to the original ASL source.
4660
4661----------------------------------------
466221 April 2006. Summary of changes for version 20060421:
4663
46641) ACPI CA Core Subsystem:
4665
4666Removed a device initialization optimization introduced in 20051216 where 
4667the _STA method was not run unless an _INI was also present for the same 
4668device. This optimization could cause problems because it could allow _INI 
4669methods to be run within a not-present device subtree. (If a not-present 
4670device had no _INI, _STA would not be run, the not-present status would not 
4671be discovered, and the children of the device would be incorrectly 
4672traversed.)
4673
4674Implemented a new _STA optimization where namespace subtrees that do not 
4675contain _INI are identified and ignored during device initialization. 
4676Selectively running _STA can significantly improve boot time on large 
4677machines (with assistance from Len Brown.)
4678
4679Implemented support for the device initialization case where the returned 
4680_STA flags indicate a device not-present but functioning. In this case, _INI 
4681is not run, but the device children are examined for presence, as per the 
4682ACPI specification.
4683
4684Implemented an additional change to the IndexField support in order to 
4685conform to MS behavior. The value written to the Index Register is not 
4686simply a byte offset, it is a byte offset in units of the access width of 
4687the parent Index Field. (Fiodor Suietov)
4688
4689Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
4690interface is called during the creation of all AML operation regions, and 
4691allows the host OS to exert control over what addresses it will allow the 
4692AML code to access. Operation Regions whose addresses are disallowed will 
4693cause a runtime exception when they are actually accessed (will not affect 
4694or abort table loading.) See oswinxf or osunixxf for an example 
4695implementation.
4696
4697Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
4698interface allows the host OS to match the various "optional" 
4699interface/behavior strings for the _OSI predefined control method as 
4700appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
4701for an example implementation.
4702
4703Restructured and corrected various problems in the exception handling code 
4704paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
4705(with assistance from Takayoshi Kochi.)
4706
4707Modified the Linux source converter to ignore quoted string literals while 
4708converting identifiers from mixed to lower case. This will correct problems 
4709with the disassembler and other areas where such strings must not be 
4710modified.
4711
4712The ACPI_FUNCTION_* macros no longer require quotes around the function 
4713name. This allows the Linux source converter to convert the names, now that 
4714the converter ignores quoted strings.
4715
4716Example Code and Data Size: These are the sizes for the OS-independent 
4717acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4718debug version of the code includes the debug output trace mechanism and has 
4719a much larger code and data size.
4720
4721  Previous Release:
4722
4723    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4724    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4725  Current Release:
4726    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4727    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4728
4729
47302) iASL Compiler/Disassembler and Tools:
4731
4732Implemented 3 new warnings for iASL, and implemented multiple warning levels 
4733(w2 flag).
4734
47351) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
4736WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
4737check for the possible timeout, a warning is issued.
4738
47392) Useless operators: If an ASL operator does not specify an optional target 
4740operand and it also does not use the function return value from the 
4741operator, a warning is issued since the operator effectively does nothing.
4742
47433) Unreferenced objects: If a namespace object is created, but never 
4744referenced, a warning is issued. This is a warning level 2 since there are 
4745cases where this is ok, such as when a secondary table is loaded that uses 
4746the unreferenced objects. Even so, care is taken to only flag objects that 
4747don't look like they will ever be used. For example, the reserved methods 
4748(starting with an underscore) are usually not referenced because it is 
4749expected that the OS will invoke them.
4750
4751----------------------------------------
475231 March 2006. Summary of changes for version 20060331:
4753
47541) ACPI CA Core Subsystem:
4755
4756Implemented header file support for the following additional ACPI tables: 
4757ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
4758all current and known ACPI tables are now defined in the ACPICA headers and 
4759are available for use by device drivers and other software.
4760
4761Implemented support to allow tables that contain ACPI names with invalid 
4762characters to be loaded. Previously, this would cause the table load to 
4763fail, but since there are several known cases of such tables on existing 
4764machines, this change was made to enable ACPI support for them. Also, this 
4765matches the behavior of the Microsoft ACPI implementation.
4766
4767Fixed a couple regressions introduced during the memory optimization in the 
476820060317 release. The namespace node definition required additional 
4769reorganization and an internal datatype that had been changed to 8-bit was 
4770restored to 32-bit. (Valery Podrezov)
4771
4772Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
4773could be passed through to AcpiOsReleaseObject which is unexpected. Such 
4774null pointers are now trapped and ignored, matching the behavior of the 
4775previous implementation before the deployment of AcpiOsReleaseObject.
4776(Valery Podrezov, Fiodor Suietov)
4777
4778Fixed a memory mapping leak during the deletion of a SystemMemory operation 
4779region where a cached memory mapping was not deleted. This became a 
4780noticeable problem for operation regions that are defined within frequently 
4781used control methods. (Dana Meyers)
4782
4783Reorganized the ACPI table header files into two main files: one for the 
4784ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
4785ACPI tables that are consumed by the drivers and other software. The various 
4786FADT definitions were merged into one common section and three different 
4787tables (ACPI 1.0, 1.0+, and 2.0)
4788
4789Example Code and Data Size: These are the sizes for the OS-independent 
4790acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4791debug version of the code includes the debug output trace mechanism and has 
4792a much larger code and data size.
4793
4794  Previous Release:
4795    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4796    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4797  Current Release:
4798    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4799    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4800
4801
48022) iASL Compiler/Disassembler and Tools:
4803
4804Disassembler: Implemented support to decode and format all non-AML ACPI 
4805tables (tables other than DSDTs and SSDTs.) This includes the new tables 
4806added to the ACPICA headers, therefore all current and known ACPI tables are 
4807supported.
4808
4809Disassembler: The change to allow ACPI names with invalid characters also 
4810enables the disassembly of such tables. Invalid characters within names are 
4811changed to '*' to make the name printable; the iASL compiler will still 
4812generate an error for such names, however, since this is an invalid ACPI 
4813character.
4814
4815Implemented an option for AcpiXtract (-a) to extract all tables found in the 
4816input file. The default invocation extracts only the DSDTs and SSDTs.
4817
4818Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
4819makefile for the AcpiXtract utility.
4820
4821----------------------------------------
482217 March 2006. Summary of changes for version 20060317:
4823
48241) ACPI CA Core Subsystem:
4825
4826Implemented the use of a cache object for all internal namespace nodes. 
4827Since there are about 1000 static nodes in a typical system, this will 
4828decrease memory use for cache implementations that minimize per-allocation 
4829overhead (such as a slab allocator.)
4830
4831Removed the reference count mechanism for internal namespace nodes, since it 
4832was deemed unnecessary. This reduces the size of each namespace node by 
4833about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
4834and 32 bytes for the 64-bit case.
4835
4836Optimized several internal data structures to reduce object size on 64-bit 
4837platforms by packing data within the 64-bit alignment. This includes the 
4838frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
4839instances corresponding to the namespace objects.
4840
4841Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
4842and "Windows 2006".
4843
4844Split the allocation tracking mechanism out to a separate file, from 
4845utalloc.c to uttrack.c. This mechanism appears to be only useful for 
4846application-level code. Kernels may wish to not include uttrack.c in 
4847distributions.
4848
4849Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated 
4850code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
4851macros.)
4852
4853Code and Data Size: These are the sizes for the acpica.lib produced by the 
4854Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4855driver or OSPM code. The debug version of the code includes the debug output 
4856trace mechanism and has a much larger code and data size. Note that these 
4857values will vary depending on the efficiency of the compiler and the 
4858compiler options used during generation.
4859
4860  Previous Release:
4861    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4862    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4863  Current Release:
4864    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4865    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4866
4867
48682) iASL Compiler/Disassembler and Tools:
4869
4870Implemented an ANSI C version of the acpixtract utility. This version will 
4871automatically extract the DSDT and all SSDTs from the input acpidump text 
4872file and dump the binary output to separate files. It can also display a 
4873summary of the input file including the headers for each table found and 
4874will extract any single ACPI table, with any signature. (See 
4875source/tools/acpixtract)
4876
4877----------------------------------------
487810 March 2006. Summary of changes for version 20060310:
4879
48801) ACPI CA Core Subsystem:
4881
4882Tagged all external interfaces to the subsystem with the new 
4883ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
4884kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
4885macro. The default definition is NULL.
4886
4887Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
4888This allows the host to define this as necessary to simplify kernel 
4889integration. The default definition is ACPI_NATIVE_UINT.
4890
4891Fixed two interpreter problems related to error processing, the deletion of 
4892objects, and placing invalid pointers onto the internal operator result 
4893stack. BZ 6028, 6151 (Valery Podrezov)
4894
4895Increased the reference count threshold where a warning is emitted for large 
4896reference counts in order to eliminate unnecessary warnings on systems with 
4897large namespaces (especially 64-bit.) Increased the value from 0x400 to 
48980x800.
4899
4900Due to universal disagreement as to the meaning of the 'c' in the calloc() 
4901function, the ACPI_MEM_CALLOCATE macro has been renamed to 
4902ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
4903ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
4904ACPI_FREE.
4905
4906Code and Data Size: These are the sizes for the acpica.lib produced by the 
4907Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4908driver or OSPM code. The debug version of the code includes the debug output 
4909trace mechanism and has a much larger code and data size. Note that these 
4910values will vary depending on the efficiency of the compiler and the 
4911compiler options used during generation.
4912
4913  Previous Release:
4914    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4915    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4916  Current Release:
4917    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4918    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4919
4920
49212) iASL Compiler/Disassembler:
4922
4923Disassembler: implemented support for symbolic resource descriptor 
4924references. If a CreateXxxxField operator references a fixed offset within a 
4925resource descriptor, a name is assigned to the descriptor and the offset is 
4926translated to the appropriate resource tag and pathname. The addition of 
4927this support brings the disassembled code very close to the original ASL 
4928source code and helps eliminate run-time errors when the disassembled code 
4929is modified (and recompiled) in such a way as to invalidate the original 
4930fixed offsets.
4931
4932Implemented support for a Descriptor Name as the last parameter to the ASL 
4933Register() macro. This parameter was inadvertently left out of the ACPI 
4934specification, and will be added for ACPI 3.0b.
4935
4936Fixed a problem where the use of the "_OSI" string (versus the full path 
4937"\_OSI") caused an internal compiler error. ("No back ptr to op")
4938
4939Fixed a problem with the error message that occurs when an invalid string is 
4940used for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
4941The correct message is now displayed.
4942
4943----------------------------------------
494417 February 2006. Summary of changes for version 20060217:
4945
49461) ACPI CA Core Subsystem:
4947
4948Implemented a change to the IndexField support to match the behavior of the 
4949Microsoft AML interpreter. The value written to the Index register is now a 
4950byte offset, no longer an index based upon the width of the Data register. 
4951This should fix IndexField problems seen on some machines where the Data 
4952register is not exactly one byte wide. The ACPI specification will be 
4953clarified on this point.
4954
4955Fixed a problem where several resource descriptor types could overrun the 
4956internal descriptor buffer due to size miscalculation: VendorShort, 
4957VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
4958affect all platforms.
4959
4960Fixed a problem where individual resource descriptors were misaligned within 
4961the internal buffer, causing alignment faults on IA64 platforms.
4962
4963Code and Data Size: These are the sizes for the acpica.lib produced by the 
4964Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4965driver or OSPM code. The debug version of the code includes the debug output 
4966trace mechanism and has a much larger code and data size. Note that these 
4967values will vary depending on the efficiency of the compiler and the 
4968compiler options used during generation.
4969
4970  Previous Release:
4971    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4972    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4973  Current Release:
4974    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4975    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4976
4977
49782) iASL Compiler/Disassembler:
4979
4980Implemented support for new reserved names: _WDG and _WED are Microsoft 
4981extensions for Windows Instrumentation Management, _TDL is a new ACPI-
4982defined method (Throttling Depth Limit.)
4983
4984Fixed a problem where a zero-length VendorShort or VendorLong resource 
4985descriptor was incorrectly emitted as a descriptor of length one.
4986
4987----------------------------------------
498810 February 2006. Summary of changes for version 20060210:
4989
49901) ACPI CA Core Subsystem:
4991
4992Removed a couple of extraneous ACPI_ERROR messages that appeared during 
4993normal execution. These became apparent after the conversion from 
4994ACPI_DEBUG_PRINT.
4995
4996Fixed a problem where the CreateField operator could hang if the BitIndex or 
4997NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4998
4999Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
5000failed with an exception. This also fixes a couple of related RefOf and 
5001DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
5002
5003Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
5004AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
50055480)
5006
5007Implemented a memory cleanup at the end of the execution of each iteration 
5008of an AML While() loop, preventing the accumulation of outstanding objects. 
5009(Valery Podrezov, BZ 5427)
5010
5011Eliminated a chunk of duplicate code in the object resolution code. (Valery 
5012Podrezov, BZ 5336)
5013
5014Fixed several warnings during the 64-bit code generation.
5015
5016The AcpiSrc source code conversion tool now inserts one line of whitespace 
5017after an if() statement that is followed immediately by a comment, improving 
5018readability of the Linux code.
5019
5020Code and Data Size: The current and previous library sizes for the core 
5021subsystem are shown below. These are the code and data sizes for the 
5022acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5023values do not include any ACPI driver or OSPM code. The debug version of the 
5024code includes the debug output trace mechanism and has a much larger code 
5025and data size. Note that these values will vary depending on the efficiency 
5026of the compiler and the compiler options used during generation.
5027
5028  Previous Release:
5029    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
5030    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
5031  Current Release:
5032    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
5033    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
5034
5035
50362) iASL Compiler/Disassembler:
5037
5038Fixed a problem with the disassembly of a BankField operator with a complex 
5039expression for the BankValue parameter.
5040
5041----------------------------------------
504227 January 2006. Summary of changes for version 20060127:
5043
50441) ACPI CA Core Subsystem:
5045
5046Implemented support in the Resource Manager to allow unresolved namestring 
5047references within resource package objects for the _PRT method. This support 
5048is in addition to the previously implemented unresolved reference support 
5049within the AML parser. If the interpreter slack mode is enabled, these 
5050unresolved references will be passed through to the caller as a NULL package 
5051entry.
5052
5053Implemented and deployed new macros and functions for error and warning 
5054messages across the subsystem. These macros are simpler and generate less 
5055code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
5056ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
5057macros remain defined to allow ACPI drivers time to migrate to the new 
5058macros.
5059
5060Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
5061Acquire/Release Lock OSL interfaces.
5062
5063Fixed a problem where Alias ASL operators are sometimes not correctly 
5064resolved, in both the interpreter and the iASL compiler.
5065
5066Fixed several problems with the implementation of the ConcatenateResTemplate 
5067ASL operator. As per the ACPI specification, zero length buffers are now 
5068treated as a single EndTag. One-length buffers always cause a fatal 
5069exception. Non-zero length buffers that do not end with a full 2-byte EndTag 
5070cause a fatal exception.
5071
5072Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
5073interface. (With assistance from Thomas Renninger)
5074
5075Code and Data Size: The current and previous library sizes for the core 
5076subsystem are shown below. These are the code and data sizes for the 
5077acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5078values do not include any ACPI driver or OSPM code. The debug version of the 
5079code includes the debug output trace mechanism and has a much larger code 
5080and data size. Note that these values will vary depending on the efficiency 
5081of the compiler and the compiler options used during generation.
5082
5083  Previous Release:
5084    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
5085    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
5086  Current Release:
5087    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
5088    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
5089
5090
50912) iASL Compiler/Disassembler:
5092
5093Fixed an internal error that was generated for any forward references to ASL 
5094Alias objects.
5095
5096----------------------------------------
509713 January 2006. Summary of changes for version 20060113:
5098
50991) ACPI CA Core Subsystem:
5100
5101Added 2006 copyright to all module headers and signons. This affects 
5102virtually every file in the ACPICA core subsystem, iASL compiler, and the 
5103utilities.
5104 
5105Enhanced the ACPICA error reporting in order to simplify user migration to 
5106the non-debug version of ACPICA. Replaced all instances of the 
5107ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
5108levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
5109respectively. This preserves all error and warning messages in the non-debug 
5110version of the ACPICA code (this has been referred to as the "debug lite" 
5111option.) Over 200 cases were converted to create a total of over 380 
5112error/warning messages across the ACPICA code. This increases the code and 
5113data size of the default non-debug version of the code somewhat (about 13K), 
5114but all error/warning reporting may be disabled if desired (and code 
5115eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
5116configuration option. The size of the debug version of ACPICA remains about 
5117the same.
5118
5119Fixed a memory leak within the AML Debugger "Set" command. One object was 
5120not properly deleted for every successful invocation of the command.
5121
5122Code and Data Size: The current and previous library sizes for the core 
5123subsystem are shown below. These are the code and data sizes for the 
5124acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5125values do not include any ACPI driver or OSPM code. The debug version of the 
5126code includes the debug output trace mechanism and has a much larger code 
5127and data size. Note that these values will vary depending on the efficiency 
5128of the compiler and the compiler options used during generation.
5129
5130  Previous Release:
5131    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
5132    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
5133  Current Release:
5134    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
5135    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
5136
5137
51382) iASL Compiler/Disassembler:
5139
5140The compiler now officially supports the ACPI 3.0a specification that was 
5141released on December 30, 2005. (Specification is available at www.acpi.info)
5142
5143----------------------------------------
514416 December 2005. Summary of changes for version 20051216:
5145
51461) ACPI CA Core Subsystem:
5147
5148Implemented optional support to allow unresolved names within ASL Package 
5149objects. A null object is inserted in the package when a named reference 
5150cannot be located in the current namespace. Enabled via the interpreter 
5151slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
5152that contain such code.
5153
5154Implemented an optimization to the initialization sequence that can improve 
5155boot time. During ACPI device initialization, the _STA method is now run if 
5156and only if the _INI method exists. The _STA method is used to determine if 
5157the device is present; An _INI can only be run if _STA returns present, but 
5158it is a waste of time to run the _STA method if the _INI does not exist. 
5159(Prototype and assistance from Dong Wei)
5160
5161Implemented use of the C99 uintptr_t for the pointer casting macros if it is 
5162available in the current compiler. Otherwise, the default (void *) cast is 
5163used as before.
5164
5165Fixed some possible memory leaks found within the execution path of the 
5166Break, Continue, If, and CreateField operators. (Valery Podrezov)
5167
5168Fixed a problem introduced in the 20051202 release where an exception is 
5169generated during method execution if a control method attempts to declare 
5170another method.
5171
5172Moved resource descriptor string constants that are used by both the AML 
5173disassembler and AML debugger to the common utilities directory so that 
5174these components are independent.
5175
5176Implemented support in the AcpiExec utility (-e switch) to globally ignore 
5177exceptions during control method execution (method is not aborted.)
5178
5179Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
5180generation.
5181
5182Code and Data Size: The current and previous library sizes for the core 
5183subsystem are shown below. These are the code and data sizes for the 
5184acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5185values do not include any ACPI driver or OSPM code. The debug version of the 
5186code includes the debug output trace mechanism and has a much larger code 
5187and data size. Note that these values will vary depending on the efficiency 
5188of the compiler and the compiler options used during generation.
5189
5190  Previous Release:
5191    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5192    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
5193  Current Release:
5194    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
5195    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
5196
5197
51982) iASL Compiler/Disassembler:
5199
5200Fixed a problem where a CPU stack overflow fault could occur if a recursive 
5201method call was made from within a Return statement.
5202
5203----------------------------------------
520402 December 2005. Summary of changes for version 20051202:
5205
52061) ACPI CA Core Subsystem:
5207
5208Modified the parsing of control methods to no longer create namespace 
5209objects during the first pass of the parse. Objects are now created only 
5210during the execute phase, at the moment the namespace creation operator is 
5211encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
5212should eliminate ALREADY_EXISTS exceptions seen on some machines where 
5213reentrant control methods are protected by an AML mutex. The mutex will now 
5214correctly block multiple threads from attempting to create the same object 
5215more than once.
5216
5217Increased the number of available Owner Ids for namespace object tracking 
5218from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
5219some machines with a large number of ACPI tables (either static or dynamic).
5220
5221Fixed a problem with the AcpiExec utility where a fault could occur when the 
5222-b switch (batch mode) is used.
5223
5224Enhanced the namespace dump routine to output the owner ID for each 
5225namespace object.
5226
5227Code and Data Size: The current and previous library sizes for the core 
5228subsystem are shown below. These are the code and data sizes for the 
5229acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5230values do not include any ACPI driver or OSPM code. The debug version of the 
5231code includes the debug output trace mechanism and has a much larger code 
5232and data size. Note that these values will vary depending on the efficiency 
5233of the compiler and the compiler options used during generation.
5234
5235  Previous Release:
5236    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5237    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5238  Current Release:
5239    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5240    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
5241
5242
52432) iASL Compiler/Disassembler:
5244
5245Fixed a parse error during compilation of certain Switch/Case constructs. To 
5246simplify the parse, the grammar now allows for multiple Default statements 
5247and this error is now detected and flagged during the analysis phase.
5248
5249Disassembler: The disassembly now includes the contents of the original 
5250table header within a comment at the start of the file. This includes the 
5251name and version of the original ASL compiler.
5252
5253----------------------------------------
525417 November 2005. Summary of changes for version 20051117:
5255
52561) ACPI CA Core Subsystem:
5257
5258Fixed a problem in the AML parser where the method thread count could be 
5259decremented below zero if any errors occurred during the method parse phase. 
5260This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
5261This also fixed a related regression with the mechanism that detects and 
5262corrects methods that cannot properly handle reentrancy (related to the 
5263deployment of the new OwnerId mechanism.)
5264
5265Eliminated the pre-parsing of control methods (to detect errors) during 
5266table load. Related to the problem above, this was causing unwind issues if 
5267any errors occurred during the parse, and it seemed to be overkill. A table 
5268load should not be aborted if there are problems with any single control 
5269method, thus rendering this feature rather pointless.
5270
5271Fixed a problem with the new table-driven resource manager where an internal 
5272buffer overflow could occur for small resource templates.
5273
5274Implemented a new external interface, AcpiGetVendorResource. This interface 
5275will find and return a vendor-defined resource descriptor within a _CRS or 
5276_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
5277
5278Removed the length limit (200) on string objects as per the upcoming ACPI 
52793.0A specification. This affects the following areas of the interpreter: 1) 
5280any implicit conversion of a Buffer to a String, 2) a String object result 
5281of the ASL Concatentate operator, 3) the String object result of the ASL 
5282ToString operator.
5283
5284Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
5285on a semaphore object would incorrectly timeout. This allows the 
5286multithreading features of the AcpiExec utility to work properly under 
5287Windows.
5288
5289Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
5290the recently added file named "utresrc.c".
5291
5292Code and Data Size: The current and previous library sizes for the core 
5293subsystem are shown below. These are the code and data sizes for the 
5294acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5295values do not include any ACPI driver or OSPM code. The debug version of the 
5296code includes the debug output trace mechanism and has a much larger code 
5297and data size. Note that these values will vary depending on the efficiency 
5298of the compiler and the compiler options used during generation.
5299
5300  Previous Release:
5301    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
5302    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5303  Current Release:
5304    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5305    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5306
5307
53082) iASL Compiler/Disassembler:
5309
5310Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
5311specification. For the iASL compiler, this means that string literals within 
5312the source ASL can be of any length. 
5313
5314Enhanced the listing output to dump the AML code for resource descriptors 
5315immediately after the ASL code for each descriptor, instead of in a block at 
5316the end of the entire resource template.
5317
5318Enhanced the compiler debug output to dump the entire original parse tree 
5319constructed during the parse phase, before any transforms are applied to the 
5320tree. The transformed tree is dumped also.
5321
5322----------------------------------------
532302 November 2005. Summary of changes for version 20051102:
5324
53251) ACPI CA Core Subsystem:
5326
5327Modified the subsystem initialization sequence to improve GPE support. The 
5328GPE initialization has been split into two parts in order to defer execution 
5329of the _PRW methods (Power Resources for Wake) until after the hardware is 
5330fully initialized and the SCI handler is installed. This allows the _PRW 
5331methods to access fields protected by the Global Lock. This will fix systems 
5332where a NO_GLOBAL_LOCK exception has been seen during initialization.
5333
5334Converted the ACPI internal object disassemble and display code within the 
5335AML debugger to fully table-driven operation, reducing code size and 
5336increasing maintainability.
5337
5338Fixed a regression with the ConcatenateResTemplate() ASL operator introduced 
5339in the 20051021 release.
5340
5341Implemented support for "local" internal ACPI object types within the 
5342debugger "Object" command and the AcpiWalkNamespace external interfaces. 
5343These local types include RegionFields, BankFields, IndexFields, Alias, and 
5344reference objects.
5345
5346Moved common AML resource handling code into a new file, "utresrc.c". This 
5347code is shared by both the Resource Manager and the AML Debugger.
5348
5349Code and Data Size: The current and previous library sizes for the core 
5350subsystem are shown below. These are the code and data sizes for the 
5351acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5352values do not include any ACPI driver or OSPM code. The debug version of the 
5353code includes the debug output trace mechanism and has a much larger code 
5354and data size. Note that these values will vary depending on the efficiency 
5355of the compiler and the compiler options used during generation.
5356
5357  Previous Release:
5358    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
5359    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
5360  Current Release:
5361    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
5362    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5363
5364
53652) iASL Compiler/Disassembler:
5366
5367Fixed a problem with very large initializer lists (more than 4000 elements) 
5368for both Buffer and Package objects where the parse stack could overflow.
5369
5370Enhanced the pre-compile source code scan for non-ASCII characters to ignore 
5371characters within comment fields. The scan is now always performed and is no 
5372longer optional, detecting invalid characters within a source file 
5373immediately rather than during the parse phase or later.
5374
5375Enhanced the ASL grammar definition to force early reductions on all list-
5376style grammar elements so that the overall parse stack usage is greatly 
5377reduced. This should improve performance and reduce the possibility of parse 
5378stack overflow.
5379
5380Eliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
5381with the addition of a %expected statement, the compiler generates from 
5382source with no warnings.
5383
5384Fixed a possible segment fault in the disassembler if the input filename 
5385does not contain a "dot" extension (Thomas Renninger).
5386
5387----------------------------------------
538821 October 2005. Summary of changes for version 20051021:
5389
53901) ACPI CA Core Subsystem:
5391
5392Implemented support for the EM64T and other x86-64 processors. This 
5393essentially entails recognizing that these processors support non-aligned 
5394memory transfers. Previously, all 64-bit processors were assumed to lack 
5395hardware support for non-aligned transfers.
5396
5397Completed conversion of the Resource Manager to nearly full table-driven 
5398operation. Specifically, the resource conversion code (convert AML to 
5399internal format and the reverse) and the debug code to dump internal 
5400resource descriptors are fully table-driven, reducing code and data size and 
5401improving maintainability.
5402
5403The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
5404on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
5405Alexey Starikovskiy)
5406
5407Implemented support within the resource conversion code for the Type-
5408Specific byte within the various ACPI 3.0 *WordSpace macros.
5409
5410Fixed some issues within the resource conversion code for the type-specific 
5411flags for both Memory and I/O address resource descriptors. For Memory, 
5412implemented support for the MTP and TTP flags. For I/O, split the TRS and 
5413TTP flags into two separate fields.
5414
5415Code and Data Size: The current and previous library sizes for the core 
5416subsystem are shown below. These are the code and data sizes for the 
5417acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5418values do not include any ACPI driver or OSPM code. The debug version of the 
5419code includes the debug output trace mechanism and has a much larger code 
5420and data size. Note that these values will vary depending on the efficiency 
5421of the compiler and the compiler options used during generation.
5422
5423  Previous Release:
5424    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
5425    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
5426  Current Release:
5427    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
5428    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
5429
5430
5431
54322) iASL Compiler/Disassembler:
5433
5434Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
5435corresponding ResourceSource string was not also present in a resource 
5436descriptor declaration. This restriction caused problems with existing 
5437AML/ASL code that includes the Index byte without the string. When such AML 
5438was disassembled, it could not be compiled without modification. Further, 
5439the modified code created a resource template with a different size than the 
5440original, breaking code that used fixed offsets into the resource template 
5441buffer.
5442
5443Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
5444byte. This byte is now emitted if present so that the exact AML can be 
5445reproduced when the disassembled code is recompiled.
5446
5447Improved comments and text alignment for the resource descriptor code 
5448emitted by the disassembler.
5449
5450Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
5451Register() resource descriptor.
5452
5453----------------------------------------
545430 September 2005. Summary of changes for version 20050930:
5455
54561) ACPI CA Core Subsystem:
5457
5458Completed a major overhaul of the Resource Manager code - specifically, 
5459optimizations in the area of the AML/internal resource conversion code. The 
5460code has been optimized to simplify and eliminate duplicated code, CPU stack 
5461use has been decreased by optimizing function parameters and local 
5462variables, and naming conventions across the manager have been standardized 
5463for clarity and ease of maintenance (this includes function, parameter, 
5464variable, and struct/typedef names.) The update may force changes in some 
5465driver code, depending on how resources are handled by the host OS.
5466
5467All Resource Manager dispatch and information tables have been moved to a 
5468single location for clarity and ease of maintenance. One new file was 
5469created, named "rsinfo.c".
5470
5471The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
5472guarantee that the argument is not evaluated twice, making them less prone 
5473to macro side-effects. However, since there exists the possibility of 
5474additional stack use if a particular compiler cannot optimize them (such as 
5475in the debug generation case), the original macros are optionally available.  
5476Note that some invocations of the return_VALUE macro may now cause size 
5477mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
5478eliminate these. (From Randy Dunlap)
5479
5480Implemented a new mechanism to enable debug tracing for individual control 
5481methods. A new external interface, AcpiDebugTrace, is provided to enable 
5482this mechanism. The intent is to allow the host OS to easily enable and 
5483disable tracing for problematic control methods. This interface can be 
5484easily exposed to a user or debugger interface if desired. See the file 
5485psxface.c for details.
5486
5487AcpiUtCallocate will now return a valid pointer if a length of zero is 
5488specified - a length of one is used and a warning is issued. This matches 
5489the behavior of AcpiUtAllocate.
5490
5491Code and Data Size: The current and previous library sizes for the core 
5492subsystem are shown below. These are the code and data sizes for the 
5493acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5494values do not include any ACPI driver or OSPM code. The debug version of the 
5495code includes the debug output trace mechanism and has a much larger code 
5496and data size. Note that these values will vary depending on the efficiency 
5497of the compiler and the compiler options used during generation.
5498
5499  Previous Release:
5500    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
5501    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
5502  Current Release:
5503    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
5504    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
5505
5506
55072) iASL Compiler/Disassembler:
5508
5509A remark is issued if the effective compile-time length of a package or 
5510buffer is zero. Previously, this was a warning.
5511
5512----------------------------------------
551316 September 2005. Summary of changes for version 20050916:
5514
55151) ACPI CA Core Subsystem:
5516
5517Fixed a problem within the Resource Manager where support for the Generic 
5518Register descriptor was not fully implemented. This descriptor is now fully 
5519recognized, parsed, disassembled, and displayed.
5520
5521Completely restructured the Resource Manager code to utilize table-driven 
5522dispatch and lookup, eliminating many of the large switch() statements. This 
5523reduces overall subsystem code size and code complexity. Affects the 
5524resource parsing and construction, disassembly, and debug dump output.
5525
5526Cleaned up and restructured the debug dump output for all resource 
5527descriptors. Improved readability of the output and reduced code size.
5528
5529Fixed a problem where changes to internal data structures caused the 
5530optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
5531
5532Code and Data Size: The current and previous library sizes for the core 
5533subsystem are shown below. These are the code and data sizes for the 
5534acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5535values do not include any ACPI driver or OSPM code. The debug version of the 
5536code includes the debug output trace mechanism and has a much larger code 
5537and data size. Note that these values will vary depending on the efficiency 
5538of the compiler and the compiler options used during generation.
5539
5540  Previous Release:
5541    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5542    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5543  Current Release:
5544    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
5545    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
5546
5547
55482) iASL Compiler/Disassembler:
5549
5550Updated the disassembler to automatically insert an EndDependentFn() macro 
5551into the ASL stream if this macro is missing in the original AML code, 
5552simplifying compilation of the resulting ASL module.
5553
5554Fixed a problem in the disassembler where a disassembled ResourceSource 
5555string (within a large resource descriptor) was not surrounded by quotes and 
5556not followed by a comma, causing errors when the resulting ASL module was 
5557compiled. Also, escape sequences within a ResourceSource string are now 
5558handled correctly (especially "\\")
5559
5560----------------------------------------
556102 September 2005. Summary of changes for version 20050902:
5562
55631) ACPI CA Core Subsystem:
5564
5565Fixed a problem with the internal Owner ID allocation and deallocation 
5566mechanisms for control method execution and recursive method invocation. 
5567This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
5568messages seen on some systems. Recursive method invocation depth is 
5569currently limited to 255. (Alexey Starikovskiy)
5570
5571Completely eliminated all vestiges of support for the "module-level 
5572executable code" until this support is fully implemented and debugged. This 
5573should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
5574some systems that invoke this support.
5575
5576Fixed a problem within the resource manager code where the transaction flags 
5577for a 64-bit address descriptor were handled incorrectly in the type-
5578specific flag byte.
5579
5580Consolidated duplicate code within the address descriptor resource manager 
5581code, reducing overall subsystem code size.
5582
5583Fixed a fault when using the AML debugger "disassemble" command to 
5584disassemble individual control methods.
5585
5586Removed references to the "release_current" directory within the Unix 
5587release package.
5588
5589Code and Data Size: The current and previous core subsystem library sizes 
5590are shown below. These are the code and data sizes for the acpica.lib 
5591produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
5592include any ACPI driver or OSPM code. The debug version of the code includes 
5593the debug output trace mechanism and has a much larger code and data size. 
5594Note that these values will vary depending on the efficiency of the compiler 
5595and the compiler options used during generation.
5596
5597  Previous Release:
5598    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5599    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5600  Current Release:
5601    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5602    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5603
5604
56052) iASL Compiler/Disassembler:
5606
5607Implemented an error check for illegal duplicate values in the interrupt and 
5608dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
5609Interrupt().
5610
5611Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
5612too many values in the interrupt list (16 max) and invalid values in the 
5613list (range 0 - 15)
5614
5615The maximum length string literal within an ASL file is now restricted to 
5616200 characters as per the ACPI specification.
5617
5618Fixed a fault when using the -ln option (generate namespace listing).
5619
5620Implemented an error check to determine if a DescriptorName within a 
5621resource descriptor has already been used within the current scope.
5622
5623----------------------------------------
562415 August 2005.  Summary of changes for version 20050815:
5625 
56261) ACPI CA Core Subsystem:
5627 
5628Implemented a full bytewise compare to determine if a table load request is 
5629attempting to load a duplicate table. The compare is performed if the table 
5630signatures and table lengths match. This will allow different tables with 
5631the same OEM Table ID and revision to be loaded - probably against the ACPI 
5632specification, but discovered in the field nonetheless.
5633 
5634Added the changes.txt logfile to each of the zipped release packages.
5635 
5636Code and Data Size: Current and previous core subsystem library sizes are 
5637shown below. These are the code and data sizes for the acpica.lib produced 
5638by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5639any ACPI driver or OSPM code. The debug version of the code includes the 
5640debug output trace mechanism and has a much larger code and data size. Note 
5641that these values will vary depending on the efficiency of the compiler and 
5642the compiler options used during generation.
5643 
5644  Previous Release:
5645    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5646    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5647  Current Release:
5648    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5649    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5650 
5651 
56522) iASL Compiler/Disassembler:
5653 
5654Fixed a problem where incorrect AML code could be generated for Package 
5655objects if optimization is disabled (via the -oa switch).
5656 
5657Fixed a problem with where incorrect AML code is generated for variable-
5658length packages when the package length is not specified and the number of 
5659initializer values is greater than 255.
5660 
5661
5662----------------------------------------
566329 July 2005.  Summary of changes for version 20050729:
5664
56651) ACPI CA Core Subsystem:
5666
5667Implemented support to ignore an attempt to install/load a particular ACPI 
5668table more than once. Apparently there exists BIOS code that repeatedly 
5669attempts to load the same SSDT upon certain events. With assistance from 
5670Venkatesh Pallipadi.
5671
5672Restructured the main interface to the AML parser in order to correctly 
5673handle all exceptional conditions. This will prevent leakage of the OwnerId 
5674resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
5675machines. With assistance from Alexey Starikovskiy.
5676
5677Support for "module level code" has been disabled in this version due to a 
5678number of issues that have appeared on various machines. The support can be 
5679enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
5680compilation. When the issues are fully resolved, the code will be enabled by 
5681default again.
5682
5683Modified the internal functions for debug print support to define the 
5684FunctionName parameter as a (const char *) for compatibility with compiler 
5685built-in macros such as __FUNCTION__, etc.
5686
5687Linted the entire ACPICA source tree for both 32-bit and 64-bit.
5688
5689Implemented support to display an object count summary for the AML Debugger 
5690commands Object and Methods.
5691
5692Code and Data Size: Current and previous core subsystem library sizes are 
5693shown below. These are the code and data sizes for the acpica.lib produced 
5694by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5695any ACPI driver or OSPM code. The debug version of the code includes the 
5696debug output trace mechanism and has a much larger code and data size. Note 
5697that these values will vary depending on the efficiency of the compiler and 
5698the compiler options used during generation.
5699
5700  Previous Release:
5701    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5702    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5703  Current Release:
5704    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5705    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5706
5707
57082) iASL Compiler/Disassembler:
5709
5710Fixed a regression that appeared in the 20050708 version of the compiler 
5711where an error message was inadvertently emitted for invocations of the _OSI 
5712reserved control method.
5713
5714----------------------------------------
571508 July 2005.  Summary of changes for version 20050708:
5716
57171) ACPI CA Core Subsystem:
5718
5719The use of the CPU stack in the debug version of the subsystem has been 
5720considerably reduced. Previously, a debug structure was declared in every 
5721function that used the debug macros. This structure has been removed in 
5722favor of declaring the individual elements as parameters to the debug 
5723functions. This reduces the cumulative stack use during nested execution of 
5724ACPI function calls at the cost of a small increase in the code size of the 
5725debug version of the subsystem. With assistance from Alexey Starikovskiy and 
5726Len Brown.
5727
5728Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
5729headers to define a macro that will return the current function name at 
5730runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
5731the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
5732compiler-dependent header, the function name is saved on the CPU stack (one 
5733pointer per function.) This mechanism is used because apparently there 
5734exists no standard ANSI-C defined macro that that returns the function name.
5735
5736Redesigned and reimplemented the "Owner ID" mechanism used to track 
5737namespace objects created/deleted by ACPI tables and control method 
5738execution. A bitmap is now used to allocate and free the IDs, thus solving 
5739the wraparound problem present in the previous implementation. The size of 
5740the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
5741Starikovskiy).
5742
5743Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
5744flag definitions within the headers for the predefined ACPI tables. These 
5745have been replaced by UINT8_BIT in order to increase the code portability of 
5746the subsystem. If the use of UINT8 remains a problem, we may be forced to 
5747eliminate bitfields entirely because of a lack of portability.
5748
5749Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
5750is a frequently used function and this improvement increases the performance 
5751of the entire subsystem (Alexey Starikovskiy).
5752
5753Fixed several possible memory leaks and the inverse - premature object 
5754deletion (Alexey Starikovskiy).
5755
5756Code and Data Size: Current and previous core subsystem library sizes are 
5757shown below. These are the code and data sizes for the acpica.lib produced 
5758by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5759any ACPI driver or OSPM code. The debug version of the code includes the 
5760debug output trace mechanism and has a much larger code and data size. Note 
5761that these values will vary depending on the efficiency of the compiler and 
5762the compiler options used during generation.
5763
5764  Previous Release:
5765    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5766    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5767  Current Release:
5768    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5769    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5770
5771----------------------------------------
577224 June 2005.  Summary of changes for version 20050624:
5773
57741) ACPI CA Core Subsystem:
5775
5776Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
5777the host-defined cache object. This allows the OSL implementation to define 
5778and type this object in any manner desired, simplifying the OSL 
5779implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
5780Linux, and should be defined in the OS-specific header file for other 
5781operating systems as required.
5782
5783Changed the interface to AcpiOsAcquireObject to directly return the 
5784requested object as the function return (instead of ACPI_STATUS.) This 
5785change was made for performance reasons, since this is the purpose of the 
5786interface in the first place. AcpiOsAcquireObject is now similar to the 
5787AcpiOsAllocate interface.
5788
5789Implemented a new AML debugger command named Businfo. This command displays 
5790information about all devices that have an associate _PRT object. The _ADR, 
5791_HID, _UID, and _CID are displayed for these devices.
5792
5793Modified the initialization sequence in AcpiInitializeSubsystem to call the 
5794OSL interface AcpiOslInitialize first, before any local initialization. This 
5795change was required because the global initialization now calls OSL 
5796interfaces.
5797
5798Enhanced the Dump command to display the entire contents of Package objects 
5799(including all sub-objects and their values.) 
5800
5801Restructured the code base to split some files because of size and/or 
5802because the code logically belonged in a separate file. New files are listed 
5803below. All makefiles and project files included in the ACPI CA release have 
5804been updated.
5805    utilities/utcache.c           /* Local cache interfaces */
5806    utilities/utmutex.c           /* Local mutex support */
5807    utilities/utstate.c           /* State object support */
5808    interpreter/parser/psloop.c   /* Main AML parse loop */
5809
5810Code and Data Size: Current and previous core subsystem library sizes are 
5811shown below. These are the code and data sizes for the acpica.lib produced 
5812by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5813any ACPI driver or OSPM code. The debug version of the code includes the 
5814debug output trace mechanism and has a much larger code and data size. Note 
5815that these values will vary depending on the efficiency of the compiler and 
5816the compiler options used during generation.
5817
5818  Previous Release:
5819    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5820    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5821  Current Release:
5822    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5823    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5824
5825
58262) iASL Compiler/Disassembler:
5827
5828Fixed a regression introduced in version 20050513 where the use of a Package 
5829object within a Case() statement caused a compile time exception. The 
5830original behavior has been restored (a Match() operator is emitted.)
5831
5832----------------------------------------
583317 June 2005.  Summary of changes for version 20050617:
5834
58351) ACPI CA Core Subsystem:
5836
5837Moved the object cache operations into the OS interface layer (OSL) to allow 
5838the host OS to handle these operations if desired (for example, the Linux 
5839OSL will invoke the slab allocator). This support is optional; the compile 
5840time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
5841code in the ACPI CA core. The new OSL interfaces are shown below. See 
5842utalloc.c for an example implementation, and acpiosxf.h for the exact 
5843interface definitions. With assistance from Alexey Starikovskiy.
5844    AcpiOsCreateCache
5845    AcpiOsDeleteCache
5846    AcpiOsPurgeCache
5847    AcpiOsAcquireObject
5848    AcpiOsReleaseObject
5849
5850Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
5851and restore a flags parameter. This fits better with many OS lock models. 
5852Note: the current execution state (interrupt handler or not) is no longer 
5853passed to these interfaces. If necessary, the OSL must determine this state 
5854by itself, a simple and fast operation. With assistance from Alexey 
5855Starikovskiy.
5856
5857Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
5858present if the revision of the RSDP was 2 or greater. According to the ACPI 
5859specification, the XSDT is optional in all cases, and the table manager 
5860therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
5861Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
5862only the RSDT.
5863
5864Fixed an interpreter problem with the Mid() operator in the case of an input 
5865string where the resulting output string is of zero length. It now correctly 
5866returns a valid, null terminated string object instead of a string object 
5867with a null pointer.
5868
5869Fixed a problem with the control method argument handling to allow a store 
5870to an Arg object that already contains an object of type Device. The Device 
5871object is now correctly overwritten. Previously, an error was returned.
5872
5873
5874Enhanced the debugger Find command to emit object values in addition to the 
5875found object pathnames. The output format is the same as the dump namespace 
5876command.
5877
5878Enhanced the debugger Set command. It now has the ability to set the value 
5879of any Named integer object in the namespace (Previously, only method locals 
5880and args could be set.)
5881
5882Code and Data Size: Current and previous core subsystem library sizes are 
5883shown below. These are the code and data sizes for the acpica.lib produced 
5884by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5885any ACPI driver or OSPM code. The debug version of the code includes the 
5886debug output trace mechanism and has a much larger code and data size. Note 
5887that these values will vary depending on the efficiency of the compiler and 
5888the compiler options used during generation.
5889
5890  Previous Release:
5891    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5892    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5893  Current Release:
5894    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5895    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5896
5897
58982) iASL Compiler/Disassembler:
5899
5900Fixed a regression in the disassembler where if/else/while constructs were 
5901output incorrectly. This problem was introduced in the previous release 
5902(20050526). This problem also affected the single-step disassembly in the 
5903debugger.
5904
5905Fixed a problem where compiling the reserved _OSI method would randomly (but 
5906rarely) produce compile errors.
5907
5908Enhanced the disassembler to emit compilable code in the face of incorrect 
5909AML resource descriptors. If the optional ResourceSourceIndex is present, 
5910but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
5911disassembly. Otherwise, the resulting code cannot be compiled without 
5912errors.
5913
5914----------------------------------------
591526 May 2005.  Summary of changes for version 20050526:
5916
59171) ACPI CA Core Subsystem:
5918
5919Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
5920the module level (not within a control method.) These opcodes are executed 
5921exactly once at the time the table is loaded. This type of code was legal up 
5922until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
5923order to provide backwards compatibility with earlier BIOS implementations. 
5924This eliminates the "Encountered executable code at module level" warning 
5925that was previously generated upon detection of such code.
5926
5927Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
5928inadvertently be generated during the lookup of namespace objects in the 
5929second pass parse of ACPI tables and control methods. It appears that this 
5930problem could occur during the resolution of forward references to namespace 
5931objects.
5932
5933Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
5934corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
5935allows the deadlock detection debug code to be compiled out in the normal 
5936case, improving mutex performance (and overall subsystem performance) 
5937considerably.
5938
5939Implemented a handful of miscellaneous fixes for possible memory leaks on 
5940error conditions and error handling control paths. These fixes were 
5941suggested by FreeBSD and the Coverity Prevent source code analysis tool.
5942
5943Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
5944to prevent a fault in this error case.
5945
5946Code and Data Size: Current and previous core subsystem library sizes are 
5947shown below. These are the code and data sizes for the acpica.lib produced 
5948by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5949any ACPI driver or OSPM code. The debug version of the code includes the 
5950debug output trace mechanism and has a much larger code and data size. Note 
5951that these values will vary depending on the efficiency of the compiler and 
5952the compiler options used during generation.
5953
5954  Previous Release:
5955    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5956    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5957  Current Release:
5958    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5959    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5960
5961
59622) iASL Compiler/Disassembler:
5963
5964Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
5965the module level (not within a control method.) These operators will be 
5966executed once at the time the table is loaded. This type of code was legal 
5967up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
5968compiler in order to provide backwards compatibility with earlier BIOS ASL 
5969code.
5970
5971The ACPI integer width (specified via the table revision ID or the -r 
5972override, 32 or 64 bits) is now used internally during compile-time constant 
5973folding to ensure that constants are truncated to 32 bits if necessary. 
5974Previously, the revision ID value was only emitted in the AML table header.
5975
5976An error message is now generated for the Mutex and Method operators if the 
5977SyncLevel parameter is outside the legal range of 0 through 15.
5978
5979Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
59803.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
5981The actual underlying implementation of method argument typechecking is 
5982still under development, however.
5983
5984----------------------------------------
598513 May 2005.  Summary of changes for version 20050513:
5986
59871) ACPI CA Core Subsystem:
5988
5989Implemented support for PCI Express root bridges -- added support for device 
5990PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
5991
5992The interpreter now automatically truncates incoming 64-bit constants to 32 
5993bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
5994also affects the iASL compiler constant folding. (Note: as per below, the 
5995iASL compiler no longer allows 64-bit constants within 32-bit tables.)
5996
5997Fixed a problem where string and buffer objects with "static" pointers 
5998(pointers to initialization data within an ACPI table) were not handled 
5999consistently. The internal object copy operation now always copies the data 
6000to a newly allocated buffer, regardless of whether the source object is 
6001static or not.
6002
6003Fixed a problem with the FromBCD operator where an implicit result 
6004conversion was improperly performed while storing the result to the target 
6005operand. Since this is an "explicit conversion" operator, the implicit 
6006conversion should never be performed on the output.
6007
6008Fixed a problem with the CopyObject operator where a copy to an existing 
6009named object did not always completely overwrite the existing object stored 
6010at name. Specifically, a buffer-to-buffer copy did not delete the existing 
6011buffer.
6012
6013Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
6014structs for consistency.
6015
6016Code and Data Size: Current and previous core subsystem library sizes are 
6017shown below. These are the code and data sizes for the acpica.lib produced 
6018by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6019any ACPI driver or OSPM code. The debug version of the code includes the 
6020debug output trace mechanism and has a much larger code and data size. Note 
6021that these values will vary depending on the efficiency of the compiler and 
6022the compiler options used during generation.
6023
6024  Previous Release:
6025    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
6026    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
6027  Current Release: (Same sizes)
6028    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
6029    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
6030
6031
60322) iASL Compiler/Disassembler:
6033
6034The compiler now emits a warning if an attempt is made to generate a 64-bit 
6035integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
6036is truncated to 32 bits.
6037
6038Fixed a problem with large package objects: if the static length of the 
6039package is greater than 255, the "variable length package" opcode is 
6040emitted. Previously, this caused an error. This requires an update to the 
6041ACPI spec, since it currently (incorrectly) states that packages larger than 
6042255 elements are not allowed.
6043
6044The disassembler now correctly handles variable length packages and packages 
6045larger than 255 elements.
6046
6047----------------------------------------
604808 April 2005.  Summary of changes for version 20050408:
6049
60501) ACPI CA Core Subsystem:
6051
6052Fixed three cases in the interpreter where an "index" argument to an ASL 
6053function was still (internally) 32 bits instead of the required 64 bits. 
6054This was the Index argument to the Index, Mid, and Match operators.
6055
6056The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
6057not a POSIX-defined function and not present in most kernel-level C 
6058libraries. All references to the C library strupr function have been removed 
6059from the headers.
6060
6061Completed the deployment of static functions/prototypes. All prototypes with 
6062the static attribute have been moved from the headers to the owning C file.
6063
6064Implemented an extract option (-e) for the AcpiBin utility (AML binary 
6065utility). This option allows the utility to extract individual ACPI tables 
6066from the output of AcpiDmp. It provides the same functionality of the 
6067acpixtract.pl perl script without the worry of setting the correct perl 
6068options. AcpiBin runs on Windows and has not yet been generated/validated in 
6069the Linux/Unix environment (but should be soon).
6070 
6071Updated and fixed the table dump option for AcpiBin (-d). This option 
6072converts a single ACPI table to a hex/ascii file, similar to the output of 
6073AcpiDmp.
6074
6075Code and Data Size: Current and previous core subsystem library sizes are 
6076shown below. These are the code and data sizes for the acpica.lib produced 
6077by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6078any ACPI driver or OSPM code. The debug version of the code includes the 
6079debug output trace mechanism and has a much larger code and data size. Note 
6080that these values will vary depending on the efficiency of the compiler and 
6081the compiler options used during generation.
6082
6083  Previous Release:
6084    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
6085    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
6086  Current Release:
6087    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
6088    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
6089
6090
60912) iASL Compiler/Disassembler:
6092
6093Disassembler fix: Added a check to ensure that the table length found in the 
6094ACPI table header within the input file is not longer than the actual input 
6095file size. This indicates some kind of file or table corruption.
6096
6097----------------------------------------
609829 March 2005.  Summary of changes for version 20050329:
6099
61001) ACPI CA Core Subsystem:
6101
6102An error is now generated if an attempt is made to create a Buffer Field of 
6103length zero (A CreateField with a length operand of zero.)
6104
6105The interpreter now issues a warning whenever executable code at the module 
6106level is detected during ACPI table load. This will give some idea of the 
6107prevalence of this type of code.
6108
6109Implemented support for references to named objects (other than control 
6110methods) within package objects.
6111
6112Enhanced package object output for the debug object. Package objects are now 
6113completely dumped, showing all elements.
6114
6115Enhanced miscellaneous object output for the debug object. Any object can 
6116now be written to the debug object (for example, a device object can be 
6117written, and the type of the object will be displayed.)
6118
6119The "static" qualifier has been added to all local functions across both the 
6120core subsystem and the iASL compiler.
6121
6122The number of "long" lines (> 80 chars) within the source has been 
6123significantly reduced, by about 1/3.
6124
6125Cleaned up all header files to ensure that all CA/iASL functions are 
6126prototyped (even static functions) and the formatting is consistent.
6127
6128Two new header files have been added, acopcode.h and acnames.h.
6129
6130Removed several obsolete functions that were no longer used.
6131
6132Code and Data Size: Current and previous core subsystem library sizes are 
6133shown below. These are the code and data sizes for the acpica.lib produced 
6134by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6135any ACPI driver or OSPM code. The debug version of the code includes the 
6136debug output trace mechanism and has a much larger code and data size. Note 
6137that these values will vary depending on the efficiency of the compiler and 
6138the compiler options used during generation.
6139
6140  Previous Release:
6141    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6142    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
6143  Current Release:
6144    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
6145    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
6146
6147
6148
61492) iASL Compiler/Disassembler:
6150
6151Fixed a problem with the resource descriptor generation/support. For the 
6152ResourceSourceIndex and the ResourceSource fields, both must be present, or 
6153both must be not present - can't have one without the other.
6154
6155The compiler now returns non-zero from the main procedure if any errors have 
6156occurred during the compilation.
6157
6158
6159----------------------------------------
616009 March 2005.  Summary of changes for version 20050309:
6161
61621) ACPI CA Core Subsystem:
6163
6164The string-to-buffer implicit conversion code has been modified again after 
6165a change to the ACPI specification.  In order to match the behavior of the 
6166other major ACPI implementation, the target buffer is no longer truncated if 
6167the source string is smaller than an existing target buffer. This change 
6168requires an update to the ACPI spec, and should eliminate the recent 
6169AE_AML_BUFFER_LIMIT issues.
6170
6171The "implicit return" support was rewritten to a new algorithm that solves 
6172the general case. Rather than attempt to determine when a method is about to 
6173exit, the result of every ASL operator is saved momentarily until the very 
6174next ASL operator is executed. Therefore, no matter how the method exits, 
6175there will always be a saved implicit return value. This feature is only 
6176enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
6177AE_AML_NO_RETURN_VALUE errors when enabled.
6178
6179Implemented implicit conversion support for the predicate (operand) of the 
6180If, Else, and While operators. String and Buffer arguments are automatically 
6181converted to Integers.
6182
6183Changed the string-to-integer conversion behavior to match the new ACPI 
6184errata: "If no integer object exists, a new integer is created. The ASCII 
6185string is interpreted as a hexadecimal constant. Each string character is 
6186interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
6187with the first character as the most significant digit, and ending with the 
6188first non-hexadecimal character or end-of-string." This means that the first 
6189non-hex character terminates the conversion and this is the code that was 
6190changed.
6191
6192Fixed a problem where the ObjectType operator would fail (fault) when used 
6193on an Index of a Package which pointed to a null package element. The 
6194operator now properly returns zero (Uninitialized) in this case.
6195
6196Fixed a problem where the While operator used excessive memory by not 
6197properly popping the result stack during execution. There was no memory leak 
6198after execution, however. (Code provided by Valery Podrezov.)
6199
6200Fixed a problem where references to control methods within Package objects 
6201caused the method to be invoked, instead of producing a reference object 
6202pointing to the method.
6203
6204Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
6205improve performance and reduce code size. (Code provided by Alexey 
6206Starikovskiy.)
6207
6208Code and Data Size: Current and previous core subsystem library sizes are 
6209shown below. These are the code and data sizes for the acpica.lib produced 
6210by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6211any ACPI driver or OSPM code. The debug version of the code includes the 
6212debug output trace mechanism and has a much larger code and data size. Note 
6213that these values will vary depending on the efficiency of the compiler and 
6214the compiler options used during generation.
6215
6216  Previous Release:
6217    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6218    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
6219  Current Release:
6220    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6221    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
6222
6223
62242) iASL Compiler/Disassembler:
6225
6226Fixed a problem with the Return operator with no arguments. Since the AML 
6227grammar for the byte encoding requires an operand for the Return opcode, the 
6228compiler now emits a Return(Zero) for this case.  An ACPI specification 
6229update has been written for this case.
6230
6231For tables other than the DSDT, namepath optimization is automatically 
6232disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
6233compiler has no knowledge of where, and thus cannot optimize namepaths.
6234
6235Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
6236inadvertently omitted from the ACPI specification, and will require an 
6237update to the spec.
6238
6239The source file scan for ASCII characters is now optional (-a). This change 
6240was made because some vendors place non-ascii characters within comments. 
6241However, the scan is simply a brute-force byte compare to ensure all 
6242characters in the file are in the range 0x00 to 0x7F.
6243
6244Fixed a problem with the CondRefOf operator where the compiler was 
6245inappropriately checking for the existence of the target. Since the point of 
6246the operator is to check for the existence of the target at run-time, the 
6247compiler no longer checks for the target existence.
6248
6249Fixed a problem where errors generated from the internal AML interpreter 
6250during constant folding were not handled properly, causing a fault.
6251
6252Fixed a problem with overly aggressive range checking for the Stall 
6253operator. The valid range (max 255) is now only checked if the operand is of 
6254type Integer. All other operand types cannot be statically checked.
6255
6256Fixed a problem where control method references within the RefOf, DeRefOf, 
6257and ObjectType operators were not treated properly. They are now treated as 
6258actual references, not method invocations.
6259
6260Fixed and enhanced the "list namespace" option (-ln). This option was broken 
6261a number of releases ago.
6262
6263Improved error handling for the Field, IndexField, and BankField operators. 
6264The compiler now cleanly reports and recovers from errors in the field 
6265component (FieldUnit) list.
6266
6267Fixed a disassembler problem where the optional ResourceDescriptor fields 
6268TRS and TTP were not always handled correctly.
6269
6270Disassembler - Comments in output now use "//" instead of "/*"
6271
6272----------------------------------------
627328 February 2005.  Summary of changes for version 20050228:
6274
62751) ACPI CA Core Subsystem:
6276
6277Fixed a problem where the result of an Index() operator (an object 
6278reference) must increment the reference count on the target object for the 
6279life of the object reference.
6280
6281Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
6282Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
6283resource descriptors.
6284
6285Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
6286Space Descriptor" string, indicating interpreter support for the descriptors 
6287above.
6288
6289Implemented header support for the new ACPI 3.0 FADT flag bits.
6290
6291Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
6292status/enable registers.
6293
6294Updated header support for the MADT processor local Apic struct and MADT 
6295platform interrupt source struct for new ACPI 3.0 fields.
6296
6297Implemented header support for the SRAT and SLIT ACPI tables.
6298
6299Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
6300at runtime.
6301
6302Code and Data Size: Current and previous core subsystem library sizes are 
6303shown below. These are the code and data sizes for the acpica.lib produced 
6304by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6305any ACPI driver or OSPM code. The debug version of the code includes the 
6306debug output trace mechanism and has a much larger code and data size. Note 
6307that these values will vary depending on the efficiency of the compiler and 
6308the compiler options used during generation.
6309
6310  Previous Release:
6311    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
6312    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
6313  Current Release:
6314    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6315    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
6316
6317
63182) iASL Compiler/Disassembler:
6319
6320Fixed a problem with the internal 64-bit String-to-integer conversion with 
6321strings less than two characters long.
6322
6323Fixed a problem with constant folding where the result of the Index() 
6324operator can not be considered a constant. This means that Index() cannot be 
6325a type3 opcode and this will require an update to the ACPI specification.
6326
6327Disassembler: Implemented support for the TTP, MTP, and TRS resource 
6328descriptor fields. These fields were inadvertently ignored and not output in 
6329the disassembly of the resource descriptor.
6330
6331
6332 ----------------------------------------
633311 February 2005.  Summary of changes for version 20050211:
6334
63351) ACPI CA Core Subsystem:
6336
6337Implemented ACPI 3.0 support for implicit conversion within the Match() 
6338operator. MatchObjects can now be of type integer, buffer, or string instead 
6339of just type integer.  Package elements are implicitly converted to the type 
6340of the MatchObject. This change aligns the behavior of Match() with the 
6341behavior of the other logical operators (LLess(), etc.) It also requires an 
6342errata change to the ACPI specification as this support was intended for 
6343ACPI 3.0, but was inadvertently omitted.
6344
6345Fixed a problem with the internal implicit "to buffer" conversion. Strings 
6346that are converted to buffers will cause buffer truncation if the string is 
6347smaller than the target buffer. Integers that are converted to buffers will 
6348not cause buffer truncation, only zero extension (both as per the ACPI 
6349spec.) The problem was introduced when code was added to truncate the 
6350buffer, but this should not be performed in all cases, only the string case.
6351
6352Fixed a problem with the Buffer and Package operators where the interpreter 
6353would get confused if two such operators were used as operands to an ASL 
6354operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
6355stack was not being popped after the execution of these operators, resulting 
6356in an AE_NO_RETURN_VALUE exception.
6357
6358Fixed a problem with constructs of the form Store(Index(...),...). The 
6359reference object returned from Index was inadvertently resolved to an actual 
6360value. This problem was introduced in version 20050114 when the behavior of 
6361Store() was modified to restrict the object types that can be used as the 
6362source operand (to match the ACPI specification.)
6363
6364Reduced excessive stack use within the AcpiGetObjectInfo procedure.
6365
6366Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
6367
6368Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
6369
6370Code and Data Size: Current and previous core subsystem library sizes are 
6371shown below. These are the code and data sizes for the acpica.lib produced 
6372by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6373any ACPI driver or OSPM code. The debug version of the code includes the 
6374debug output trace mechanism and has a much larger code and data size. Note 
6375that these values will vary depending on the efficiency of the compiler and 
6376the compiler options used during generation.
6377
6378  Previous Release:
6379    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
6380    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
6381  Current Release:
6382    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
6383    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
6384
6385
63862) iASL Compiler/Disassembler:
6387
6388Fixed a code generation problem in the constant folding optimization code 
6389where incorrect code was generated if a constant was reduced to a buffer 
6390object (i.e., a reduced type 5 opcode.)
6391
6392Fixed a typechecking problem for the ToBuffer operator. Caused by an 
6393incorrect return type in the internal opcode information table.
6394
6395----------------------------------------
639625 January 2005.  Summary of changes for version 20050125:
6397
63981) ACPI CA Core Subsystem:
6399
6400Fixed a recently introduced problem with the Global Lock where the 
6401underlying semaphore was not created.  This problem was introduced in 
6402version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
6403Acquire() operation on _GL.
6404
6405The local object cache is now optional, and is disabled by default. Both 
6406AcpiExec and the iASL compiler enable the cache because they run in user 
6407mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
6408to enable the local cache.
6409
6410Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
6411optional "implicit return" support where an error was returned if no return 
6412object was expected, but one was implicitly returned. AE_OK is now returned 
6413in this case and the implicitly returned object is deleted. 
6414AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
6415methods such as _STA and _INI where the return type is known up front.
6416
6417Fixed a few issues with the internal convert-to-integer code. It now returns 
6418an error if an attempt is made to convert a null string, a string of only 
6419blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
6420and explicit conversion via the ToInteger() operator.
6421
6422The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
6423not needed for normal operation and should increase the performance of the 
6424entire subsystem. The code remains in case it is needed for debug purposes 
6425again.
6426
6427The AcpiExec source and makefile are included in the Unix/Linux package for 
6428the first time.
6429
6430Code and Data Size: Current and previous core subsystem library sizes are 
6431shown below. These are the code and data sizes for the acpica.lib produced 
6432by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6433any ACPI driver or OSPM code. The debug version of the code includes the 
6434debug output trace mechanism and has a much larger code and data size. Note 
6435that these values will vary depending on the efficiency of the compiler and 
6436the compiler options used during generation.
6437
6438  Previous Release:
6439    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
6440    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
6441  Current Release:
6442    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
6443    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
6444
64452) iASL Compiler/Disassembler:
6446
6447Switch/Case support: A warning is now issued if the type of the Switch value 
6448cannot be determined at compile time. For example, Switch(Arg0) will 
6449generate the warning, and the type is assumed to be an integer. As per the 
6450ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
6451warning.
6452
6453Switch/Case support: Implemented support for buffer and string objects as 
6454the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
6455buffers and strings.
6456
6457Switch/Case support: The emitted code for the LEqual() comparisons now uses 
6458the switch value as the first operand, not the second. The case value is now 
6459the second operand, and this allows the case value to be implicitly 
6460converted to the type of the switch value, not the other way around.
6461
6462Switch/Case support: Temporary variables are now emitted immediately within 
6463the control method, not at the global level. This means that there are now 
646436 temps available per-method, not 36 temps per-module as was the case with 
6465the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
6466
6467----------------------------------------
646814 January 2005.  Summary of changes for version 20050114:
6469
6470Added 2005 copyright to all module headers.  This affects every module in 
6471the core subsystem, iASL compiler, and the utilities.
6472
64731) ACPI CA Core Subsystem:
6474
6475Fixed an issue with the String-to-Buffer conversion code where the string 
6476null terminator was not included in the buffer after conversion, but there 
6477is existing ASL that assumes the string null terminator is included. This is 
6478the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
6479introduced in the previous version when the code was updated to correctly 
6480set the converted buffer size as per the ACPI specification. The ACPI spec 
6481is ambiguous and will be updated to specify that the null terminator must be 
6482included in the converted buffer. This also affects the ToBuffer() ASL 
6483operator.
6484
6485Fixed a problem with the Mid() ASL/AML operator where it did not work 
6486correctly on Buffer objects. Newly created sub-buffers were not being marked 
6487as initialized.
6488
6489
6490Fixed a problem in AcpiTbFindTable where incorrect string compares were 
6491performed on the OemId and OemTableId table header fields.  These fields are 
6492not null terminated, so strncmp is now used instead of strcmp.
6493
6494Implemented a restriction on the Store() ASL/AML operator to align the 
6495behavior with the ACPI specification.  Previously, any object could be used 
6496as the source operand.  Now, the only objects that may be used are Integers, 
6497Buffers, Strings, Packages, Object References, and DDB Handles.  If 
6498necessary, the original behavior can be restored by enabling the 
6499EnableInterpreterSlack flag.
6500
6501Enhanced the optional "implicit return" support to allow an implicit return 
6502value from methods that are invoked externally via the AcpiEvaluateObject 
6503interface.  This enables implicit returns from the _STA and _INI methods, 
6504for example.
6505
6506Changed the Revision() ASL/AML operator to return the current version of the 
6507AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
6508the supported ACPI version (This is the function of the _REV method).
6509
6510Updated the _REV predefined method to return the currently supported version 
6511of ACPI, now 3.
6512
6513Implemented batch mode option for the AcpiExec utility (-b).
6514
6515Code and Data Size: Current and previous core subsystem library sizes are 
6516shown below. These are the code and data sizes for the acpica.lib produced 
6517by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6518any ACPI driver or OSPM code. The debug version of the code includes the 
6519debug output trace mechanism and has a much larger code and data size. Note 
6520that these values will vary depending on the efficiency of the compiler and 
6521the compiler options used during generation.
6522
6523  Previous Release:
6524    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6525    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6526  Current Release:
6527    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
6528    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
6529
6530----------------------------------------
653110 December 2004.  Summary of changes for version 20041210:
6532
6533ACPI 3.0 support is nearing completion in both the iASL compiler and the 
6534ACPI CA core subsystem.
6535
65361) ACPI CA Core Subsystem:
6537
6538Fixed a problem in the ToDecimalString operator where the resulting string 
6539length was incorrectly calculated. The length is now calculated exactly, 
6540eliminating incorrect AE_STRING_LIMIT exceptions.
6541
6542Fixed a problem in the ToHexString operator to allow a maximum 200 character 
6543string to be produced.
6544
6545Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
6546routine where the length of the resulting buffer was not truncated to the 
6547new size (if the target buffer already existed).
6548
6549Code and Data Size: Current and previous core subsystem library sizes are 
6550shown below. These are the code and data sizes for the acpica.lib produced 
6551by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6552any ACPI driver or OSPM code. The debug version of the code includes the 
6553debug output trace mechanism and has a much larger code and data size. Note 
6554that these values will vary depending on the efficiency of the compiler and 
6555the compiler options used during generation.
6556
6557  Previous Release:
6558    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6559    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6560  Current Release:
6561    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6562    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6563
6564
65652) iASL Compiler/Disassembler:
6566
6567Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
6568ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
6569Includes support in the disassembler.
6570
6571Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
6572AccessSize.
6573
6574Fixed a problem where the _HE resource name for the Interrupt macro was 
6575referencing bit 0 instead of bit 1.
6576
6577Implemented check for maximum 255 interrupts in the Interrupt macro.
6578
6579Fixed a problem with the predefined resource descriptor names where 
6580incorrect AML code was generated if the offset within the resource buffer 
6581was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
6582but did not update the surrounding package lengths.
6583
6584Changes to the Dma macro:  All channels within the channel list must be in 
6585the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
6586optional (default is BusMaster).
6587
6588Implemented check for maximum 7 data bytes for the VendorShort macro.
6589
6590The ReadWrite parameter is now optional for the Memory32 and similar macros.
6591
6592----------------------------------------
659303 December 2004.  Summary of changes for version 20041203:
6594
65951) ACPI CA Core Subsystem:
6596
6597The low-level field insertion/extraction code (exfldio) has been completely 
6598rewritten to eliminate unnecessary complexity, bugs, and boundary 
6599conditions.
6600
6601Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
6602operators where the input operand could be inadvertently deleted if no 
6603conversion was necessary (e.g., if the input to ToInteger was an Integer 
6604object.)
6605
6606Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
6607exception code was returned if the resulting string would be > 200 chars.  
6608AE_STRING_LIMIT is now returned.
6609
6610Fixed a problem with the Concatenate operator where AE_OK was always 
6611returned, even if the operation failed.
6612
6613Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
6614semaphores to be allocated.
6615
6616Code and Data Size: Current and previous core subsystem library sizes are 
6617shown below. These are the code and data sizes for the acpica.lib produced 
6618by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6619any ACPI driver or OSPM code. The debug version of the code includes the 
6620debug output trace mechanism and has a much larger code and data size. Note 
6621that these values will vary depending on the efficiency of the compiler and 
6622the compiler options used during generation.
6623
6624  Previous Release:
6625    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6626    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6627  Current Release:
6628    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6629    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6630
6631
66322) iASL Compiler/Disassembler:
6633
6634Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
6635recently introduced in 20041119.
6636
6637Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
6638byte was inadvertently set to zero.
6639
6640----------------------------------------
664119 November 2004.  Summary of changes for version 20041119:
6642
66431) ACPI CA Core Subsystem:
6644
6645Fixed a problem in the internal ConvertToInteger routine where new integers 
6646were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
6647buffers and strings to integers.
6648
6649Implemented support to store a value to an Index() on a String object. This 
6650is an ACPI 2.0 feature that had not yet been implemented.
6651
6652Implemented new behavior for storing objects to individual package elements 
6653(via the Index() operator). The previous behavior was to invoke the implicit 
6654conversion rules if an object was already present at the index.  The new 
6655behavior is to simply delete any existing object and directly store the new 
6656object. Although the ACPI specification seems unclear on this subject, other 
6657ACPI implementations behave in this manner.  (This is the root of the 
6658AE_BAD_HEX_CONSTANT issue.)
6659
6660Modified the RSDP memory scan mechanism to support the extended checksum for 
6661ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
6662RSDP signature is found with a valid checksum.
6663
6664Code and Data Size: Current and previous core subsystem library sizes are 
6665shown below. These are the code and data sizes for the acpica.lib produced 
6666by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6667any ACPI driver or OSPM code. The debug version of the code includes the 
6668debug output trace mechanism and has a much larger code and data size. Note 
6669that these values will vary depending on the efficiency of the compiler and 
6670the compiler options used during generation.
6671
6672  Previous Release:
6673    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6674    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6675  Current Release:
6676    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6677    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6678
6679
66802) iASL Compiler/Disassembler:
6681
6682Fixed a missing semicolon in the aslcompiler.y file.
6683
6684----------------------------------------
668505 November 2004.  Summary of changes for version 20041105:
6686
66871) ACPI CA Core Subsystem:
6688
6689Implemented support for FADT revision 2.  This was an interim table (between 
6690ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
6691
6692Implemented optional support to allow uninitialized LocalX and ArgX 
6693variables in a control method.  The variables are initialized to an Integer 
6694object with a value of zero.  This support is enabled by setting the 
6695AcpiGbl_EnableInterpreterSlack flag to TRUE.
6696
6697Implemented support for Integer objects for the SizeOf operator.  Either 4 
6698or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
6699depending on the parent table revision).
6700
6701Fixed a problem in the implementation of the SizeOf and ObjectType operators 
6702where the operand was resolved to a value too early, causing incorrect 
6703return values for some objects.
6704
6705Fixed some possible memory leaks during exceptional conditions.
6706
6707Code and Data Size: Current and previous core subsystem library sizes are 
6708shown below. These are the code and data sizes for the acpica.lib produced 
6709by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6710any ACPI driver or OSPM code. The debug version of the code includes the 
6711debug output trace mechanism and has a much larger code and data size. Note 
6712that these values will vary depending on the efficiency of the compiler and 
6713the compiler options used during generation.
6714
6715  Previous Release:
6716    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6717    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6718  Current Release:
6719    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6720    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6721
6722
67232) iASL Compiler/Disassembler:
6724
6725Implemented support for all ACPI 3.0 reserved names and methods.
6726
6727Implemented all ACPI 3.0 grammar elements in the front-end, including 
6728support for semicolons.
6729
6730Implemented the ACPI 3.0 Function() and ToUUID() macros
6731
6732Fixed a problem in the disassembler where a Scope() operator would not be 
6733emitted properly if the target of the scope was in another table.
6734
6735----------------------------------------
673615 October 2004.  Summary of changes for version 20041015:
6737
6738Note:  ACPI CA is currently undergoing an in-depth and complete formal 
6739evaluation to test/verify the following areas. Other suggestions are 
6740welcome. This will result in an increase in the frequency of releases and 
6741the number of bug fixes in the next few months.
6742  - Functional tests for all ASL/AML operators
6743  - All implicit/explicit type conversions
6744  - Bit fields and operation regions
6745  - 64-bit math support and 32-bit-only "truncated" math support
6746  - Exceptional conditions, both compiler and interpreter
6747  - Dynamic object deletion and memory leaks
6748  - ACPI 3.0 support when implemented
6749  - External interfaces to the ACPI subsystem
6750
6751
67521) ACPI CA Core Subsystem:
6753
6754Fixed two alignment issues on 64-bit platforms - within debug statements in 
6755AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
6756field within the non-aligned ACPI generic address structure.
6757
6758Fixed a problem in the Increment and Decrement operators where incorrect 
6759operand resolution could result in the inadvertent modification of the 
6760original integer when the integer is passed into another method as an 
6761argument and the arg is then incremented/decremented.
6762
6763Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
6764BCD number were truncated during conversion.
6765
6766Fixed a problem in the ToDecimal operator where the length of the resulting 
6767string could be set incorrectly too long if the input operand was a Buffer 
6768object.
6769
6770Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
6771within a buffer would prematurely terminate a compare between buffer 
6772objects.
6773
6774Added a check for string overflow (>200 characters as per the ACPI 
6775specification) during the Concatenate operator with two string operands.
6776
6777Code and Data Size: Current and previous core subsystem library sizes are 
6778shown below. These are the code and data sizes for the acpica.lib produced 
6779by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6780any ACPI driver or OSPM code. The debug version of the code includes the 
6781debug output trace mechanism and has a much larger code and data size. Note 
6782that these values will vary depending on the efficiency of the compiler and 
6783the compiler options used during generation.
6784
6785  Previous Release:
6786    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6787    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6788  Current Release:
6789    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6790    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6791
6792
6793
67942) iASL Compiler/Disassembler:
6795
6796Allow the use of the ObjectType operator on uninitialized Locals and Args 
6797(returns 0 as per the ACPI specification).
6798
6799Fixed a problem where the compiler would fault if there was a syntax error 
6800in the FieldName of all of the various CreateXXXField operators.
6801
6802Disallow the use of lower case letters within the EISAID macro, as per the 
6803ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
6804U is an uppercase letter and N is a hex digit.
6805
6806
6807----------------------------------------
680806 October 2004.  Summary of changes for version 20041006:
6809
68101) ACPI CA Core Subsystem:
6811
6812Implemented support for the ACPI 3.0 Timer operator. This ASL function 
6813implements a 64-bit timer with 100 nanosecond granularity.
6814
6815Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
6816implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
6817the timer with the best clock available. Also, it keeps the core subsystem 
6818out of the clock handling business, since the host OS (usually) performs 
6819this function.
6820
6821Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
6822functions use a 64-bit address which is part of the packed ACPI Generic 
6823Address Structure. Since the structure is non-aligned, the alignment macros 
6824are now used to extract the address to a local variable before use.
6825
6826Fixed a problem where the ToInteger operator assumed all input strings were 
6827hexadecimal. The operator now handles both decimal strings and hex strings 
6828(prefixed with "0x").
6829
6830Fixed a problem where the string length in the string object created as a 
6831result of the internal ConvertToString procedure could be incorrect. This 
6832potentially affected all implicit conversions and also the ToDecimalString 
6833and ToHexString operators.
6834
6835Fixed two problems in the ToString operator. If the length parameter was 
6836zero, an incorrect string object was created and the value of the input 
6837length parameter was inadvertently changed from zero to Ones.
6838
6839Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
6840resource macro was ignored.
6841
6842Simplified the interfaces to the internal division functions, reducing code 
6843size and complexity.
6844
6845Code and Data Size: Current and previous core subsystem library sizes are 
6846shown below. These are the code and data sizes for the acpica.lib produced 
6847by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6848any ACPI driver or OSPM code. The debug version of the code includes the 
6849debug output trace mechanism and has a much larger code and data size. Note 
6850that these values will vary depending on the efficiency of the compiler and 
6851the compiler options used during generation.
6852
6853  Previous Release:
6854    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6855    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6856  Current Release:
6857    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6858    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6859
6860
68612) iASL Compiler/Disassembler:
6862
6863Implemented support for the ACPI 3.0 Timer operator.
6864
6865Fixed a problem where the Default() operator was inadvertently ignored in a 
6866Switch/Case block.  This was a problem in the translation of the Switch 
6867statement to If...Else pairs.
6868
6869Added support to allow a standalone Return operator, with no parentheses (or 
6870operands).
6871
6872Fixed a problem with code generation for the ElseIf operator where the 
6873translated Else...If parse tree was improperly constructed leading to the 
6874loss of some code.
6875
6876----------------------------------------
687722 September 2004.  Summary of changes for version 20040922:
6878
68791) ACPI CA Core Subsystem:
6880
6881Fixed a problem with the implementation of the LNot() operator where "Ones" 
6882was not returned for the TRUE case. Changed the code to return Ones instead 
6883of (!Arg) which was usually 1. This change affects iASL constant folding for 
6884this operator also.
6885
6886Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
6887initialized properly -- Now zero the entire buffer in this case where the 
6888buffer already exists.
6889
6890Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
6891Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
6892related code considerably. This will require changes/updates to all OS 
6893interface layers (OSLs.)
6894
6895Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
6896a system exception handler to be installed. This handler is invoked upon any 
6897run-time exception that occurs during control method execution.
6898
6899Added support for the DSDT in AcpiTbFindTable. This allows the 
6900DataTableRegion() operator to access the local copy of the DSDT.
6901
6902Code and Data Size: Current and previous core subsystem library sizes are 
6903shown below. These are the code and data sizes for the acpica.lib produced 
6904by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6905any ACPI driver or OSPM code. The debug version of the code includes the 
6906debug output trace mechanism and has a much larger code and data size. Note 
6907that these values will vary depending on the efficiency of the compiler and 
6908the compiler options used during generation.
6909
6910  Previous Release:
6911    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6912    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6913  Current Release:
6914    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6915    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6916
6917
69182) iASL Compiler/Disassembler:
6919
6920Fixed a problem with constant folding and the LNot operator. LNot was 
6921returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
6922could result in the generation of an incorrect folded/reduced constant.
6923
6924End-Of-File is now allowed within a "//"-style comment.  A parse error no 
6925longer occurs if such a comment is at the very end of the input ASL source 
6926file.
6927
6928Implemented the "-r" option to override the Revision in the table header. 
6929The initial use of this option will be to simplify the evaluation of the AML 
6930interpreter by allowing a single ASL source module to be compiled for either 
693132-bit or 64-bit integers.
6932
6933
6934----------------------------------------
693527 August 2004.  Summary of changes for version 20040827:
6936
69371) ACPI CA Core Subsystem:
6938
6939- Implemented support for implicit object conversion in the non-numeric 
6940logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
6941LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
6942the second operand is implicitly converted on the fly to match the type of 
6943the first operand.  For example:
6944
6945    LEqual (Source1, Source2)
6946
6947Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
6948The data type of Source1 dictates the required type of Source2. Source2 is 
6949implicitly converted if necessary to match the type of Source1.
6950
6951- Updated and corrected the behavior of the string conversion support.  The 
6952rules concerning conversion of buffers to strings (according to the ACPI 
6953specification) are as follows:
6954
6955ToDecimalString - explicit byte-wise conversion of buffer to string of 
6956decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
6957conversion of buffer to string of hex values (0-FF) separated by commas. 
6958ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
6959copy with no transform except NULL terminated. Any other implicit buffer-to-
6960string conversion - byte-wise conversion of buffer to string of hex values 
6961(0-FF) separated by spaces.
6962
6963- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
6964
6965- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
6966one byte too short in the case of a node in the root scope.  This could 
6967cause a fault during debug output.
6968
6969- Code and Data Size: Current and previous core subsystem library sizes are 
6970shown below.  These are the code and data sizes for the acpica.lib produced 
6971by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6972any ACPI driver or OSPM code.  The debug version of the code includes the 
6973debug output trace mechanism and has a much larger code and data size.  Note 
6974that these values will vary depending on the efficiency of the compiler and 
6975the compiler options used during generation.
6976
6977  Previous Release:
6978    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6979    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6980  Current Release:
6981    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6982    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6983
6984
69852) iASL Compiler/Disassembler:
6986
6987- Fixed a Linux generation error.
6988
6989
6990----------------------------------------
699116 August 2004.  Summary of changes for version 20040816:
6992
69931) ACPI CA Core Subsystem:
6994
6995Designed and implemented support within the AML interpreter for the so-
6996called "implicit return".  This support returns the result of the last ASL 
6997operation within a control method, in the absence of an explicit Return() 
6998operator.  A few machines depend on this behavior, even though it is not 
6999explicitly supported by the ASL language.  It is optional support that can 
7000be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
7001
7002Removed support for the PCI_Config address space from the internal low level 
7003hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
7004support was not used internally, and would not work correctly anyway because 
7005the PCI bus number and segment number were not supported.  There are 
7006separate interfaces for PCI configuration space access because of the unique 
7007interface.
7008
7009Code and Data Size: Current and previous core subsystem library sizes are 
7010shown below.  These are the code and data sizes for the acpica.lib produced 
7011by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7012any ACPI driver or OSPM code.  The debug version of the code includes the 
7013debug output trace mechanism and has a much larger code and data size.  Note 
7014that these values will vary depending on the efficiency of the compiler and 
7015the compiler options used during generation.
7016
7017  Previous Release:
7018    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
7019    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
7020  Current Release:
7021    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
7022    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
7023
7024
70252) iASL Compiler/Disassembler:
7026
7027Fixed a problem where constants in ASL expressions at the root level (not 
7028within a control method) could be inadvertently truncated during code 
7029generation.  This problem was introduced in the 20040715 release.
7030
7031
7032----------------------------------------
703315 July 2004.  Summary of changes for version 20040715:
7034
70351) ACPI CA Core Subsystem:
7036
7037Restructured the internal HW GPE interfaces to pass/track the current state 
7038of interrupts (enabled/disabled) in order to avoid possible deadlock and 
7039increase flexibility of the interfaces.
7040
7041Implemented a "lexicographical compare" for String and Buffer objects within 
7042the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
7043as per further clarification to the ACPI specification.  Behavior is similar 
7044to C library "strcmp".
7045
7046Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
7047external function.  In the 32-bit non-debug case, the stack use has been 
7048reduced from 168 bytes to 32 bytes.
7049
7050Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
7051whose purpose is to allow the AML interpreter to forgive certain bad AML 
7052constructs.  Default setting is FALSE.
7053
7054Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
7055support code.  If enabled, it allows field access to go beyond the end of a 
7056region definition if the field is within the region length rounded up to the 
7057next access width boundary (a common coding error.)
7058
7059Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
7060ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
7061symbols are lowercased by the latest version of the AcpiSrc tool.
7062
7063The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
7064rename "Register" to simply "Reg" to prevent certain compilers from 
7065complaining.
7066
7067Code and Data Size: Current and previous core subsystem library sizes are 
7068shown below.  These are the code and data sizes for the acpica.lib produced 
7069by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7070any ACPI driver or OSPM code.  The debug version of the code includes the 
7071debug output trace mechanism and has a much larger code and data size.  Note 
7072that these values will vary depending on the efficiency of the compiler and 
7073the compiler options used during generation.
7074
7075  Previous Release:
7076    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
7077    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
7078  Current Release:
7079    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
7080    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
7081
7082
70832) iASL Compiler/Disassembler:
7084
7085Implemented full support for Package objects within the Case() operator.  
7086Note: The Break() operator is currently not supported within Case blocks 
7087(TermLists) as there is some question about backward compatibility with ACPI 
70881.0 interpreters.
7089
7090
7091Fixed a problem where complex terms were not supported properly within the 
7092Switch() operator.
7093
7094Eliminated extraneous warning for compiler-emitted reserved names of the 
7095form "_T_x".  (Used in Switch/Case operators.)
7096
7097Eliminated optimization messages for "_T_x" objects and small constants 
7098within the DefinitionBlock operator.
7099
7100
7101----------------------------------------
710215 June 2004.  Summary of changes for version 20040615:
7103
71041) ACPI CA Core Subsystem:
7105
7106Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
7107following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
7108LLessEqual.
7109
7110All directory names in the entire source package are lower case, as they 
7111were in earlier releases.
7112
7113Implemented "Disassemble" command in the AML debugger that will disassemble 
7114a single control method.
7115
7116Code and Data Size: Current and previous core subsystem library sizes are 
7117shown below.  These are the code and data sizes for the acpica.lib produced 
7118by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7119any ACPI driver or OSPM code.  The debug version of the code includes the 
7120debug output trace mechanism and has a much larger code and data size.  Note 
7121that these values will vary depending on the efficiency of the compiler and 
7122the compiler options used during generation.
7123
7124  Previous Release:
7125    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
7126    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
7127
7128  Current Release:
7129    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
7130    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
7131
7132
71332) iASL Compiler/Disassembler:
7134
7135Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
7136following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
7137LLessEqual.
7138
7139All directory names in the entire source package are lower case, as they 
7140were in earlier releases.
7141
7142Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
7143not found.
7144
7145Fixed an issue with the Windows version of the compiler where later versions 
7146of Windows place the FADT in the registry under the name "FADT" and not 
7147"FACP" as earlier versions did.  This applies when using the -g or -
7148d<nofilename> options.  The compiler now looks for both strings as 
7149necessary.
7150
7151Fixed a problem with compiler namepath optimization where a namepath within 
7152the Scope() operator could not be optimized if the namepath was a subpath of 
7153the current scope path.
7154
7155----------------------------------------
715627 May 2004.  Summary of changes for version 20040527:
7157
71581) ACPI CA Core Subsystem:
7159
7160Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
7161support in the RSDP scan code.  The original code improperly scanned for the 
7162EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
7163is to first obtain the EBDA pointer from within the BIOS data area, then 
7164scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
7165any machines that place the RSDP in the EBDA, however.
7166
7167Integrated a fix for a possible fault during evaluation of BufferField 
7168arguments.  Obsolete code that was causing the problem was removed.
7169
7170Found and fixed a problem in the Field Support Code where data could be 
7171corrupted on a bit field read that starts on an aligned boundary but does 
7172not end on an aligned boundary.  Merged the read/write "datum length" 
7173calculation code into a common procedure.
7174
7175Rolled in a couple of changes to the FreeBSD-specific header.
7176
7177
7178Code and Data Size: Current and previous core subsystem library sizes are 
7179shown below.  These are the code and data sizes for the acpica.lib produced 
7180by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7181any ACPI driver or OSPM code.  The debug version of the code includes the 
7182debug output trace mechanism and has a much larger code and data size.  Note 
7183that these values will vary depending on the efficiency of the compiler and 
7184the compiler options used during generation.
7185
7186  Previous Release:
7187    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7188    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
7189  Current Release:
7190    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
7191    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
7192
7193
71942) iASL Compiler/Disassembler:
7195
7196Fixed a generation warning produced by some overly-verbose compilers for a 
719764-bit constant.
7198
7199----------------------------------------
720014 May 2004.  Summary of changes for version 20040514:
7201
72021) ACPI CA Core Subsystem:
7203
7204Fixed a problem where hardware GPE enable bits sometimes not set properly 
7205during and after GPE method execution.  Result of 04/27 changes.
7206
7207Removed extra "clear all GPEs" when sleeping/waking.
7208
7209Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
7210AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
7211the new AcpiEv* calls as appropriate.
7212
7213ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
7214now "Microsoft Windows NT" for maximum compatibility.  However this can be 
7215changed by modifying the acconfig.h file.
7216
7217Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
7218traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
7219
7220Run _INI methods on ThermalZone objects.  This is against the ACPI 
7221specification, but there is apparently ASL code in the field that has these 
7222_INI methods, and apparently "other" AML interpreters execute them.
7223
7224Performed a full 16/32/64 bit lint that resulted in some small changes.
7225
7226Added a sleep simulation command to the AML debugger to test sleep code. 
7227
7228Code and Data Size: Current and previous core subsystem library sizes are 
7229shown below.  These are the code and data sizes for the acpica.lib produced 
7230by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7231any ACPI driver or OSPM code.  The debug version of the code includes the 
7232debug output trace mechanism and has a much larger code and data size.  Note 
7233that these values will vary depending on the efficiency of the compiler and 
7234the compiler options used during generation.
7235
7236  Previous Release:
7237    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7238    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
7239  Current Release:
7240    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7241    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
7242
7243----------------------------------------
724427 April 2004.  Summary of changes for version 20040427:
7245
72461) ACPI CA Core Subsystem:
7247
7248Completed a major overhaul of the GPE handling within ACPI CA.  There are 
7249now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
7250The only GPEs allowed to be combination wake/run are for button-style 
7251devices such as a control-method power button, control-method sleep button, 
7252or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
7253referenced by any _PRW methods are marked for "runtime" and hardware 
7254enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
7255(and disabled at runtime).  However, at sleep time, only those GPEs that 
7256have been specifically enabled for wake via the AcpiEnableGpe interface will 
7257actually be hardware enabled.
7258
7259A new external interface has been added, AcpiSetGpeType(), that is meant to 
7260be used by device drivers to force a GPE to a particular type.  It will be 
7261especially useful for the drivers for the button devices mentioned above.
7262
7263Completed restructuring of the ACPI CA initialization sequence so that 
7264default operation region handlers are installed before GPEs are initialized 
7265and the _PRW methods are executed.  This will prevent errors when the _PRW 
7266methods attempt to access system memory or I/O space.
7267
7268GPE enable/disable no longer reads the GPE enable register.  We now keep the 
7269enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
7270thus no longer depend on the hardware to maintain these bits.
7271
7272Always clear the wake status and fixed/GPE status bits before sleep, even 
7273for state S5.
7274
7275Improved the AML debugger output for displaying the GPE blocks and their 
7276current status.
7277
7278Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
7279x = 0,1,2,3,4.
7280
7281Fixed a problem where the physical address was incorrectly calculated when 
7282the Load() operator was used to directly load from an Operation Region (vs. 
7283loading from a Field object.)  Also added check for minimum table length for 
7284this case.
7285
7286Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
7287mutex release.
7288
7289Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
7290consistency with the other fields returned.
7291
7292Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
7293structure for each GPE in the system, so the size of this structure is 
7294important.
7295
7296CPU stack requirement reduction:  Cleaned up the method execution and object 
7297evaluation paths so that now a parameter structure is passed, instead of 
7298copying the various method parameters over and over again.
7299
7300In evregion.c:  Correctly exit and reenter the interpreter region if and 
7301only if dispatching an operation region request to a user-installed handler.  
7302Do not exit/reenter when dispatching to a default handler (e.g., default 
7303system memory or I/O handlers)
7304
7305
7306Notes for updating drivers for the new GPE support.  The following changes 
7307must be made to ACPI-related device drivers that are attached to one or more 
7308GPEs: (This information will be added to the ACPI CA Programmer Reference.)
7309
73101) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
7311explicitly call AcpiEnableGpe.
73122) There is a new interface called AcpiSetGpeType. This should be called 
7313before enabling the GPE.  Also, this interface will automatically disable 
7314the GPE if it is currently enabled.
73153) AcpiEnableGpe no longer supports a GPE type flag.
7316
7317Specific drivers that must be changed:
73181) EC driver:
7319    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
7320AeGpeHandler, NULL);
7321    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
7322    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
7323
73242) Button Drivers (Power, Lid, Sleep):
7325Run _PRW method under parent device
7326If _PRW exists: /* This is a control-method button */
7327    Extract GPE number and possibly GpeDevice
7328    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
7329    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
7330
7331For all other devices that have _PRWs, we automatically set the GPE type to 
7332ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
7333must be done on a selective basis, usually requiring some kind of user app 
7334to allow the user to pick the wake devices.
7335
7336
7337Code and Data Size: Current and previous core subsystem library sizes are 
7338shown below.  These are the code and data sizes for the acpica.lib produced 
7339by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7340any ACPI driver or OSPM code.  The debug version of the code includes the 
7341debug output trace mechanism and has a much larger code and data size.  Note 
7342that these values will vary depending on the efficiency of the compiler and 
7343the compiler options used during generation.
7344
7345  Previous Release:
7346    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
7347    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
7348  Current Release:
7349
7350    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7351    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
7352
7353
7354
7355----------------------------------------
735602 April 2004.  Summary of changes for version 20040402:
7357
73581) ACPI CA Core Subsystem:
7359
7360Fixed an interpreter problem where an indirect store through an ArgX 
7361parameter was incorrectly applying the "implicit conversion rules" during 
7362the store.  From the ACPI specification: "If the target is a method local or 
7363argument (LocalX or ArgX), no conversion is performed and the result is 
7364stored directly to the target".  The new behavior is to disable implicit 
7365conversion during ALL stores to an ArgX.
7366
7367Changed the behavior of the _PRW method scan to ignore any and all errors 
7368returned by a given _PRW.  This prevents the scan from aborting from the 
7369failure of any single _PRW.
7370
7371Moved the runtime configuration parameters from the global init procedure to 
7372static variables in acglobal.h.  This will allow the host to override the 
7373default values easily.
7374
7375Code and Data Size: Current and previous core subsystem library sizes are 
7376shown below.  These are the code and data sizes for the acpica.lib produced 
7377by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7378any ACPI driver or OSPM code.  The debug version of the code includes the 
7379debug output trace mechanism and has a much larger code and data size.  Note 
7380that these values will vary depending on the efficiency of the compiler and 
7381the compiler options used during generation.
7382
7383  Previous Release:
7384    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
7385    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
7386  Current Release:
7387    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
7388    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
7389
7390
73912) iASL Compiler/Disassembler:
7392
7393iASL now fully disassembles SSDTs.  However, External() statements are not 
7394generated automatically for unresolved symbols at this time.  This is a 
7395planned feature for future implementation.
7396
7397Fixed a scoping problem in the disassembler that occurs when the type of the 
7398target of a Scope() operator is overridden.  This problem caused an 
7399incorrectly nested internal namespace to be constructed.
7400
7401Any warnings or errors that are emitted during disassembly are now commented 
7402out automatically so that the resulting file can be recompiled without any 
7403hand editing.
7404
7405----------------------------------------
740626 March 2004.  Summary of changes for version 20040326:
7407
74081) ACPI CA Core Subsystem:
7409
7410Implemented support for "wake" GPEs via interaction between GPEs and the 
7411_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
7412identified as a WAKE GPE and by default will no longer be enabled at 
7413runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
7414_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
7415believe this has been the cause of thousands of "spurious" GPEs on some 
7416systems.
7417
7418This new GPE behavior is can be reverted to the original behavior (enable 
7419ALL GPEs at runtime) via a runtime flag.
7420
7421Fixed a problem where aliased control methods could not access objects 
7422properly.  The proper scope within the namespace was not initialized 
7423(transferred to the target of the aliased method) before executing the 
7424target method.
7425
7426Fixed a potential race condition on internal object deletion on the return 
7427object in AcpiEvaluateObject. 
7428
7429Integrated a fix for resource descriptors where both _MEM and _MTP were 
7430being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
7431wide, 0x0F instead of 0x03.)
7432
7433Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
7434fault in some cases.
7435
7436Updated Notify() values for debug statements in evmisc.c
7437
7438Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
7439
7440Code and Data Size: Current and previous core subsystem library sizes are 
7441shown below.  These are the code and data sizes for the acpica.lib produced 
7442by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7443any ACPI driver or OSPM code.  The debug version of the code includes the 
7444debug output trace mechanism and has a much larger code and data size.  Note 
7445that these values will vary depending on the efficiency of the compiler and 
7446the compiler options used during generation.
7447
7448  Previous Release:
7449
7450    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
7451    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
7452  Current Release:
7453    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
7454    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
7455
7456----------------------------------------
745711 March 2004.  Summary of changes for version 20040311:
7458
74591) ACPI CA Core Subsystem:
7460
7461Fixed a problem where errors occurring during the parse phase of control 
7462method execution did not abort cleanly.  For example, objects created and 
7463installed in the namespace were not deleted.  This caused all subsequent 
7464invocations of the method to return the AE_ALREADY_EXISTS exception.
7465
7466Implemented a mechanism to force a control method to "Serialized" execution 
7467if the method attempts to create namespace objects. (The root of the 
7468AE_ALREADY_EXISTS problem.)
7469
7470Implemented support for the predefined _OSI "internal" control method.  
7471Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
7472"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
7473This feature will allow "other" operating systems to execute the fully 
7474tested, "Windows" code path through the ASL code
7475
7476Global Lock Support:  Now allows multiple acquires and releases with any 
7477internal thread.  Removed concept of "owning thread" for this special mutex.
7478
7479Fixed two functions that were inappropriately declaring large objects on the 
7480CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
7481method execution considerably.
7482
7483Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
7484S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
7485
7486Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
7487defined on the machine.
7488
7489Implemented two runtime options:  One to force all control method execution 
7490to "Serialized" to mimic Windows behavior, another to disable _OSI support 
7491if it causes problems on a given machine.
7492
7493Code and Data Size: Current and previous core subsystem library sizes are 
7494shown below.  These are the code and data sizes for the acpica.lib produced 
7495by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7496any ACPI driver or OSPM code.  The debug version of the code includes the 
7497debug output trace mechanism and has a much larger code and data size.  Note 
7498that these values will vary depending on the efficiency of the compiler and 
7499the compiler options used during generation.
7500
7501  Previous Release:
7502    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7503    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7504  Current Release:
7505    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
7506    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
7507
75082) iASL Compiler/Disassembler:
7509
7510Fixed an array size problem for FreeBSD that would cause the compiler to 
7511fault.
7512
7513----------------------------------------
751420 February 2004.  Summary of changes for version 20040220:
7515
7516
75171) ACPI CA Core Subsystem:
7518
7519Implemented execution of _SxD methods for Device objects in the 
7520GetObjectInfo interface.
7521
7522Fixed calls to _SST method to pass the correct arguments.
7523
7524Added a call to _SST on wake to restore to "working" state.
7525
7526Check for End-Of-Buffer failure case in the WalkResources interface.
7527
7528Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
7529structures to the beginning of the file.
7530
7531After wake, clear GPE status register(s) before enabling GPEs.
7532
7533After wake, clear/enable power button.  (Perhaps we should clear/enable all 
7534fixed events upon wake.)
7535
7536Fixed a couple of possible memory leaks in the Namespace manager.
7537
7538Integrated latest acnetbsd.h file.
7539
7540----------------------------------------
754111 February 2004.  Summary of changes for version 20040211:
7542
7543
75441) ACPI CA Core Subsystem:
7545
7546Completed investigation and implementation of the call-by-reference 
7547mechanism for control method arguments.
7548
7549Fixed a problem where a store of an object into an indexed package could 
7550fail if the store occurs within a different method than the method that 
7551created the package.
7552
7553Fixed a problem where the ToDecimal operator could return incorrect results.
7554
7555Fixed a problem where the CopyObject operator could fail on some of the more 
7556obscure objects (e.g., Reference objects.)
7557
7558Improved the output of the Debug object to display buffer, package, and 
7559index objects.
7560
7561Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
7562the expected result.
7563
7564Added permanent ACPI_REPORT_ERROR macros for all instances of the 
7565ACPI_AML_INTERNAL exception.
7566
7567Integrated latest version of acfreebsd.h
7568
7569----------------------------------------
757016 January 2004.  Summary of changes for version 20040116:
7571
7572The purpose of this release is primarily to update the copyright years in 
7573each module, thus causing a huge number of diffs.  There are a few small 
7574functional changes, however.
7575
75761) ACPI CA Core Subsystem:
7577
7578Improved error messages when there is a problem finding one or more of the 
7579required base ACPI tables
7580
7581Reintroduced the definition of APIC_HEADER in actbl.h
7582
7583Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
7584
7585Removed extraneous reference to NewObj in dsmthdat.c
7586
75872) iASL compiler
7588
7589Fixed a problem introduced in December that disabled the correct disassembly 
7590of Resource Templates
7591
7592
7593----------------------------------------
759403 December 2003.  Summary of changes for version 20031203:
7595
75961) ACPI CA Core Subsystem:
7597
7598Changed the initialization of Operation Regions during subsystem
7599init to perform two entire walks of the ACPI namespace; The first
7600to initialize the regions themselves, the second to execute the
7601_REG methods.  This fixed some interdependencies across _REG
7602methods found on some machines.
7603
7604Fixed a problem where a Store(Local0, Local1) could simply update
7605the object reference count, and not create a new copy of the
7606object if the Local1 is uninitialized.
7607
7608Implemented support for the _SST reserved method during sleep
7609transitions.
7610
7611Implemented support to clear the SLP_TYP and SLP_EN bits when
7612waking up, this is apparently required by some machines.
7613
7614When sleeping, clear the wake status only if SleepState is not S5.
7615
7616Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
7617pointer arithmetic advanced a string pointer too far.
7618
7619Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
7620could be returned if the requested table has not been loaded.
7621
7622Within the support for IRQ resources, restructured the handling of
7623the active and edge/level bits.
7624
7625Fixed a few problems in AcpiPsxExecute() where memory could be
7626leaked under certain error conditions.
7627
7628Improved error messages for the cases where the ACPI mode could
7629not be entered.
7630
7631Code and Data Size: Current and previous core subsystem library
7632sizes are shown below.  These are the code and data sizes for the
7633acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7634these values do not include any ACPI driver or OSPM code.  The
7635debug version of the code includes the debug output trace
7636mechanism and has a much larger code and data size.  Note that
7637these values will vary depending on the efficiency of the compiler
7638and the compiler options used during generation.
7639
7640  Previous Release (20031029):
7641    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7642    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7643  Current Release:
7644    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7645    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7646
76472) iASL Compiler/Disassembler:
7648
7649Implemented a fix for the iASL disassembler where a bad index was
7650generated.  This was most noticeable on 64-bit platforms
7651
7652
7653----------------------------------------
765429 October 2003.  Summary of changes for version 20031029:
7655
76561) ACPI CA Core Subsystem:
7657
7658
7659Fixed a problem where a level-triggered GPE with an associated
7660_Lxx control method was incorrectly cleared twice.
7661
7662Fixed a problem with the Field support code where an access can
7663occur beyond the end-of-region if the field is non-aligned but
7664extends to the very end of the parent region (resulted in an
7665AE_AML_REGION_LIMIT exception.)
7666
7667Fixed a problem with ACPI Fixed Events where an RT Clock handler
7668would not get invoked on an RTC event.  The RTC event bitmasks for
7669the PM1 registers were not being initialized properly.
7670
7671Implemented support for executing _STA and _INI methods for
7672Processor objects.  Although this is currently not part of the
7673ACPI specification, there is existing ASL code that depends on the
7674init-time execution of these methods.
7675
7676Implemented and deployed a GetDescriptorName function to decode
7677the various types of internal descriptors.  Guards against null
7678descriptors during debug output also.
7679
7680Implemented and deployed a GetNodeName function to extract the 4-
7681character namespace node name.  This function simplifies the debug
7682and error output, as well as guarding against null pointers during
7683output.
7684
7685Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
7686simplify the debug and error output of 64-bit integers.  This
7687macro replaces the HIDWORD and LODWORD macros for dumping these
7688integers.
7689
7690Updated the implementation of the Stall() operator to only call
7691AcpiOsStall(), and also return an error if the operand is larger
7692than 255.  This preserves the required behavior of not
7693relinquishing the processor, as would happen if AcpiOsSleep() was
7694called for "long stalls".
7695
7696Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
7697initialized are now treated as NOOPs.
7698
7699Cleaned up a handful of warnings during 64-bit generation.
7700
7701Fixed a reported error where and incorrect GPE number was passed
7702to the GPE dispatch handler.  This value is only used for error
7703output, however.  Used this opportunity to clean up and streamline
7704the GPE dispatch code.
7705
7706Code and Data Size: Current and previous core subsystem library
7707sizes are shown below.  These are the code and data sizes for the
7708acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7709these values do not include any ACPI driver or OSPM code.  The
7710
7711debug version of the code includes the debug output trace
7712mechanism and has a much larger code and data size.  Note that
7713these values will vary depending on the efficiency of the compiler
7714and the compiler options used during generation.
7715
7716  Previous Release (20031002):
7717    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7718    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7719  Current Release:
7720    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7721    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7722
7723
77242) iASL Compiler/Disassembler:
7725
7726Updated the iASL compiler to return an error if the operand to the
7727Stall() operator is larger than 255.
7728
7729
7730----------------------------------------
773102 October 2003.  Summary of changes for version 20031002:
7732
7733
77341) ACPI CA Core Subsystem:
7735
7736Fixed a problem with Index Fields where the index was not
7737incremented for fields that require multiple writes to the
7738index/data registers (Fields that are wider than the data
7739register.)
7740
7741Fixed a problem with all Field objects where a write could go
7742beyond the end-of-field if the field was larger than the access
7743granularity and therefore required multiple writes to complete the
7744request.  An extra write beyond the end of the field could happen
7745inadvertently.
7746
7747Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
7748would incorrectly be returned if the width of the Data Register
7749was larger than the specified field access width.
7750
7751Completed fixes for LoadTable() and Unload() and verified their
7752operation.  Implemented full support for the "DdbHandle" object
7753throughout the ACPI CA subsystem.
7754
7755Implemented full support for the MADT and ECDT tables in the ACPI
7756CA header files.  Even though these tables are not directly
7757consumed by ACPI CA, the header definitions are useful for ACPI
7758device drivers.
7759
7760Integrated resource descriptor fixes posted to the Linux ACPI
7761list.  This included checks for minimum descriptor length, and
7762support for trailing NULL strings within descriptors that have
7763optional string elements.
7764
7765Code and Data Size: Current and previous core subsystem library
7766sizes are shown below.  These are the code and data sizes for the
7767acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7768these values do not include any ACPI driver or OSPM code.  The
7769debug version of the code includes the debug output trace
7770mechanism and has a much larger code and data size.  Note that
7771these values will vary depending on the efficiency of the compiler
7772and the compiler options used during generation.
7773
7774  Previous Release (20030918):
7775    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7776    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7777  Current Release:
7778    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7779    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7780
7781
77822) iASL Compiler:
7783
7784Implemented detection of non-ASCII characters within the input
7785source ASL file.  This catches attempts to compile binary (AML)
7786files early in the compile, with an informative error message.
7787
7788Fixed a problem where the disassembler would fault if the output
7789filename could not be generated or if the output file could not be
7790opened.
7791
7792----------------------------------------
779318 September 2003.  Summary of changes for version 20030918:
7794
7795
77961) ACPI CA Core Subsystem:
7797
7798Found and fixed a longstanding problem with the late execution of
7799the various deferred AML opcodes (such as Operation Regions,
7800Buffer Fields, Buffers, and Packages).  If the name string
7801specified for the name of the new object placed the object in a
7802scope other than the current scope, the initialization/execution
7803of the opcode failed.  The solution to this problem was to
7804implement a mechanism where the late execution of such opcodes
7805does not attempt to lookup/create the name a second time in an
7806incorrect scope.  This fixes the "region size computed
7807incorrectly" problem.
7808
7809Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
7810Global Lock AE_BAD_PARAMETER error.
7811
7812Fixed several 64-bit issues with prototypes, casting and data
7813types.
7814
7815Removed duplicate prototype from acdisasm.h
7816
7817Fixed an issue involving EC Operation Region Detach (Shaohua Li)
7818
7819Code and Data Size: Current and previous core subsystem library
7820sizes are shown below.  These are the code and data sizes for the
7821acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7822these values do not include any ACPI driver or OSPM code.  The
7823debug version of the code includes the debug output trace
7824mechanism and has a much larger code and data size.  Note that
7825these values will vary depending on the efficiency of the compiler
7826and the compiler options used during generation.
7827
7828  Previous Release:
7829
7830    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7831    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7832  Current Release:
7833    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7834    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7835
7836
78372) Linux:
7838
7839Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
7840correct sleep time in seconds.
7841
7842----------------------------------------
784314 July 2003.  Summary of changes for version 20030619:
7844
78451) ACPI CA Core Subsystem:
7846
7847Parse SSDTs in order discovered, as opposed to reverse order
7848(Hrvoje Habjanic)
7849
7850Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
7851Klausner,
7852   Nate Lawson)
7853
7854
78552) Linux:
7856
7857Dynamically allocate SDT list (suggested by Andi Kleen)
7858
7859proc function return value cleanups (Andi Kleen)
7860
7861Correctly handle NMI watchdog during long stalls (Andrew Morton)
7862
7863Make it so acpismp=force works (reported by Andrew Morton)
7864
7865
7866----------------------------------------
786719 June 2003.  Summary of changes for version 20030619:
7868
78691) ACPI CA Core Subsystem:
7870
7871Fix To/FromBCD, eliminating the need for an arch-specific #define.
7872
7873Do not acquire a semaphore in the S5 shutdown path.
7874
7875Fix ex_digits_needed for 0. (Takayoshi Kochi)
7876
7877Fix sleep/stall code reversal. (Andi Kleen)
7878
7879Revert a change having to do with control method calling
7880semantics.
7881
78822) Linux:
7883
7884acpiphp update (Takayoshi Kochi)
7885
7886Export acpi_disabled for sonypi (Stelian Pop)
7887
7888Mention acpismp=force in config help
7889
7890Re-add acpitable.c and acpismp=force. This improves backwards
7891
7892compatibility and also cleans up the code to a significant degree.
7893
7894Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
7895
7896----------------------------------------
789722 May 2003.  Summary of changes for version 20030522:
7898
78991) ACPI CA Core Subsystem:
7900
7901Found and fixed a reported problem where an AE_NOT_FOUND error
7902occurred occasionally during _BST evaluation.  This turned out to
7903be an Owner ID allocation issue where a called method did not get
7904a new ID assigned to it.  Eventually, (after 64k calls), the Owner
7905ID UINT16 would wraparound so that the ID would be the same as the
7906caller's and the called method would delete the caller's
7907namespace.
7908
7909Implemented extended error reporting for control methods that are
7910aborted due to a run-time exception.  Output includes the exact
7911AML instruction that caused the method abort, a dump of the method
7912locals and arguments at the time of the abort, and a trace of all
7913nested control method calls.
7914
7915Modified the interpreter to allow the creation of buffers of zero
7916length from the AML code. Implemented new code to ensure that no
7917attempt is made to actually allocate a memory buffer (of length
7918zero) - instead, a simple buffer object with a NULL buffer pointer
7919and length zero is created.  A warning is no longer issued when
7920the AML attempts to create a zero-length buffer.
7921
7922Implemented a workaround for the "leading asterisk issue" in
7923_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
7924asterisk is automatically removed if present in any HID, UID, or
7925CID strings.  The iASL compiler will still flag this asterisk as
7926an error, however.
7927
7928Implemented full support for _CID methods that return a package of
7929multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
7930now additionally returns a device _CID list if present.  This
7931required a change to the external interface in order to pass an
7932ACPI_BUFFER object as a parameter since the _CID list is of
7933variable length.
7934
7935Fixed a problem with the new AE_SAME_HANDLER exception where
7936handler initialization code did not know about this exception.
7937
7938Code and Data Size: Current and previous core subsystem library
7939sizes are shown below.  These are the code and data sizes for the
7940acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7941these values do not include any ACPI driver or OSPM code.  The
7942debug version of the code includes the debug output trace
7943mechanism and has a much larger code and data size.  Note that
7944these values will vary depending on the efficiency of the compiler
7945and the compiler options used during generation.
7946
7947  Previous Release (20030509):
7948    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7949    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7950  Current Release:
7951    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7952    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7953
7954
79552) Linux:
7956
7957Fixed a bug in which we would reinitialize the ACPI interrupt
7958after it was already working, thus disabling all ACPI and the IRQs
7959for any other device sharing the interrupt. (Thanks to Stian
7960Jordet)
7961
7962Toshiba driver update (John Belmonte)
7963
7964Return only 0 or 1 for our interrupt handler status (Andrew
7965Morton)
7966
7967
79683) iASL Compiler:
7969
7970Fixed a reported problem where multiple (nested) ElseIf()
7971statements were not handled correctly by the compiler, resulting
7972in incorrect warnings and incorrect AML code.  This was a problem
7973in both the ASL parser and the code generator.
7974
7975
79764) Documentation:
7977
7978Added changes to existing interfaces, new exception codes, and new
7979text concerning reference count object management versus garbage
7980collection.
7981
7982----------------------------------------
798309 May 2003.  Summary of changes for version 20030509.
7984
7985
79861) ACPI CA Core Subsystem:
7987
7988Changed the subsystem initialization sequence to hold off
7989installation of address space handlers until the hardware has been
7990initialized and the system has entered ACPI mode.  This is because
7991the installation of space handlers can cause _REG methods to be
7992run.  Previously, the _REG methods could potentially be run before
7993ACPI mode was enabled.
7994
7995Fixed some memory leak issues related to address space handler and
7996notify handler installation.  There were some problems with the
7997reference count mechanism caused by the fact that the handler
7998objects are shared across several namespace objects.
7999
8000Fixed a reported problem where reference counts within the
8001namespace were not properly updated when named objects created by
8002method execution were deleted.
8003
8004Fixed a reported problem where multiple SSDTs caused a deletion
8005issue during subsystem termination.  Restructured the table data
8006structures to simplify the linked lists and the related code.
8007
8008Fixed a problem where the table ID associated with secondary
8009tables (SSDTs) was not being propagated into the namespace objects
8010created by those tables.  This would only present a problem for
8011tables that are unloaded at run-time, however.
8012
8013Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
8014type as the length parameter (instead of UINT32).
8015
8016Solved a long-standing problem where an ALREADY_EXISTS error
8017appears on various systems.  This problem could happen when there
8018are multiple PCI_Config operation regions under a single PCI root
8019bus.  This doesn't happen very frequently, but there are some
8020systems that do this in the ASL.
8021
8022Fixed a reported problem where the internal DeleteNode function
8023was incorrectly handling the case where a namespace node was the
8024first in the parent's child list, and had additional peers (not
8025the only child, but first in the list of children.)
8026
8027Code and Data Size: Current core subsystem library sizes are shown
8028below.  These are the code and data sizes for the acpica.lib
8029produced by the Microsoft Visual C++ 6.0 compiler, and these
8030values do not include any ACPI driver or OSPM code.  The debug
8031version of the code includes the debug output trace mechanism and
8032has a much larger code and data size.  Note that these values will
8033vary depending on the efficiency of the compiler and the compiler
8034options used during generation.
8035
8036  Previous Release
8037    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
8038    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
8039  Current Release:
8040    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
8041    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
8042
8043
80442) Linux:
8045
8046Allow ":" in OS override string (Ducrot Bruno)
8047
8048Kobject fix (Greg KH)
8049
8050
80513 iASL Compiler/Disassembler:
8052
8053Fixed a problem in the generation of the C source code files (AML
8054is emitted in C source statements for BIOS inclusion) where the
8055Ascii dump that appears within a C comment at the end of each line
8056could cause a compile time error if the AML sequence happens to
8057have an open comment or close comment sequence embedded.
8058
8059
8060----------------------------------------
806124 April 2003.  Summary of changes for version 20030424.
8062
8063
80641) ACPI CA Core Subsystem:
8065
8066Support for big-endian systems has been implemented.  Most of the
8067support has been invisibly added behind big-endian versions of the
8068ACPI_MOVE_* macros.
8069
8070Fixed a problem in AcpiHwDisableGpeBlock() and
8071AcpiHwClearGpeBlock() where an incorrect offset was passed to the
8072low level hardware write routine.  The offset parameter was
8073actually eliminated from the low level read/write routines because
8074they had become obsolete.
8075
8076Fixed a problem where a handler object was deleted twice during
8077the removal of a fixed event handler.
8078
8079
80802) Linux:
8081
8082A fix for SMP systems with link devices was contributed by
8083
8084Compaq's Dan Zink.
8085
8086(2.5) Return whether we handled the interrupt in our IRQ handler.
8087(Linux ISRs no longer return void, so we can propagate the handler
8088return value from the ACPI CA core back to the OS.)
8089
8090
8091
80923) Documentation:
8093
8094The ACPI CA Programmer Reference has been updated to reflect new
8095interfaces and changes to existing interfaces.
8096
8097----------------------------------------
809828 March 2003.  Summary of changes for version 20030328.
8099
81001) ACPI CA Core Subsystem:
8101
8102The GPE Block Device support has been completed.  New interfaces
8103are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
8104interfaces (enable, disable, clear, getstatus) have been split
8105into separate interfaces for Fixed Events and General Purpose
8106Events (GPEs) in order to support GPE Block Devices properly.
8107
8108Fixed a problem where the error message "Failed to acquire
8109semaphore" would appear during operations on the embedded
8110controller (EC).
8111
8112Code and Data Size: Current core subsystem library sizes are shown
8113below.  These are the code and data sizes for the acpica.lib
8114produced by the Microsoft Visual C++ 6.0 compiler, and these
8115values do not include any ACPI driver or OSPM code.  The debug
8116version of the code includes the debug output trace mechanism and
8117has a much larger code and data size.  Note that these values will
8118vary depending on the efficiency of the compiler and the compiler
8119options used during generation.
8120
8121  Previous Release
8122    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
8123    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
8124  Current Release:
8125    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
8126    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
8127
8128
8129----------------------------------------
813028 February 2003.  Summary of changes for version 20030228.
8131
8132
81331) ACPI CA Core Subsystem:
8134
8135The GPE handling and dispatch code has been completely overhauled
8136in preparation for support of GPE Block Devices (ID ACPI0006).
8137This affects internal data structures and code only; there should
8138be no differences visible externally.  One new file has been
8139added, evgpeblk.c
8140
8141The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
8142fields that are used to determine the GPE block lengths.  The
8143REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
8144structures are ignored.  This is per the ACPI specification but it
8145isn't very clear.  The full 256 Block 0/1 GPEs are now supported
8146(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
8147
8148In the SCI interrupt handler, removed the read of the PM1_CONTROL
8149register to look at the SCI_EN bit.  On some machines, this read
8150causes an SMI event and greatly slows down SCI events.  (This may
8151in fact be the cause of slow battery status response on some
8152systems.)
8153
8154Fixed a problem where a store of a NULL string to a package object
8155could cause the premature deletion of the object.  This was seen
8156during execution of the battery _BIF method on some systems,
8157resulting in no battery data being returned.
8158
8159Added AcpiWalkResources interface to simplify parsing of resource
8160lists.
8161
8162Code and Data Size: Current core subsystem library sizes are shown
8163below.  These are the code and data sizes for the acpica.lib
8164produced by the Microsoft Visual C++ 6.0 compiler, and these
8165values do not include any ACPI driver or OSPM code.  The debug
8166version of the code includes the debug output trace mechanism and
8167has a much larger code and data size.  Note that these values will
8168vary depending on the efficiency of the compiler and the compiler
8169options used during generation.
8170
8171  Previous Release
8172    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8173    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8174  Current Release:
8175    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
8176    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
8177
8178
81792) Linux
8180
8181S3 fixes (Ole Rohne)
8182
8183Update ACPI PHP driver with to use new acpi_walk_resource API
8184(Bjorn Helgaas)
8185
8186Add S4BIOS support (Pavel Machek)
8187
8188Map in entire table before performing checksum (John Stultz)
8189
8190Expand the mem= cmdline to allow the specification of reserved and
8191ACPI DATA blocks (Pavel Machek)
8192
8193Never use ACPI on VISWS
8194
8195Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
8196
8197Revert a change that allowed P_BLK lengths to be 4 or 5. This is
8198causing us to think that some systems support C2 when they really
8199don't.
8200
8201Do not count processor objects for non-present CPUs (Thanks to
8202Dominik Brodowski)
8203
8204
82053) iASL Compiler:
8206
8207Fixed a problem where ASL include files could not be found and
8208opened.
8209
8210Added support for the _PDC reserved name.
8211
8212
8213----------------------------------------
821422 January 2003.  Summary of changes for version 20030122.
8215
8216
82171) ACPI CA Core Subsystem:
8218
8219Added a check for constructs of the form:  Store (Local0, Local0)
8220where Local0 is not initialized.  Apparently, some BIOS
8221programmers believe that this is a NOOP.  Since this store doesn't
8222do anything anyway, the new prototype behavior will ignore this
8223error.  This is a case where we can relax the strict checking in
8224the interpreter in the name of compatibility.
8225
8226
82272) Linux
8228
8229The AcpiSrc Source Conversion Utility has been released with the
8230Linux package for the first time.  This is the utility that is
8231used to convert the ACPI CA base source code to the Linux version.
8232
8233(Both) Handle P_BLK lengths shorter than 6 more gracefully
8234
8235(Both) Move more headers to include/acpi, and delete an unused
8236header.
8237
8238(Both) Move drivers/acpi/include directory to include/acpi
8239
8240(Both) Boot functions don't use cmdline, so don't pass it around
8241
8242(Both) Remove include of unused header (Adrian Bunk)
8243
8244(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
8245the
8246former now also includes the latter, acpiphp.h only needs the one,
8247now.
8248
8249(2.5) Make it possible to select method of bios restoring after S3
8250resume. [=> no more ugly ifdefs] (Pavel Machek)
8251
8252(2.5) Make proc write interfaces work (Pavel Machek)
8253
8254(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
8255
8256(2.5) Break out ACPI Perf code into its own module, under cpufreq
8257(Dominik Brodowski)
8258
8259(2.4) S4BIOS support (Ducrot Bruno)
8260
8261(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
8262Visinoni)
8263
8264
82653) iASL Compiler:
8266
8267Added support to disassemble SSDT and PSDTs.
8268
8269Implemented support to obtain SSDTs from the Windows registry if
8270available.
8271
8272
8273----------------------------------------
827409 January 2003.  Summary of changes for version 20030109.
8275
82761) ACPI CA Core Subsystem:
8277
8278Changed the behavior of the internal Buffer-to-String conversion
8279function.  The current ACPI specification states that the contents
8280of the buffer are "converted to a string of two-character
8281hexadecimal numbers, each separated by a space".  Unfortunately,
8282this definition is not backwards compatible with existing ACPI 1.0
8283implementations (although the behavior was not defined in the ACPI
82841.0 specification).  The new behavior simply copies data from the
8285buffer to the string until a null character is found or the end of
8286the buffer is reached.  The new String object is always null
8287terminated.  This problem was seen during the generation of _BIF
8288battery data where incorrect strings were returned for battery
8289type, etc.  This will also require an errata to the ACPI
8290specification.
8291
8292Renamed all instances of NATIVE_UINT and NATIVE_INT to
8293ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
8294
8295Copyright in all module headers (both Linux and non-Linux) has be
8296updated to 2003.
8297
8298Code and Data Size: Current core subsystem library sizes are shown
8299below.  These are the code and data sizes for the acpica.lib
8300produced by the Microsoft Visual C++ 6.0 compiler, and these
8301values do not include any ACPI driver or OSPM code.  The debug
8302version of the code includes the debug output trace mechanism and
8303has a much larger code and data size.  Note that these values will
8304vary depending on the efficiency of the compiler and the compiler
8305options used during generation.
8306
8307  Previous Release
8308    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8309    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8310  Current Release:
8311    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8312    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8313
8314
83152) Linux
8316
8317Fixed an oops on module insertion/removal (Matthew Tippett)
8318
8319(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
8320
8321(2.5) Replace pr_debug (Randy Dunlap)
8322
8323(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
8324
8325(Both) Eliminate spawning of thread from timer callback, in favor
8326of schedule_work()
8327
8328(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
8329
8330(Both) Added define for Fixed Function HW region (Matthew Wilcox)
8331
8332(Both) Add missing statics to button.c (Pavel Machek)
8333
8334Several changes have been made to the source code translation
8335utility that generates the Linux Code in order to make the code
8336more "Linux-like":
8337
8338All typedefs on structs and unions have been removed in keeping
8339with the Linux coding style.
8340
8341Removed the non-Linux SourceSafe module revision number from each
8342module header.
8343
8344Completed major overhaul of symbols to be lowercased for linux.
8345Doubled the number of symbols that are lowercased.
8346
8347Fixed a problem where identifiers within procedure headers and
8348within quotes were not fully lower cased (they were left with a
8349starting capital.)
8350
8351Some C macros whose only purpose is to allow the generation of 16-
8352bit code are now completely removed in the Linux code, increasing
8353readability and maintainability.
8354
8355----------------------------------------
8356
835712 December 2002.  Summary of changes for version 20021212.
8358
8359
83601) ACPI CA Core Subsystem:
8361
8362Fixed a problem where the creation of a zero-length AML Buffer
8363would cause a fault.
8364
8365Fixed a problem where a Buffer object that pointed to a static AML
8366buffer (in an ACPI table) could inadvertently be deleted, causing
8367memory corruption.
8368
8369Fixed a problem where a user buffer (passed in to the external
8370ACPI CA interfaces) could be overwritten if the buffer was too
8371small to complete the operation, causing memory corruption.
8372
8373Fixed a problem in the Buffer-to-String conversion code where a
8374string of length one was always returned, regardless of the size
8375of the input Buffer object.
8376
8377Removed the NATIVE_CHAR data type across the entire source due to
8378lack of need and lack of consistent use.
8379
8380Code and Data Size: Current core subsystem library sizes are shown
8381below.  These are the code and data sizes for the acpica.lib
8382produced by the Microsoft Visual C++ 6.0 compiler, and these
8383values do not include any ACPI driver or OSPM code.  The debug
8384version of the code includes the debug output trace mechanism and
8385has a much larger code and data size.  Note that these values will
8386vary depending on the efficiency of the compiler and the compiler
8387options used during generation.
8388
8389  Previous Release
8390    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
8391    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
8392  Current Release:
8393    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8394    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8395
8396
8397----------------------------------------
839805 December 2002.  Summary of changes for version 20021205.
8399
84001) ACPI CA Core Subsystem:
8401
8402Fixed a problem where a store to a String or Buffer object could
8403cause corruption of the DSDT if the object type being stored was
8404the same as the target object type and the length of the object
8405being stored was equal to or smaller than the original (existing)
8406target object.  This was seen to cause corruption of battery _BIF
8407buffers if the _BIF method modified the buffer on the fly.
8408
8409Fixed a problem where an internal error was generated if a control
8410method invocation was used in an OperationRegion, Buffer, or
8411Package declaration.  This was caused by the deferred parsing of
8412the control method and thus the deferred creation of the internal
8413method object.  The solution to this problem was to create the
8414internal method object at the moment the method is encountered in
8415the first pass - so that subsequent references to the method will
8416able to obtain the required parameter count and thus properly
8417parse the method invocation.  This problem presented itself as an
8418AE_AML_INTERNAL during the pass 1 parse phase during table load.
8419
8420Fixed a problem where the internal String object copy routine did
8421not always allocate sufficient memory for the target String object
8422and caused memory corruption.  This problem was seen to cause
8423"Allocation already present in list!" errors as memory allocation
8424became corrupted.
8425
8426Implemented a new function for the evaluation of namespace objects
8427that allows the specification of the allowable return object
8428types.  This simplifies a lot of code that checks for a return
8429object of one or more specific objects returned from the
8430evaluation (such as _STA, etc.)  This may become and external
8431function if it would be useful to ACPI-related drivers.
8432
8433Completed another round of prefixing #defines with "ACPI_" for
8434clarity.
8435
8436Completed additional code restructuring to allow more modular
8437linking for iASL compiler and AcpiExec.  Several files were split
8438creating new files.  New files:  nsparse.c dsinit.c evgpe.c
8439
8440Implemented an abort mechanism to terminate an executing control
8441method via the AML debugger.  This feature is useful for debugging
8442control methods that depend (wait) for specific hardware
8443responses.
8444
8445Code and Data Size: Current core subsystem library sizes are shown
8446below.  These are the code and data sizes for the acpica.lib
8447produced by the Microsoft Visual C++ 6.0 compiler, and these
8448values do not include any ACPI driver or OSPM code.  The debug
8449version of the code includes the debug output trace mechanism and
8450has a much larger code and data size.  Note that these values will
8451vary depending on the efficiency of the compiler and the compiler
8452options used during generation.
8453
8454  Previous Release
8455    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8456    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
8457  Current Release:
8458    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
8459    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
8460
8461
84622) iASL Compiler/Disassembler
8463
8464Fixed a compiler code generation problem for "Interrupt" Resource
8465Descriptors.  If specified in the ASL, the optional "Resource
8466Source Index" and "Resource Source" fields were not inserted into
8467the correct location within the AML resource descriptor, creating
8468an invalid descriptor.
8469
8470Fixed a disassembler problem for "Interrupt" resource descriptors.
8471The optional "Resource Source Index" and "Resource Source" fields
8472were ignored.
8473
8474
8475----------------------------------------
847622 November 2002.  Summary of changes for version 20021122.
8477
8478
84791) ACPI CA Core Subsystem:
8480
8481Fixed a reported problem where an object stored to a Method Local
8482or Arg was not copied to a new object during the store - the
8483object pointer was simply copied to the Local/Arg.  This caused
8484all subsequent operations on the Local/Arg to also affect the
8485original source of the store operation.
8486
8487Fixed a problem where a store operation to a Method Local or Arg
8488was not completed properly if the Local/Arg contained a reference
8489(from RefOf) to a named field.  The general-purpose store-to-
8490namespace-node code is now used so that this case is handled
8491automatically.
8492
8493Fixed a problem where the internal object copy routine would cause
8494a protection fault if the object being copied was a Package and
8495contained either 1) a NULL package element or 2) a nested sub-
8496package.
8497
8498Fixed a problem with the GPE initialization that resulted from an
8499ambiguity in the ACPI specification.  One section of the
8500specification states that both the address and length of the GPE
8501block must be zero if the block is not supported.  Another section
8502implies that only the address need be zero if the block is not
8503supported.  The code has been changed so that both the address and
8504the length must be non-zero to indicate a valid GPE block (i.e.,
8505if either the address or the length is zero, the GPE block is
8506invalid.)
8507
8508Code and Data Size: Current core subsystem library sizes are shown
8509below.  These are the code and data sizes for the acpica.lib
8510produced by the Microsoft Visual C++ 6.0 compiler, and these
8511values do not include any ACPI driver or OSPM code.  The debug
8512version of the code includes the debug output trace mechanism and
8513has a much larger code and data size.  Note that these values will
8514vary depending on the efficiency of the compiler and the compiler
8515options used during generation.
8516
8517  Previous Release
8518    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
8519    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
8520  Current Release:
8521    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8522    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
8523
8524
85252) Linux
8526
8527Cleaned up EC driver. Exported an external EC read/write
8528interface. By going through this, other drivers (most notably
8529sonypi) will be able to serialize access to the EC.
8530
8531
85323) iASL Compiler/Disassembler
8533
8534Implemented support to optionally generate include files for both
8535ASM and C (the -i switch).  This simplifies BIOS development by
8536automatically creating include files that contain external
8537declarations for the symbols that are created within the
8538
8539(optionally generated) ASM and C AML source files.
8540
8541
8542----------------------------------------
854315 November 2002.  Summary of changes for version 20021115.
8544
85451) ACPI CA Core Subsystem:
8546
8547Fixed a memory leak problem where an error during resolution of
8548
8549method arguments during a method invocation from another method
8550failed to cleanup properly by deleting all successfully resolved
8551argument objects.
8552
8553Fixed a problem where the target of the Index() operator was not
8554correctly constructed if the source object was a package.  This
8555problem has not been detected because the use of a target operand
8556with Index() is very rare.
8557
8558Fixed a problem with the Index() operator where an attempt was
8559made to delete the operand objects twice.
8560
8561Fixed a problem where an attempt was made to delete an operand
8562twice during execution of the CondRefOf() operator if the target
8563did not exist.
8564
8565Implemented the first of perhaps several internal create object
8566functions that create and initialize a specific object type.  This
8567consolidates duplicated code wherever the object is created, thus
8568shrinking the size of the subsystem.
8569
8570Implemented improved debug/error messages for errors that occur
8571during nested method invocations.  All executing method pathnames
8572are displayed (with the error) as the call stack is unwound - thus
8573simplifying debug.
8574
8575Fixed a problem introduced in the 10/02 release that caused
8576premature deletion of a buffer object if a buffer was used as an
8577ASL operand where an integer operand is required (Thus causing an
8578implicit object conversion from Buffer to Integer.)  The change in
8579the 10/02 release was attempting to fix a memory leak (albeit
8580incorrectly.)
8581
8582Code and Data Size: Current core subsystem library sizes are shown
8583below.  These are the code and data sizes for the acpica.lib
8584produced by the Microsoft Visual C++ 6.0 compiler, and these
8585values do not include any ACPI driver or OSPM code.  The debug
8586version of the code includes the debug output trace mechanism and
8587has a much larger code and data size.  Note that these values will
8588vary depending on the efficiency of the compiler and the compiler
8589options used during generation.
8590
8591  Previous Release
8592    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8593    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8594  Current Release:
8595    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
8596    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
8597
8598
85992) Linux
8600
8601Changed the implementation of the ACPI semaphores to use down()
8602instead of down_interruptable().  It is important that the
8603execution of ACPI control methods not be interrupted by signals.
8604Methods must run to completion, or the system may be left in an
8605unknown/unstable state.
8606
8607Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
8608(Shawn Starr)
8609
8610
86113) iASL Compiler/Disassembler
8612
8613
8614Changed the default location of output files.  All output files
8615are now placed in the current directory by default instead of in
8616the directory of the source file.  This change may affect some
8617existing makefiles, but it brings the behavior of the compiler in
8618line with other similar tools.  The location of the output files
8619can be overridden with the -p command line switch.
8620
8621
8622----------------------------------------
862311 November 2002.  Summary of changes for version 20021111.
8624
8625
86260) ACPI Specification 2.0B is released and is now available at:
8627http://www.acpi.info/index.html
8628
8629
86301) ACPI CA Core Subsystem:
8631
8632Implemented support for the ACPI 2.0 SMBus Operation Regions.
8633This includes the early detection and handoff of the request to
8634the SMBus region handler (avoiding all of the complex field
8635support code), and support for the bidirectional return packet
8636from an SMBus write operation.  This paves the way for the
8637development of SMBus drivers in each host operating system.
8638
8639Fixed a problem where the semaphore WAIT_FOREVER constant was
8640defined as 32 bits, but must be 16 bits according to the ACPI
8641specification.  This had the side effect of causing ASL
8642Mutex/Event timeouts even though the ASL code requested a wait
8643forever.  Changed all internal references to the ACPI timeout
8644parameter to 16 bits to prevent future problems.  Changed the name
8645of WAIT_FOREVER to ACPI_WAIT_FOREVER.
8646
8647Code and Data Size: Current core subsystem library sizes are shown
8648below.  These are the code and data sizes for the acpica.lib
8649produced by the Microsoft Visual C++ 6.0 compiler, and these
8650values do not include any ACPI driver or OSPM code.  The debug
8651version of the code includes the debug output trace mechanism and
8652has a much larger code and data size.  Note that these values will
8653vary depending on the efficiency of the compiler and the compiler
8654options used during generation.
8655
8656  Previous Release
8657    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8658    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8659  Current Release:
8660    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8661    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8662
8663
86642) Linux
8665
8666Module loading/unloading fixes (John Cagle)
8667
8668
86693) iASL Compiler/Disassembler
8670
8671Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
8672
8673Implemented support for the disassembly of all SMBus protocol
8674keywords (SMBQuick, SMBWord, etc.)
8675
8676----------------------------------------
867701 November 2002.  Summary of changes for version 20021101.
8678
8679
86801) ACPI CA Core Subsystem:
8681
8682Fixed a problem where platforms that have a GPE1 block but no GPE0
8683block were not handled correctly.  This resulted in a "GPE
8684overlap" error message.  GPE0 is no longer required.
8685
8686Removed code added in the previous release that inserted nodes
8687into the namespace in alphabetical order.  This caused some side-
8688effects on various machines.  The root cause of the problem is
8689still under investigation since in theory, the internal ordering
8690of the namespace nodes should not matter.
8691
8692
8693Enhanced error reporting for the case where a named object is not
8694found during control method execution.  The full ACPI namepath
8695(name reference) of the object that was not found is displayed in
8696this case.
8697
8698Note: as a result of the overhaul of the namespace object types in
8699the previous release, the namespace nodes for the predefined
8700scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
8701instead of ACPI_TYPE_ANY.  This simplifies the namespace
8702management code but may affect code that walks the namespace tree
8703looking for specific object types.
8704
8705Code and Data Size: Current core subsystem library sizes are shown
8706below.  These are the code and data sizes for the acpica.lib
8707produced by the Microsoft Visual C++ 6.0 compiler, and these
8708values do not include any ACPI driver or OSPM code.  The debug
8709version of the code includes the debug output trace mechanism and
8710has a much larger code and data size.  Note that these values will
8711vary depending on the efficiency of the compiler and the compiler
8712options used during generation.
8713
8714  Previous Release
8715    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8716    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8717  Current Release:
8718    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8719    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8720
8721
87222) Linux
8723
8724Fixed a problem introduced in the previous release where the
8725Processor and Thermal objects were not recognized and installed in
8726/proc.  This was related to the scope type change described above.
8727
8728
87293) iASL Compiler/Disassembler
8730
8731Implemented the -g option to get all of the required ACPI tables
8732from the registry and save them to files (Windows version of the
8733compiler only.)  The required tables are the FADT, FACS, and DSDT.
8734
8735Added ACPI table checksum validation during table disassembly in
8736order to catch corrupted tables.
8737
8738
8739----------------------------------------
874022 October 2002.  Summary of changes for version 20021022.
8741
87421) ACPI CA Core Subsystem:
8743
8744Implemented a restriction on the Scope operator that the target
8745must already exist in the namespace at the time the operator is
8746encountered (during table load or method execution).  In other
8747words, forward references are not allowed and Scope() cannot
8748create a new object. This changes the previous behavior where the
8749interpreter would create the name if not found.  This new behavior
8750correctly enables the search-to-root algorithm during namespace
8751lookup of the target name.  Because of this upsearch, this fixes
8752the known Compaq _SB_.OKEC problem and makes both the AML
8753interpreter and iASL compiler compatible with other ACPI
8754implementations.
8755
8756Completed a major overhaul of the internal ACPI object types for
8757the ACPI Namespace and the associated operand objects.  Many of
8758these types had become obsolete with the introduction of the two-
8759pass namespace load.  This cleanup simplifies the code and makes
8760the entire namespace load mechanism much clearer and easier to
8761understand.
8762
8763Improved debug output for tracking scope opening/closing to help
8764diagnose scoping issues.  The old scope name as well as the new
8765scope name are displayed.  Also improved error messages for
8766problems with ASL Mutex objects and error messages for GPE
8767problems.
8768
8769Cleaned up the namespace dump code, removed obsolete code.
8770
8771All string output (for all namespace/object dumps) now uses the
8772common ACPI string output procedure which handles escapes properly
8773and does not emit non-printable characters.
8774
8775Fixed some issues with constants in the 64-bit version of the
8776local C library (utclib.c)
8777
8778
87792) Linux
8780
8781EC Driver:  No longer attempts to acquire the Global Lock at
8782interrupt level.
8783
8784
87853) iASL Compiler/Disassembler
8786
8787Implemented ACPI 2.0B grammar change that disallows all Type 1 and
87882 opcodes outside of a control method.  This means that the
8789"executable" operators (versus the "namespace" operators) cannot
8790be used at the table level; they can only be used within a control
8791method.
8792
8793Implemented the restriction on the Scope() operator where the
8794target must already exist in the namespace at the time the
8795operator is encountered (during ASL compilation). In other words,
8796forward references are not allowed and Scope() cannot create a new
8797object.  This makes the iASL compiler compatible with other ACPI
8798implementations and makes the Scope() implementation adhere to the
8799ACPI specification.
8800
8801Fixed a problem where namepath optimization for the Alias operator
8802was optimizing the wrong path (of the two namepaths.)  This caused
8803a "Missing alias link" error message.
8804
8805Fixed a problem where an "unknown reserved name" warning could be
8806incorrectly generated for names like "_SB" when the trailing
8807underscore is not used in the original ASL.
8808
8809Fixed a problem where the reserved name check did not handle
8810NamePaths with multiple NameSegs correctly.  The first nameseg of
8811the NamePath was examined instead of the last NameSeg.
8812
8813
8814----------------------------------------
8815
881602 October 2002.  Summary of changes for this release.
8817
8818
88191) ACPI CA Core Subsystem version 20021002:
8820
8821Fixed a problem where a store/copy of a string to an existing
8822string did not always set the string length properly in the String
8823object.
8824
8825Fixed a reported problem with the ToString operator where the
8826behavior was identical to the ToHexString operator instead of just
8827simply converting a raw buffer to a string data type.
8828
8829Fixed a problem where CopyObject and the other "explicit"
8830conversion operators were not updating the internal namespace node
8831type as part of the store operation.
8832
8833Fixed a memory leak during implicit source operand conversion
8834where the original object was not deleted if it was converted to a
8835new object of a different type.
8836
8837Enhanced error messages for all problems associated with namespace
8838lookups.  Common procedure generates and prints the lookup name as
8839well as the formatted status.
8840
8841Completed implementation of a new design for the Alias support
8842within the namespace.  The existing design did not handle the case
8843where a new object was assigned to one of the two names due to the
8844use of an explicit conversion operator, resulting in the two names
8845pointing to two different objects.  The new design simply points
8846the Alias name to the original name node - not to the object.
8847This results in a level of indirection that must be handled in the
8848name resolution mechanism.
8849
8850Code and Data Size: Current core subsystem library sizes are shown
8851below.  These are the code and data sizes for the acpica.lib
8852produced by the Microsoft Visual C++ 6.0 compiler, and these
8853values do not include any ACPI driver or OSPM code.  The debug
8854version of the code includes the debug output trace mechanism and
8855has a larger code and data size.  Note that these values will vary
8856depending on the efficiency of the compiler and the compiler
8857options used during generation.
8858
8859  Previous Release
8860    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8861    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8862  Current Release:
8863    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8864    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8865
8866
88672) Linux
8868
8869Initialize thermal driver's timer before it is used. (Knut
8870Neumann)
8871
8872Allow handling negative celsius values. (Kochi Takayoshi)
8873
8874Fix thermal management and make trip points. R/W (Pavel Machek)
8875
8876Fix /proc/acpi/sleep. (P. Christeas)
8877
8878IA64 fixes. (David Mosberger)
8879
8880Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
8881
8882Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
8883Brodowski)
8884
8885
88863) iASL Compiler/Disassembler
8887
8888Clarified some warning/error messages.
8889
8890
8891----------------------------------------
889218 September 2002.  Summary of changes for this release.
8893
8894
88951) ACPI CA Core Subsystem version 20020918:
8896
8897Fixed a reported problem with reference chaining (via the Index()
8898and RefOf() operators) in the ObjectType() and SizeOf() operators.
8899The definition of these operators includes the dereferencing of
8900all chained references to return information on the base object.
8901
8902Fixed a problem with stores to indexed package elements - the
8903existing code would not complete the store if an "implicit
8904conversion" was not performed.  In other words, if the existing
8905object (package element) was to be replaced completely, the code
8906didn't handle this case.
8907
8908Relaxed typechecking on the ASL "Scope" operator to allow the
8909target name to refer to an object of type Integer, String, or
8910Buffer, in addition to the scoping object types (Device,
8911predefined Scopes, Processor, PowerResource, and ThermalZone.)
8912This allows existing AML code that has workarounds for a bug in
8913Windows to function properly.  A warning is issued, however.  This
8914affects both the AML interpreter and the iASL compiler. Below is
8915an example of this type of ASL code:
8916
8917      Name(DEB,0x00)
8918      Scope(DEB)
8919      {
8920
8921Fixed some reported problems with 64-bit integer support in the
8922local implementation of C library functions (clib.c)
8923
8924
89252) Linux
8926
8927Use ACPI fix map region instead of IOAPIC region, since it is
8928undefined in non-SMP.
8929
8930Ensure that the SCI has the proper polarity and trigger, even on
8931systems that do not have an interrupt override entry in the MADT.
8932
89332.5 big driver reorganization (Pat Mochel)
8934
8935Use early table mapping code from acpitable.c (Andi Kleen)
8936
8937New blacklist entries (Andi Kleen)
8938
8939Blacklist improvements. Split blacklist code out into a separate
8940file. Move checking the blacklist to very early. Previously, we
8941would use ACPI tables, and then halfway through init, check the
8942blacklist -- too late. Now, it's early enough to completely fall-
8943back to non-ACPI.
8944
8945
89463) iASL Compiler/Disassembler version 20020918:
8947
8948Fixed a problem where the typechecking code didn't know that an
8949alias could point to a method.  In other words, aliases were not
8950being dereferenced during typechecking.
8951
8952
8953----------------------------------------
895429 August 2002.  Summary of changes for this release.
8955
89561) ACPI CA Core Subsystem Version 20020829:
8957
8958If the target of a Scope() operator already exists, it must be an
8959object type that actually opens a scope -- such as a Device,
8960Method, Scope, etc.  This is a fatal runtime error.  Similar error
8961check has been added to the iASL compiler also.
8962
8963Tightened up the namespace load to disallow multiple names in the
8964same scope.  This previously was allowed if both objects were of
8965the same type.  (i.e., a lookup was the same as entering a new
8966name).
8967
8968
89692) Linux
8970
8971Ensure that the ACPI interrupt has the proper trigger and
8972polarity.
8973
8974local_irq_disable is extraneous. (Matthew Wilcox)
8975
8976Make "acpi=off" actually do what it says, and not use the ACPI
8977interpreter *or* the tables.
8978
8979Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
8980Takayoshi)
8981
8982
89833) iASL Compiler/Disassembler  Version 20020829:
8984
8985Implemented namepath optimization for name declarations.  For
8986example, a declaration like "Method (\_SB_.ABCD)" would get
8987optimized to "Method (ABCD)" if the declaration is within the
8988\_SB_ scope.  This optimization is in addition to the named
8989reference path optimization first released in the previous
8990version. This would seem to complete all possible optimizations
8991for namepaths within the ASL/AML.
8992
8993If the target of a Scope() operator already exists, it must be an
8994object type that actually opens a scope -- such as a Device,
8995Method, Scope, etc.
8996
8997Implemented a check and warning for unreachable code in the same
8998block below a Return() statement.
8999
9000Fixed a problem where the listing file was not generated if the
9001compiler aborted if the maximum error count was exceeded (200).
9002
9003Fixed a problem where the typechecking of method return values was
9004broken.  This includes the check for a return value when the
9005method is invoked as a TermArg (a return value is expected.)
9006
9007Fixed a reported problem where EOF conditions during a quoted
9008string or comment caused a fault.
9009
9010
9011----------------------------------------
901215 August 2002.  Summary of changes for this release.
9013
90141) ACPI CA Core Subsystem Version 20020815:
9015
9016Fixed a reported problem where a Store to a method argument that
9017contains a reference did not perform the indirect store correctly.
9018This problem was created during the conversion to the new
9019reference object model - the indirect store to a method argument
9020code was not updated to reflect the new model.
9021
9022Reworked the ACPI mode change code to better conform to ACPI 2.0,
9023handle corner cases, and improve code legibility (Kochi Takayoshi)
9024
9025Fixed a problem with the pathname parsing for the carat (^)
9026prefix.  The heavy use of the carat operator by the new namepath
9027optimization in the iASL compiler uncovered a problem with the AML
9028interpreter handling of this prefix.  In the case where one or
9029more carats precede a single nameseg, the nameseg was treated as
9030standalone and the search rule (to root) was inadvertently
9031applied.  This could cause both the iASL compiler and the
9032interpreter to find the wrong object or to miss the error that
9033should occur if the object does not exist at that exact pathname.
9034
9035Found and fixed the problem where the HP Pavilion DSDT would not
9036load.  This was a relatively minor tweak to the table loading code
9037(a problem caused by the unexpected encounter with a method
9038invocation not within a control method), but it does not solve the
9039overall issue of the execution of AML code at the table level.
9040This investigation is still ongoing.
9041
9042Code and Data Size: Current core subsystem library sizes are shown
9043below.  These are the code and data sizes for the acpica.lib
9044produced by the Microsoft Visual C++ 6.0 compiler, and these
9045values do not include any ACPI driver or OSPM code.  The debug
9046version of the code includes the debug output trace mechanism and
9047has a larger code and data size.  Note that these values will vary
9048depending on the efficiency of the compiler and the compiler
9049options used during generation.
9050
9051  Previous Release
9052    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
9053    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
9054  Current Release:
9055    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
9056    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
9057
9058
90592) Linux
9060
9061Remove redundant slab.h include (Brad Hards)
9062
9063Fix several bugs in thermal.c (Herbert Nachtnebel)
9064
9065Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
9066
9067Change acpi_system_suspend to use updated irq functions (Pavel
9068Machek)
9069
9070Export acpi_get_firmware_table (Matthew Wilcox)
9071
9072Use proper root proc entry for ACPI (Kochi Takayoshi)
9073
9074Fix early-boot table parsing (Bjorn Helgaas)
9075
9076
90773) iASL Compiler/Disassembler
9078
9079Reworked the compiler options to make them more consistent and to
9080use two-letter options where appropriate.  We were running out of
9081sensible letters.   This may break some makefiles, so check the
9082current options list by invoking the compiler with no parameters.
9083
9084Completed the design and implementation of the ASL namepath
9085optimization option for the compiler.  This option optimizes all
9086references to named objects to the shortest possible path.  The
9087first attempt tries to utilize a single nameseg (4 characters) and
9088the "search-to-root" algorithm used by the interpreter.  If that
9089cannot be used (because either the name is not in the search path
9090or there is a conflict with another object with the same name),
9091the pathname is optimized using the carat prefix (usually a
9092shorter string than specifying the entire path from the root.)
9093
9094Implemented support to obtain the DSDT from the Windows registry
9095(when the disassembly option is specified with no input file).
9096Added this code as the implementation for AcpiOsTableOverride in
9097the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
9098utility) to scan memory for the DSDT to the AcpiOsTableOverride
9099function in the DOS OSL to make the disassembler truly OS
9100independent.
9101
9102Implemented a new option to disassemble and compile in one step.
9103When used without an input filename, this option will grab the
9104DSDT from the local machine, disassemble it, and compile it in one
9105step.
9106
9107Added a warning message for invalid escapes (a backslash followed
9108by any character other than the allowable escapes).  This catches
9109the quoted string error "\_SB_" (which should be "\\_SB_" ).
9110
9111Also, there are numerous instances in the ACPI specification where
9112this error occurs.
9113
9114Added a compiler option to disable all optimizations.  This is
9115basically the "compatibility mode" because by using this option,
9116the AML code will come out exactly the same as other ASL
9117compilers.
9118
9119Added error messages for incorrectly ordered dependent resource
9120functions.  This includes: missing EndDependentFn macro at end of
9121dependent resource list, nested dependent function macros (both
9122start and end), and missing StartDependentFn macro.  These are
9123common errors that should be caught at compile time.
9124
9125Implemented _OSI support for the disassembler and compiler.  _OSI
9126must be included in the namespace for proper disassembly (because
9127the disassembler must know the number of arguments.)
9128
9129Added an "optimization" message type that is optional (off by
9130default).  This message is used for all optimizations - including
9131constant folding, integer optimization, and namepath optimization.
9132
9133----------------------------------------
913425 July 2002.  Summary of changes for this release.
9135
9136
91371) ACPI CA Core Subsystem Version 20020725:
9138
9139The AML Disassembler has been enhanced to produce compilable ASL
9140code and has been integrated into the iASL compiler (see below) as
9141well as the single-step disassembly for the AML debugger and the
9142disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
9143resource templates and macros are fully supported.  The
9144disassembler has been tested on over 30 different AML files,
9145producing identical AML when the resulting disassembled ASL file
9146is recompiled with the same ASL compiler.
9147
9148Modified the Resource Manager to allow zero interrupts and zero
9149dma channels during the GetCurrentResources call.  This was
9150causing problems on some platforms.
9151
9152Added the AcpiOsRedirectOutput interface to the OSL to simplify
9153output redirection for the AcpiOsPrintf and AcpiOsVprintf
9154interfaces.
9155
9156Code and Data Size: Current core subsystem library sizes are shown
9157below.  These are the code and data sizes for the acpica.lib
9158produced by the Microsoft Visual C++ 6.0 compiler, and these
9159values do not include any ACPI driver or OSPM code.  The debug
9160version of the code includes the debug output trace mechanism and
9161has a larger code and data size.  Note that these values will vary
9162depending on the efficiency of the compiler and the compiler
9163options used during generation.
9164
9165  Previous Release
9166    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
9167    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
9168  Current Release:
9169    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
9170    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
9171
9172
91732) Linux
9174
9175Fixed a panic in the EC driver (Dominik Brodowski)
9176
9177Implemented checksum of the R/XSDT itself during Linux table scan
9178(Richard Schaal)
9179
9180
91813) iASL compiler
9182
9183The AML disassembler is integrated into the compiler.  The "-d"
9184option invokes the disassembler  to completely disassemble an
9185input AML file, producing as output a text ASL file with the
9186extension ".dsl" (to avoid name collisions with existing .asl
9187source files.)  A future enhancement will allow the disassembler
9188to obtain the BIOS DSDT from the registry under Windows.
9189
9190Fixed a problem with the VendorShort and VendorLong resource
9191descriptors where an invalid AML sequence was created.
9192
9193Implemented a fix for BufferData term in the ASL parser.  It was
9194inadvertently defined twice, allowing invalid syntax to pass and
9195causing reduction conflicts.
9196
9197Fixed a problem where the Ones opcode could get converted to a
9198value of zero if "Ones" was used where a byte, word or dword value
9199was expected.  The 64-bit value is now truncated to the correct
9200size with the correct value.
9201
9202
9203
9204----------------------------------------
920502 July 2002.  Summary of changes for this release.
9206
9207
92081) ACPI CA Core Subsystem Version 20020702:
9209
9210The Table Manager code has been restructured to add several new
9211features.  Tables that are not required by the core subsystem
9212(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
9213validated in any way and are returned from AcpiGetFirmwareTable if
9214requested.  The AcpiOsTableOverride interface is now called for
9215each table that is loaded by the subsystem in order to allow the
9216host to override any table it chooses.  Previously, only the DSDT
9217could be overridden.  Added one new files, tbrsdt.c and
9218tbgetall.c.
9219
9220Fixed a problem with the conversion of internal package objects to
9221external objects (when a package is returned from a control
9222method.)  The return buffer length was set to zero instead of the
9223proper length of the package object.
9224
9225Fixed a reported problem with the use of the RefOf and DeRefOf
9226operators when passing reference arguments to control methods.  A
9227new type of Reference object is used internally for references
9228produced by the RefOf operator.
9229
9230Added additional error messages in the Resource Manager to explain
9231AE_BAD_DATA errors when they occur during resource parsing.
9232
9233Split the AcpiEnableSubsystem into two primitives to enable a
9234finer granularity initialization sequence.  These two calls should
9235be called in this order: AcpiEnableSubsystem (flags),
9236AcpiInitializeObjects (flags).  The flags parameter remains the
9237same.
9238
9239
92402) Linux
9241
9242Updated the ACPI utilities module to understand the new style of
9243fully resolved package objects that are now returned from the core
9244subsystem.  This eliminates errors of the form:
9245
9246    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
9247    acpi_utils-0430 [145] acpi_evaluate_reference:
9248        Invalid element in package (not a device reference)
9249
9250The method evaluation utility uses the new buffer allocation
9251scheme instead of calling AcpiEvaluate Object twice.
9252
9253Added support for ECDT. This allows the use of the Embedded
9254
9255Controller before the namespace has been fully initialized, which
9256is necessary for ACPI 2.0 support, and for some laptops to
9257initialize properly. (Laptops using ECDT are still rare, so only
9258limited testing was performed of the added functionality.)
9259
9260Fixed memory leaks in the EC driver.
9261
9262Eliminated a brittle code structure in acpi_bus_init().
9263
9264Eliminated the acpi_evaluate() helper function in utils.c. It is
9265no longer needed since acpi_evaluate_object can optionally
9266allocate memory for the return object.
9267
9268Implemented fix for keyboard hang when getting battery readings on
9269some systems (Stephen White)
9270
9271PCI IRQ routing update (Dominik Brodowski)
9272
9273Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
9274support
9275
9276----------------------------------------
927711 June 2002.  Summary of changes for this release.
9278
9279
92801) ACPI CA Core Subsystem Version 20020611:
9281
9282Fixed a reported problem where constants such as Zero and One
9283appearing within _PRT packages were not handled correctly within
9284the resource manager code.  Originally reported against the ASL
9285compiler because the code generator now optimizes integers to
9286their minimal AML representation (i.e. AML constants if possible.)
9287The _PRT code now handles all AML constant opcodes correctly
9288(Zero, One, Ones, Revision).
9289
9290Fixed a problem with the Concatenate operator in the AML
9291interpreter where a buffer result object was incorrectly marked as
9292not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
9293
9294All package sub-objects are now fully resolved before they are
9295returned from the external ACPI interfaces.  This means that name
9296strings are resolved to object handles, and constant operators
9297(Zero, One, Ones, Revision) are resolved to Integers.
9298
9299Implemented immediate resolution of the AML Constant opcodes
9300(Zero, One, Ones, Revision) to Integer objects upon detection
9301within the AML stream. This has simplified and reduced the
9302generated code size of the subsystem by eliminating about 10
9303switch statements for these constants (which previously were
9304contained in Reference objects.)  The complicating issues are that
9305the Zero opcode is used as a "placeholder" for unspecified
9306optional target operands and stores to constants are defined to be
9307no-ops.
9308
9309Code and Data Size: Current core subsystem library sizes are shown
9310below. These are the code and data sizes for the acpica.lib
9311produced by the Microsoft Visual C++ 6.0 compiler, and these
9312values do not include any ACPI driver or OSPM code.  The debug
9313version of the code includes the debug output trace mechanism and
9314has a larger code and data size.  Note that these values will vary
9315depending on the efficiency of the compiler and the compiler
9316options used during generation.
9317
9318  Previous Release
9319    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
9320    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
9321  Current Release:
9322    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
9323    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
9324
9325
93262) Linux
9327
9328
9329Added preliminary support for obtaining _TRA data for PCI root
9330bridges (Bjorn Helgaas).
9331
9332
93333) iASL Compiler Version X2046:
9334
9335Fixed a problem where the "_DDN" reserved name was defined to be a
9336control method with one argument.  There are no arguments, and
9337_DDN does not have to be a control method.
9338
9339Fixed a problem with the Linux version of the compiler where the
9340source lines printed with error messages were the wrong lines.
9341This turned out to be the "LF versus CR/LF" difference between
9342Windows and Unix.  This appears to be the longstanding issue
9343concerning listing output and error messages.
9344
9345Fixed a problem with the Linux version of compiler where opcode
9346names within error messages were wrong.  This was caused by a
9347slight difference in the output of the Flex tool on Linux versus
9348Windows.
9349
9350Fixed a problem with the Linux compiler where the hex output files
9351contained some garbage data caused by an internal buffer overrun.
9352
9353
9354----------------------------------------
935517 May 2002.  Summary of changes for this release.
9356
9357
93581) ACPI CA Core Subsystem Version 20020517:
9359
9360Implemented a workaround to an BIOS bug discovered on the HP
9361OmniBook where the FADT revision number and the table size are
9362inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
9363behavior is to fallback to using only the ACPI 1.0 fields of the
9364FADT if the table is too small to be a ACPI 2.0 table as claimed
9365by the revision number.  Although this is a BIOS bug, this is a
9366case where the workaround is simple enough and with no side
9367effects, so it seemed prudent to add it.  A warning message is
9368issued, however.
9369
9370Implemented minimum size checks for the fixed-length ACPI tables -
9371- the FADT and FACS, as well as consistency checks between the
9372revision number and the table size.
9373
9374Fixed a reported problem in the table override support where the
9375new table pointer was incorrectly treated as a physical address
9376instead of a logical address.
9377
9378Eliminated the use of the AE_AML_ERROR exception and replaced it
9379with more descriptive codes.
9380
9381Fixed a problem where an exception would occur if an ASL Field was
9382defined with no named Field Units underneath it (used by some
9383index fields).
9384
9385Code and Data Size: Current core subsystem library sizes are shown
9386below.  These are the code and data sizes for the acpica.lib
9387produced by the Microsoft Visual C++ 6.0 compiler, and these
9388values do not include any ACPI driver or OSPM code.  The debug
9389version of the code includes the debug output trace mechanism and
9390has a larger code and data size.  Note that these values will vary
9391depending on the efficiency of the compiler and the compiler
9392options used during generation.
9393
9394  Previous Release
9395    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
9396    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
9397  Current Release:
9398    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
9399    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
9400
9401
9402
94032) Linux
9404
9405Much work done on ACPI init (MADT and PCI IRQ routing support).
9406(Paul D. and Dominik Brodowski)
9407
9408Fix PCI IRQ-related panic on boot (Sam Revitch)
9409
9410Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
9411
9412Fix "MHz" typo (Dominik Brodowski)
9413
9414Fix RTC year 2000 issue (Dominik Brodowski)
9415
9416Preclude multiple button proc entries (Eric Brunet)
9417
9418Moved arch-specific code out of include/platform/aclinux.h
9419
94203) iASL Compiler Version X2044:
9421
9422Implemented error checking for the string used in the EISAID macro
9423(Usually used in the definition of the _HID object.)  The code now
9424strictly enforces the PnP format - exactly 7 characters, 3
9425uppercase letters and 4 hex digits.
9426
9427If a raw string is used in the definition of the _HID object
9428(instead of the EISAID macro), the string must contain all
9429alphanumeric characters (e.g., "*PNP0011" is not allowed because
9430of the asterisk.)
9431
9432Implemented checking for invalid use of ACPI reserved names for
9433most of the name creation operators (Name, Device, Event, Mutex,
9434OperationRegion, PowerResource, Processor, and ThermalZone.)
9435Previously, this check was only performed for control methods.
9436
9437Implemented an additional check on the Name operator to emit an
9438error if a reserved name that must be implemented in ASL as a
9439control method is used.  We know that a reserved name must be a
9440method if it is defined with input arguments.
9441
9442The warning emitted when a namespace object reference is not found
9443during the cross reference phase has been changed into an error.
9444The "External" directive should be used for names defined in other
9445modules.
9446
9447
94484) Tools and Utilities
9449
9450The 16-bit tools (adump16 and aexec16) have been regenerated and
9451tested.
9452
9453Fixed a problem with the output of both acpidump and adump16 where
9454the indentation of closing parentheses and brackets was not
9455
9456aligned properly with the parent block.
9457
9458
9459----------------------------------------
946003 May 2002.  Summary of changes for this release.
9461
9462
94631) ACPI CA Core Subsystem Version 20020503:
9464
9465Added support a new OSL interface that allows the host operating
9466
9467system software to override the DSDT found in the firmware -
9468AcpiOsTableOverride.  With this interface, the OSL can examine the
9469version of the firmware DSDT and replace it with a different one
9470if desired.
9471
9472Added new external interfaces for accessing ACPI registers from
9473device drivers and other system software - AcpiGetRegister and
9474AcpiSetRegister.  This was simply an externalization of the
9475existing AcpiHwBitRegister interfaces.
9476
9477Fixed a regression introduced in the previous build where the
9478ASL/AML CreateField operator always returned an error,
9479"destination must be a NS Node".
9480
9481Extended the maximum time (before failure) to successfully enable
9482ACPI mode to 3 seconds.
9483
9484Code and Data Size: Current core subsystem library sizes are shown
9485below.  These are the code and data sizes for the acpica.lib
9486produced by the Microsoft Visual C++ 6.0 compiler, and these
9487values do not include any ACPI driver or OSPM code.  The debug
9488version of the code includes the debug output trace mechanism and
9489has a larger code and data size.  Note that these values will vary
9490depending on the efficiency of the compiler and the compiler
9491options used during generation.
9492
9493  Previous Release
9494    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9495    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9496  Current Release:
9497    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
9498    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
9499
9500
95012) Linux
9502
9503Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
9504free. While 3 out of 4 of our in-house systems work fine, the last
9505one still hangs when testing the LAPIC timer.
9506
9507Renamed many files in 2.5 kernel release to omit "acpi_" from the
9508name.
9509
9510Added warning on boot for Presario 711FR.
9511
9512Sleep improvements (Pavel Machek)
9513
9514ACPI can now be built without CONFIG_PCI enabled.
9515
9516IA64: Fixed memory map functions (JI Lee)
9517
9518
95193) iASL Compiler Version X2043:
9520
9521Added support to allow the compiler to be integrated into the MS
9522VC++ development environment for one-button compilation of single
9523files or entire projects -- with error-to-source-line mapping.
9524
9525Implemented support for compile-time constant folding for the
9526Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
9527specification.  This allows the ASL writer to use expressions
9528instead of Integer/Buffer/String constants in terms that must
9529evaluate to constants at compile time and will also simplify the
9530emitted AML in any such sub-expressions that can be folded
9531(evaluated at compile-time.)  This increases the size of the
9532compiler significantly because a portion of the ACPI CA AML
9533interpreter is included within the compiler in order to pre-
9534evaluate constant expressions.
9535
9536
9537Fixed a problem with the "Unicode" ASL macro that caused the
9538compiler to fault.  (This macro is used in conjunction with the
9539_STR reserved name.)
9540
9541Implemented an AML opcode optimization to use the Zero, One, and
9542Ones opcodes where possible to further reduce the size of integer
9543constants and thus reduce the overall size of the generated AML
9544code.
9545
9546Implemented error checking for new reserved terms for ACPI version
95472.0A.
9548
9549Implemented the -qr option to display the current list of ACPI
9550reserved names known to the compiler.
9551
9552Implemented the -qc option to display the current list of ASL
9553operators that are allowed within constant expressions and can
9554therefore be folded at compile time if the operands are constants.
9555
9556
95574) Documentation
9558
9559Updated the Programmer's Reference for new interfaces, data types,
9560and memory allocation model options.
9561
9562Updated the iASL Compiler User Reference to apply new format and
9563add information about new features and options.
9564
9565----------------------------------------
956619 April 2002.  Summary of changes for this release.
9567
95681) ACPI CA Core Subsystem Version 20020419:
9569
9570The source code base for the Core Subsystem has been completely
9571cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
9572versions.  The Lint option files used are included in the
9573/acpi/generate/lint directory.
9574
9575Implemented enhanced status/error checking across the entire
9576Hardware manager subsystem.  Any hardware errors (reported from
9577the OSL) are now bubbled up and will abort a running control
9578method.
9579
9580
9581Fixed a problem where the per-ACPI-table integer width (32 or 64)
9582was stored only with control method nodes, causing a fault when
9583non-control method code was executed during table loading.  The
9584solution implemented uses a global variable to indicate table
9585width across the entire ACPI subsystem.  Therefore, ACPI CA does
9586not support mixed integer widths across different ACPI tables
9587(DSDT, SSDT).
9588
9589Fixed a problem where NULL extended fields (X fields) in an ACPI
95902.0 ACPI FADT caused the table load to fail.  Although the
9591existing ACPI specification is a bit fuzzy on this topic, the new
9592behavior is to fall back on a ACPI 1.0 field if the corresponding
9593ACPI 2.0 X field is zero (even though the table revision indicates
9594a full ACPI 2.0 table.)  The ACPI specification will be updated to
9595clarify this issue.
9596
9597Fixed a problem with the SystemMemory operation region handler
9598where memory was always accessed byte-wise even if the AML-
9599specified access width was larger than a byte.  This caused
9600problems on systems with memory-mapped I/O.  Memory is now
9601accessed with the width specified.  On systems that do not support
9602non-aligned transfers, a check is made to guarantee proper address
9603alignment before proceeding in order to avoid an AML-caused
9604alignment fault within the kernel.
9605
9606
9607Fixed a problem with the ExtendedIrq resource where only one byte
9608of the 4-byte Irq field was extracted.
9609
9610Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
9611function was out of date and required a rewrite.
9612
9613Code and Data Size: Current core subsystem library sizes are shown
9614below.  These are the code and data sizes for the acpica.lib
9615produced by the Microsoft Visual C++ 6.0 compiler, and these
9616values do not include any ACPI driver or OSPM code.  The debug
9617version of the code includes the debug output trace mechanism and
9618has a larger code and data size.  Note that these values will vary
9619depending on the efficiency of the compiler and the compiler
9620options used during generation.
9621
9622  Previous Release
9623    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9624    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9625  Current Release:
9626    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9627    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9628
9629
96302) Linux
9631
9632PCI IRQ routing fixes (Dominik Brodowski)
9633
9634
96353) iASL Compiler Version X2042:
9636
9637Implemented an additional compile-time error check for a field
9638unit whose size + minimum access width would cause a run-time
9639access beyond the end-of-region.  Previously, only the field size
9640itself was checked.
9641
9642The Core subsystem and iASL compiler now share a common parse
9643object in preparation for compile-time evaluation of the type
96443/4/5 ASL operators.
9645
9646
9647----------------------------------------
9648Summary of changes for this release: 03_29_02
9649
96501) ACPI CA Core Subsystem Version 20020329:
9651
9652Implemented support for late evaluation of TermArg operands to
9653Buffer and Package objects.  This allows complex expressions to be
9654used in the declarations of these object types.
9655
9656Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
96571.0, if the field was larger than 32 bits, it was returned as a
9658buffer - otherwise it was returned as an integer.  In ACPI 2.0,
9659the field is returned as a buffer only if the field is larger than
966064 bits.  The TableRevision is now considered when making this
9661conversion to avoid incompatibility with existing ASL code.
9662
9663Implemented logical addressing for AcpiOsGetRootPointer.  This
9664allows an RSDP with either a logical or physical address.  With
9665this support, the host OS can now override all ACPI tables with
9666one logical RSDP.  Includes implementation of  "typed" pointer
9667support to allow a common data type for both physical and logical
9668pointers internally.  This required a change to the
9669AcpiOsGetRootPointer interface.
9670
9671Implemented the use of ACPI 2.0 Generic Address Structures for all
9672GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
9673mapped I/O for these ACPI features.
9674
9675Initialization now ignores not only non-required tables (All
9676tables other than the FADT, FACS, DSDT, and SSDTs), but also does
9677not validate the table headers of unrecognized tables.
9678
9679Fixed a problem where a notify handler could only be
9680installed/removed on an object of type Device.  All "notify"
9681
9682objects are now supported -- Devices, Processor, Power, and
9683Thermal.
9684
9685Removed most verbosity from the ACPI_DB_INFO debug level.  Only
9686critical information is returned when this debug level is enabled.
9687
9688Code and Data Size: Current core subsystem library sizes are shown
9689below.  These are the code and data sizes for the acpica.lib
9690produced by the Microsoft Visual C++ 6.0 compiler, and these
9691values do not include any ACPI driver or OSPM code.  The debug
9692version of the code includes the debug output trace mechanism and
9693has a larger code and data size.  Note that these values will vary
9694depending on the efficiency of the compiler and the compiler
9695options used during generation.
9696
9697  Previous Release
9698    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9699    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9700  Current Release:
9701    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9702    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9703
9704
97052) Linux:
9706
9707The processor driver (acpi_processor.c) now fully supports ACPI
97082.0-based processor performance control (e.g. Intel(R)
9709SpeedStep(TM) technology) Note that older laptops that only have
9710the Intel "applet" interface are not supported through this.  The
9711'limit' and 'performance' interface (/proc) are fully functional.
9712[Note that basic policy for controlling performance state
9713transitions will be included in the next version of ospmd.]  The
9714idle handler was modified to more aggressively use C2, and PIIX4
9715errata handling underwent a complete overhaul (big thanks to
9716Dominik Brodowski).
9717
9718Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
9719based devices in the ACPI namespace are now dynamically bound
9720(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
9721This allows, among other things, ACPI to resolve bus numbers for
9722subordinate PCI bridges.
9723
9724Enhanced PCI IRQ routing to get the proper bus number for _PRT
9725entries defined underneath PCI bridges.
9726
9727Added IBM 600E to bad bios list due to invalid _ADR value for
9728PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
9729
9730In the process of adding full MADT support (e.g. IOAPIC) for IA32
9731(acpi.c, mpparse.c) -- stay tuned.
9732
9733Added back visual differentiation between fixed-feature and
9734control-method buttons in dmesg.  Buttons are also subtyped (e.g.
9735button/power/PWRF) to simplify button identification.
9736
9737We no longer use -Wno-unused when compiling debug. Please ignore
9738any "_THIS_MODULE defined but not used" messages.
9739
9740Can now shut down the system using "magic sysrq" key.
9741
9742
97433) iASL Compiler version 2041:
9744
9745Fixed a problem where conversion errors for hex/octal/decimal
9746constants were not reported.
9747
9748Implemented a fix for the General Register template Address field.
9749This field was 8 bits when it should be 64.
9750
9751Fixed a problem where errors/warnings were no longer being emitted
9752within the listing output file.
9753
9754Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
9755exactly 4 characters, alphanumeric only.
9756
9757
9758
9759
9760----------------------------------------
9761Summary of changes for this release: 03_08_02
9762
9763
97641) ACPI CA Core Subsystem Version 20020308:
9765
9766Fixed a problem with AML Fields where the use of the "AccessAny"
9767keyword could cause an interpreter error due to attempting to read
9768or write beyond the end of the parent Operation Region.
9769
9770Fixed a problem in the SystemMemory Operation Region handler where
9771an attempt was made to map memory beyond the end of the region.
9772This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
9773errors on some Linux systems.
9774
9775Fixed a problem where the interpreter/namespace "search to root"
9776algorithm was not functioning for some object types.  Relaxed the
9777internal restriction on the search to allow upsearches for all
9778external object types as well as most internal types.
9779
9780
97812) Linux:
9782
9783We now use safe_halt() macro versus individual calls to sti | hlt.
9784
9785Writing to the processor limit interface should now work. "echo 1"
9786will increase the limit, 2 will decrease, and 0 will reset to the
9787
9788default.
9789
9790
97913) ASL compiler:
9792
9793Fixed segfault on Linux version.
9794
9795
9796----------------------------------------
9797Summary of changes for this release: 02_25_02
9798
97991) ACPI CA Core Subsystem:
9800
9801
9802Fixed a problem where the GPE bit masks were not initialized
9803properly, causing erratic GPE behavior.
9804
9805Implemented limited support for multiple calling conventions.  The
9806code can be generated with either the VPL (variable parameter
9807list, or "C") convention, or the FPL (fixed parameter list, or
9808"Pascal") convention.  The core subsystem is about 3.4% smaller
9809when generated with FPL.
9810
9811
98122) Linux
9813
9814Re-add some /proc/acpi/event functionality that was lost during
9815the rewrite
9816
9817Resolved issue with /proc events for fixed-feature buttons showing
9818up as the system device.
9819
9820Fixed checks on C2/C3 latencies to be inclusive of maximum values.
9821
9822Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
9823
9824Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
9825
9826Fixed limit interface & usage to fix bugs with passive cooling
9827hysterisis.
9828
9829Restructured PRT support.
9830
9831
9832----------------------------------------
9833Summary of changes for this label: 02_14_02
9834
9835
98361) ACPI CA Core Subsystem:
9837
9838Implemented support in AcpiLoadTable to allow loading of FACS and
9839FADT tables.
9840
9841Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
9842been removed.  All 64-bit platforms should be migrated to the ACPI
98432.0 tables.  The actbl71.h header has been removed from the source
9844tree.
9845
9846All C macros defined within the subsystem have been prefixed with
9847"ACPI_" to avoid collision with other system include files.
9848
9849Removed the return value for the two AcpiOsPrint interfaces, since
9850it is never used and causes lint warnings for ignoring the return
9851value.
9852
9853Added error checking to all internal mutex acquire and release
9854calls.  Although a failure from one of these interfaces is
9855probably a fatal system error, these checks will cause the
9856immediate abort of the currently executing method or interface.
9857
9858Fixed a problem where the AcpiSetCurrentResources interface could
9859fault.  This was a side effect of the deployment of the new memory
9860allocation model.
9861
9862Fixed a couple of problems with the Global Lock support introduced
9863in the last major build.  The "common" (1.0/2.0) internal FACS was
9864being overwritten with the FACS signature and clobbering the
9865Global Lock pointer.  Also, the actual firmware FACS was being
9866unmapped after construction of the "common" FACS, preventing
9867access to the actual Global Lock field within it.  The "common"
9868internal FACS is no longer installed as an actual ACPI table; it
9869is used simply as a global.
9870
9871Code and Data Size: Current core subsystem library sizes are shown
9872below.  These are the code and data sizes for the acpica.lib
9873produced by the Microsoft Visual C++ 6.0 compiler, and these
9874values do not include any ACPI driver or OSPM code.  The debug
9875version of the code includes the debug output trace mechanism and
9876has a larger code and data size.  Note that these values will vary
9877depending on the efficiency of the compiler and the compiler
9878options used during generation.
9879
9880  Previous Release (02_07_01)
9881    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9882    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9883  Current Release:
9884    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9885    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9886
9887
98882) Linux
9889
9890Updated Linux-specific code for core macro and OSL interface
9891changes described above.
9892
9893Improved /proc/acpi/event. It now can be opened only once and has
9894proper poll functionality.
9895
9896Fixed and restructured power management (acpi_bus).
9897
9898Only create /proc "view by type" when devices of that class exist.
9899
9900Fixed "charging/discharging" bug (and others) in acpi_battery.
9901
9902Improved thermal zone code.
9903
9904
99053) ASL Compiler, version X2039:
9906
9907
9908Implemented the new compiler restriction on ASL String hex/octal
9909escapes to non-null, ASCII values.  An error results if an invalid
9910value is used.  (This will require an ACPI 2.0 specification
9911change.)
9912
9913AML object labels that are output to the optional C and ASM source
9914are now prefixed with both the ACPI table signature and table ID
9915to help guarantee uniqueness within a large BIOS project.
9916
9917
9918----------------------------------------
9919Summary of changes for this label: 02_01_02
9920
99211) ACPI CA Core Subsystem:
9922
9923ACPI 2.0 support is complete in the entire Core Subsystem and the
9924ASL compiler. All new ACPI 2.0 operators are implemented and all
9925other changes for ACPI 2.0 support are complete.  With
9926simultaneous code and data optimizations throughout the subsystem,
9927ACPI 2.0 support has been implemented with almost no additional
9928cost in terms of code and data size.
9929
9930Implemented a new mechanism for allocation of return buffers.  If
9931the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
9932be allocated on behalf of the caller.  Consolidated all return
9933buffer validation and allocation to a common procedure.  Return
9934buffers will be allocated via the primary OSL allocation interface
9935since it appears that a separate pool is not needed by most users.
9936If a separate pool is required for these buffers, the caller can
9937still use the original mechanism and pre-allocate the buffer(s).
9938
9939Implemented support for string operands within the DerefOf
9940operator.
9941
9942Restructured the Hardware and Event managers to be table driven,
9943simplifying the source code and reducing the amount of generated
9944code.
9945
9946Split the common read/write low-level ACPI register bitfield
9947procedure into a separate read and write, simplifying the code
9948considerably.
9949
9950Obsoleted the AcpiOsCallocate OSL interface.  This interface was
9951used only a handful of times and didn't have enough critical mass
9952for a separate interface.  Replaced with a common calloc procedure
9953in the core.
9954
9955Fixed a reported problem with the GPE number mapping mechanism
9956that allows GPE1 numbers to be non-contiguous with GPE0.
9957Reorganized the GPE information and shrunk a large array that was
9958originally large enough to hold info for all possible GPEs (256)
9959to simply large enough to hold all GPEs up to the largest GPE
9960number on the machine.
9961
9962Fixed a reported problem with resource structure alignment on 64-
9963bit platforms.
9964
9965Changed the AcpiEnableEvent and AcpiDisableEvent external
9966interfaces to not require any flags for the common case of
9967enabling/disabling a GPE.
9968
9969Implemented support to allow a "Notify" on a Processor object.
9970
9971Most TBDs in comments within the source code have been resolved
9972and eliminated.
9973
9974
9975Fixed a problem in the interpreter where a standalone parent
9976prefix (^) was not handled correctly in the interpreter and
9977debugger.
9978
9979Removed obsolete and unnecessary GPE save/restore code.
9980
9981Implemented Field support in the ASL Load operator.  This allows a
9982table to be loaded from a named field, in addition to loading a
9983table directly from an Operation Region.
9984
9985Implemented timeout and handle support in the external Global Lock
9986interfaces.
9987
9988Fixed a problem in the AcpiDump utility where pathnames were no
9989longer being generated correctly during the dump of named objects.
9990
9991Modified the AML debugger to give a full display of if/while
9992predicates instead of just one AML opcode at a time.  (The
9993predicate can have several nested ASL statements.)  The old method
9994was confusing during single stepping.
9995
9996Code and Data Size: Current core subsystem library sizes are shown
9997below. These are the code and data sizes for the acpica.lib
9998produced by the Microsoft Visual C++ 6.0 compiler, and these
9999values do not include any ACPI driver or OSPM code.  The debug
10000version of the code includes the debug output trace mechanism and
10001has a larger code and data size.  Note that these values will vary
10002depending on the efficiency of the compiler and the compiler
10003options used during generation.
10004
10005  Previous Release (12_18_01)
10006     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
10007     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
10008   Current Release:
10009     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
10010     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
10011
100122) Linux
10013
10014 Implemented fix for PIIX reverse throttling errata (Processor
10015driver)
10016
10017Added new Limit interface (Processor and Thermal drivers)
10018
10019New thermal policy (Thermal driver)
10020
10021Many updates to /proc
10022
10023Battery "low" event support (Battery driver)
10024
10025Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
10026
10027IA32 - IA64 initialization unification, no longer experimental
10028
10029Menuconfig options redesigned
10030
100313) ASL Compiler, version X2037:
10032
10033Implemented several new output features to simplify integration of
10034AML code into  firmware: 1) Output the AML in C source code with
10035labels for each named ASL object.  The    original ASL source code
10036is interleaved as C comments. 2) Output the AML in ASM source code
10037with labels and interleaved ASL    source. 3) Output the AML in
10038raw hex table form, in either C or ASM.
10039
10040Implemented support for optional string parameters to the
10041LoadTable operator.
10042
10043Completed support for embedded escape sequences within string
10044literals.  The compiler now supports all single character escapes
10045as well as the Octal and Hex escapes.  Note: the insertion of a
10046null byte into a string literal (via the hex/octal escape) causes
10047the string to be immediately terminated.  A warning is issued.
10048
10049Fixed a problem where incorrect AML was generated for the case
10050where an ASL namepath consists of a single parent prefix (
10051
10052) with no trailing name segments.
10053
10054The compiler has been successfully generated with a 64-bit C
10055compiler.
10056
10057
10058
10059
10060----------------------------------------
10061Summary of changes for this label: 12_18_01
10062
100631) Linux
10064
10065Enhanced blacklist with reason and severity fields. Any table's
10066signature may now be used to identify a blacklisted system.
10067
10068Call _PIC control method to inform the firmware which interrupt
10069model the OS is using. Turn on any disabled link devices.
10070
10071Cleaned up busmgr /proc error handling (Andreas Dilger)
10072
10073 2) ACPI CA Core Subsystem:
10074
10075Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
10076while loop)
10077
10078Completed implementation of the ACPI 2.0 "Continue",
10079"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
10080operators.  All new ACPI 2.0 operators are now implemented in both
10081the ASL compiler and the AML interpreter.  The only remaining ACPI
100822.0 task is support for the String data type in the DerefOf
10083operator.  Fixed a problem with AcquireMutex where the status code
10084was lost if the caller had to actually wait for the mutex.
10085
10086Increased the maximum ASL Field size from 64K bits to 4G bits.
10087
10088Completed implementation of the external Global Lock interfaces --
10089AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
10090Handler parameters were added.
10091
10092Completed another pass at removing warnings and issues when
10093compiling with 64-bit compilers.  The code now compiles cleanly
10094with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
10095add and subtract (diff) macros have changed considerably.
10096
10097
10098Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1009964-bit platforms, 32-bits on all others.  This type is used
10100wherever memory allocation and/or the C sizeof() operator is used,
10101and affects the OSL memory allocation interfaces AcpiOsAllocate
10102and AcpiOsCallocate.
10103
10104Implemented sticky user breakpoints in the AML debugger.
10105
10106Code and Data Size: Current core subsystem library sizes are shown
10107below. These are the code and data sizes for the acpica.lib
10108produced by the Microsoft Visual C++ 6.0 compiler, and these
10109values do not include any ACPI driver or OSPM code.  The debug
10110version of the code includes the debug output trace mechanism and
10111has a larger code and data size. Note that these values will vary
10112depending on the efficiency of the compiler and the compiler
10113options used during generation.
10114
10115  Previous Release (12_05_01)
10116     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
10117     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
10118   Current Release:
10119     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
10120     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
10121
10122 3) ASL Compiler, version X2034:
10123
10124Now checks for (and generates an error if detected) the use of a
10125Break or Continue statement without an enclosing While statement.
10126
10127
10128Successfully generated the compiler with the Intel 64-bit C
10129compiler.
10130
10131 ----------------------------------------
10132Summary of changes for this label: 12_05_01
10133
10134 1) ACPI CA Core Subsystem:
10135
10136The ACPI 2.0 CopyObject operator is fully implemented.  This
10137operator creates a new copy of an object (and is also used to
10138bypass the "implicit conversion" mechanism of the Store operator.)
10139
10140The ACPI 2.0 semantics for the SizeOf operator are fully
10141implemented.  The change is that performing a SizeOf on a
10142reference object causes an automatic dereference of the object to
10143tha actual value before the size is evaluated. This behavior was
10144undefined in ACPI 1.0.
10145
10146The ACPI 2.0 semantics for the Extended IRQ resource descriptor
10147have been implemented.  The interrupt polarity and mode are now
10148independently set.
10149
10150Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
10151appearing in Package objects were not properly converted to
10152integers when the internal Package was converted to an external
10153object (via the AcpiEvaluateObject interface.)
10154
10155Fixed a problem with the namespace object deletion mechanism for
10156objects created by control methods.  There were two parts to this
10157problem: 1) Objects created during the initialization phase method
10158parse were not being deleted, and 2) The object owner ID mechanism
10159to track objects was broken.
10160
10161Fixed a problem where the use of the ASL Scope operator within a
10162control method would result in an invalid opcode exception.
10163
10164Fixed a problem introduced in the previous label where the buffer
10165length required for the _PRT structure was not being returned
10166correctly.
10167
10168Code and Data Size: Current core subsystem library sizes are shown
10169below. These are the code and data sizes for the acpica.lib
10170produced by the Microsoft Visual C++ 6.0 compiler, and these
10171values do not include any ACPI driver or OSPM code.  The debug
10172version of the code includes the debug output trace mechanism and
10173has a larger code and data size.  Note that these values will vary
10174depending on the efficiency of the compiler and the compiler
10175options used during generation.
10176
10177  Previous Release (11_20_01)
10178     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
10179     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
10180
10181  Current Release:
10182     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
10183     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
10184
10185 2) Linux:
10186
10187Updated all files to apply cleanly against 2.4.16.
10188
10189Added basic PCI Interrupt Routing Table (PRT) support for IA32
10190(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
10191version supports both static and dyanmic PRT entries, but dynamic
10192entries are treated as if they were static (not yet
10193reconfigurable).  Architecture- specific code to use this data is
10194absent on IA32 but should be available shortly.
10195
10196Changed the initialization sequence to start the ACPI interpreter
10197(acpi_init) prior to initialization of the PCI driver (pci_init)
10198in init/main.c.  This ordering is required to support PRT and
10199facilitate other (future) enhancement.  A side effect is that the
10200ACPI bus driver and certain device drivers can no longer be loaded
10201as modules.
10202
10203Modified the 'make menuconfig' options to allow PCI Interrupt
10204Routing support to be included without the ACPI Bus and other
10205device drivers.
10206
10207 3) ASL Compiler, version X2033:
10208
10209Fixed some issues with the use of the new CopyObject and
10210DataTableRegion operators.  Both are fully functional.
10211
10212 ----------------------------------------
10213Summary of changes for this label: 11_20_01
10214
10215 20 November 2001.  Summary of changes for this release.
10216
10217 1) ACPI CA Core Subsystem:
10218
10219Updated Index support to match ACPI 2.0 semantics.  Storing a
10220Integer, String, or Buffer to an Index of a Buffer will store only
10221the least-significant byte of the source to the Indexed buffer
10222byte.  Multiple writes are not performed.
10223
10224Fixed a problem where the access type used in an AccessAs ASL
10225operator was not recorded correctly into the field object.
10226
10227Fixed a problem where ASL Event objects were created in a
10228signalled state. Events are now created in an unsignalled state.
10229
10230The internal object cache is now purged after table loading and
10231initialization to reduce the use of dynamic kernel memory -- on
10232the assumption that object use is greatest during the parse phase
10233of the entire table (versus the run-time use of individual control
10234methods.)
10235
10236ACPI 2.0 variable-length packages are now fully operational.
10237
10238Code and Data Size: Code and Data optimizations have permitted new
10239feature development with an actual reduction in the library size.
10240Current core subsystem library sizes are shown below.  These are
10241the code and data sizes for the acpica.lib produced by the
10242Microsoft Visual C++ 6.0 compiler, and these values do not include
10243any ACPI driver or OSPM code.  The debug version of the code
10244includes the debug output trace mechanism and has a larger code
10245and data size.  Note that these values will vary depending on the
10246efficiency of the compiler and the compiler options used during
10247generation.
10248
10249  Previous Release (11_09_01):
10250     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
10251     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
10252
10253  Current Release:
10254     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
10255     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
10256
10257 2) Linux:
10258
10259Enhanced the ACPI boot-time initialization code to allow the use
10260of Local APIC tables for processor enumeration on IA-32, and to
10261pave the way for a fully MPS-free boot (on SMP systems) in the
10262near future.  This functionality replaces
10263arch/i386/kernel/acpitables.c, which was introduced in an earlier
102642.4.15-preX release.  To enable this feature you must add
10265"acpi_boot=on" to the kernel command line -- see the help entry
10266for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
10267the works...
10268
10269Restructured the configuration options to allow boot-time table
10270parsing support without inclusion of the ACPI Interpreter (and
10271other) code.
10272
10273NOTE: This release does not include fixes for the reported events,
10274power-down, and thermal passive cooling issues (coming soon).
10275
10276 3) ASL Compiler:
10277
10278Added additional typechecking for Fields within restricted access
10279Operation Regions.  All fields within EC and CMOS regions must be
10280declared with ByteAcc. All fields withing SMBus regions must be
10281declared with the BufferAcc access type.
10282
10283Fixed a problem where the listing file output of control methods
10284no longer interleaved the actual AML code with the ASL source
10285code.
10286
10287
10288
10289
10290----------------------------------------
10291Summary of changes for this label: 11_09_01
10292
102931) ACPI CA Core Subsystem:
10294
10295Implemented ACPI 2.0-defined support for writes to fields with a
10296Buffer, String, or Integer source operand that is smaller than the
10297target field. In these cases, the source operand is zero-extended
10298to fill the target field.
10299
10300Fixed a problem where a Field starting bit offset (within the
10301parent operation region) was calculated incorrectly if the
10302
10303alignment of the field differed from the access width.  This
10304affected CreateWordField, CreateDwordField, CreateQwordField, and
10305possibly other fields that use the "AccessAny" keyword.
10306
10307Fixed a problem introduced in the 11_02_01 release where indirect
10308stores through method arguments did not operate correctly.
10309
103102) Linux:
10311
10312Implemented boot-time ACPI table parsing support
10313(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
10314facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
10315legacy BIOS interfaces (e.g. MPS) for the configuration of system
10316processors, memory, and interrupts during setup_arch().  Note that
10317this patch does not include the required architecture-specific
10318changes required to apply this information -- subsequent patches
10319will be posted for both IA32 and IA64 to achieve this.
10320
10321Added low-level sleep support for IA32 platforms, courtesy of Pat
10322Mochel. This allows IA32 systems to transition to/from various
10323sleeping states (e.g. S1, S3), although the lack of a centralized
10324driver model and power-manageable drivers will prevent its
10325(successful) use on most systems.
10326
10327Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
10328submenu, unified IA32 and IA64 options, added new "Boot using ACPI
10329tables" option, etc.
10330
10331Increased the default timeout for the EC driver from 1ms to 10ms
10332(1000 cycles of 10us) to try to address AE_TIME errors during EC
10333transactions.
10334
10335 ----------------------------------------
10336Summary of changes for this label: 11_02_01
10337
103381) ACPI CA Core Subsystem:
10339
10340ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
10341(QWordAcc keyword). All ACPI 2.0 64-bit support is now
10342implemented.
10343
10344OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
10345changes to support ACPI 2.0 Qword field access.  Read/Write
10346PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
10347accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
10348the value parameter for the address space handler interface is now
10349an ACPI_INTEGER.  OSL implementations of these interfaces must now
10350handle the case where the Width parameter is 64.
10351
10352Index Fields: Fixed a problem where unaligned bit assembly and
10353disassembly for IndexFields was not supported correctly.
10354
10355Index and Bank Fields:  Nested Index and Bank Fields are now
10356supported. During field access, a check is performed to ensure
10357that the value written to an Index or Bank register is not out of
10358the range of the register.  The Index (or Bank) register is
10359written before each access to the field data. Future support will
10360include allowing individual IndexFields to be wider than the
10361DataRegister width.
10362
10363Fields: Fixed a problem where the AML interpreter was incorrectly
10364attempting to write beyond the end of a Field/OpRegion.  This was
10365a boundary case that occurred when a DWORD field was written to a
10366BYTE access OpRegion, forcing multiple writes and causing the
10367interpreter to write one datum too many.
10368
10369Fields: Fixed a problem with Field/OpRegion access where the
10370starting bit address of a field was incorrectly calculated if the
10371current access type was wider than a byte (WordAcc, DwordAcc, or
10372QwordAcc).
10373
10374Fields: Fixed a problem where forward references to individual
10375FieldUnits (individual Field names within a Field definition) were
10376not resolved during the AML table load.
10377
10378Fields: Fixed a problem where forward references from a Field
10379definition to the parent Operation Region definition were not
10380resolved during the AML table load.
10381
10382Fields: Duplicate FieldUnit names within a scope are now detected
10383during AML table load.
10384
10385Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
10386returned an incorrect name for the root node.
10387
10388Code and Data Size: Code and Data optimizations have permitted new
10389feature development with an actual reduction in the library size.
10390Current core subsystem library sizes are shown below.  These are
10391the code and data sizes for the acpica.lib produced by the
10392Microsoft Visual C++ 6.0 compiler, and these values do not include
10393any ACPI driver or OSPM code.  The debug version of the code
10394includes the debug output trace mechanism and has a larger code
10395and data size.  Note that these values will vary depending on the
10396efficiency of the compiler and the compiler options used during
10397generation.
10398
10399  Previous Release (10_18_01):
10400     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
10401     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
10402
10403  Current Release:
10404     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
10405     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
10406
10407 2) Linux:
10408
10409Improved /proc processor output (Pavel Machek) Re-added
10410MODULE_LICENSE("GPL") to all modules.
10411
10412 3) ASL Compiler version X2030:
10413
10414Duplicate FieldUnit names within a scope are now detected and
10415flagged as errors.
10416
10417 4) Documentation:
10418
10419Programmer Reference updated to reflect OSL and address space
10420handler interface changes described above.
10421
10422----------------------------------------
10423Summary of changes for this label: 10_18_01
10424
10425ACPI CA Core Subsystem:
10426
10427Fixed a problem with the internal object reference count mechanism
10428that occasionally caused premature object deletion. This resolves
10429all of the outstanding problem reports where an object is deleted
10430in the middle of an interpreter evaluation.  Although this problem
10431only showed up in rather obscure cases, the solution to the
10432problem involved an adjustment of all reference counts involving
10433objects attached to namespace nodes.
10434
10435Fixed a problem with Field support in the interpreter where
10436writing to an aligned field whose length is an exact multiple (2
10437or greater) of the field access granularity would cause an attempt
10438to write beyond the end of the field.
10439
10440The top level AML opcode execution functions within the
10441interpreter have been renamed with a more meaningful and
10442consistent naming convention.  The modules exmonad.c and
10443exdyadic.c were eliminated.  New modules are exoparg1.c,
10444exoparg2.c, exoparg3.c, and exoparg6.c.
10445
10446Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
10447
10448Fixed a problem where the AML debugger was causing some internal
10449objects to not be deleted during subsystem termination.
10450
10451Fixed a problem with the external AcpiEvaluateObject interface
10452where the subsystem would fault if the named object to be
10453evaluated refered to a constant such as Zero, Ones, etc.
10454
10455Fixed a problem with IndexFields and BankFields where the
10456subsystem would fault if the index, data, or bank registers were
10457not defined in the same scope as the field itself.
10458
10459Added printf format string checking for compilers that support
10460this feature.  Corrected more than 50 instances of issues with
10461format specifiers within invocations of ACPI_DEBUG_PRINT
10462throughout the core subsystem code.
10463
10464The ASL "Revision" operator now returns the ACPI support level
10465implemented in the core - the value "2" since the ACPI 2.0 support
10466is more than 50% implemented.
10467
10468Enhanced the output of the AML debugger "dump namespace" command
10469to output in a more human-readable form.
10470
10471Current core subsystem library code sizes are shown below.  These
10472
10473are the code and data sizes for the acpica.lib produced by the
10474Microsoft Visual C++ 6.0 compiler, and these values do not include
10475any ACPI driver or OSPM code.  The debug version of the code
10476includes the full debug trace mechanism -- leading to a much
10477
10478larger code and data size.  Note that these values will vary
10479depending on the efficiency of the compiler and the compiler
10480options used during generation.
10481
10482     Previous Label (09_20_01):
10483     Non-Debug Version:    65K Code,     5K Data,     70K Total
10484     Debug Version:       138K Code,    58K Data,    196K Total
10485
10486     This Label:
10487
10488     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
10489     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
10490
10491Linux:
10492
10493Implemented a "Bad BIOS Blacklist" to track machines that have
10494known ASL/AML problems.
10495
10496Enhanced the /proc interface for the thermal zone driver and added
10497support for _HOT (the critical suspend trip point).  The 'info'
10498file now includes threshold/policy information, and allows setting
10499of _SCP (cooling preference) and _TZP (polling frequency) values
10500to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
10501frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
10502preference to the passive/quiet mode (if supported by the ASL).
10503
10504Implemented a workaround for a gcc bug that resuted in an OOPs
10505when loading the control method battery driver.
10506
10507 ----------------------------------------
10508Summary of changes for this label: 09_20_01
10509
10510 ACPI CA Core Subsystem:
10511
10512The AcpiEnableEvent and AcpiDisableEvent interfaces have been
10513modified to allow individual GPE levels to be flagged as wake-
10514enabled (i.e., these GPEs are to remain enabled when the platform
10515sleeps.)
10516
10517The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
10518support wake-enabled GPEs.  This means that upon entering the
10519sleep state, all GPEs that are not wake-enabled are disabled.
10520When leaving the sleep state, these GPEs are reenabled.
10521
10522A local double-precision divide/modulo module has been added to
10523enhance portability to OS kernels where a 64-bit math library is
10524not available.  The new module is "utmath.c".
10525
10526Several optimizations have been made to reduce the use of CPU
10527stack.  Originally over 2K, the maximum stack usage is now below
105282K at 1860  bytes (1.82k)
10529
10530Fixed a problem with the AcpiGetFirmwareTable interface where the
10531root table pointer was not mapped into a logical address properly.
10532
10533Fixed a problem where a NULL pointer was being dereferenced in the
10534interpreter code for the ASL Notify operator.
10535
10536Fixed a problem where the use of the ASL Revision operator
10537returned an error. This operator now returns the current version
10538of the ACPI CA core subsystem.
10539
10540Fixed a problem where objects passed as control method parameters
10541to AcpiEvaluateObject were always deleted at method termination.
10542However, these objects may end up being stored into the namespace
10543by the called method.  The object reference count mechanism was
10544applied to these objects instead of a force delete.
10545
10546Fixed a problem where static strings or buffers (contained in the
10547AML code) that are declared as package elements within the ASL
10548code could cause a fault because the interpreter would attempt to
10549delete them.  These objects are now marked with the "static
10550object" flag to prevent any attempt to delete them.
10551
10552Implemented an interpreter optimization to use operands directly
10553from the state object instead of extracting the operands to local
10554variables.  This reduces stack use and code size, and improves
10555performance.
10556
10557The module exxface.c was eliminated as it was an unnecessary extra
10558layer of code.
10559
10560Current core subsystem library code sizes are shown below.  These
10561are the code and data sizes for the acpica.lib produced by the
10562Microsoft Visual C++ 6.0 compiler, and these values do not include
10563any ACPI driver or OSPM code.  The debug version of the code
10564includes the full debug trace mechanism -- leading to a much
10565larger code and data size.  Note that these values will vary
10566depending on the efficiency of the compiler and the compiler
10567options used during generation.
10568
10569  Non-Debug Version:  65K Code,   5K Data,   70K Total
10570(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
10571Total  (Previously 195K)
10572
10573Linux:
10574
10575Support for ACPI 2.0 64-bit integers has been added.   All ACPI
10576Integer objects are now 64 bits wide
10577
10578All Acpi data types and structures are now in lower case.  Only
10579Acpi macros are upper case for differentiation.
10580
10581 Documentation:
10582
10583Changes to the external interfaces as described above.
10584
10585 ----------------------------------------
10586Summary of changes for this label: 08_31_01
10587
10588 ACPI CA Core Subsystem:
10589
10590A bug with interpreter implementation of the ASL Divide operator
10591was found and fixed.  The implicit function return value (not the
10592explicit store operands) was returning the remainder instead of
10593the quotient.  This was a longstanding bug and it fixes several
10594known outstanding issues on various platforms.
10595
10596The ACPI_DEBUG_PRINT and function trace entry/exit macros have
10597been further optimized for size.  There are 700 invocations of the
10598DEBUG_PRINT macro alone, so each optimization reduces the size of
10599the debug version of the subsystem significantly.
10600
10601A stack trace mechanism has been implemented.  The maximum stack
10602usage is about 2K on 32-bit platforms.  The debugger command "stat
10603stack" will display the current maximum stack usage.
10604
10605All public symbols and global variables within the subsystem are
10606now prefixed with the string "Acpi".  This keeps all of the
10607symbols grouped together in a kernel map, and avoids conflicts
10608with other kernel subsystems.
10609
10610Most of the internal fixed lookup tables have been moved into the
10611code segment via the const operator.
10612
10613Several enhancements have been made to the interpreter to both
10614reduce the code size and improve performance.
10615
10616Current core subsystem library code sizes are shown below.  These
10617are the code and data sizes for the acpica.lib produced by the
10618Microsoft Visual C++ 6.0 compiler, and these values do not include
10619any ACPI driver or OSPM code.  The debug version of the code
10620includes the full debug trace mechanism which contains over 700
10621invocations of the DEBUG_PRINT macro, 500 function entry macro
10622invocations, and over 900 function exit macro invocations --
10623leading to a much larger code and data size.  Note that these
10624values will vary depending on the efficiency of the compiler and
10625the compiler options used during generation.
10626
10627        Non-Debug Version:  64K Code,   5K Data,   69K Total
10628Debug Version:     137K Code,  58K Data,  195K Total
10629
10630 Linux:
10631
10632Implemented wbinvd() macro, pending a kernel-wide definition.
10633
10634Fixed /proc/acpi/event to handle poll() and short reads.
10635
10636 ASL Compiler, version X2026:
10637
10638Fixed a problem introduced in the previous label where the AML
10639
10640code emitted for package objects produced packages with zero
10641length.
10642
10643 ----------------------------------------
10644Summary of changes for this label: 08_16_01
10645
10646ACPI CA Core Subsystem:
10647
10648The following ACPI 2.0 ASL operators have been implemented in the
10649AML interpreter (These are already supported by the Intel ASL
10650compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
10651ToBuffer.  Support for 64-bit AML constants is implemented in the
10652AML parser, debugger, and disassembler.
10653
10654The internal memory tracking mechanism (leak detection code) has
10655been upgraded to reduce the memory overhead (a separate tracking
10656block is no longer allocated for each memory allocation), and now
10657supports all of the internal object caches.
10658
10659The data structures and code for the internal object caches have
10660been coelesced and optimized so that there is a single cache and
10661memory list data structure and a single group of functions that
10662implement generic cache management.  This has reduced the code
10663size in both the debug and release versions of the subsystem.
10664
10665The DEBUG_PRINT macro(s) have been optimized for size and replaced
10666by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
10667different, because it generates a single call to an internal
10668function.  This results in a savings of about 90 bytes per
10669invocation, resulting in an overall code and data savings of about
1067016% in the debug version of the subsystem.
10671
10672 Linux:
10673
10674Fixed C3 disk corruption problems and re-enabled C3 on supporting
10675machines.
10676
10677Integrated low-level sleep code by Patrick Mochel.
10678
10679Further tweaked source code Linuxization.
10680
10681Other minor fixes.
10682
10683 ASL Compiler:
10684
10685Support for ACPI 2.0 variable length packages is fixed/completed.
10686
10687Fixed a problem where the optional length parameter for the ACPI
106882.0 ToString operator.
10689
10690Fixed multiple extraneous error messages when a syntax error is
10691detected within the declaration line of a control method.
10692
10693 ----------------------------------------
10694Summary of changes for this label: 07_17_01
10695
10696ACPI CA Core Subsystem:
10697
10698Added a new interface named AcpiGetFirmwareTable to obtain any
10699ACPI table via the ACPI signature.  The interface can be called at
10700any time during kernel initialization, even before the kernel
10701virtual memory manager is initialized and paging is enabled.  This
10702allows kernel subsystems to obtain ACPI tables very early, even
10703before the ACPI CA subsystem is initialized.
10704
10705Fixed a problem where Fields defined with the AnyAcc attribute
10706could be resolved to the incorrect address under the following
10707conditions: 1) the field width is larger than 8 bits and 2) the
10708parent operation region is not defined on a DWORD boundary.
10709
10710Fixed a problem where the interpreter is not being locked during
10711namespace initialization (during execution of the _INI control
10712methods), causing an error when an attempt is made to release it
10713later.
10714
10715ACPI 2.0 support in the AML Interpreter has begun and will be
10716ongoing throughout the rest of this year.  In this label, The Mod
10717operator is implemented.
10718
10719Added a new data type to contain full PCI addresses named
10720ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
10721and Function values.
10722
10723 Linux:
10724
10725Enhanced the Linux version of the source code to change most
10726capitalized ACPI type names to lowercase. For example, all
10727instances of ACPI_STATUS are changed to acpi_status.  This will
10728result in a large diff, but the change is strictly cosmetic and
10729aligns the CA code closer to the Linux coding standard.
10730
10731OSL Interfaces:
10732
10733The interfaces to the PCI configuration space have been changed to
10734add the PCI Segment number and to split the single 32-bit combined
10735DeviceFunction field into two 16-bit fields.  This was
10736accomplished by moving the four values that define an address in
10737PCI configuration space (segment, bus, device, and function) to
10738the new ACPI_PCI_ID structure.
10739
10740The changes to the PCI configuration space interfaces led to a
10741reexamination of the complete set of address space access
10742interfaces for PCI, I/O, and Memory.  The previously existing 18
10743interfaces have proven difficult to maintain (any small change
10744must be propagated across at least 6 interfaces) and do not easily
10745allow for future expansion to 64 bits if necessary.  Also, on some
10746systems, it would not be appropriate to demultiplex the access
10747width (8, 16, 32,or 64) before calling the OSL if the
10748corresponding native OS interfaces contain a similar access width
10749parameter.  For these reasons, the 18 address space interfaces
10750have been replaced by these 6 new ones:
10751
10752AcpiOsReadPciConfiguration
10753AcpiOsWritePciConfiguration
10754AcpiOsReadMemory
10755AcpiOsWriteMemory
10756AcpiOsReadPort
10757AcpiOsWritePort
10758
10759Added a new interface named AcpiOsGetRootPointer to allow the OSL
10760to perform the platform and/or OS-specific actions necessary to
10761obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
10762interface will simply call down to the CA core to perform the low-
10763memory search for the table.  On IA-64, the RSDP is obtained from
10764EFI.  Migrating this interface to the OSL allows the CA core to
10765
10766remain OS and platform independent.
10767
10768Added a new interface named AcpiOsSignal to provide a generic
10769"function code and pointer" interface for various miscellaneous
10770signals and notifications that must be made to the host OS.   The
10771first such signals are intended to support the ASL Fatal and
10772Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
10773interface has been obsoleted.
10774
10775The definition of the AcpiFormatException interface has been
10776changed to simplify its use.  The caller no longer must supply a
10777buffer to the call; A pointer to a const string is now returned
10778directly.  This allows the call to be easily used in printf
10779statements, etc. since the caller does not have to manage a local
10780buffer.
10781
10782
10783 ASL Compiler, Version X2025:
10784
10785The ACPI 2.0 Switch/Case/Default operators have been implemented
10786and are fully functional.  They will work with all ACPI 1.0
10787interpreters, since the operators are simply translated to If/Else
10788pairs.
10789
10790The ACPI 2.0 ElseIf operator is implemented and will also work
10791with 1.0 interpreters, for the same reason.
10792
10793Implemented support for ACPI 2.0 variable-length packages.  These
10794packages have a separate opcode, and their size is determined by
10795the interpreter at run-time.
10796
10797Documentation The ACPI CA Programmer Reference has been updated to
10798reflect the new interfaces and changes to existing interfaces.
10799
10800 ------------------------------------------
10801Summary of changes for this label: 06_15_01
10802
10803 ACPI CA Core Subsystem:
10804
10805Fixed a problem where a DWORD-accessed field within a Buffer
10806object would get its byte address inadvertently rounded down to
10807the nearest DWORD.  Buffers are always Byte-accessible.
10808
10809 ASL Compiler, version X2024:
10810
10811Fixed a problem where the Switch() operator would either fault or
10812hang the compiler.  Note however, that the AML code for this ACPI
108132.0 operator is not yet implemented.
10814
10815Compiler uses the new AcpiOsGetTimer interface to obtain compile
10816timings.
10817
10818Implementation of the CreateField operator automatically converts
10819a reference to a named field within a resource descriptor from a
10820byte offset to a bit offset if required.
10821
10822Added some missing named fields from the resource descriptor
10823support. These are the names that are automatically created by the
10824compiler to reference fields within a descriptor.  They are only
10825valid at compile time and are not passed through to the AML
10826interpreter.
10827
10828Resource descriptor named fields are now typed as Integers and
10829subject to compile-time typechecking when used in expressions.
10830
10831 ------------------------------------------
10832Summary of changes for this label: 05_18_01
10833
10834 ACPI CA Core Subsystem:
10835
10836Fixed a couple of problems in the Field support code where bits
10837from adjacent fields could be returned along with the proper field
10838bits. Restructured the field support code to improve performance,
10839readability and maintainability.
10840
10841New DEBUG_PRINTP macro automatically inserts the procedure name
10842into the output, saving hundreds of copies of procedure name
10843strings within the source, shrinking the memory footprint of the
10844debug version of the core subsystem.
10845
10846 Source Code Structure:
10847
10848The source code directory tree was restructured to reflect the
10849current organization of the component architecture.  Some files
10850and directories have been moved and/or renamed.
10851
10852 Linux:
10853
10854Fixed leaking kacpidpc processes.
10855
10856Fixed queueing event data even when /proc/acpi/event is not
10857opened.
10858
10859 ASL Compiler, version X2020:
10860
10861Memory allocation performance enhancement - over 24X compile time
10862improvement on large ASL files.  Parse nodes and namestring
10863buffers are now allocated from a large internal compiler buffer.
10864
10865The temporary .SRC file is deleted unless the "-s" option is
10866specified
10867
10868The "-d" debug output option now sends all output to the .DBG file
10869instead of the console.
10870
10871"External" second parameter is now optional
10872
10873"ElseIf" syntax now properly allows the predicate
10874
10875Last operand to "Load" now recognized as a Target operand
10876
10877Debug object can now be used anywhere as a normal object.
10878
10879ResourceTemplate now returns an object of type BUFFER
10880
10881EISAID now returns an object of type INTEGER
10882
10883"Index" now works with a STRING operand
10884
10885"LoadTable" now accepts optional parameters
10886
10887"ToString" length parameter is now optional
10888
10889"Interrupt (ResourceType," parse error fixed.
10890
10891"Register" with a user-defined region space parse error fixed
10892
10893Escaped backslash at the end of a string ("\\") scan/parse error
10894fixed
10895
10896"Revision" is now an object of type INTEGER.
10897
10898
10899
10900------------------------------------------
10901Summary of changes for this label: 05_02_01
10902
10903Linux:
10904
10905/proc/acpi/event now blocks properly.
10906
10907Removed /proc/sys/acpi. You can still dump your DSDT from
10908/proc/acpi/dsdt.
10909
10910 ACPI CA Core Subsystem:
10911
10912Fixed a problem introduced in the previous label where some of the
10913"small" resource descriptor types were not recognized.
10914
10915Improved error messages for the case where an ASL Field is outside
10916the range of the parent operation region.
10917
10918 ASL Compiler, version X2018:
10919
10920
10921Added error detection for ASL Fields that extend beyond the length
10922of the parent operation region (only if the length of the region
10923is known at compile time.)  This includes fields that have a
10924minimum access width that is smaller than the parent region, and
10925individual field units that are partially or entirely beyond the
10926extent of the parent.
10927
10928
10929
10930------------------------------------------
10931Summary of changes for this label: 04_27_01
10932
10933 ACPI CA Core Subsystem:
10934
10935Fixed a problem where the namespace mutex could be released at the
10936wrong time during execution of AcpiRemoveAddressSpaceHandler.
10937
10938Added optional thread ID output for debug traces, to simplify
10939debugging of multiple threads.  Added context switch notification
10940when the debug code realizes that a different thread is now
10941executing ACPI code.
10942
10943Some additional external data types have been prefixed with the
10944string "ACPI_" for consistency.  This may effect existing code.
10945The data types affected are the external callback typedefs - e.g.,
10946
10947WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
10948
10949 Linux:
10950
10951Fixed an issue with the OSL semaphore implementation where a
10952thread was waking up with an error from receiving a SIGCHLD
10953signal.
10954
10955Linux version of ACPI CA now uses the system C library for string
10956manipulation routines instead of a local implementation.
10957
10958Cleaned up comments and removed TBDs.
10959
10960 ASL Compiler, version X2017:
10961
10962Enhanced error detection and reporting for all file I/O
10963operations.
10964
10965 Documentation:
10966
10967Programmer Reference updated to version 1.06.
10968
10969
10970
10971------------------------------------------
10972Summary of changes for this label: 04_13_01
10973
10974 ACPI CA Core Subsystem:
10975
10976Restructured support for BufferFields and RegionFields.
10977BankFields support is now fully operational.  All known 32-bit
10978limitations on field sizes have been removed.  Both BufferFields
10979and (Operation) RegionFields are now supported by the same field
10980management code.
10981
10982Resource support now supports QWORD address and IO resources. The
1098316/32/64 bit address structures and the Extended IRQ structure
10984have been changed to properly handle Source Resource strings.
10985
10986A ThreadId of -1 is now used to indicate a "mutex not acquired"
10987condition internally and must never be returned by AcpiOsThreadId.
10988This reserved value was changed from 0 since Unix systems allow a
10989thread ID of 0.
10990
10991Linux:
10992
10993Driver code reorganized to enhance portability
10994
10995Added a kernel configuration option to control ACPI_DEBUG
10996
10997Fixed the EC driver to honor _GLK.
10998
10999ASL Compiler, version X2016:
11000
11001Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
11002address space was set to 0, not 0x7f as it should be.
11003
11004 ------------------------------------------
11005Summary of changes for this label: 03_13_01
11006
11007 ACPI CA Core Subsystem:
11008
11009During ACPI initialization, the _SB_._INI method is now run if
11010present.
11011
11012Notify handler fix - notifies are deferred until the parent method
11013completes execution.  This fixes the "mutex already acquired"
11014issue seen occasionally.
11015
11016Part of the "implicit conversion" rules in ACPI 2.0 have been
11017found to cause compatibility problems with existing ASL/AML.  The
11018convert "result-to-target-type" implementation has been removed
11019for stores to method Args and Locals.  Source operand conversion
11020is still fully implemented.  Possible changes to ACPI 2.0
11021specification pending.
11022
11023Fix to AcpiRsCalculatePciRoutingTableLength to return correct
11024length.
11025
11026Fix for compiler warnings for 64-bit compiles.
11027
11028 Linux:
11029
11030/proc output aligned for easier parsing.
11031
11032Release-version compile problem fixed.
11033
11034New kernel configuration options documented in Configure.help.
11035
11036IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
11037context" message.
11038
11039 OSPM:
11040
11041Power resource driver integrated with bus manager.
11042
11043Fixed kernel fault during active cooling for thermal zones.
11044
11045Source Code:
11046
11047The source code tree has been restructured.
11048
11049
11050
11051------------------------------------------
11052Summary of changes for this label: 03_02_01
11053
11054 Linux OS Services Layer (OSL):
11055
11056Major revision of all Linux-specific code.
11057
11058Modularized all ACPI-specific drivers.
11059
11060Added new thermal zone and power resource drivers.
11061
11062Revamped /proc interface (new functionality is under /proc/acpi).
11063
11064New kernel configuration options.
11065
11066 Linux known issues:
11067
11068New kernel configuration options not documented in Configure.help
11069yet.
11070
11071
11072Module dependencies not currently implemented. If used, they
11073should be loaded in this order: busmgr, power, ec, system,
11074processor, battery, ac_adapter, button, thermal.
11075
11076Modules will not load if CONFIG_MODVERSION is set.
11077
11078IBM 600E - entering S5 may reboot instead of shutting down.
11079
11080IBM 600E - Sleep button may generate "Invalid <NULL> context"
11081message.
11082
11083Some systems may fail with "execution mutex already acquired"
11084message.
11085
11086 ACPI CA Core Subsystem:
11087
11088Added a new OSL Interface, AcpiOsGetThreadId.  This was required
11089for the  deadlock detection code. Defined to return a non-zero, 32-
11090bit thread ID for the currently executing thread.  May be a non-
11091zero constant integer on single-thread systems.
11092
11093Implemented deadlock detection for internal subsystem mutexes.  We
11094may add conditional compilation for this code (debug only) later.
11095
11096ASL/AML Mutex object semantics are now fully supported.  This
11097includes multiple acquires/releases by owner and support for the
11098
11099Mutex SyncLevel parameter.
11100
11101A new "Force Release" mechanism automatically frees all ASL
11102Mutexes that have been acquired but not released when a thread
11103exits the interpreter.  This forces conformance to the ACPI spec
11104("All mutexes must be released when an invocation exits") and
11105prevents deadlocked ASL threads.  This mechanism can be expanded
11106(later) to monitor other resource acquisitions if OEM ASL code
11107continues to misbehave (which it will).
11108
11109Several new ACPI exception codes have been added for the Mutex
11110support.
11111
11112Recursive method calls are now allowed and supported (the ACPI
11113spec does in fact allow recursive method calls.)  The number of
11114recursive calls is subject to the restrictions imposed by the
11115SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
11116parameter.
11117
11118Implemented support for the SyncLevel parameter for control
11119methods (ACPI 2.0 feature)
11120
11121Fixed a deadlock problem when multiple threads attempted to use
11122the interpreter.
11123
11124Fixed a problem where the string length of a String package
11125element was not always set in a package returned from
11126AcpiEvaluateObject.
11127
11128Fixed a problem where the length of a String package element was
11129not always included in the length of the overall package returned
11130from AcpiEvaluateObject.
11131
11132Added external interfaces (Acpi*) to the ACPI debug memory
11133manager.  This manager keeps a list of all outstanding
11134allocations, and can therefore detect memory leaks and attempts to
11135free memory blocks more than once. Useful for code such as the
11136power manager, etc.  May not be appropriate for device drivers.
11137Performance with the debug code enabled is slow.
11138
11139The ACPI Global Lock is now an optional hardware element.
11140
11141 ASL Compiler Version X2015:
11142
11143Integrated changes to allow the compiler to be generated on
11144multiple platforms.
11145
11146Linux makefile added to generate the compiler on Linux
11147
11148 Source Code:
11149
11150All platform-specific headers have been moved to their own
11151subdirectory, Include/Platform.
11152
11153New source file added, Interpreter/ammutex.c
11154
11155New header file, Include/acstruct.h
11156
11157 Documentation:
11158
11159The programmer reference has been updated for the following new
11160interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
11161
11162 ------------------------------------------
11163Summary of changes for this label: 02_08_01
11164
11165Core ACPI CA Subsystem: Fixed a problem where an error was
11166incorrectly returned if the return resource buffer was larger than
11167the actual data (in the resource interfaces).
11168
11169References to named objects within packages are resolved to the
11170
11171full pathname string before packages are returned directly (via
11172the AcpiEvaluateObject interface) or indirectly via the resource
11173interfaces.
11174
11175Linux OS Services Layer (OSL):
11176
11177Improved /proc battery interface.
11178
11179
11180Added C-state debugging output and other miscellaneous fixes.
11181
11182ASL Compiler Version X2014:
11183
11184All defined method arguments can now be used as local variables,
11185including the ones that are not actually passed in as parameters.
11186The compiler tracks initialization of the arguments and issues an
11187exception if they are used without prior assignment (just like
11188locals).
11189
11190The -o option now specifies a filename prefix that is used for all
11191output files, including the AML output file.  Otherwise, the
11192default behavior is as follows:  1) the AML goes to the file
11193specified in the DSDT.  2) all other output files use the input
11194source filename as the base.
11195
11196 ------------------------------------------
11197Summary of changes for this label: 01_25_01
11198
11199Core ACPI CA Subsystem: Restructured the implementation of object
11200store support within the  interpreter.  This includes support for
11201the Store operator as well  as any ASL operators that include a
11202target operand.
11203
11204Partially implemented support for Implicit Result-to-Target
11205conversion. This is when a result object is converted on the fly
11206to the type of  an existing target object.  Completion of this
11207support is pending  further analysis of the ACPI specification
11208concerning this matter.
11209
11210CPU-specific code has been removed from the subsystem (hardware
11211directory).
11212
11213New Power Management Timer functions added
11214
11215Linux OS Services Layer (OSL): Moved system state transition code
11216to the core, fixed it, and modified  Linux OSL accordingly.
11217
11218Fixed C2 and C3 latency calculations.
11219
11220
11221We no longer use the compilation date for the version message on
11222initialization, but retrieve the version from AcpiGetSystemInfo().
11223
11224Incorporated for fix Sony VAIO machines.
11225
11226Documentation:  The Programmer Reference has been updated and
11227reformatted.
11228
11229
11230ASL Compiler:  Version X2013: Fixed a problem where the line
11231numbering and error reporting could get out  of sync in the
11232presence of multiple include files.
11233
11234 ------------------------------------------
11235Summary of changes for this label: 01_15_01
11236
11237Core ACPI CA Subsystem:
11238
11239Implemented support for type conversions in the execution of the
11240ASL  Concatenate operator (The second operand is converted to
11241match the type  of the first operand before concatenation.)
11242
11243Support for implicit source operand conversion is partially
11244implemented.   The ASL source operand types Integer, Buffer, and
11245String are freely  interchangeable for most ASL operators and are
11246converted by the interpreter  on the fly as required.  Implicit
11247Target operand conversion (where the  result is converted to the
11248target type before storing) is not yet implemented.
11249
11250Support for 32-bit and 64-bit BCD integers is implemented.
11251
11252Problem fixed where a field read on an aligned field could cause a
11253read  past the end of the field.
11254
11255New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
11256does not return a value, but the caller expects one.  (The ASL
11257compiler flags this as a warning.)
11258
11259ASL Compiler:
11260
11261Version X2011:
112621. Static typechecking of all operands is implemented. This
11263prevents the use of invalid objects (such as using a Package where
11264an Integer is required) at compile time instead of at interpreter
11265run-time.
112662. The ASL source line is printed with ALL errors and warnings.
112673. Bug fix for source EOF without final linefeed.
112684. Debug option is split into a parse trace and a namespace trace.
112695. Namespace output option (-n) includes initial values for
11270integers and strings.
112716. Parse-only option added for quick syntax checking.
112727. Compiler checks for duplicate ACPI name declarations
11273
11274Version X2012:
112751. Relaxed typechecking to allow interchangeability between
11276strings, integers, and buffers.  These types are now converted by
11277the interpreter at runtime.
112782. Compiler reports time taken by each internal subsystem in the
11279debug         output file.
11280
11281
11282 ------------------------------------------
11283Summary of changes for this label: 12_14_00
11284
11285ASL Compiler:
11286
11287This is the first official release of the compiler. Since the
11288compiler requires elements of the Core Subsystem, this label
11289synchronizes everything.
11290
11291------------------------------------------
11292Summary of changes for this label: 12_08_00
11293
11294
11295Fixed a problem where named references within the ASL definition
11296of both OperationRegions and CreateXXXFields did not work
11297properly.  The symptom was an AE_AML_OPERAND_TYPE during
11298initialization of the region/field. This is similar (but not
11299related internally) to the problem that was fixed in the last
11300label.
11301
11302Implemented both 32-bit and 64-bit support for the BCD ASL
11303functions ToBCD and FromBCD.
11304
11305Updated all legal headers to include "2000" in the copyright
11306years.
11307
11308 ------------------------------------------
11309Summary of changes for this label: 12_01_00
11310
11311Fixed a problem where method invocations within the ASL definition
11312of both OperationRegions and CreateXXXFields did not work
11313properly.  The symptom was an AE_AML_OPERAND_TYPE during
11314initialization of the region/field:
11315
11316  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
11317[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
11318(0x3005)
11319
11320Fixed a problem where operators with more than one nested
11321subexpression would fail.  The symptoms were varied, by mostly
11322AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
11323problem that has gone unnoticed until now.
11324
11325  Subtract (Add (1,2), Multiply (3,4))
11326
11327Fixed a problem where AcpiGetHandle didn't quite get fixed in the
11328previous build (The prefix part of a relative path was handled
11329incorrectly).
11330
11331Fixed a problem where Operation Region initialization failed if
11332the operation region name was a "namepath" instead of a simple
11333"nameseg". Symptom was an AE_NO_OPERAND error.
11334
11335Fixed a problem where an assignment to a local variable via the
11336indirect RefOf mechanism only worked for the first such
11337assignment.  Subsequent assignments were ignored.
11338
11339 ------------------------------------------
11340Summary of changes for this label: 11_15_00
11341
11342ACPI 2.0 table support with backwards support for ACPI 1.0 and the
113430.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
11344the AML  interpreter does NOT have support for the new 2.0 ASL
11345grammar terms at this time.
11346
11347All ACPI hardware access is via the GAS structures in the ACPI 2.0
11348FADT.
11349
11350All physical memory addresses across all platforms are now 64 bits
11351wide. Logical address width remains dependent on the platform
11352(i.e., "void *").
11353
11354AcpiOsMapMemory interface changed to a 64-bit physical address.
11355
11356The AML interpreter integer size is now 64 bits, as per the ACPI
113572.0 specification.
11358
11359For backwards compatibility with ACPI 1.0, ACPI tables with a
11360revision number less than 2 use 32-bit integers only.
11361
11362Fixed a problem where the evaluation of OpRegion operands did not
11363always resolve them to numbers properly.
11364
11365------------------------------------------
11366Summary of changes for this label: 10_20_00
11367
11368Fix for CBN_._STA issue.  This fix will allow correct access to
11369CBN_ OpRegions when the _STA returns 0x8.
11370
11371Support to convert ACPI constants (Ones, Zeros, One) to actual
11372values before a package object is returned
11373
11374Fix for method call as predicate to if/while construct causing
11375incorrect if/while behavior
11376
11377Fix for Else block package lengths sometimes calculated wrong (if
11378block > 63 bytes)
11379
11380Fix for Processor object length field, was always zero
11381
11382Table load abort if FACP sanity check fails
11383
11384Fix for problem with Scope(name) if name already exists
11385
11386Warning emitted if a named object referenced cannot be found
11387(resolved) during method execution.
11388
11389
11390
11391
11392
11393------------------------------------------
11394Summary of changes for this label: 9_29_00
11395
11396New table initialization interfaces: AcpiInitializeSubsystem no
11397longer has any parameters AcpiFindRootPointer - Find the RSDP (if
11398necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
11399>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
11400AcpiLoadTables
11401
11402Note: These interface changes require changes to all existing OSDs
11403
11404The PCI_Config default address space handler is always installed
11405at the root namespace object.
11406
11407-------------------------------------------
11408Summary of changes for this label: 09_15_00
11409
11410The new initialization architecture is implemented.  New
11411interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
11412AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
11413
11414(Namespace is automatically loaded when a table is loaded)
11415
11416The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1141752 bytes to 32 bytes.  There is usually one of these for every
11418namespace object, so the memory savings is significant.
11419
11420Implemented just-in-time evaluation of the CreateField operators.
11421
11422Bug fixes for IA-64 support have been integrated.
11423
11424Additional code review comments have been implemented
11425
11426The so-called "third pass parse" has been replaced by a final walk
11427through the namespace to initialize all operation regions (address
11428spaces) and fields that have not yet been initialized during the
11429execution of the various _INI and REG methods.
11430
11431New file - namespace/nsinit.c
11432
11433-------------------------------------------
11434Summary of changes for this label: 09_01_00
11435
11436Namespace manager data structures have been reworked to change the
11437primary  object from a table to a single object.  This has
11438resulted in dynamic memory  savings of 3X within the namespace and
114392X overall in the ACPI CA subsystem.
11440
11441Fixed problem where the call to AcpiEvFindPciRootBuses was
11442inadvertently left  commented out.
11443
11444Reduced the warning count when generating the source with the GCC
11445compiler.
11446
11447Revision numbers added to each module header showing the
11448SourceSafe version of the file.  Please refer to this version
11449number when giving us feedback or comments on individual modules.
11450
11451The main object types within the subsystem have been renamed to
11452clarify their  purpose:
11453
11454ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
11455ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
11456ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
11457
11458NOTE: no changes to the initialization sequence are included in
11459this label.
11460
11461-------------------------------------------
11462Summary of changes for this label: 08_23_00
11463
11464Fixed problem where TerminateControlMethod was being called
11465multiple times per  method
11466
11467Fixed debugger problem where single stepping caused a semaphore to
11468be  oversignalled
11469
11470Improved performance through additional parse object caching -
11471added  ACPI_EXTENDED_OP type
11472
11473-------------------------------------------
11474Summary of changes for this label: 08_10_00
11475
11476Parser/Interpreter integration:  Eliminated the creation of
11477complete parse trees  for ACPI tables and control methods.
11478Instead, parse subtrees are created and  then deleted as soon as
11479they are processed (Either entered into the namespace or  executed
11480by the interpreter).  This reduces the use of dynamic kernel
11481memory  significantly. (about 10X)
11482
11483Exception codes broken into classes and renumbered.  Be sure to
11484recompile all  code that includes acexcep.h.  Hopefully we won't
11485have to renumber the codes  again now that they are split into
11486classes (environment, programmer, AML code,  ACPI table, and
11487internal).
11488
11489Fixed some additional alignment issues in the Resource Manager
11490subcomponent
11491
11492Implemented semaphore tracking in the AcpiExec utility, and fixed
11493several places  where mutexes/semaphores were being unlocked
11494without a corresponding lock  operation.  There are no known
11495semaphore or mutex "leaks" at this time.
11496
11497Fixed the case where an ASL Return operator is used to return an
11498unnamed  package.
11499
11500-------------------------------------------
11501Summary of changes for this label: 07_28_00
11502
11503Fixed a problem with the way addresses were calculated in
11504AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
11505manifested itself when a Field was  created with WordAccess or
11506DwordAccess, but the field unit defined within the  Field was less
11507
11508than a Word or Dword.
11509
11510Fixed a problem in AmlDumpOperands() module's loop to pull
11511operands off of the  operand stack to display information. The
11512problem manifested itself as a TLB  error on 64-bit systems when
11513accessing an operand stack with two or more  operands.
11514
11515Fixed a problem with the PCI configuration space handlers where
11516context was  getting confused between accesses. This required a
11517change to the generic address  space handler and address space
11518setup definitions. Handlers now get both a  global handler context
11519(this is the one passed in by the user when executing
11520AcpiInstallAddressSpaceHandler() and a specific region context
11521that is unique to  each region (For example, the _ADR, _SEG and
11522_BBN values associated with a  specific region). The generic
11523function definitions have changed to the  following:
11524
11525typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
11526UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
11527*HandlerContext, // This used to be void *Context void
11528*RegionContext); // This is an additional parameter
11529
11530typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
11531RegionHandle, UINT32 Function, void *HandlerContext,  void
11532**RegionContext); // This used to be **ReturnContext
11533
11534-------------------------------------------
11535Summary of changes for this label: 07_21_00
11536
11537Major file consolidation and rename.  All files within the
11538interpreter have been  renamed as well as most header files.  This
11539was done to prevent collisions with  existing files in the host
11540OSs -- filenames such as "config.h" and "global.h"  seem to be
11541quite common.  The VC project files have been updated.  All
11542makefiles  will require modification.
11543
11544The parser/interpreter integration continues in Phase 5 with the
11545implementation  of a complete 2-pass parse (the AML is parsed
11546twice) for each table;  This  avoids the construction of a huge
11547parse tree and therefore reduces the amount of  dynamic memory
11548required by the subsystem.  Greater use of the parse object cache
11549means that performance is unaffected.
11550
11551Many comments from the two code reviews have been rolled in.
11552
11553The 64-bit alignment support is complete.
11554
11555-------------------------------------------
11556Summary of changes for this label: 06_30_00
11557
11558With a nod and a tip of the hat to the technology of yesteryear,
11559we've added  support in the source code for 80 column output
11560devices.  The code is now mostly  constrained to 80 columns or
11561less to support environments and editors that 1)  cannot display
11562or print more than 80 characters on a single line, and 2) cannot
11563disable line wrapping.
11564
11565A major restructuring of the namespace data structure has been
11566completed.  The  result is 1) cleaner and more
11567understandable/maintainable code, and 2) a  significant reduction
11568in the dynamic memory requirement for each named ACPI  object
11569(almost half).
11570
11571-------------------------------------------
11572Summary of changes for this label: 06_23_00
11573
11574Linux support has been added.  In order to obtain approval to get
11575the ACPI CA  subsystem into the Linux kernel, we've had to make
11576quite a few changes to the  base subsystem that will affect all
11577users (all the changes are generic and OS- independent).  The
11578effects of these global changes have been somewhat far  reaching.
11579Files have been merged and/or renamed and interfaces have been
11580renamed.   The major changes are described below.
11581
11582Osd* interfaces renamed to AcpiOs* to eliminate namespace
11583pollution/confusion  within our target kernels.  All OSD
11584interfaces must be modified to match the new  naming convention.
11585
11586Files merged across the subsystem.  A number of the smaller source
11587and header  files have been merged to reduce the file count and
11588increase the density of the  existing files.  There are too many
11589to list here.  In general, makefiles that  call out individual
11590files will require rebuilding.
11591
11592Interpreter files renamed.  All interpreter files now have the
11593prefix am*  instead of ie* and is*.
11594
11595Header files renamed:  The acapi.h file is now acpixf.h.  The
11596acpiosd.h file is  now acpiosxf.h.  We are removing references to
11597the acronym "API" since it is  somewhat windowsy. The new name is
11598"external interface" or xface or xf in the  filenames.j
11599
11600
11601All manifest constants have been forced to upper case (some were
11602mixed case.)   Also, the string "ACPI_" has been prepended to many
11603(not all) of the constants,  typedefs, and structs.
11604
11605The globals "DebugLevel" and "DebugLayer" have been renamed
11606"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
11607
11608All other globals within the subsystem are now prefixed with
11609"AcpiGbl_" Internal procedures within the subsystem are now
11610prefixed with "Acpi" (with only  a few exceptions).  The original
11611two-letter abbreviation for the subcomponent  remains after "Acpi"
11612- for example, CmCallocate became AcpiCmCallocate.
11613
11614Added a source code translation/conversion utility.  Used to
11615generate the Linux  source code, it can be modified to generate
11616other types of source as well. Can  also be used to cleanup
11617existing source by removing extraneous spaces and blank  lines.
11618Found in tools/acpisrc/*
11619
11620OsdUnMapMemory was renamed to OsdUnmapMemory and then
11621AcpiOsUnmapMemory.  (UnMap  became Unmap).
11622
11623A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
11624When set to  one, this indicates that the caller wants to use the
11625
11626semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
11627both types.  However, implementers of this  call may want to use
11628different OS primitives depending on the type of semaphore
11629requested.  For example, some operating systems provide separate
11630
11631"mutex" and  "semaphore" interfaces - where the mutex interface is
11632much faster because it  doesn't have all the overhead of a full
11633semaphore implementation.
11634
11635Fixed a deadlock problem where a method that accesses the PCI
11636address space can  block forever if it is the first access to the
11637space.
11638
11639-------------------------------------------
11640Summary of changes for this label: 06_02_00
11641
11642Support for environments that cannot handle unaligned data
11643accesses (e.g.  firmware and OS environments devoid of alignment
11644handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
11645been added (via configurable macros) in  these three areas: -
11646Transfer of data from the raw AML byte stream is done via byte
11647moves instead of    word/dword/qword moves. - External objects are
11648aligned within the user buffer, including package   elements (sub-
11649objects). - Conversion of name strings to UINT32 Acpi Names is now
11650done byte-wise.
11651
11652The Store operator was modified to mimic Microsoft's
11653implementation when storing  to a Buffer Field.
11654
11655Added a check of the BM_STS bit before entering C3.
11656
11657The methods subdirectory has been obsoleted and removed.  A new
11658file, cmeval.c  subsumes the functionality.
11659
11660A 16-bit (DOS) version of AcpiExec has been developed.  The
11661makefile is under  the acpiexec directory.
11662