changes.txt revision 239340
1----------------------------------------
216 August 2012. Summary of changes for version 20120816:
3
4This release is available at https://www.acpica.org/downloads
5The ACPI 5.0 specification is available at www.acpi.info
6
71) ACPICA Kernel-resident Subsystem:
8
9Removed all use of the deprecated _GTS and _BFS predefined methods. The _GTS 
10(Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
11deprecated and will probably be removed from the ACPI specification. Windows 
12does not invoke them, and reportedly never will. The final nail in the coffin 
13is that the ACPI specification states that these methods must be run with 
14interrupts off, which is not going to happen in a kernel interpreter. Note: 
15Linux has removed all use of the methods also. It was discovered that 
16invoking these functions caused failures on some machines, probably because 
17they were never tested since Windows does not call them. Affects two external 
18interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
19ACPICA BZ 969.
20
21Implemented support for complex bit-packed buffers returned from the _PLD 
22(Physical Location of Device) predefined method. Adds a new external 
23interface, AcpiDecodePldBuffer that parses the buffer into a more usable C 
24structure. Note: C Bitfields cannot be used for this type of predefined 
25structure since the memory layout of individual bitfields is not defined by 
26the C language. In addition, there are endian concerns where a compiler will 
27change the bitfield ordering based on the machine type. The new ACPICA 
28interface eliminates these issues, and should be called after _PLD is 
29executed. ACPICA BZ 954.
30
31Implemented a change to allow a scope change to root (via "Scope (\)") during 
32execution of module-level ASL code (code that is executed at table load 
33time.) Lin Ming.
34
35Added the Windows8/Server2012 string for the _OSI method. This change adds a 
36new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 2012.
37
38Added header support for the new ACPI tables DBG2 (Debug Port Table Type 2) 
39and CSRT (Core System Resource Table).
40
41Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
42names. This simplifies access to the buffers returned by these predefined 
43names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
44
45GPE support: Removed an extraneous parameter from the various low-level 
46internal GPE functions. Tang Feng.
47
48Removed the linux makefiles from the unix packages. The generate/linux 
49makefiles are obsolete and have been removed from the unix tarball release 
50packages. The replacement makefiles are under generate/unix, and there is a 
51top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
52
53Updates for Unix makefiles:
541) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
552) Update linker flags (move to end of command line) for AcpiExec utility. 
56Guan Chao.
57
58Split ACPICA initialization functions to new file, utxfinit.c. Split from 
59utxface.c to improve modularity and reduce file size.
60
61Example Code and Data Size: These are the sizes for the OS-independent 
62acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
63debug version of the code includes the debug output trace mechanism and has a 
64much larger code and data size.
65
66  Previous Release:
67    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
68    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
69  Current Release:
70    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
71    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
72
73
742) iASL Compiler/Disassembler and Tools:
75
76iASL: Fixed a problem with constant folding for fixed-length constant 
77expressions. The constant-folding code was not being invoked for constant 
78expressions that allow the use of type 3/4/5 opcodes to generate constants 
79for expressions such as ByteConstExpr, WordConstExpr, etc. This could result 
80in the generation of invalid AML bytecode. ACPICA BZ 970.
81
82iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
83apparently automatically emit some of the necessary externals. This change 
84handles these versions in order to eliminate generation warnings.
85
86Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
87
88Disassembler: Add support to decode _PLD buffers. The decoded buffer appears 
89within comments in the output file.
90
91Debugger: Fixed a regression with the "Threads" command where 
92AE_BAD_PARAMETER was always returned.
93
94----------------------------------------
9511 July 2012. Summary of changes for version 20120711:
96
97This release is available at https://www.acpica.org/downloads The ACPI 5.0 
98specification is available at www.acpi.info
99
1001) ACPICA Kernel-resident Subsystem:
101
102Fixed a possible fault in the return package object repair code. Fixes a 
103problem that can occur when a lone package object is wrapped with an outer 
104package object in order to force conformance to the ACPI specification. Can 
105affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, _DLM, 
106_CSD, _PSD, _TSD.
107
108Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
109PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
110ARB_DIS bit must be implemented in the host-dependent C3 processor power state 
111support. Note, ARB_DIS is obsolete and only applies to older chipsets, both 
112Intel and other vendors. (for Intel: ICH4-M and earlier)
113
114This change removes the code to disable/enable bus master arbitration during 
115suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register causes 
116resume problems on some machines. The change has been in use for over seven 
117years within Linux.
118
119Implemented two new external interfaces to support host-directed dynamic ACPI 
120table load and unload. They are intended to simplify the host implementation 
121of hot-plug support:
122  AcpiLoadTable: Load an SSDT from a buffer into the namespace.
123  AcpiUnloadParentTable: Unload an SSDT via a named object owned by the table.
124See the ACPICA reference for additional details. Adds one new file, 
125components/tables/tbxfload.c
126
127Implemented and deployed two new interfaces for errors and warnings that are 
128known to be caused by BIOS/firmware issues:
129  AcpiBiosError: Prints "ACPI Firmware Error" message.
130  AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
131Deployed these new interfaces in the ACPICA Table Manager code for ACPI table 
132and FADT errors. Additional deployment to be completed as appropriate in the 
133future. The associated conditional macros are ACPI_BIOS_ERROR and 
134ACPI_BIOS_WARNING. See the ACPICA reference for additional details. ACPICA BZ 
135843.
136
137Implicit notify support: ensure that no memory allocation occurs within a 
138critical region. This fix moves a memory allocation outside of the time that a 
139spinlock is held. Fixes issues on systems that do not allow this behavior. 
140Jung-uk Kim.
141
142Split exception code utilities and tables into a new file, utilities/utexcep.c
143
144Example Code and Data Size: These are the sizes for the OS-independent 
145acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
146version of the code includes the debug output trace mechanism and has a much 
147larger code and data size.
148
149  Previous Release:
150    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
151    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
152  Current Release:
153    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
154    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
155
156
1572) iASL Compiler/Disassembler and Tools:
158
159iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead of 
1600. Jung-uk Kim.
161
162Debugger: Enhanced the "tables" command to emit additional information about 
163the current set of ACPI tables, including the owner ID and flags decode.
164
165Debugger: Reimplemented the "unload" command to use the new 
166AcpiUnloadParentTable external interface. This command was disable previously 
167due to need for an unload interface.
168
169AcpiHelp: Added a new option to decode ACPICA exception codes. The -e option 
170will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
171
172----------------------------------------
17320 June 2012. Summary of changes for version 20120620:
174
175This release is available at https://www.acpica.org/downloads
176The ACPI 5.0 specification is available at www.acpi.info
177
1781) ACPICA Kernel-resident Subsystem:
179
180Implemented support to expand the "implicit notify" feature to allow multiple 
181devices to be notified by a single GPE. This feature automatically generates a 
182runtime device notification in the absence of a BIOS-provided GPE control 
183method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit notify is 
184provided by ACPICA for Windows compatibility, and is a workaround for BIOS AML 
185code errors. See the description of the AcpiSetupGpeForWake interface in the 
186APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
187
188Changed some comments and internal function names to simplify and ensure 
189correctness of the Linux code translation. No functional changes.
190
191Example Code and Data Size: These are the sizes for the OS-independent 
192acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
193version of the code includes the debug output trace mechanism and has a much 
194larger code and data size.
195
196  Previous Release:
197    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
198    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
199  Current Release:
200    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
201    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
202
203
2042) iASL Compiler/Disassembler and Tools:
205
206Disassembler: Added support to emit short, commented descriptions for the ACPI 
207predefined names in order to improve the readability of the disassembled 
208output. ACPICA BZ 959. Changes include:
209  1) Emit descriptions for all standard predefined names (_INI, _STA, _PRW, 
210etc.)
211  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
212  3) Emit descriptions for the resource descriptor names (_MIN, _LEN, etc.)
213
214AcpiSrc: Fixed several long-standing Linux code translation issues. Argument 
215descriptions in function headers are now translated properly to lower case and 
216underscores. ACPICA BZ 961. Also fixes translation problems such as these: 
217(old -> new)
218  i_aSL -> iASL
219  00-7_f -> 00-7F
220  16_k -> 16K
221  local_fADT -> local_FADT
222  execute_oSI -> execute_OSI
223
224iASL: Fixed a problem where null bytes were inadvertently emitted into some 
225listing files.
226
227iASL: Added the existing debug options to the standard help screen. There are 
228no longer two different help screens. ACPICA BZ 957.
229
230AcpiHelp: Fixed some typos in the various predefined name descriptions. Also 
231expand some of the descriptions where appropriate.
232
233iASL: Fixed the -ot option (display compile times/statistics). Was not working 
234properly for standard output; only worked for the debug file case.
235
236----------------------------------------
23718 May 2012. Summary of changes for version 20120518:
238
239
2401) ACPICA Core Subsystem:
241
242Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is defined 
243to block until asynchronous events such as notifies and GPEs have completed. 
244Within ACPICA, it is only called before a notify or GPE handler is 
245removed/uninstalled. It also may be useful for the host OS within related 
246drivers such as the Embedded Controller driver. See the ACPICA reference for 
247additional information. ACPICA BZ 868.
248
249ACPI Tables: Added a new error message for a possible overflow failure during 
250the conversion of FADT 32-bit legacy register addresses to internal common 64-
251bit GAS structure representation. The GAS has a one-byte "bit length" field, 
252thus limiting the register length to 255 bits. ACPICA BZ 953.
253
254Example Code and Data Size: These are the sizes for the OS-independent 
255acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
256version of the code includes the debug output trace mechanism and has a much 
257larger code and data size.
258
259  Previous Release:
260    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
261    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
262  Current Release:
263    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
264    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
265
266
2672) iASL Compiler/Disassembler and Tools:
268
269iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL macro. 
270This keyword was added late in the ACPI 5.0 release cycle and was not 
271implemented until now.
272
273Disassembler: Added support for Operation Region externals. Adds missing 
274support for operation regions that are defined in another table, and 
275referenced locally via a Field or BankField ASL operator. Now generates the 
276correct External statement.
277
278Disassembler: Several additional fixes for the External() statement generation 
279related to some ASL operators. Also, order the External() statements 
280alphabetically in the disassembler output. Fixes the External() generation for 
281the Create* field, Alias, and Scope operators:
282 1) Create* buffer field operators - fix type mismatch warning on disassembly
283 2) Alias - implement missing External support
284 3) Scope - fix to make sure all necessary externals are emitted.
285
286iASL: Improved pathname support. For include files, merge the prefix pathname 
287with the file pathname and eliminate unnecessary components. Convert 
288backslashes in all pathnames to forward slashes, for readability. Include file 
289pathname changes affect both #include and Include() type operators.
290
291iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the end 
292of a valid line by inserting a newline and then returning the EOF during the 
293next call to GetNextLine. Prevents the line from being ignored due to EOF 
294condition.
295
296iASL: Implemented some changes to enhance the IDE support (-vi option.) Error 
297and Warning messages are now correctly recognized for both the source code 
298browser and the global error and warning counts.
299
300----------------------------------------
30120 April 2012. Summary of changes for version 20120420:
302
303
3041) ACPICA Core Subsystem:
305
306Implemented support for multiple notify handlers. This change adds support to 
307allow multiple system and device notify handlers on Device, Thermal Zone, and 
308Processor objects. This can simplify the host OS notification implementation. 
309Also re-worked and restructured the entire notify support code to simplify 
310handler installation, handler removal, notify event queuing, and notify 
311dispatch to handler(s). Note: there can still only be two global notify 
312handlers - one for system notifies and one for device notifies. There are no 
313changes to the existing handler install/remove interfaces. Lin Ming, Bob 
314Moore, Rafael Wysocki.
315
316Fixed a regression in the package repair code where the object reference 
317count was calculated incorrectly. Regression was introduced in the commit 
318"Support to add Package wrappers".
319
320Fixed a couple possible memory leaks in the AML parser, in the error recovery 
321path. Jesper Juhl, Lin Ming.
322
323Example Code and Data Size: These are the sizes for the OS-independent 
324acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
325debug version of the code includes the debug output trace mechanism and has a 
326much larger code and data size.
327
328  Previous Release:
329    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
330    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
331  Current Release:
332    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
333    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
334
335
3362) iASL Compiler/Disassembler and Tools:
337
338iASL: Fixed a problem with the resource descriptor support where the length 
339of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
340included in cumulative descriptor offset, resulting in incorrect values for 
341resource tags within resource descriptors appearing after a StartDependent* 
342descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
343
344iASL and Preprocessor: Implemented full support for the #line directive to 
345correctly track original source file line numbers through the .i preprocessor 
346output file - for error and warning messages.
347
348iASL: Expand the allowable byte constants for address space IDs. Previously, 
349the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
3500x0A-0xFF to allow for custom and new IDs without changing the compiler.
351
352iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
353
354iASL: Add option to completely disable the preprocessor (-Pn).
355
356iASL: Now emit all error/warning messages to standard error (stderr) by 
357default (instead of the previous stdout).
358
359ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). Update 
360for resource descriptor offset fix above. Update/cleanup error output 
361routines. Enable and send iASL errors/warnings to an error logfile 
362(error.txt). Send all other iASL output to a logfile (compiler.txt). Fixed 
363several extraneous "unrecognized operator" messages.
364
365----------------------------------------
36620 March 2012. Summary of changes for version 20120320:
367
368
3691) ACPICA Core Subsystem:
370
371Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
372(Going To Sleep) and the _BFS method (Back From Sleep). Windows apparently 
373does not execute these methods, and therefore these methods are often 
374untested. It has been seen on some systems where the execution of these 
375methods causes errors and also prevents the machine from entering S5. It is 
376therefore suggested that host operating systems do not execute these methods 
377by default. In the future, perhaps these methods can be optionally executed 
378based on the age of the system and/or what is the newest version of Windows 
379that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState and 
380AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
381Ming.
382
383Fixed a problem where the length of the local/common FADT was set too early. 
384The local FADT table length cannot be set to the common length until the 
385original length has been examined. There is code that checks the table length 
386and sets various fields appropriately. This can affect older machines with 
387early FADT versions. For example, this can cause inadvertent writes to the 
388CST_CNT register. Julian Anastasov.
389
390Fixed a mapping issue related to a physical table override. Use the deferred 
391mapping mechanism for tables loaded via the physical override OSL interface. 
392This allows for early mapping before the virtual memory manager is available. 
393Thomas Renninger, Bob Moore.
394
395Enhanced the automatic return-object repair code: Repair a common problem with 
396predefined methods that are defined to return a variable-length Package of 
397sub-objects. If there is only one sub-object, some BIOS ASL code mistakenly 
398simply returns the single object instead of a Package with one sub-object. 
399This new support will repair this error by wrapping a Package object around 
400the original object, creating the correct and expected Package with one sub-
401object. Names that can be repaired in this manner include: _ALR, _CSD, _HPX, 
402_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 939.
403
404Changed the exception code returned for invalid ACPI paths passed as 
405parameters to external interfaces such as AcpiEvaluateObject. Was 
406AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
407
408Example Code and Data Size: These are the sizes for the OS-independent 
409acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
410version of the code includes the debug output trace mechanism and has a much 
411larger code and data size.
412
413  Previous Release:
414    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
415    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
416  Current Release:
417    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
418    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
419
420
4212) iASL Compiler/Disassembler and Tools:
422
423iASL: Added the infrastructure and initial implementation of a integrated C-
424like preprocessor. This will simplify BIOS development process by eliminating 
425the need for a separate preprocessing step during builds. On Windows, it also 
426eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
427features including full #define() macro support are still under development. 
428These preprocessor directives are supported:
429    #define
430    #elif
431    #else
432    #endif
433    #error
434    #if
435    #ifdef
436    #ifndef
437    #include
438    #pragma message
439    #undef
440    #warning
441In addition, these new command line options are supported:
442    -D <symbol> Define symbol for preprocessor use
443    -li         Create preprocessed output file (*.i)
444    -P          Preprocess only and create preprocessor output file (*.i)
445
446Table Compiler: Fixed a problem where the equals operator within an expression 
447did not work properly.
448
449Updated iASL to use the current versions of Bison/Flex. Updated the Windows 
450project file to invoke these tools from the standard location. ACPICA BZ 904. 
451Versions supported:
452    Flex for Windows:  V2.5.4
453    Bison for Windows: V2.4.1
454
455----------------------------------------
45615 February 2012. Summary of changes for version 20120215:
457
458
4591) ACPICA Core Subsystem:
460
461There have been some major changes to the sleep/wake support code, as 
462described below (a - e).
463
464a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
465AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
466AcpiLeaveSleepStatePrep. This allows the host to perform actions between the 
467time the _BFS method is called and the _WAK method is called. NOTE: all hosts 
468must update their wake/resume code or else sleep/wake will not work properly. 
469Rafael Wysocki.
470
471b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the _WAK 
472method. Some machines require that the GPEs are enabled before the _WAK method 
473is executed. Thomas Renninger.
474
475c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit. 
476Some BIOS code assumes that WAK_STS will be cleared on resume and use it to 
477determine whether the system is rebooting or resuming. Matthew Garrett.
478
479d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From Sleep) to 
480match the ACPI specification requirement. Rafael Wysocki.
481
482e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
483registers within the V5 FADT. This support adds two new files: 
484hardware/hwesleep.c implements the support for the new registers. Moved all 
485sleep/wake external interfaces to hardware/hwxfsleep.c.
486
487
488Added a new OSL interface for ACPI table overrides, 
489AcpiOsPhysicalTableOverride. This interface allows the host to override a 
490table via a physical address, instead of the logical address required by 
491AcpiOsTableOverride. This simplifies the host implementation. Initial 
492implementation by Thomas Renninger. The ACPICA implementation creates a single 
493shared function for table overrides that attempts both a logical and a 
494physical override.
495
496Expanded the OSL memory read/write interfaces to 64-bit data 
497(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
498transfer support for GAS register structures passed to AcpiRead and AcpiWrite.
499
500Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a custom 
501build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) model. 
502See the ACPICA reference for details. ACPICA BZ 942. This option removes about 
50310% of the code and 5% of the static data, and the following hardware ACPI 
504features become unavailable:
505    PM Event and Control registers
506    SCI interrupt (and handler)
507    Fixed Events
508    General Purpose Events (GPEs)
509    Global Lock
510    ACPI PM timer
511    FACS table (Waking vectors and Global Lock)
512
513Updated the unix tarball directory structure to match the ACPICA git source 
514tree. This ensures that the generic unix makefiles work properly (in 
515generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 867.
516
517Updated the return value of the _REV predefined method to integer value 5 to 
518reflect ACPI 5.0 support.
519
520Moved the external ACPI PM timer interface prototypes to the public acpixf.h 
521file where they belong.
522
523Example Code and Data Size: These are the sizes for the OS-independent 
524acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
525version of the code includes the debug output trace mechanism and has a much 
526larger code and data size.
527
528  Previous Release:
529    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
530    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
531  Current Release:
532    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
533    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
534
535
5362) iASL Compiler/Disassembler and Tools:
537
538Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
539descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
540incorrectly displayed.
541
542AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
543specification.
544
545----------------------------------------
54611 January 2012. Summary of changes for version 20120111:
547
548
5491) ACPICA Core Subsystem:
550
551Implemented a new mechanism to allow host device drivers to check for address 
552range conflicts with ACPI Operation Regions. Both SystemMemory and SystemIO 
553address spaces are supported. A new external interface, AcpiCheckAddressRange, 
554allows drivers to check an address range against the ACPI namespace. See the 
555ACPICA reference for additional details. Adds one new file, 
556utilities/utaddress.c. Lin Ming, Bob Moore.
557
558Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control and 
559Status registers, update the ACPI 5.0 flags, and update internal data 
560structures to handle an FADT larger than 256 bytes. The size of the ACPI 5.0 
561FADT is 268 bytes.
562
563Updated all ACPICA copyrights and signons to 2012. Added the 2012 copyright to 
564all module headers and signons, including the standard Linux header. This 
565affects virtually every file in the ACPICA core subsystem, iASL compiler, and 
566all ACPICA utilities.
567
568Example Code and Data Size: These are the sizes for the OS-independent 
569acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
570version of the code includes the debug output trace mechanism and has a much 
571larger code and data size.
572
573  Previous Release:
574    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
575    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
576  Current Release:
577    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
578    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
579
580
5812) iASL Compiler/Disassembler and Tools:
582
583Disassembler: fixed a problem with the automatic resource tag generation 
584support. Fixes a problem where the resource tags are inadvertently not 
585constructed if the table being disassembled contains external references to 
586control methods. Moved the actual construction of the tags to after the final 
587namespace is constructed (after 2nd parse is invoked due to external control 
588method references.) ACPICA BZ 941.
589
590Table Compiler: Make all "generic" operators caseless. These are the operators 
591like UINT8, String, etc. Making these caseless improves ease-of-use. ACPICA BZ 
592934.
593
594----------------------------------------
59523 November 2011. Summary of changes for version 20111123:
596
5970) ACPI 5.0 Support:
598
599This release contains full support for the ACPI 5.0 specification, as 
600summarized below.
601
602Reduced Hardware Support:
603-------------------------
604
605This support allows for ACPI systems without the usual ACPI hardware. This 
606support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA will 
607not attempt to initialize or use any of the usual ACPI hardware. Note, when 
608this flag is set, all of the following ACPI hardware is assumed to be not 
609present and is not initialized or accessed:
610
611    General Purpose Events (GPEs)
612    Fixed Events (PM1a/PM1b and PM Control)
613    Power Management Timer and Console Buttons (power/sleep)
614    Real-time Clock Alarm
615    Global Lock
616    System Control Interrupt (SCI)
617    The FACS is assumed to be non-existent
618
619ACPI Tables:
620------------
621
622All new tables and updates to existing tables are fully supported in the 
623ACPICA headers (for use by device drivers), the disassembler, and the iASL 
624Data Table Compiler. ACPI 5.0 defines these new tables:
625
626    BGRT        /* Boot Graphics Resource Table */
627    DRTM        /* Dynamic Root of Trust for Measurement table */
628    FPDT        /* Firmware Performance Data Table */
629    GTDT        /* Generic Timer Description Table */
630    MPST        /* Memory Power State Table */
631    PCCT        /* Platform Communications Channel Table */
632    PMTT        /* Platform Memory Topology Table */
633    RASF        /* RAS Feature table */
634
635Operation Regions/SpaceIDs:
636---------------------------
637
638All new operation regions are fully supported by the iASL compiler, the 
639disassembler, and the ACPICA runtime code (for dispatch to region handlers.) 
640The new operation region Space IDs are:
641
642    GeneralPurposeIo
643    GenericSerialBus
644
645Resource Descriptors:
646---------------------
647
648All new ASL resource descriptors are fully supported by the iASL compiler, the 
649ASL/AML disassembler, and the ACPICA runtime Resource Manager code (including 
650all new predefined resource tags). New descriptors are:
651
652    FixedDma
653    GpioIo
654    GpioInt
655    I2cSerialBus
656    SpiSerialBus
657    UartSerialBus
658
659ASL/AML Operators, New and Modified:
660------------------------------------
661
662One new operator is added, the Connection operator, which is used to associate 
663a GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
664field objects within an operation region. Several new protocols are associated 
665with the AccessAs operator. All are fully supported by the iASL compiler, 
666disassembler, and runtime ACPICA AML interpreter:
667
668    Connection                      // Declare Field Connection attributes
669    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
670    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
671    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
672    RawDataBuffer                       // Data type for Vendor Data fields
673
674Predefined ASL/AML Objects:
675---------------------------
676
677All new predefined objects/control-methods are supported by the iASL compiler 
678and the ACPICA runtime validation/repair (arguments and return values.) New 
679predefined names include the following:
680
681Standard Predefined Names (Objects or Control Methods):
682    _AEI, _CLS, _CPC, _CWS, _DEP,
683    _DLM, _EVT, _GCP, _CRT, _GWS,
684    _HRV, _PRE, _PSE, _SRT, _SUB.
685
686Resource Tags (Names used to access individual fields within resource 
687descriptors):
688    _DBT, _DPL, _DRS, _END, _FLC,
689    _IOR, _LIN, _MOD, _PAR, _PHA,
690    _PIN, _PPI, _POL, _RXL, _SLV,
691    _SPE, _STB, _TXL, _VEN.
692
693ACPICA External Interfaces:
694---------------------------
695
696Several new interfaces have been defined for use by ACPI-related device 
697drivers and other host OS services:
698
699AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS to 
700acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
701provided by the BIOS. They are intended to be used in conjunction with the 
702ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
703mutual exclusion with the AML code/interpreter.
704
705AcpiGetEventResources: Returns the (formatted) resource descriptors as defined 
706by the ACPI 5.0 _AEI object (ACPI Event Information).  This object provides 
707resource descriptors associated with hardware-reduced platform events, similar 
708to the AcpiGetCurrentResources interface.
709
710Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
711operation regions, information about the Connection() object and any optional 
712length information is passed to the region handler within the Context 
713parameter.
714
715AcpiBufferToResource: This interface converts a raw AML buffer containing a 
716resource template or resource descriptor to the ACPI_RESOURCE internal format 
717suitable for use by device drivers. Can be used by an operation region handler 
718to convert the Connection() buffer object into a ACPI_RESOURCE.
719
720Miscellaneous/Tools/TestSuites: 
721-------------------------------
722
723Support for extended _HID names (Four alpha characters instead of three).
724Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
725Support for ACPI 5.0 features in the ASLTS test suite.
726Fully updated documentation (ACPICA and iASL reference documents.)
727
728ACPI Table Definition Language:
729-------------------------------
730
731Support for this language was implemented and released as a subsystem of the 
732iASL compiler in 2010. (See the iASL compiler User Guide.)
733
734
735Non-ACPI 5.0 changes for this release:
736--------------------------------------
737
7381) ACPICA Core Subsystem:
739
740Fix a problem with operation region declarations where a failure can occur if 
741the region name and an argument that evaluates to an object (such as the 
742region address) are in different namespace scopes. Lin Ming, ACPICA BZ 937.
743
744Do not abort an ACPI table load if an invalid space ID is found within. This 
745will be caught later if the offending method is executed. ACPICA BZ 925.
746
747Fixed an issue with the FFixedHW space ID where the ID was not always 
748recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
749
750Fixed a problem with the 32-bit generation of the unix-specific OSL 
751(osunixxf.c). Lin Ming, ACPICA BZ 936.
752
753Several changes made to enable generation with the GCC 4.6 compiler. ACPICA BZ 
754935.
755
756New error messages: Unsupported I/O requests (not 8/16/32 bit), and Index/Bank 
757field registers out-of-range.
758
7592) iASL Compiler/Disassembler and Tools:
760
761iASL: Implemented the __PATH__ operator, which returns the full pathname of 
762the current source file.
763
764AcpiHelp: Automatically display expanded keyword information for all ASL 
765operators.
766
767Debugger: Add "Template" command to disassemble/dump resource template 
768buffers.
769
770Added a new master script to generate and execute the ASLTS test suite. 
771Automatically handles 32- and 64-bit generation. See tests/aslts.sh
772
773iASL: Fix problem with listing generation during processing of the Switch() 
774operator where AML listing was disabled until the entire Switch block was 
775completed.
776
777iASL: Improve support for semicolon statement terminators. Fix "invalid 
778character" message for some cases when the semicolon is used. Semicolons are 
779now allowed after every <Term> grammar element. ACPICA BZ 927.
780
781iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 923.
782
783Disassembler: Fix problem with disassembly of the DataTableRegion operator 
784where an inadvertent "Unhandled deferred opcode" message could be generated.
785
7863) Example Code and Data Size
787
788These are the sizes for the OS-independent acpica.lib produced by the 
789Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
790includes the debug output trace mechanism and has a much larger code and data 
791size.
792
793  Previous Release:
794    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
795    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
796  Current Release:
797    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
798    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
799
800----------------------------------------
80122 September 2011. Summary of changes for version 20110922:
802
8030) ACPI 5.0 News:
804
805Support for ACPI 5.0 in ACPICA has been underway for several months and will 
806be released at the same time that ACPI 5.0 is officially released.
807
808The ACPI 5.0 specification is on track for release in the next few months.
809 
8101) ACPICA Core Subsystem:
811
812Fixed a problem where the maximum sleep time for the Sleep() operator was 
813intended to be limited to two seconds, but was inadvertently limited to 20 
814seconds instead.
815
816Linux and Unix makefiles: Added header file dependencies to ensure correct 
817generation of ACPICA core code and utilities. Also simplified the makefiles 
818considerably through the use of the vpath variable to specify search paths. 
819ACPICA BZ 924.
820
8212) iASL Compiler/Disassembler and Tools:
822
823iASL: Implemented support to check the access length for all fields created to 
824access named Resource Descriptor fields. For example, if a resource field is 
825defined to be two bits, a warning is issued if a CreateXxxxField() is used 
826with an incorrect bit length. This is implemented for all current resource 
827descriptor names. ACPICA BZ 930.
828  
829Disassembler: Fixed a byte ordering problem with the output of 24-bit and 56-
830bit integers.
831
832iASL: Fixed a couple of issues associated with variable-length package 
833objects. 1) properly handle constants like One, Ones, Zero -- do not make a 
834VAR_PACKAGE when these are used as a package length. 2) Allow the VAR_PACKAGE 
835opcode (in addition to PACKAGE) when validating object types for predefined 
836names.
837
838iASL: Emit statistics for all output files (instead of just the ASL input and 
839AML output). Includes listings, hex files, etc.
840
841iASL: Added -G option to the table compiler to allow the compilation of custom 
842ACPI tables. The only part of a table that is required is the standard 36-byte 
843ACPI header.
844
845AcpiXtract: Ported to the standard ACPICA environment (with ACPICA headers), 
846which also adds correct 64-bit support. Also, now all output filenames are 
847completely lower case.
848
849AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
850loading table files. A warning is issued for any such tables. The only 
851exception is an FADT. This also fixes a possible fault when attempting to load 
852non-AML tables. ACPICA BZ 932.
853
854AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
855missing table terminator could cause a fault when using the -p option.
856
857AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
858statistics.
859
8603) Example Code and Data Size
861
862These are the sizes for the OS-independent acpica.lib produced by the 
863Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
864includes the debug output trace mechanism and has a much larger code and data 
865size.
866
867  Previous Release (VC 9.0):
868    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
869    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
870  Current Release (VC 9.0):
871    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
872    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
873
874
875----------------------------------------
87623 June 2011. Summary of changes for version 20110623:
877
8781) ACPI CA Core Subsystem:
879
880Updated the predefined name repair mechanism to not attempt repair of a _TSS 
881return object if a _PSS object is present. We can only sort the _TSS return 
882package if there is no _PSS within the same scope. This is because if _PSS is 
883present, the ACPI specification dictates that the _TSS Power Dissipation field 
884is to be ignored, and therefore some BIOSs leave garbage values in the _TSS 
885Power field(s). In this case, it is best to just return the _TSS package as-
886is. Reported by, and fixed with assistance from Fenghua Yu.
887
888Added an option to globally disable the control method return value validation 
889and repair. This runtime option can be used to disable return value repair if 
890this is causing a problem on a particular machine. Also added an option to 
891AcpiExec (-dr) to set this disable flag.
892
893All makefiles and project files: Major changes to improve generation of ACPICA 
894tools. ACPICA BZ 912:
895    Reduce default optimization levels to improve compatibility
896    For Linux, add strict-aliasing=0 for gcc 4
897    Cleanup and simplify use of command line defines
898    Cleanup multithread library support
899    Improve usage messages
900
901Linux-specific header: update handling of THREAD_ID and pthread. For the 32-
902bit case, improve casting to eliminate possible warnings, especially with the 
903acpica tools.
904
905Example Code and Data Size: These are the sizes for the OS-independent 
906acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
907version of the code includes the debug output trace mechanism and has a much 
908larger code and data size.
909
910  Previous Release (VC 9.0):
911    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
912    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
913  Current Release (VC 9.0):
914    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
915    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
916
9172) iASL Compiler/Disassembler and Tools:
918
919With this release, a new utility named "acpihelp" has been added to the ACPICA 
920package. This utility summarizes the ACPI specification chapters for the ASL 
921and AML languages. It generates under Linux/Unix as well as Windows, and 
922provides the following functionality:
923    Find/display ASL operator(s) -- with description and syntax.
924    Find/display ASL keyword(s) -- with exact spelling and descriptions.
925    Find/display ACPI predefined name(s) -- with description, number
926        of arguments, and the return value data type.
927    Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
928    Decode/display AML opcode -- with opcode name, arguments, and grammar.
929
930Service Layers: Make multi-thread support configurable. Conditionally compile 
931the multi-thread support so that threading libraries will not be linked if not 
932necessary. The only tool that requires multi-thread support is AcpiExec.
933
934iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of 
935Bison appear to want the interface to yyerror to be a const char * (or at 
936least this is a problem when generating iASL on some systems.) ACPICA BZ 923 
937Pierre Lejeune.
938
939Tools: Fix for systems where O_BINARY is not defined. Only used for Windows 
940versions of the tools.
941
942----------------------------------------
94327 May 2011. Summary of changes for version 20110527:
944
9451) ACPI CA Core Subsystem:
946
947ASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
948signature. Now, only allow SSDT, OEMx, and a null signature. History:
949    1) Originally, we checked the table signature for "SSDT" or "PSDT".
950       (PSDT is now obsolete.)
951    2) We added support for OEMx tables, signature "OEM" plus a fourth
952       "don't care" character.
953    3) Valid tables were encountered with a null signature, so we just
954       gave up on validating the signature, (05/2008).
955    4) We encountered non-AML tables such as the MADT, which caused
956       interpreter errors and kernel faults. So now, we once again allow
957       only SSDT, OEMx, and now, also a null signature. (05/2011).
958
959Added the missing _TDL predefined name to the global name list in order to 
960enable validation. Affects both the core ACPICA code and the iASL compiler.
961
962Example Code and Data Size: These are the sizes for the OS-independent 
963acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
964version of the code includes the debug output trace mechanism and has a much 
965larger code and data size.
966
967  Previous Release (VC 9.0):
968    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
969    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
970  Current Release (VC 9.0):
971    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
972    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
973
9742) iASL Compiler/Disassembler and Tools:
975
976Debugger/AcpiExec: Implemented support for "complex" method arguments on the 
977debugger command line. This adds support beyond simple integers -- including 
978Strings, Buffers, and Packages. Includes support for nested packages. 
979Increased the default command line buffer size to accommodate these arguments. 
980See the ACPICA reference for details and syntax. ACPICA BZ 917.
981 
982Debugger/AcpiExec: Implemented support for "default" method arguments for the 
983Execute/Debug command. Now, the debugger will always invoke a control method 
984with the required number of arguments -- even if the command line specifies 
985none or insufficient arguments. It uses default integer values for any missing 
986arguments. Also fixes a bug where only six method arguments maximum were 
987supported instead of the required seven.
988
989Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
990also return status in order to prevent buffer overruns. See the ACPICA 
991reference for details and syntax. ACPICA BZ 921
992
993iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
994makefiles to simplify support for the two different but similar parser 
995generators, bison and yacc.
996
997Updated the generic unix makefile for gcc 4. The default gcc version is now 
998expected to be 4 or greater, since options specific to gcc 4 are used.
999
1000----------------------------------------
100113 April 2011. Summary of changes for version 20110413:
1002
10031) ACPI CA Core Subsystem:
1004
1005Implemented support to execute a so-called "orphan" _REG method under the EC 
1006device. This change will force the execution of a _REG method underneath the 
1007EC 
1008device even if there is no corresponding operation region of type 
1009EmbeddedControl. Fixes a problem seen on some machines and apparently is 
1010compatible with Windows behavior. ACPICA BZ 875.
1011
1012Added more predefined methods that are eligible for automatic NULL package 
1013element removal. This change adds another group of predefined names to the 
1014list 
1015of names that can be repaired by having NULL package elements dynamically 
1016removed. This group are those methods that return a single variable-length 
1017package containing simple data types such as integers, buffers, strings. This 
1018includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL, 
1019_Sx, 
1020and _TZD. ACPICA BZ 914.
1021
1022Split and segregated all internal global lock functions to a new file, 
1023evglock.c.
1024
1025Updated internal address SpaceID for DataTable regions. Moved this internal 
1026space 
1027id in preparation for ACPI 5.0 changes that will include some new space IDs. 
1028This 
1029change should not affect user/host code.
1030
1031Example Code and Data Size: These are the sizes for the OS-independent 
1032acpica.lib 
1033produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
1034the code includes the debug output trace mechanism and has a much larger code 
1035and 
1036data size.
1037
1038  Previous Release (VC 9.0):
1039    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
1040    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
1041  Current Release (VC 9.0):
1042    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
1043    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
1044
10452) iASL Compiler/Disassembler and Tools:
1046
1047iASL/DTC: Major update for new grammar features. Allow generic data types in 
1048custom ACPI tables. Field names are now optional. Any line can be split to 
1049multiple lines using the continuation char (\). Large buffers now use line-
1050continuation character(s) and no colon on the continuation lines. See the 
1051grammar 
1052update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
1053
1054iASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements. 
1055Since the parser stuffs a "zero" as the return value for these statements (due 
1056to 
1057the underlying AML grammar), they were seen as "return with value" by the iASL 
1058semantic checking. They are now seen correctly as "null" return statements.
1059
1060iASL: Check if a_REG declaration has a corresponding Operation Region. Adds a 
1061check for each _REG to ensure that there is in fact a corresponding operation 
1062region declaration in the same scope. If not, the _REG method is not very 
1063useful 
1064since it probably won't be executed. ACPICA BZ 915.
1065
1066iASL/DTC: Finish support for expression evaluation. Added a new expression 
1067parser 
1068that implements c-style operator precedence and parenthesization. ACPICA 
1069bugzilla 
1070908.
1071
1072Disassembler/DTC: Remove support for () and <> style comments in data tables. 
1073Now 
1074that DTC has full expression support, we don't want to have comment strings 
1075that 
1076start with a parentheses or a less-than symbol. Now, only the standard /* and 
1077// 
1078comments are supported, as well as the bracket [] comments.
1079
1080AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
1081"unusual" 
1082headers in the acpidump file. Update the header validation to support these 
1083tables. Problem introduced in previous AcpiXtract version in the change to 
1084support "wrong checksum" error messages emitted by acpidump utility.
1085
1086iASL: Add a * option to generate all template files (as a synonym for ALL) as 
1087in 
1088"iasl -T *" or "iasl -T ALL".
1089
1090iASL/DTC: Do not abort compiler on fatal errors. We do not want to completely 
1091abort the compiler on "fatal" errors, simply should abort the current compile. 
1092This allows multiple compiles with a single (possibly wildcard) compiler 
1093invocation.
1094
1095----------------------------------------
109616 March 2011. Summary of changes for version 20110316:
1097
10981) ACPI CA Core Subsystem:
1099
1100Fixed a problem caused by a _PRW method appearing at the namespace root scope 
1101during the setup of wake GPEs. A fault could occur if a _PRW directly under 
1102the 
1103root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
1104
1105Implemented support for "spurious" Global Lock interrupts. On some systems, a 
1106global lock interrupt can occur without the pending flag being set. Upon a GL 
1107interrupt, we now ensure that a thread is actually waiting for the lock before 
1108signaling GL availability. Rafael Wysocki, Bob Moore.
1109
1110Example Code and Data Size: These are the sizes for the OS-independent 
1111acpica.lib 
1112produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
1113the code includes the debug output trace mechanism and has a much larger code 
1114and 
1115data size.
1116
1117  Previous Release (VC 9.0):
1118    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1119    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1120  Current Release (VC 9.0):
1121    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
1122    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
1123
11242) iASL Compiler/Disassembler and Tools:
1125
1126Implemented full support for the "SLIC" ACPI table. Includes support in the 
1127header files, disassembler, table compiler, and template generator. Bob Moore, 
1128Lin Ming.
1129
1130AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
1131Apparently some or all versions of acpidump will occasionally emit a comment 
1132like 
1133"Wrong checksum", etc., into the dump file. This was causing problems for 
1134AcpiXtract. ACPICA BZ 905.
1135
1136iASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
1137ACPICA BZ 913.
1138
1139AcpiExec: Update installation of operation region handlers. Install one 
1140handler 
1141for a user-defined address space. This is used by the ASL test suite (ASLTS).
1142
1143----------------------------------------
114411 February 2011. Summary of changes for version 20110211:
1145
11461) ACPI CA Core Subsystem:
1147
1148Added a mechanism to defer _REG methods for some early-installed handlers. 
1149Most user handlers should be installed before call to AcpiEnableSubsystem. 
1150However, Event handlers and region handlers should be installed after 
1151AcpiInitializeObjects. Override handlers for the "default" regions should be 
1152installed early, however. This change executes all _REG methods for the 
1153default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
1154chicken/egg issues between them. ACPICA BZ 848.
1155
1156Implemented an optimization for GPE detection. This optimization will simply 
1157ignore GPE registers that contain no enabled GPEs -- there is no need to 
1158read the register since this information is available internally. This 
1159becomes more important on machines with a large GPE space. ACPICA bugzilla 
1160884. Lin Ming. Suggestion from Joe Liu.
1161
1162Removed all use of the highly unreliable FADT revision field. The revision 
1163number in the FADT has been found to be completely unreliable and cannot be 
1164trusted. Only the actual table length can be used to infer the version. This 
1165change updates the ACPICA core and the disassembler so that both no longer 
1166even look at the FADT version and instead depend solely upon the FADT 
1167length.
1168
1169Fix an unresolved name issue for the no-debug and no-error-message source 
1170generation cases. The _AcpiModuleName was left undefined in these cases, but 
1171it is actually needed as a parameter to some interfaces. Define 
1172_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
1173
1174Split several large files (makefiles and project files updated)
1175  utglobal.c   -> utdecode.c
1176  dbcomds.c    -> dbmethod.c dbnames.c
1177  dsopcode.c   -> dsargs.c dscontrol.c
1178  dsload.c     -> dsload2.c
1179  aslanalyze.c -> aslbtypes.c aslwalks.c
1180
1181Example Code and Data Size: These are the sizes for the OS-independent 
1182acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1183debug version of the code includes the debug output trace mechanism and has 
1184a much larger code and data size.
1185
1186  Previous Release (VC 9.0):
1187    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1188    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1189  Current Release (VC 9.0):
1190    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1191    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1192
11932) iASL Compiler/Disassembler and Tools:
1194
1195iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
1196These are useful C-style macros with the standard definitions. ACPICA 
1197bugzilla 898.
1198
1199iASL/DTC: Added support for integer expressions and labels. Support for full 
1200expressions for all integer fields in all ACPI tables. Support for labels in 
1201"generic" portions of tables such as UEFI. See the iASL reference manual.
1202
1203Debugger: Added a command to display the status of global handlers. The 
1204"handlers" command will display op region, fixed event, and miscellaneous 
1205global handlers. installation status -- and for op regions, whether default 
1206or user-installed handler will be used.
1207
1208iASL: Warn if reserved method incorrectly returns a value. Many predefined 
1209names are defined such that they do not return a value. If implemented as a 
1210method, issue a warning if such a name explicitly returns a value. ACPICA 
1211Bugzilla 855.
1212
1213iASL: Added detection of GPE method name conflicts. Detects a conflict where 
1214there are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
1215example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
1216
1217iASL/DTC: Fixed a couple input scanner issues with comments and line 
1218numbers. Comment remover could get confused and miss a comment ending. Fixed 
1219a problem with line counter maintenance.
1220
1221iASL/DTC: Reduced the severity of some errors from fatal to error. There is 
1222no need to abort on simple errors within a field definition.
1223
1224Debugger: Simplified the output of the help command. All help output now in 
1225a single screen, instead of help subcommands. ACPICA Bugzilla 897.
1226
1227----------------------------------------
122812 January 2011. Summary of changes for version 20110112:
1229
12301) ACPI CA Core Subsystem:
1231
1232Fixed a race condition between method execution and namespace walks that can 
1233possibly cause a fault. The problem was apparently introduced in version 
123420100528 as a result of a performance optimization that reduces the number of 
1235namespace walks upon method exit by using the delete_namespace_subtree 
1236function instead of the delete_namespace_by_owner function used previously. 
1237Bug is a missing namespace lock in the delete_namespace_subtree function. 
1238dana.myers@oracle.com
1239
1240Fixed several issues and a possible fault with the automatic "serialized" 
1241method support. History: This support changes a method to "serialized" on the 
1242fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
1243possibility that it cannot handle reentrancy. This fix repairs a couple of 
1244issues seen in the field, especially on machines with many cores:
1245
1246    1) Delete method children only upon the exit of the last thread,
1247       so as to not delete objects out from under other running threads
1248      (and possibly causing a fault.)
1249    2) Set the "serialized" bit for the method only upon the exit of the
1250       Last thread, so as to not cause deadlock when running threads
1251       attempt to exit.
1252    3) Cleanup the use of the AML "MethodFlags" and internal method flags
1253       so that there is no longer any confusion between the two.
1254
1255    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
1256
1257Debugger: Now lock the namespace for duration of a namespace dump. Prevents 
1258issues if the namespace is changing dynamically underneath the debugger. 
1259Especially affects temporary namespace nodes, since the debugger displays 
1260these also.
1261
1262Updated the ordering of include files. The ACPICA headers should appear 
1263before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
1264any necessary compiler-specific defines, etc. Affects the ACPI-related tools 
1265and utilities.
1266
1267Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
1268to all module headers and signons, including the Linux header. This affects 
1269virtually every file in the ACPICA core subsystem, iASL compiler, and all 
1270utilities.
1271
1272Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
1273project files for VC++ 6.0 are now obsolete. New project files can be found 
1274under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
1275details.
1276
1277Example Code and Data Size: These are the sizes for the OS-independent 
1278acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1279debug version of the code includes the debug output trace mechanism and has a 
1280much larger code and data size.
1281
1282  Previous Release (VC 6.0):
1283    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
1284    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
1285  Current Release (VC 9.0):
1286    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1287    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1288
12892) iASL Compiler/Disassembler and Tools:
1290
1291iASL: Added generic data types to the Data Table compiler. Add "generic" data 
1292types such as UINT32, String, Unicode, etc., to simplify the generation of 
1293platform-defined tables such as UEFI. Lin Ming.
1294
1295iASL: Added listing support for the Data Table Compiler. Adds listing support 
1296(-l) to display actual binary output for each line of input code.
1297
1298----------------------------------------
129909 December 2010. Summary of changes for version 20101209:
1300
13011) ACPI CA Core Subsystem:
1302
1303Completed the major overhaul of the GPE support code that was begun in July 
13042010. Major features include: removal of _PRW execution in ACPICA (host 
1305executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
1306changes to existing interfaces, simplification of GPE handler operation, and 
1307a handful of new interfaces:
1308
1309    AcpiUpdateAllGpes
1310    AcpiFinishGpe
1311    AcpiSetupGpeForWake
1312    AcpiSetGpeWakeMask
1313    One new file, evxfgpe.c to consolidate all external GPE interfaces.
1314
1315See the ACPICA Programmer Reference for full details and programming 
1316information. See the new section 4.4 "General Purpose Event (GPE) Support" 
1317for a full overview, and section 8.7 "ACPI General Purpose Event Management" 
1318for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
1319Bob Moore, Rafael Wysocki.
1320
1321Implemented a new GPE feature for Windows compatibility, the "Implicit Wake 
1322GPE Notify". This feature will automatically issue a Notify(2) on a device 
1323when a Wake GPE is received if there is no corresponding GPE method or 
1324handler. ACPICA BZ 870.
1325
1326Fixed a problem with the Scope() operator during table parse and load phase. 
1327During load phase (table load or method execution), the scope operator should 
1328not enter the target into the namespace. Instead, it should open a new scope 
1329at the target location. Linux BZ 19462, ACPICA BZ 882.
1330
1331Example Code and Data Size: These are the sizes for the OS-independent 
1332acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1333debug version of the code includes the debug output trace mechanism and has a 
1334much larger code and data size.
1335
1336  Previous Release:
1337    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
1338    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
1339  Current Release:
1340    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1341    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1342
13432) iASL Compiler/Disassembler and Tools:
1344
1345iASL: Relax the alphanumeric restriction on _CID strings. These strings are 
1346"bus-specific" per the ACPI specification, and therefore any characters are 
1347acceptable. The only checks that can be performed are for a null string and 
1348perhaps for a leading asterisk. ACPICA BZ 886.
1349
1350iASL: Fixed a problem where a syntax error that caused a premature EOF 
1351condition on the source file emitted a very confusing error message. The 
1352premature EOF is now detected correctly. ACPICA BZ 891.
1353
1354Disassembler: Decode the AccessSize within a Generic Address Structure (byte 
1355access, word access, etc.) Note, this field does not allow arbitrary bit 
1356access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
1357
1358New: AcpiNames utility - Example namespace dump utility. Shows an example of 
1359ACPICA configuration for a minimal namespace dump utility. Uses table and 
1360namespace managers, but no AML interpreter. Does not add any functionality 
1361over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
1362partition and configure ACPICA. ACPICA BZ 883.
1363
1364AML Debugger: Increased the debugger buffer size for method return objects. 
1365Was 4K, increased to 16K. Also enhanced error messages for debugger method 
1366execution, including the buffer overflow case.
1367
1368----------------------------------------
136913 October 2010. Summary of changes for version 20101013:
1370
13711) ACPI CA Core Subsystem:
1372
1373Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
1374clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
1375HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
1376
1377Changed the type of the predefined namespace object _TZ from ThermalZone to 
1378Device. This was found to be confusing to the host software that processes 
1379the various thermal zones, since _TZ is not really a ThermalZone. However, a 
1380Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
1381Zhang.
1382
1383Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
1384string is "Windows 2006 SP2".
1385
1386Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
1387code automatically repairs _HID-related strings, this type of code is no 
1388longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
1389
1390Example Code and Data Size: These are the sizes for the OS-independent 
1391acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1392debug version of the code includes the debug output trace mechanism and has a 
1393much larger code and data size.
1394
1395  Previous Release:
1396    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1397    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1398  Current Release:
1399    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1400    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1401
14022) iASL Compiler/Disassembler and Tools:
1403
1404iASL: Implemented additional compile-time validation for _HID strings. The 
1405non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
1406the string must be exactly seven or eight characters. For both _HID and _CID 
1407strings, all characters must be alphanumeric. ACPICA BZ 874.
1408
1409iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
1410descriptors that are mostly or all zeros, with the expectation that they will 
1411be filled in at runtime. iASL now allows this as long as there is a "resource 
1412tag" (name) associated with the descriptor, which gives the ASL a handle 
1413needed to modify the descriptor. ACPICA BZ 873.
1414
1415Added single-thread support to the generic Unix application OSL. Primarily 
1416for iASL support, this change removes the use of semaphores in the single-
1417threaded ACPICA tools/applications - increasing performance. The 
1418_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
1419option. ACPICA BZ 879.
1420
1421AcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
1422for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
1423
1424iASL: Moved all compiler messages to a new file, aslmessages.h.
1425
1426----------------------------------------
142715 September 2010. Summary of changes for version 20100915:
1428
14291) ACPI CA Core Subsystem:
1430
1431Removed the AcpiOsDerivePciId OSL interface. The various host implementations 
1432of this function were not OS-dependent and are now obsolete and can be 
1433removed from all host OSLs. This function has been replaced by 
1434AcpiHwDerivePciId, which is now part of the ACPICA core code. 
1435AcpiHwDerivePciId has been implemented without recursion. Adds one new 
1436module, hwpci.c. ACPICA BZ 857.
1437
1438Implemented a dynamic repair for _HID and _CID strings. The following 
1439problems are now repaired at runtime: 1) Remove a leading asterisk in the 
1440string, and 2) the entire string is uppercased. Both repairs are in 
1441accordance with the ACPI specification and will simplify host driver code. 
1442ACPICA BZ 871.
1443
1444The ACPI_THREAD_ID type is no longer configurable, internally it is now 
1445always UINT64. This simplifies the ACPICA code, especially any printf output. 
1446UINT64 is the only common data type for all thread_id types across all 
1447operating systems. It is now up to the host OSL to cast the native thread_id 
1448type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
1449Lin Ming, Bob Moore.
1450
1451Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
1452keyword is not standard across compilers, and this type allows inline to be 
1453configured on a per-compiler basis. Lin Ming.
1454
1455Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
1456Added an extern for this boolean in acpixf.h. Some hosts utilize this value 
1457during suspend/restore operations. ACPICA BZ 869.
1458
1459All code that implements error/warning messages with the "ACPI:" prefix has 
1460been moved to a new module, utxferror.c.
1461
1462The UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
1463is used. ACPICA BZ 829. Lin Ming, Bob Moore.
1464
1465Example Code and Data Size: These are the sizes for the OS-independent 
1466acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1467debug version of the code includes the debug output trace mechanism and has a 
1468much larger code and data size.
1469
1470  Previous Release:
1471    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1472    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1473  Current Release:
1474    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
1475    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
1476
14772) iASL Compiler/Disassembler and Tools:
1478
1479iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
1480This keeps the output files free of random error messages that may originate 
1481from within the namespace/interpreter code. Used this opportunity to merge 
1482all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
1483866. Lin Ming, Bob Moore.
1484
1485Tools: update some printfs for ansi warnings on size_t. Handle width change 
1486of size_t on 32-bit versus 64-bit generations. Lin Ming.
1487
1488----------------------------------------
148906 August 2010. Summary of changes for version 20100806:
1490
14911) ACPI CA Core Subsystem:
1492
1493Designed and implemented a new host interface to the _OSI support code. This 
1494will allow the host to dynamically add or remove multiple _OSI strings, as 
1495well as install an optional handler that is called for each _OSI invocation. 
1496Also added a new AML debugger command, 'osi' to display and modify the global 
1497_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
1498reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
1499New Functions:
1500    AcpiInstallInterface - Add an _OSI string.
1501    AcpiRemoveInterface - Delete an _OSI string.
1502    AcpiInstallInterfaceHandler - Install optional _OSI handler.
1503Obsolete Functions:
1504    AcpiOsValidateInterface - no longer used.
1505New Files:
1506    source/components/utilities/utosi.c
1507
1508Re-introduced the support to enable multi-byte transfers for Embedded 
1509Controller (EC) operation regions. A reported problem was found to be a bug 
1510in the host OS, not in the multi-byte support. Previously, the maximum data 
1511size passed to the EC operation region handler was a single byte. There are 
1512often EC Fields larger than one byte that need to be transferred, and it is 
1513useful for the EC driver to lock these as a single transaction. This change 
1514enables single transfers larger than 8 bits. This effectively changes the 
1515access to the EC space from ByteAcc to AnyAcc, and will probably require 
1516changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
1517transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
1518
1519Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
1520prototype in acpiosxf.h had the output value pointer as a (void *).
1521It should be a (UINT64 *). This may affect some host OSL code.
1522
1523Fixed a couple problems with the recently modified Linux makefiles for iASL 
1524and AcpiExec. These new makefiles place the generated object files in the 
1525local directory so that there can be no collisions between the files that are 
1526shared between them that are compiled with different options.
1527
1528Example Code and Data Size: These are the sizes for the OS-independent 
1529acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1530debug version of the code includes the debug output trace mechanism and has a 
1531much larger code and data size.
1532
1533  Previous Release:
1534    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1535    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1536  Current Release:
1537    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
1538    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
1539
15402) iASL Compiler/Disassembler and Tools:
1541
1542iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
1543namespace from and disassemble an entire group of AML files. Useful for 
1544loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
1545disassembling with one simple command. ACPICA BZ 865. Lin Ming.
1546
1547iASL: Allow multiple invocations of -e option. This change allows multiple 
1548uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
1549Lin Ming.
1550
1551----------------------------------------
155202 July 2010. Summary of changes for version 20100702:
1553
15541) ACPI CA Core Subsystem:
1555
1556Implemented several updates to the recently added GPE reference count 
1557support. The model for "wake" GPEs is changing to give the host OS complete 
1558control of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
1559methods, since the host already must execute them. Also, additional changes 
1560were made to help ensure that the reference counts are kept in proper 
1561synchronization with reality. Rafael J. Wysocki.
1562
15631) Ensure that GPEs are not enabled twice during initialization.
15642) Ensure that GPE enable masks stay in sync with the reference count.
15653) Do not inadvertently enable GPEs when writing GPE registers.
15664) Remove the internal wake reference counter and add new AcpiGpeWakeup 
1567interface. This interface will set or clear individual GPEs for wakeup.
15685) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
1569are now used for "runtime" GPEs only.
1570
1571Changed the behavior of the GPE install/remove handler interfaces. The GPE is 
1572no longer disabled during this process, as it was found to cause problems on 
1573some machines. Rafael J. Wysocki.
1574
1575Reverted a change introduced in version 20100528 to enable Embedded 
1576Controller multi-byte transfers. This change was found to cause problems with 
1577Index Fields and possibly Bank Fields. It will be reintroduced when these 
1578problems have been resolved.
1579
1580Fixed a problem with references to Alias objects within Package Objects. A 
1581reference to an Alias within the definition of a Package was not always 
1582resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
1583were resolved to the actual object instead of a reference to the object as it 
1584should be. Package objects are only allowed to contain integer, string, 
1585buffer, package, and reference objects. Redhat bugzilla 608648.
1586
1587Example Code and Data Size: These are the sizes for the OS-independent 
1588acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1589debug version of the code includes the debug output trace mechanism and has a 
1590much larger code and data size.
1591
1592  Previous Release:
1593    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1594    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1595  Current Release:
1596    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1597    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1598
15992) iASL Compiler/Disassembler and Tools:
1600
1601iASL: Implemented a new compiler subsystem to allow definition and 
1602compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
1603are called "ACPI Data Tables", and the new compiler is the "Data Table 
1604Compiler". This compiler is intended to simplify the existing error-prone 
1605process of creating these tables for the BIOS, as well as allowing the 
1606disassembly, modification, recompilation, and override of existing ACPI data 
1607tables. See the iASL User Guide for detailed information.
1608
1609iASL: Implemented a new Template Generator option in support of the new Data 
1610Table Compiler. This option will create examples of all known ACPI tables 
1611that can be used as the basis for table development. See the iASL 
1612documentation and the -T option.
1613
1614Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
1615Descriptor Table).
1616
1617Updated the Linux makefiles for iASL and AcpiExec to place the generated 
1618object files in the local directory so that there can be no collisions 
1619between the shared files between them that are generated with different 
1620options.
1621
1622Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
1623the #define __APPLE__ to enable this support.
1624
1625----------------------------------------
162628 May 2010. Summary of changes for version 20100528:
1627
1628Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
1629available at www.acpi.info. This is primarily an errata release.
1630
16311) ACPI CA Core Subsystem:
1632
1633Undefined ACPI tables: We are looking for the definitions for the following 
1634ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
1635
1636Implemented support to enable multi-byte transfers for Embedded Controller 
1637(EC) operation regions. Previously, the maximum data size passed to the EC 
1638operation region handler was a single byte. There are often EC Fields larger 
1639than one byte that need to be transferred, and it is useful for the EC driver 
1640to lock these as a single transaction. This change enables single transfers 
1641larger than 8 bits. This effectively changes the access to the EC space from 
1642ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
1643Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
1644transfers. Alexey Starikovskiy, Lin Ming
1645
1646Implemented a performance enhancement for namespace search and access. This 
1647change enhances the performance of namespace searches and walks by adding a 
1648backpointer to the parent in each namespace node. On large namespaces, this 
1649change can improve overall ACPI performance by up to 9X. Adding a pointer to 
1650each namespace node increases the overall size of the internal namespace by 
1651about 5%, since each namespace entry usually consists of both a namespace 
1652node and an ACPI operand object. However, this is the first growth of the 
1653namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
1654
1655Implemented a performance optimization that reduces the number of namespace 
1656walks. On control method exit, only walk the namespace if the method is known 
1657to have created namespace objects outside of its local scope. Previously, the 
1658entire namespace was traversed on each control method exit. This change can 
1659improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
1660
1661Added support to truncate I/O addresses to 16 bits for Windows compatibility. 
1662Some ASL code has been seen in the field that inadvertently has bits set 
1663above bit 15. This feature is optional and is enabled if the BIOS requests 
1664any Windows OSI strings. It can also be enabled by the host OS. Matthew 
1665Garrett, Bob Moore.
1666
1667Added support to limit the maximum time for the ASL Sleep() operator. To 
1668prevent accidental deep sleeps, limit the maximum time that Sleep() will 
1669actually sleep. Configurable, the default maximum is two seconds. ACPICA 
1670bugzilla 854.
1671
1672Added run-time validation support for the _WDG and_WED Microsoft predefined 
1673methods. These objects are defined by "Windows Instrumentation", and are not 
1674part of the ACPI spec. ACPICA BZ 860.
1675
1676Expanded all statistic counters used during namespace and device 
1677initialization from 16 to 32 bits in order to support very large namespaces.
1678
1679Replaced all instances of %d in printf format specifiers with %u since nearly 
1680all integers in ACPICA are unsigned.
1681
1682Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
1683as AE_NO_HANDLER.
1684
1685Example Code and Data Size: These are the sizes for the OS-independent 
1686acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1687debug version of the code includes the debug output trace mechanism and has a 
1688much larger code and data size.
1689
1690  Previous Release:
1691    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1692    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1693  Current Release:
1694    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1695    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1696
16972) iASL Compiler/Disassembler and Tools:
1698
1699iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
1700methods. These objects are defined by "Windows Instrumentation", and are not 
1701part of the ACPI spec. ACPICA BZ 860.
1702
1703AcpiExec: added option to disable the memory tracking mechanism. The -dt 
1704option will disable the tracking mechanism, which improves performance 
1705considerably.
1706
1707AcpiExec: Restructured the command line options into -d (disable) and -e 
1708(enable) options.
1709
1710----------------------------------------
171128 April 2010. Summary of changes for version 20100428:
1712
17131) ACPI CA Core Subsystem:
1714
1715Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
1716including FADT-based and GPE Block Devices, execute any _PRW methods in the 
1717new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
1718runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
1719immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
1720Devices. Provides compatibility with other ACPI implementations. Two new 
1721files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
1722
1723Fixed a regression introduced in version 20100331 within the table manager 
1724where initial table loading could fail. This was introduced in the fix for 
1725AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
1726data structures to clarify their meaning and use.
1727
1728Fixed a possible allocation overrun during internal object copy in 
1729AcpiUtCopySimpleObject. The original code did not correctly handle the case 
1730where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
1731
1732Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
1733possible access beyond end-of-allocation. Also, now fully validate descriptor 
1734(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
1735
1736Example Code and Data Size: These are the sizes for the OS-independent 
1737acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1738debug version of the code includes the debug output trace mechanism and has a 
1739much larger code and data size.
1740
1741  Previous Release:
1742    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1743    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1744  Current Release:
1745    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1746    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1747
17482) iASL Compiler/Disassembler and Tools:
1749
1750iASL: Implemented Min/Max/Len/Gran validation for address resource 
1751descriptors. This change implements validation for the address fields that 
1752are common to all address-type resource descriptors. These checks are 
1753implemented: Checks for valid Min/Max, length within the Min/Max window, 
1754valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
1755table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
1756and aslrestype2.c files into five new files. ACPICA BZ 840.
1757
1758iASL: Added support for the _Wxx predefined names. This support was missing 
1759and these names were not recognized by the compiler as valid predefined 
1760names. ACPICA BZ 851.
1761
1762iASL: Added an error for all predefined names that are defined to return no 
1763value and thus must be implemented as Control Methods. These include all of 
1764the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
1765names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
1766
1767iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
1768ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
1769dynamically loaded via the Load() operator. Also cleaned up output for the -
1770ta and -tc options. ACPICA BZ 853.
1771
1772Tests: Added a new file with examples of extended iASL error checking. 
1773Demonstrates the advanced error checking ability of the iASL compiler. 
1774Available at tests/misc/badcode.asl.
1775
1776----------------------------------------
177731 March 2010. Summary of changes for version 20100331:
1778
17791) ACPI CA Core Subsystem:
1780
1781Completed a major update for the GPE support in order to improve support for 
1782shared GPEs and to simplify both host OS and ACPICA code. Added a reference 
1783count mechanism to support shared GPEs that require multiple device drivers. 
1784Several external interfaces have changed. One external interface has been 
1785removed. One new external interface was added. Most of the GPE external 
1786interfaces now use the GPE spinlock instead of the events mutex (and the 
1787Flags parameter for many GPE interfaces has been removed.) See the updated 
1788ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
1789Wysocki. ACPICA BZ 831.
1790
1791Changed:
1792    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
1793Removed:
1794    AcpiSetGpeType
1795New:
1796    AcpiSetGpe
1797
1798Implemented write support for DataTable operation regions. These regions are 
1799defined via the DataTableRegion() operator. Previously, only read support was 
1800implemented. The ACPI specification allows DataTableRegions to be read/write, 
1801however.
1802
1803Implemented a new subsystem option to force a copy of the DSDT to local 
1804memory. Optionally copy the entire DSDT to local memory (instead of simply 
1805mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
1806the original DSDT, creating the need for this option. Default is FALSE, do 
1807not copy the DSDT.
1808
1809Implemented detection of a corrupted or replaced DSDT. This change adds 
1810support to detect a DSDT that has been corrupted and/or replaced from outside 
1811the OS (by firmware). This is typically catastrophic for the system, but has 
1812been seen on some machines. Once this problem has been detected, the DSDT 
1813copy option can be enabled via system configuration. Lin Ming, Bob Moore.
1814
1815Fixed two problems with AcpiReallocateRootTable during the root table copy. 
1816When copying the root table to the new allocation, the length used was 
1817incorrect. The new size was used instead of the current table size, meaning 
1818too much data was copied. Also, the count of available slots for ACPI tables 
1819was not set correctly. Alexey Starikovskiy, Bob Moore.
1820
1821Example Code and Data Size: These are the sizes for the OS-independent 
1822acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1823debug version of the code includes the debug output trace mechanism and has a 
1824much larger code and data size.
1825
1826  Previous Release:
1827    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1828    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1829  Current Release:
1830    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1831    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1832
18332) iASL Compiler/Disassembler and Tools:
1834
1835iASL: Implement limited typechecking for values returned from predefined 
1836control methods. The type of any returned static (unnamed) object is now 
1837validated. For example, Return(1). ACPICA BZ 786.
1838
1839iASL: Fixed a predefined name object verification regression. Fixes a problem 
1840introduced in version 20100304. An error is incorrectly generated if a 
1841predefined name is declared as a static named object with a value defined 
1842using the keywords "Zero", "One", or "Ones". Lin Ming.
1843
1844iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
1845reducing the requested registry access rights. ACPICA BZ 842.
1846
1847Disassembler: fixed a possible fault when generating External() statements. 
1848Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
1849(carat). Fixes a string length allocation calculation. Lin Ming.
1850
1851----------------------------------------
185204 March 2010. Summary of changes for version 20100304:
1853
18541) ACPI CA Core Subsystem:
1855
1856Fixed a possible problem with the AML Mutex handling function 
1857AcpiExReleaseMutex where the function could fault under the very rare 
1858condition when the interpreter has blocked, the interpreter lock is released, 
1859the interpreter is then reentered via the same thread, and attempts to 
1860acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
1861Ming.
1862
1863Implemented additional configuration support for the AML "Debug Object". 
1864Output from the debug object can now be enabled via a global variable, 
1865AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
1866This debug output is now available in the release version of ACPICA instead 
1867of just the debug version. Also, the entire debug output module can now be 
1868configured out of the ACPICA build if desired. One new file added, 
1869executer/exdebug.c. Lin Ming, Bob Moore.
1870
1871Added header support for the ACPI MCHI table (Management Controller Host 
1872Interface Table). This table was added in ACPI 4.0, but the defining document 
1873has only recently become available.
1874
1875Standardized output of integer values for ACPICA warnings/errors. Always use 
18760x prefix for hex output, always use %u for unsigned integer decimal output. 
1877Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
1878invocations.) These invocations were converted from the original 
1879ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
1880
1881Example Code and Data Size: These are the sizes for the OS-independent 
1882acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1883debug version of the code includes the debug output trace mechanism and has a 
1884much larger code and data size.
1885
1886  Previous Release:
1887    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1888    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1889  Current Release:
1890    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1891    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1892
18932) iASL Compiler/Disassembler and Tools:
1894
1895iASL: Implemented typechecking support for static (non-control method) 
1896predefined named objects that are declared with the Name() operator. For 
1897example, the type of this object is now validated to be of type Integer: 
1898Name(_BBN, 1). This change migrates the compiler to using the core predefined 
1899name table instead of maintaining a local version. Added a new file, 
1900aslpredef.c. ACPICA BZ 832.
1901
1902Disassembler: Added support for the ACPI 4.0 MCHI table.
1903
1904----------------------------------------
190521 January 2010. Summary of changes for version 20100121:
1906
19071) ACPI CA Core Subsystem:
1908
1909Added the 2010 copyright to all module headers and signons. This affects 
1910virtually every file in the ACPICA core subsystem, the iASL compiler, the 
1911tools/utilities, and the test suites.
1912
1913Implemented a change to the AcpiGetDevices interface to eliminate unnecessary 
1914invocations of the _STA method. In the case where a specific _HID is 
1915requested, do not run _STA until a _HID match is found. This eliminates 
1916potentially dozens of _STA calls during a search for a particular device/HID, 
1917which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
1918
1919Implemented an additional repair for predefined method return values. Attempt 
1920to repair unexpected NULL elements within returned Package objects. Create an 
1921Integer of value zero, a NULL String, or a zero-length Buffer as appropriate. 
1922ACPICA BZ 818. Lin Ming, Bob Moore.
1923
1924Removed the obsolete ACPI_INTEGER data type. This type was introduced as the 
1925code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
192664-bit AML integers). It is now obsolete and this change removes it from the 
1927ACPICA code base, replaced by UINT64. The original typedef has been retained 
1928for now for compatibility with existing device driver code. ACPICA BZ 824.
1929
1930Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
1931the parse tree object.
1932
1933Added additional warning options for the gcc-4 generation. Updated the source 
1934accordingly. This includes some code restructuring to eliminate unreachable 
1935code, elimination of some gotos, elimination of unused return values, some 
1936additional casting, and removal of redundant declarations.
1937
1938Example Code and Data Size: These are the sizes for the OS-independent 
1939acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1940debug version of the code includes the debug output trace mechanism and has a 
1941much larger code and data size.
1942
1943  Previous Release:
1944    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1945    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1946  Current Release:
1947    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1948    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1949
19502) iASL Compiler/Disassembler and Tools:
1951
1952No functional changes for this release.
1953
1954----------------------------------------
195514 December 2009. Summary of changes for version 20091214:
1956
19571) ACPI CA Core Subsystem:
1958
1959Enhanced automatic data type conversions for predefined name repairs. This 
1960change expands the automatic repairs/conversions for predefined name return 
1961values to make Integers, Strings, and Buffers fully interchangeable. Also, a 
1962Buffer can be converted to a Package of Integers if necessary. The nsrepair.c 
1963module was completely restructured. Lin Ming, Bob Moore.
1964
1965Implemented automatic removal of null package elements during predefined name 
1966repairs. This change will automatically remove embedded and trailing NULL 
1967package elements from returned package objects that are defined to contain a 
1968variable number of sub-packages. The driver is then presented with a package 
1969with no null elements to deal with. ACPICA BZ 819.
1970
1971Implemented a repair for the predefined _FDE and _GTM names. The expected 
1972return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
1973possible problems (both seen in the field), where a package of integers is 
1974returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
1975
1976Implemented additional module-level code support. This change will properly 
1977execute module-level code that is not at the root of the namespace (under a 
1978Device object, etc.). Now executes the code within the current scope instead 
1979of the root. ACPICA BZ 762. Lin Ming.
1980
1981Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
1982problem where mutex errors can occur when running a _REG method that is in 
1983the same scope as a method-defined operation region or an operation region 
1984under a module-level IF block. This type of code is rare, so the problem has 
1985not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1986
1987Fixed a possible memory leak during module-level code execution. An object 
1988could be leaked for each block of executed module-level code if the 
1989interpreter slack mode is enabled This change deletes any implicitly returned 
1990object from the module-level code block. Lin Ming.
1991
1992Removed messages for successful predefined repair(s). The repair mechanism 
1993was considered too wordy. Now, messages are only unconditionally emitted if 
1994the return object cannot be repaired. Existing messages for successful 
1995repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
1996
1997Example Code and Data Size: These are the sizes for the OS-independent 
1998acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1999debug version of the code includes the debug output trace mechanism and has a 
2000much larger code and data size.
2001
2002  Previous Release:
2003    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
2004    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
2005  Current Release:
2006    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
2007    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
2008
20092) iASL Compiler/Disassembler and Tools:
2010
2011iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
2012were no longer automatically removed at the termination of the compile.
2013
2014acpiexec: Implemented the -f option to specify default region fill value. 
2015This option specifies the value used to initialize buffers that simulate 
2016operation regions. Default value is zero. Useful for debugging problems that 
2017depend on a specific initial value for a region or field.
2018
2019----------------------------------------
202012 November 2009. Summary of changes for version 20091112:
2021
20221) ACPI CA Core Subsystem:
2023
2024Implemented a post-order callback to AcpiWalkNamespace. The existing 
2025interface only has a pre-order callback. This change adds an additional 
2026parameter for a post-order callback which will be more useful for bus scans. 
2027ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
2028
2029Modified the behavior of the operation region memory mapping cache for 
2030SystemMemory. Ensure that the memory mappings created for operation regions 
2031do not cross 4K page boundaries. Crossing a page boundary while mapping 
2032regions can cause kernel warnings on some hosts if the pages have different 
2033attributes. Such regions are probably BIOS bugs, and this is the workaround. 
2034Linux BZ 14445. Lin Ming.
2035
2036Implemented an automatic repair for predefined methods that must return 
2037sorted lists. This change will repair (by sorting) packages returned by _ALR, 
2038_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
2039and do not contain NULL package elements. Adds one new file, 
2040namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
2041
2042Fixed a possible fault during predefined name validation if a return Package 
2043object contains NULL elements. Also adds a warning if a NULL element is 
2044followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
2045include repair or removal of all such NULL elements where possible.
2046
2047Implemented additional module-level executable AML code support. This change 
2048will execute module-level code that is not at the root of the namespace 
2049(under a Device object, etc.) at table load time. Module-level executable AML 
2050code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
2051
2052Implemented a new internal function to create Integer objects. This function 
2053simplifies miscellaneous object creation code. ACPICA BZ 823.
2054
2055Reduced the severity of predefined repair messages, Warning to Info. Since 
2056the object was successfully repaired, a warning is too severe. Reduced to an 
2057info message for now. These messages may eventually be changed to debug-only. 
2058ACPICA BZ 812.
2059
2060Example Code and Data Size: These are the sizes for the OS-independent 
2061acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2062debug version of the code includes the debug output trace mechanism and has a 
2063much larger code and data size.
2064
2065  Previous Release:
2066    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
2067    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
2068  Current Release:
2069    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
2070    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
2071
20722) iASL Compiler/Disassembler and Tools:
2073
2074iASL: Implemented Switch() with While(1) so that Break works correctly. This 
2075change correctly implements the Switch operator with a surrounding While(1) 
2076so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
2077
2078iASL: Added a message if a package initializer list is shorter than package 
2079length. Adds a new remark for a Package() declaration if an initializer list 
2080exists, but is shorter than the declared length of the package. Although 
2081technically legal, this is probably a coding error and it is seen in the 
2082field. ACPICA BZ 815. Lin Ming, Bob Moore.
2083
2084iASL: Fixed a problem where the compiler could fault after the maximum number 
2085of errors was reached (200).
2086
2087acpixtract: Fixed a possible warning for pointer cast if the compiler warning 
2088level set very high.
2089
2090----------------------------------------
209113 October 2009. Summary of changes for version 20091013:
2092
20931) ACPI CA Core Subsystem:
2094
2095Fixed a problem where an Operation Region _REG method could be executed more 
2096than once. If a custom address space handler is installed by the host before 
2097the "initialize operation regions" phase of the ACPICA initialization, any 
2098_REG methods for that address space could be executed twice. This change 
2099fixes the problem. ACPICA BZ 427. Lin Ming.
2100
2101Fixed a possible memory leak for the Scope() ASL operator. When the exact 
2102invocation of "Scope(\)" is executed (change scope to root), one internal 
2103operand object was leaked. Lin Ming.
2104
2105Implemented a run-time repair for the _MAT predefined method. If the _MAT 
2106return value is defined as a Field object in the AML, and the field
2107size is less than or equal to the default width of an integer (32 or 64),_MAT 
2108can incorrectly return an Integer instead of a Buffer. ACPICA now 
2109automatically repairs this problem. ACPICA BZ 810.
2110
2111Implemented a run-time repair for the _BIF and _BIX predefined methods. The 
2112"OEM Information" field is often incorrectly returned as an Integer with 
2113value zero if the field is not supported by the platform. This is due to an 
2114ambiguity in the ACPI specification. The field should always be a string. 
2115ACPICA now automatically repairs this problem by returning a NULL string 
2116within the returned Package. ACPICA BZ 807.
2117
2118Example Code and Data Size: These are the sizes for the OS-independent 
2119acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2120debug version of the code includes the debug output trace mechanism and has a 
2121much larger code and data size.
2122
2123  Previous Release:
2124    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
2125    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
2126  Current Release:
2127    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
2128    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
2129
21302) iASL Compiler/Disassembler and Tools:
2131
2132Disassembler: Fixed a problem where references to external symbols that 
2133contained one or more parent-prefixes (carats) were not handled correctly, 
2134possibly causing a fault. ACPICA BZ 806. Lin Ming.
2135
2136Disassembler: Restructured the code so that all functions that handle 
2137external symbols are in a single module. One new file is added, 
2138common/dmextern.c.
2139
2140AML Debugger: Added a max count argument for the Batch command (which 
2141executes multiple predefined methods within the namespace.)
2142
2143iASL: Updated the compiler documentation (User Reference.) Available at 
2144http://www.acpica.org/documentation/. ACPICA BZ 750.
2145
2146AcpiXtract: Updated for Lint and other formatting changes. Close all open 
2147files.
2148
2149----------------------------------------
215003 September 2009. Summary of changes for version 20090903:
2151
21521) ACPI CA Core Subsystem:
2153
2154For Windows Vista compatibility, added the automatic execution of an _INI 
2155method located at the namespace root (\_INI). This method is executed at 
2156table load time. This support is in addition to the automatic execution of 
2157\_SB._INI. Lin Ming.
2158
2159Fixed a possible memory leak in the interpreter for AML package objects if 
2160the package initializer list is longer than the defined size of the package. 
2161This apparently can only happen if the BIOS changes the package size on the 
2162fly (seen in a _PSS object), as ASL compilers do not allow this. The 
2163interpreter will truncate the package to the defined size (and issue an error 
2164message), but previously could leave the extra objects undeleted if they were 
2165pre-created during the argument processing (such is the case if the package 
2166consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
2167
2168Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
2169This has been reported in the field. Previously, ACPICA would zero out the 
2170buffer/string. Now, the operation is treated as a noop. Provides Windows 
2171compatibility. ACPICA BZ 803. Lin Ming.
2172
2173Removed an extraneous error message for ASL constructs of the form 
2174Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
2175are seen in many BIOSs and are once again treated as NOOPs and no error is 
2176emitted when they are encountered. ACPICA BZ 785.
2177
2178Fixed an extraneous warning message if a _DSM reserved method returns a 
2179Package object. _DSM can return any type of object, so validation on the 
2180return type cannot be performed. ACPICA BZ 802.
2181
2182Example Code and Data Size: These are the sizes for the OS-independent 
2183acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2184debug version of the code includes the debug output trace mechanism and has a 
2185much larger code and data size.
2186
2187  Previous Release:
2188    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
2189    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
2190  Current Release:
2191    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
2192    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
2193
21942) iASL Compiler/Disassembler and Tools:
2195
2196iASL: Fixed a problem with the use of the Alias operator and Resource 
2197Templates. The correct alias is now constructed and no error is emitted. 
2198ACPICA BZ 738.
2199
2200iASL: Implemented the -I option to specify additional search directories for 
2201include files. Allows multiple additional search paths for include files. 
2202Directories are searched in the order specified on the command line (after 
2203the local directory is searched.) ACPICA BZ 800.
2204
2205iASL: Fixed a problem where the full pathname for include files was not 
2206emitted for warnings/errors. This caused the IDE support to not work 
2207properly. ACPICA BZ 765.
2208
2209iASL: Implemented the -@ option to specify a Windows-style response file 
2210containing additional command line options. ACPICA BZ 801.
2211
2212AcpiExec: Added support to load multiple AML files simultaneously (such as a 
2213DSDT and multiple SSDTs). Also added support for wildcards within the AML 
2214pathname. These features allow all machine tables to be easily loaded and 
2215debugged together. ACPICA BZ 804.
2216
2217Disassembler: Added missing support for disassembly of HEST table Error Bank 
2218subtables. 
2219
2220----------------------------------------
222130 July 2009. Summary of changes for version 20090730:
2222
2223The ACPI 4.0 implementation for ACPICA is complete with this release.
2224
22251) ACPI CA Core Subsystem:
2226
2227ACPI 4.0: Added header file support for all new and changed ACPI tables. 
2228Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
2229for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
2230EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
2231have been some ACPI 4.0 changes to other existing tables. Split the large 
2232actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
2233
2234ACPI 4.0: Implemented predefined name validation for all new names. There are 
223531 new names in ACPI 4.0. The predefined validation module was split into two 
2236files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
2237
2238Implemented support for so-called "module-level executable code". This is 
2239executable AML code that exists outside of any control method and is intended 
2240to be executed at table load time. Although illegal since ACPI 2.0, this type 
2241of code still exists and is apparently still being created. Blocks of this 
2242code are now detected and executed as intended. Currently, the code blocks 
2243must exist under either an If, Else, or While construct; these are the 
2244typical cases seen in the field. ACPICA BZ 762. Lin Ming.
2245
2246Implemented an automatic dynamic repair for predefined names that return 
2247nested Package objects. This applies to predefined names that are defined to 
2248return a variable-length Package of sub-packages. If the number of sub-
2249packages is one, BIOS code is occasionally seen that creates a simple single 
2250package with no sub-packages. This code attempts to fix the problem by 
2251wrapping a new package object around the existing package. These methods can 
2252be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
2253790.
2254
2255Fixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
2256The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
2257BZ 793.
2258
2259Fixed a problem with AcpiReset where the reset would silently fail if the 
2260register was one of the protected I/O ports. AcpiReset now bypasses the port 
2261validation mechanism. This may eventually be driven into the AcpiRead/Write 
2262interfaces.
2263
2264Fixed a regression related to the recent update of the AcpiRead/Write 
2265interfaces. A sleep/suspend could fail if the optional PM2 Control register 
2266does not exist during an attempt to write the Bus Master Arbitration bit. 
2267(However, some hosts already delete the code that writes this bit, and the 
2268code may in fact be obsolete at this date.) ACPICA BZ 799.
2269
2270Fixed a problem where AcpiTerminate could fault if inadvertently called twice 
2271in succession. ACPICA BZ 795.
2272
2273Example Code and Data Size: These are the sizes for the OS-independent 
2274acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2275debug version of the code includes the debug output trace mechanism and has a 
2276much larger code and data size.
2277
2278  Previous Release:
2279    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
2280    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
2281  Current Release:
2282    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
2283    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
2284
22852) iASL Compiler/Disassembler and Tools:
2286
2287ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
2288changes to existing tables. ACPICA BZ 775.
2289
2290----------------------------------------
229125 June 2009. Summary of changes for version 20090625:
2292
2293The ACPI 4.0 Specification was released on June 16 and is available at 
2294www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
2295continue for the next few releases.
2296
22971) ACPI CA Core Subsystem:
2298
2299ACPI 4.0: Implemented interpreter support for the IPMI operation region 
2300address space. Includes support for bi-directional data buffers and an IPMI 
2301address space handler (to be installed by an IPMI device driver.) ACPICA BZ 
2302773. Lin Ming.
2303
2304ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
2305support in both the header files and the disassembler.
2306
2307Completed a major update for the AcpiGetObjectInfo external interface. 
2308Changes include:
2309 - Support for variable, unlimited length HID, UID, and CID strings.
2310 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
2311 - Call the _SxW power methods on behalf of a device object.
2312 - Determine if a device is a PCI root bridge.
2313 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
2314These changes will require an update to all callers of this interface. See 
2315the updated ACPICA Programmer Reference for details. One new source file has 
2316been added - utilities/utids.c. ACPICA BZ 368, 780.
2317
2318Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
2319transfers. The Value parameter has been extended from 32 bits to 64 bits in 
2320order to support new ACPI 4.0 tables. These changes will require an update to 
2321all callers of these interfaces. See the ACPICA Programmer Reference for 
2322details. ACPICA BZ 768.
2323
2324Fixed several problems with AcpiAttachData. The handler was not invoked when 
2325the host node was deleted. The data sub-object was not automatically deleted 
2326when the host node was deleted. The interface to the handler had an unused 
2327parameter, this was removed. ACPICA BZ 778.
2328
2329Enhanced the function that dumps ACPI table headers. All non-printable 
2330characters in the string fields are now replaced with '?' (Signature, OemId, 
2331OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
2332these fields are occasionally seen in the field. ACPICA BZ 788.
2333
2334Fixed a problem with predefined method repair code where the code that 
2335attempts to repair/convert an object of incorrect type is only executed on 
2336the first time the predefined method is called. The mechanism that disables 
2337warnings on subsequent calls was interfering with the repair mechanism. 
2338ACPICA BZ 781.
2339
2340Fixed a possible memory leak in the predefined validation/repair code when a 
2341buffer is automatically converted to an expected string object.
2342
2343Removed obsolete 16-bit files from the distribution and from the current git 
2344tree head. ACPICA BZ 776.
2345
2346Example Code and Data Size: These are the sizes for the OS-independent 
2347acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2348debug version of the code includes the debug output trace mechanism and has a 
2349much larger code and data size.
2350
2351  Previous Release:
2352    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
2353    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
2354  Current Release:
2355    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
2356    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
2357
23582) iASL Compiler/Disassembler and Tools:
2359
2360ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
2361operation region keyword. ACPICA BZ 771, 772. Lin Ming.
2362
2363ACPI 4.0: iASL - implemented compile-time validation support for all new 
2364predefined names and control methods (31 total). ACPICA BZ 769.
2365
2366----------------------------------------
236721 May 2009. Summary of changes for version 20090521:
2368
23691) ACPI CA Core Subsystem:
2370
2371Disabled the preservation of the SCI enable bit in the PM1 control register. 
2372The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
2373a "preserved" bit - "OSPM always preserves this bit position", section 
23744.7.3.2.1. However, some machines fail if this bit is in fact preserved 
2375because the bit needs to be explicitly set by the OS as a workaround. No 
2376machines fail if the bit is not preserved. Therefore, ACPICA no longer 
2377attempts to preserve this bit.
2378
2379Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
2380incorrectly formed _PRT package could cause a fault. Added validation to 
2381ensure that each package element is actually a sub-package.
2382
2383Implemented a new interface to install or override a single control method, 
2384AcpiInstallMethod. This interface is useful when debugging in order to repair 
2385an existing method or to install a missing method without having to override 
2386the entire ACPI table. See the ACPICA Programmer Reference for use and 
2387examples. Lin Ming, Bob Moore.
2388
2389Fixed several reference count issues with the DdbHandle object that is 
2390created from a Load or LoadTable operator. Prevent premature deletion of the 
2391object. Also, mark the object as invalid once the table has been unloaded. 
2392This is needed because the handle itself may not be deleted after the table 
2393unload, depending on whether it has been stored in a named object by the 
2394caller. Lin Ming.
2395
2396Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
2397mutexes of the same sync level are acquired but then not released in strict 
2398opposite order, the internally maintained Current Sync Level becomes confused 
2399and can cause subsequent execution errors. ACPICA BZ 471.
2400
2401Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
2402specification has been changed to make the SyncLevel for mutex objects more 
2403useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
2404same as the current sync level. This makes more sense than the previous rule 
2405(SyncLevel less than or equal). This change updates the code to match the 
2406specification.
2407
2408Fixed a problem with the local version of the AcpiOsPurgeCache function. The 
2409(local) cache must be locked during all cache object deletions. Andrew 
2410Baumann.
2411
2412Updated the Load operator to use operation region interfaces. This replaces 
2413direct memory mapping with region access calls. Now, all region accesses go 
2414through the installed region handler as they should.
2415
2416Simplified and optimized the NsGetNextNode function. Reduced parameter count 
2417and reduced code for this frequently used function.
2418
2419Example Code and Data Size: These are the sizes for the OS-independent 
2420acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2421debug version of the code includes the debug output trace mechanism and has a 
2422much larger code and data size.
2423
2424  Previous Release:
2425    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
2426    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
2427  Current Release:
2428    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
2429    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
2430
24312) iASL Compiler/Disassembler and Tools:
2432
2433Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
2434with sub-table disassembly and handling invalid sub-tables. Attempt recovery 
2435after an invalid sub-table ID.
2436
2437----------------------------------------
243822 April 2009. Summary of changes for version 20090422:
2439
24401) ACPI CA Core Subsystem:
2441
2442Fixed a compatibility issue with the recently released I/O port protection 
2443mechanism. For windows compatibility, 1) On a port protection violation, 
2444simply ignore the request and do not return an exception (allow the control 
2445method to continue execution.) 2) If only part of the request overlaps a 
2446protected port, read/write the individual ports that are not protected. Linux 
2447BZ 13036. Lin Ming
2448
2449Enhanced the execution of the ASL/AML BreakPoint operator so that it actually 
2450breaks into the AML debugger if the debugger is present. This matches the 
2451ACPI-defined behavior.
2452
2453Fixed several possible warnings related to the use of the configurable 
2454ACPI_THREAD_ID. This type can now be configured as either an integer or a 
2455pointer with no warnings. Also fixes several warnings in printf-like 
2456statements for the 64-bit build when the type is configured as a pointer. 
2457ACPICA BZ 766, 767.
2458
2459Fixed a number of possible warnings when compiling with gcc 4+ (depending on 
2460warning options.) Examples include printf formats, aliasing, unused globals, 
2461missing prototypes, missing switch default statements, use of non-ANSI 
2462library functions, use of non-ANSI constructs. See generate/unix/Makefile for 
2463a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
2464
2465Example Code and Data Size: These are the sizes for the OS-independent 
2466acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2467debug version of the code includes the debug output trace mechanism and has a 
2468much larger code and data size.
2469
2470  Previous Release:
2471    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2472    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2473  Current Release:
2474    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
2475    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
2476
24772) iASL Compiler/Disassembler and Tools:
2478
2479iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
2480the 64-bit build.
2481
2482iASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
2483correctly digest Windows/DOS formatted files (with CR/LF).
2484
2485iASL: Added a new option for "quiet mode" (-va) that produces only the 
2486compilation summary, not individual errors and warnings. Useful for large 
2487batch compilations.
2488
2489AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
2490timeout that can be used to detect hang conditions during execution of AML 
2491code (includes both internal semaphores and AML-defined mutexes and events.)
2492
2493Added new makefiles for the generation of acpica in a generic unix-like 
2494environment. These makefiles are intended to generate the acpica tools and 
2495utilities from the original acpica git source tree structure.
2496
2497Test Suites: Updated and cleaned up the documentation files. Updated the 
2498copyrights to 2009, affecting all source files. Use the new version of iASL 
2499with quiet mode. Increased the number of available semaphores in the Windows 
2500OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
2501an alternate implementation of the semaphore timeout to allow aslts to 
2502execute fully on Cygwin.
2503
2504----------------------------------------
250520 March 2009. Summary of changes for version 20090320:
2506
25071) ACPI CA Core Subsystem:
2508
2509Fixed a possible race condition between AcpiWalkNamespace and dynamic table 
2510unloads. Added a reader/writer locking mechanism to allow multiple concurrent 
2511namespace walks (readers), but block a dynamic table unload until it can gain 
2512exclusive write access to the namespace. This fixes a problem where a table 
2513unload could (possibly catastrophically) delete the portion of the namespace 
2514that is currently being examined by a walk. Adds a new file, utlock.c, that 
2515implements the reader/writer lock mechanism. ACPICA BZ 749.
2516
2517Fixed a regression introduced in version 20090220 where a change to the FADT 
2518handling could cause the ACPICA subsystem to access non-existent I/O ports.
2519
2520Modified the handling of FADT register and table (FACS/DSDT) addresses. The 
2521FADT can contain both 32-bit and 64-bit versions of these addresses. 
2522Previously, the 64-bit versions were favored, meaning that if both 32 and 64 
2523versions were valid, but not equal, the 64-bit version was used. This was 
2524found to cause some machines to fail. Now, in this case, the 32-bit version 
2525is used instead. This now matches the Windows behavior.
2526
2527Implemented a new mechanism to protect certain I/O ports. Provides Microsoft 
2528compatibility and protects the standard PC I/O ports from access via AML 
2529code. Adds a new file, hwvalid.c
2530
2531Fixed a possible extraneous warning message from the FADT support. The 
2532message warns of a 32/64 length mismatch between the legacy and GAS 
2533definitions for a register.
2534
2535Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is 
2536made obsolete by the port protection mechanism above. It was previously used 
2537to validate the entire address range of an operation region, which could be 
2538incorrect if the range included illegal ports, but fields within the 
2539operation region did not actually access those ports. Validation is now 
2540performed on a per-field basis instead of the entire region.
2541
2542Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
2543Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
2544means a read/modify/write when writing to the register. However, for status 
2545registers, writing a one means clear the event. Writing a zero means preserve 
2546the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
2547and the ACPICA code now simply always writes a zero to the ignored bit.
2548
2549Modified the handling of ignored bits for the PM1 A/B Control Registers. As 
2550per the ACPI specification, for the control registers, preserve 
2551(read/modify/write) all bits that are defined as either reserved or ignored.
2552
2553Updated the handling of write-only bits in the PM1 A/B Control Registers. 
2554When reading the register, zero the write-only bits as per the ACPI spec. 
2555ACPICA BZ 443. Lin Ming.
2556
2557Removed "Linux" from the list of supported _OSI strings. Linux no longer 
2558wants to reply true to this request. The Windows strings are the only paths 
2559through the AML that are tested and known to work properly.
2560
2561  Previous Release:
2562    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2563    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2564  Current Release:
2565    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
2566    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
2567
25682) iASL Compiler/Disassembler and Tools:
2569
2570Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
2571aetables.c
2572
2573----------------------------------------
257420 February 2009. Summary of changes for version 20090220:
2575
25761) ACPI CA Core Subsystem:
2577
2578Optimized the ACPI register locking. Removed locking for reads from the ACPI 
2579bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
2580not required when reading the single-bit registers. The 
2581AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
2582This will improve performance for reads on these registers. ACPICA BZ 760.
2583
2584Fixed the parameter validation for AcpiRead/Write. Now return 
2585AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
2586the register has an address of zero. Previously, these cases simply returned 
2587AE_OK. For optional registers such as PM1B status/enable/control, the caller 
2588should check for a valid register address before calling. ACPICA BZ 748.
2589
2590Renamed the external ACPI bit register access functions. Renamed 
2591AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
2592functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
2593Also, restructured the code for these functions by simplifying the code path 
2594and condensing duplicate code to reduce code size.
2595
2596Added new functions to transparently handle the possibly split PM1 A/B 
2597registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
2598now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
2599746.
2600
2601Added a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
2602This function writes both of the PM1 control registers (A/B). These registers 
2603are different than the PM1 A/B status and enable registers in that different 
2604values can be written to the A/B registers. Most notably, the SLP_TYP bits 
2605can be different, as per the values returned from the _Sx predefined methods.
2606
2607Removed an extra register write within AcpiHwClearAcpiStatus. This function 
2608was writing an optional PM1B status register twice. The existing call to the 
2609low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
2610register. ACPICA BZ 751.
2611
2612Split out the PM1 Status registers from the FADT. Added new globals for these 
2613registers (A/B), similar to the way the PM1 Enable registers are handled. 
2614Instead of overloading the FADT Event Register blocks. This makes the code 
2615clearer and less prone to error.
2616
2617Fixed the warning message for when the platform contains too many ACPI tables 
2618for the default size of the global root table data structure. The calculation 
2619for the truncation value was incorrect.
2620
2621Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
2622obsolete macro, since it is now a simple reference to ->common.type. There 
2623were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
2624
2625Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
2626TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
2627simply SLEEP_TYPE. ACPICA BZ 754.
2628
2629Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
2630function is only needed on 64-bit host operating systems and is thus not 
2631included for 32-bit hosts.
2632
2633Debug output: print the input and result for invocations of the _OSI reserved 
2634control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
2635verbosity of this debug level. Len Brown.
2636
2637Example Code and Data Size: These are the sizes for the OS-independent 
2638acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2639debug version of the code includes the debug output trace mechanism and has a 
2640much larger code and data size.
2641
2642  Previous Release:
2643    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2644    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2645  Current Release:
2646    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2647    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2648
26492) iASL Compiler/Disassembler and Tools:
2650
2651Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
2652various legal performance profiles.
2653
2654----------------------------------------
265523 January 2009. Summary of changes for version 20090123:
2656
26571) ACPI CA Core Subsystem:
2658
2659Added the 2009 copyright to all module headers and signons. This affects 
2660virtually every file in the ACPICA core subsystem, the iASL compiler, and 
2661the tools/utilities.
2662
2663Implemented a change to allow the host to override any ACPI table, including 
2664dynamically loaded tables. Previously, only the DSDT could be replaced by the 
2665host. With this change, the AcpiOsTableOverride interface is called for each 
2666table found in the RSDT/XSDT during ACPICA initialization, and also whenever 
2667a table is dynamically loaded via the AML Load operator.
2668
2669Updated FADT flag definitions, especially the Boot Architecture flags.
2670
2671Debugger: For the Find command, automatically pad the input ACPI name with 
2672underscores if the name is shorter than 4 characters. This enables a match 
2673with the actual namespace entry which is itself padded with underscores.
2674
2675Example Code and Data Size: These are the sizes for the OS-independent 
2676acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2677debug version of the code includes the debug output trace mechanism and has a 
2678much larger code and data size.
2679
2680  Previous Release:
2681    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2682    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2683  Current Release:
2684    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2685    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2686
26872) iASL Compiler/Disassembler and Tools:
2688
2689Fix build error under Bison-2.4.
2690
2691Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
2692flags. Now decode all flags, regardless of the FADT version. Flag output 
2693includes the FADT version which first defined each flag.
2694
2695The iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
2696DSDT). Windows only.
2697
2698----------------------------------------
269904 December 2008. Summary of changes for version 20081204:
2700
27011) ACPI CA Core Subsystem:
2702
2703The ACPICA Programmer Reference has been completely updated and revamped for 
2704this release. This includes updates to the external interfaces, OSL 
2705interfaces, the overview sections, and the debugger reference.
2706
2707Several new ACPICA interfaces have been implemented and documented in the 
2708programmer reference:
2709AcpiReset - Writes the reset value to the FADT-defined reset register.
2710AcpiDisableAllGpes - Disable all available GPEs.
2711AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
2712AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
2713AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
2714AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
2715AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
2716
2717Most of the public ACPI hardware-related interfaces have been moved to a new 
2718file, components/hardware/hwxface.c
2719
2720Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
2721register lengths within the FADT are now used, and the low level ACPI 
2722register access no longer hardcodes the ACPI register lengths. Given that 
2723there may be some risk in actually trusting the FADT register lengths, a run-
2724time option was added to fall back to the default hardcoded lengths if the 
2725FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
2726option is set to true for now, and a warning is issued if a suspicious FADT 
2727register length is overridden with the default value.
2728
2729Fixed a reference count issue in NsRepairObject. This problem was introduced 
2730in version 20081031 as part of a fix to repair Buffer objects within 
2731Packages. Lin Ming.
2732
2733Added semaphore support to the Linux/Unix application OS-services layer 
2734(OSL). ACPICA BZ 448. Lin Ming.
2735
2736Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
2737be implemented in the OSL, or will binary semaphores be used instead.
2738
2739Example Code and Data Size: These are the sizes for the OS-independent 
2740acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2741debug version of the code includes the debug output trace mechanism and has a 
2742much larger code and data size.
2743
2744  Previous Release:
2745    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2746    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2747  Current Release:
2748    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2749    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2750
27512) iASL Compiler/Disassembler and Tools:
2752
2753iASL: Completed the '-e' option to include additional ACPI tables in order to 
2754aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
2755Ming.
2756
2757iASL: Removed the "named object in while loop" error. The compiler cannot 
2758determine how many times a loop will execute. ACPICA BZ 730.
2759
2760Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
2761BZ 743.
2762
2763Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
2764
2765----------------------------------------
276631 October 2008. Summary of changes for version 20081031:
2767
27681) ACPI CA Core Subsystem:
2769
2770Restructured the ACPICA header files into public/private. acpi.h now includes 
2771only the "public" acpica headers. All other acpica headers are "private" and 
2772should not be included by acpica users. One new file, accommon.h is used to 
2773include the commonly used private headers for acpica code generation. Future 
2774plans include moving all private headers to a new subdirectory.
2775
2776Implemented an automatic Buffer->String return value conversion for 
2777predefined ACPI methods. For these methods (such as _BIF), added automatic 
2778conversion for return objects that are required to be a String, but a Buffer 
2779was found instead. This can happen when reading string battery data from an 
2780operation region, because it used to be difficult to convert the data from 
2781buffer to string from within the ASL. Ensures that the host OS is provided 
2782with a valid null-terminated string. Linux BZ 11822.
2783
2784Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
2785into two: one for the 32-bit vector, another for the 64-bit vector. This is 
2786required because the host OS must setup the wake much differently for each 
2787vector (real vs. protected mode, etc.) and the interface itself should not be 
2788deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
2789interface, as it served no purpose (only the firmware reads the vector, OS 
2790only writes the vector.) ACPICA BZ 731.
2791
2792Implemented a mechanism to escape infinite AML While() loops. Added a loop 
2793counter to force exit from AML While loops if the count becomes too large. 
2794This can occur in poorly written AML when the hardware does not respond 
2795within a while loop and the loop does not implement a timeout. The maximum 
2796loop count is configurable. A new exception code is returned when a loop is 
2797broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
2798
2799Optimized the execution of AML While loops. Previously, a control state 
2800object was allocated and freed for each execution of the loop. The 
2801optimization is to simply reuse the control state for each iteration. This 
2802speeds up the raw loop execution time by about 5%.
2803
2804Enhanced the implicit return mechanism. For Windows compatibility, return an 
2805implicit integer of value zero for methods that contain no executable code. 
2806Such methods are seen in the field as stubs (presumably), and can cause 
2807drivers to fail if they expect a return value. Lin Ming.
2808
2809Allow multiple backslashes as root prefixes in namepaths. In a fully 
2810qualified namepath, allow multiple backslash prefixes. This can happen (and 
2811is seen in the field) because of the use of a double-backslash in strings 
2812(since backslash is the escape character) causing confusion. ACPICA BZ 739 
2813Lin Ming.
2814
2815Emit a warning if two different FACS or DSDT tables are discovered in the 
2816FADT. Checks if there are two valid but different addresses for the FACS and 
2817DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
2818
2819Consolidated the method argument count validation code. Merged the code that 
2820validates control method argument counts into the predefined validation 
2821module. Eliminates possible multiple warnings for incorrect argument counts.
2822
2823Implemented ACPICA example code. Includes code for ACPICA initialization, 
2824handler installation, and calling a control method. Available at 
2825source/tools/examples.
2826
2827Added a global pointer for FACS table to simplify internal FACS access. Use 
2828the global pointer instead of using AcpiGetTableByIndex for each FACS access. 
2829This simplifies the code for the Global Lock and the Firmware Waking 
2830Vector(s).
2831
2832Example Code and Data Size: These are the sizes for the OS-independent 
2833acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2834debug version of the code includes the debug output trace mechanism and has a 
2835much larger code and data size.
2836
2837  Previous Release:
2838    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2839    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2840  Current Release:
2841    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2842    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2843
28442) iASL Compiler/Disassembler and Tools:
2845
2846iASL: Improved disassembly of external method calls. Added the -e option to 
2847allow the inclusion of additional ACPI tables to help with the disassembly of 
2848method invocations and the generation of external declarations during the 
2849disassembly. Certain external method invocations cannot be disassembled 
2850properly without the actual declaration of the method. Use the -e option to 
2851include the table where the external method(s) are actually declared. Most 
2852useful for disassembling SSDTs that make method calls back to the master 
2853DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
2854-e dsdt.aml ssdt1.aml
2855
2856iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
2857problem where the use of an alias within a namepath would result in a not 
2858found error or cause the compiler to fault. Also now allows forward 
2859references from the Alias operator itself. ACPICA BZ 738.
2860
2861----------------------------------------
286226 September 2008. Summary of changes for version 20080926:
2863
28641) ACPI CA Core Subsystem:
2865
2866Designed and implemented a mechanism to validate predefined ACPI methods and 
2867objects. This code validates the predefined ACPI objects (objects whose names 
2868start with underscore) that appear in the namespace, at the time they are 
2869evaluated. The argument count and the type of the returned object are 
2870validated against the ACPI specification. The purpose of this validation is 
2871to detect problems with the BIOS-implemented predefined ACPI objects before 
2872the results are returned to the ACPI-related drivers. Future enhancements may 
2873include actual repair of incorrect return objects where possible. Two new 
2874files are nspredef.c and acpredef.h.
2875
2876Fixed a fault in the AML parser if a memory allocation fails during the Op 
2877completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
2878
2879Fixed an issue with implicit return compatibility. This change improves the 
2880implicit return mechanism to be more compatible with the MS interpreter. Lin 
2881Ming, ACPICA BZ 349.
2882
2883Implemented support for zero-length buffer-to-string conversions. Allow zero 
2884length strings during interpreter buffer-to-string conversions. For example, 
2885during the ToDecimalString and ToHexString operators, as well as implicit 
2886conversions. Fiodor Suietov, ACPICA BZ 585.
2887
2888Fixed two possible memory leaks in the error exit paths of 
2889AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
2890similar in that they use a stack of state objects in order to eliminate 
2891recursion. The stack must be fully unwound and deallocated if an error 
2892occurs. Lin Ming. ACPICA BZ 383.
2893
2894Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
2895ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
2896Moore ACPICA BZ 442.
2897
2898Removed the obsolete version number in module headers. Removed the 
2899"$Revision" number that appeared in each module header. This version number 
2900was useful under SourceSafe and CVS, but has no meaning under git. It is not 
2901only incorrect, it could also be misleading.
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:  79.7K Code, 16.4K Data,  96.1K Total
2910    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2911  Current Release:
2912    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2913    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2914
2915----------------------------------------
291629 August 2008. Summary of changes for version 20080829:
2917
29181) ACPI CA Core Subsystem:
2919
2920Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
2921Reference. Changes include the elimination of cheating on the Object field 
2922for the DdbHandle subtype, addition of a reference class field to 
2923differentiate the various reference types (instead of an AML opcode), and the 
2924cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
2925
2926Reduce an error to a warning for an incorrect method argument count. 
2927Previously aborted with an error if too few arguments were passed to a 
2928control method via the external ACPICA interface. Now issue a warning instead 
2929and continue. Handles the case where the method inadvertently declares too 
2930many arguments, but does not actually use the extra ones. Applies mainly to 
2931the predefined methods. Lin Ming. Linux BZ 11032.
2932
2933Disallow the evaluation of named object types with no intrinsic value. Return 
2934AE_TYPE for objects that have no value and therefore evaluation is undefined: 
2935Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
2936these types were allowed, but an exception would be generated at some point 
2937during the evaluation. Now, the error is generated up front.
2938
2939Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
2940(nsnames.c). Fixes a leak in the error exit path.
2941
2942Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
2943levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
2944interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
2945ACPI_LV_EVENTS.
2946
2947Removed obsolete and/or unused exception codes from the acexcep.h header. 
2948There is the possibility that certain device drivers may be affected if they 
2949use any of these exceptions.
2950
2951The ACPICA documentation has been added to the public git source tree, under 
2952acpica/documents. Included are the ACPICA programmer reference, the iASL 
2953compiler reference, and the changes.txt release logfile.
2954
2955Example Code and Data Size: These are the sizes for the OS-independent 
2956acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2957debug version of the code includes the debug output trace mechanism and has a 
2958much larger code and data size.
2959
2960  Previous Release:
2961    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2962    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2963  Current Release:
2964    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2965    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2966
29672) iASL Compiler/Disassembler and Tools:
2968
2969Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
2970defines _SCP with 3 arguments. Previous versions defined it with only 1 
2971argument. iASL now allows both definitions.
2972
2973iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2974length subtables when disassembling ACPI tables. Also fixed a couple of 
2975errors where a full 16-bit table type field was not extracted from the input 
2976properly.
2977
2978acpisrc: Improve comment counting mechanism for generating source code 
2979statistics. Count first and last lines of multi-line comments as whitespace, 
2980not comment lines. Handle Linux legal header in addition to standard acpica 
2981header.
2982
2983----------------------------------------
2984
298529 July 2008. Summary of changes for version 20080729:
2986
29871) ACPI CA Core Subsystem:
2988
2989Fix a possible deadlock in the GPE dispatch. Remove call to 
2990AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
2991to acquire the GPE lock but can deadlock since the GPE lock is already held 
2992at dispatch time. This code was introduced in version 20060831 as a response 
2993to Linux BZ 6881 and has since been removed from Linux.
2994
2995Add a function to dereference returned reference objects. Examines the return 
2996object from a call to AcpiEvaluateObject. Any Index or RefOf references are 
2997automatically dereferenced in an attempt to return something useful (these 
2998reference types cannot be converted into an external ACPI_OBJECT.) Provides 
2999MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
3000
3001x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
3002subtables for the MADT and one new subtable for the SRAT. Includes 
3003disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
3004Specification, June 2008.
3005
3006Additional error checking for pathname utilities. Add error check after all 
3007calls to AcpiNsGetPathnameLength. Add status return from 
3008AcpiNsBuildExternalPath and check after all calls. Add parameter validation 
3009to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
3010
3011Return status from the global init function AcpiUtGlobalInitialize. This is 
3012used by both the kernel subsystem and the utilities such as iASL compiler. 
3013The function could possibly fail when the caches are initialized. Yang Yi.
3014
3015Add a function to decode reference object types to strings. Created for 
3016improved error messages. 
3017
3018Improve object conversion error messages. Better error messages during object 
3019conversion from internal to the external ACPI_OBJECT. Used for external calls 
3020to AcpiEvaluateObject.
3021
3022Example Code and Data Size: These are the sizes for the OS-independent 
3023acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3024debug version of the code includes the debug output trace mechanism and has a 
3025much larger code and data size.
3026
3027  Previous Release:
3028    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
3029    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
3030  Current Release:
3031    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
3032    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
3033
30342) iASL Compiler/Disassembler and Tools:
3035
3036Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
3037introduced in version 20080701. If the object being evaluated (via execute 
3038command) is not a method, the debugger can hang while trying to obtain non-
3039existent parameters.
3040
3041iASL: relax error for using reserved "_T_x" identifiers. These names can 
3042appear in a disassembled ASL file if they were emitted by the original 
3043compiler. Instead of issuing an error or warning and forcing the user to 
3044manually change these names, issue a remark instead.
3045
3046iASL: error if named object created in while loop. Emit an error if any named 
3047object is created within a While loop. If allowed, this code will generate a 
3048run-time error on the second iteration of the loop when an attempt is made to 
3049create the same named object twice. ACPICA bugzilla 730.
3050
3051iASL: Support absolute pathnames for include files. Add support for absolute 
3052pathnames within the Include operator. previously, only relative pathnames 
3053were supported.
3054
3055iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
3056The ACPI spec requires one interrupt minimum. BZ 423
3057
3058iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
3059Handles the case for the Interrupt Resource Descriptor where
3060the ResourceSource argument is omitted but ResourceSourceIndex
3061is present. Now leave room for the Index. BZ 426
3062
3063iASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
3064where an error message is emitted if the target does not exist. BZ 516
3065
3066iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
3067(get ACPI tables on Windows). This was apparently broken in version 20070919.
3068
3069AcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
3070the EOF happens immediately after the last table in the input file. Print 
3071completion message. Previously, no message was displayed in this case.
3072
3073----------------------------------------
307401 July 2008. Summary of changes for version 20080701:
3075
30760) Git source tree / acpica.org
3077
3078Fixed a problem where a git-clone from http would not transfer the entire 
3079source tree.
3080
30811) ACPI CA Core Subsystem:
3082
3083Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
3084enable bit. Now performs a read-change-write of the enable register instead 
3085of simply writing out the cached enable mask. This will prevent inadvertent 
3086enabling of GPEs if a rogue GPE is received during initialization (before GPE 
3087handlers are installed.)
3088
3089Implemented a copy for dynamically loaded tables. Previously, dynamically 
3090loaded tables were simply mapped - but on some machines this memory is 
3091corrupted after suspend. Now copy the table to a local buffer. For the 
3092OpRegion case, added checksum verify. Use the table length from the table 
3093header, not the region length. For the Buffer case, use the table length 
3094also. Dennis Noordsij, Bob Moore. BZ 10734
3095
3096Fixed a problem where the same ACPI table could not be dynamically loaded and 
3097unloaded more than once. Without this change, a table cannot be loaded again 
3098once it has been loaded/unloaded one time. The current mechanism does not 
3099unregister a table upon an unload. During a load, if the same table is found, 
3100this no longer returns an exception. BZ 722
3101
3102Fixed a problem where the wrong descriptor length was calculated for the 
3103EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
3104are calculated as 12 bytes long, but the actual length in the internal 
3105descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
3106by Linn Crosetto. BZ 728
3107
3108Fixed a possible memory leak in the Unload operator. The DdbHandle returned 
3109by Load() did not have its reference count decremented during unload, leading 
3110to a memory leak. Lin Ming. BZ 727
3111
3112Fixed a possible memory leak when deleting thermal/processor objects. Any 
3113associated notify handlers (and objects) were not being deleted. Fiodor 
3114Suietov. BZ 506
3115
3116Fixed the ordering of the ASCII names in the global mutex table to match the 
3117actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
3118Vegard Nossum. BZ 726
3119
3120Enhanced the AcpiGetObjectInfo interface to return the number of required 
3121arguments if the object is a control method. Added this call to the debugger 
3122so the proper number of default arguments are passed to a method. This 
3123prevents a warning when executing methods from AcpiExec.
3124
3125Added a check for an invalid handle in AcpiGetObjectInfo. Return 
3126AE_BAD_PARAMETER if input handle is invalid. BZ 474
3127
3128Fixed an extraneous warning from exconfig.c on the 64-bit build.
3129
3130Example Code and Data Size: These are the sizes for the OS-independent 
3131acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3132debug version of the code includes the debug output trace mechanism and has a 
3133much larger code and data size.
3134
3135  Previous Release:
3136    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
3137    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
3138  Current Release:
3139    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
3140    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
3141
31422) iASL Compiler/Disassembler and Tools:
3143
3144iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
3145resource descriptor names.
3146
3147iASL: Detect invalid ASCII characters in input (windows version). Removed the 
3148"-CF" flag from the flex compile, enables correct detection of non-ASCII 
3149characters in the input. BZ 441
3150
3151iASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
3152"result of operation not used" warning when the DDB handle returned from 
3153LoadTable is not used. The warning is not needed. BZ 590
3154
3155AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
3156pass address of table to the AML. Added option to disable OpRegion simulation 
3157to allow creation of an OpRegion with a real address that was passed to _CFG. 
3158All of this allows testing of the Load and Unload operators from AcpiExec.
3159
3160Debugger: update tables command for unloaded tables. Handle unloaded tables 
3161and use the standard table header output routine.
3162
3163----------------------------------------
316409 June 2008. Summary of changes for version 20080609:
3165
31661) ACPI CA Core Subsystem:
3167
3168Implemented a workaround for reversed _PRT entries. A significant number of 
3169BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
3170change dynamically detects and repairs this problem. Provides compatibility 
3171with MS ACPI. BZ 6859
3172
3173Simplified the internal ACPI hardware interfaces to eliminate the locking 
3174flag parameter from Register Read/Write. Added a new external interface, 
3175AcpiGetRegisterUnlocked.
3176
3177Fixed a problem where the invocation of a GPE control method could hang. This 
3178was a regression introduced in 20080514. The new method argument count 
3179validation mechanism can enter an infinite loop when a GPE method is 
3180dispatched. Problem fixed by removing the obsolete code that passed GPE block 
3181information to the notify handler via the control method parameter pointer.
3182
3183Fixed a problem where the _SST execution status was incorrectly returned to 
3184the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
318520080514. _SST is optional and a NOT_FOUND exception should never be 
3186returned. BZ 716
3187
3188Fixed a problem where a deleted object could be accessed from within the AML 
3189parser. This was a regression introduced in version 20080123 as a fix for the 
3190Unload operator. Lin Ming. BZ 10669
3191
3192Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
3193and eliminated the use of a negative index in a loop. Operands are now 
3194displayed in the correct order, not backwards. This also fixes a regression 
3195introduced in 20080514 on 64-bit systems where the elimination of 
3196ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
3197
3198Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
3199path did not delete a locally allocated structure.
3200
3201Updated definitions for the DMAR and SRAT tables to synchronize with the 
3202current specifications. Includes disassembler support.
3203
3204Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
3205loop termination value was used. Loop terminated on iteration early, missing 
3206one mutex. Linn Crosetto
3207
3208Example Code and Data Size: These are the sizes for the OS-independent 
3209acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3210debug version of the code includes the debug output trace mechanism and has a 
3211much larger code and data size.
3212
3213  Previous Release:
3214    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
3215    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
3216  Current Release:
3217    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
3218    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
3219
32202) iASL Compiler/Disassembler and Tools:
3221
3222Disassembler: Implemented support for EisaId() within _CID objects. Now 
3223disassemble integer _CID objects back to EisaId invocations, including 
3224multiple integers within _CID packages. Includes single-step support for 
3225debugger also.
3226
3227Disassembler: Added support for DMAR and SRAT table definition changes.
3228
3229----------------------------------------
323014 May 2008. Summary of changes for version 20080514:
3231
32321) ACPI CA Core Subsystem:
3233
3234Fixed a problem where GPEs were enabled too early during the ACPICA 
3235initialization. This could lead to "handler not installed" errors on some 
3236machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
3237ensures that all operation regions and devices throughout the namespace have 
3238been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
3239
3240Implemented a change to the enter sleep code. Moved execution of the _GTS 
3241method to just before setting sleep enable bit. The execution was moved from 
3242AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
3243immediately before the SLP_EN bit is set, as per the ACPI specification. 
3244Luming Yu, BZ 1653.
3245
3246Implemented a fix to disable unknown GPEs (2nd version). Now always disable 
3247the GPE, even if ACPICA thinks that that it is already disabled. It is 
3248possible that the AML or some other code has enabled the GPE unbeknownst to 
3249the ACPICA code.
3250
3251Fixed a problem with the Field operator where zero-length fields would return 
3252an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
3253field declarations in Field(), BankField(), and IndexField(). BZ 10606.
3254
3255Implemented a fix for the Load operator, now load the table at the namespace 
3256root. This reverts a change introduced in version 20071019. The table is now 
3257loaded at the namespace root even though this goes against the ACPI 
3258specification. This provides compatibility with other ACPI implementations. 
3259The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
3260
3261Fixed a problem where ACPICA would not Load() tables with unusual signatures. 
3262Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
3263acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
3264Therefore, signature validation is worthless. Apparently MS ACPI accepts such 
3265signatures, ACPICA must be compatible. BZ 10454.
3266
3267Fixed a possible negative array index in AcpiUtValidateException. Added NULL 
3268fields to the exception string arrays to eliminate a -1 subtraction on the 
3269SubStatus field.
3270
3271Updated the debug tracking macros to reduce overall code and data size. 
3272Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
3273instead of pointers to static strings. Jan Beulich and Bob Moore.
3274
3275Implemented argument count checking in control method invocation via 
3276AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
3277many. This applies only to extern programmatic control method execution, not 
3278method-to-method calls within the AML. Lin Ming.
3279
3280Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
3281longer needed, especially with the removal of 16-bit support. It was replaced 
3282mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
328332/64-bit platforms is required.
3284
3285Added the C const qualifier for appropriate string constants -- mostly 
3286MODULE_NAME and printf format strings. Jan Beulich.
3287
3288Example Code and Data Size: These are the sizes for the OS-independent 
3289acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3290debug version of the code includes the debug output trace mechanism and has a 
3291much larger code and data size.
3292
3293  Previous Release:
3294    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
3295    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
3296  Current Release:
3297    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
3298    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
3299
33002) iASL Compiler/Disassembler and Tools:
3301
3302Implemented ACPI table revision ID validation in the disassembler. Zero is 
3303always invalid. For DSDTs, the ID controls the interpreter integer width. 1 
3304means 32-bit and this is unusual. 2 or greater is 64-bit.
3305
3306----------------------------------------
330721 March 2008. Summary of changes for version 20080321:
3308
33091) ACPI CA Core Subsystem:
3310
3311Implemented an additional change to the GPE support in order to suppress 
3312spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
3313disable incoming GPEs that are neither enabled nor disabled -- meaning that 
3314the GPE is unknown to the system. This should prevent future interrupt floods 
3315from that GPE. BZ 6217 (Zhang Rui)
3316
3317Fixed a problem where NULL package elements were not returned to the 
3318AcpiEvaluateObject interface correctly. The element was simply ignored 
3319instead of returning a NULL ACPI_OBJECT package element, potentially causing 
3320a buffer overflow and/or confusing the caller who expected a fixed number of 
3321elements. BZ 10132 (Lin Ming, Bob Moore)
3322
3323Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
3324Qword), Field, BankField, and IndexField operators when invoked from inside 
3325an executing control method. In this case, these operators created namespace 
3326nodes that were incorrectly left marked as permanent nodes instead of 
3327temporary nodes. This could cause a problem if there is race condition 
3328between an exiting control method and a running namespace walk. (Reported by 
3329Linn Crosetto)
3330
3331Fixed a problem where the CreateField and CreateXXXField operators would 
3332incorrectly allow duplicate names (the name of the field) with no exception 
3333generated.
3334
3335Implemented several changes for Notify handling. Added support for new Notify 
3336values (ACPI 2.0+) and improved the Notify debug output. Notify on 
3337PowerResource objects is no longer allowed, as per the ACPI specification. 
3338(Bob Moore, Zhang Rui)
3339
3340All Reference Objects returned via the AcpiEvaluateObject interface are now 
3341marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
3342NULL objects - either NULL package elements or unresolved named references.
3343
3344Fixed a problem where an extraneous debug message was produced for package 
3345objects (when debugging enabled). The message "Package List length larger 
3346than NumElements count" is now produced in the correct case, and is now an 
3347error message rather than a debug message. Added a debug message for the 
3348opposite case, where NumElements is larger than the Package List (the package 
3349will be padded out with NULL elements as per the ACPI spec.)
3350
3351Implemented several improvements for the output of the ASL "Debug" object to 
3352clarify and keep all data for a given object on one output line.
3353
3354Fixed two size calculation issues with the variable-length Start Dependent 
3355resource descriptor.
3356
3357Example Code and Data Size: These are the sizes for the OS-independent 
3358acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3359debug version of the code includes the debug output trace mechanism and has 
3360a much larger code and data size.
3361
3362  Previous Release:
3363    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
3364    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
3365  Current Release:
3366    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
3367    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
3368
33692) iASL Compiler/Disassembler and Tools:
3370
3371Fixed a problem with the use of the Switch operator where execution of the 
3372containing method by multiple concurrent threads could cause an 
3373AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
3374actual Switch opcode, it must be simulated with local named temporary 
3375variables and if/else pairs. The solution chosen was to mark any method that 
3376uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
3377
3378----------------------------------------
337913 February 2008. Summary of changes for version 20080213:
3380
33811) ACPI CA Core Subsystem:
3382
3383Implemented another MS compatibility design change for GPE/Notify handling. 
3384GPEs are now cleared/enabled asynchronously to allow all pending notifies to 
3385complete first. It is expected that the OSL will queue the enable request 
3386behind all pending notify requests (may require changes to the local host OSL 
3387in AcpiOsExecute). Alexey Starikovskiy.
3388
3389Fixed a problem where buffer and package objects passed as arguments to a 
3390control method via the external AcpiEvaluateObject interface could cause an 
3391AE_AML_INTERNAL exception depending on the order and type of operators 
3392executed by the target control method.
3393
3394Fixed a problem where resource descriptor size optimization could cause a 
3395problem when a _CRS resource template is passed to a _SRS method. The _SRS 
3396resource template must use the same descriptors (with the same size) as 
3397returned from _CRS. This change affects the following resource descriptors: 
3398IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
3399
3400Fixed a problem where a CopyObject to RegionField, BankField, and IndexField 
3401objects did not perform an implicit conversion as it should. These types must 
3402retain their initial type permanently as per the ACPI specification. However, 
3403a CopyObject to all other object types should not perform an implicit 
3404conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
3405
3406Fixed a problem with the AcpiGetDevices interface where the mechanism to 
3407match device CIDs did not examine the entire list of available CIDs, but 
3408instead aborted on the first non-matching CID. Andrew Patterson.
3409
3410Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
3411inadvertently changed to return a 16-bit value instead of a 32-bit value, 
3412truncating the upper dword of a 64-bit value. This macro is only used to 
3413display debug output, so no incorrect calculations were made. Also, 
3414reimplemented the macro so that a 64-bit shift is not performed by 
3415inefficient compilers.
3416
3417Added missing va_end statements that should correspond with each va_start 
3418statement.
3419
3420Example Code and Data Size: These are the sizes for the OS-independent 
3421acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3422debug version of the code includes the debug output trace mechanism and has 
3423a much larger code and data size.
3424
3425  Previous Release:
3426    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
3427    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
3428  Current Release:
3429    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
3430    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
3431
34322) iASL Compiler/Disassembler and Tools:
3433
3434Implemented full disassembler support for the following new ACPI tables: 
3435BERT, EINJ, and ERST. Implemented partial disassembler support for the 
3436complicated HEST table. These tables support the Windows Hardware Error 
3437Architecture (WHEA).
3438
3439----------------------------------------
344023 January 2008. Summary of changes for version 20080123:
3441
34421) ACPI CA Core Subsystem:
3443
3444Added the 2008 copyright to all module headers and signons. This affects 
3445virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3446the tools/utilities.
3447
3448Fixed a problem with the SizeOf operator when used with Package and Buffer 
3449objects. These objects have deferred execution for some arguments, and the 
3450execution is now completed before the SizeOf is executed. This problem caused 
3451unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
34529558
3453
3454Implemented an enhancement to the interpreter "slack mode". In the absence of 
3455an explicit return or an implicitly returned object from the last executed 
3456opcode, a control method will now implicitly return an integer of value 0 for 
3457Microsoft compatibility. (Lin Ming) BZ 392
3458
3459Fixed a problem with the Load operator where an exception was not returned in 
3460the case where the table is already loaded. (Lin Ming) BZ 463
3461
3462Implemented support for the use of DDBHandles as an Indexed Reference, as per 
3463the ACPI spec. (Lin Ming) BZ 486
3464
3465Implemented support for UserTerm (Method invocation) for the Unload operator 
3466as per the ACPI spec. (Lin Ming) BZ 580
3467
3468Fixed a problem with the LoadTable operator where the OemId and OemTableId 
3469input strings could cause unexpected failures if they were shorter than the 
3470maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
3471
3472Implemented support for UserTerm (Method invocation) for the Unload operator 
3473as per the ACPI spec. (Lin Ming) BZ 580
3474
3475Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
3476IBFT, UEFI, WDAT. Disassembler support is forthcoming.
3477
3478Example Code and Data Size: These are the sizes for the OS-independent 
3479acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3480debug version of the code includes the debug output trace mechanism and has 
3481a much larger code and data size.
3482
3483  Previous Release:
3484    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3485    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3486  Current Release:
3487    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
3488    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
3489
34902) iASL Compiler/Disassembler and Tools:
3491
3492Implemented support in the disassembler for checksum validation on incoming 
3493binary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
3494header dump at the start of the disassembly.
3495
3496Implemented additional debugging information in the namespace listing file 
3497created during compilation. In addition to the namespace hierarchy, the full 
3498pathname to each namespace object is displayed.
3499
3500Fixed a problem with the disassembler where invalid ACPI tables could cause 
3501faults or infinite loops.
3502
3503Fixed an unexpected parse error when using the optional "parameter types" 
3504list in a control method declaration. (Lin Ming) BZ 397
3505
3506Fixed a problem where two External declarations with the same name did not 
3507cause an error (Lin Ming) BZ 509
3508
3509Implemented support for full TermArgs (adding Argx, Localx and method 
3510invocation) for the ParameterData parameter to the LoadTable operator. (Lin 
3511Ming) BZ 583,587
3512
3513----------------------------------------
351419 December 2007. Summary of changes for version 20071219:
3515
35161) ACPI CA Core Subsystem:
3517
3518Implemented full support for deferred execution for the TermArg string 
3519arguments for DataTableRegion. This enables forward references and full 
3520operand resolution for the three string arguments. Similar to OperationRegion 
3521deferred argument execution.) Lin Ming. BZ 430
3522
3523Implemented full argument resolution support for the BankValue argument to 
3524BankField. Previously, only constants were supported, now any TermArg may be 
3525used. Lin Ming BZ 387, 393
3526
3527Fixed a problem with AcpiGetDevices where the search of a branch of the 
3528device tree could be terminated prematurely. In accordance with the ACPI 
3529specification, the search down the current branch is terminated if a device 
3530is both not present and not functional (instead of just not present.) Yakui 
3531Zhao.
3532
3533Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
3534the underlying AML code changed the GPE enable registers. Now, any unknown 
3535incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
3536instead of simply ignored. Rui Zhang.
3537
3538Fixed a problem with Index Fields where the Index register was incorrectly 
3539limited to a maximum of 32 bits. Now any size may be used.
3540
3541Fixed a couple memory leaks associated with "implicit return" objects when 
3542the AML Interpreter slack mode is enabled. Lin Ming BZ 349
3543
3544Example Code and Data Size: These are the sizes for the OS-independent 
3545acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3546debug version of the code includes the debug output trace mechanism and has 
3547a much larger code and data size.
3548
3549  Previous Release:
3550    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3551    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3552  Current Release:
3553    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
3554    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
3555
3556----------------------------------------
355714 November 2007. Summary of changes for version 20071114:
3558
35591) ACPI CA Core Subsystem:
3560
3561Implemented event counters for each of the Fixed Events, the ACPI SCI 
3562(interrupt) itself, and control methods executed. Named 
3563AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
3564should be useful for debugging and statistics.
3565
3566Implemented a new external interface, AcpiGetStatistics, to retrieve the 
3567contents of the various event counters. Returns the current values for 
3568AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
3569AcpiMethodCount. The interface can be expanded in the future if new counters 
3570are added. Device drivers should use this interface rather than access the 
3571counters directly.
3572
3573Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
3574the ShortDivide function worked incorrectly, causing problems with the BCD 
3575functions with large input values. A truncation from 64-bit to 32-bit 
3576inadvertently occurred. Internal BZ 435. Lin Ming
3577
3578Fixed a problem with Index references passed as method arguments. References 
3579passed as arguments to control methods were dereferenced immediately (before 
3580control was passed to the called method). The references are now correctly 
3581passed directly to the called method. BZ 5389. Lin Ming
3582
3583Fixed a problem with CopyObject used in conjunction with the Index operator. 
3584The reference was incorrectly dereferenced before the copy. The reference is 
3585now correctly copied. BZ 5391. Lin Ming
3586
3587Fixed a problem with Control Method references within Package objects. These 
3588references are now correctly generated. This completes the package 
3589construction overhaul that began in version 20071019.
3590
3591Example Code and Data Size: These are the sizes for the OS-independent 
3592acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3593debug version of the code includes the debug output trace mechanism and has 
3594a much larger code and data size.
3595
3596  Previous Release:
3597    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3598    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3599  Current Release:
3600    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3601    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3602
3603
36042) iASL Compiler/Disassembler and Tools:
3605
3606The AcpiExec utility now installs handlers for all of the predefined 
3607Operation Region types. New types supported are: PCI_Config, CMOS, and 
3608PCIBARTarget.
3609
3610Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
3611bit) address fields for the DSDT and FACS within the FADT were not being 
3612used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
3613and Bob Moore
3614
3615----------------------------------------
361619 October 2007. Summary of changes for version 20071019:
3617
36181) ACPI CA Core Subsystem:
3619
3620Fixed a problem with the Alias operator when the target of the alias is a 
3621named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
3622Processor, and ThermalZone. In these cases, any children of the original 
3623operator could not be accessed via the alias, potentially causing unexpected 
3624AE_NOT_FOUND exceptions. (BZ 9067)
3625
3626Fixed a problem with the Package operator where all named references were 
3627created as object references and left otherwise unresolved. According to the 
3628ACPI specification, a Package can only contain Data Objects or references to 
3629control methods. The implication is that named references to Data Objects 
3630(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
3631immediately upon package creation. This is the approach taken with this 
3632change. References to all other named objects (Methods, Devices, Scopes, 
3633etc.) are all now properly created as reference objects. (BZ 5328)
3634
3635Reverted a change to Notify handling that was introduced in version 
363620070508. This version changed the Notify handling from asynchronous to 
3637fully synchronous (Device driver Notify handling with respect to the Notify 
3638ASL operator). It was found that this change caused more problems than it 
3639solved and was removed by most users.
3640
3641Fixed a problem with the Increment and Decrement operators where the type of 
3642the target object could be unexpectedly and incorrectly changed. (BZ 353) 
3643Lin Ming.
3644
3645Fixed a problem with the Load and LoadTable operators where the table 
3646location within the namespace was ignored. Instead, the table was always 
3647loaded into the root or current scope. Lin Ming.
3648
3649Fixed a problem with the Load operator when loading a table from a buffer 
3650object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
3651
3652Fixed a problem with the Debug object where a store of a DdbHandle reference 
3653object to the Debug object could cause a fault.
3654
3655Added a table checksum verification for the Load operator, in the case where 
3656the load is from a buffer. (BZ 578).
3657
3658Implemented additional parameter validation for the LoadTable operator. The 
3659length of the input strings SignatureString, OemIdString, and OemTableId are 
3660now checked for maximum lengths. (BZ 582) Lin Ming.
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.5K Code, 17.1K Data,  95.6K Total
3669    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3670  Current Release:
3671    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3672    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3673
3674
36752) iASL Compiler/Disassembler:
3676
3677Fixed a problem where if a single file was specified and the file did not 
3678exist, no error message was emitted. (Introduced with wildcard support in 
3679version 20070917.)
3680
3681----------------------------------------
368219 September 2007. Summary of changes for version 20070919:
3683
36841) ACPI CA Core Subsystem:
3685
3686Designed and implemented new external interfaces to install and remove 
3687handlers for ACPI table-related events. Current events that are defined are 
3688LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
3689they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
3690AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
3691
3692Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
3693(acpi_serialized option on Linux) could cause some systems to hang during 
3694initialization. (Bob Moore) BZ 8171
3695
3696Fixed a problem where objects of certain types (Device, ThermalZone, 
3697Processor, PowerResource) can be not found if they are declared and 
3698referenced from within the same control method (Lin Ming) BZ 341
3699
3700Example Code and Data Size: These are the sizes for the OS-independent 
3701acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3702debug version of the code includes the debug output trace mechanism and has 
3703a much larger code and data size.
3704
3705  Previous Release:
3706    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3707    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3708  Current Release:
3709    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3710    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3711
3712
37132) iASL Compiler/Disassembler:
3714
3715Implemented support to allow multiple files to be compiled/disassembled in a 
3716single invocation. This includes command line wildcard support for both the 
3717Windows and Unix versions of the compiler. This feature simplifies the 
3718disassembly and compilation of multiple ACPI tables in a single directory.
3719
3720----------------------------------------
372108 May 2007. Summary of changes for version 20070508:
3722
37231) ACPI CA Core Subsystem:
3724
3725Implemented a Microsoft compatibility design change for the handling of the 
3726Notify AML operator. Previously, notify handlers were dispatched and 
3727executed completely asynchronously in a deferred thread. The new design 
3728still executes the notify handlers in a different thread, but the original 
3729thread that executed the Notify() now waits at a synchronization point for 
3730the notify handler to complete. Some machines depend on a synchronous Notify 
3731operator in order to operate correctly.
3732
3733Implemented support to allow Package objects to be passed as method 
3734arguments to the external AcpiEvaluateObject interface. Previously, this 
3735would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
3736implemented since there were no reserved control methods that required it 
3737until recently.
3738
3739Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
3740contained invalid non-zero values in reserved fields could cause later 
3741failures because these fields have meaning in later revisions of the FADT. 
3742For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
3743are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
3744
3745Fixed a problem where the Global Lock handle was not properly updated if a 
3746thread that acquired the Global Lock via executing AML code then attempted 
3747to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
3748Liu.
3749
3750Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
3751could be corrupted if the interrupt being removed was at the head of the 
3752list. Reported by Linn Crosetto.
3753
3754Example Code and Data Size: These are the sizes for the OS-independent 
3755acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3756debug version of the code includes the debug output trace mechanism and has 
3757a much larger code and data size.
3758
3759  Previous Release:
3760    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3761    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3762  Current Release:
3763    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3764    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3765
3766----------------------------------------
376720 March 2007. Summary of changes for version 20070320:
3768
37691) ACPI CA Core Subsystem:
3770
3771Implemented a change to the order of interpretation and evaluation of AML 
3772operand objects within the AML interpreter. The interpreter now evaluates 
3773operands in the order that they appear in the AML stream (and the 
3774corresponding ASL code), instead of in the reverse order (after the entire 
3775operand list has been parsed). The previous behavior caused several subtle 
3776incompatibilities with the Microsoft AML interpreter as well as being 
3777somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
3778
3779Implemented a change to the ACPI Global Lock support. All interfaces to the 
3780global lock now allow the same thread to acquire the lock multiple times. 
3781This affects the AcpiAcquireGlobalLock external interface to the global lock 
3782as well as the internal use of the global lock to support AML fields -- a 
3783control method that is holding the global lock can now simultaneously access 
3784AML fields that require global lock protection. Previously, in both cases, 
3785this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
3786AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
3787Controller. There is no change to the behavior of the AML Acquire operator, 
3788as this can already be used to acquire a mutex multiple times by the same 
3789thread. BZ 8066. With assistance from Alexey Starikovskiy.
3790
3791Fixed a problem where invalid objects could be referenced in the AML 
3792Interpreter after error conditions. During operand evaluation, ensure that 
3793the internal "Return Object" field is cleared on error and only valid 
3794pointers are stored there. Caused occasional access to deleted objects that 
3795resulted in "large reference count" warning messages. Valery Podrezov.
3796
3797Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
3798deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
3799Podrezov.
3800
3801Fixed an internal problem with the handling of result objects on the 
3802interpreter result stack. BZ 7872. Valery Podrezov.
3803
3804Removed obsolete code that handled the case where AML_NAME_OP is the target 
3805of a reference (Reference.Opcode). This code was no longer necessary. BZ 
38067874. Valery Podrezov.
3807
3808Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
3809remnant from the previously discontinued 16-bit support.
3810
3811Example Code and Data Size: These are the sizes for the OS-independent 
3812acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3813debug version of the code includes the debug output trace mechanism and has 
3814a much larger code and data size.
3815
3816  Previous Release:
3817    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3818    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3819  Current Release:
3820    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3821    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3822
3823----------------------------------------
382426 January 2007. Summary of changes for version 20070126:
3825
38261) ACPI CA Core Subsystem:
3827
3828Added the 2007 copyright to all module headers and signons. This affects 
3829virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3830the utilities.
3831
3832Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
3833during a table load. A bad pointer was passed in the case where the DSDT is 
3834overridden, causing a fault in this case.
3835
3836Example Code and Data Size: These are the sizes for the OS-independent 
3837acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3838debug version of the code includes the debug output trace mechanism and has 
3839a much larger code and data size.
3840
3841  Previous Release:
3842    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3843    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3844  Current Release:
3845    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3846    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3847
3848----------------------------------------
384915 December 2006. Summary of changes for version 20061215:
3850
38511) ACPI CA Core Subsystem:
3852
3853Support for 16-bit ACPICA has been completely removed since it is no longer 
3854necessary and it clutters the code. All 16-bit macros, types, and 
3855conditional compiles have been removed, cleaning up and simplifying the code 
3856across the entire subsystem. DOS support is no longer needed since the 
3857bootable Linux firmware kit is now available.
3858
3859The handler for the Global Lock is now removed during AcpiTerminate to 
3860enable a clean subsystem restart, via the implementation of the 
3861AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
3862HP)
3863
3864Implemented enhancements to the multithreading support within the debugger 
3865to enable improved multithreading debugging and evaluation of the subsystem. 
3866(Valery Podrezov)
3867
3868Debugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
3869memory used during the execution, as well as the maximum memory consumed by 
3870each of the various object types. (Valery Podrezov)
3871
3872Example Code and Data Size: These are the sizes for the OS-independent 
3873acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3874debug version of the code includes the debug output trace mechanism and has 
3875a much larger code and data size.
3876
3877  Previous Release:
3878    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3879    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3880  Current Release:
3881    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3882    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3883
3884
38852) iASL Compiler/Disassembler and Tools:
3886
3887AcpiExec: Implemented a new option (-m) to display full memory use 
3888statistics upon subsystem/program termination. (Valery Podrezov)
3889
3890----------------------------------------
389109 November 2006. Summary of changes for version 20061109:
3892
38931) ACPI CA Core Subsystem:
3894
3895Optimized the Load ASL operator in the case where the source operand is an 
3896operation region. Simply map the operation region memory, instead of 
3897performing a bytewise read. (Region must be of type SystemMemory, see 
3898below.)
3899
3900Fixed the Load ASL operator for the case where the source operand is a 
3901region field. A buffer object is also allowed as the source operand. BZ 480
3902
3903Fixed a problem where the Load ASL operator allowed the source operand to be 
3904an operation region of any type. It is now restricted to regions of type 
3905SystemMemory, as per the ACPI specification. BZ 481
3906
3907Additional cleanup and optimizations for the new Table Manager code.
3908
3909AcpiEnable will now fail if all of the required ACPI tables are not loaded 
3910(FADT, FACS, DSDT). BZ 477
3911
3912Added #pragma pack(8/4) to acobject.h to ensure that the structures in this 
3913header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
3914manually optimized to be aligned and will not work if it is byte-packed. 
3915
3916Example Code and Data Size: These are the sizes for the OS-independent 
3917acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3918debug version of the code includes the debug output trace mechanism and has 
3919a much larger code and data size.
3920
3921  Previous Release:
3922    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3923    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3924  Current Release:
3925    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3926    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3927
3928
39292) iASL Compiler/Disassembler and Tools:
3930
3931Fixed a problem where the presence of the _OSI predefined control method 
3932within complex expressions could cause an internal compiler error.
3933
3934AcpiExec: Implemented full region support for multiple address spaces. 
3935SpaceId is now part of the REGION object. BZ 429
3936
3937----------------------------------------
393811 October 2006. Summary of changes for version 20061011:
3939
39401) ACPI CA Core Subsystem:
3941
3942Completed an AML interpreter performance enhancement for control method 
3943execution. Previously a 2-pass parse/execution, control methods are now 
3944completely parsed and executed in a single pass. This improves overall 
3945interpreter performance by ~25%, reduces code size, and reduces CPU stack 
3946use. (Valery Podrezov + interpreter changes in version 20051202 that 
3947eliminated namespace loading during the pass one parse.)
3948
3949Implemented _CID support for PCI Root Bridge detection. If the _HID does not 
3950match the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
3951obtained and also checked for an ID match.
3952
3953Implemented additional support for the PCI _ADR execution: upsearch until a 
3954device scope is found before executing _ADR. This allows PCI_Config 
3955operation regions to be declared locally within control methods underneath 
3956PCI device objects.
3957
3958Fixed a problem with a possible race condition between threads executing 
3959AcpiWalkNamespace and the AML interpreter. This condition was removed by 
3960modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
3961entries created during any concurrent control method execution. An 
3962additional namespace race condition is known to exist between 
3963AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
3964investigation.
3965
3966Restructured the AML ParseLoop function, breaking it into several 
3967subfunctions in order to reduce CPU stack use and improve maintainability. 
3968(Mikhail Kouzmich)
3969
3970AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
3971of prefix handle and pathname. BZ 478
3972
3973Example Code and Data Size: These are the sizes for the OS-independent 
3974acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3975debug version of the code includes the debug output trace mechanism and has 
3976a much larger code and data size.
3977
3978  Previous Release:
3979    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3980    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3981  Current Release:
3982    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3983    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3984
39852) iASL Compiler/Disassembler and Tools:
3986
3987Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager 
3988to restore original behavior.
3989
3990----------------------------------------
399127 September 2006. Summary of changes for version 20060927:
3992
39931) ACPI CA Core Subsystem:
3994
3995Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
3996These functions now use a spinlock for mutual exclusion and the interrupt 
3997level indication flag is not needed.
3998
3999Fixed a problem with the Global Lock where the lock could appear to be 
4000obtained before it is actually obtained. The global lock semaphore was 
4001inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
4002Suietov.
4003
4004Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
4005a read from a buffer or region field. (BZ 458) Fiodor Suietov.
4006
4007Example Code and Data Size: These are the sizes for the OS-independent 
4008acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4009debug version of the code includes the debug output trace mechanism and has 
4010a much larger code and data size.
4011
4012  Previous Release:
4013    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
4014    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
4015  Current Release:
4016    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
4017    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
4018
4019
40202) iASL Compiler/Disassembler and Tools:
4021
4022Fixed a compilation problem with the pre-defined Resource Descriptor field 
4023names where an "object does not exist" error could be incorrectly generated 
4024if the parent ResourceTemplate pathname places the template within a 
4025different namespace scope than the current scope. (BZ 7212)
4026
4027Fixed a problem where the compiler could hang after syntax errors detected 
4028in an ElseIf construct. (BZ 453)
4029
4030Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
4031operator. An incorrect output filename was produced when this parameter was 
4032a null string (""). Now, the original input filename is used as the AML 
4033output filename, with an ".aml" extension.
4034
4035Implemented a generic batch command mode for the AcpiExec utility (execute 
4036any AML debugger command) (Valery Podrezov).
4037
4038----------------------------------------
403912 September 2006. Summary of changes for version 20060912:
4040
40411) ACPI CA Core Subsystem:
4042
4043Enhanced the implementation of the "serialized mode" of the interpreter 
4044(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
4045specified, instead of creating a serialization semaphore per control method, 
4046the interpreter lock is simply no longer released before a blocking 
4047operation during control method execution. This effectively makes the AML 
4048Interpreter single-threaded. The overhead of a semaphore per-method is 
4049eliminated.
4050
4051Fixed a regression where an error was no longer emitted if a control method 
4052attempts to create 2 objects of the same name. This once again returns 
4053AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
4054will dynamically serialize the control method to possible prevent future 
4055errors. (BZ 440)
4056
4057Integrated a fix for a problem with PCI Express HID detection in the PCI 
4058Config Space setup procedure. (BZ 7145)
4059
4060Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
4061AcpiHwInitialize function - the FADT registers are now validated when the 
4062table is loaded.
4063
4064Added two new warnings during FADT verification - 1) if the FADT is larger 
4065than the largest known FADT version, and 2) if there is a mismatch between a 
406632-bit block address and the 64-bit X counterpart (when both are non-zero.)
4067
4068Example Code and Data Size: These are the sizes for the OS-independent 
4069acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4070debug version of the code includes the debug output trace mechanism and has 
4071a much larger code and data size.
4072
4073  Previous Release:
4074    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
4075    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
4076  Current Release:
4077    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
4078    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
4079
4080
40812) iASL Compiler/Disassembler and Tools:
4082
4083Fixed a problem with the implementation of the Switch() operator where the 
4084temporary variable was declared too close to the actual Switch, instead of 
4085at method level. This could cause a problem if the Switch() operator is 
4086within a while loop, causing an error on the second iteration. (BZ 460)
4087
4088Disassembler - fix for error emitted for unknown type for target of scope 
4089operator. Now, ignore it and continue.
4090
4091Disassembly of an FADT now verifies the input FADT and reports any errors 
4092found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
4093
4094Disassembly of raw data buffers with byte initialization data now prefixes 
4095each output line with the current buffer offset.
4096
4097Disassembly of ASF! table now includes all variable-length data fields at 
4098the end of some of the subtables.
4099
4100The disassembler now emits a comment if a buffer appears to be a 
4101ResourceTemplate, but cannot be disassembled as such because the EndTag does 
4102not appear at the very end of the buffer.
4103
4104AcpiExec - Added the "-t" command line option to enable the serialized mode 
4105of the AML interpreter.
4106
4107----------------------------------------
410831 August 2006. Summary of changes for version 20060831:
4109
41101) ACPI CA Core Subsystem:
4111
4112Miscellaneous fixes for the Table Manager:
4113- Correctly initialize internal common FADT for all 64-bit "X" fields
4114- Fixed a couple table mapping issues during table load
4115- Fixed a couple alignment issues for IA64
4116- Initialize input array to zero in AcpiInitializeTables
4117- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
4118AcpiGetTableByIndex
4119
4120Change for GPE support: when a "wake" GPE is received, all wake GPEs are now 
4121immediately disabled to prevent the waking GPE from firing again and to 
4122prevent other wake GPEs from interrupting the wake process.
4123
4124Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
4125be used for debugging systems with a large number of ACPI interrupts.
4126
4127Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
4128both the ACPICA headers and the disassembler.
4129
4130Example Code and Data Size: These are the sizes for the OS-independent 
4131acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4132debug version of the code includes the debug output trace mechanism and has 
4133a much larger code and data size.
4134
4135  Previous Release:
4136    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
4137    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
4138  Current Release:
4139    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
4140    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
4141
4142
41432) iASL Compiler/Disassembler and Tools:
4144
4145Disassembler support for the DMAR ACPI table.
4146
4147----------------------------------------
414823 August 2006. Summary of changes for version 20060823:
4149
41501) ACPI CA Core Subsystem:
4151
4152The Table Manager component has been completely redesigned and 
4153reimplemented. The new design is much simpler, and reduces the overall code 
4154and data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
4155now possible to obtain the ACPI tables very early during kernel 
4156initialization, even before dynamic memory management is initialized. 
4157(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
4158
4159Obsolete ACPICA interfaces:
4160
4161- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
4162time).
4163- AcpiLoadTable: Not needed.
4164- AcpiUnloadTable: Not needed.
4165
4166New ACPICA interfaces:
4167
4168- AcpiInitializeTables: Must be called before the table manager can be used.
4169- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
4170allocated memory after it becomes available.
4171- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
4172in the RSDT/XSDT.
4173
4174Other ACPICA changes:
4175
4176- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
4177AcpiOsUnmapMemory to free this mapping.
4178- AcpiGetTable returns the actual mapped table. The mapping is managed 
4179internally and must not be deleted by the caller. Use of this interface 
4180causes no additional dynamic memory allocation.
4181- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
4182it appeared to be unused.
4183- The interface to AcpiOsMapMemory has changed to be consistent with the 
4184other allocation interfaces.
4185- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
4186parameters.
4187- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
4188bit platforms. Was previously 64 bits on all platforms.
4189- The interface to the ACPI Global Lock acquire/release macros have changed 
4190slightly since ACPICA no longer keeps a local copy of the FACS with a 
4191constructed pointer to the actual global lock.
4192
4193Porting to the new table manager:
4194
4195- AcpiInitializeTables: Must be called once, and can be called anytime 
4196during the OS initialization process. It allows the host to specify an area 
4197of memory to be used to store the internal version of the RSDT/XSDT (root 
4198table). This allows the host to access ACPI tables before memory management 
4199is initialized and running.
4200- AcpiReallocateRootTable: Can be called after memory management is running 
4201to copy the root table to a dynamically allocated array, freeing up the 
4202scratch memory specified in the call to AcpiInitializeTables.
4203- AcpiSubsystemInitialize: This existing interface is independent of the 
4204Table Manager, and does not have to be called before the Table Manager can 
4205be used, it only must be called before the rest of ACPICA can be used.
4206- ACPI Tables: Some changes have been made to the names and structure of the 
4207actbl.h and actbl1.h header files and may require changes to existing code. 
4208For example, bitfields have been completely removed because of their lack of 
4209portability across C compilers.
4210- Update interfaces to the Global Lock acquire/release macros if local 
4211versions are used. (see acwin.h)
4212
4213Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
4214
4215New files: tbfind.c
4216
4217Example Code and Data Size: These are the sizes for the OS-independent 
4218acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4219debug version of the code includes the debug output trace mechanism and has 
4220a much larger code and data size.
4221
4222  Previous Release:
4223    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4224    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4225  Current Release:
4226    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
4227    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
4228
4229
42302) iASL Compiler/Disassembler and Tools:
4231
4232No changes for this release.
4233
4234----------------------------------------
423521 July 2006. Summary of changes for version 20060721:
4236
42371) ACPI CA Core Subsystem:
4238
4239The full source code for the ASL test suite used to validate the iASL 
4240compiler and the ACPICA core subsystem is being released with the ACPICA 
4241source for the first time. The source is contained in a separate package and 
4242consists of over 1100 files that exercise all ASL/AML operators. The package 
4243should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
4244Suietov)
4245
4246Completed a new design and implementation for support of the ACPI Global 
4247Lock. On the OS side, the global lock is now treated as a standard AML 
4248mutex. Previously, multiple OS threads could "acquire" the global lock 
4249simultaneously. However, this could cause the BIOS to be starved out of the 
4250lock - especially in cases such as the Embedded Controller driver where 
4251there is a tight coupling between the OS and the BIOS.
4252
4253Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
4254The Global Lock interrupt handler no longer queues the execution of a 
4255separate thread to signal the global lock semaphore. Instead, the semaphore 
4256is signaled directly from the interrupt handler.
4257
4258Implemented support within the AML interpreter for package objects that 
4259contain a larger AML length (package list length) than the package element 
4260count. In this case, the length of the package is truncated to match the 
4261package element count. Some BIOS code apparently modifies the package length 
4262on the fly, and this change supports this behavior. Provides compatibility 
4263with the MS AML interpreter. (With assistance from Fiodor Suietov)
4264
4265Implemented a temporary fix for the BankValue parameter of a Bank Field to 
4266support all constant values, now including the Zero and One opcodes. 
4267Evaluation of this parameter must eventually be converted to a full TermArg 
4268evaluation. A not-implemented error is now returned (temporarily) for non-
4269constant values for this parameter.
4270
4271Fixed problem reports (Fiodor Suietov) integrated:
4272- Fix for premature object deletion after CopyObject on Operation Region (BZ 
4273350)
4274
4275Example Code and Data Size: These are the sizes for the OS-independent 
4276acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4277debug version of the code includes the debug output trace mechanism and has 
4278a much larger code and data size.
4279
4280  Previous Release:
4281    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
4282    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
4283  Current Release:
4284    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4285    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4286
4287
42882) iASL Compiler/Disassembler and Tools:
4289
4290No changes for this release.
4291
4292----------------------------------------
429307 July 2006. Summary of changes for version 20060707:
4294
42951) ACPI CA Core Subsystem:
4296
4297Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
4298that do not allow the initialization of address pointers within packed 
4299structures - even though the hardware itself may support misaligned 
4300transfers. Some of the debug data structures are packed by default to 
4301minimize size.
4302
4303Added an error message for the case where AcpiOsGetThreadId() returns zero. 
4304A non-zero value is required by the core ACPICA code to ensure the proper 
4305operation of AML mutexes and recursive control methods.
4306
4307The DSDT is now the only ACPI table that determines whether the AML 
4308interpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
4309the hooks for per-table 32/64 switching have been removed from the code. A 
4310clarification to the ACPI specification is forthcoming in ACPI 3.0B.
4311
4312Fixed a possible leak of an OwnerID in the error path of 
4313AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
4314deletion to a single place in AcpiTbUninstallTable to correct possible leaks 
4315when using the AcpiTbDeleteTablesByType interface (with assistance from 
4316Lance Ortiz.)
4317
4318Fixed a problem with Serialized control methods where the semaphore 
4319associated with the method could be over-signaled after multiple method 
4320invocations.
4321
4322Fixed two issues with the locking of the internal namespace data structure. 
4323Both the Unload() operator and AcpiUnloadTable interface now lock the 
4324namespace during the namespace deletion associated with the table unload 
4325(with assistance from Linn Crosetto.)
4326
4327Fixed problem reports (Valery Podrezov) integrated:
4328- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
4329
4330Fixed problem reports (Fiodor Suietov) integrated:
4331- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
4332- On Address Space handler deletion, needless deactivation call (BZ 374)
4333- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
4334- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
4335(BZ 376)
4336- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
4337- Minimum Length of RSDT should be validated (BZ 379)
4338- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
4339Handler (BZ (380)
4340- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
4341(BZ 381)
4342
4343Example Code and Data Size: These are the sizes for the OS-independent 
4344acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4345debug version of the code includes the debug output trace mechanism and has 
4346a much larger code and data size.
4347
4348  Previous Release:
4349    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
4350    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
4351  Current Release:
4352    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
4353    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
4354
4355
43562) iASL Compiler/Disassembler and Tools:
4357
4358Fixed problem reports:
4359Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
4360436)
4361
4362----------------------------------------
436323 June 2006. Summary of changes for version 20060623:
4364
43651) ACPI CA Core Subsystem:
4366
4367Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
4368allows the type to be customized to the host OS for improved efficiency 
4369(since a spinlock is usually a very small object.)
4370
4371Implemented support for "ignored" bits in the ACPI registers. According to 
4372the ACPI specification, these bits should be preserved when writing the 
4373registers via a read/modify/write cycle. There are 3 bits preserved in this 
4374manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
4375
4376Implemented the initial deployment of new OSL mutex interfaces. Since some 
4377host operating systems have separate mutex and semaphore objects, this 
4378feature was requested. The base code now uses mutexes (and the new mutex 
4379interfaces) wherever a binary semaphore was used previously. However, for 
4380the current release, the mutex interfaces are defined as macros to map them 
4381to the existing semaphore interfaces. Therefore, no OSL changes are required 
4382at this time. (See acpiosxf.h)
4383
4384Fixed several problems with the support for the control method SyncLevel 
4385parameter. The SyncLevel now works according to the ACPI specification and 
4386in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
4387is a property of the executing thread. Mutual exclusion for control methods 
4388is now implemented with a mutex instead of a semaphore.
4389
4390Fixed three instances of the use of the C shift operator in the bitfield 
4391support code (exfldio.c) to avoid the use of a shift value larger than the 
4392target data width. The behavior of C compilers is undefined in this case and 
4393can cause unpredictable results, and therefore the case must be detected and 
4394avoided. (Fiodor Suietov)
4395
4396Added an info message whenever an SSDT or OEM table is loaded dynamically 
4397via the Load() or LoadTable() ASL operators. This should improve debugging 
4398capability since it will show exactly what tables have been loaded (beyond 
4399the tables present in the RSDT/XSDT.)
4400
4401Example Code and Data Size: These are the sizes for the OS-independent 
4402acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4403debug version of the code includes the debug output trace mechanism and has 
4404a much larger code and data size.
4405
4406  Previous Release:
4407    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
4408    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
4409  Current Release:
4410    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
4411    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
4412
4413
44142) iASL Compiler/Disassembler and Tools:
4415
4416No changes for this release.
4417
4418----------------------------------------
441908 June 2006. Summary of changes for version 20060608:
4420
44211) ACPI CA Core Subsystem:
4422
4423Converted the locking mutex used for the ACPI hardware to a spinlock. This 
4424change should eliminate all problems caused by attempting to acquire a 
4425semaphore at interrupt level, and it means that all ACPICA external 
4426interfaces that directly access the ACPI hardware can be safely called from 
4427interrupt level. OSL code that implements the semaphore interfaces should be 
4428able to eliminate any workarounds for being called at interrupt level.
4429
4430Fixed a regression introduced in 20060526 where the ACPI device 
4431initialization could be prematurely aborted with an AE_NOT_FOUND if a device 
4432did not have an optional _INI method.
4433
4434Fixed an IndexField issue where a write to the Data Register should be 
4435limited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
4436Fiodor Suietov)
4437
4438Fixed problem reports (Valery Podrezov) integrated:
4439- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
4440
4441Fixed problem reports (Fiodor Suietov) integrated:
4442- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
4443
4444Removed four global mutexes that were obsolete and were no longer being 
4445used.
4446
4447Example Code and Data Size: These are the sizes for the OS-independent 
4448acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4449debug version of the code includes the debug output trace mechanism and has 
4450a much larger code and data size.
4451
4452  Previous Release:
4453    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4454    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4455  Current Release:
4456    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
4457    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
4458
4459
44602) iASL Compiler/Disassembler and Tools:
4461
4462Fixed a fault when using -g option (get tables from registry) on Windows 
4463machines.
4464
4465Fixed problem reports integrated:
4466- Generate error if CreateField NumBits parameter is zero. (BZ 405)
4467- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
4468Suietov)
4469- Global table revision override (-r) is ignored (BZ 413)
4470
4471----------------------------------------
447226 May 2006. Summary of changes for version 20060526:
4473
44741) ACPI CA Core Subsystem:
4475
4476Restructured, flattened, and simplified the internal interfaces for 
4477namespace object evaluation - resulting in smaller code, less CPU stack use, 
4478and fewer interfaces. (With assistance from Mikhail Kouzmich)
4479
4480Fixed a problem with the CopyObject operator where the first parameter was 
4481not typed correctly for the parser, interpreter, compiler, and disassembler. 
4482Caused various errors and unexpected behavior.
4483
4484Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
4485produced incorrect results with some C compilers. Since the behavior of C 
4486compilers when the shift value is larger than the datatype width is 
4487apparently not well defined, the interpreter now detects this condition and 
4488simply returns zero as expected in all such cases. (BZ 395)
4489
4490Fixed problem reports (Valery Podrezov) integrated:
4491- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
4492- Allow interpreter to handle nested method declarations (BZ 5361)
4493
4494Fixed problem reports (Fiodor Suietov) integrated:
4495- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
4496- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
4497- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
4498- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
4499- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
4500- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
4501- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
4502- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
4503- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
4504- Status of the Global Initialization Handler call not used (BZ 366)
4505- Incorrect object parameter to Global Initialization Handler (BZ 367)
4506
4507Example Code and Data Size: These are the sizes for the OS-independent 
4508acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4509debug version of the code includes the debug output trace mechanism and has 
4510a much larger code and data size.
4511
4512  Previous Release:
4513    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4514    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4515  Current Release:
4516    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
4517    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
4518
4519
45202) iASL Compiler/Disassembler and Tools:
4521
4522Modified the parser to allow the names IO, DMA, and IRQ to be used as 
4523namespace identifiers with no collision with existing resource descriptor 
4524macro names. This provides compatibility with other ASL compilers and is 
4525most useful for disassembly/recompilation of existing tables without parse 
4526errors. (With assistance from Thomas Renninger)
4527
4528Disassembler: fixed an incorrect disassembly problem with the 
4529DataTableRegion and CopyObject operators. Fixed a possible fault during 
4530disassembly of some Alias operators.
4531
4532----------------------------------------
453312 May 2006. Summary of changes for version 20060512:
4534
45351) ACPI CA Core Subsystem:
4536
4537Replaced the AcpiOsQueueForExecution interface with a new interface named 
4538AcpiOsExecute. The major difference is that the new interface does not have 
4539a Priority parameter, this appeared to be useless and has been replaced by a 
4540Type parameter. The Type tells the host what type of execution is being 
4541requested, such as global lock handler, notify handler, GPE handler, etc. 
4542This allows the host to queue and execute the request as appropriate for the 
4543request type, possibly using different work queues and different priorities 
4544for the various request types. This enables fixes for multithreading 
4545deadlock problems such as BZ #5534, and will require changes to all existing 
4546OS interface layers. (Alexey Starikovskiy and Bob Moore)
4547
4548Fixed a possible memory leak associated with the support for the so-called 
4549"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
4550Suietov)
4551
4552Fixed a problem with the Load() operator where a table load from an 
4553operation region could overwrite an internal table buffer by up to 7 bytes 
4554and cause alignment faults on IPF systems. (With assistance from Luming Yu)
4555
4556Example Code and Data Size: These are the sizes for the OS-independent 
4557acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4558debug version of the code includes the debug output trace mechanism and has 
4559a much larger code and data size.
4560
4561  Previous Release:
4562    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4563    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4564  Current Release:
4565    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
4566    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
4567
4568
4569
45702) iASL Compiler/Disassembler and Tools:
4571
4572Disassembler: Implemented support to cross reference the internal namespace 
4573and automatically generate ASL External() statements for symbols not defined 
4574within the current table being disassembled. This will simplify the 
4575disassembly and recompilation of interdependent tables such as SSDTs since 
4576these statements will no longer have to be added manually.
4577
4578Disassembler: Implemented experimental support to automatically detect 
4579invocations of external control methods and generate appropriate External() 
4580statements. This is problematic because the AML cannot be correctly parsed 
4581until the number of arguments for each control method is known. Currently, 
4582standalone method invocations and invocations as the source operand of a 
4583Store() statement are supported.
4584
4585Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
4586LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
4587LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
4588more readable and likely closer to the original ASL source.
4589
4590----------------------------------------
459121 April 2006. Summary of changes for version 20060421:
4592
45931) ACPI CA Core Subsystem:
4594
4595Removed a device initialization optimization introduced in 20051216 where 
4596the _STA method was not run unless an _INI was also present for the same 
4597device. This optimization could cause problems because it could allow _INI 
4598methods to be run within a not-present device subtree. (If a not-present 
4599device had no _INI, _STA would not be run, the not-present status would not 
4600be discovered, and the children of the device would be incorrectly 
4601traversed.)
4602
4603Implemented a new _STA optimization where namespace subtrees that do not 
4604contain _INI are identified and ignored during device initialization. 
4605Selectively running _STA can significantly improve boot time on large 
4606machines (with assistance from Len Brown.)
4607
4608Implemented support for the device initialization case where the returned 
4609_STA flags indicate a device not-present but functioning. In this case, _INI 
4610is not run, but the device children are examined for presence, as per the 
4611ACPI specification.
4612
4613Implemented an additional change to the IndexField support in order to 
4614conform to MS behavior. The value written to the Index Register is not 
4615simply a byte offset, it is a byte offset in units of the access width of 
4616the parent Index Field. (Fiodor Suietov)
4617
4618Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
4619interface is called during the creation of all AML operation regions, and 
4620allows the host OS to exert control over what addresses it will allow the 
4621AML code to access. Operation Regions whose addresses are disallowed will 
4622cause a runtime exception when they are actually accessed (will not affect 
4623or abort table loading.) See oswinxf or osunixxf for an example 
4624implementation.
4625
4626Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
4627interface allows the host OS to match the various "optional" 
4628interface/behavior strings for the _OSI predefined control method as 
4629appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
4630for an example implementation.
4631
4632Restructured and corrected various problems in the exception handling code 
4633paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
4634(with assistance from Takayoshi Kochi.)
4635
4636Modified the Linux source converter to ignore quoted string literals while 
4637converting identifiers from mixed to lower case. This will correct problems 
4638with the disassembler and other areas where such strings must not be 
4639modified.
4640
4641The ACPI_FUNCTION_* macros no longer require quotes around the function 
4642name. This allows the Linux source converter to convert the names, now that 
4643the converter ignores quoted strings.
4644
4645Example Code and Data Size: These are the sizes for the OS-independent 
4646acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4647debug version of the code includes the debug output trace mechanism and has 
4648a much larger code and data size.
4649
4650  Previous Release:
4651
4652    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4653    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4654  Current Release:
4655    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4656    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4657
4658
46592) iASL Compiler/Disassembler and Tools:
4660
4661Implemented 3 new warnings for iASL, and implemented multiple warning levels 
4662(w2 flag).
4663
46641) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
4665WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
4666check for the possible timeout, a warning is issued.
4667
46682) Useless operators: If an ASL operator does not specify an optional target 
4669operand and it also does not use the function return value from the 
4670operator, a warning is issued since the operator effectively does nothing.
4671
46723) Unreferenced objects: If a namespace object is created, but never 
4673referenced, a warning is issued. This is a warning level 2 since there are 
4674cases where this is ok, such as when a secondary table is loaded that uses 
4675the unreferenced objects. Even so, care is taken to only flag objects that 
4676don't look like they will ever be used. For example, the reserved methods 
4677(starting with an underscore) are usually not referenced because it is 
4678expected that the OS will invoke them.
4679
4680----------------------------------------
468131 March 2006. Summary of changes for version 20060331:
4682
46831) ACPI CA Core Subsystem:
4684
4685Implemented header file support for the following additional ACPI tables: 
4686ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
4687all current and known ACPI tables are now defined in the ACPICA headers and 
4688are available for use by device drivers and other software.
4689
4690Implemented support to allow tables that contain ACPI names with invalid 
4691characters to be loaded. Previously, this would cause the table load to 
4692fail, but since there are several known cases of such tables on existing 
4693machines, this change was made to enable ACPI support for them. Also, this 
4694matches the behavior of the Microsoft ACPI implementation.
4695
4696Fixed a couple regressions introduced during the memory optimization in the 
469720060317 release. The namespace node definition required additional 
4698reorganization and an internal datatype that had been changed to 8-bit was 
4699restored to 32-bit. (Valery Podrezov)
4700
4701Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
4702could be passed through to AcpiOsReleaseObject which is unexpected. Such 
4703null pointers are now trapped and ignored, matching the behavior of the 
4704previous implementation before the deployment of AcpiOsReleaseObject.
4705(Valery Podrezov, Fiodor Suietov)
4706
4707Fixed a memory mapping leak during the deletion of a SystemMemory operation 
4708region where a cached memory mapping was not deleted. This became a 
4709noticeable problem for operation regions that are defined within frequently 
4710used control methods. (Dana Meyers)
4711
4712Reorganized the ACPI table header files into two main files: one for the 
4713ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
4714ACPI tables that are consumed by the drivers and other software. The various 
4715FADT definitions were merged into one common section and three different 
4716tables (ACPI 1.0, 1.0+, and 2.0)
4717
4718Example Code and Data Size: These are the sizes for the OS-independent 
4719acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4720debug version of the code includes the debug output trace mechanism and has 
4721a much larger code and data size.
4722
4723  Previous Release:
4724    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4725    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4726  Current Release:
4727    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4728    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4729
4730
47312) iASL Compiler/Disassembler and Tools:
4732
4733Disassembler: Implemented support to decode and format all non-AML ACPI 
4734tables (tables other than DSDTs and SSDTs.) This includes the new tables 
4735added to the ACPICA headers, therefore all current and known ACPI tables are 
4736supported.
4737
4738Disassembler: The change to allow ACPI names with invalid characters also 
4739enables the disassembly of such tables. Invalid characters within names are 
4740changed to '*' to make the name printable; the iASL compiler will still 
4741generate an error for such names, however, since this is an invalid ACPI 
4742character.
4743
4744Implemented an option for AcpiXtract (-a) to extract all tables found in the 
4745input file. The default invocation extracts only the DSDTs and SSDTs.
4746
4747Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
4748makefile for the AcpiXtract utility.
4749
4750----------------------------------------
475117 March 2006. Summary of changes for version 20060317:
4752
47531) ACPI CA Core Subsystem:
4754
4755Implemented the use of a cache object for all internal namespace nodes. 
4756Since there are about 1000 static nodes in a typical system, this will 
4757decrease memory use for cache implementations that minimize per-allocation 
4758overhead (such as a slab allocator.)
4759
4760Removed the reference count mechanism for internal namespace nodes, since it 
4761was deemed unnecessary. This reduces the size of each namespace node by 
4762about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
4763and 32 bytes for the 64-bit case.
4764
4765Optimized several internal data structures to reduce object size on 64-bit 
4766platforms by packing data within the 64-bit alignment. This includes the 
4767frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
4768instances corresponding to the namespace objects.
4769
4770Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
4771and "Windows 2006".
4772
4773Split the allocation tracking mechanism out to a separate file, from 
4774utalloc.c to uttrack.c. This mechanism appears to be only useful for 
4775application-level code. Kernels may wish to not include uttrack.c in 
4776distributions.
4777
4778Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated 
4779code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
4780macros.)
4781
4782Code and Data Size: These are the sizes for the acpica.lib produced by the 
4783Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4784driver or OSPM code. The debug version of the code includes the debug output 
4785trace mechanism and has a much larger code and data size. Note that these 
4786values will vary depending on the efficiency of the compiler and the 
4787compiler options used during generation.
4788
4789  Previous Release:
4790    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4791    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4792  Current Release:
4793    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4794    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4795
4796
47972) iASL Compiler/Disassembler and Tools:
4798
4799Implemented an ANSI C version of the acpixtract utility. This version will 
4800automatically extract the DSDT and all SSDTs from the input acpidump text 
4801file and dump the binary output to separate files. It can also display a 
4802summary of the input file including the headers for each table found and 
4803will extract any single ACPI table, with any signature. (See 
4804source/tools/acpixtract)
4805
4806----------------------------------------
480710 March 2006. Summary of changes for version 20060310:
4808
48091) ACPI CA Core Subsystem:
4810
4811Tagged all external interfaces to the subsystem with the new 
4812ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
4813kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
4814macro. The default definition is NULL.
4815
4816Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
4817This allows the host to define this as necessary to simplify kernel 
4818integration. The default definition is ACPI_NATIVE_UINT.
4819
4820Fixed two interpreter problems related to error processing, the deletion of 
4821objects, and placing invalid pointers onto the internal operator result 
4822stack. BZ 6028, 6151 (Valery Podrezov)
4823
4824Increased the reference count threshold where a warning is emitted for large 
4825reference counts in order to eliminate unnecessary warnings on systems with 
4826large namespaces (especially 64-bit.) Increased the value from 0x400 to 
48270x800.
4828
4829Due to universal disagreement as to the meaning of the 'c' in the calloc() 
4830function, the ACPI_MEM_CALLOCATE macro has been renamed to 
4831ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
4832ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
4833ACPI_FREE.
4834
4835Code and Data Size: These are the sizes for the acpica.lib produced by the 
4836Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4837driver or OSPM code. The debug version of the code includes the debug output 
4838trace mechanism and has a much larger code and data size. Note that these 
4839values will vary depending on the efficiency of the compiler and the 
4840compiler options used during generation.
4841
4842  Previous Release:
4843    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4844    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4845  Current Release:
4846    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4847    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4848
4849
48502) iASL Compiler/Disassembler:
4851
4852Disassembler: implemented support for symbolic resource descriptor 
4853references. If a CreateXxxxField operator references a fixed offset within a 
4854resource descriptor, a name is assigned to the descriptor and the offset is 
4855translated to the appropriate resource tag and pathname. The addition of 
4856this support brings the disassembled code very close to the original ASL 
4857source code and helps eliminate run-time errors when the disassembled code 
4858is modified (and recompiled) in such a way as to invalidate the original 
4859fixed offsets.
4860
4861Implemented support for a Descriptor Name as the last parameter to the ASL 
4862Register() macro. This parameter was inadvertently left out of the ACPI 
4863specification, and will be added for ACPI 3.0b.
4864
4865Fixed a problem where the use of the "_OSI" string (versus the full path 
4866"\_OSI") caused an internal compiler error. ("No back ptr to op")
4867
4868Fixed a problem with the error message that occurs when an invalid string is 
4869used for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
4870The correct message is now displayed.
4871
4872----------------------------------------
487317 February 2006. Summary of changes for version 20060217:
4874
48751) ACPI CA Core Subsystem:
4876
4877Implemented a change to the IndexField support to match the behavior of the 
4878Microsoft AML interpreter. The value written to the Index register is now a 
4879byte offset, no longer an index based upon the width of the Data register. 
4880This should fix IndexField problems seen on some machines where the Data 
4881register is not exactly one byte wide. The ACPI specification will be 
4882clarified on this point.
4883
4884Fixed a problem where several resource descriptor types could overrun the 
4885internal descriptor buffer due to size miscalculation: VendorShort, 
4886VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
4887affect all platforms.
4888
4889Fixed a problem where individual resource descriptors were misaligned within 
4890the internal buffer, causing alignment faults on IA64 platforms.
4891
4892Code and Data Size: These are the sizes for the acpica.lib produced by the 
4893Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
4894driver or OSPM code. The debug version of the code includes the debug output 
4895trace mechanism and has a much larger code and data size. Note that these 
4896values will vary depending on the efficiency of the compiler and the 
4897compiler options used during generation.
4898
4899  Previous Release:
4900    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4901    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4902  Current Release:
4903    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4904    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4905
4906
49072) iASL Compiler/Disassembler:
4908
4909Implemented support for new reserved names: _WDG and _WED are Microsoft 
4910extensions for Windows Instrumentation Management, _TDL is a new ACPI-
4911defined method (Throttling Depth Limit.)
4912
4913Fixed a problem where a zero-length VendorShort or VendorLong resource 
4914descriptor was incorrectly emitted as a descriptor of length one.
4915
4916----------------------------------------
491710 February 2006. Summary of changes for version 20060210:
4918
49191) ACPI CA Core Subsystem:
4920
4921Removed a couple of extraneous ACPI_ERROR messages that appeared during 
4922normal execution. These became apparent after the conversion from 
4923ACPI_DEBUG_PRINT.
4924
4925Fixed a problem where the CreateField operator could hang if the BitIndex or 
4926NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4927
4928Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
4929failed with an exception. This also fixes a couple of related RefOf and 
4930DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
4931
4932Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
4933AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
49345480)
4935
4936Implemented a memory cleanup at the end of the execution of each iteration 
4937of an AML While() loop, preventing the accumulation of outstanding objects. 
4938(Valery Podrezov, BZ 5427)
4939
4940Eliminated a chunk of duplicate code in the object resolution code. (Valery 
4941Podrezov, BZ 5336)
4942
4943Fixed several warnings during the 64-bit code generation.
4944
4945The AcpiSrc source code conversion tool now inserts one line of whitespace 
4946after an if() statement that is followed immediately by a comment, improving 
4947readability of the Linux code.
4948
4949Code and Data Size: The current and previous library sizes for the core 
4950subsystem are shown below. These are the code and data sizes for the 
4951acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4952values do not include any ACPI driver or OSPM code. The debug version of the 
4953code includes the debug output trace mechanism and has a much larger code 
4954and data size. Note that these values will vary depending on the efficiency 
4955of the compiler and the compiler options used during generation.
4956
4957  Previous Release:
4958    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4959    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4960  Current Release:
4961    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4962    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4963
4964
49652) iASL Compiler/Disassembler:
4966
4967Fixed a problem with the disassembly of a BankField operator with a complex 
4968expression for the BankValue parameter.
4969
4970----------------------------------------
497127 January 2006. Summary of changes for version 20060127:
4972
49731) ACPI CA Core Subsystem:
4974
4975Implemented support in the Resource Manager to allow unresolved namestring 
4976references within resource package objects for the _PRT method. This support 
4977is in addition to the previously implemented unresolved reference support 
4978within the AML parser. If the interpreter slack mode is enabled, these 
4979unresolved references will be passed through to the caller as a NULL package 
4980entry.
4981
4982Implemented and deployed new macros and functions for error and warning 
4983messages across the subsystem. These macros are simpler and generate less 
4984code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
4985ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
4986macros remain defined to allow ACPI drivers time to migrate to the new 
4987macros.
4988
4989Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
4990Acquire/Release Lock OSL interfaces.
4991
4992Fixed a problem where Alias ASL operators are sometimes not correctly 
4993resolved, in both the interpreter and the iASL compiler.
4994
4995Fixed several problems with the implementation of the ConcatenateResTemplate 
4996ASL operator. As per the ACPI specification, zero length buffers are now 
4997treated as a single EndTag. One-length buffers always cause a fatal 
4998exception. Non-zero length buffers that do not end with a full 2-byte EndTag 
4999cause a fatal exception.
5000
5001Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
5002interface. (With assistance from Thomas Renninger)
5003
5004Code and Data Size: The current and previous library sizes for the core 
5005subsystem are shown below. These are the code and data sizes for the 
5006acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5007values do not include any ACPI driver or OSPM code. The debug version of the 
5008code includes the debug output trace mechanism and has a much larger code 
5009and data size. Note that these values will vary depending on the efficiency 
5010of the compiler and the compiler options used during generation.
5011
5012  Previous Release:
5013    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
5014    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
5015  Current Release:
5016    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
5017    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
5018
5019
50202) iASL Compiler/Disassembler:
5021
5022Fixed an internal error that was generated for any forward references to ASL 
5023Alias objects.
5024
5025----------------------------------------
502613 January 2006. Summary of changes for version 20060113:
5027
50281) ACPI CA Core Subsystem:
5029
5030Added 2006 copyright to all module headers and signons. This affects 
5031virtually every file in the ACPICA core subsystem, iASL compiler, and the 
5032utilities.
5033 
5034Enhanced the ACPICA error reporting in order to simplify user migration to 
5035the non-debug version of ACPICA. Replaced all instances of the 
5036ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
5037levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
5038respectively. This preserves all error and warning messages in the non-debug 
5039version of the ACPICA code (this has been referred to as the "debug lite" 
5040option.) Over 200 cases were converted to create a total of over 380 
5041error/warning messages across the ACPICA code. This increases the code and 
5042data size of the default non-debug version of the code somewhat (about 13K), 
5043but all error/warning reporting may be disabled if desired (and code 
5044eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
5045configuration option. The size of the debug version of ACPICA remains about 
5046the same.
5047
5048Fixed a memory leak within the AML Debugger "Set" command. One object was 
5049not properly deleted for every successful invocation of the command.
5050
5051Code and Data Size: The current and previous library sizes for the core 
5052subsystem are shown below. These are the code and data sizes for the 
5053acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5054values do not include any ACPI driver or OSPM code. The debug version of the 
5055code includes the debug output trace mechanism and has a much larger code 
5056and data size. Note that these values will vary depending on the efficiency 
5057of the compiler and the compiler options used during generation.
5058
5059  Previous Release:
5060    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
5061    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
5062  Current Release:
5063    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
5064    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
5065
5066
50672) iASL Compiler/Disassembler:
5068
5069The compiler now officially supports the ACPI 3.0a specification that was 
5070released on December 30, 2005. (Specification is available at www.acpi.info)
5071
5072----------------------------------------
507316 December 2005. Summary of changes for version 20051216:
5074
50751) ACPI CA Core Subsystem:
5076
5077Implemented optional support to allow unresolved names within ASL Package 
5078objects. A null object is inserted in the package when a named reference 
5079cannot be located in the current namespace. Enabled via the interpreter 
5080slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
5081that contain such code.
5082
5083Implemented an optimization to the initialization sequence that can improve 
5084boot time. During ACPI device initialization, the _STA method is now run if 
5085and only if the _INI method exists. The _STA method is used to determine if 
5086the device is present; An _INI can only be run if _STA returns present, but 
5087it is a waste of time to run the _STA method if the _INI does not exist. 
5088(Prototype and assistance from Dong Wei)
5089
5090Implemented use of the C99 uintptr_t for the pointer casting macros if it is 
5091available in the current compiler. Otherwise, the default (void *) cast is 
5092used as before.
5093
5094Fixed some possible memory leaks found within the execution path of the 
5095Break, Continue, If, and CreateField operators. (Valery Podrezov)
5096
5097Fixed a problem introduced in the 20051202 release where an exception is 
5098generated during method execution if a control method attempts to declare 
5099another method.
5100
5101Moved resource descriptor string constants that are used by both the AML 
5102disassembler and AML debugger to the common utilities directory so that 
5103these components are independent.
5104
5105Implemented support in the AcpiExec utility (-e switch) to globally ignore 
5106exceptions during control method execution (method is not aborted.)
5107
5108Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
5109generation.
5110
5111Code and Data Size: The current and previous library sizes for the core 
5112subsystem are shown below. These are the code and data sizes for the 
5113acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5114values do not include any ACPI driver or OSPM code. The debug version of the 
5115code includes the debug output trace mechanism and has a much larger code 
5116and data size. Note that these values will vary depending on the efficiency 
5117of the compiler and the compiler options used during generation.
5118
5119  Previous Release:
5120    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5121    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
5122  Current Release:
5123    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
5124    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
5125
5126
51272) iASL Compiler/Disassembler:
5128
5129Fixed a problem where a CPU stack overflow fault could occur if a recursive 
5130method call was made from within a Return statement.
5131
5132----------------------------------------
513302 December 2005. Summary of changes for version 20051202:
5134
51351) ACPI CA Core Subsystem:
5136
5137Modified the parsing of control methods to no longer create namespace 
5138objects during the first pass of the parse. Objects are now created only 
5139during the execute phase, at the moment the namespace creation operator is 
5140encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
5141should eliminate ALREADY_EXISTS exceptions seen on some machines where 
5142reentrant control methods are protected by an AML mutex. The mutex will now 
5143correctly block multiple threads from attempting to create the same object 
5144more than once.
5145
5146Increased the number of available Owner Ids for namespace object tracking 
5147from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
5148some machines with a large number of ACPI tables (either static or dynamic).
5149
5150Fixed a problem with the AcpiExec utility where a fault could occur when the 
5151-b switch (batch mode) is used.
5152
5153Enhanced the namespace dump routine to output the owner ID for each 
5154namespace object.
5155
5156Code and Data Size: The current and previous library sizes for the core 
5157subsystem are shown below. These are the code and data sizes for the 
5158acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5159values do not include any ACPI driver or OSPM code. The debug version of the 
5160code includes the debug output trace mechanism and has a much larger code 
5161and data size. Note that these values will vary depending on the efficiency 
5162of the compiler and the compiler options used during generation.
5163
5164  Previous Release:
5165    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5166    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5167  Current Release:
5168    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5169    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
5170
5171
51722) iASL Compiler/Disassembler:
5173
5174Fixed a parse error during compilation of certain Switch/Case constructs. To 
5175simplify the parse, the grammar now allows for multiple Default statements 
5176and this error is now detected and flagged during the analysis phase.
5177
5178Disassembler: The disassembly now includes the contents of the original 
5179table header within a comment at the start of the file. This includes the 
5180name and version of the original ASL compiler.
5181
5182----------------------------------------
518317 November 2005. Summary of changes for version 20051117:
5184
51851) ACPI CA Core Subsystem:
5186
5187Fixed a problem in the AML parser where the method thread count could be 
5188decremented below zero if any errors occurred during the method parse phase. 
5189This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
5190This also fixed a related regression with the mechanism that detects and 
5191corrects methods that cannot properly handle reentrancy (related to the 
5192deployment of the new OwnerId mechanism.)
5193
5194Eliminated the pre-parsing of control methods (to detect errors) during 
5195table load. Related to the problem above, this was causing unwind issues if 
5196any errors occurred during the parse, and it seemed to be overkill. A table 
5197load should not be aborted if there are problems with any single control 
5198method, thus rendering this feature rather pointless.
5199
5200Fixed a problem with the new table-driven resource manager where an internal 
5201buffer overflow could occur for small resource templates.
5202
5203Implemented a new external interface, AcpiGetVendorResource. This interface 
5204will find and return a vendor-defined resource descriptor within a _CRS or 
5205_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
5206
5207Removed the length limit (200) on string objects as per the upcoming ACPI 
52083.0A specification. This affects the following areas of the interpreter: 1) 
5209any implicit conversion of a Buffer to a String, 2) a String object result 
5210of the ASL Concatentate operator, 3) the String object result of the ASL 
5211ToString operator.
5212
5213Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
5214on a semaphore object would incorrectly timeout. This allows the 
5215multithreading features of the AcpiExec utility to work properly under 
5216Windows.
5217
5218Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
5219the recently added file named "utresrc.c".
5220
5221Code and Data Size: The current and previous library sizes for the core 
5222subsystem are shown below. These are the code and data sizes for the 
5223acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5224values do not include any ACPI driver or OSPM code. The debug version of the 
5225code includes the debug output trace mechanism and has a much larger code 
5226and data size. Note that these values will vary depending on the efficiency 
5227of the compiler and the compiler options used during generation.
5228
5229  Previous Release:
5230    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
5231    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5232  Current Release:
5233    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
5234    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5235
5236
52372) iASL Compiler/Disassembler:
5238
5239Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
5240specification. For the iASL compiler, this means that string literals within 
5241the source ASL can be of any length. 
5242
5243Enhanced the listing output to dump the AML code for resource descriptors 
5244immediately after the ASL code for each descriptor, instead of in a block at 
5245the end of the entire resource template.
5246
5247Enhanced the compiler debug output to dump the entire original parse tree 
5248constructed during the parse phase, before any transforms are applied to the 
5249tree. The transformed tree is dumped also.
5250
5251----------------------------------------
525202 November 2005. Summary of changes for version 20051102:
5253
52541) ACPI CA Core Subsystem:
5255
5256Modified the subsystem initialization sequence to improve GPE support. The 
5257GPE initialization has been split into two parts in order to defer execution 
5258of the _PRW methods (Power Resources for Wake) until after the hardware is 
5259fully initialized and the SCI handler is installed. This allows the _PRW 
5260methods to access fields protected by the Global Lock. This will fix systems 
5261where a NO_GLOBAL_LOCK exception has been seen during initialization.
5262
5263Converted the ACPI internal object disassemble and display code within the 
5264AML debugger to fully table-driven operation, reducing code size and 
5265increasing maintainability.
5266
5267Fixed a regression with the ConcatenateResTemplate() ASL operator introduced 
5268in the 20051021 release.
5269
5270Implemented support for "local" internal ACPI object types within the 
5271debugger "Object" command and the AcpiWalkNamespace external interfaces. 
5272These local types include RegionFields, BankFields, IndexFields, Alias, and 
5273reference objects.
5274
5275Moved common AML resource handling code into a new file, "utresrc.c". This 
5276code is shared by both the Resource Manager and the AML Debugger.
5277
5278Code and Data Size: The current and previous library sizes for the core 
5279subsystem are shown below. These are the code and data sizes for the 
5280acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5281values do not include any ACPI driver or OSPM code. The debug version of the 
5282code includes the debug output trace mechanism and has a much larger code 
5283and data size. Note that these values will vary depending on the efficiency 
5284of the compiler and the compiler options used during generation.
5285
5286  Previous Release:
5287    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
5288    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
5289  Current Release:
5290    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
5291    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
5292
5293
52942) iASL Compiler/Disassembler:
5295
5296Fixed a problem with very large initializer lists (more than 4000 elements) 
5297for both Buffer and Package objects where the parse stack could overflow.
5298
5299Enhanced the pre-compile source code scan for non-ASCII characters to ignore 
5300characters within comment fields. The scan is now always performed and is no 
5301longer optional, detecting invalid characters within a source file 
5302immediately rather than during the parse phase or later.
5303
5304Enhanced the ASL grammar definition to force early reductions on all list-
5305style grammar elements so that the overall parse stack usage is greatly 
5306reduced. This should improve performance and reduce the possibility of parse 
5307stack overflow.
5308
5309Eliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
5310with the addition of a %expected statement, the compiler generates from 
5311source with no warnings.
5312
5313Fixed a possible segment fault in the disassembler if the input filename 
5314does not contain a "dot" extension (Thomas Renninger).
5315
5316----------------------------------------
531721 October 2005. Summary of changes for version 20051021:
5318
53191) ACPI CA Core Subsystem:
5320
5321Implemented support for the EM64T and other x86-64 processors. This 
5322essentially entails recognizing that these processors support non-aligned 
5323memory transfers. Previously, all 64-bit processors were assumed to lack 
5324hardware support for non-aligned transfers.
5325
5326Completed conversion of the Resource Manager to nearly full table-driven 
5327operation. Specifically, the resource conversion code (convert AML to 
5328internal format and the reverse) and the debug code to dump internal 
5329resource descriptors are fully table-driven, reducing code and data size and 
5330improving maintainability.
5331
5332The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
5333on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
5334Alexey Starikovskiy)
5335
5336Implemented support within the resource conversion code for the Type-
5337Specific byte within the various ACPI 3.0 *WordSpace macros.
5338
5339Fixed some issues within the resource conversion code for the type-specific 
5340flags for both Memory and I/O address resource descriptors. For Memory, 
5341implemented support for the MTP and TTP flags. For I/O, split the TRS and 
5342TTP flags into two separate fields.
5343
5344Code and Data Size: The current and previous library sizes for the core 
5345subsystem are shown below. These are the code and data sizes for the 
5346acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5347values do not include any ACPI driver or OSPM code. The debug version of the 
5348code includes the debug output trace mechanism and has a much larger code 
5349and data size. Note that these values will vary depending on the efficiency 
5350of the compiler and the compiler options used during generation.
5351
5352  Previous Release:
5353    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
5354    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
5355  Current Release:
5356    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
5357    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
5358
5359
5360
53612) iASL Compiler/Disassembler:
5362
5363Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
5364corresponding ResourceSource string was not also present in a resource 
5365descriptor declaration. This restriction caused problems with existing 
5366AML/ASL code that includes the Index byte without the string. When such AML 
5367was disassembled, it could not be compiled without modification. Further, 
5368the modified code created a resource template with a different size than the 
5369original, breaking code that used fixed offsets into the resource template 
5370buffer.
5371
5372Removed a recent feature of the disassembler to ignore a lone ResourceIndex 
5373byte. This byte is now emitted if present so that the exact AML can be 
5374reproduced when the disassembled code is recompiled.
5375
5376Improved comments and text alignment for the resource descriptor code 
5377emitted by the disassembler.
5378
5379Implemented disassembler support for the ACPI 3.0 AccessSize field within a 
5380Register() resource descriptor.
5381
5382----------------------------------------
538330 September 2005. Summary of changes for version 20050930:
5384
53851) ACPI CA Core Subsystem:
5386
5387Completed a major overhaul of the Resource Manager code - specifically, 
5388optimizations in the area of the AML/internal resource conversion code. The 
5389code has been optimized to simplify and eliminate duplicated code, CPU stack 
5390use has been decreased by optimizing function parameters and local 
5391variables, and naming conventions across the manager have been standardized 
5392for clarity and ease of maintenance (this includes function, parameter, 
5393variable, and struct/typedef names.) The update may force changes in some 
5394driver code, depending on how resources are handled by the host OS.
5395
5396All Resource Manager dispatch and information tables have been moved to a 
5397single location for clarity and ease of maintenance. One new file was 
5398created, named "rsinfo.c".
5399
5400The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
5401guarantee that the argument is not evaluated twice, making them less prone 
5402to macro side-effects. However, since there exists the possibility of 
5403additional stack use if a particular compiler cannot optimize them (such as 
5404in the debug generation case), the original macros are optionally available.  
5405Note that some invocations of the return_VALUE macro may now cause size 
5406mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
5407eliminate these. (From Randy Dunlap)
5408
5409Implemented a new mechanism to enable debug tracing for individual control 
5410methods. A new external interface, AcpiDebugTrace, is provided to enable 
5411this mechanism. The intent is to allow the host OS to easily enable and 
5412disable tracing for problematic control methods. This interface can be 
5413easily exposed to a user or debugger interface if desired. See the file 
5414psxface.c for details.
5415
5416AcpiUtCallocate will now return a valid pointer if a length of zero is 
5417specified - a length of one is used and a warning is issued. This matches 
5418the behavior of AcpiUtAllocate.
5419
5420Code and Data Size: The current and previous library sizes for the core 
5421subsystem are shown below. These are the code and data sizes for the 
5422acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5423values do not include any ACPI driver or OSPM code. The debug version of the 
5424code includes the debug output trace mechanism and has a much larger code 
5425and data size. Note that these values will vary depending on the efficiency 
5426of the compiler and the compiler options used during generation.
5427
5428  Previous Release:
5429    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
5430    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
5431  Current Release:
5432    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
5433    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
5434
5435
54362) iASL Compiler/Disassembler:
5437
5438A remark is issued if the effective compile-time length of a package or 
5439buffer is zero. Previously, this was a warning.
5440
5441----------------------------------------
544216 September 2005. Summary of changes for version 20050916:
5443
54441) ACPI CA Core Subsystem:
5445
5446Fixed a problem within the Resource Manager where support for the Generic 
5447Register descriptor was not fully implemented. This descriptor is now fully 
5448recognized, parsed, disassembled, and displayed.
5449
5450Completely restructured the Resource Manager code to utilize table-driven 
5451dispatch and lookup, eliminating many of the large switch() statements. This 
5452reduces overall subsystem code size and code complexity. Affects the 
5453resource parsing and construction, disassembly, and debug dump output.
5454
5455Cleaned up and restructured the debug dump output for all resource 
5456descriptors. Improved readability of the output and reduced code size.
5457
5458Fixed a problem where changes to internal data structures caused the 
5459optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
5460
5461Code and Data Size: The current and previous library sizes for the core 
5462subsystem are shown below. These are the code and data sizes for the 
5463acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
5464values do not include any ACPI driver or OSPM code. The debug version of the 
5465code includes the debug output trace mechanism and has a much larger code 
5466and data size. Note that these values will vary depending on the efficiency 
5467of the compiler and the compiler options used during generation.
5468
5469  Previous Release:
5470    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5471    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5472  Current Release:
5473    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
5474    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
5475
5476
54772) iASL Compiler/Disassembler:
5478
5479Updated the disassembler to automatically insert an EndDependentFn() macro 
5480into the ASL stream if this macro is missing in the original AML code, 
5481simplifying compilation of the resulting ASL module.
5482
5483Fixed a problem in the disassembler where a disassembled ResourceSource 
5484string (within a large resource descriptor) was not surrounded by quotes and 
5485not followed by a comma, causing errors when the resulting ASL module was 
5486compiled. Also, escape sequences within a ResourceSource string are now 
5487handled correctly (especially "\\")
5488
5489----------------------------------------
549002 September 2005. Summary of changes for version 20050902:
5491
54921) ACPI CA Core Subsystem:
5493
5494Fixed a problem with the internal Owner ID allocation and deallocation 
5495mechanisms for control method execution and recursive method invocation. 
5496This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
5497messages seen on some systems. Recursive method invocation depth is 
5498currently limited to 255. (Alexey Starikovskiy)
5499
5500Completely eliminated all vestiges of support for the "module-level 
5501executable code" until this support is fully implemented and debugged. This 
5502should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
5503some systems that invoke this support.
5504
5505Fixed a problem within the resource manager code where the transaction flags 
5506for a 64-bit address descriptor were handled incorrectly in the type-
5507specific flag byte.
5508
5509Consolidated duplicate code within the address descriptor resource manager 
5510code, reducing overall subsystem code size.
5511
5512Fixed a fault when using the AML debugger "disassemble" command to 
5513disassemble individual control methods.
5514
5515Removed references to the "release_current" directory within the Unix 
5516release package.
5517
5518Code and Data Size: The current and previous core subsystem library sizes 
5519are shown below. These are the code and data sizes for the acpica.lib 
5520produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
5521include any ACPI driver or OSPM code. The debug version of the code includes 
5522the debug output trace mechanism and has a much larger code and data size. 
5523Note that these values will vary depending on the efficiency of the compiler 
5524and the compiler options used during generation.
5525
5526  Previous Release:
5527    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5528    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5529  Current Release:
5530    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
5531    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
5532
5533
55342) iASL Compiler/Disassembler:
5535
5536Implemented an error check for illegal duplicate values in the interrupt and 
5537dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
5538Interrupt().
5539
5540Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
5541too many values in the interrupt list (16 max) and invalid values in the 
5542list (range 0 - 15)
5543
5544The maximum length string literal within an ASL file is now restricted to 
5545200 characters as per the ACPI specification.
5546
5547Fixed a fault when using the -ln option (generate namespace listing).
5548
5549Implemented an error check to determine if a DescriptorName within a 
5550resource descriptor has already been used within the current scope.
5551
5552----------------------------------------
555315 August 2005.  Summary of changes for version 20050815:
5554 
55551) ACPI CA Core Subsystem:
5556 
5557Implemented a full bytewise compare to determine if a table load request is 
5558attempting to load a duplicate table. The compare is performed if the table 
5559signatures and table lengths match. This will allow different tables with 
5560the same OEM Table ID and revision to be loaded - probably against the ACPI 
5561specification, but discovered in the field nonetheless.
5562 
5563Added the changes.txt logfile to each of the zipped release packages.
5564 
5565Code and Data Size: Current and previous core subsystem library sizes are 
5566shown below. These are the code and data sizes for the acpica.lib produced 
5567by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5568any ACPI driver or OSPM code. The debug version of the code includes the 
5569debug output trace mechanism and has a much larger code and data size. Note 
5570that these values will vary depending on the efficiency of the compiler and 
5571the compiler options used during generation.
5572 
5573  Previous Release:
5574    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5575    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5576  Current Release:
5577    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5578    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
5579 
5580 
55812) iASL Compiler/Disassembler:
5582 
5583Fixed a problem where incorrect AML code could be generated for Package 
5584objects if optimization is disabled (via the -oa switch).
5585 
5586Fixed a problem with where incorrect AML code is generated for variable-
5587length packages when the package length is not specified and the number of 
5588initializer values is greater than 255.
5589 
5590
5591----------------------------------------
559229 July 2005.  Summary of changes for version 20050729:
5593
55941) ACPI CA Core Subsystem:
5595
5596Implemented support to ignore an attempt to install/load a particular ACPI 
5597table more than once. Apparently there exists BIOS code that repeatedly 
5598attempts to load the same SSDT upon certain events. With assistance from 
5599Venkatesh Pallipadi.
5600
5601Restructured the main interface to the AML parser in order to correctly 
5602handle all exceptional conditions. This will prevent leakage of the OwnerId 
5603resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
5604machines. With assistance from Alexey Starikovskiy.
5605
5606Support for "module level code" has been disabled in this version due to a 
5607number of issues that have appeared on various machines. The support can be 
5608enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
5609compilation. When the issues are fully resolved, the code will be enabled by 
5610default again.
5611
5612Modified the internal functions for debug print support to define the 
5613FunctionName parameter as a (const char *) for compatibility with compiler 
5614built-in macros such as __FUNCTION__, etc.
5615
5616Linted the entire ACPICA source tree for both 32-bit and 64-bit.
5617
5618Implemented support to display an object count summary for the AML Debugger 
5619commands Object and Methods.
5620
5621Code and Data Size: Current and previous core subsystem library sizes are 
5622shown below. These are the code and data sizes for the acpica.lib produced 
5623by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5624any ACPI driver or OSPM code. The debug version of the code includes the 
5625debug output trace mechanism and has a much larger code and data size. Note 
5626that these values will vary depending on the efficiency of the compiler and 
5627the compiler options used during generation.
5628
5629  Previous Release:
5630    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5631    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5632  Current Release:
5633    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5634    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5635
5636
56372) iASL Compiler/Disassembler:
5638
5639Fixed a regression that appeared in the 20050708 version of the compiler 
5640where an error message was inadvertently emitted for invocations of the _OSI 
5641reserved control method.
5642
5643----------------------------------------
564408 July 2005.  Summary of changes for version 20050708:
5645
56461) ACPI CA Core Subsystem:
5647
5648The use of the CPU stack in the debug version of the subsystem has been 
5649considerably reduced. Previously, a debug structure was declared in every 
5650function that used the debug macros. This structure has been removed in 
5651favor of declaring the individual elements as parameters to the debug 
5652functions. This reduces the cumulative stack use during nested execution of 
5653ACPI function calls at the cost of a small increase in the code size of the 
5654debug version of the subsystem. With assistance from Alexey Starikovskiy and 
5655Len Brown.
5656
5657Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
5658headers to define a macro that will return the current function name at 
5659runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
5660the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
5661compiler-dependent header, the function name is saved on the CPU stack (one 
5662pointer per function.) This mechanism is used because apparently there 
5663exists no standard ANSI-C defined macro that that returns the function name.
5664
5665Redesigned and reimplemented the "Owner ID" mechanism used to track 
5666namespace objects created/deleted by ACPI tables and control method 
5667execution. A bitmap is now used to allocate and free the IDs, thus solving 
5668the wraparound problem present in the previous implementation. The size of 
5669the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
5670Starikovskiy).
5671
5672Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
5673flag definitions within the headers for the predefined ACPI tables. These 
5674have been replaced by UINT8_BIT in order to increase the code portability of 
5675the subsystem. If the use of UINT8 remains a problem, we may be forced to 
5676eliminate bitfields entirely because of a lack of portability.
5677
5678Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
5679is a frequently used function and this improvement increases the performance 
5680of the entire subsystem (Alexey Starikovskiy).
5681
5682Fixed several possible memory leaks and the inverse - premature object 
5683deletion (Alexey Starikovskiy).
5684
5685Code and Data Size: Current and previous core subsystem library sizes are 
5686shown below. These are the code and data sizes for the acpica.lib produced 
5687by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5688any ACPI driver or OSPM code. The debug version of the code includes the 
5689debug output trace mechanism and has a much larger code and data size. Note 
5690that these values will vary depending on the efficiency of the compiler and 
5691the compiler options used during generation.
5692
5693  Previous Release:
5694    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5695    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5696  Current Release:
5697    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5698    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5699
5700----------------------------------------
570124 June 2005.  Summary of changes for version 20050624:
5702
57031) ACPI CA Core Subsystem:
5704
5705Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
5706the host-defined cache object. This allows the OSL implementation to define 
5707and type this object in any manner desired, simplifying the OSL 
5708implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
5709Linux, and should be defined in the OS-specific header file for other 
5710operating systems as required.
5711
5712Changed the interface to AcpiOsAcquireObject to directly return the 
5713requested object as the function return (instead of ACPI_STATUS.) This 
5714change was made for performance reasons, since this is the purpose of the 
5715interface in the first place. AcpiOsAcquireObject is now similar to the 
5716AcpiOsAllocate interface.
5717
5718Implemented a new AML debugger command named Businfo. This command displays 
5719information about all devices that have an associate _PRT object. The _ADR, 
5720_HID, _UID, and _CID are displayed for these devices.
5721
5722Modified the initialization sequence in AcpiInitializeSubsystem to call the 
5723OSL interface AcpiOslInitialize first, before any local initialization. This 
5724change was required because the global initialization now calls OSL 
5725interfaces.
5726
5727Enhanced the Dump command to display the entire contents of Package objects 
5728(including all sub-objects and their values.) 
5729
5730Restructured the code base to split some files because of size and/or 
5731because the code logically belonged in a separate file. New files are listed 
5732below. All makefiles and project files included in the ACPI CA release have 
5733been updated.
5734    utilities/utcache.c           /* Local cache interfaces */
5735    utilities/utmutex.c           /* Local mutex support */
5736    utilities/utstate.c           /* State object support */
5737    interpreter/parser/psloop.c   /* Main AML parse loop */
5738
5739Code and Data Size: Current and previous core subsystem library sizes are 
5740shown below. These are the code and data sizes for the acpica.lib produced 
5741by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5742any ACPI driver or OSPM code. The debug version of the code includes the 
5743debug output trace mechanism and has a much larger code and data size. Note 
5744that these values will vary depending on the efficiency of the compiler and 
5745the compiler options used during generation.
5746
5747  Previous Release:
5748    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5749    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5750  Current Release:
5751    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5752    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5753
5754
57552) iASL Compiler/Disassembler:
5756
5757Fixed a regression introduced in version 20050513 where the use of a Package 
5758object within a Case() statement caused a compile time exception. The 
5759original behavior has been restored (a Match() operator is emitted.)
5760
5761----------------------------------------
576217 June 2005.  Summary of changes for version 20050617:
5763
57641) ACPI CA Core Subsystem:
5765
5766Moved the object cache operations into the OS interface layer (OSL) to allow 
5767the host OS to handle these operations if desired (for example, the Linux 
5768OSL will invoke the slab allocator). This support is optional; the compile 
5769time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
5770code in the ACPI CA core. The new OSL interfaces are shown below. See 
5771utalloc.c for an example implementation, and acpiosxf.h for the exact 
5772interface definitions. With assistance from Alexey Starikovskiy.
5773    AcpiOsCreateCache
5774    AcpiOsDeleteCache
5775    AcpiOsPurgeCache
5776    AcpiOsAcquireObject
5777    AcpiOsReleaseObject
5778
5779Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
5780and restore a flags parameter. This fits better with many OS lock models. 
5781Note: the current execution state (interrupt handler or not) is no longer 
5782passed to these interfaces. If necessary, the OSL must determine this state 
5783by itself, a simple and fast operation. With assistance from Alexey 
5784Starikovskiy.
5785
5786Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
5787present if the revision of the RSDP was 2 or greater. According to the ACPI 
5788specification, the XSDT is optional in all cases, and the table manager 
5789therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
5790Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
5791only the RSDT.
5792
5793Fixed an interpreter problem with the Mid() operator in the case of an input 
5794string where the resulting output string is of zero length. It now correctly 
5795returns a valid, null terminated string object instead of a string object 
5796with a null pointer.
5797
5798Fixed a problem with the control method argument handling to allow a store 
5799to an Arg object that already contains an object of type Device. The Device 
5800object is now correctly overwritten. Previously, an error was returned.
5801
5802
5803Enhanced the debugger Find command to emit object values in addition to the 
5804found object pathnames. The output format is the same as the dump namespace 
5805command.
5806
5807Enhanced the debugger Set command. It now has the ability to set the value 
5808of any Named integer object in the namespace (Previously, only method locals 
5809and args could be set.)
5810
5811Code and Data Size: Current and previous core subsystem library sizes are 
5812shown below. These are the code and data sizes for the acpica.lib produced 
5813by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5814any ACPI driver or OSPM code. The debug version of the code includes the 
5815debug output trace mechanism and has a much larger code and data size. Note 
5816that these values will vary depending on the efficiency of the compiler and 
5817the compiler options used during generation.
5818
5819  Previous Release:
5820    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5821    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5822  Current Release:
5823    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5824    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5825
5826
58272) iASL Compiler/Disassembler:
5828
5829Fixed a regression in the disassembler where if/else/while constructs were 
5830output incorrectly. This problem was introduced in the previous release 
5831(20050526). This problem also affected the single-step disassembly in the 
5832debugger.
5833
5834Fixed a problem where compiling the reserved _OSI method would randomly (but 
5835rarely) produce compile errors.
5836
5837Enhanced the disassembler to emit compilable code in the face of incorrect 
5838AML resource descriptors. If the optional ResourceSourceIndex is present, 
5839but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
5840disassembly. Otherwise, the resulting code cannot be compiled without 
5841errors.
5842
5843----------------------------------------
584426 May 2005.  Summary of changes for version 20050526:
5845
58461) ACPI CA Core Subsystem:
5847
5848Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
5849the module level (not within a control method.) These opcodes are executed 
5850exactly once at the time the table is loaded. This type of code was legal up 
5851until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
5852order to provide backwards compatibility with earlier BIOS implementations. 
5853This eliminates the "Encountered executable code at module level" warning 
5854that was previously generated upon detection of such code.
5855
5856Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
5857inadvertently be generated during the lookup of namespace objects in the 
5858second pass parse of ACPI tables and control methods. It appears that this 
5859problem could occur during the resolution of forward references to namespace 
5860objects.
5861
5862Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
5863corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
5864allows the deadlock detection debug code to be compiled out in the normal 
5865case, improving mutex performance (and overall subsystem performance) 
5866considerably.
5867
5868Implemented a handful of miscellaneous fixes for possible memory leaks on 
5869error conditions and error handling control paths. These fixes were 
5870suggested by FreeBSD and the Coverity Prevent source code analysis tool.
5871
5872Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
5873to prevent a fault in this error case.
5874
5875Code and Data Size: Current and previous core subsystem library sizes are 
5876shown below. These are the code and data sizes for the acpica.lib produced 
5877by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5878any ACPI driver or OSPM code. The debug version of the code includes the 
5879debug output trace mechanism and has a much larger code and data size. Note 
5880that these values will vary depending on the efficiency of the compiler and 
5881the compiler options used during generation.
5882
5883  Previous Release:
5884    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5885    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5886  Current Release:
5887    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5888    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5889
5890
58912) iASL Compiler/Disassembler:
5892
5893Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
5894the module level (not within a control method.) These operators will be 
5895executed once at the time the table is loaded. This type of code was legal 
5896up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
5897compiler in order to provide backwards compatibility with earlier BIOS ASL 
5898code.
5899
5900The ACPI integer width (specified via the table revision ID or the -r 
5901override, 32 or 64 bits) is now used internally during compile-time constant 
5902folding to ensure that constants are truncated to 32 bits if necessary. 
5903Previously, the revision ID value was only emitted in the AML table header.
5904
5905An error message is now generated for the Mutex and Method operators if the 
5906SyncLevel parameter is outside the legal range of 0 through 15.
5907
5908Fixed a problem with the Method operator ParameterTypes list handling (ACPI 
59093.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
5910The actual underlying implementation of method argument typechecking is 
5911still under development, however.
5912
5913----------------------------------------
591413 May 2005.  Summary of changes for version 20050513:
5915
59161) ACPI CA Core Subsystem:
5917
5918Implemented support for PCI Express root bridges -- added support for device 
5919PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
5920
5921The interpreter now automatically truncates incoming 64-bit constants to 32 
5922bits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
5923also affects the iASL compiler constant folding. (Note: as per below, the 
5924iASL compiler no longer allows 64-bit constants within 32-bit tables.)
5925
5926Fixed a problem where string and buffer objects with "static" pointers 
5927(pointers to initialization data within an ACPI table) were not handled 
5928consistently. The internal object copy operation now always copies the data 
5929to a newly allocated buffer, regardless of whether the source object is 
5930static or not.
5931
5932Fixed a problem with the FromBCD operator where an implicit result 
5933conversion was improperly performed while storing the result to the target 
5934operand. Since this is an "explicit conversion" operator, the implicit 
5935conversion should never be performed on the output.
5936
5937Fixed a problem with the CopyObject operator where a copy to an existing 
5938named object did not always completely overwrite the existing object stored 
5939at name. Specifically, a buffer-to-buffer copy did not delete the existing 
5940buffer.
5941
5942Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
5943structs for consistency.
5944
5945Code and Data Size: Current and previous core subsystem library sizes are 
5946shown below. These are the code and data sizes for the acpica.lib produced 
5947by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5948any ACPI driver or OSPM code. The debug version of the code includes the 
5949debug output trace mechanism and has a much larger code and data size. Note 
5950that these values will vary depending on the efficiency of the compiler and 
5951the compiler options used during generation.
5952
5953  Previous Release:
5954    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5955    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5956  Current Release: (Same sizes)
5957    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5958    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5959
5960
59612) iASL Compiler/Disassembler:
5962
5963The compiler now emits a warning if an attempt is made to generate a 64-bit 
5964integer constant from within a 32-bit ACPI table (Revision < 2). The integer 
5965is truncated to 32 bits.
5966
5967Fixed a problem with large package objects: if the static length of the 
5968package is greater than 255, the "variable length package" opcode is 
5969emitted. Previously, this caused an error. This requires an update to the 
5970ACPI spec, since it currently (incorrectly) states that packages larger than 
5971255 elements are not allowed.
5972
5973The disassembler now correctly handles variable length packages and packages 
5974larger than 255 elements.
5975
5976----------------------------------------
597708 April 2005.  Summary of changes for version 20050408:
5978
59791) ACPI CA Core Subsystem:
5980
5981Fixed three cases in the interpreter where an "index" argument to an ASL 
5982function was still (internally) 32 bits instead of the required 64 bits. 
5983This was the Index argument to the Index, Mid, and Match operators.
5984
5985The "strupr" function is now permanently local (AcpiUtStrupr), since this is 
5986not a POSIX-defined function and not present in most kernel-level C 
5987libraries. All references to the C library strupr function have been removed 
5988from the headers.
5989
5990Completed the deployment of static functions/prototypes. All prototypes with 
5991the static attribute have been moved from the headers to the owning C file.
5992
5993Implemented an extract option (-e) for the AcpiBin utility (AML binary 
5994utility). This option allows the utility to extract individual ACPI tables 
5995from the output of AcpiDmp. It provides the same functionality of the 
5996acpixtract.pl perl script without the worry of setting the correct perl 
5997options. AcpiBin runs on Windows and has not yet been generated/validated in 
5998the Linux/Unix environment (but should be soon).
5999 
6000Updated and fixed the table dump option for AcpiBin (-d). This option 
6001converts a single ACPI table to a hex/ascii file, similar to the output of 
6002AcpiDmp.
6003
6004Code and Data Size: Current and previous core subsystem library sizes are 
6005shown below. These are the code and data sizes for the acpica.lib produced 
6006by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6007any ACPI driver or OSPM code. The debug version of the code includes the 
6008debug output trace mechanism and has a much larger code and data size. Note 
6009that these values will vary depending on the efficiency of the compiler and 
6010the compiler options used during generation.
6011
6012  Previous Release:
6013    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
6014    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
6015  Current Release:
6016    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
6017    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
6018
6019
60202) iASL Compiler/Disassembler:
6021
6022Disassembler fix: Added a check to ensure that the table length found in the 
6023ACPI table header within the input file is not longer than the actual input 
6024file size. This indicates some kind of file or table corruption.
6025
6026----------------------------------------
602729 March 2005.  Summary of changes for version 20050329:
6028
60291) ACPI CA Core Subsystem:
6030
6031An error is now generated if an attempt is made to create a Buffer Field of 
6032length zero (A CreateField with a length operand of zero.)
6033
6034The interpreter now issues a warning whenever executable code at the module 
6035level is detected during ACPI table load. This will give some idea of the 
6036prevalence of this type of code.
6037
6038Implemented support for references to named objects (other than control 
6039methods) within package objects.
6040
6041Enhanced package object output for the debug object. Package objects are now 
6042completely dumped, showing all elements.
6043
6044Enhanced miscellaneous object output for the debug object. Any object can 
6045now be written to the debug object (for example, a device object can be 
6046written, and the type of the object will be displayed.)
6047
6048The "static" qualifier has been added to all local functions across both the 
6049core subsystem and the iASL compiler.
6050
6051The number of "long" lines (> 80 chars) within the source has been 
6052significantly reduced, by about 1/3.
6053
6054Cleaned up all header files to ensure that all CA/iASL functions are 
6055prototyped (even static functions) and the formatting is consistent.
6056
6057Two new header files have been added, acopcode.h and acnames.h.
6058
6059Removed several obsolete functions that were no longer used.
6060
6061Code and Data Size: Current and previous core subsystem library sizes are 
6062shown below. These are the code and data sizes for the acpica.lib produced 
6063by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6064any ACPI driver or OSPM code. The debug version of the code includes the 
6065debug output trace mechanism and has a much larger code and data size. Note 
6066that these values will vary depending on the efficiency of the compiler and 
6067the compiler options used during generation.
6068
6069  Previous Release:
6070    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6071    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
6072  Current Release:
6073    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
6074    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
6075
6076
6077
60782) iASL Compiler/Disassembler:
6079
6080Fixed a problem with the resource descriptor generation/support. For the 
6081ResourceSourceIndex and the ResourceSource fields, both must be present, or 
6082both must be not present - can't have one without the other.
6083
6084The compiler now returns non-zero from the main procedure if any errors have 
6085occurred during the compilation.
6086
6087
6088----------------------------------------
608909 March 2005.  Summary of changes for version 20050309:
6090
60911) ACPI CA Core Subsystem:
6092
6093The string-to-buffer implicit conversion code has been modified again after 
6094a change to the ACPI specification.  In order to match the behavior of the 
6095other major ACPI implementation, the target buffer is no longer truncated if 
6096the source string is smaller than an existing target buffer. This change 
6097requires an update to the ACPI spec, and should eliminate the recent 
6098AE_AML_BUFFER_LIMIT issues.
6099
6100The "implicit return" support was rewritten to a new algorithm that solves 
6101the general case. Rather than attempt to determine when a method is about to 
6102exit, the result of every ASL operator is saved momentarily until the very 
6103next ASL operator is executed. Therefore, no matter how the method exits, 
6104there will always be a saved implicit return value. This feature is only 
6105enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
6106AE_AML_NO_RETURN_VALUE errors when enabled.
6107
6108Implemented implicit conversion support for the predicate (operand) of the 
6109If, Else, and While operators. String and Buffer arguments are automatically 
6110converted to Integers.
6111
6112Changed the string-to-integer conversion behavior to match the new ACPI 
6113errata: "If no integer object exists, a new integer is created. The ASCII 
6114string is interpreted as a hexadecimal constant. Each string character is 
6115interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
6116with the first character as the most significant digit, and ending with the 
6117first non-hexadecimal character or end-of-string." This means that the first 
6118non-hex character terminates the conversion and this is the code that was 
6119changed.
6120
6121Fixed a problem where the ObjectType operator would fail (fault) when used 
6122on an Index of a Package which pointed to a null package element. The 
6123operator now properly returns zero (Uninitialized) in this case.
6124
6125Fixed a problem where the While operator used excessive memory by not 
6126properly popping the result stack during execution. There was no memory leak 
6127after execution, however. (Code provided by Valery Podrezov.)
6128
6129Fixed a problem where references to control methods within Package objects 
6130caused the method to be invoked, instead of producing a reference object 
6131pointing to the method.
6132
6133Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
6134improve performance and reduce code size. (Code provided by Alexey 
6135Starikovskiy.)
6136
6137Code and Data Size: Current and previous core subsystem library sizes are 
6138shown below. These are the code and data sizes for the acpica.lib produced 
6139by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6140any ACPI driver or OSPM code. The debug version of the code includes the 
6141debug output trace mechanism and has a much larger code and data size. Note 
6142that these values will vary depending on the efficiency of the compiler and 
6143the compiler options used during generation.
6144
6145  Previous Release:
6146    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6147    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
6148  Current Release:
6149    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6150    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
6151
6152
61532) iASL Compiler/Disassembler:
6154
6155Fixed a problem with the Return operator with no arguments. Since the AML 
6156grammar for the byte encoding requires an operand for the Return opcode, the 
6157compiler now emits a Return(Zero) for this case.  An ACPI specification 
6158update has been written for this case.
6159
6160For tables other than the DSDT, namepath optimization is automatically 
6161disabled. This is because SSDTs can be loaded anywhere in the namespace, the 
6162compiler has no knowledge of where, and thus cannot optimize namepaths.
6163
6164Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
6165inadvertently omitted from the ACPI specification, and will require an 
6166update to the spec.
6167
6168The source file scan for ASCII characters is now optional (-a). This change 
6169was made because some vendors place non-ascii characters within comments. 
6170However, the scan is simply a brute-force byte compare to ensure all 
6171characters in the file are in the range 0x00 to 0x7F.
6172
6173Fixed a problem with the CondRefOf operator where the compiler was 
6174inappropriately checking for the existence of the target. Since the point of 
6175the operator is to check for the existence of the target at run-time, the 
6176compiler no longer checks for the target existence.
6177
6178Fixed a problem where errors generated from the internal AML interpreter 
6179during constant folding were not handled properly, causing a fault.
6180
6181Fixed a problem with overly aggressive range checking for the Stall 
6182operator. The valid range (max 255) is now only checked if the operand is of 
6183type Integer. All other operand types cannot be statically checked.
6184
6185Fixed a problem where control method references within the RefOf, DeRefOf, 
6186and ObjectType operators were not treated properly. They are now treated as 
6187actual references, not method invocations.
6188
6189Fixed and enhanced the "list namespace" option (-ln). This option was broken 
6190a number of releases ago.
6191
6192Improved error handling for the Field, IndexField, and BankField operators. 
6193The compiler now cleanly reports and recovers from errors in the field 
6194component (FieldUnit) list.
6195
6196Fixed a disassembler problem where the optional ResourceDescriptor fields 
6197TRS and TTP were not always handled correctly.
6198
6199Disassembler - Comments in output now use "//" instead of "/*"
6200
6201----------------------------------------
620228 February 2005.  Summary of changes for version 20050228:
6203
62041) ACPI CA Core Subsystem:
6205
6206Fixed a problem where the result of an Index() operator (an object 
6207reference) must increment the reference count on the target object for the 
6208life of the object reference.
6209
6210Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
6211Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
6212resource descriptors.
6213
6214Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
6215Space Descriptor" string, indicating interpreter support for the descriptors 
6216above.
6217
6218Implemented header support for the new ACPI 3.0 FADT flag bits.
6219
6220Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
6221status/enable registers.
6222
6223Updated header support for the MADT processor local Apic struct and MADT 
6224platform interrupt source struct for new ACPI 3.0 fields.
6225
6226Implemented header support for the SRAT and SLIT ACPI tables.
6227
6228Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
6229at runtime.
6230
6231Code and Data Size: Current and previous core subsystem library sizes are 
6232shown below. These are the code and data sizes for the acpica.lib produced 
6233by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6234any ACPI driver or OSPM code. The debug version of the code includes the 
6235debug output trace mechanism and has a much larger code and data size. Note 
6236that these values will vary depending on the efficiency of the compiler and 
6237the compiler options used during generation.
6238
6239  Previous Release:
6240    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
6241    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
6242  Current Release:
6243    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
6244    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
6245
6246
62472) iASL Compiler/Disassembler:
6248
6249Fixed a problem with the internal 64-bit String-to-integer conversion with 
6250strings less than two characters long.
6251
6252Fixed a problem with constant folding where the result of the Index() 
6253operator can not be considered a constant. This means that Index() cannot be 
6254a type3 opcode and this will require an update to the ACPI specification.
6255
6256Disassembler: Implemented support for the TTP, MTP, and TRS resource 
6257descriptor fields. These fields were inadvertently ignored and not output in 
6258the disassembly of the resource descriptor.
6259
6260
6261 ----------------------------------------
626211 February 2005.  Summary of changes for version 20050211:
6263
62641) ACPI CA Core Subsystem:
6265
6266Implemented ACPI 3.0 support for implicit conversion within the Match() 
6267operator. MatchObjects can now be of type integer, buffer, or string instead 
6268of just type integer.  Package elements are implicitly converted to the type 
6269of the MatchObject. This change aligns the behavior of Match() with the 
6270behavior of the other logical operators (LLess(), etc.) It also requires an 
6271errata change to the ACPI specification as this support was intended for 
6272ACPI 3.0, but was inadvertently omitted.
6273
6274Fixed a problem with the internal implicit "to buffer" conversion. Strings 
6275that are converted to buffers will cause buffer truncation if the string is 
6276smaller than the target buffer. Integers that are converted to buffers will 
6277not cause buffer truncation, only zero extension (both as per the ACPI 
6278spec.) The problem was introduced when code was added to truncate the 
6279buffer, but this should not be performed in all cases, only the string case.
6280
6281Fixed a problem with the Buffer and Package operators where the interpreter 
6282would get confused if two such operators were used as operands to an ASL 
6283operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
6284stack was not being popped after the execution of these operators, resulting 
6285in an AE_NO_RETURN_VALUE exception.
6286
6287Fixed a problem with constructs of the form Store(Index(...),...). The 
6288reference object returned from Index was inadvertently resolved to an actual 
6289value. This problem was introduced in version 20050114 when the behavior of 
6290Store() was modified to restrict the object types that can be used as the 
6291source operand (to match the ACPI specification.)
6292
6293Reduced excessive stack use within the AcpiGetObjectInfo procedure.
6294
6295Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
6296
6297Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
6298
6299Code and Data Size: Current and previous core subsystem library sizes are 
6300shown below. These are the code and data sizes for the acpica.lib produced 
6301by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6302any ACPI driver or OSPM code. The debug version of the code includes the 
6303debug output trace mechanism and has a much larger code and data size. Note 
6304that these values will vary depending on the efficiency of the compiler and 
6305the compiler options used during generation.
6306
6307  Previous Release:
6308    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
6309    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
6310  Current 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
6314
63152) iASL Compiler/Disassembler:
6316
6317Fixed a code generation problem in the constant folding optimization code 
6318where incorrect code was generated if a constant was reduced to a buffer 
6319object (i.e., a reduced type 5 opcode.)
6320
6321Fixed a typechecking problem for the ToBuffer operator. Caused by an 
6322incorrect return type in the internal opcode information table.
6323
6324----------------------------------------
632525 January 2005.  Summary of changes for version 20050125:
6326
63271) ACPI CA Core Subsystem:
6328
6329Fixed a recently introduced problem with the Global Lock where the 
6330underlying semaphore was not created.  This problem was introduced in 
6331version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
6332Acquire() operation on _GL.
6333
6334The local object cache is now optional, and is disabled by default. Both 
6335AcpiExec and the iASL compiler enable the cache because they run in user 
6336mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
6337to enable the local cache.
6338
6339Fixed an issue in the internal function AcpiUtEvaluateObject concerning the 
6340optional "implicit return" support where an error was returned if no return 
6341object was expected, but one was implicitly returned. AE_OK is now returned 
6342in this case and the implicitly returned object is deleted. 
6343AcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
6344methods such as _STA and _INI where the return type is known up front.
6345
6346Fixed a few issues with the internal convert-to-integer code. It now returns 
6347an error if an attempt is made to convert a null string, a string of only 
6348blanks/tabs, or a zero-length buffer. This affects both implicit conversion 
6349and explicit conversion via the ToInteger() operator.
6350
6351The internal debug code in AcpiUtAcquireMutex has been commented out. It is 
6352not needed for normal operation and should increase the performance of the 
6353entire subsystem. The code remains in case it is needed for debug purposes 
6354again.
6355
6356The AcpiExec source and makefile are included in the Unix/Linux package for 
6357the first time.
6358
6359Code and Data Size: Current and previous core subsystem library sizes are 
6360shown below. These are the code and data sizes for the acpica.lib produced 
6361by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6362any ACPI driver or OSPM code. The debug version of the code includes the 
6363debug output trace mechanism and has a much larger code and data size. Note 
6364that these values will vary depending on the efficiency of the compiler and 
6365the compiler options used during generation.
6366
6367  Previous Release:
6368    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
6369    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
6370  Current Release:
6371    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
6372    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
6373
63742) iASL Compiler/Disassembler:
6375
6376Switch/Case support: A warning is now issued if the type of the Switch value 
6377cannot be determined at compile time. For example, Switch(Arg0) will 
6378generate the warning, and the type is assumed to be an integer. As per the 
6379ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
6380warning.
6381
6382Switch/Case support: Implemented support for buffer and string objects as 
6383the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
6384buffers and strings.
6385
6386Switch/Case support: The emitted code for the LEqual() comparisons now uses 
6387the switch value as the first operand, not the second. The case value is now 
6388the second operand, and this allows the case value to be implicitly 
6389converted to the type of the switch value, not the other way around.
6390
6391Switch/Case support: Temporary variables are now emitted immediately within 
6392the control method, not at the global level. This means that there are now 
639336 temps available per-method, not 36 temps per-module as was the case with 
6394the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
6395
6396----------------------------------------
639714 January 2005.  Summary of changes for version 20050114:
6398
6399Added 2005 copyright to all module headers.  This affects every module in 
6400the core subsystem, iASL compiler, and the utilities.
6401
64021) ACPI CA Core Subsystem:
6403
6404Fixed an issue with the String-to-Buffer conversion code where the string 
6405null terminator was not included in the buffer after conversion, but there 
6406is existing ASL that assumes the string null terminator is included. This is 
6407the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
6408introduced in the previous version when the code was updated to correctly 
6409set the converted buffer size as per the ACPI specification. The ACPI spec 
6410is ambiguous and will be updated to specify that the null terminator must be 
6411included in the converted buffer. This also affects the ToBuffer() ASL 
6412operator.
6413
6414Fixed a problem with the Mid() ASL/AML operator where it did not work 
6415correctly on Buffer objects. Newly created sub-buffers were not being marked 
6416as initialized.
6417
6418
6419Fixed a problem in AcpiTbFindTable where incorrect string compares were 
6420performed on the OemId and OemTableId table header fields.  These fields are 
6421not null terminated, so strncmp is now used instead of strcmp.
6422
6423Implemented a restriction on the Store() ASL/AML operator to align the 
6424behavior with the ACPI specification.  Previously, any object could be used 
6425as the source operand.  Now, the only objects that may be used are Integers, 
6426Buffers, Strings, Packages, Object References, and DDB Handles.  If 
6427necessary, the original behavior can be restored by enabling the 
6428EnableInterpreterSlack flag.
6429
6430Enhanced the optional "implicit return" support to allow an implicit return 
6431value from methods that are invoked externally via the AcpiEvaluateObject 
6432interface.  This enables implicit returns from the _STA and _INI methods, 
6433for example.
6434
6435Changed the Revision() ASL/AML operator to return the current version of the 
6436AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
6437the supported ACPI version (This is the function of the _REV method).
6438
6439Updated the _REV predefined method to return the currently supported version 
6440of ACPI, now 3.
6441
6442Implemented batch mode option for the AcpiExec utility (-b).
6443
6444Code and Data Size: Current and previous core subsystem library sizes are 
6445shown below. These are the code and data sizes for the acpica.lib produced 
6446by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6447any ACPI driver or OSPM code. The debug version of the code includes the 
6448debug output trace mechanism and has a much larger code and data size. Note 
6449that these values will vary depending on the efficiency of the compiler and 
6450the compiler options used during generation.
6451
6452  Previous Release:
6453    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6454    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6455  Current Release:
6456    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
6457    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
6458
6459----------------------------------------
646010 December 2004.  Summary of changes for version 20041210:
6461
6462ACPI 3.0 support is nearing completion in both the iASL compiler and the 
6463ACPI CA core subsystem.
6464
64651) ACPI CA Core Subsystem:
6466
6467Fixed a problem in the ToDecimalString operator where the resulting string 
6468length was incorrectly calculated. The length is now calculated exactly, 
6469eliminating incorrect AE_STRING_LIMIT exceptions.
6470
6471Fixed a problem in the ToHexString operator to allow a maximum 200 character 
6472string to be produced.
6473
6474Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
6475routine where the length of the resulting buffer was not truncated to the 
6476new size (if the target buffer already existed).
6477
6478Code and Data Size: Current and previous core subsystem library sizes are 
6479shown below. These are the code and data sizes for the acpica.lib produced 
6480by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6481any ACPI driver or OSPM code. The debug version of the code includes the 
6482debug output trace mechanism and has a much larger code and data size. Note 
6483that these values will vary depending on the efficiency of the compiler and 
6484the compiler options used during generation.
6485
6486  Previous Release:
6487    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6488    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6489  Current Release:
6490    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6491    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
6492
6493
64942) iASL Compiler/Disassembler:
6495
6496Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
6497ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
6498Includes support in the disassembler.
6499
6500Implemented support for the new (ACPI 3.0) parameter to the Register macro, 
6501AccessSize.
6502
6503Fixed a problem where the _HE resource name for the Interrupt macro was 
6504referencing bit 0 instead of bit 1.
6505
6506Implemented check for maximum 255 interrupts in the Interrupt macro.
6507
6508Fixed a problem with the predefined resource descriptor names where 
6509incorrect AML code was generated if the offset within the resource buffer 
6510was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
6511but did not update the surrounding package lengths.
6512
6513Changes to the Dma macro:  All channels within the channel list must be in 
6514the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
6515optional (default is BusMaster).
6516
6517Implemented check for maximum 7 data bytes for the VendorShort macro.
6518
6519The ReadWrite parameter is now optional for the Memory32 and similar macros.
6520
6521----------------------------------------
652203 December 2004.  Summary of changes for version 20041203:
6523
65241) ACPI CA Core Subsystem:
6525
6526The low-level field insertion/extraction code (exfldio) has been completely 
6527rewritten to eliminate unnecessary complexity, bugs, and boundary 
6528conditions.
6529
6530Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
6531operators where the input operand could be inadvertently deleted if no 
6532conversion was necessary (e.g., if the input to ToInteger was an Integer 
6533object.)
6534
6535Fixed a problem with the ToDecimalString and ToHexString where an incorrect 
6536exception code was returned if the resulting string would be > 200 chars.  
6537AE_STRING_LIMIT is now returned.
6538
6539Fixed a problem with the Concatenate operator where AE_OK was always 
6540returned, even if the operation failed.
6541
6542Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
6543semaphores to be allocated.
6544
6545Code and Data Size: Current and previous core subsystem library sizes are 
6546shown below. These are the code and data sizes for the acpica.lib produced 
6547by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6548any ACPI driver or OSPM code. The debug version of the code includes the 
6549debug output trace mechanism and has a much larger code and data size. Note 
6550that these values will vary depending on the efficiency of the compiler and 
6551the compiler options used during generation.
6552
6553  Previous Release:
6554    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6555    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6556  Current Release:
6557    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
6558    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
6559
6560
65612) iASL Compiler/Disassembler:
6562
6563Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
6564recently introduced in 20041119.
6565
6566Fixed a problem with the ToUUID macro where the upper nybble of each buffer 
6567byte was inadvertently set to zero.
6568
6569----------------------------------------
657019 November 2004.  Summary of changes for version 20041119:
6571
65721) ACPI CA Core Subsystem:
6573
6574Fixed a problem in the internal ConvertToInteger routine where new integers 
6575were not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
6576buffers and strings to integers.
6577
6578Implemented support to store a value to an Index() on a String object. This 
6579is an ACPI 2.0 feature that had not yet been implemented.
6580
6581Implemented new behavior for storing objects to individual package elements 
6582(via the Index() operator). The previous behavior was to invoke the implicit 
6583conversion rules if an object was already present at the index.  The new 
6584behavior is to simply delete any existing object and directly store the new 
6585object. Although the ACPI specification seems unclear on this subject, other 
6586ACPI implementations behave in this manner.  (This is the root of the 
6587AE_BAD_HEX_CONSTANT issue.)
6588
6589Modified the RSDP memory scan mechanism to support the extended checksum for 
6590ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
6591RSDP signature is found with a valid checksum.
6592
6593Code and Data Size: Current and previous core subsystem library sizes are 
6594shown below. These are the code and data sizes for the acpica.lib produced 
6595by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6596any ACPI driver or OSPM code. The debug version of the code includes the 
6597debug output trace mechanism and has a much larger code and data size. Note 
6598that these values will vary depending on the efficiency of the compiler and 
6599the compiler options used during generation.
6600
6601  Previous Release:
6602    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6603    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6604  Current Release:
6605    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6606    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6607
6608
66092) iASL Compiler/Disassembler:
6610
6611Fixed a missing semicolon in the aslcompiler.y file.
6612
6613----------------------------------------
661405 November 2004.  Summary of changes for version 20041105:
6615
66161) ACPI CA Core Subsystem:
6617
6618Implemented support for FADT revision 2.  This was an interim table (between 
6619ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
6620
6621Implemented optional support to allow uninitialized LocalX and ArgX 
6622variables in a control method.  The variables are initialized to an Integer 
6623object with a value of zero.  This support is enabled by setting the 
6624AcpiGbl_EnableInterpreterSlack flag to TRUE.
6625
6626Implemented support for Integer objects for the SizeOf operator.  Either 4 
6627or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
6628depending on the parent table revision).
6629
6630Fixed a problem in the implementation of the SizeOf and ObjectType operators 
6631where the operand was resolved to a value too early, causing incorrect 
6632return values for some objects.
6633
6634Fixed some possible memory leaks during exceptional conditions.
6635
6636Code and Data Size: Current and previous core subsystem library sizes are 
6637shown below. These are the code and data sizes for the acpica.lib produced 
6638by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6639any ACPI driver or OSPM code. The debug version of the code includes the 
6640debug output trace mechanism and has a much larger code and data size. Note 
6641that these values will vary depending on the efficiency of the compiler and 
6642the compiler options used during generation.
6643
6644  Previous Release:
6645    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6646    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6647  Current Release:
6648    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6649    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6650
6651
66522) iASL Compiler/Disassembler:
6653
6654Implemented support for all ACPI 3.0 reserved names and methods.
6655
6656Implemented all ACPI 3.0 grammar elements in the front-end, including 
6657support for semicolons.
6658
6659Implemented the ACPI 3.0 Function() and ToUUID() macros
6660
6661Fixed a problem in the disassembler where a Scope() operator would not be 
6662emitted properly if the target of the scope was in another table.
6663
6664----------------------------------------
666515 October 2004.  Summary of changes for version 20041015:
6666
6667Note:  ACPI CA is currently undergoing an in-depth and complete formal 
6668evaluation to test/verify the following areas. Other suggestions are 
6669welcome. This will result in an increase in the frequency of releases and 
6670the number of bug fixes in the next few months.
6671  - Functional tests for all ASL/AML operators
6672  - All implicit/explicit type conversions
6673  - Bit fields and operation regions
6674  - 64-bit math support and 32-bit-only "truncated" math support
6675  - Exceptional conditions, both compiler and interpreter
6676  - Dynamic object deletion and memory leaks
6677  - ACPI 3.0 support when implemented
6678  - External interfaces to the ACPI subsystem
6679
6680
66811) ACPI CA Core Subsystem:
6682
6683Fixed two alignment issues on 64-bit platforms - within debug statements in 
6684AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
6685field within the non-aligned ACPI generic address structure.
6686
6687Fixed a problem in the Increment and Decrement operators where incorrect 
6688operand resolution could result in the inadvertent modification of the 
6689original integer when the integer is passed into another method as an 
6690argument and the arg is then incremented/decremented.
6691
6692Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
6693BCD number were truncated during conversion.
6694
6695Fixed a problem in the ToDecimal operator where the length of the resulting 
6696string could be set incorrectly too long if the input operand was a Buffer 
6697object.
6698
6699Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
6700within a buffer would prematurely terminate a compare between buffer 
6701objects.
6702
6703Added a check for string overflow (>200 characters as per the ACPI 
6704specification) during the Concatenate operator with two string operands.
6705
6706Code and Data Size: Current and previous core subsystem library sizes are 
6707shown below. These are the code and data sizes for the acpica.lib produced 
6708by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6709any ACPI driver or OSPM code. The debug version of the code includes the 
6710debug output trace mechanism and has a much larger code and data size. Note 
6711that these values will vary depending on the efficiency of the compiler and 
6712the compiler options used during generation.
6713
6714  Previous Release:
6715    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6716    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6717  Current Release:
6718    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6719    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6720
6721
6722
67232) iASL Compiler/Disassembler:
6724
6725Allow the use of the ObjectType operator on uninitialized Locals and Args 
6726(returns 0 as per the ACPI specification).
6727
6728Fixed a problem where the compiler would fault if there was a syntax error 
6729in the FieldName of all of the various CreateXXXField operators.
6730
6731Disallow the use of lower case letters within the EISAID macro, as per the 
6732ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
6733U is an uppercase letter and N is a hex digit.
6734
6735
6736----------------------------------------
673706 October 2004.  Summary of changes for version 20041006:
6738
67391) ACPI CA Core Subsystem:
6740
6741Implemented support for the ACPI 3.0 Timer operator. This ASL function 
6742implements a 64-bit timer with 100 nanosecond granularity.
6743
6744Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
6745implement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
6746the timer with the best clock available. Also, it keeps the core subsystem 
6747out of the clock handling business, since the host OS (usually) performs 
6748this function.
6749
6750Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
6751functions use a 64-bit address which is part of the packed ACPI Generic 
6752Address Structure. Since the structure is non-aligned, the alignment macros 
6753are now used to extract the address to a local variable before use.
6754
6755Fixed a problem where the ToInteger operator assumed all input strings were 
6756hexadecimal. The operator now handles both decimal strings and hex strings 
6757(prefixed with "0x").
6758
6759Fixed a problem where the string length in the string object created as a 
6760result of the internal ConvertToString procedure could be incorrect. This 
6761potentially affected all implicit conversions and also the ToDecimalString 
6762and ToHexString operators.
6763
6764Fixed two problems in the ToString operator. If the length parameter was 
6765zero, an incorrect string object was created and the value of the input 
6766length parameter was inadvertently changed from zero to Ones.
6767
6768Fixed a problem where the optional ResourceSource string in the ExtendedIRQ 
6769resource macro was ignored.
6770
6771Simplified the interfaces to the internal division functions, reducing code 
6772size and complexity.
6773
6774Code and Data Size: Current and previous core subsystem library sizes are 
6775shown below. These are the code and data sizes for the acpica.lib produced 
6776by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6777any ACPI driver or OSPM code. The debug version of the code includes the 
6778debug output trace mechanism and has a much larger code and data size. Note 
6779that these values will vary depending on the efficiency of the compiler and 
6780the compiler options used during generation.
6781
6782  Previous Release:
6783    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6784    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6785  Current 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
6789
67902) iASL Compiler/Disassembler:
6791
6792Implemented support for the ACPI 3.0 Timer operator.
6793
6794Fixed a problem where the Default() operator was inadvertently ignored in a 
6795Switch/Case block.  This was a problem in the translation of the Switch 
6796statement to If...Else pairs.
6797
6798Added support to allow a standalone Return operator, with no parentheses (or 
6799operands).
6800
6801Fixed a problem with code generation for the ElseIf operator where the 
6802translated Else...If parse tree was improperly constructed leading to the 
6803loss of some code.
6804
6805----------------------------------------
680622 September 2004.  Summary of changes for version 20040922:
6807
68081) ACPI CA Core Subsystem:
6809
6810Fixed a problem with the implementation of the LNot() operator where "Ones" 
6811was not returned for the TRUE case. Changed the code to return Ones instead 
6812of (!Arg) which was usually 1. This change affects iASL constant folding for 
6813this operator also.
6814
6815Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
6816initialized properly -- Now zero the entire buffer in this case where the 
6817buffer already exists.
6818
6819Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
6820Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
6821related code considerably. This will require changes/updates to all OS 
6822interface layers (OSLs.)
6823
6824Implemented a new external interface, AcpiInstallExceptionHandler, to allow 
6825a system exception handler to be installed. This handler is invoked upon any 
6826run-time exception that occurs during control method execution.
6827
6828Added support for the DSDT in AcpiTbFindTable. This allows the 
6829DataTableRegion() operator to access the local copy of the DSDT.
6830
6831Code and Data Size: Current and previous core subsystem library sizes are 
6832shown below. These are the code and data sizes for the acpica.lib produced 
6833by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6834any ACPI driver or OSPM code. The debug version of the code includes the 
6835debug output trace mechanism and has a much larger code and data size. Note 
6836that these values will vary depending on the efficiency of the compiler and 
6837the compiler options used during generation.
6838
6839  Previous Release:
6840    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6841    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6842  Current Release:
6843    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6844    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6845
6846
68472) iASL Compiler/Disassembler:
6848
6849Fixed a problem with constant folding and the LNot operator. LNot was 
6850returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
6851could result in the generation of an incorrect folded/reduced constant.
6852
6853End-Of-File is now allowed within a "//"-style comment.  A parse error no 
6854longer occurs if such a comment is at the very end of the input ASL source 
6855file.
6856
6857Implemented the "-r" option to override the Revision in the table header. 
6858The initial use of this option will be to simplify the evaluation of the AML 
6859interpreter by allowing a single ASL source module to be compiled for either 
686032-bit or 64-bit integers.
6861
6862
6863----------------------------------------
686427 August 2004.  Summary of changes for version 20040827:
6865
68661) ACPI CA Core Subsystem:
6867
6868- Implemented support for implicit object conversion in the non-numeric 
6869logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
6870LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
6871the second operand is implicitly converted on the fly to match the type of 
6872the first operand.  For example:
6873
6874    LEqual (Source1, Source2)
6875
6876Source1 and Source2 must each evaluate to an integer, a string, or a buffer. 
6877The data type of Source1 dictates the required type of Source2. Source2 is 
6878implicitly converted if necessary to match the type of Source1.
6879
6880- Updated and corrected the behavior of the string conversion support.  The 
6881rules concerning conversion of buffers to strings (according to the ACPI 
6882specification) are as follows:
6883
6884ToDecimalString - explicit byte-wise conversion of buffer to string of 
6885decimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
6886conversion of buffer to string of hex values (0-FF) separated by commas. 
6887ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
6888copy with no transform except NULL terminated. Any other implicit buffer-to-
6889string conversion - byte-wise conversion of buffer to string of hex values 
6890(0-FF) separated by spaces.
6891
6892- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
6893
6894- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
6895one byte too short in the case of a node in the root scope.  This could 
6896cause a fault during debug output.
6897
6898- Code and Data Size: Current and previous core subsystem library sizes are 
6899shown below.  These are the code and data sizes for the acpica.lib produced 
6900by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6901any ACPI driver or OSPM code.  The debug version of the code includes the 
6902debug output trace mechanism and has a much larger code and data size.  Note 
6903that these values will vary depending on the efficiency of the compiler and 
6904the compiler options used during generation.
6905
6906  Previous Release:
6907    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6908    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6909  Current Release:
6910    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6911    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6912
6913
69142) iASL Compiler/Disassembler:
6915
6916- Fixed a Linux generation error.
6917
6918
6919----------------------------------------
692016 August 2004.  Summary of changes for version 20040816:
6921
69221) ACPI CA Core Subsystem:
6923
6924Designed and implemented support within the AML interpreter for the so-
6925called "implicit return".  This support returns the result of the last ASL 
6926operation within a control method, in the absence of an explicit Return() 
6927operator.  A few machines depend on this behavior, even though it is not 
6928explicitly supported by the ASL language.  It is optional support that can 
6929be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
6930
6931Removed support for the PCI_Config address space from the internal low level 
6932hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
6933support was not used internally, and would not work correctly anyway because 
6934the PCI bus number and segment number were not supported.  There are 
6935separate interfaces for PCI configuration space access because of the unique 
6936interface.
6937
6938Code and Data Size: Current and previous core subsystem library sizes are 
6939shown below.  These are the code and data sizes for the acpica.lib produced 
6940by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6941any ACPI driver or OSPM code.  The debug version of the code includes the 
6942debug output trace mechanism and has a much larger code and data size.  Note 
6943that these values will vary depending on the efficiency of the compiler and 
6944the compiler options used during generation.
6945
6946  Previous Release:
6947    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6948    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6949  Current Release:
6950    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6951    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6952
6953
69542) iASL Compiler/Disassembler:
6955
6956Fixed a problem where constants in ASL expressions at the root level (not 
6957within a control method) could be inadvertently truncated during code 
6958generation.  This problem was introduced in the 20040715 release.
6959
6960
6961----------------------------------------
696215 July 2004.  Summary of changes for version 20040715:
6963
69641) ACPI CA Core Subsystem:
6965
6966Restructured the internal HW GPE interfaces to pass/track the current state 
6967of interrupts (enabled/disabled) in order to avoid possible deadlock and 
6968increase flexibility of the interfaces.
6969
6970Implemented a "lexicographical compare" for String and Buffer objects within 
6971the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
6972as per further clarification to the ACPI specification.  Behavior is similar 
6973to C library "strcmp".
6974
6975Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
6976external function.  In the 32-bit non-debug case, the stack use has been 
6977reduced from 168 bytes to 32 bytes.
6978
6979Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
6980whose purpose is to allow the AML interpreter to forgive certain bad AML 
6981constructs.  Default setting is FALSE.
6982
6983Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
6984support code.  If enabled, it allows field access to go beyond the end of a 
6985region definition if the field is within the region length rounded up to the 
6986next access width boundary (a common coding error.)
6987
6988Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
6989ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
6990symbols are lowercased by the latest version of the AcpiSrc tool.
6991
6992The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
6993rename "Register" to simply "Reg" to prevent certain compilers from 
6994complaining.
6995
6996Code and Data Size: Current and previous core subsystem library sizes are 
6997shown below.  These are the code and data sizes for the acpica.lib produced 
6998by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6999any ACPI driver or OSPM code.  The debug version of the code includes the 
7000debug output trace mechanism and has a much larger code and data size.  Note 
7001that these values will vary depending on the efficiency of the compiler and 
7002the compiler options used during generation.
7003
7004  Previous Release:
7005    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
7006    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
7007  Current Release:
7008    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
7009    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
7010
7011
70122) iASL Compiler/Disassembler:
7013
7014Implemented full support for Package objects within the Case() operator.  
7015Note: The Break() operator is currently not supported within Case blocks 
7016(TermLists) as there is some question about backward compatibility with ACPI 
70171.0 interpreters.
7018
7019
7020Fixed a problem where complex terms were not supported properly within the 
7021Switch() operator.
7022
7023Eliminated extraneous warning for compiler-emitted reserved names of the 
7024form "_T_x".  (Used in Switch/Case operators.)
7025
7026Eliminated optimization messages for "_T_x" objects and small constants 
7027within the DefinitionBlock operator.
7028
7029
7030----------------------------------------
703115 June 2004.  Summary of changes for version 20040615:
7032
70331) ACPI CA Core Subsystem:
7034
7035Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
7036following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
7037LLessEqual.
7038
7039All directory names in the entire source package are lower case, as they 
7040were in earlier releases.
7041
7042Implemented "Disassemble" command in the AML debugger that will disassemble 
7043a single control method.
7044
7045Code and Data Size: Current and previous core subsystem library sizes are 
7046shown below.  These are the code and data sizes for the acpica.lib produced 
7047by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7048any ACPI driver or OSPM code.  The debug version of the code includes the 
7049debug output trace mechanism and has a much larger code and data size.  Note 
7050that these values will vary depending on the efficiency of the compiler and 
7051the compiler options used during generation.
7052
7053  Previous Release:
7054    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
7055    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
7056
7057  Current Release:
7058    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
7059    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
7060
7061
70622) iASL Compiler/Disassembler:
7063
7064Implemented support for Buffer and String objects (as per ACPI 2.0) for the 
7065following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
7066LLessEqual.
7067
7068All directory names in the entire source package are lower case, as they 
7069were in earlier releases.
7070
7071Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
7072not found.
7073
7074Fixed an issue with the Windows version of the compiler where later versions 
7075of Windows place the FADT in the registry under the name "FADT" and not 
7076"FACP" as earlier versions did.  This applies when using the -g or -
7077d<nofilename> options.  The compiler now looks for both strings as 
7078necessary.
7079
7080Fixed a problem with compiler namepath optimization where a namepath within 
7081the Scope() operator could not be optimized if the namepath was a subpath of 
7082the current scope path.
7083
7084----------------------------------------
708527 May 2004.  Summary of changes for version 20040527:
7086
70871) ACPI CA Core Subsystem:
7088
7089Completed a new design and implementation for EBDA (Extended BIOS Data Area) 
7090support in the RSDP scan code.  The original code improperly scanned for the 
7091EBDA by simply scanning from memory location 0 to 0x400.  The correct method 
7092is to first obtain the EBDA pointer from within the BIOS data area, then 
7093scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
7094any machines that place the RSDP in the EBDA, however.
7095
7096Integrated a fix for a possible fault during evaluation of BufferField 
7097arguments.  Obsolete code that was causing the problem was removed.
7098
7099Found and fixed a problem in the Field Support Code where data could be 
7100corrupted on a bit field read that starts on an aligned boundary but does 
7101not end on an aligned boundary.  Merged the read/write "datum length" 
7102calculation code into a common procedure.
7103
7104Rolled in a couple of changes to the FreeBSD-specific header.
7105
7106
7107Code and Data Size: Current and previous core subsystem library sizes are 
7108shown below.  These are the code and data sizes for the acpica.lib produced 
7109by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7110any ACPI driver or OSPM code.  The debug version of the code includes the 
7111debug output trace mechanism and has a much larger code and data size.  Note 
7112that these values will vary depending on the efficiency of the compiler and 
7113the compiler options used during generation.
7114
7115  Previous Release:
7116    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7117    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
7118  Current Release:
7119    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
7120    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
7121
7122
71232) iASL Compiler/Disassembler:
7124
7125Fixed a generation warning produced by some overly-verbose compilers for a 
712664-bit constant.
7127
7128----------------------------------------
712914 May 2004.  Summary of changes for version 20040514:
7130
71311) ACPI CA Core Subsystem:
7132
7133Fixed a problem where hardware GPE enable bits sometimes not set properly 
7134during and after GPE method execution.  Result of 04/27 changes.
7135
7136Removed extra "clear all GPEs" when sleeping/waking.
7137
7138Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
7139AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
7140the new AcpiEv* calls as appropriate.
7141
7142ACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
7143now "Microsoft Windows NT" for maximum compatibility.  However this can be 
7144changed by modifying the acconfig.h file.
7145
7146Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
7147traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
7148
7149Run _INI methods on ThermalZone objects.  This is against the ACPI 
7150specification, but there is apparently ASL code in the field that has these 
7151_INI methods, and apparently "other" AML interpreters execute them.
7152
7153Performed a full 16/32/64 bit lint that resulted in some small changes.
7154
7155Added a sleep simulation command to the AML debugger to test sleep code. 
7156
7157Code and Data Size: Current and previous core subsystem library sizes are 
7158shown below.  These are the code and data sizes for the acpica.lib produced 
7159by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7160any ACPI driver or OSPM code.  The debug version of the code includes the 
7161debug output trace mechanism and has a much larger code and data size.  Note 
7162that these values will vary depending on the efficiency of the compiler and 
7163the compiler options used during generation.
7164
7165  Previous Release:
7166    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7167    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
7168  Current Release:
7169    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7170    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
7171
7172----------------------------------------
717327 April 2004.  Summary of changes for version 20040427:
7174
71751) ACPI CA Core Subsystem:
7176
7177Completed a major overhaul of the GPE handling within ACPI CA.  There are 
7178now three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
7179The only GPEs allowed to be combination wake/run are for button-style 
7180devices such as a control-method power button, control-method sleep button, 
7181or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
7182referenced by any _PRW methods are marked for "runtime" and hardware 
7183enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
7184(and disabled at runtime).  However, at sleep time, only those GPEs that 
7185have been specifically enabled for wake via the AcpiEnableGpe interface will 
7186actually be hardware enabled.
7187
7188A new external interface has been added, AcpiSetGpeType(), that is meant to 
7189be used by device drivers to force a GPE to a particular type.  It will be 
7190especially useful for the drivers for the button devices mentioned above.
7191
7192Completed restructuring of the ACPI CA initialization sequence so that 
7193default operation region handlers are installed before GPEs are initialized 
7194and the _PRW methods are executed.  This will prevent errors when the _PRW 
7195methods attempt to access system memory or I/O space.
7196
7197GPE enable/disable no longer reads the GPE enable register.  We now keep the 
7198enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
7199thus no longer depend on the hardware to maintain these bits.
7200
7201Always clear the wake status and fixed/GPE status bits before sleep, even 
7202for state S5.
7203
7204Improved the AML debugger output for displaying the GPE blocks and their 
7205current status.
7206
7207Added new strings for the _OSI method, of the form "Windows 2001 SPx" where 
7208x = 0,1,2,3,4.
7209
7210Fixed a problem where the physical address was incorrectly calculated when 
7211the Load() operator was used to directly load from an Operation Region (vs. 
7212loading from a Field object.)  Also added check for minimum table length for 
7213this case.
7214
7215Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
7216mutex release.
7217
7218Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
7219consistency with the other fields returned.
7220
7221Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
7222structure for each GPE in the system, so the size of this structure is 
7223important.
7224
7225CPU stack requirement reduction:  Cleaned up the method execution and object 
7226evaluation paths so that now a parameter structure is passed, instead of 
7227copying the various method parameters over and over again.
7228
7229In evregion.c:  Correctly exit and reenter the interpreter region if and 
7230only if dispatching an operation region request to a user-installed handler.  
7231Do not exit/reenter when dispatching to a default handler (e.g., default 
7232system memory or I/O handlers)
7233
7234
7235Notes for updating drivers for the new GPE support.  The following changes 
7236must be made to ACPI-related device drivers that are attached to one or more 
7237GPEs: (This information will be added to the ACPI CA Programmer Reference.)
7238
72391) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
7240explicitly call AcpiEnableGpe.
72412) There is a new interface called AcpiSetGpeType. This should be called 
7242before enabling the GPE.  Also, this interface will automatically disable 
7243the GPE if it is currently enabled.
72443) AcpiEnableGpe no longer supports a GPE type flag.
7245
7246Specific drivers that must be changed:
72471) EC driver:
7248    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
7249AeGpeHandler, NULL);
7250    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
7251    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
7252
72532) Button Drivers (Power, Lid, Sleep):
7254Run _PRW method under parent device
7255If _PRW exists: /* This is a control-method button */
7256    Extract GPE number and possibly GpeDevice
7257    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
7258    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
7259
7260For all other devices that have _PRWs, we automatically set the GPE type to 
7261ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
7262must be done on a selective basis, usually requiring some kind of user app 
7263to allow the user to pick the wake devices.
7264
7265
7266Code and Data Size: Current and previous core subsystem library sizes are 
7267shown below.  These are the code and data sizes for the acpica.lib produced 
7268by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7269any ACPI driver or OSPM code.  The debug version of the code includes the 
7270debug output trace mechanism and has a much larger code and data size.  Note 
7271that these values will vary depending on the efficiency of the compiler and 
7272the compiler options used during generation.
7273
7274  Previous Release:
7275    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
7276    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
7277  Current Release:
7278
7279    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
7280    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
7281
7282
7283
7284----------------------------------------
728502 April 2004.  Summary of changes for version 20040402:
7286
72871) ACPI CA Core Subsystem:
7288
7289Fixed an interpreter problem where an indirect store through an ArgX 
7290parameter was incorrectly applying the "implicit conversion rules" during 
7291the store.  From the ACPI specification: "If the target is a method local or 
7292argument (LocalX or ArgX), no conversion is performed and the result is 
7293stored directly to the target".  The new behavior is to disable implicit 
7294conversion during ALL stores to an ArgX.
7295
7296Changed the behavior of the _PRW method scan to ignore any and all errors 
7297returned by a given _PRW.  This prevents the scan from aborting from the 
7298failure of any single _PRW.
7299
7300Moved the runtime configuration parameters from the global init procedure to 
7301static variables in acglobal.h.  This will allow the host to override the 
7302default values easily.
7303
7304Code and Data Size: Current and previous core subsystem library sizes are 
7305shown below.  These are the code and data sizes for the acpica.lib produced 
7306by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7307any ACPI driver or OSPM code.  The debug version of the code includes the 
7308debug output trace mechanism and has a much larger code and data size.  Note 
7309that these values will vary depending on the efficiency of the compiler and 
7310the compiler options used during generation.
7311
7312  Previous Release:
7313    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
7314    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
7315  Current Release:
7316    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
7317    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
7318
7319
73202) iASL Compiler/Disassembler:
7321
7322iASL now fully disassembles SSDTs.  However, External() statements are not 
7323generated automatically for unresolved symbols at this time.  This is a 
7324planned feature for future implementation.
7325
7326Fixed a scoping problem in the disassembler that occurs when the type of the 
7327target of a Scope() operator is overridden.  This problem caused an 
7328incorrectly nested internal namespace to be constructed.
7329
7330Any warnings or errors that are emitted during disassembly are now commented 
7331out automatically so that the resulting file can be recompiled without any 
7332hand editing.
7333
7334----------------------------------------
733526 March 2004.  Summary of changes for version 20040326:
7336
73371) ACPI CA Core Subsystem:
7338
7339Implemented support for "wake" GPEs via interaction between GPEs and the 
7340_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
7341identified as a WAKE GPE and by default will no longer be enabled at 
7342runtime.  Previously, we were blindly enabling all GPEs with a corresponding 
7343_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
7344believe this has been the cause of thousands of "spurious" GPEs on some 
7345systems.
7346
7347This new GPE behavior is can be reverted to the original behavior (enable 
7348ALL GPEs at runtime) via a runtime flag.
7349
7350Fixed a problem where aliased control methods could not access objects 
7351properly.  The proper scope within the namespace was not initialized 
7352(transferred to the target of the aliased method) before executing the 
7353target method.
7354
7355Fixed a potential race condition on internal object deletion on the return 
7356object in AcpiEvaluateObject. 
7357
7358Integrated a fix for resource descriptors where both _MEM and _MTP were 
7359being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
7360wide, 0x0F instead of 0x03.)
7361
7362Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
7363fault in some cases.
7364
7365Updated Notify() values for debug statements in evmisc.c
7366
7367Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
7368
7369Code and Data Size: Current and previous core subsystem library sizes are 
7370shown below.  These are the code and data sizes for the acpica.lib produced 
7371by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7372any ACPI driver or OSPM code.  The debug version of the code includes the 
7373debug output trace mechanism and has a much larger code and data size.  Note 
7374that these values will vary depending on the efficiency of the compiler and 
7375the compiler options used during generation.
7376
7377  Previous Release:
7378
7379    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
7380    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
7381  Current Release:
7382    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
7383    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
7384
7385----------------------------------------
738611 March 2004.  Summary of changes for version 20040311:
7387
73881) ACPI CA Core Subsystem:
7389
7390Fixed a problem where errors occurring during the parse phase of control 
7391method execution did not abort cleanly.  For example, objects created and 
7392installed in the namespace were not deleted.  This caused all subsequent 
7393invocations of the method to return the AE_ALREADY_EXISTS exception.
7394
7395Implemented a mechanism to force a control method to "Serialized" execution 
7396if the method attempts to create namespace objects. (The root of the 
7397AE_ALREADY_EXISTS problem.)
7398
7399Implemented support for the predefined _OSI "internal" control method.  
7400Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
7401"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
7402This feature will allow "other" operating systems to execute the fully 
7403tested, "Windows" code path through the ASL code
7404
7405Global Lock Support:  Now allows multiple acquires and releases with any 
7406internal thread.  Removed concept of "owning thread" for this special mutex.
7407
7408Fixed two functions that were inappropriately declaring large objects on the 
7409CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
7410method execution considerably.
7411
7412Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
7413S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
7414
7415Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
7416defined on the machine.
7417
7418Implemented two runtime options:  One to force all control method execution 
7419to "Serialized" to mimic Windows behavior, another to disable _OSI support 
7420if it causes problems on a given machine.
7421
7422Code and Data Size: Current and previous core subsystem library sizes are 
7423shown below.  These are the code and data sizes for the acpica.lib produced 
7424by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7425any ACPI driver or OSPM code.  The debug version of the code includes the 
7426debug output trace mechanism and has a much larger code and data size.  Note 
7427that these values will vary depending on the efficiency of the compiler and 
7428the compiler options used during generation.
7429
7430  Previous Release:
7431    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7432    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7433  Current Release:
7434    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
7435    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
7436
74372) iASL Compiler/Disassembler:
7438
7439Fixed an array size problem for FreeBSD that would cause the compiler to 
7440fault.
7441
7442----------------------------------------
744320 February 2004.  Summary of changes for version 20040220:
7444
7445
74461) ACPI CA Core Subsystem:
7447
7448Implemented execution of _SxD methods for Device objects in the 
7449GetObjectInfo interface.
7450
7451Fixed calls to _SST method to pass the correct arguments.
7452
7453Added a call to _SST on wake to restore to "working" state.
7454
7455Check for End-Of-Buffer failure case in the WalkResources interface.
7456
7457Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
7458structures to the beginning of the file.
7459
7460After wake, clear GPE status register(s) before enabling GPEs.
7461
7462After wake, clear/enable power button.  (Perhaps we should clear/enable all 
7463fixed events upon wake.)
7464
7465Fixed a couple of possible memory leaks in the Namespace manager.
7466
7467Integrated latest acnetbsd.h file.
7468
7469----------------------------------------
747011 February 2004.  Summary of changes for version 20040211:
7471
7472
74731) ACPI CA Core Subsystem:
7474
7475Completed investigation and implementation of the call-by-reference 
7476mechanism for control method arguments.
7477
7478Fixed a problem where a store of an object into an indexed package could 
7479fail if the store occurs within a different method than the method that 
7480created the package.
7481
7482Fixed a problem where the ToDecimal operator could return incorrect results.
7483
7484Fixed a problem where the CopyObject operator could fail on some of the more 
7485obscure objects (e.g., Reference objects.)
7486
7487Improved the output of the Debug object to display buffer, package, and 
7488index objects.
7489
7490Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
7491the expected result.
7492
7493Added permanent ACPI_REPORT_ERROR macros for all instances of the 
7494ACPI_AML_INTERNAL exception.
7495
7496Integrated latest version of acfreebsd.h
7497
7498----------------------------------------
749916 January 2004.  Summary of changes for version 20040116:
7500
7501The purpose of this release is primarily to update the copyright years in 
7502each module, thus causing a huge number of diffs.  There are a few small 
7503functional changes, however.
7504
75051) ACPI CA Core Subsystem:
7506
7507Improved error messages when there is a problem finding one or more of the 
7508required base ACPI tables
7509
7510Reintroduced the definition of APIC_HEADER in actbl.h
7511
7512Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
7513
7514Removed extraneous reference to NewObj in dsmthdat.c
7515
75162) iASL compiler
7517
7518Fixed a problem introduced in December that disabled the correct disassembly 
7519of Resource Templates
7520
7521
7522----------------------------------------
752303 December 2003.  Summary of changes for version 20031203:
7524
75251) ACPI CA Core Subsystem:
7526
7527Changed the initialization of Operation Regions during subsystem
7528init to perform two entire walks of the ACPI namespace; The first
7529to initialize the regions themselves, the second to execute the
7530_REG methods.  This fixed some interdependencies across _REG
7531methods found on some machines.
7532
7533Fixed a problem where a Store(Local0, Local1) could simply update
7534the object reference count, and not create a new copy of the
7535object if the Local1 is uninitialized.
7536
7537Implemented support for the _SST reserved method during sleep
7538transitions.
7539
7540Implemented support to clear the SLP_TYP and SLP_EN bits when
7541waking up, this is apparently required by some machines.
7542
7543When sleeping, clear the wake status only if SleepState is not S5.
7544
7545Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
7546pointer arithmetic advanced a string pointer too far.
7547
7548Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
7549could be returned if the requested table has not been loaded.
7550
7551Within the support for IRQ resources, restructured the handling of
7552the active and edge/level bits.
7553
7554Fixed a few problems in AcpiPsxExecute() where memory could be
7555leaked under certain error conditions.
7556
7557Improved error messages for the cases where the ACPI mode could
7558not be entered.
7559
7560Code and Data Size: Current and previous core subsystem library
7561sizes are shown below.  These are the code and data sizes for the
7562acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7563these values do not include any ACPI driver or OSPM code.  The
7564debug version of the code includes the debug output trace
7565mechanism and has a much larger code and data size.  Note that
7566these values will vary depending on the efficiency of the compiler
7567and the compiler options used during generation.
7568
7569  Previous Release (20031029):
7570    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7571    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7572  Current Release:
7573    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
7574    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
7575
75762) iASL Compiler/Disassembler:
7577
7578Implemented a fix for the iASL disassembler where a bad index was
7579generated.  This was most noticeable on 64-bit platforms
7580
7581
7582----------------------------------------
758329 October 2003.  Summary of changes for version 20031029:
7584
75851) ACPI CA Core Subsystem:
7586
7587
7588Fixed a problem where a level-triggered GPE with an associated
7589_Lxx control method was incorrectly cleared twice.
7590
7591Fixed a problem with the Field support code where an access can
7592occur beyond the end-of-region if the field is non-aligned but
7593extends to the very end of the parent region (resulted in an
7594AE_AML_REGION_LIMIT exception.)
7595
7596Fixed a problem with ACPI Fixed Events where an RT Clock handler
7597would not get invoked on an RTC event.  The RTC event bitmasks for
7598the PM1 registers were not being initialized properly.
7599
7600Implemented support for executing _STA and _INI methods for
7601Processor objects.  Although this is currently not part of the
7602ACPI specification, there is existing ASL code that depends on the
7603init-time execution of these methods.
7604
7605Implemented and deployed a GetDescriptorName function to decode
7606the various types of internal descriptors.  Guards against null
7607descriptors during debug output also.
7608
7609Implemented and deployed a GetNodeName function to extract the 4-
7610character namespace node name.  This function simplifies the debug
7611and error output, as well as guarding against null pointers during
7612output.
7613
7614Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
7615simplify the debug and error output of 64-bit integers.  This
7616macro replaces the HIDWORD and LODWORD macros for dumping these
7617integers.
7618
7619Updated the implementation of the Stall() operator to only call
7620AcpiOsStall(), and also return an error if the operand is larger
7621than 255.  This preserves the required behavior of not
7622relinquishing the processor, as would happen if AcpiOsSleep() was
7623called for "long stalls".
7624
7625Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
7626initialized are now treated as NOOPs.
7627
7628Cleaned up a handful of warnings during 64-bit generation.
7629
7630Fixed a reported error where and incorrect GPE number was passed
7631to the GPE dispatch handler.  This value is only used for error
7632output, however.  Used this opportunity to clean up and streamline
7633the GPE dispatch code.
7634
7635Code and Data Size: Current and previous core subsystem library
7636sizes are shown below.  These are the code and data sizes for the
7637acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7638these values do not include any ACPI driver or OSPM code.  The
7639
7640debug version of the code includes the debug output trace
7641mechanism and has a much larger code and data size.  Note that
7642these values will vary depending on the efficiency of the compiler
7643and the compiler options used during generation.
7644
7645  Previous Release (20031002):
7646    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7647    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7648  Current Release:
7649    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7650    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7651
7652
76532) iASL Compiler/Disassembler:
7654
7655Updated the iASL compiler to return an error if the operand to the
7656Stall() operator is larger than 255.
7657
7658
7659----------------------------------------
766002 October 2003.  Summary of changes for version 20031002:
7661
7662
76631) ACPI CA Core Subsystem:
7664
7665Fixed a problem with Index Fields where the index was not
7666incremented for fields that require multiple writes to the
7667index/data registers (Fields that are wider than the data
7668register.)
7669
7670Fixed a problem with all Field objects where a write could go
7671beyond the end-of-field if the field was larger than the access
7672granularity and therefore required multiple writes to complete the
7673request.  An extra write beyond the end of the field could happen
7674inadvertently.
7675
7676Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
7677would incorrectly be returned if the width of the Data Register
7678was larger than the specified field access width.
7679
7680Completed fixes for LoadTable() and Unload() and verified their
7681operation.  Implemented full support for the "DdbHandle" object
7682throughout the ACPI CA subsystem.
7683
7684Implemented full support for the MADT and ECDT tables in the ACPI
7685CA header files.  Even though these tables are not directly
7686consumed by ACPI CA, the header definitions are useful for ACPI
7687device drivers.
7688
7689Integrated resource descriptor fixes posted to the Linux ACPI
7690list.  This included checks for minimum descriptor length, and
7691support for trailing NULL strings within descriptors that have
7692optional string elements.
7693
7694Code and Data Size: Current and previous core subsystem library
7695sizes are shown below.  These are the code and data sizes for the
7696acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7697these values do not include any ACPI driver or OSPM code.  The
7698debug version of the code includes the debug output trace
7699mechanism and has a much larger code and data size.  Note that
7700these values will vary depending on the efficiency of the compiler
7701and the compiler options used during generation.
7702
7703  Previous Release (20030918):
7704    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7705    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7706  Current Release:
7707    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7708    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7709
7710
77112) iASL Compiler:
7712
7713Implemented detection of non-ASCII characters within the input
7714source ASL file.  This catches attempts to compile binary (AML)
7715files early in the compile, with an informative error message.
7716
7717Fixed a problem where the disassembler would fault if the output
7718filename could not be generated or if the output file could not be
7719opened.
7720
7721----------------------------------------
772218 September 2003.  Summary of changes for version 20030918:
7723
7724
77251) ACPI CA Core Subsystem:
7726
7727Found and fixed a longstanding problem with the late execution of
7728the various deferred AML opcodes (such as Operation Regions,
7729Buffer Fields, Buffers, and Packages).  If the name string
7730specified for the name of the new object placed the object in a
7731scope other than the current scope, the initialization/execution
7732of the opcode failed.  The solution to this problem was to
7733implement a mechanism where the late execution of such opcodes
7734does not attempt to lookup/create the name a second time in an
7735incorrect scope.  This fixes the "region size computed
7736incorrectly" problem.
7737
7738Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
7739Global Lock AE_BAD_PARAMETER error.
7740
7741Fixed several 64-bit issues with prototypes, casting and data
7742types.
7743
7744Removed duplicate prototype from acdisasm.h
7745
7746Fixed an issue involving EC Operation Region Detach (Shaohua Li)
7747
7748Code and Data Size: Current and previous core subsystem library
7749sizes are shown below.  These are the code and data sizes for the
7750acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7751these values do not include any ACPI driver or OSPM code.  The
7752debug version of the code includes the debug output trace
7753mechanism and has a much larger code and data size.  Note that
7754these values will vary depending on the efficiency of the compiler
7755and the compiler options used during generation.
7756
7757  Previous Release:
7758
7759    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7760    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7761  Current Release:
7762    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7763    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7764
7765
77662) Linux:
7767
7768Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
7769correct sleep time in seconds.
7770
7771----------------------------------------
777214 July 2003.  Summary of changes for version 20030619:
7773
77741) ACPI CA Core Subsystem:
7775
7776Parse SSDTs in order discovered, as opposed to reverse order
7777(Hrvoje Habjanic)
7778
7779Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
7780Klausner,
7781   Nate Lawson)
7782
7783
77842) Linux:
7785
7786Dynamically allocate SDT list (suggested by Andi Kleen)
7787
7788proc function return value cleanups (Andi Kleen)
7789
7790Correctly handle NMI watchdog during long stalls (Andrew Morton)
7791
7792Make it so acpismp=force works (reported by Andrew Morton)
7793
7794
7795----------------------------------------
779619 June 2003.  Summary of changes for version 20030619:
7797
77981) ACPI CA Core Subsystem:
7799
7800Fix To/FromBCD, eliminating the need for an arch-specific #define.
7801
7802Do not acquire a semaphore in the S5 shutdown path.
7803
7804Fix ex_digits_needed for 0. (Takayoshi Kochi)
7805
7806Fix sleep/stall code reversal. (Andi Kleen)
7807
7808Revert a change having to do with control method calling
7809semantics.
7810
78112) Linux:
7812
7813acpiphp update (Takayoshi Kochi)
7814
7815Export acpi_disabled for sonypi (Stelian Pop)
7816
7817Mention acpismp=force in config help
7818
7819Re-add acpitable.c and acpismp=force. This improves backwards
7820
7821compatibility and also cleans up the code to a significant degree.
7822
7823Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
7824
7825----------------------------------------
782622 May 2003.  Summary of changes for version 20030522:
7827
78281) ACPI CA Core Subsystem:
7829
7830Found and fixed a reported problem where an AE_NOT_FOUND error
7831occurred occasionally during _BST evaluation.  This turned out to
7832be an Owner ID allocation issue where a called method did not get
7833a new ID assigned to it.  Eventually, (after 64k calls), the Owner
7834ID UINT16 would wraparound so that the ID would be the same as the
7835caller's and the called method would delete the caller's
7836namespace.
7837
7838Implemented extended error reporting for control methods that are
7839aborted due to a run-time exception.  Output includes the exact
7840AML instruction that caused the method abort, a dump of the method
7841locals and arguments at the time of the abort, and a trace of all
7842nested control method calls.
7843
7844Modified the interpreter to allow the creation of buffers of zero
7845length from the AML code. Implemented new code to ensure that no
7846attempt is made to actually allocate a memory buffer (of length
7847zero) - instead, a simple buffer object with a NULL buffer pointer
7848and length zero is created.  A warning is no longer issued when
7849the AML attempts to create a zero-length buffer.
7850
7851Implemented a workaround for the "leading asterisk issue" in
7852_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
7853asterisk is automatically removed if present in any HID, UID, or
7854CID strings.  The iASL compiler will still flag this asterisk as
7855an error, however.
7856
7857Implemented full support for _CID methods that return a package of
7858multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
7859now additionally returns a device _CID list if present.  This
7860required a change to the external interface in order to pass an
7861ACPI_BUFFER object as a parameter since the _CID list is of
7862variable length.
7863
7864Fixed a problem with the new AE_SAME_HANDLER exception where
7865handler initialization code did not know about this exception.
7866
7867Code and Data Size: Current and previous core subsystem library
7868sizes are shown below.  These are the code and data sizes for the
7869acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7870these values do not include any ACPI driver or OSPM code.  The
7871debug version of the code includes the debug output trace
7872mechanism and has a much larger code and data size.  Note that
7873these values will vary depending on the efficiency of the compiler
7874and the compiler options used during generation.
7875
7876  Previous Release (20030509):
7877    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7878    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7879  Current Release:
7880    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7881    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7882
7883
78842) Linux:
7885
7886Fixed a bug in which we would reinitialize the ACPI interrupt
7887after it was already working, thus disabling all ACPI and the IRQs
7888for any other device sharing the interrupt. (Thanks to Stian
7889Jordet)
7890
7891Toshiba driver update (John Belmonte)
7892
7893Return only 0 or 1 for our interrupt handler status (Andrew
7894Morton)
7895
7896
78973) iASL Compiler:
7898
7899Fixed a reported problem where multiple (nested) ElseIf()
7900statements were not handled correctly by the compiler, resulting
7901in incorrect warnings and incorrect AML code.  This was a problem
7902in both the ASL parser and the code generator.
7903
7904
79054) Documentation:
7906
7907Added changes to existing interfaces, new exception codes, and new
7908text concerning reference count object management versus garbage
7909collection.
7910
7911----------------------------------------
791209 May 2003.  Summary of changes for version 20030509.
7913
7914
79151) ACPI CA Core Subsystem:
7916
7917Changed the subsystem initialization sequence to hold off
7918installation of address space handlers until the hardware has been
7919initialized and the system has entered ACPI mode.  This is because
7920the installation of space handlers can cause _REG methods to be
7921run.  Previously, the _REG methods could potentially be run before
7922ACPI mode was enabled.
7923
7924Fixed some memory leak issues related to address space handler and
7925notify handler installation.  There were some problems with the
7926reference count mechanism caused by the fact that the handler
7927objects are shared across several namespace objects.
7928
7929Fixed a reported problem where reference counts within the
7930namespace were not properly updated when named objects created by
7931method execution were deleted.
7932
7933Fixed a reported problem where multiple SSDTs caused a deletion
7934issue during subsystem termination.  Restructured the table data
7935structures to simplify the linked lists and the related code.
7936
7937Fixed a problem where the table ID associated with secondary
7938tables (SSDTs) was not being propagated into the namespace objects
7939created by those tables.  This would only present a problem for
7940tables that are unloaded at run-time, however.
7941
7942Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7943type as the length parameter (instead of UINT32).
7944
7945Solved a long-standing problem where an ALREADY_EXISTS error
7946appears on various systems.  This problem could happen when there
7947are multiple PCI_Config operation regions under a single PCI root
7948bus.  This doesn't happen very frequently, but there are some
7949systems that do this in the ASL.
7950
7951Fixed a reported problem where the internal DeleteNode function
7952was incorrectly handling the case where a namespace node was the
7953first in the parent's child list, and had additional peers (not
7954the only child, but first in the list of children.)
7955
7956Code and Data Size: Current core subsystem library sizes are shown
7957below.  These are the code and data sizes for the acpica.lib
7958produced by the Microsoft Visual C++ 6.0 compiler, and these
7959values do not include any ACPI driver or OSPM code.  The debug
7960version of the code includes the debug output trace mechanism and
7961has a much larger code and data size.  Note that these values will
7962vary depending on the efficiency of the compiler and the compiler
7963options used during generation.
7964
7965  Previous Release
7966    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7967    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7968  Current Release:
7969    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7970    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7971
7972
79732) Linux:
7974
7975Allow ":" in OS override string (Ducrot Bruno)
7976
7977Kobject fix (Greg KH)
7978
7979
79803 iASL Compiler/Disassembler:
7981
7982Fixed a problem in the generation of the C source code files (AML
7983is emitted in C source statements for BIOS inclusion) where the
7984Ascii dump that appears within a C comment at the end of each line
7985could cause a compile time error if the AML sequence happens to
7986have an open comment or close comment sequence embedded.
7987
7988
7989----------------------------------------
799024 April 2003.  Summary of changes for version 20030424.
7991
7992
79931) ACPI CA Core Subsystem:
7994
7995Support for big-endian systems has been implemented.  Most of the
7996support has been invisibly added behind big-endian versions of the
7997ACPI_MOVE_* macros.
7998
7999Fixed a problem in AcpiHwDisableGpeBlock() and
8000AcpiHwClearGpeBlock() where an incorrect offset was passed to the
8001low level hardware write routine.  The offset parameter was
8002actually eliminated from the low level read/write routines because
8003they had become obsolete.
8004
8005Fixed a problem where a handler object was deleted twice during
8006the removal of a fixed event handler.
8007
8008
80092) Linux:
8010
8011A fix for SMP systems with link devices was contributed by
8012
8013Compaq's Dan Zink.
8014
8015(2.5) Return whether we handled the interrupt in our IRQ handler.
8016(Linux ISRs no longer return void, so we can propagate the handler
8017return value from the ACPI CA core back to the OS.)
8018
8019
8020
80213) Documentation:
8022
8023The ACPI CA Programmer Reference has been updated to reflect new
8024interfaces and changes to existing interfaces.
8025
8026----------------------------------------
802728 March 2003.  Summary of changes for version 20030328.
8028
80291) ACPI CA Core Subsystem:
8030
8031The GPE Block Device support has been completed.  New interfaces
8032are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
8033interfaces (enable, disable, clear, getstatus) have been split
8034into separate interfaces for Fixed Events and General Purpose
8035Events (GPEs) in order to support GPE Block Devices properly.
8036
8037Fixed a problem where the error message "Failed to acquire
8038semaphore" would appear during operations on the embedded
8039controller (EC).
8040
8041Code and Data Size: Current core subsystem library sizes are shown
8042below.  These are the code and data sizes for the acpica.lib
8043produced by the Microsoft Visual C++ 6.0 compiler, and these
8044values do not include any ACPI driver or OSPM code.  The debug
8045version of the code includes the debug output trace mechanism and
8046has a much larger code and data size.  Note that these values will
8047vary depending on the efficiency of the compiler and the compiler
8048options used during generation.
8049
8050  Previous Release
8051    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
8052    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
8053  Current Release:
8054    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
8055    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
8056
8057
8058----------------------------------------
805928 February 2003.  Summary of changes for version 20030228.
8060
8061
80621) ACPI CA Core Subsystem:
8063
8064The GPE handling and dispatch code has been completely overhauled
8065in preparation for support of GPE Block Devices (ID ACPI0006).
8066This affects internal data structures and code only; there should
8067be no differences visible externally.  One new file has been
8068added, evgpeblk.c
8069
8070The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
8071fields that are used to determine the GPE block lengths.  The
8072REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
8073structures are ignored.  This is per the ACPI specification but it
8074isn't very clear.  The full 256 Block 0/1 GPEs are now supported
8075(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
8076
8077In the SCI interrupt handler, removed the read of the PM1_CONTROL
8078register to look at the SCI_EN bit.  On some machines, this read
8079causes an SMI event and greatly slows down SCI events.  (This may
8080in fact be the cause of slow battery status response on some
8081systems.)
8082
8083Fixed a problem where a store of a NULL string to a package object
8084could cause the premature deletion of the object.  This was seen
8085during execution of the battery _BIF method on some systems,
8086resulting in no battery data being returned.
8087
8088Added AcpiWalkResources interface to simplify parsing of resource
8089lists.
8090
8091Code and Data Size: Current core subsystem library sizes are shown
8092below.  These are the code and data sizes for the acpica.lib
8093produced by the Microsoft Visual C++ 6.0 compiler, and these
8094values do not include any ACPI driver or OSPM code.  The debug
8095version of the code includes the debug output trace mechanism and
8096has a much larger code and data size.  Note that these values will
8097vary depending on the efficiency of the compiler and the compiler
8098options used during generation.
8099
8100  Previous Release
8101    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8102    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8103  Current Release:
8104    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
8105    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
8106
8107
81082) Linux
8109
8110S3 fixes (Ole Rohne)
8111
8112Update ACPI PHP driver with to use new acpi_walk_resource API
8113(Bjorn Helgaas)
8114
8115Add S4BIOS support (Pavel Machek)
8116
8117Map in entire table before performing checksum (John Stultz)
8118
8119Expand the mem= cmdline to allow the specification of reserved and
8120ACPI DATA blocks (Pavel Machek)
8121
8122Never use ACPI on VISWS
8123
8124Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
8125
8126Revert a change that allowed P_BLK lengths to be 4 or 5. This is
8127causing us to think that some systems support C2 when they really
8128don't.
8129
8130Do not count processor objects for non-present CPUs (Thanks to
8131Dominik Brodowski)
8132
8133
81343) iASL Compiler:
8135
8136Fixed a problem where ASL include files could not be found and
8137opened.
8138
8139Added support for the _PDC reserved name.
8140
8141
8142----------------------------------------
814322 January 2003.  Summary of changes for version 20030122.
8144
8145
81461) ACPI CA Core Subsystem:
8147
8148Added a check for constructs of the form:  Store (Local0, Local0)
8149where Local0 is not initialized.  Apparently, some BIOS
8150programmers believe that this is a NOOP.  Since this store doesn't
8151do anything anyway, the new prototype behavior will ignore this
8152error.  This is a case where we can relax the strict checking in
8153the interpreter in the name of compatibility.
8154
8155
81562) Linux
8157
8158The AcpiSrc Source Conversion Utility has been released with the
8159Linux package for the first time.  This is the utility that is
8160used to convert the ACPI CA base source code to the Linux version.
8161
8162(Both) Handle P_BLK lengths shorter than 6 more gracefully
8163
8164(Both) Move more headers to include/acpi, and delete an unused
8165header.
8166
8167(Both) Move drivers/acpi/include directory to include/acpi
8168
8169(Both) Boot functions don't use cmdline, so don't pass it around
8170
8171(Both) Remove include of unused header (Adrian Bunk)
8172
8173(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
8174the
8175former now also includes the latter, acpiphp.h only needs the one,
8176now.
8177
8178(2.5) Make it possible to select method of bios restoring after S3
8179resume. [=> no more ugly ifdefs] (Pavel Machek)
8180
8181(2.5) Make proc write interfaces work (Pavel Machek)
8182
8183(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
8184
8185(2.5) Break out ACPI Perf code into its own module, under cpufreq
8186(Dominik Brodowski)
8187
8188(2.4) S4BIOS support (Ducrot Bruno)
8189
8190(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
8191Visinoni)
8192
8193
81943) iASL Compiler:
8195
8196Added support to disassemble SSDT and PSDTs.
8197
8198Implemented support to obtain SSDTs from the Windows registry if
8199available.
8200
8201
8202----------------------------------------
820309 January 2003.  Summary of changes for version 20030109.
8204
82051) ACPI CA Core Subsystem:
8206
8207Changed the behavior of the internal Buffer-to-String conversion
8208function.  The current ACPI specification states that the contents
8209of the buffer are "converted to a string of two-character
8210hexadecimal numbers, each separated by a space".  Unfortunately,
8211this definition is not backwards compatible with existing ACPI 1.0
8212implementations (although the behavior was not defined in the ACPI
82131.0 specification).  The new behavior simply copies data from the
8214buffer to the string until a null character is found or the end of
8215the buffer is reached.  The new String object is always null
8216terminated.  This problem was seen during the generation of _BIF
8217battery data where incorrect strings were returned for battery
8218type, etc.  This will also require an errata to the ACPI
8219specification.
8220
8221Renamed all instances of NATIVE_UINT and NATIVE_INT to
8222ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
8223
8224Copyright in all module headers (both Linux and non-Linux) has be
8225updated to 2003.
8226
8227Code and Data Size: Current core subsystem library sizes are shown
8228below.  These are the code and data sizes for the acpica.lib
8229produced by the Microsoft Visual C++ 6.0 compiler, and these
8230values do not include any ACPI driver or OSPM code.  The debug
8231version of the code includes the debug output trace mechanism and
8232has a much larger code and data size.  Note that these values will
8233vary depending on the efficiency of the compiler and the compiler
8234options used during generation.
8235
8236  Previous Release
8237    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8238    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8239  Current Release:
8240    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8241    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8242
8243
82442) Linux
8245
8246Fixed an oops on module insertion/removal (Matthew Tippett)
8247
8248(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
8249
8250(2.5) Replace pr_debug (Randy Dunlap)
8251
8252(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
8253
8254(Both) Eliminate spawning of thread from timer callback, in favor
8255of schedule_work()
8256
8257(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
8258
8259(Both) Added define for Fixed Function HW region (Matthew Wilcox)
8260
8261(Both) Add missing statics to button.c (Pavel Machek)
8262
8263Several changes have been made to the source code translation
8264utility that generates the Linux Code in order to make the code
8265more "Linux-like":
8266
8267All typedefs on structs and unions have been removed in keeping
8268with the Linux coding style.
8269
8270Removed the non-Linux SourceSafe module revision number from each
8271module header.
8272
8273Completed major overhaul of symbols to be lowercased for linux.
8274Doubled the number of symbols that are lowercased.
8275
8276Fixed a problem where identifiers within procedure headers and
8277within quotes were not fully lower cased (they were left with a
8278starting capital.)
8279
8280Some C macros whose only purpose is to allow the generation of 16-
8281bit code are now completely removed in the Linux code, increasing
8282readability and maintainability.
8283
8284----------------------------------------
8285
828612 December 2002.  Summary of changes for version 20021212.
8287
8288
82891) ACPI CA Core Subsystem:
8290
8291Fixed a problem where the creation of a zero-length AML Buffer
8292would cause a fault.
8293
8294Fixed a problem where a Buffer object that pointed to a static AML
8295buffer (in an ACPI table) could inadvertently be deleted, causing
8296memory corruption.
8297
8298Fixed a problem where a user buffer (passed in to the external
8299ACPI CA interfaces) could be overwritten if the buffer was too
8300small to complete the operation, causing memory corruption.
8301
8302Fixed a problem in the Buffer-to-String conversion code where a
8303string of length one was always returned, regardless of the size
8304of the input Buffer object.
8305
8306Removed the NATIVE_CHAR data type across the entire source due to
8307lack of need and lack of consistent use.
8308
8309Code and Data Size: Current core subsystem library sizes are shown
8310below.  These are the code and data sizes for the acpica.lib
8311produced by the Microsoft Visual C++ 6.0 compiler, and these
8312values do not include any ACPI driver or OSPM code.  The debug
8313version of the code includes the debug output trace mechanism and
8314has a much larger code and data size.  Note that these values will
8315vary depending on the efficiency of the compiler and the compiler
8316options used during generation.
8317
8318  Previous Release
8319    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
8320    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
8321  Current Release:
8322    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
8323    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
8324
8325
8326----------------------------------------
832705 December 2002.  Summary of changes for version 20021205.
8328
83291) ACPI CA Core Subsystem:
8330
8331Fixed a problem where a store to a String or Buffer object could
8332cause corruption of the DSDT if the object type being stored was
8333the same as the target object type and the length of the object
8334being stored was equal to or smaller than the original (existing)
8335target object.  This was seen to cause corruption of battery _BIF
8336buffers if the _BIF method modified the buffer on the fly.
8337
8338Fixed a problem where an internal error was generated if a control
8339method invocation was used in an OperationRegion, Buffer, or
8340Package declaration.  This was caused by the deferred parsing of
8341the control method and thus the deferred creation of the internal
8342method object.  The solution to this problem was to create the
8343internal method object at the moment the method is encountered in
8344the first pass - so that subsequent references to the method will
8345able to obtain the required parameter count and thus properly
8346parse the method invocation.  This problem presented itself as an
8347AE_AML_INTERNAL during the pass 1 parse phase during table load.
8348
8349Fixed a problem where the internal String object copy routine did
8350not always allocate sufficient memory for the target String object
8351and caused memory corruption.  This problem was seen to cause
8352"Allocation already present in list!" errors as memory allocation
8353became corrupted.
8354
8355Implemented a new function for the evaluation of namespace objects
8356that allows the specification of the allowable return object
8357types.  This simplifies a lot of code that checks for a return
8358object of one or more specific objects returned from the
8359evaluation (such as _STA, etc.)  This may become and external
8360function if it would be useful to ACPI-related drivers.
8361
8362Completed another round of prefixing #defines with "ACPI_" for
8363clarity.
8364
8365Completed additional code restructuring to allow more modular
8366linking for iASL compiler and AcpiExec.  Several files were split
8367creating new files.  New files:  nsparse.c dsinit.c evgpe.c
8368
8369Implemented an abort mechanism to terminate an executing control
8370method via the AML debugger.  This feature is useful for debugging
8371control methods that depend (wait) for specific hardware
8372responses.
8373
8374Code and Data Size: Current core subsystem library sizes are shown
8375below.  These are the code and data sizes for the acpica.lib
8376produced by the Microsoft Visual C++ 6.0 compiler, and these
8377values do not include any ACPI driver or OSPM code.  The debug
8378version of the code includes the debug output trace mechanism and
8379has a much larger code and data size.  Note that these values will
8380vary depending on the efficiency of the compiler and the compiler
8381options used during generation.
8382
8383  Previous Release
8384    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8385    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
8386  Current Release:
8387    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
8388    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
8389
8390
83912) iASL Compiler/Disassembler
8392
8393Fixed a compiler code generation problem for "Interrupt" Resource
8394Descriptors.  If specified in the ASL, the optional "Resource
8395Source Index" and "Resource Source" fields were not inserted into
8396the correct location within the AML resource descriptor, creating
8397an invalid descriptor.
8398
8399Fixed a disassembler problem for "Interrupt" resource descriptors.
8400The optional "Resource Source Index" and "Resource Source" fields
8401were ignored.
8402
8403
8404----------------------------------------
840522 November 2002.  Summary of changes for version 20021122.
8406
8407
84081) ACPI CA Core Subsystem:
8409
8410Fixed a reported problem where an object stored to a Method Local
8411or Arg was not copied to a new object during the store - the
8412object pointer was simply copied to the Local/Arg.  This caused
8413all subsequent operations on the Local/Arg to also affect the
8414original source of the store operation.
8415
8416Fixed a problem where a store operation to a Method Local or Arg
8417was not completed properly if the Local/Arg contained a reference
8418(from RefOf) to a named field.  The general-purpose store-to-
8419namespace-node code is now used so that this case is handled
8420automatically.
8421
8422Fixed a problem where the internal object copy routine would cause
8423a protection fault if the object being copied was a Package and
8424contained either 1) a NULL package element or 2) a nested sub-
8425package.
8426
8427Fixed a problem with the GPE initialization that resulted from an
8428ambiguity in the ACPI specification.  One section of the
8429specification states that both the address and length of the GPE
8430block must be zero if the block is not supported.  Another section
8431implies that only the address need be zero if the block is not
8432supported.  The code has been changed so that both the address and
8433the length must be non-zero to indicate a valid GPE block (i.e.,
8434if either the address or the length is zero, the GPE block is
8435invalid.)
8436
8437Code and Data Size: Current core subsystem library sizes are shown
8438below.  These are the code and data sizes for the acpica.lib
8439produced by the Microsoft Visual C++ 6.0 compiler, and these
8440values do not include any ACPI driver or OSPM code.  The debug
8441version of the code includes the debug output trace mechanism and
8442has a much larger code and data size.  Note that these values will
8443vary depending on the efficiency of the compiler and the compiler
8444options used during generation.
8445
8446  Previous Release
8447    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
8448    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
8449  Current Release:
8450    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8451    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
8452
8453
84542) Linux
8455
8456Cleaned up EC driver. Exported an external EC read/write
8457interface. By going through this, other drivers (most notably
8458sonypi) will be able to serialize access to the EC.
8459
8460
84613) iASL Compiler/Disassembler
8462
8463Implemented support to optionally generate include files for both
8464ASM and C (the -i switch).  This simplifies BIOS development by
8465automatically creating include files that contain external
8466declarations for the symbols that are created within the
8467
8468(optionally generated) ASM and C AML source files.
8469
8470
8471----------------------------------------
847215 November 2002.  Summary of changes for version 20021115.
8473
84741) ACPI CA Core Subsystem:
8475
8476Fixed a memory leak problem where an error during resolution of
8477
8478method arguments during a method invocation from another method
8479failed to cleanup properly by deleting all successfully resolved
8480argument objects.
8481
8482Fixed a problem where the target of the Index() operator was not
8483correctly constructed if the source object was a package.  This
8484problem has not been detected because the use of a target operand
8485with Index() is very rare.
8486
8487Fixed a problem with the Index() operator where an attempt was
8488made to delete the operand objects twice.
8489
8490Fixed a problem where an attempt was made to delete an operand
8491twice during execution of the CondRefOf() operator if the target
8492did not exist.
8493
8494Implemented the first of perhaps several internal create object
8495functions that create and initialize a specific object type.  This
8496consolidates duplicated code wherever the object is created, thus
8497shrinking the size of the subsystem.
8498
8499Implemented improved debug/error messages for errors that occur
8500during nested method invocations.  All executing method pathnames
8501are displayed (with the error) as the call stack is unwound - thus
8502simplifying debug.
8503
8504Fixed a problem introduced in the 10/02 release that caused
8505premature deletion of a buffer object if a buffer was used as an
8506ASL operand where an integer operand is required (Thus causing an
8507implicit object conversion from Buffer to Integer.)  The change in
8508the 10/02 release was attempting to fix a memory leak (albeit
8509incorrectly.)
8510
8511Code and Data Size: Current core subsystem library sizes are shown
8512below.  These are the code and data sizes for the acpica.lib
8513produced by the Microsoft Visual C++ 6.0 compiler, and these
8514values do not include any ACPI driver or OSPM code.  The debug
8515version of the code includes the debug output trace mechanism and
8516has a much larger code and data size.  Note that these values will
8517vary depending on the efficiency of the compiler and the compiler
8518options used during generation.
8519
8520  Previous Release
8521    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8522    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8523  Current Release:
8524    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
8525    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
8526
8527
85282) Linux
8529
8530Changed the implementation of the ACPI semaphores to use down()
8531instead of down_interruptable().  It is important that the
8532execution of ACPI control methods not be interrupted by signals.
8533Methods must run to completion, or the system may be left in an
8534unknown/unstable state.
8535
8536Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
8537(Shawn Starr)
8538
8539
85403) iASL Compiler/Disassembler
8541
8542
8543Changed the default location of output files.  All output files
8544are now placed in the current directory by default instead of in
8545the directory of the source file.  This change may affect some
8546existing makefiles, but it brings the behavior of the compiler in
8547line with other similar tools.  The location of the output files
8548can be overridden with the -p command line switch.
8549
8550
8551----------------------------------------
855211 November 2002.  Summary of changes for version 20021111.
8553
8554
85550) ACPI Specification 2.0B is released and is now available at:
8556http://www.acpi.info/index.html
8557
8558
85591) ACPI CA Core Subsystem:
8560
8561Implemented support for the ACPI 2.0 SMBus Operation Regions.
8562This includes the early detection and handoff of the request to
8563the SMBus region handler (avoiding all of the complex field
8564support code), and support for the bidirectional return packet
8565from an SMBus write operation.  This paves the way for the
8566development of SMBus drivers in each host operating system.
8567
8568Fixed a problem where the semaphore WAIT_FOREVER constant was
8569defined as 32 bits, but must be 16 bits according to the ACPI
8570specification.  This had the side effect of causing ASL
8571Mutex/Event timeouts even though the ASL code requested a wait
8572forever.  Changed all internal references to the ACPI timeout
8573parameter to 16 bits to prevent future problems.  Changed the name
8574of WAIT_FOREVER to ACPI_WAIT_FOREVER.
8575
8576Code and Data Size: Current core subsystem library sizes are shown
8577below.  These are the code and data sizes for the acpica.lib
8578produced by the Microsoft Visual C++ 6.0 compiler, and these
8579values do not include any ACPI driver or OSPM code.  The debug
8580version of the code includes the debug output trace mechanism and
8581has a much larger code and data size.  Note that these values will
8582vary depending on the efficiency of the compiler and the compiler
8583options used during generation.
8584
8585  Previous Release
8586    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8587    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8588  Current Release:
8589    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8590    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8591
8592
85932) Linux
8594
8595Module loading/unloading fixes (John Cagle)
8596
8597
85983) iASL Compiler/Disassembler
8599
8600Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
8601
8602Implemented support for the disassembly of all SMBus protocol
8603keywords (SMBQuick, SMBWord, etc.)
8604
8605----------------------------------------
860601 November 2002.  Summary of changes for version 20021101.
8607
8608
86091) ACPI CA Core Subsystem:
8610
8611Fixed a problem where platforms that have a GPE1 block but no GPE0
8612block were not handled correctly.  This resulted in a "GPE
8613overlap" error message.  GPE0 is no longer required.
8614
8615Removed code added in the previous release that inserted nodes
8616into the namespace in alphabetical order.  This caused some side-
8617effects on various machines.  The root cause of the problem is
8618still under investigation since in theory, the internal ordering
8619of the namespace nodes should not matter.
8620
8621
8622Enhanced error reporting for the case where a named object is not
8623found during control method execution.  The full ACPI namepath
8624(name reference) of the object that was not found is displayed in
8625this case.
8626
8627Note: as a result of the overhaul of the namespace object types in
8628the previous release, the namespace nodes for the predefined
8629scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
8630instead of ACPI_TYPE_ANY.  This simplifies the namespace
8631management code but may affect code that walks the namespace tree
8632looking for specific object types.
8633
8634Code and Data Size: Current core subsystem library sizes are shown
8635below.  These are the code and data sizes for the acpica.lib
8636produced by the Microsoft Visual C++ 6.0 compiler, and these
8637values do not include any ACPI driver or OSPM code.  The debug
8638version of the code includes the debug output trace mechanism and
8639has a much larger code and data size.  Note that these values will
8640vary depending on the efficiency of the compiler and the compiler
8641options used during generation.
8642
8643  Previous Release
8644    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8645    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8646  Current Release:
8647    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8648    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8649
8650
86512) Linux
8652
8653Fixed a problem introduced in the previous release where the
8654Processor and Thermal objects were not recognized and installed in
8655/proc.  This was related to the scope type change described above.
8656
8657
86583) iASL Compiler/Disassembler
8659
8660Implemented the -g option to get all of the required ACPI tables
8661from the registry and save them to files (Windows version of the
8662compiler only.)  The required tables are the FADT, FACS, and DSDT.
8663
8664Added ACPI table checksum validation during table disassembly in
8665order to catch corrupted tables.
8666
8667
8668----------------------------------------
866922 October 2002.  Summary of changes for version 20021022.
8670
86711) ACPI CA Core Subsystem:
8672
8673Implemented a restriction on the Scope operator that the target
8674must already exist in the namespace at the time the operator is
8675encountered (during table load or method execution).  In other
8676words, forward references are not allowed and Scope() cannot
8677create a new object. This changes the previous behavior where the
8678interpreter would create the name if not found.  This new behavior
8679correctly enables the search-to-root algorithm during namespace
8680lookup of the target name.  Because of this upsearch, this fixes
8681the known Compaq _SB_.OKEC problem and makes both the AML
8682interpreter and iASL compiler compatible with other ACPI
8683implementations.
8684
8685Completed a major overhaul of the internal ACPI object types for
8686the ACPI Namespace and the associated operand objects.  Many of
8687these types had become obsolete with the introduction of the two-
8688pass namespace load.  This cleanup simplifies the code and makes
8689the entire namespace load mechanism much clearer and easier to
8690understand.
8691
8692Improved debug output for tracking scope opening/closing to help
8693diagnose scoping issues.  The old scope name as well as the new
8694scope name are displayed.  Also improved error messages for
8695problems with ASL Mutex objects and error messages for GPE
8696problems.
8697
8698Cleaned up the namespace dump code, removed obsolete code.
8699
8700All string output (for all namespace/object dumps) now uses the
8701common ACPI string output procedure which handles escapes properly
8702and does not emit non-printable characters.
8703
8704Fixed some issues with constants in the 64-bit version of the
8705local C library (utclib.c)
8706
8707
87082) Linux
8709
8710EC Driver:  No longer attempts to acquire the Global Lock at
8711interrupt level.
8712
8713
87143) iASL Compiler/Disassembler
8715
8716Implemented ACPI 2.0B grammar change that disallows all Type 1 and
87172 opcodes outside of a control method.  This means that the
8718"executable" operators (versus the "namespace" operators) cannot
8719be used at the table level; they can only be used within a control
8720method.
8721
8722Implemented the restriction on the Scope() operator where the
8723target must already exist in the namespace at the time the
8724operator is encountered (during ASL compilation). In other words,
8725forward references are not allowed and Scope() cannot create a new
8726object.  This makes the iASL compiler compatible with other ACPI
8727implementations and makes the Scope() implementation adhere to the
8728ACPI specification.
8729
8730Fixed a problem where namepath optimization for the Alias operator
8731was optimizing the wrong path (of the two namepaths.)  This caused
8732a "Missing alias link" error message.
8733
8734Fixed a problem where an "unknown reserved name" warning could be
8735incorrectly generated for names like "_SB" when the trailing
8736underscore is not used in the original ASL.
8737
8738Fixed a problem where the reserved name check did not handle
8739NamePaths with multiple NameSegs correctly.  The first nameseg of
8740the NamePath was examined instead of the last NameSeg.
8741
8742
8743----------------------------------------
8744
874502 October 2002.  Summary of changes for this release.
8746
8747
87481) ACPI CA Core Subsystem version 20021002:
8749
8750Fixed a problem where a store/copy of a string to an existing
8751string did not always set the string length properly in the String
8752object.
8753
8754Fixed a reported problem with the ToString operator where the
8755behavior was identical to the ToHexString operator instead of just
8756simply converting a raw buffer to a string data type.
8757
8758Fixed a problem where CopyObject and the other "explicit"
8759conversion operators were not updating the internal namespace node
8760type as part of the store operation.
8761
8762Fixed a memory leak during implicit source operand conversion
8763where the original object was not deleted if it was converted to a
8764new object of a different type.
8765
8766Enhanced error messages for all problems associated with namespace
8767lookups.  Common procedure generates and prints the lookup name as
8768well as the formatted status.
8769
8770Completed implementation of a new design for the Alias support
8771within the namespace.  The existing design did not handle the case
8772where a new object was assigned to one of the two names due to the
8773use of an explicit conversion operator, resulting in the two names
8774pointing to two different objects.  The new design simply points
8775the Alias name to the original name node - not to the object.
8776This results in a level of indirection that must be handled in the
8777name resolution mechanism.
8778
8779Code and Data Size: Current core subsystem library sizes are shown
8780below.  These are the code and data sizes for the acpica.lib
8781produced by the Microsoft Visual C++ 6.0 compiler, and these
8782values do not include any ACPI driver or OSPM code.  The debug
8783version of the code includes the debug output trace mechanism and
8784has a larger code and data size.  Note that these values will vary
8785depending on the efficiency of the compiler and the compiler
8786options used during generation.
8787
8788  Previous Release
8789    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8790    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8791  Current Release:
8792    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8793    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8794
8795
87962) Linux
8797
8798Initialize thermal driver's timer before it is used. (Knut
8799Neumann)
8800
8801Allow handling negative celsius values. (Kochi Takayoshi)
8802
8803Fix thermal management and make trip points. R/W (Pavel Machek)
8804
8805Fix /proc/acpi/sleep. (P. Christeas)
8806
8807IA64 fixes. (David Mosberger)
8808
8809Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
8810
8811Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
8812Brodowski)
8813
8814
88153) iASL Compiler/Disassembler
8816
8817Clarified some warning/error messages.
8818
8819
8820----------------------------------------
882118 September 2002.  Summary of changes for this release.
8822
8823
88241) ACPI CA Core Subsystem version 20020918:
8825
8826Fixed a reported problem with reference chaining (via the Index()
8827and RefOf() operators) in the ObjectType() and SizeOf() operators.
8828The definition of these operators includes the dereferencing of
8829all chained references to return information on the base object.
8830
8831Fixed a problem with stores to indexed package elements - the
8832existing code would not complete the store if an "implicit
8833conversion" was not performed.  In other words, if the existing
8834object (package element) was to be replaced completely, the code
8835didn't handle this case.
8836
8837Relaxed typechecking on the ASL "Scope" operator to allow the
8838target name to refer to an object of type Integer, String, or
8839Buffer, in addition to the scoping object types (Device,
8840predefined Scopes, Processor, PowerResource, and ThermalZone.)
8841This allows existing AML code that has workarounds for a bug in
8842Windows to function properly.  A warning is issued, however.  This
8843affects both the AML interpreter and the iASL compiler. Below is
8844an example of this type of ASL code:
8845
8846      Name(DEB,0x00)
8847      Scope(DEB)
8848      {
8849
8850Fixed some reported problems with 64-bit integer support in the
8851local implementation of C library functions (clib.c)
8852
8853
88542) Linux
8855
8856Use ACPI fix map region instead of IOAPIC region, since it is
8857undefined in non-SMP.
8858
8859Ensure that the SCI has the proper polarity and trigger, even on
8860systems that do not have an interrupt override entry in the MADT.
8861
88622.5 big driver reorganization (Pat Mochel)
8863
8864Use early table mapping code from acpitable.c (Andi Kleen)
8865
8866New blacklist entries (Andi Kleen)
8867
8868Blacklist improvements. Split blacklist code out into a separate
8869file. Move checking the blacklist to very early. Previously, we
8870would use ACPI tables, and then halfway through init, check the
8871blacklist -- too late. Now, it's early enough to completely fall-
8872back to non-ACPI.
8873
8874
88753) iASL Compiler/Disassembler version 20020918:
8876
8877Fixed a problem where the typechecking code didn't know that an
8878alias could point to a method.  In other words, aliases were not
8879being dereferenced during typechecking.
8880
8881
8882----------------------------------------
888329 August 2002.  Summary of changes for this release.
8884
88851) ACPI CA Core Subsystem Version 20020829:
8886
8887If the target of a Scope() operator already exists, it must be an
8888object type that actually opens a scope -- such as a Device,
8889Method, Scope, etc.  This is a fatal runtime error.  Similar error
8890check has been added to the iASL compiler also.
8891
8892Tightened up the namespace load to disallow multiple names in the
8893same scope.  This previously was allowed if both objects were of
8894the same type.  (i.e., a lookup was the same as entering a new
8895name).
8896
8897
88982) Linux
8899
8900Ensure that the ACPI interrupt has the proper trigger and
8901polarity.
8902
8903local_irq_disable is extraneous. (Matthew Wilcox)
8904
8905Make "acpi=off" actually do what it says, and not use the ACPI
8906interpreter *or* the tables.
8907
8908Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
8909Takayoshi)
8910
8911
89123) iASL Compiler/Disassembler  Version 20020829:
8913
8914Implemented namepath optimization for name declarations.  For
8915example, a declaration like "Method (\_SB_.ABCD)" would get
8916optimized to "Method (ABCD)" if the declaration is within the
8917\_SB_ scope.  This optimization is in addition to the named
8918reference path optimization first released in the previous
8919version. This would seem to complete all possible optimizations
8920for namepaths within the ASL/AML.
8921
8922If the target of a Scope() operator already exists, it must be an
8923object type that actually opens a scope -- such as a Device,
8924Method, Scope, etc.
8925
8926Implemented a check and warning for unreachable code in the same
8927block below a Return() statement.
8928
8929Fixed a problem where the listing file was not generated if the
8930compiler aborted if the maximum error count was exceeded (200).
8931
8932Fixed a problem where the typechecking of method return values was
8933broken.  This includes the check for a return value when the
8934method is invoked as a TermArg (a return value is expected.)
8935
8936Fixed a reported problem where EOF conditions during a quoted
8937string or comment caused a fault.
8938
8939
8940----------------------------------------
894115 August 2002.  Summary of changes for this release.
8942
89431) ACPI CA Core Subsystem Version 20020815:
8944
8945Fixed a reported problem where a Store to a method argument that
8946contains a reference did not perform the indirect store correctly.
8947This problem was created during the conversion to the new
8948reference object model - the indirect store to a method argument
8949code was not updated to reflect the new model.
8950
8951Reworked the ACPI mode change code to better conform to ACPI 2.0,
8952handle corner cases, and improve code legibility (Kochi Takayoshi)
8953
8954Fixed a problem with the pathname parsing for the carat (^)
8955prefix.  The heavy use of the carat operator by the new namepath
8956optimization in the iASL compiler uncovered a problem with the AML
8957interpreter handling of this prefix.  In the case where one or
8958more carats precede a single nameseg, the nameseg was treated as
8959standalone and the search rule (to root) was inadvertently
8960applied.  This could cause both the iASL compiler and the
8961interpreter to find the wrong object or to miss the error that
8962should occur if the object does not exist at that exact pathname.
8963
8964Found and fixed the problem where the HP Pavilion DSDT would not
8965load.  This was a relatively minor tweak to the table loading code
8966(a problem caused by the unexpected encounter with a method
8967invocation not within a control method), but it does not solve the
8968overall issue of the execution of AML code at the table level.
8969This investigation is still ongoing.
8970
8971Code and Data Size: Current core subsystem library sizes are shown
8972below.  These are the code and data sizes for the acpica.lib
8973produced by the Microsoft Visual C++ 6.0 compiler, and these
8974values do not include any ACPI driver or OSPM code.  The debug
8975version of the code includes the debug output trace mechanism and
8976has a larger code and data size.  Note that these values will vary
8977depending on the efficiency of the compiler and the compiler
8978options used during generation.
8979
8980  Previous Release
8981    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8982    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8983  Current Release:
8984    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8985    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8986
8987
89882) Linux
8989
8990Remove redundant slab.h include (Brad Hards)
8991
8992Fix several bugs in thermal.c (Herbert Nachtnebel)
8993
8994Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
8995
8996Change acpi_system_suspend to use updated irq functions (Pavel
8997Machek)
8998
8999Export acpi_get_firmware_table (Matthew Wilcox)
9000
9001Use proper root proc entry for ACPI (Kochi Takayoshi)
9002
9003Fix early-boot table parsing (Bjorn Helgaas)
9004
9005
90063) iASL Compiler/Disassembler
9007
9008Reworked the compiler options to make them more consistent and to
9009use two-letter options where appropriate.  We were running out of
9010sensible letters.   This may break some makefiles, so check the
9011current options list by invoking the compiler with no parameters.
9012
9013Completed the design and implementation of the ASL namepath
9014optimization option for the compiler.  This option optimizes all
9015references to named objects to the shortest possible path.  The
9016first attempt tries to utilize a single nameseg (4 characters) and
9017the "search-to-root" algorithm used by the interpreter.  If that
9018cannot be used (because either the name is not in the search path
9019or there is a conflict with another object with the same name),
9020the pathname is optimized using the carat prefix (usually a
9021shorter string than specifying the entire path from the root.)
9022
9023Implemented support to obtain the DSDT from the Windows registry
9024(when the disassembly option is specified with no input file).
9025Added this code as the implementation for AcpiOsTableOverride in
9026the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
9027utility) to scan memory for the DSDT to the AcpiOsTableOverride
9028function in the DOS OSL to make the disassembler truly OS
9029independent.
9030
9031Implemented a new option to disassemble and compile in one step.
9032When used without an input filename, this option will grab the
9033DSDT from the local machine, disassemble it, and compile it in one
9034step.
9035
9036Added a warning message for invalid escapes (a backslash followed
9037by any character other than the allowable escapes).  This catches
9038the quoted string error "\_SB_" (which should be "\\_SB_" ).
9039
9040Also, there are numerous instances in the ACPI specification where
9041this error occurs.
9042
9043Added a compiler option to disable all optimizations.  This is
9044basically the "compatibility mode" because by using this option,
9045the AML code will come out exactly the same as other ASL
9046compilers.
9047
9048Added error messages for incorrectly ordered dependent resource
9049functions.  This includes: missing EndDependentFn macro at end of
9050dependent resource list, nested dependent function macros (both
9051start and end), and missing StartDependentFn macro.  These are
9052common errors that should be caught at compile time.
9053
9054Implemented _OSI support for the disassembler and compiler.  _OSI
9055must be included in the namespace for proper disassembly (because
9056the disassembler must know the number of arguments.)
9057
9058Added an "optimization" message type that is optional (off by
9059default).  This message is used for all optimizations - including
9060constant folding, integer optimization, and namepath optimization.
9061
9062----------------------------------------
906325 July 2002.  Summary of changes for this release.
9064
9065
90661) ACPI CA Core Subsystem Version 20020725:
9067
9068The AML Disassembler has been enhanced to produce compilable ASL
9069code and has been integrated into the iASL compiler (see below) as
9070well as the single-step disassembly for the AML debugger and the
9071disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
9072resource templates and macros are fully supported.  The
9073disassembler has been tested on over 30 different AML files,
9074producing identical AML when the resulting disassembled ASL file
9075is recompiled with the same ASL compiler.
9076
9077Modified the Resource Manager to allow zero interrupts and zero
9078dma channels during the GetCurrentResources call.  This was
9079causing problems on some platforms.
9080
9081Added the AcpiOsRedirectOutput interface to the OSL to simplify
9082output redirection for the AcpiOsPrintf and AcpiOsVprintf
9083interfaces.
9084
9085Code and Data Size: Current core subsystem library sizes are shown
9086below.  These are the code and data sizes for the acpica.lib
9087produced by the Microsoft Visual C++ 6.0 compiler, and these
9088values do not include any ACPI driver or OSPM code.  The debug
9089version of the code includes the debug output trace mechanism and
9090has a larger code and data size.  Note that these values will vary
9091depending on the efficiency of the compiler and the compiler
9092options used during generation.
9093
9094  Previous Release
9095    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
9096    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
9097  Current Release:
9098    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
9099    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
9100
9101
91022) Linux
9103
9104Fixed a panic in the EC driver (Dominik Brodowski)
9105
9106Implemented checksum of the R/XSDT itself during Linux table scan
9107(Richard Schaal)
9108
9109
91103) iASL compiler
9111
9112The AML disassembler is integrated into the compiler.  The "-d"
9113option invokes the disassembler  to completely disassemble an
9114input AML file, producing as output a text ASL file with the
9115extension ".dsl" (to avoid name collisions with existing .asl
9116source files.)  A future enhancement will allow the disassembler
9117to obtain the BIOS DSDT from the registry under Windows.
9118
9119Fixed a problem with the VendorShort and VendorLong resource
9120descriptors where an invalid AML sequence was created.
9121
9122Implemented a fix for BufferData term in the ASL parser.  It was
9123inadvertently defined twice, allowing invalid syntax to pass and
9124causing reduction conflicts.
9125
9126Fixed a problem where the Ones opcode could get converted to a
9127value of zero if "Ones" was used where a byte, word or dword value
9128was expected.  The 64-bit value is now truncated to the correct
9129size with the correct value.
9130
9131
9132
9133----------------------------------------
913402 July 2002.  Summary of changes for this release.
9135
9136
91371) ACPI CA Core Subsystem Version 20020702:
9138
9139The Table Manager code has been restructured to add several new
9140features.  Tables that are not required by the core subsystem
9141(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
9142validated in any way and are returned from AcpiGetFirmwareTable if
9143requested.  The AcpiOsTableOverride interface is now called for
9144each table that is loaded by the subsystem in order to allow the
9145host to override any table it chooses.  Previously, only the DSDT
9146could be overridden.  Added one new files, tbrsdt.c and
9147tbgetall.c.
9148
9149Fixed a problem with the conversion of internal package objects to
9150external objects (when a package is returned from a control
9151method.)  The return buffer length was set to zero instead of the
9152proper length of the package object.
9153
9154Fixed a reported problem with the use of the RefOf and DeRefOf
9155operators when passing reference arguments to control methods.  A
9156new type of Reference object is used internally for references
9157produced by the RefOf operator.
9158
9159Added additional error messages in the Resource Manager to explain
9160AE_BAD_DATA errors when they occur during resource parsing.
9161
9162Split the AcpiEnableSubsystem into two primitives to enable a
9163finer granularity initialization sequence.  These two calls should
9164be called in this order: AcpiEnableSubsystem (flags),
9165AcpiInitializeObjects (flags).  The flags parameter remains the
9166same.
9167
9168
91692) Linux
9170
9171Updated the ACPI utilities module to understand the new style of
9172fully resolved package objects that are now returned from the core
9173subsystem.  This eliminates errors of the form:
9174
9175    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
9176    acpi_utils-0430 [145] acpi_evaluate_reference:
9177        Invalid element in package (not a device reference)
9178
9179The method evaluation utility uses the new buffer allocation
9180scheme instead of calling AcpiEvaluate Object twice.
9181
9182Added support for ECDT. This allows the use of the Embedded
9183
9184Controller before the namespace has been fully initialized, which
9185is necessary for ACPI 2.0 support, and for some laptops to
9186initialize properly. (Laptops using ECDT are still rare, so only
9187limited testing was performed of the added functionality.)
9188
9189Fixed memory leaks in the EC driver.
9190
9191Eliminated a brittle code structure in acpi_bus_init().
9192
9193Eliminated the acpi_evaluate() helper function in utils.c. It is
9194no longer needed since acpi_evaluate_object can optionally
9195allocate memory for the return object.
9196
9197Implemented fix for keyboard hang when getting battery readings on
9198some systems (Stephen White)
9199
9200PCI IRQ routing update (Dominik Brodowski)
9201
9202Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
9203support
9204
9205----------------------------------------
920611 June 2002.  Summary of changes for this release.
9207
9208
92091) ACPI CA Core Subsystem Version 20020611:
9210
9211Fixed a reported problem where constants such as Zero and One
9212appearing within _PRT packages were not handled correctly within
9213the resource manager code.  Originally reported against the ASL
9214compiler because the code generator now optimizes integers to
9215their minimal AML representation (i.e. AML constants if possible.)
9216The _PRT code now handles all AML constant opcodes correctly
9217(Zero, One, Ones, Revision).
9218
9219Fixed a problem with the Concatenate operator in the AML
9220interpreter where a buffer result object was incorrectly marked as
9221not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
9222
9223All package sub-objects are now fully resolved before they are
9224returned from the external ACPI interfaces.  This means that name
9225strings are resolved to object handles, and constant operators
9226(Zero, One, Ones, Revision) are resolved to Integers.
9227
9228Implemented immediate resolution of the AML Constant opcodes
9229(Zero, One, Ones, Revision) to Integer objects upon detection
9230within the AML stream. This has simplified and reduced the
9231generated code size of the subsystem by eliminating about 10
9232switch statements for these constants (which previously were
9233contained in Reference objects.)  The complicating issues are that
9234the Zero opcode is used as a "placeholder" for unspecified
9235optional target operands and stores to constants are defined to be
9236no-ops.
9237
9238Code and Data Size: Current core subsystem library sizes are shown
9239below. These are the code and data sizes for the acpica.lib
9240produced by the Microsoft Visual C++ 6.0 compiler, and these
9241values do not include any ACPI driver or OSPM code.  The debug
9242version of the code includes the debug output trace mechanism and
9243has a larger code and data size.  Note that these values will vary
9244depending on the efficiency of the compiler and the compiler
9245options used during generation.
9246
9247  Previous Release
9248    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
9249    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
9250  Current Release:
9251    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
9252    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
9253
9254
92552) Linux
9256
9257
9258Added preliminary support for obtaining _TRA data for PCI root
9259bridges (Bjorn Helgaas).
9260
9261
92623) iASL Compiler Version X2046:
9263
9264Fixed a problem where the "_DDN" reserved name was defined to be a
9265control method with one argument.  There are no arguments, and
9266_DDN does not have to be a control method.
9267
9268Fixed a problem with the Linux version of the compiler where the
9269source lines printed with error messages were the wrong lines.
9270This turned out to be the "LF versus CR/LF" difference between
9271Windows and Unix.  This appears to be the longstanding issue
9272concerning listing output and error messages.
9273
9274Fixed a problem with the Linux version of compiler where opcode
9275names within error messages were wrong.  This was caused by a
9276slight difference in the output of the Flex tool on Linux versus
9277Windows.
9278
9279Fixed a problem with the Linux compiler where the hex output files
9280contained some garbage data caused by an internal buffer overrun.
9281
9282
9283----------------------------------------
928417 May 2002.  Summary of changes for this release.
9285
9286
92871) ACPI CA Core Subsystem Version 20020517:
9288
9289Implemented a workaround to an BIOS bug discovered on the HP
9290OmniBook where the FADT revision number and the table size are
9291inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
9292behavior is to fallback to using only the ACPI 1.0 fields of the
9293FADT if the table is too small to be a ACPI 2.0 table as claimed
9294by the revision number.  Although this is a BIOS bug, this is a
9295case where the workaround is simple enough and with no side
9296effects, so it seemed prudent to add it.  A warning message is
9297issued, however.
9298
9299Implemented minimum size checks for the fixed-length ACPI tables -
9300- the FADT and FACS, as well as consistency checks between the
9301revision number and the table size.
9302
9303Fixed a reported problem in the table override support where the
9304new table pointer was incorrectly treated as a physical address
9305instead of a logical address.
9306
9307Eliminated the use of the AE_AML_ERROR exception and replaced it
9308with more descriptive codes.
9309
9310Fixed a problem where an exception would occur if an ASL Field was
9311defined with no named Field Units underneath it (used by some
9312index fields).
9313
9314Code and Data Size: Current core subsystem library sizes are shown
9315below.  These are the code and data sizes for the acpica.lib
9316produced by the Microsoft Visual C++ 6.0 compiler, and these
9317values do not include any ACPI driver or OSPM code.  The debug
9318version of the code includes the debug output trace mechanism and
9319has a larger code and data size.  Note that these values will vary
9320depending on the efficiency of the compiler and the compiler
9321options used during generation.
9322
9323  Previous Release
9324    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
9325    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
9326  Current Release:
9327    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
9328    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
9329
9330
9331
93322) Linux
9333
9334Much work done on ACPI init (MADT and PCI IRQ routing support).
9335(Paul D. and Dominik Brodowski)
9336
9337Fix PCI IRQ-related panic on boot (Sam Revitch)
9338
9339Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
9340
9341Fix "MHz" typo (Dominik Brodowski)
9342
9343Fix RTC year 2000 issue (Dominik Brodowski)
9344
9345Preclude multiple button proc entries (Eric Brunet)
9346
9347Moved arch-specific code out of include/platform/aclinux.h
9348
93493) iASL Compiler Version X2044:
9350
9351Implemented error checking for the string used in the EISAID macro
9352(Usually used in the definition of the _HID object.)  The code now
9353strictly enforces the PnP format - exactly 7 characters, 3
9354uppercase letters and 4 hex digits.
9355
9356If a raw string is used in the definition of the _HID object
9357(instead of the EISAID macro), the string must contain all
9358alphanumeric characters (e.g., "*PNP0011" is not allowed because
9359of the asterisk.)
9360
9361Implemented checking for invalid use of ACPI reserved names for
9362most of the name creation operators (Name, Device, Event, Mutex,
9363OperationRegion, PowerResource, Processor, and ThermalZone.)
9364Previously, this check was only performed for control methods.
9365
9366Implemented an additional check on the Name operator to emit an
9367error if a reserved name that must be implemented in ASL as a
9368control method is used.  We know that a reserved name must be a
9369method if it is defined with input arguments.
9370
9371The warning emitted when a namespace object reference is not found
9372during the cross reference phase has been changed into an error.
9373The "External" directive should be used for names defined in other
9374modules.
9375
9376
93774) Tools and Utilities
9378
9379The 16-bit tools (adump16 and aexec16) have been regenerated and
9380tested.
9381
9382Fixed a problem with the output of both acpidump and adump16 where
9383the indentation of closing parentheses and brackets was not
9384
9385aligned properly with the parent block.
9386
9387
9388----------------------------------------
938903 May 2002.  Summary of changes for this release.
9390
9391
93921) ACPI CA Core Subsystem Version 20020503:
9393
9394Added support a new OSL interface that allows the host operating
9395
9396system software to override the DSDT found in the firmware -
9397AcpiOsTableOverride.  With this interface, the OSL can examine the
9398version of the firmware DSDT and replace it with a different one
9399if desired.
9400
9401Added new external interfaces for accessing ACPI registers from
9402device drivers and other system software - AcpiGetRegister and
9403AcpiSetRegister.  This was simply an externalization of the
9404existing AcpiHwBitRegister interfaces.
9405
9406Fixed a regression introduced in the previous build where the
9407ASL/AML CreateField operator always returned an error,
9408"destination must be a NS Node".
9409
9410Extended the maximum time (before failure) to successfully enable
9411ACPI mode to 3 seconds.
9412
9413Code and Data Size: Current core subsystem library sizes are shown
9414below.  These are the code and data sizes for the acpica.lib
9415produced by the Microsoft Visual C++ 6.0 compiler, and these
9416values do not include any ACPI driver or OSPM code.  The debug
9417version of the code includes the debug output trace mechanism and
9418has a larger code and data size.  Note that these values will vary
9419depending on the efficiency of the compiler and the compiler
9420options used during generation.
9421
9422  Previous Release
9423    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9424    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9425  Current Release:
9426    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
9427    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
9428
9429
94302) Linux
9431
9432Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
9433free. While 3 out of 4 of our in-house systems work fine, the last
9434one still hangs when testing the LAPIC timer.
9435
9436Renamed many files in 2.5 kernel release to omit "acpi_" from the
9437name.
9438
9439Added warning on boot for Presario 711FR.
9440
9441Sleep improvements (Pavel Machek)
9442
9443ACPI can now be built without CONFIG_PCI enabled.
9444
9445IA64: Fixed memory map functions (JI Lee)
9446
9447
94483) iASL Compiler Version X2043:
9449
9450Added support to allow the compiler to be integrated into the MS
9451VC++ development environment for one-button compilation of single
9452files or entire projects -- with error-to-source-line mapping.
9453
9454Implemented support for compile-time constant folding for the
9455Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
9456specification.  This allows the ASL writer to use expressions
9457instead of Integer/Buffer/String constants in terms that must
9458evaluate to constants at compile time and will also simplify the
9459emitted AML in any such sub-expressions that can be folded
9460(evaluated at compile-time.)  This increases the size of the
9461compiler significantly because a portion of the ACPI CA AML
9462interpreter is included within the compiler in order to pre-
9463evaluate constant expressions.
9464
9465
9466Fixed a problem with the "Unicode" ASL macro that caused the
9467compiler to fault.  (This macro is used in conjunction with the
9468_STR reserved name.)
9469
9470Implemented an AML opcode optimization to use the Zero, One, and
9471Ones opcodes where possible to further reduce the size of integer
9472constants and thus reduce the overall size of the generated AML
9473code.
9474
9475Implemented error checking for new reserved terms for ACPI version
94762.0A.
9477
9478Implemented the -qr option to display the current list of ACPI
9479reserved names known to the compiler.
9480
9481Implemented the -qc option to display the current list of ASL
9482operators that are allowed within constant expressions and can
9483therefore be folded at compile time if the operands are constants.
9484
9485
94864) Documentation
9487
9488Updated the Programmer's Reference for new interfaces, data types,
9489and memory allocation model options.
9490
9491Updated the iASL Compiler User Reference to apply new format and
9492add information about new features and options.
9493
9494----------------------------------------
949519 April 2002.  Summary of changes for this release.
9496
94971) ACPI CA Core Subsystem Version 20020419:
9498
9499The source code base for the Core Subsystem has been completely
9500cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
9501versions.  The Lint option files used are included in the
9502/acpi/generate/lint directory.
9503
9504Implemented enhanced status/error checking across the entire
9505Hardware manager subsystem.  Any hardware errors (reported from
9506the OSL) are now bubbled up and will abort a running control
9507method.
9508
9509
9510Fixed a problem where the per-ACPI-table integer width (32 or 64)
9511was stored only with control method nodes, causing a fault when
9512non-control method code was executed during table loading.  The
9513solution implemented uses a global variable to indicate table
9514width across the entire ACPI subsystem.  Therefore, ACPI CA does
9515not support mixed integer widths across different ACPI tables
9516(DSDT, SSDT).
9517
9518Fixed a problem where NULL extended fields (X fields) in an ACPI
95192.0 ACPI FADT caused the table load to fail.  Although the
9520existing ACPI specification is a bit fuzzy on this topic, the new
9521behavior is to fall back on a ACPI 1.0 field if the corresponding
9522ACPI 2.0 X field is zero (even though the table revision indicates
9523a full ACPI 2.0 table.)  The ACPI specification will be updated to
9524clarify this issue.
9525
9526Fixed a problem with the SystemMemory operation region handler
9527where memory was always accessed byte-wise even if the AML-
9528specified access width was larger than a byte.  This caused
9529problems on systems with memory-mapped I/O.  Memory is now
9530accessed with the width specified.  On systems that do not support
9531non-aligned transfers, a check is made to guarantee proper address
9532alignment before proceeding in order to avoid an AML-caused
9533alignment fault within the kernel.
9534
9535
9536Fixed a problem with the ExtendedIrq resource where only one byte
9537of the 4-byte Irq field was extracted.
9538
9539Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
9540function was out of date and required a rewrite.
9541
9542Code and Data Size: Current core subsystem library sizes are shown
9543below.  These are the code and data sizes for the acpica.lib
9544produced by the Microsoft Visual C++ 6.0 compiler, and these
9545values do not include any ACPI driver or OSPM code.  The debug
9546version of the code includes the debug output trace mechanism and
9547has a larger code and data size.  Note that these values will vary
9548depending on the efficiency of the compiler and the compiler
9549options used during generation.
9550
9551  Previous Release
9552    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9553    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9554  Current Release:
9555    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
9556    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
9557
9558
95592) Linux
9560
9561PCI IRQ routing fixes (Dominik Brodowski)
9562
9563
95643) iASL Compiler Version X2042:
9565
9566Implemented an additional compile-time error check for a field
9567unit whose size + minimum access width would cause a run-time
9568access beyond the end-of-region.  Previously, only the field size
9569itself was checked.
9570
9571The Core subsystem and iASL compiler now share a common parse
9572object in preparation for compile-time evaluation of the type
95733/4/5 ASL operators.
9574
9575
9576----------------------------------------
9577Summary of changes for this release: 03_29_02
9578
95791) ACPI CA Core Subsystem Version 20020329:
9580
9581Implemented support for late evaluation of TermArg operands to
9582Buffer and Package objects.  This allows complex expressions to be
9583used in the declarations of these object types.
9584
9585Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
95861.0, if the field was larger than 32 bits, it was returned as a
9587buffer - otherwise it was returned as an integer.  In ACPI 2.0,
9588the field is returned as a buffer only if the field is larger than
958964 bits.  The TableRevision is now considered when making this
9590conversion to avoid incompatibility with existing ASL code.
9591
9592Implemented logical addressing for AcpiOsGetRootPointer.  This
9593allows an RSDP with either a logical or physical address.  With
9594this support, the host OS can now override all ACPI tables with
9595one logical RSDP.  Includes implementation of  "typed" pointer
9596support to allow a common data type for both physical and logical
9597pointers internally.  This required a change to the
9598AcpiOsGetRootPointer interface.
9599
9600Implemented the use of ACPI 2.0 Generic Address Structures for all
9601GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
9602mapped I/O for these ACPI features.
9603
9604Initialization now ignores not only non-required tables (All
9605tables other than the FADT, FACS, DSDT, and SSDTs), but also does
9606not validate the table headers of unrecognized tables.
9607
9608Fixed a problem where a notify handler could only be
9609installed/removed on an object of type Device.  All "notify"
9610
9611objects are now supported -- Devices, Processor, Power, and
9612Thermal.
9613
9614Removed most verbosity from the ACPI_DB_INFO debug level.  Only
9615critical information is returned when this debug level is enabled.
9616
9617Code and Data Size: Current core subsystem library sizes are shown
9618below.  These are the code and data sizes for the acpica.lib
9619produced by the Microsoft Visual C++ 6.0 compiler, and these
9620values do not include any ACPI driver or OSPM code.  The debug
9621version of the code includes the debug output trace mechanism and
9622has a larger code and data size.  Note that these values will vary
9623depending on the efficiency of the compiler and the compiler
9624options used during generation.
9625
9626  Previous Release
9627    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9628    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9629  Current Release:
9630    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9631    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9632
9633
96342) Linux:
9635
9636The processor driver (acpi_processor.c) now fully supports ACPI
96372.0-based processor performance control (e.g. Intel(R)
9638SpeedStep(TM) technology) Note that older laptops that only have
9639the Intel "applet" interface are not supported through this.  The
9640'limit' and 'performance' interface (/proc) are fully functional.
9641[Note that basic policy for controlling performance state
9642transitions will be included in the next version of ospmd.]  The
9643idle handler was modified to more aggressively use C2, and PIIX4
9644errata handling underwent a complete overhaul (big thanks to
9645Dominik Brodowski).
9646
9647Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
9648based devices in the ACPI namespace are now dynamically bound
9649(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
9650This allows, among other things, ACPI to resolve bus numbers for
9651subordinate PCI bridges.
9652
9653Enhanced PCI IRQ routing to get the proper bus number for _PRT
9654entries defined underneath PCI bridges.
9655
9656Added IBM 600E to bad bios list due to invalid _ADR value for
9657PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
9658
9659In the process of adding full MADT support (e.g. IOAPIC) for IA32
9660(acpi.c, mpparse.c) -- stay tuned.
9661
9662Added back visual differentiation between fixed-feature and
9663control-method buttons in dmesg.  Buttons are also subtyped (e.g.
9664button/power/PWRF) to simplify button identification.
9665
9666We no longer use -Wno-unused when compiling debug. Please ignore
9667any "_THIS_MODULE defined but not used" messages.
9668
9669Can now shut down the system using "magic sysrq" key.
9670
9671
96723) iASL Compiler version 2041:
9673
9674Fixed a problem where conversion errors for hex/octal/decimal
9675constants were not reported.
9676
9677Implemented a fix for the General Register template Address field.
9678This field was 8 bits when it should be 64.
9679
9680Fixed a problem where errors/warnings were no longer being emitted
9681within the listing output file.
9682
9683Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
9684exactly 4 characters, alphanumeric only.
9685
9686
9687
9688
9689----------------------------------------
9690Summary of changes for this release: 03_08_02
9691
9692
96931) ACPI CA Core Subsystem Version 20020308:
9694
9695Fixed a problem with AML Fields where the use of the "AccessAny"
9696keyword could cause an interpreter error due to attempting to read
9697or write beyond the end of the parent Operation Region.
9698
9699Fixed a problem in the SystemMemory Operation Region handler where
9700an attempt was made to map memory beyond the end of the region.
9701This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
9702errors on some Linux systems.
9703
9704Fixed a problem where the interpreter/namespace "search to root"
9705algorithm was not functioning for some object types.  Relaxed the
9706internal restriction on the search to allow upsearches for all
9707external object types as well as most internal types.
9708
9709
97102) Linux:
9711
9712We now use safe_halt() macro versus individual calls to sti | hlt.
9713
9714Writing to the processor limit interface should now work. "echo 1"
9715will increase the limit, 2 will decrease, and 0 will reset to the
9716
9717default.
9718
9719
97203) ASL compiler:
9721
9722Fixed segfault on Linux version.
9723
9724
9725----------------------------------------
9726Summary of changes for this release: 02_25_02
9727
97281) ACPI CA Core Subsystem:
9729
9730
9731Fixed a problem where the GPE bit masks were not initialized
9732properly, causing erratic GPE behavior.
9733
9734Implemented limited support for multiple calling conventions.  The
9735code can be generated with either the VPL (variable parameter
9736list, or "C") convention, or the FPL (fixed parameter list, or
9737"Pascal") convention.  The core subsystem is about 3.4% smaller
9738when generated with FPL.
9739
9740
97412) Linux
9742
9743Re-add some /proc/acpi/event functionality that was lost during
9744the rewrite
9745
9746Resolved issue with /proc events for fixed-feature buttons showing
9747up as the system device.
9748
9749Fixed checks on C2/C3 latencies to be inclusive of maximum values.
9750
9751Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
9752
9753Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
9754
9755Fixed limit interface & usage to fix bugs with passive cooling
9756hysterisis.
9757
9758Restructured PRT support.
9759
9760
9761----------------------------------------
9762Summary of changes for this label: 02_14_02
9763
9764
97651) ACPI CA Core Subsystem:
9766
9767Implemented support in AcpiLoadTable to allow loading of FACS and
9768FADT tables.
9769
9770Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
9771been removed.  All 64-bit platforms should be migrated to the ACPI
97722.0 tables.  The actbl71.h header has been removed from the source
9773tree.
9774
9775All C macros defined within the subsystem have been prefixed with
9776"ACPI_" to avoid collision with other system include files.
9777
9778Removed the return value for the two AcpiOsPrint interfaces, since
9779it is never used and causes lint warnings for ignoring the return
9780value.
9781
9782Added error checking to all internal mutex acquire and release
9783calls.  Although a failure from one of these interfaces is
9784probably a fatal system error, these checks will cause the
9785immediate abort of the currently executing method or interface.
9786
9787Fixed a problem where the AcpiSetCurrentResources interface could
9788fault.  This was a side effect of the deployment of the new memory
9789allocation model.
9790
9791Fixed a couple of problems with the Global Lock support introduced
9792in the last major build.  The "common" (1.0/2.0) internal FACS was
9793being overwritten with the FACS signature and clobbering the
9794Global Lock pointer.  Also, the actual firmware FACS was being
9795unmapped after construction of the "common" FACS, preventing
9796access to the actual Global Lock field within it.  The "common"
9797internal FACS is no longer installed as an actual ACPI table; it
9798is used simply as a global.
9799
9800Code and Data Size: Current core subsystem library sizes are shown
9801below.  These are the code and data sizes for the acpica.lib
9802produced by the Microsoft Visual C++ 6.0 compiler, and these
9803values do not include any ACPI driver or OSPM code.  The debug
9804version of the code includes the debug output trace mechanism and
9805has a larger code and data size.  Note that these values will vary
9806depending on the efficiency of the compiler and the compiler
9807options used during generation.
9808
9809  Previous Release (02_07_01)
9810    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9811    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9812  Current Release:
9813    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9814    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9815
9816
98172) Linux
9818
9819Updated Linux-specific code for core macro and OSL interface
9820changes described above.
9821
9822Improved /proc/acpi/event. It now can be opened only once and has
9823proper poll functionality.
9824
9825Fixed and restructured power management (acpi_bus).
9826
9827Only create /proc "view by type" when devices of that class exist.
9828
9829Fixed "charging/discharging" bug (and others) in acpi_battery.
9830
9831Improved thermal zone code.
9832
9833
98343) ASL Compiler, version X2039:
9835
9836
9837Implemented the new compiler restriction on ASL String hex/octal
9838escapes to non-null, ASCII values.  An error results if an invalid
9839value is used.  (This will require an ACPI 2.0 specification
9840change.)
9841
9842AML object labels that are output to the optional C and ASM source
9843are now prefixed with both the ACPI table signature and table ID
9844to help guarantee uniqueness within a large BIOS project.
9845
9846
9847----------------------------------------
9848Summary of changes for this label: 02_01_02
9849
98501) ACPI CA Core Subsystem:
9851
9852ACPI 2.0 support is complete in the entire Core Subsystem and the
9853ASL compiler. All new ACPI 2.0 operators are implemented and all
9854other changes for ACPI 2.0 support are complete.  With
9855simultaneous code and data optimizations throughout the subsystem,
9856ACPI 2.0 support has been implemented with almost no additional
9857cost in terms of code and data size.
9858
9859Implemented a new mechanism for allocation of return buffers.  If
9860the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
9861be allocated on behalf of the caller.  Consolidated all return
9862buffer validation and allocation to a common procedure.  Return
9863buffers will be allocated via the primary OSL allocation interface
9864since it appears that a separate pool is not needed by most users.
9865If a separate pool is required for these buffers, the caller can
9866still use the original mechanism and pre-allocate the buffer(s).
9867
9868Implemented support for string operands within the DerefOf
9869operator.
9870
9871Restructured the Hardware and Event managers to be table driven,
9872simplifying the source code and reducing the amount of generated
9873code.
9874
9875Split the common read/write low-level ACPI register bitfield
9876procedure into a separate read and write, simplifying the code
9877considerably.
9878
9879Obsoleted the AcpiOsCallocate OSL interface.  This interface was
9880used only a handful of times and didn't have enough critical mass
9881for a separate interface.  Replaced with a common calloc procedure
9882in the core.
9883
9884Fixed a reported problem with the GPE number mapping mechanism
9885that allows GPE1 numbers to be non-contiguous with GPE0.
9886Reorganized the GPE information and shrunk a large array that was
9887originally large enough to hold info for all possible GPEs (256)
9888to simply large enough to hold all GPEs up to the largest GPE
9889number on the machine.
9890
9891Fixed a reported problem with resource structure alignment on 64-
9892bit platforms.
9893
9894Changed the AcpiEnableEvent and AcpiDisableEvent external
9895interfaces to not require any flags for the common case of
9896enabling/disabling a GPE.
9897
9898Implemented support to allow a "Notify" on a Processor object.
9899
9900Most TBDs in comments within the source code have been resolved
9901and eliminated.
9902
9903
9904Fixed a problem in the interpreter where a standalone parent
9905prefix (^) was not handled correctly in the interpreter and
9906debugger.
9907
9908Removed obsolete and unnecessary GPE save/restore code.
9909
9910Implemented Field support in the ASL Load operator.  This allows a
9911table to be loaded from a named field, in addition to loading a
9912table directly from an Operation Region.
9913
9914Implemented timeout and handle support in the external Global Lock
9915interfaces.
9916
9917Fixed a problem in the AcpiDump utility where pathnames were no
9918longer being generated correctly during the dump of named objects.
9919
9920Modified the AML debugger to give a full display of if/while
9921predicates instead of just one AML opcode at a time.  (The
9922predicate can have several nested ASL statements.)  The old method
9923was confusing during single stepping.
9924
9925Code and Data Size: Current core subsystem library sizes are shown
9926below. These are the code and data sizes for the acpica.lib
9927produced by the Microsoft Visual C++ 6.0 compiler, and these
9928values do not include any ACPI driver or OSPM code.  The debug
9929version of the code includes the debug output trace mechanism and
9930has a larger code and data size.  Note that these values will vary
9931depending on the efficiency of the compiler and the compiler
9932options used during generation.
9933
9934  Previous Release (12_18_01)
9935     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9936     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9937   Current Release:
9938     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9939     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9940
99412) Linux
9942
9943 Implemented fix for PIIX reverse throttling errata (Processor
9944driver)
9945
9946Added new Limit interface (Processor and Thermal drivers)
9947
9948New thermal policy (Thermal driver)
9949
9950Many updates to /proc
9951
9952Battery "low" event support (Battery driver)
9953
9954Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9955
9956IA32 - IA64 initialization unification, no longer experimental
9957
9958Menuconfig options redesigned
9959
99603) ASL Compiler, version X2037:
9961
9962Implemented several new output features to simplify integration of
9963AML code into  firmware: 1) Output the AML in C source code with
9964labels for each named ASL object.  The    original ASL source code
9965is interleaved as C comments. 2) Output the AML in ASM source code
9966with labels and interleaved ASL    source. 3) Output the AML in
9967raw hex table form, in either C or ASM.
9968
9969Implemented support for optional string parameters to the
9970LoadTable operator.
9971
9972Completed support for embedded escape sequences within string
9973literals.  The compiler now supports all single character escapes
9974as well as the Octal and Hex escapes.  Note: the insertion of a
9975null byte into a string literal (via the hex/octal escape) causes
9976the string to be immediately terminated.  A warning is issued.
9977
9978Fixed a problem where incorrect AML was generated for the case
9979where an ASL namepath consists of a single parent prefix (
9980
9981) with no trailing name segments.
9982
9983The compiler has been successfully generated with a 64-bit C
9984compiler.
9985
9986
9987
9988
9989----------------------------------------
9990Summary of changes for this label: 12_18_01
9991
99921) Linux
9993
9994Enhanced blacklist with reason and severity fields. Any table's
9995signature may now be used to identify a blacklisted system.
9996
9997Call _PIC control method to inform the firmware which interrupt
9998model the OS is using. Turn on any disabled link devices.
9999
10000Cleaned up busmgr /proc error handling (Andreas Dilger)
10001
10002 2) ACPI CA Core Subsystem:
10003
10004Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
10005while loop)
10006
10007Completed implementation of the ACPI 2.0 "Continue",
10008"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
10009operators.  All new ACPI 2.0 operators are now implemented in both
10010the ASL compiler and the AML interpreter.  The only remaining ACPI
100112.0 task is support for the String data type in the DerefOf
10012operator.  Fixed a problem with AcquireMutex where the status code
10013was lost if the caller had to actually wait for the mutex.
10014
10015Increased the maximum ASL Field size from 64K bits to 4G bits.
10016
10017Completed implementation of the external Global Lock interfaces --
10018AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
10019Handler parameters were added.
10020
10021Completed another pass at removing warnings and issues when
10022compiling with 64-bit compilers.  The code now compiles cleanly
10023with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
10024add and subtract (diff) macros have changed considerably.
10025
10026
10027Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1002864-bit platforms, 32-bits on all others.  This type is used
10029wherever memory allocation and/or the C sizeof() operator is used,
10030and affects the OSL memory allocation interfaces AcpiOsAllocate
10031and AcpiOsCallocate.
10032
10033Implemented sticky user breakpoints in the AML debugger.
10034
10035Code and Data Size: Current core subsystem library sizes are shown
10036below. These are the code and data sizes for the acpica.lib
10037produced by the Microsoft Visual C++ 6.0 compiler, and these
10038values do not include any ACPI driver or OSPM code.  The debug
10039version of the code includes the debug output trace mechanism and
10040has a larger code and data size. Note that these values will vary
10041depending on the efficiency of the compiler and the compiler
10042options used during generation.
10043
10044  Previous Release (12_05_01)
10045     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
10046     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
10047   Current Release:
10048     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
10049     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
10050
10051 3) ASL Compiler, version X2034:
10052
10053Now checks for (and generates an error if detected) the use of a
10054Break or Continue statement without an enclosing While statement.
10055
10056
10057Successfully generated the compiler with the Intel 64-bit C
10058compiler.
10059
10060 ----------------------------------------
10061Summary of changes for this label: 12_05_01
10062
10063 1) ACPI CA Core Subsystem:
10064
10065The ACPI 2.0 CopyObject operator is fully implemented.  This
10066operator creates a new copy of an object (and is also used to
10067bypass the "implicit conversion" mechanism of the Store operator.)
10068
10069The ACPI 2.0 semantics for the SizeOf operator are fully
10070implemented.  The change is that performing a SizeOf on a
10071reference object causes an automatic dereference of the object to
10072tha actual value before the size is evaluated. This behavior was
10073undefined in ACPI 1.0.
10074
10075The ACPI 2.0 semantics for the Extended IRQ resource descriptor
10076have been implemented.  The interrupt polarity and mode are now
10077independently set.
10078
10079Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
10080appearing in Package objects were not properly converted to
10081integers when the internal Package was converted to an external
10082object (via the AcpiEvaluateObject interface.)
10083
10084Fixed a problem with the namespace object deletion mechanism for
10085objects created by control methods.  There were two parts to this
10086problem: 1) Objects created during the initialization phase method
10087parse were not being deleted, and 2) The object owner ID mechanism
10088to track objects was broken.
10089
10090Fixed a problem where the use of the ASL Scope operator within a
10091control method would result in an invalid opcode exception.
10092
10093Fixed a problem introduced in the previous label where the buffer
10094length required for the _PRT structure was not being returned
10095correctly.
10096
10097Code and Data Size: Current core subsystem library sizes are shown
10098below. These are the code and data sizes for the acpica.lib
10099produced by the Microsoft Visual C++ 6.0 compiler, and these
10100values do not include any ACPI driver or OSPM code.  The debug
10101version of the code includes the debug output trace mechanism and
10102has a larger code and data size.  Note that these values will vary
10103depending on the efficiency of the compiler and the compiler
10104options used during generation.
10105
10106  Previous Release (11_20_01)
10107     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
10108     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
10109
10110  Current Release:
10111     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
10112     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
10113
10114 2) Linux:
10115
10116Updated all files to apply cleanly against 2.4.16.
10117
10118Added basic PCI Interrupt Routing Table (PRT) support for IA32
10119(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
10120version supports both static and dyanmic PRT entries, but dynamic
10121entries are treated as if they were static (not yet
10122reconfigurable).  Architecture- specific code to use this data is
10123absent on IA32 but should be available shortly.
10124
10125Changed the initialization sequence to start the ACPI interpreter
10126(acpi_init) prior to initialization of the PCI driver (pci_init)
10127in init/main.c.  This ordering is required to support PRT and
10128facilitate other (future) enhancement.  A side effect is that the
10129ACPI bus driver and certain device drivers can no longer be loaded
10130as modules.
10131
10132Modified the 'make menuconfig' options to allow PCI Interrupt
10133Routing support to be included without the ACPI Bus and other
10134device drivers.
10135
10136 3) ASL Compiler, version X2033:
10137
10138Fixed some issues with the use of the new CopyObject and
10139DataTableRegion operators.  Both are fully functional.
10140
10141 ----------------------------------------
10142Summary of changes for this label: 11_20_01
10143
10144 20 November 2001.  Summary of changes for this release.
10145
10146 1) ACPI CA Core Subsystem:
10147
10148Updated Index support to match ACPI 2.0 semantics.  Storing a
10149Integer, String, or Buffer to an Index of a Buffer will store only
10150the least-significant byte of the source to the Indexed buffer
10151byte.  Multiple writes are not performed.
10152
10153Fixed a problem where the access type used in an AccessAs ASL
10154operator was not recorded correctly into the field object.
10155
10156Fixed a problem where ASL Event objects were created in a
10157signalled state. Events are now created in an unsignalled state.
10158
10159The internal object cache is now purged after table loading and
10160initialization to reduce the use of dynamic kernel memory -- on
10161the assumption that object use is greatest during the parse phase
10162of the entire table (versus the run-time use of individual control
10163methods.)
10164
10165ACPI 2.0 variable-length packages are now fully operational.
10166
10167Code and Data Size: Code and Data optimizations have permitted new
10168feature development with an actual reduction in the library size.
10169Current core subsystem library sizes are shown below.  These are
10170the code and data sizes for the acpica.lib produced by the
10171Microsoft Visual C++ 6.0 compiler, and these values do not include
10172any ACPI driver or OSPM code.  The debug version of the code
10173includes the debug output trace mechanism and has a larger code
10174and data size.  Note that these values will vary depending on the
10175efficiency of the compiler and the compiler options used during
10176generation.
10177
10178  Previous Release (11_09_01):
10179     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
10180     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
10181
10182  Current Release:
10183     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
10184     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
10185
10186 2) Linux:
10187
10188Enhanced the ACPI boot-time initialization code to allow the use
10189of Local APIC tables for processor enumeration on IA-32, and to
10190pave the way for a fully MPS-free boot (on SMP systems) in the
10191near future.  This functionality replaces
10192arch/i386/kernel/acpitables.c, which was introduced in an earlier
101932.4.15-preX release.  To enable this feature you must add
10194"acpi_boot=on" to the kernel command line -- see the help entry
10195for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
10196the works...
10197
10198Restructured the configuration options to allow boot-time table
10199parsing support without inclusion of the ACPI Interpreter (and
10200other) code.
10201
10202NOTE: This release does not include fixes for the reported events,
10203power-down, and thermal passive cooling issues (coming soon).
10204
10205 3) ASL Compiler:
10206
10207Added additional typechecking for Fields within restricted access
10208Operation Regions.  All fields within EC and CMOS regions must be
10209declared with ByteAcc. All fields withing SMBus regions must be
10210declared with the BufferAcc access type.
10211
10212Fixed a problem where the listing file output of control methods
10213no longer interleaved the actual AML code with the ASL source
10214code.
10215
10216
10217
10218
10219----------------------------------------
10220Summary of changes for this label: 11_09_01
10221
102221) ACPI CA Core Subsystem:
10223
10224Implemented ACPI 2.0-defined support for writes to fields with a
10225Buffer, String, or Integer source operand that is smaller than the
10226target field. In these cases, the source operand is zero-extended
10227to fill the target field.
10228
10229Fixed a problem where a Field starting bit offset (within the
10230parent operation region) was calculated incorrectly if the
10231
10232alignment of the field differed from the access width.  This
10233affected CreateWordField, CreateDwordField, CreateQwordField, and
10234possibly other fields that use the "AccessAny" keyword.
10235
10236Fixed a problem introduced in the 11_02_01 release where indirect
10237stores through method arguments did not operate correctly.
10238
102392) Linux:
10240
10241Implemented boot-time ACPI table parsing support
10242(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
10243facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
10244legacy BIOS interfaces (e.g. MPS) for the configuration of system
10245processors, memory, and interrupts during setup_arch().  Note that
10246this patch does not include the required architecture-specific
10247changes required to apply this information -- subsequent patches
10248will be posted for both IA32 and IA64 to achieve this.
10249
10250Added low-level sleep support for IA32 platforms, courtesy of Pat
10251Mochel. This allows IA32 systems to transition to/from various
10252sleeping states (e.g. S1, S3), although the lack of a centralized
10253driver model and power-manageable drivers will prevent its
10254(successful) use on most systems.
10255
10256Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
10257submenu, unified IA32 and IA64 options, added new "Boot using ACPI
10258tables" option, etc.
10259
10260Increased the default timeout for the EC driver from 1ms to 10ms
10261(1000 cycles of 10us) to try to address AE_TIME errors during EC
10262transactions.
10263
10264 ----------------------------------------
10265Summary of changes for this label: 11_02_01
10266
102671) ACPI CA Core Subsystem:
10268
10269ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
10270(QWordAcc keyword). All ACPI 2.0 64-bit support is now
10271implemented.
10272
10273OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
10274changes to support ACPI 2.0 Qword field access.  Read/Write
10275PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
10276accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
10277the value parameter for the address space handler interface is now
10278an ACPI_INTEGER.  OSL implementations of these interfaces must now
10279handle the case where the Width parameter is 64.
10280
10281Index Fields: Fixed a problem where unaligned bit assembly and
10282disassembly for IndexFields was not supported correctly.
10283
10284Index and Bank Fields:  Nested Index and Bank Fields are now
10285supported. During field access, a check is performed to ensure
10286that the value written to an Index or Bank register is not out of
10287the range of the register.  The Index (or Bank) register is
10288written before each access to the field data. Future support will
10289include allowing individual IndexFields to be wider than the
10290DataRegister width.
10291
10292Fields: Fixed a problem where the AML interpreter was incorrectly
10293attempting to write beyond the end of a Field/OpRegion.  This was
10294a boundary case that occurred when a DWORD field was written to a
10295BYTE access OpRegion, forcing multiple writes and causing the
10296interpreter to write one datum too many.
10297
10298Fields: Fixed a problem with Field/OpRegion access where the
10299starting bit address of a field was incorrectly calculated if the
10300current access type was wider than a byte (WordAcc, DwordAcc, or
10301QwordAcc).
10302
10303Fields: Fixed a problem where forward references to individual
10304FieldUnits (individual Field names within a Field definition) were
10305not resolved during the AML table load.
10306
10307Fields: Fixed a problem where forward references from a Field
10308definition to the parent Operation Region definition were not
10309resolved during the AML table load.
10310
10311Fields: Duplicate FieldUnit names within a scope are now detected
10312during AML table load.
10313
10314Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
10315returned an incorrect name for the root node.
10316
10317Code and Data Size: Code and Data optimizations have permitted new
10318feature development with an actual reduction in the library size.
10319Current core subsystem library sizes are shown below.  These are
10320the code and data sizes for the acpica.lib produced by the
10321Microsoft Visual C++ 6.0 compiler, and these values do not include
10322any ACPI driver or OSPM code.  The debug version of the code
10323includes the debug output trace mechanism and has a larger code
10324and data size.  Note that these values will vary depending on the
10325efficiency of the compiler and the compiler options used during
10326generation.
10327
10328  Previous Release (10_18_01):
10329     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
10330     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
10331
10332  Current Release:
10333     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
10334     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
10335
10336 2) Linux:
10337
10338Improved /proc processor output (Pavel Machek) Re-added
10339MODULE_LICENSE("GPL") to all modules.
10340
10341 3) ASL Compiler version X2030:
10342
10343Duplicate FieldUnit names within a scope are now detected and
10344flagged as errors.
10345
10346 4) Documentation:
10347
10348Programmer Reference updated to reflect OSL and address space
10349handler interface changes described above.
10350
10351----------------------------------------
10352Summary of changes for this label: 10_18_01
10353
10354ACPI CA Core Subsystem:
10355
10356Fixed a problem with the internal object reference count mechanism
10357that occasionally caused premature object deletion. This resolves
10358all of the outstanding problem reports where an object is deleted
10359in the middle of an interpreter evaluation.  Although this problem
10360only showed up in rather obscure cases, the solution to the
10361problem involved an adjustment of all reference counts involving
10362objects attached to namespace nodes.
10363
10364Fixed a problem with Field support in the interpreter where
10365writing to an aligned field whose length is an exact multiple (2
10366or greater) of the field access granularity would cause an attempt
10367to write beyond the end of the field.
10368
10369The top level AML opcode execution functions within the
10370interpreter have been renamed with a more meaningful and
10371consistent naming convention.  The modules exmonad.c and
10372exdyadic.c were eliminated.  New modules are exoparg1.c,
10373exoparg2.c, exoparg3.c, and exoparg6.c.
10374
10375Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
10376
10377Fixed a problem where the AML debugger was causing some internal
10378objects to not be deleted during subsystem termination.
10379
10380Fixed a problem with the external AcpiEvaluateObject interface
10381where the subsystem would fault if the named object to be
10382evaluated refered to a constant such as Zero, Ones, etc.
10383
10384Fixed a problem with IndexFields and BankFields where the
10385subsystem would fault if the index, data, or bank registers were
10386not defined in the same scope as the field itself.
10387
10388Added printf format string checking for compilers that support
10389this feature.  Corrected more than 50 instances of issues with
10390format specifiers within invocations of ACPI_DEBUG_PRINT
10391throughout the core subsystem code.
10392
10393The ASL "Revision" operator now returns the ACPI support level
10394implemented in the core - the value "2" since the ACPI 2.0 support
10395is more than 50% implemented.
10396
10397Enhanced the output of the AML debugger "dump namespace" command
10398to output in a more human-readable form.
10399
10400Current core subsystem library code sizes are shown below.  These
10401
10402are the code and data sizes for the acpica.lib produced by the
10403Microsoft Visual C++ 6.0 compiler, and these values do not include
10404any ACPI driver or OSPM code.  The debug version of the code
10405includes the full debug trace mechanism -- leading to a much
10406
10407larger code and data size.  Note that these values will vary
10408depending on the efficiency of the compiler and the compiler
10409options used during generation.
10410
10411     Previous Label (09_20_01):
10412     Non-Debug Version:    65K Code,     5K Data,     70K Total
10413     Debug Version:       138K Code,    58K Data,    196K Total
10414
10415     This Label:
10416
10417     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
10418     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
10419
10420Linux:
10421
10422Implemented a "Bad BIOS Blacklist" to track machines that have
10423known ASL/AML problems.
10424
10425Enhanced the /proc interface for the thermal zone driver and added
10426support for _HOT (the critical suspend trip point).  The 'info'
10427file now includes threshold/policy information, and allows setting
10428of _SCP (cooling preference) and _TZP (polling frequency) values
10429to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
10430frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
10431preference to the passive/quiet mode (if supported by the ASL).
10432
10433Implemented a workaround for a gcc bug that resuted in an OOPs
10434when loading the control method battery driver.
10435
10436 ----------------------------------------
10437Summary of changes for this label: 09_20_01
10438
10439 ACPI CA Core Subsystem:
10440
10441The AcpiEnableEvent and AcpiDisableEvent interfaces have been
10442modified to allow individual GPE levels to be flagged as wake-
10443enabled (i.e., these GPEs are to remain enabled when the platform
10444sleeps.)
10445
10446The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
10447support wake-enabled GPEs.  This means that upon entering the
10448sleep state, all GPEs that are not wake-enabled are disabled.
10449When leaving the sleep state, these GPEs are reenabled.
10450
10451A local double-precision divide/modulo module has been added to
10452enhance portability to OS kernels where a 64-bit math library is
10453not available.  The new module is "utmath.c".
10454
10455Several optimizations have been made to reduce the use of CPU
10456stack.  Originally over 2K, the maximum stack usage is now below
104572K at 1860  bytes (1.82k)
10458
10459Fixed a problem with the AcpiGetFirmwareTable interface where the
10460root table pointer was not mapped into a logical address properly.
10461
10462Fixed a problem where a NULL pointer was being dereferenced in the
10463interpreter code for the ASL Notify operator.
10464
10465Fixed a problem where the use of the ASL Revision operator
10466returned an error. This operator now returns the current version
10467of the ACPI CA core subsystem.
10468
10469Fixed a problem where objects passed as control method parameters
10470to AcpiEvaluateObject were always deleted at method termination.
10471However, these objects may end up being stored into the namespace
10472by the called method.  The object reference count mechanism was
10473applied to these objects instead of a force delete.
10474
10475Fixed a problem where static strings or buffers (contained in the
10476AML code) that are declared as package elements within the ASL
10477code could cause a fault because the interpreter would attempt to
10478delete them.  These objects are now marked with the "static
10479object" flag to prevent any attempt to delete them.
10480
10481Implemented an interpreter optimization to use operands directly
10482from the state object instead of extracting the operands to local
10483variables.  This reduces stack use and code size, and improves
10484performance.
10485
10486The module exxface.c was eliminated as it was an unnecessary extra
10487layer of code.
10488
10489Current core subsystem library code sizes are shown below.  These
10490are the code and data sizes for the acpica.lib produced by the
10491Microsoft Visual C++ 6.0 compiler, and these values do not include
10492any ACPI driver or OSPM code.  The debug version of the code
10493includes the full debug trace mechanism -- leading to a much
10494larger code and data size.  Note that these values will vary
10495depending on the efficiency of the compiler and the compiler
10496options used during generation.
10497
10498  Non-Debug Version:  65K Code,   5K Data,   70K Total
10499(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
10500Total  (Previously 195K)
10501
10502Linux:
10503
10504Support for ACPI 2.0 64-bit integers has been added.   All ACPI
10505Integer objects are now 64 bits wide
10506
10507All Acpi data types and structures are now in lower case.  Only
10508Acpi macros are upper case for differentiation.
10509
10510 Documentation:
10511
10512Changes to the external interfaces as described above.
10513
10514 ----------------------------------------
10515Summary of changes for this label: 08_31_01
10516
10517 ACPI CA Core Subsystem:
10518
10519A bug with interpreter implementation of the ASL Divide operator
10520was found and fixed.  The implicit function return value (not the
10521explicit store operands) was returning the remainder instead of
10522the quotient.  This was a longstanding bug and it fixes several
10523known outstanding issues on various platforms.
10524
10525The ACPI_DEBUG_PRINT and function trace entry/exit macros have
10526been further optimized for size.  There are 700 invocations of the
10527DEBUG_PRINT macro alone, so each optimization reduces the size of
10528the debug version of the subsystem significantly.
10529
10530A stack trace mechanism has been implemented.  The maximum stack
10531usage is about 2K on 32-bit platforms.  The debugger command "stat
10532stack" will display the current maximum stack usage.
10533
10534All public symbols and global variables within the subsystem are
10535now prefixed with the string "Acpi".  This keeps all of the
10536symbols grouped together in a kernel map, and avoids conflicts
10537with other kernel subsystems.
10538
10539Most of the internal fixed lookup tables have been moved into the
10540code segment via the const operator.
10541
10542Several enhancements have been made to the interpreter to both
10543reduce the code size and improve performance.
10544
10545Current core subsystem library code sizes are shown below.  These
10546are the code and data sizes for the acpica.lib produced by the
10547Microsoft Visual C++ 6.0 compiler, and these values do not include
10548any ACPI driver or OSPM code.  The debug version of the code
10549includes the full debug trace mechanism which contains over 700
10550invocations of the DEBUG_PRINT macro, 500 function entry macro
10551invocations, and over 900 function exit macro invocations --
10552leading to a much larger code and data size.  Note that these
10553values will vary depending on the efficiency of the compiler and
10554the compiler options used during generation.
10555
10556        Non-Debug Version:  64K Code,   5K Data,   69K Total
10557Debug Version:     137K Code,  58K Data,  195K Total
10558
10559 Linux:
10560
10561Implemented wbinvd() macro, pending a kernel-wide definition.
10562
10563Fixed /proc/acpi/event to handle poll() and short reads.
10564
10565 ASL Compiler, version X2026:
10566
10567Fixed a problem introduced in the previous label where the AML
10568
10569code emitted for package objects produced packages with zero
10570length.
10571
10572 ----------------------------------------
10573Summary of changes for this label: 08_16_01
10574
10575ACPI CA Core Subsystem:
10576
10577The following ACPI 2.0 ASL operators have been implemented in the
10578AML interpreter (These are already supported by the Intel ASL
10579compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
10580ToBuffer.  Support for 64-bit AML constants is implemented in the
10581AML parser, debugger, and disassembler.
10582
10583The internal memory tracking mechanism (leak detection code) has
10584been upgraded to reduce the memory overhead (a separate tracking
10585block is no longer allocated for each memory allocation), and now
10586supports all of the internal object caches.
10587
10588The data structures and code for the internal object caches have
10589been coelesced and optimized so that there is a single cache and
10590memory list data structure and a single group of functions that
10591implement generic cache management.  This has reduced the code
10592size in both the debug and release versions of the subsystem.
10593
10594The DEBUG_PRINT macro(s) have been optimized for size and replaced
10595by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
10596different, because it generates a single call to an internal
10597function.  This results in a savings of about 90 bytes per
10598invocation, resulting in an overall code and data savings of about
1059916% in the debug version of the subsystem.
10600
10601 Linux:
10602
10603Fixed C3 disk corruption problems and re-enabled C3 on supporting
10604machines.
10605
10606Integrated low-level sleep code by Patrick Mochel.
10607
10608Further tweaked source code Linuxization.
10609
10610Other minor fixes.
10611
10612 ASL Compiler:
10613
10614Support for ACPI 2.0 variable length packages is fixed/completed.
10615
10616Fixed a problem where the optional length parameter for the ACPI
106172.0 ToString operator.
10618
10619Fixed multiple extraneous error messages when a syntax error is
10620detected within the declaration line of a control method.
10621
10622 ----------------------------------------
10623Summary of changes for this label: 07_17_01
10624
10625ACPI CA Core Subsystem:
10626
10627Added a new interface named AcpiGetFirmwareTable to obtain any
10628ACPI table via the ACPI signature.  The interface can be called at
10629any time during kernel initialization, even before the kernel
10630virtual memory manager is initialized and paging is enabled.  This
10631allows kernel subsystems to obtain ACPI tables very early, even
10632before the ACPI CA subsystem is initialized.
10633
10634Fixed a problem where Fields defined with the AnyAcc attribute
10635could be resolved to the incorrect address under the following
10636conditions: 1) the field width is larger than 8 bits and 2) the
10637parent operation region is not defined on a DWORD boundary.
10638
10639Fixed a problem where the interpreter is not being locked during
10640namespace initialization (during execution of the _INI control
10641methods), causing an error when an attempt is made to release it
10642later.
10643
10644ACPI 2.0 support in the AML Interpreter has begun and will be
10645ongoing throughout the rest of this year.  In this label, The Mod
10646operator is implemented.
10647
10648Added a new data type to contain full PCI addresses named
10649ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
10650and Function values.
10651
10652 Linux:
10653
10654Enhanced the Linux version of the source code to change most
10655capitalized ACPI type names to lowercase. For example, all
10656instances of ACPI_STATUS are changed to acpi_status.  This will
10657result in a large diff, but the change is strictly cosmetic and
10658aligns the CA code closer to the Linux coding standard.
10659
10660OSL Interfaces:
10661
10662The interfaces to the PCI configuration space have been changed to
10663add the PCI Segment number and to split the single 32-bit combined
10664DeviceFunction field into two 16-bit fields.  This was
10665accomplished by moving the four values that define an address in
10666PCI configuration space (segment, bus, device, and function) to
10667the new ACPI_PCI_ID structure.
10668
10669The changes to the PCI configuration space interfaces led to a
10670reexamination of the complete set of address space access
10671interfaces for PCI, I/O, and Memory.  The previously existing 18
10672interfaces have proven difficult to maintain (any small change
10673must be propagated across at least 6 interfaces) and do not easily
10674allow for future expansion to 64 bits if necessary.  Also, on some
10675systems, it would not be appropriate to demultiplex the access
10676width (8, 16, 32,or 64) before calling the OSL if the
10677corresponding native OS interfaces contain a similar access width
10678parameter.  For these reasons, the 18 address space interfaces
10679have been replaced by these 6 new ones:
10680
10681AcpiOsReadPciConfiguration
10682AcpiOsWritePciConfiguration
10683AcpiOsReadMemory
10684AcpiOsWriteMemory
10685AcpiOsReadPort
10686AcpiOsWritePort
10687
10688Added a new interface named AcpiOsGetRootPointer to allow the OSL
10689to perform the platform and/or OS-specific actions necessary to
10690obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
10691interface will simply call down to the CA core to perform the low-
10692memory search for the table.  On IA-64, the RSDP is obtained from
10693EFI.  Migrating this interface to the OSL allows the CA core to
10694
10695remain OS and platform independent.
10696
10697Added a new interface named AcpiOsSignal to provide a generic
10698"function code and pointer" interface for various miscellaneous
10699signals and notifications that must be made to the host OS.   The
10700first such signals are intended to support the ASL Fatal and
10701Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
10702interface has been obsoleted.
10703
10704The definition of the AcpiFormatException interface has been
10705changed to simplify its use.  The caller no longer must supply a
10706buffer to the call; A pointer to a const string is now returned
10707directly.  This allows the call to be easily used in printf
10708statements, etc. since the caller does not have to manage a local
10709buffer.
10710
10711
10712 ASL Compiler, Version X2025:
10713
10714The ACPI 2.0 Switch/Case/Default operators have been implemented
10715and are fully functional.  They will work with all ACPI 1.0
10716interpreters, since the operators are simply translated to If/Else
10717pairs.
10718
10719The ACPI 2.0 ElseIf operator is implemented and will also work
10720with 1.0 interpreters, for the same reason.
10721
10722Implemented support for ACPI 2.0 variable-length packages.  These
10723packages have a separate opcode, and their size is determined by
10724the interpreter at run-time.
10725
10726Documentation The ACPI CA Programmer Reference has been updated to
10727reflect the new interfaces and changes to existing interfaces.
10728
10729 ------------------------------------------
10730Summary of changes for this label: 06_15_01
10731
10732 ACPI CA Core Subsystem:
10733
10734Fixed a problem where a DWORD-accessed field within a Buffer
10735object would get its byte address inadvertently rounded down to
10736the nearest DWORD.  Buffers are always Byte-accessible.
10737
10738 ASL Compiler, version X2024:
10739
10740Fixed a problem where the Switch() operator would either fault or
10741hang the compiler.  Note however, that the AML code for this ACPI
107422.0 operator is not yet implemented.
10743
10744Compiler uses the new AcpiOsGetTimer interface to obtain compile
10745timings.
10746
10747Implementation of the CreateField operator automatically converts
10748a reference to a named field within a resource descriptor from a
10749byte offset to a bit offset if required.
10750
10751Added some missing named fields from the resource descriptor
10752support. These are the names that are automatically created by the
10753compiler to reference fields within a descriptor.  They are only
10754valid at compile time and are not passed through to the AML
10755interpreter.
10756
10757Resource descriptor named fields are now typed as Integers and
10758subject to compile-time typechecking when used in expressions.
10759
10760 ------------------------------------------
10761Summary of changes for this label: 05_18_01
10762
10763 ACPI CA Core Subsystem:
10764
10765Fixed a couple of problems in the Field support code where bits
10766from adjacent fields could be returned along with the proper field
10767bits. Restructured the field support code to improve performance,
10768readability and maintainability.
10769
10770New DEBUG_PRINTP macro automatically inserts the procedure name
10771into the output, saving hundreds of copies of procedure name
10772strings within the source, shrinking the memory footprint of the
10773debug version of the core subsystem.
10774
10775 Source Code Structure:
10776
10777The source code directory tree was restructured to reflect the
10778current organization of the component architecture.  Some files
10779and directories have been moved and/or renamed.
10780
10781 Linux:
10782
10783Fixed leaking kacpidpc processes.
10784
10785Fixed queueing event data even when /proc/acpi/event is not
10786opened.
10787
10788 ASL Compiler, version X2020:
10789
10790Memory allocation performance enhancement - over 24X compile time
10791improvement on large ASL files.  Parse nodes and namestring
10792buffers are now allocated from a large internal compiler buffer.
10793
10794The temporary .SRC file is deleted unless the "-s" option is
10795specified
10796
10797The "-d" debug output option now sends all output to the .DBG file
10798instead of the console.
10799
10800"External" second parameter is now optional
10801
10802"ElseIf" syntax now properly allows the predicate
10803
10804Last operand to "Load" now recognized as a Target operand
10805
10806Debug object can now be used anywhere as a normal object.
10807
10808ResourceTemplate now returns an object of type BUFFER
10809
10810EISAID now returns an object of type INTEGER
10811
10812"Index" now works with a STRING operand
10813
10814"LoadTable" now accepts optional parameters
10815
10816"ToString" length parameter is now optional
10817
10818"Interrupt (ResourceType," parse error fixed.
10819
10820"Register" with a user-defined region space parse error fixed
10821
10822Escaped backslash at the end of a string ("\\") scan/parse error
10823fixed
10824
10825"Revision" is now an object of type INTEGER.
10826
10827
10828
10829------------------------------------------
10830Summary of changes for this label: 05_02_01
10831
10832Linux:
10833
10834/proc/acpi/event now blocks properly.
10835
10836Removed /proc/sys/acpi. You can still dump your DSDT from
10837/proc/acpi/dsdt.
10838
10839 ACPI CA Core Subsystem:
10840
10841Fixed a problem introduced in the previous label where some of the
10842"small" resource descriptor types were not recognized.
10843
10844Improved error messages for the case where an ASL Field is outside
10845the range of the parent operation region.
10846
10847 ASL Compiler, version X2018:
10848
10849
10850Added error detection for ASL Fields that extend beyond the length
10851of the parent operation region (only if the length of the region
10852is known at compile time.)  This includes fields that have a
10853minimum access width that is smaller than the parent region, and
10854individual field units that are partially or entirely beyond the
10855extent of the parent.
10856
10857
10858
10859------------------------------------------
10860Summary of changes for this label: 04_27_01
10861
10862 ACPI CA Core Subsystem:
10863
10864Fixed a problem where the namespace mutex could be released at the
10865wrong time during execution of AcpiRemoveAddressSpaceHandler.
10866
10867Added optional thread ID output for debug traces, to simplify
10868debugging of multiple threads.  Added context switch notification
10869when the debug code realizes that a different thread is now
10870executing ACPI code.
10871
10872Some additional external data types have been prefixed with the
10873string "ACPI_" for consistency.  This may effect existing code.
10874The data types affected are the external callback typedefs - e.g.,
10875
10876WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
10877
10878 Linux:
10879
10880Fixed an issue with the OSL semaphore implementation where a
10881thread was waking up with an error from receiving a SIGCHLD
10882signal.
10883
10884Linux version of ACPI CA now uses the system C library for string
10885manipulation routines instead of a local implementation.
10886
10887Cleaned up comments and removed TBDs.
10888
10889 ASL Compiler, version X2017:
10890
10891Enhanced error detection and reporting for all file I/O
10892operations.
10893
10894 Documentation:
10895
10896Programmer Reference updated to version 1.06.
10897
10898
10899
10900------------------------------------------
10901Summary of changes for this label: 04_13_01
10902
10903 ACPI CA Core Subsystem:
10904
10905Restructured support for BufferFields and RegionFields.
10906BankFields support is now fully operational.  All known 32-bit
10907limitations on field sizes have been removed.  Both BufferFields
10908and (Operation) RegionFields are now supported by the same field
10909management code.
10910
10911Resource support now supports QWORD address and IO resources. The
1091216/32/64 bit address structures and the Extended IRQ structure
10913have been changed to properly handle Source Resource strings.
10914
10915A ThreadId of -1 is now used to indicate a "mutex not acquired"
10916condition internally and must never be returned by AcpiOsThreadId.
10917This reserved value was changed from 0 since Unix systems allow a
10918thread ID of 0.
10919
10920Linux:
10921
10922Driver code reorganized to enhance portability
10923
10924Added a kernel configuration option to control ACPI_DEBUG
10925
10926Fixed the EC driver to honor _GLK.
10927
10928ASL Compiler, version X2016:
10929
10930Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
10931address space was set to 0, not 0x7f as it should be.
10932
10933 ------------------------------------------
10934Summary of changes for this label: 03_13_01
10935
10936 ACPI CA Core Subsystem:
10937
10938During ACPI initialization, the _SB_._INI method is now run if
10939present.
10940
10941Notify handler fix - notifies are deferred until the parent method
10942completes execution.  This fixes the "mutex already acquired"
10943issue seen occasionally.
10944
10945Part of the "implicit conversion" rules in ACPI 2.0 have been
10946found to cause compatibility problems with existing ASL/AML.  The
10947convert "result-to-target-type" implementation has been removed
10948for stores to method Args and Locals.  Source operand conversion
10949is still fully implemented.  Possible changes to ACPI 2.0
10950specification pending.
10951
10952Fix to AcpiRsCalculatePciRoutingTableLength to return correct
10953length.
10954
10955Fix for compiler warnings for 64-bit compiles.
10956
10957 Linux:
10958
10959/proc output aligned for easier parsing.
10960
10961Release-version compile problem fixed.
10962
10963New kernel configuration options documented in Configure.help.
10964
10965IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10966context" message.
10967
10968 OSPM:
10969
10970Power resource driver integrated with bus manager.
10971
10972Fixed kernel fault during active cooling for thermal zones.
10973
10974Source Code:
10975
10976The source code tree has been restructured.
10977
10978
10979
10980------------------------------------------
10981Summary of changes for this label: 03_02_01
10982
10983 Linux OS Services Layer (OSL):
10984
10985Major revision of all Linux-specific code.
10986
10987Modularized all ACPI-specific drivers.
10988
10989Added new thermal zone and power resource drivers.
10990
10991Revamped /proc interface (new functionality is under /proc/acpi).
10992
10993New kernel configuration options.
10994
10995 Linux known issues:
10996
10997New kernel configuration options not documented in Configure.help
10998yet.
10999
11000
11001Module dependencies not currently implemented. If used, they
11002should be loaded in this order: busmgr, power, ec, system,
11003processor, battery, ac_adapter, button, thermal.
11004
11005Modules will not load if CONFIG_MODVERSION is set.
11006
11007IBM 600E - entering S5 may reboot instead of shutting down.
11008
11009IBM 600E - Sleep button may generate "Invalid <NULL> context"
11010message.
11011
11012Some systems may fail with "execution mutex already acquired"
11013message.
11014
11015 ACPI CA Core Subsystem:
11016
11017Added a new OSL Interface, AcpiOsGetThreadId.  This was required
11018for the  deadlock detection code. Defined to return a non-zero, 32-
11019bit thread ID for the currently executing thread.  May be a non-
11020zero constant integer on single-thread systems.
11021
11022Implemented deadlock detection for internal subsystem mutexes.  We
11023may add conditional compilation for this code (debug only) later.
11024
11025ASL/AML Mutex object semantics are now fully supported.  This
11026includes multiple acquires/releases by owner and support for the
11027
11028Mutex SyncLevel parameter.
11029
11030A new "Force Release" mechanism automatically frees all ASL
11031Mutexes that have been acquired but not released when a thread
11032exits the interpreter.  This forces conformance to the ACPI spec
11033("All mutexes must be released when an invocation exits") and
11034prevents deadlocked ASL threads.  This mechanism can be expanded
11035(later) to monitor other resource acquisitions if OEM ASL code
11036continues to misbehave (which it will).
11037
11038Several new ACPI exception codes have been added for the Mutex
11039support.
11040
11041Recursive method calls are now allowed and supported (the ACPI
11042spec does in fact allow recursive method calls.)  The number of
11043recursive calls is subject to the restrictions imposed by the
11044SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
11045parameter.
11046
11047Implemented support for the SyncLevel parameter for control
11048methods (ACPI 2.0 feature)
11049
11050Fixed a deadlock problem when multiple threads attempted to use
11051the interpreter.
11052
11053Fixed a problem where the string length of a String package
11054element was not always set in a package returned from
11055AcpiEvaluateObject.
11056
11057Fixed a problem where the length of a String package element was
11058not always included in the length of the overall package returned
11059from AcpiEvaluateObject.
11060
11061Added external interfaces (Acpi*) to the ACPI debug memory
11062manager.  This manager keeps a list of all outstanding
11063allocations, and can therefore detect memory leaks and attempts to
11064free memory blocks more than once. Useful for code such as the
11065power manager, etc.  May not be appropriate for device drivers.
11066Performance with the debug code enabled is slow.
11067
11068The ACPI Global Lock is now an optional hardware element.
11069
11070 ASL Compiler Version X2015:
11071
11072Integrated changes to allow the compiler to be generated on
11073multiple platforms.
11074
11075Linux makefile added to generate the compiler on Linux
11076
11077 Source Code:
11078
11079All platform-specific headers have been moved to their own
11080subdirectory, Include/Platform.
11081
11082New source file added, Interpreter/ammutex.c
11083
11084New header file, Include/acstruct.h
11085
11086 Documentation:
11087
11088The programmer reference has been updated for the following new
11089interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
11090
11091 ------------------------------------------
11092Summary of changes for this label: 02_08_01
11093
11094Core ACPI CA Subsystem: Fixed a problem where an error was
11095incorrectly returned if the return resource buffer was larger than
11096the actual data (in the resource interfaces).
11097
11098References to named objects within packages are resolved to the
11099
11100full pathname string before packages are returned directly (via
11101the AcpiEvaluateObject interface) or indirectly via the resource
11102interfaces.
11103
11104Linux OS Services Layer (OSL):
11105
11106Improved /proc battery interface.
11107
11108
11109Added C-state debugging output and other miscellaneous fixes.
11110
11111ASL Compiler Version X2014:
11112
11113All defined method arguments can now be used as local variables,
11114including the ones that are not actually passed in as parameters.
11115The compiler tracks initialization of the arguments and issues an
11116exception if they are used without prior assignment (just like
11117locals).
11118
11119The -o option now specifies a filename prefix that is used for all
11120output files, including the AML output file.  Otherwise, the
11121default behavior is as follows:  1) the AML goes to the file
11122specified in the DSDT.  2) all other output files use the input
11123source filename as the base.
11124
11125 ------------------------------------------
11126Summary of changes for this label: 01_25_01
11127
11128Core ACPI CA Subsystem: Restructured the implementation of object
11129store support within the  interpreter.  This includes support for
11130the Store operator as well  as any ASL operators that include a
11131target operand.
11132
11133Partially implemented support for Implicit Result-to-Target
11134conversion. This is when a result object is converted on the fly
11135to the type of  an existing target object.  Completion of this
11136support is pending  further analysis of the ACPI specification
11137concerning this matter.
11138
11139CPU-specific code has been removed from the subsystem (hardware
11140directory).
11141
11142New Power Management Timer functions added
11143
11144Linux OS Services Layer (OSL): Moved system state transition code
11145to the core, fixed it, and modified  Linux OSL accordingly.
11146
11147Fixed C2 and C3 latency calculations.
11148
11149
11150We no longer use the compilation date for the version message on
11151initialization, but retrieve the version from AcpiGetSystemInfo().
11152
11153Incorporated for fix Sony VAIO machines.
11154
11155Documentation:  The Programmer Reference has been updated and
11156reformatted.
11157
11158
11159ASL Compiler:  Version X2013: Fixed a problem where the line
11160numbering and error reporting could get out  of sync in the
11161presence of multiple include files.
11162
11163 ------------------------------------------
11164Summary of changes for this label: 01_15_01
11165
11166Core ACPI CA Subsystem:
11167
11168Implemented support for type conversions in the execution of the
11169ASL  Concatenate operator (The second operand is converted to
11170match the type  of the first operand before concatenation.)
11171
11172Support for implicit source operand conversion is partially
11173implemented.   The ASL source operand types Integer, Buffer, and
11174String are freely  interchangeable for most ASL operators and are
11175converted by the interpreter  on the fly as required.  Implicit
11176Target operand conversion (where the  result is converted to the
11177target type before storing) is not yet implemented.
11178
11179Support for 32-bit and 64-bit BCD integers is implemented.
11180
11181Problem fixed where a field read on an aligned field could cause a
11182read  past the end of the field.
11183
11184New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
11185does not return a value, but the caller expects one.  (The ASL
11186compiler flags this as a warning.)
11187
11188ASL Compiler:
11189
11190Version X2011:
111911. Static typechecking of all operands is implemented. This
11192prevents the use of invalid objects (such as using a Package where
11193an Integer is required) at compile time instead of at interpreter
11194run-time.
111952. The ASL source line is printed with ALL errors and warnings.
111963. Bug fix for source EOF without final linefeed.
111974. Debug option is split into a parse trace and a namespace trace.
111985. Namespace output option (-n) includes initial values for
11199integers and strings.
112006. Parse-only option added for quick syntax checking.
112017. Compiler checks for duplicate ACPI name declarations
11202
11203Version X2012:
112041. Relaxed typechecking to allow interchangeability between
11205strings, integers, and buffers.  These types are now converted by
11206the interpreter at runtime.
112072. Compiler reports time taken by each internal subsystem in the
11208debug         output file.
11209
11210
11211 ------------------------------------------
11212Summary of changes for this label: 12_14_00
11213
11214ASL Compiler:
11215
11216This is the first official release of the compiler. Since the
11217compiler requires elements of the Core Subsystem, this label
11218synchronizes everything.
11219
11220------------------------------------------
11221Summary of changes for this label: 12_08_00
11222
11223
11224Fixed a problem where named references within the ASL definition
11225of both OperationRegions and CreateXXXFields did not work
11226properly.  The symptom was an AE_AML_OPERAND_TYPE during
11227initialization of the region/field. This is similar (but not
11228related internally) to the problem that was fixed in the last
11229label.
11230
11231Implemented both 32-bit and 64-bit support for the BCD ASL
11232functions ToBCD and FromBCD.
11233
11234Updated all legal headers to include "2000" in the copyright
11235years.
11236
11237 ------------------------------------------
11238Summary of changes for this label: 12_01_00
11239
11240Fixed a problem where method invocations within the ASL definition
11241of both OperationRegions and CreateXXXFields did not work
11242properly.  The symptom was an AE_AML_OPERAND_TYPE during
11243initialization of the region/field:
11244
11245  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
11246[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
11247(0x3005)
11248
11249Fixed a problem where operators with more than one nested
11250subexpression would fail.  The symptoms were varied, by mostly
11251AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
11252problem that has gone unnoticed until now.
11253
11254  Subtract (Add (1,2), Multiply (3,4))
11255
11256Fixed a problem where AcpiGetHandle didn't quite get fixed in the
11257previous build (The prefix part of a relative path was handled
11258incorrectly).
11259
11260Fixed a problem where Operation Region initialization failed if
11261the operation region name was a "namepath" instead of a simple
11262"nameseg". Symptom was an AE_NO_OPERAND error.
11263
11264Fixed a problem where an assignment to a local variable via the
11265indirect RefOf mechanism only worked for the first such
11266assignment.  Subsequent assignments were ignored.
11267
11268 ------------------------------------------
11269Summary of changes for this label: 11_15_00
11270
11271ACPI 2.0 table support with backwards support for ACPI 1.0 and the
112720.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
11273the AML  interpreter does NOT have support for the new 2.0 ASL
11274grammar terms at this time.
11275
11276All ACPI hardware access is via the GAS structures in the ACPI 2.0
11277FADT.
11278
11279All physical memory addresses across all platforms are now 64 bits
11280wide. Logical address width remains dependent on the platform
11281(i.e., "void *").
11282
11283AcpiOsMapMemory interface changed to a 64-bit physical address.
11284
11285The AML interpreter integer size is now 64 bits, as per the ACPI
112862.0 specification.
11287
11288For backwards compatibility with ACPI 1.0, ACPI tables with a
11289revision number less than 2 use 32-bit integers only.
11290
11291Fixed a problem where the evaluation of OpRegion operands did not
11292always resolve them to numbers properly.
11293
11294------------------------------------------
11295Summary of changes for this label: 10_20_00
11296
11297Fix for CBN_._STA issue.  This fix will allow correct access to
11298CBN_ OpRegions when the _STA returns 0x8.
11299
11300Support to convert ACPI constants (Ones, Zeros, One) to actual
11301values before a package object is returned
11302
11303Fix for method call as predicate to if/while construct causing
11304incorrect if/while behavior
11305
11306Fix for Else block package lengths sometimes calculated wrong (if
11307block > 63 bytes)
11308
11309Fix for Processor object length field, was always zero
11310
11311Table load abort if FACP sanity check fails
11312
11313Fix for problem with Scope(name) if name already exists
11314
11315Warning emitted if a named object referenced cannot be found
11316(resolved) during method execution.
11317
11318
11319
11320
11321
11322------------------------------------------
11323Summary of changes for this label: 9_29_00
11324
11325New table initialization interfaces: AcpiInitializeSubsystem no
11326longer has any parameters AcpiFindRootPointer - Find the RSDP (if
11327necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
11328>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
11329AcpiLoadTables
11330
11331Note: These interface changes require changes to all existing OSDs
11332
11333The PCI_Config default address space handler is always installed
11334at the root namespace object.
11335
11336-------------------------------------------
11337Summary of changes for this label: 09_15_00
11338
11339The new initialization architecture is implemented.  New
11340interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
11341AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
11342
11343(Namespace is automatically loaded when a table is loaded)
11344
11345The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1134652 bytes to 32 bytes.  There is usually one of these for every
11347namespace object, so the memory savings is significant.
11348
11349Implemented just-in-time evaluation of the CreateField operators.
11350
11351Bug fixes for IA-64 support have been integrated.
11352
11353Additional code review comments have been implemented
11354
11355The so-called "third pass parse" has been replaced by a final walk
11356through the namespace to initialize all operation regions (address
11357spaces) and fields that have not yet been initialized during the
11358execution of the various _INI and REG methods.
11359
11360New file - namespace/nsinit.c
11361
11362-------------------------------------------
11363Summary of changes for this label: 09_01_00
11364
11365Namespace manager data structures have been reworked to change the
11366primary  object from a table to a single object.  This has
11367resulted in dynamic memory  savings of 3X within the namespace and
113682X overall in the ACPI CA subsystem.
11369
11370Fixed problem where the call to AcpiEvFindPciRootBuses was
11371inadvertently left  commented out.
11372
11373Reduced the warning count when generating the source with the GCC
11374compiler.
11375
11376Revision numbers added to each module header showing the
11377SourceSafe version of the file.  Please refer to this version
11378number when giving us feedback or comments on individual modules.
11379
11380The main object types within the subsystem have been renamed to
11381clarify their  purpose:
11382
11383ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
11384ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
11385ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
11386
11387NOTE: no changes to the initialization sequence are included in
11388this label.
11389
11390-------------------------------------------
11391Summary of changes for this label: 08_23_00
11392
11393Fixed problem where TerminateControlMethod was being called
11394multiple times per  method
11395
11396Fixed debugger problem where single stepping caused a semaphore to
11397be  oversignalled
11398
11399Improved performance through additional parse object caching -
11400added  ACPI_EXTENDED_OP type
11401
11402-------------------------------------------
11403Summary of changes for this label: 08_10_00
11404
11405Parser/Interpreter integration:  Eliminated the creation of
11406complete parse trees  for ACPI tables and control methods.
11407Instead, parse subtrees are created and  then deleted as soon as
11408they are processed (Either entered into the namespace or  executed
11409by the interpreter).  This reduces the use of dynamic kernel
11410memory  significantly. (about 10X)
11411
11412Exception codes broken into classes and renumbered.  Be sure to
11413recompile all  code that includes acexcep.h.  Hopefully we won't
11414have to renumber the codes  again now that they are split into
11415classes (environment, programmer, AML code,  ACPI table, and
11416internal).
11417
11418Fixed some additional alignment issues in the Resource Manager
11419subcomponent
11420
11421Implemented semaphore tracking in the AcpiExec utility, and fixed
11422several places  where mutexes/semaphores were being unlocked
11423without a corresponding lock  operation.  There are no known
11424semaphore or mutex "leaks" at this time.
11425
11426Fixed the case where an ASL Return operator is used to return an
11427unnamed  package.
11428
11429-------------------------------------------
11430Summary of changes for this label: 07_28_00
11431
11432Fixed a problem with the way addresses were calculated in
11433AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
11434manifested itself when a Field was  created with WordAccess or
11435DwordAccess, but the field unit defined within the  Field was less
11436
11437than a Word or Dword.
11438
11439Fixed a problem in AmlDumpOperands() module's loop to pull
11440operands off of the  operand stack to display information. The
11441problem manifested itself as a TLB  error on 64-bit systems when
11442accessing an operand stack with two or more  operands.
11443
11444Fixed a problem with the PCI configuration space handlers where
11445context was  getting confused between accesses. This required a
11446change to the generic address  space handler and address space
11447setup definitions. Handlers now get both a  global handler context
11448(this is the one passed in by the user when executing
11449AcpiInstallAddressSpaceHandler() and a specific region context
11450that is unique to  each region (For example, the _ADR, _SEG and
11451_BBN values associated with a  specific region). The generic
11452function definitions have changed to the  following:
11453
11454typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
11455UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
11456*HandlerContext, // This used to be void *Context void
11457*RegionContext); // This is an additional parameter
11458
11459typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
11460RegionHandle, UINT32 Function, void *HandlerContext,  void
11461**RegionContext); // This used to be **ReturnContext
11462
11463-------------------------------------------
11464Summary of changes for this label: 07_21_00
11465
11466Major file consolidation and rename.  All files within the
11467interpreter have been  renamed as well as most header files.  This
11468was done to prevent collisions with  existing files in the host
11469OSs -- filenames such as "config.h" and "global.h"  seem to be
11470quite common.  The VC project files have been updated.  All
11471makefiles  will require modification.
11472
11473The parser/interpreter integration continues in Phase 5 with the
11474implementation  of a complete 2-pass parse (the AML is parsed
11475twice) for each table;  This  avoids the construction of a huge
11476parse tree and therefore reduces the amount of  dynamic memory
11477required by the subsystem.  Greater use of the parse object cache
11478means that performance is unaffected.
11479
11480Many comments from the two code reviews have been rolled in.
11481
11482The 64-bit alignment support is complete.
11483
11484-------------------------------------------
11485Summary of changes for this label: 06_30_00
11486
11487With a nod and a tip of the hat to the technology of yesteryear,
11488we've added  support in the source code for 80 column output
11489devices.  The code is now mostly  constrained to 80 columns or
11490less to support environments and editors that 1)  cannot display
11491or print more than 80 characters on a single line, and 2) cannot
11492disable line wrapping.
11493
11494A major restructuring of the namespace data structure has been
11495completed.  The  result is 1) cleaner and more
11496understandable/maintainable code, and 2) a  significant reduction
11497in the dynamic memory requirement for each named ACPI  object
11498(almost half).
11499
11500-------------------------------------------
11501Summary of changes for this label: 06_23_00
11502
11503Linux support has been added.  In order to obtain approval to get
11504the ACPI CA  subsystem into the Linux kernel, we've had to make
11505quite a few changes to the  base subsystem that will affect all
11506users (all the changes are generic and OS- independent).  The
11507effects of these global changes have been somewhat far  reaching.
11508Files have been merged and/or renamed and interfaces have been
11509renamed.   The major changes are described below.
11510
11511Osd* interfaces renamed to AcpiOs* to eliminate namespace
11512pollution/confusion  within our target kernels.  All OSD
11513interfaces must be modified to match the new  naming convention.
11514
11515Files merged across the subsystem.  A number of the smaller source
11516and header  files have been merged to reduce the file count and
11517increase the density of the  existing files.  There are too many
11518to list here.  In general, makefiles that  call out individual
11519files will require rebuilding.
11520
11521Interpreter files renamed.  All interpreter files now have the
11522prefix am*  instead of ie* and is*.
11523
11524Header files renamed:  The acapi.h file is now acpixf.h.  The
11525acpiosd.h file is  now acpiosxf.h.  We are removing references to
11526the acronym "API" since it is  somewhat windowsy. The new name is
11527"external interface" or xface or xf in the  filenames.j
11528
11529
11530All manifest constants have been forced to upper case (some were
11531mixed case.)   Also, the string "ACPI_" has been prepended to many
11532(not all) of the constants,  typedefs, and structs.
11533
11534The globals "DebugLevel" and "DebugLayer" have been renamed
11535"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
11536
11537All other globals within the subsystem are now prefixed with
11538"AcpiGbl_" Internal procedures within the subsystem are now
11539prefixed with "Acpi" (with only  a few exceptions).  The original
11540two-letter abbreviation for the subcomponent  remains after "Acpi"
11541- for example, CmCallocate became AcpiCmCallocate.
11542
11543Added a source code translation/conversion utility.  Used to
11544generate the Linux  source code, it can be modified to generate
11545other types of source as well. Can  also be used to cleanup
11546existing source by removing extraneous spaces and blank  lines.
11547Found in tools/acpisrc/*
11548
11549OsdUnMapMemory was renamed to OsdUnmapMemory and then
11550AcpiOsUnmapMemory.  (UnMap  became Unmap).
11551
11552A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
11553When set to  one, this indicates that the caller wants to use the
11554
11555semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
11556both types.  However, implementers of this  call may want to use
11557different OS primitives depending on the type of semaphore
11558requested.  For example, some operating systems provide separate
11559
11560"mutex" and  "semaphore" interfaces - where the mutex interface is
11561much faster because it  doesn't have all the overhead of a full
11562semaphore implementation.
11563
11564Fixed a deadlock problem where a method that accesses the PCI
11565address space can  block forever if it is the first access to the
11566space.
11567
11568-------------------------------------------
11569Summary of changes for this label: 06_02_00
11570
11571Support for environments that cannot handle unaligned data
11572accesses (e.g.  firmware and OS environments devoid of alignment
11573handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
11574been added (via configurable macros) in  these three areas: -
11575Transfer of data from the raw AML byte stream is done via byte
11576moves instead of    word/dword/qword moves. - External objects are
11577aligned within the user buffer, including package   elements (sub-
11578objects). - Conversion of name strings to UINT32 Acpi Names is now
11579done byte-wise.
11580
11581The Store operator was modified to mimic Microsoft's
11582implementation when storing  to a Buffer Field.
11583
11584Added a check of the BM_STS bit before entering C3.
11585
11586The methods subdirectory has been obsoleted and removed.  A new
11587file, cmeval.c  subsumes the functionality.
11588
11589A 16-bit (DOS) version of AcpiExec has been developed.  The
11590makefile is under  the acpiexec directory.
11591