changes.txt revision 249112
1168515Sgshapiro----------------------------------------
2168515Sgshapiro28 March 2013. Summary of changes for version 20130328:
3168515Sgshapiro
4132943Sgshapiro1) ACPICA kernel-resident subsystem:
5266692Sgshapiro
6132943SgshapiroFixed several possible race conditions with the internal object reference 
7168515Sgshapirocounting mechanism. Some of the external ACPICA interfaces update object 
890792Sgshapiroreference counts without holding the interpreter or namespace lock. This 
9168515Sgshapirochange adds a spinlock to protect reference count updates on the internal 
1090792SgshapiroACPICA objects. Reported by and with assistance from Andriy Gapon 
11168515Sgshapiro(avg@FreeBSD.org).
12168515Sgshapiro
1390792SgshapiroFADT support: Removed an extraneous warning for very large GPE register 
1490792Sgshapirosets. This change removes a size mismatch warning if the legacy length 
1590792Sgshapirofield for a GPE register set is larger than the 64-bit GAS structure can 
1690792Sgshapiroaccommodate. GPE register sets can be larger than the 255-bit width 
1790792Sgshapirolimitation of the GAS structure. Linn Crosetto (linn@hp.com).
18168515Sgshapiro
1990792Sgshapiro_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
20168515Sgshapiroreturn from this interface. Handles a possible timeout case if 
2190792SgshapiroACPI_WAIT_FOREVER is modified by the host to be a value less than 
2290792Sgshapiro"forever". Jung-uk Kim.
23168515Sgshapiro
24168515SgshapiroPredefined name support: Add allowed/required argument type information to 
25168515Sgshapirothe master predefined info table. This change adds the infrastructure to 
26168515Sgshapiroenable typechecking on incoming arguments for all predefined 
27168515Sgshapiromethods/objects. It does not actually contain the code that will fully 
28168515Sgshapiroutilize this information, this is still under development. Also condenses 
29168515Sgshapirosome duplicate code for the predefined names into a new module, 
30168515Sgshapiroutilities/utpredef.c
31168515Sgshapiro
32168515SgshapiroExample Code and Data Size: These are the sizes for the OS-independent 
33168515Sgshapiroacpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3490792Sgshapirodebug version of the code includes the debug output trace mechanism and 
3590792Sgshapirohas a much larger code and data size.
36168515Sgshapiro
37168515Sgshapiro  Previous Release:
38168515Sgshapiro    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
39168515Sgshapiro    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
40168515Sgshapiro  Current Release:
41168515Sgshapiro    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
42168515Sgshapiro    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
43168515Sgshapiro
44168515Sgshapiro
45168515Sgshapiro2) iASL Compiler/Disassembler and Tools:
46168515Sgshapiro
4790792SgshapiroiASL: Implemented a new option to simplify the development of ACPI-related 
4890792SgshapiroBIOS code. Adds support for a new "offset table" output file. The -so 
49168515Sgshapirooption will create a C table containing the AML table offsets of various 
50168515Sgshapironamed objects in the namespace so that BIOS code can modify them easily at 
5190792Sgshapiroboot time. This can simplify BIOS runtime code by eliminating expensive 
52168515Sgshapirosearches for "magic values", enhancing boot times and adding greater 
53168515Sgshapiroreliability. With assistance from Lee Hamel.
54168515Sgshapiro
55168515SgshapiroiASL: Allow additional predefined names to return zero-length packages. 
56168515SgshapiroNow, all predefined names that are defined by the ACPI specification to 
57168515Sgshapiroreturn a "variable-length package of packages" are allowed to return a 
5890792Sgshapirozero length top-level package. This allows the BIOS to tell the host that 
59168515Sgshapirothe requested feature is not supported, and supports existing BIOS/ASL 
60168515Sgshapirocode and practices.
6190792Sgshapiro
6290792SgshapiroiASL: Changed the "result not used" warning to an error. This is the case 
63168515Sgshapirowhere an ASL operator is effectively a NOOP because the result of the 
64168515Sgshapirooperation is not stored anywhere. For example:
65168515Sgshapiro    Add (4, Local0)
6690792SgshapiroThere is no target (missing 3rd argument), nor is the function return 
6790792Sgshapirovalue used. This is potentially a very serious problem -- since the code 
68168515Sgshapirowas probably intended to do something, but for whatever reason, the value 
69168515Sgshapirowas not stored. Therefore, this issue has been upgraded from a warning to 
70168515Sgshapiroan error.
7190792Sgshapiro
72168515SgshapiroAcpiHelp: Added allowable/required argument types to the predefined names 
7390792Sgshapiroinfo display. This feature utilizes the recent update to the predefined 
74168515Sgshapironames table (above).
75168515Sgshapiro
76261363Sgshapiro----------------------------------------
7790792Sgshapiro14 February 2013. Summary of changes for version 20130214:
78168515Sgshapiro
7990792Sgshapiro1) ACPICA Kernel-resident Subsystem:
80112810Sgshapiro
81168515SgshapiroFixed a possible regression on some hosts: Reinstated the safe return 
82168515Sgshapiromacros (return_ACPI_STATUS, etc.) that ensure that the argument is 
83168515Sgshapiroevaluated only once. Although these macros are not needed for the ACPICA 
84code itself, they are often used by ACPI-related host device drivers where 
85the safe feature may be necessary.
86
87Fixed several issues related to the ACPI 5.0 reduced hardware support 
88(SOC): Now ensure that if the platform declares itself as hardware-reduced 
89via the FADT, the following functions become NOOPs (and always return 
90AE_OK) because ACPI is always enabled by definition on these machines:
91  AcpiEnable
92  AcpiDisable
93  AcpiHwGetMode
94  AcpiHwSetMode
95
96Dynamic Object Repair: Implemented additional runtime repairs for 
97predefined name return values. Both of these repairs can simplify code in 
98the related device drivers that invoke these methods:
991) For the _STR and _MLS names, automatically repair/convert an ASCII 
100string to a Unicode buffer. 
1012) For the _CRS, _PRS, and _DMA names, return a resource descriptor with a 
102lone end tag descriptor in the following cases: A Return(0) was executed, 
103a null buffer was returned, or no object at all was returned (non-slack 
104mode only). Adds a new file, nsconvert.c
105ACPICA BZ 998. Bob Moore, Lv Zheng.
106
107Resource Manager: Added additional code to prevent possible infinite loops 
108while traversing corrupted or ill-formed resource template buffers. Check 
109for zero-length resource descriptors in all code that loops through 
110resource templates (the length field is used to index through the 
111template). This change also hardens the external AcpiWalkResources and 
112AcpiWalkResourceBuffer interfaces.
113
114Local Cache Manager: Enhanced the main data structure to eliminate an 
115unnecessary mechanism to access the next object in the list. Actually 
116provides a small performance enhancement for hosts that use the local 
117ACPICA cache manager. Jung-uk Kim.
118
119Example Code and Data Size: These are the sizes for the OS-independent 
120acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
121debug version of the code includes the debug output trace mechanism and 
122has a much larger code and data size.
123
124  Previous Release:
125    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
126    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
127  Current Release:
128    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
129    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
130
131
1322) iASL Compiler/Disassembler and Tools:
133
134iASL/Disassembler: Fixed several issues with the definition of the ACPI 
1355.0 RASF table (RAS Feature Table). This change incorporates late changes 
136that were made to the ACPI 5.0 specification.
137
138iASL/Disassembler: Added full support for the following new ACPI tables:
139  1) The MTMR table (MID Timer Table)
140  2) The VRTC table (Virtual Real Time Clock Table).
141Includes header file, disassembler, table compiler, and template support 
142for both tables.
143
144iASL: Implemented compile-time validation of package objects returned by 
145predefined names. This new feature validates static package objects 
146returned by the various predefined names defined to return packages. Both 
147object types and package lengths are validated, for both parent packages 
148and sub-packages, if any. The code is similar in structure and behavior to 
149the runtime repair mechanism within the AML interpreter and uses the 
150existing predefined name information table. Adds a new file, aslprepkg.c. 
151ACPICA BZ 938.
152
153iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
154This feature detects a binary file with a valid ACPI table header and 
155invokes the disassembler automatically. Eliminates the need to 
156specifically invoke the disassembler with the -d option. ACPICA BZ 862.
157
158iASL/Disassembler: Added several warnings for the case where there are 
159unresolved control methods during the disassembly. This can potentially 
160cause errors when the output file is compiled, because the disassembler 
161assumes zero method arguments in these cases (it cannot determine the 
162actual number of arguments without resolution/definition of the method).
163
164Debugger: Added support to display all resources with a single command. 
165Invocation of the resources command with no arguments will now display all 
166resources within the current namespace.
167
168AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
169via the -e option.
170
171----------------------------------------
17217 January 2013. Summary of changes for version 20130117:
173
1741) ACPICA Kernel-resident Subsystem:
175
176Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
177return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
178objects to return a package containing one integer, most BIOS code returns 
179two integers and the previous code reflects that. However, we also need to 
180support BIOS code that actually implements to the ACPI spec, and this 
181change reflects this.
182
183Fixed two issues with the ACPI_DEBUG_PRINT macros:
1841) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
185C compilers that require this support.
1862) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
187ACPI_DEBUG is already used by many of the various hosts.
188
189Updated all ACPICA copyrights and signons to 2013. Added the 2013 
190copyright to all module headers and signons, including the standard Linux 
191header. This affects virtually every file in the ACPICA core subsystem, 
192iASL compiler, all ACPICA utilities, and the test suites.
193
194Example Code and Data Size: These are the sizes for the OS-independent 
195acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
196debug version of the code includes the debug output trace mechanism and 
197has a much larger code and data size.
198
199  Previous Release:
200    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
201    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
202  Current Release:
203    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
204    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
205
206
2072) iASL Compiler/Disassembler and Tools:
208
209Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
210prevent a possible fault on some hosts. Some C libraries modify the arg 
211pointer parameter to vfprintf making it difficult to call it twice in the 
212AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
213does not affect the Windows OSL since the Win C library does not modify 
214the arg pointer. Chao Guan, Bob Moore.
215
216iASL: Fixed a possible infinite loop when the maximum error count is 
217reached. If an output file other than the .AML file is specified (such as 
218a listing file), and the maximum number of errors is reached, do not 
219attempt to flush data to the output file(s) as the compiler is aborting. 
220This can cause an infinite loop as the max error count code essentially 
221keeps calling itself.
222
223iASL/Disassembler: Added an option (-in) to ignore NOOP opcodes/operators. 
224Implemented for both the compiler and the disassembler. Often, the NOOP 
225opcode is used as padding for packages that are changed dynamically by the 
226BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
227errors. This option causes the disassembler to ignore all NOOP opcodes 
228(0xA3), and it also causes the compiler to ignore all ASL source code NOOP 
229statements as well.
230
231Debugger: Enhanced the Sleep command to execute all sleep states. This 
232change allows Sleep to be invoked with no arguments and causes the 
233debugger to execute all of the sleep states, 0-5, automatically.
234
235----------------------------------------
23620 December 2012. Summary of changes for version 20121220:
237
2381) ACPICA Kernel-resident Subsystem:
239
240Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
241alternate entry point for AcpiWalkResources and improves the usability of 
242the resource manager by accepting as input a buffer containing the output 
243of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
244input buffer is not deleted by this interface so that it can be used by 
245the host later. See the ACPICA reference for details.
246
247Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
248(DSDT version < 2). The constant will be truncated and this warning 
249reflects that behavior.
250
251Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
252ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
253both get and set the new wake bit in these descriptors, separately from 
254the existing share bit. Reported by Aaron Lu.
255
256Interpreter: Fix Store() when an implicit conversion is not possible. For 
257example, in the cases such as a store of a string to an existing package 
258object, implement the store as a CopyObject(). This is a small departure 
259from the ACPI specification which states that the control method should be 
260aborted in this case. However, the ASLTS suite depends on this behavior.
261
262Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
263macros: check if debug output is currently enabled as soon as possible to 
264minimize performance impact if debug is in fact not enabled.
265
266Source code restructuring: Cleanup to improve modularity. The following 
267new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
268psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
269Associated makefiles and project files have been updated.
270
271Changed an exception code for LoadTable operator. For the case where one 
272of the input strings is too long, change the returned exception code from 
273AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
274
275Fixed a possible memory leak in dispatcher error path. On error, delete 
276the mutex object created during method mutex creation. Reported by 
277tim.gardner@canonical.com.
278
279Example Code and Data Size: These are the sizes for the OS-independent 
280acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
281debug version of the code includes the debug output trace mechanism and 
282has a much larger code and data size.
283
284  Previous Release:
285    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
286    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
287  Current Release:
288    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
289    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
290
291
2922) iASL Compiler/Disassembler and Tools:
293
294iASL: Disallow a method call as argument to the ObjectType ASL operator. 
295This change tracks an errata to the ACPI 5.0 document. The AML grammar 
296will not allow the interpreter to differentiate between a method and a 
297method invocation when these are used as an argument to the ObjectType 
298operator. The ACPI specification change is to disallow a method invocation 
299(UserTerm) for the ObjectType operator.
300
301Finish support for the TPM2 and CSRT tables in the headers, table 
302compiler, and disassembler.
303
304Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
305always expires immediately if the semaphore is not available. The original 
306code was using a relative-time timeout, but sem_timedwait requires the use 
307of an absolute time.
308
309iASL: Added a remark if the Timer() operator is used within a 32-bit 
310table. This operator returns a 64-bit time value that will be truncated 
311within a 32-bit table.
312
313iASL Source code restructuring: Cleanup to improve modularity. The 
314following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
315aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
316been updated.
317
318
319----------------------------------------
32014 November 2012. Summary of changes for version 20121114:
321
3221) ACPICA Kernel-resident Subsystem:
323
324Implemented a performance enhancement for ACPI/AML Package objects. This 
325change greatly increases the performance of Package objects within the 
326interpreter. It changes the processing of reference counts for packages by 
327optimizing for the most common case where the package sub-objects are 
328either Integers, Strings, or Buffers. Increases the overall performance of 
329the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 2X.) 
330Chao Guan. ACPICA BZ 943.
331
332Implemented and deployed common macros to extract flag bits from resource 
333descriptors. Improves readability and maintainability of the code. Fixes a 
334problem with the UART serial bus descriptor for the number of data bits 
335flags (was incorrectly 2 bits, should be 3).
336
337Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
338of the macros and changed the SETx macros to the style of (destination, 
339source). Also added ACPI_CASTx companion macros. Lv Zheng.
340
341Example Code and Data Size: These are the sizes for the OS-independent 
342acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
343debug version of the code includes the debug output trace mechanism and 
344has a much larger code and data size.
345
346  Previous Release:
347    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
348    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
349  Current Release:
350    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
351    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
352
353
3542) iASL Compiler/Disassembler and Tools:
355
356Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
357adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
358Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
359
360Disassembler: Fixed a problem with external declaration generation. Fixes 
361a problem where an incorrect pathname could be generated for an external 
362declaration if the original reference to the object includes leading 
363carats (^). ACPICA BZ 984.
364
365Debugger: Completed a major update for the Disassemble<method> command. 
366This command was out-of-date and did not properly disassemble control 
367methods that had any reasonable complexity. This fix brings the command up 
368to the same level as the rest of the disassembler. Adds one new file, 
369dmdeferred.c, which is existing code that is now common with the main 
370disassembler and the debugger disassemble command. ACPICA MZ 978.
371
372iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
373Newer versions of Bison emit this prototype, so moved the prototype out of 
374the iASL header to where it is actually used in order to avoid a duplicate 
375declaration.
376
377iASL/Tools: Standardized use of the stream I/O functions:
378  1) Ensure check for I/O error after every fopen/fread/fwrite
379  2) Ensure proper order of size/count arguments for fread/fwrite
380  3) Use test of (Actual != Requested) after all fwrite, and most fread
381  4) Standardize I/O error messages
382Improves reliability and maintainability of the code. Bob Moore, Lv Zheng. 
383ACPICA BZ 981.
384
385Disassembler: Prevent duplicate External() statements. During generation 
386of external statements, detect similar pathnames that are actually 
387duplicates such as these:
388  External (\ABCD)
389  External (ABCD)
390Remove all leading '\' characters from pathnames during the external 
391statement generation so that duplicates will be detected and tossed. 
392ACPICA BZ 985.
393
394Tools: Replace low-level I/O with stream I/O functions. Replace 
395open/read/write/close with the stream I/O equivalents 
396fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
397Moore.
398
399AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
400name header so that AcpiXtract recognizes the output file/table.
401
402iASL: Remove obsolete -2 option flag. Originally intended to force the 
403compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
404and the entire concept is now obsolete.
405
406----------------------------------------
40718 October 2012. Summary of changes for version 20121018:
408
409
4101) ACPICA Kernel-resident Subsystem:
411
412Updated support for the ACPI 5.0 MPST table. Fixes some problems 
413introduced by late changes to the table as it was added to the ACPI 5.0 
414specification. Includes header, disassembler, and data table compiler 
415support as well as a new version of the MPST template.
416
417AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
4185.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
419methods: _HID, _CID, and _UID.
420
421Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
422ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
423name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
424names for their various drivers. Affects the AcpiGetObjectInfo external 
425interface, and other internal interfaces as well.
426
427Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
428This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
429on machines that support non-aligned transfers. Optimizes for this case 
430rather than using a strncpy. With assistance from Zheng Lv.
431
432Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
433error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
434
435Added a new debug print message for AML mutex objects that are force-
436released. At control method termination, any currently acquired mutex 
437objects are force-released. Adds a new debug-only message for each one 
438that is released.
439
440Audited/updated all ACPICA return macros and the function debug depth 
441counter: 1) Ensure that all functions that use the various TRACE macros 
442also use the appropriate ACPICA return macros. 2) Ensure that all normal 
443return statements surround the return expression (value) with parens to 
444ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
445Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
446
447Global source code changes/maintenance: All extra lines at the start and 
448end of each source file have been removed for consistency. Also, within 
449comments, all new sentences start with a single space instead of a double 
450space, again for consistency across the code base.
451
452Example Code and Data Size: These are the sizes for the OS-independent 
453acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
454debug version of the code includes the debug output trace mechanism and 
455has a much larger code and data size.
456
457  Previous Release:
458    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
459    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
460  Current Release:
461    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
462    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
463
464
4652) iASL Compiler/Disassembler and Tools:
466
467AcpiExec: Improved the algorithm used for memory leak/corruption 
468detection. Added some intelligence to the code that maintains the global 
469list of allocated memory. The list is now ordered by allocated memory 
470address, significantly improving performance. When running AcpiExec on 
471the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
472on the platform and/or the environment. Note, this performance 
473enhancement affects the AcpiExec utility only, not the kernel-resident 
474ACPICA code.
475
476Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
477the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
478incorrect table offset reported for invalid opcodes. Report the original 
47932-bit value for bad ACPI_NAMEs (as well as the repaired name.)
480
481Disassembler: Enhanced the -vt option to emit the binary table data in 
482hex format to assist with debugging.
483
484Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
485size of file structure. Colin Ian King.
486
487----------------------------------------
48813 September 2012. Summary of changes for version 20120913:
489
490
4911) ACPICA Kernel-resident Subsystem:
492
493ACPI 5.0: Added two new notify types for the Hardware Error Notification 
494Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
495and 
496MCE(6).
497 
498Table Manager: Merged/removed duplicate code in the root table resize 
499functions. One function is external, the other is internal. Lv Zheng, 
500ACPICA 
501BZ 846.
502
503Makefiles: Completely removed the obsolete "Linux" makefiles under 
504acpica/generate/linux. These makefiles are obsolete and have been replaced 
505by 
506the generic unix makefiles under acpica/generate/unix.
507
508Makefiles: Ensure that binary files always copied properly. Minor rule 
509change 
510to ensure that the final binary output files are always copied up to the 
511appropriate binary directory (bin32 or bin64.)
512
513Example Code and Data Size: These are the sizes for the OS-independent 
514acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
515debug 
516version of the code includes the debug output trace mechanism and has a 
517much 
518larger code and data size.
519
520  Previous Release:
521    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
522    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
523  Current Release:
524    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
525    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
526
527
5282) iASL Compiler/Disassembler and Tools:
529
530Disassembler: Fixed a possible fault during the disassembly of resource 
531descriptors when a second parse is required because of the invocation of 
532external control methods within the table. With assistance from 
533adq@lidskialf.net. ACPICA BZ 976.
534
535iASL: Fixed a namepath optimization problem. An error can occur if the 
536parse 
537node that contains the namepath to be optimized does not have a parent 
538node 
539that is a named object. This change fixes the problem.
540
541iASL: Fixed a regression where the AML file is not deleted on errors. The 
542AML 
543output file should be deleted if there are any errors during the compiler. 
544The 
545only exception is if the -f (force output) option is used. ACPICA BZ 974.
546
547iASL: Added a feature to automatically increase internal line buffer 
548sizes. 
549Via realloc(), automatically increase the internal line buffer sizes as 
550necessary to support very long source code lines. The current version of 
551the 
552preprocessor requires a buffer long enough to contain full source code 
553lines. 
554This change increases the line buffer(s) if the input lines go beyond the 
555current buffer size. This eliminates errors that occurred when a source 
556code 
557line was longer than the buffer.
558
559iASL: Fixed a problem with constant folding in method declarations. The 
560SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
561if a 
562Type3 opcode was used.
563
564Debugger: Improved command help support. For incorrect argument count, 
565display 
566full help for the command. For help command itself, allow an argument to 
567specify a command.
568
569Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
570errors during execution of the suite. Guan Chao.
571
572----------------------------------------
57316 August 2012. Summary of changes for version 20120816:
574
575
5761) ACPICA Kernel-resident Subsystem:
577
578Removed all use of the deprecated _GTS and _BFS predefined methods. The 
579_GTS 
580(Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
581deprecated and will probably be removed from the ACPI specification. 
582Windows 
583does not invoke them, and reportedly never will. The final nail in the 
584coffin 
585is that the ACPI specification states that these methods must be run with 
586interrupts off, which is not going to happen in a kernel interpreter. 
587Note: 
588Linux has removed all use of the methods also. It was discovered that 
589invoking these functions caused failures on some machines, probably 
590because 
591they were never tested since Windows does not call them. Affects two 
592external 
593interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
594ACPICA BZ 969.
595
596Implemented support for complex bit-packed buffers returned from the _PLD 
597(Physical Location of Device) predefined method. Adds a new external 
598interface, AcpiDecodePldBuffer that parses the buffer into a more usable C 
599structure. Note: C Bitfields cannot be used for this type of predefined 
600structure since the memory layout of individual bitfields is not defined 
601by 
602the C language. In addition, there are endian concerns where a compiler 
603will 
604change the bitfield ordering based on the machine type. The new ACPICA 
605interface eliminates these issues, and should be called after _PLD is 
606executed. ACPICA BZ 954.
607
608Implemented a change to allow a scope change to root (via "Scope (\)") 
609during 
610execution of module-level ASL code (code that is executed at table load 
611time.) Lin Ming.
612
613Added the Windows8/Server2012 string for the _OSI method. This change adds 
614a 
615new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
6162012.
617
618Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
6192) 
620and CSRT (Core System Resource Table).
621
622Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
623names. This simplifies access to the buffers returned by these predefined 
624names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
625
626GPE support: Removed an extraneous parameter from the various low-level 
627internal GPE functions. Tang Feng.
628
629Removed the linux makefiles from the unix packages. The generate/linux 
630makefiles are obsolete and have been removed from the unix tarball release 
631packages. The replacement makefiles are under generate/unix, and there is 
632a 
633top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
634
635Updates for Unix makefiles:
6361) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
6372) Update linker flags (move to end of command line) for AcpiExec utility. 
638Guan Chao.
639
640Split ACPICA initialization functions to new file, utxfinit.c. Split from 
641utxface.c to improve modularity and reduce file size.
642
643Example Code and Data Size: These are the sizes for the OS-independent 
644acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
645debug version of the code includes the debug output trace mechanism and 
646has a 
647much larger code and data size.
648
649  Previous Release:
650    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
651    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
652  Current Release:
653    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
654    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
655
656
6572) iASL Compiler/Disassembler and Tools:
658
659iASL: Fixed a problem with constant folding for fixed-length constant 
660expressions. The constant-folding code was not being invoked for constant 
661expressions that allow the use of type 3/4/5 opcodes to generate constants 
662for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
663result 
664in the generation of invalid AML bytecode. ACPICA BZ 970.
665
666iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
667apparently automatically emit some of the necessary externals. This change 
668handles these versions in order to eliminate generation warnings.
669
670Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
671
672Disassembler: Add support to decode _PLD buffers. The decoded buffer 
673appears 
674within comments in the output file.
675
676Debugger: Fixed a regression with the "Threads" command where 
677AE_BAD_PARAMETER was always returned.
678
679----------------------------------------
68011 July 2012. Summary of changes for version 20120711:
681
6821) ACPICA Kernel-resident Subsystem:
683
684Fixed a possible fault in the return package object repair code. Fixes a 
685problem that can occur when a lone package object is wrapped with an outer 
686package object in order to force conformance to the ACPI specification. 
687Can 
688affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
689_DLM, 
690_CSD, _PSD, _TSD.
691
692Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
693PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
694ARB_DIS bit must be implemented in the host-dependent C3 processor power 
695state 
696support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
697both 
698Intel and other vendors. (for Intel: ICH4-M and earlier)
699
700This change removes the code to disable/enable bus master arbitration 
701during 
702suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
703causes 
704resume problems on some machines. The change has been in use for over 
705seven 
706years within Linux.
707
708Implemented two new external interfaces to support host-directed dynamic 
709ACPI 
710table load and unload. They are intended to simplify the host 
711implementation 
712of hot-plug support:
713  AcpiLoadTable: Load an SSDT from a buffer into the namespace.
714  AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
715table.
716See the ACPICA reference for additional details. Adds one new file, 
717components/tables/tbxfload.c
718
719Implemented and deployed two new interfaces for errors and warnings that 
720are 
721known to be caused by BIOS/firmware issues:
722  AcpiBiosError: Prints "ACPI Firmware Error" message.
723  AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
724Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
725table 
726and FADT errors. Additional deployment to be completed as appropriate in 
727the 
728future. The associated conditional macros are ACPI_BIOS_ERROR and 
729ACPI_BIOS_WARNING. See the ACPICA reference for additional details. ACPICA 
730BZ 
731843.
732
733Implicit notify support: ensure that no memory allocation occurs within a 
734critical region. This fix moves a memory allocation outside of the time 
735that a 
736spinlock is held. Fixes issues on systems that do not allow this behavior. 
737Jung-uk Kim.
738
739Split exception code utilities and tables into a new file, 
740utilities/utexcep.c
741
742Example Code and Data Size: These are the sizes for the OS-independent 
743acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
744debug 
745version of the code includes the debug output trace mechanism and has a 
746much 
747larger code and data size.
748
749  Previous Release:
750    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
751    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
752  Current Release:
753    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
754    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
755
756
7572) iASL Compiler/Disassembler and Tools:
758
759iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
760of 
7610. Jung-uk Kim.
762
763Debugger: Enhanced the "tables" command to emit additional information 
764about 
765the current set of ACPI tables, including the owner ID and flags decode.
766
767Debugger: Reimplemented the "unload" command to use the new 
768AcpiUnloadParentTable external interface. This command was disable 
769previously 
770due to need for an unload interface.
771
772AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
773option 
774will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
775
776----------------------------------------
77720 June 2012. Summary of changes for version 20120620:
778
779
7801) ACPICA Kernel-resident Subsystem:
781
782Implemented support to expand the "implicit notify" feature to allow 
783multiple 
784devices to be notified by a single GPE. This feature automatically 
785generates a 
786runtime device notification in the absence of a BIOS-provided GPE control 
787method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
788notify is 
789provided by ACPICA for Windows compatibility, and is a workaround for BIOS 
790AML 
791code errors. See the description of the AcpiSetupGpeForWake interface in 
792the 
793APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
794
795Changed some comments and internal function names to simplify and ensure 
796correctness of the Linux code translation. No functional changes.
797
798Example Code and Data Size: These are the sizes for the OS-independent 
799acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
800debug 
801version of the code includes the debug output trace mechanism and has a 
802much 
803larger code and data size.
804
805  Previous Release:
806    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
807    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
808  Current Release:
809    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
810    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
811
812
8132) iASL Compiler/Disassembler and Tools:
814
815Disassembler: Added support to emit short, commented descriptions for the 
816ACPI 
817predefined names in order to improve the readability of the disassembled 
818output. ACPICA BZ 959. Changes include:
819  1) Emit descriptions for all standard predefined names (_INI, _STA, 
820_PRW, 
821etc.)
822  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
823  3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
824etc.)
825
826AcpiSrc: Fixed several long-standing Linux code translation issues. 
827Argument 
828descriptions in function headers are now translated properly to lower case 
829and 
830underscores. ACPICA BZ 961. Also fixes translation problems such as these: 
831(old -> new)
832  i_aSL -> iASL
833  00-7_f -> 00-7F
834  16_k -> 16K
835  local_fADT -> local_FADT
836  execute_oSI -> execute_OSI
837
838iASL: Fixed a problem where null bytes were inadvertently emitted into 
839some 
840listing files.
841
842iASL: Added the existing debug options to the standard help screen. There 
843are 
844no longer two different help screens. ACPICA BZ 957.
845
846AcpiHelp: Fixed some typos in the various predefined name descriptions. 
847Also 
848expand some of the descriptions where appropriate.
849
850iASL: Fixed the -ot option (display compile times/statistics). Was not 
851working 
852properly for standard output; only worked for the debug file case.
853
854----------------------------------------
85518 May 2012. Summary of changes for version 20120518:
856
857
8581) ACPICA Core Subsystem:
859
860Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
861defined 
862to block until asynchronous events such as notifies and GPEs have 
863completed. 
864Within ACPICA, it is only called before a notify or GPE handler is 
865removed/uninstalled. It also may be useful for the host OS within related 
866drivers such as the Embedded Controller driver. See the ACPICA reference 
867for 
868additional information. ACPICA BZ 868.
869
870ACPI Tables: Added a new error message for a possible overflow failure 
871during 
872the conversion of FADT 32-bit legacy register addresses to internal common 
87364-
874bit GAS structure representation. The GAS has a one-byte "bit length" 
875field, 
876thus limiting the register length to 255 bits. ACPICA BZ 953.
877
878Example Code and Data Size: These are the sizes for the OS-independent 
879acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
880debug 
881version of the code includes the debug output trace mechanism and has a 
882much 
883larger code and data size.
884
885  Previous Release:
886    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
887    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
888  Current Release:
889    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
890    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
891
892
8932) iASL Compiler/Disassembler and Tools:
894
895iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
896macro. 
897This keyword was added late in the ACPI 5.0 release cycle and was not 
898implemented until now.
899
900Disassembler: Added support for Operation Region externals. Adds missing 
901support for operation regions that are defined in another table, and 
902referenced locally via a Field or BankField ASL operator. Now generates 
903the 
904correct External statement.
905
906Disassembler: Several additional fixes for the External() statement 
907generation 
908related to some ASL operators. Also, order the External() statements 
909alphabetically in the disassembler output. Fixes the External() generation 
910for 
911the Create* field, Alias, and Scope operators:
912 1) Create* buffer field operators - fix type mismatch warning on 
913disassembly
914 2) Alias - implement missing External support
915 3) Scope - fix to make sure all necessary externals are emitted.
916
917iASL: Improved pathname support. For include files, merge the prefix 
918pathname 
919with the file pathname and eliminate unnecessary components. Convert 
920backslashes in all pathnames to forward slashes, for readability. Include 
921file 
922pathname changes affect both #include and Include() type operators.
923
924iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
925end 
926of a valid line by inserting a newline and then returning the EOF during 
927the 
928next call to GetNextLine. Prevents the line from being ignored due to EOF 
929condition.
930
931iASL: Implemented some changes to enhance the IDE support (-vi option.) 
932Error 
933and Warning messages are now correctly recognized for both the source code 
934browser and the global error and warning counts.
935
936----------------------------------------
93720 April 2012. Summary of changes for version 20120420:
938
939
9401) ACPICA Core Subsystem:
941
942Implemented support for multiple notify handlers. This change adds support 
943to 
944allow multiple system and device notify handlers on Device, Thermal Zone, 
945and 
946Processor objects. This can simplify the host OS notification 
947implementation. 
948Also re-worked and restructured the entire notify support code to simplify 
949handler installation, handler removal, notify event queuing, and notify 
950dispatch to handler(s). Note: there can still only be two global notify 
951handlers - one for system notifies and one for device notifies. There are 
952no 
953changes to the existing handler install/remove interfaces. Lin Ming, Bob 
954Moore, Rafael Wysocki.
955
956Fixed a regression in the package repair code where the object reference 
957count was calculated incorrectly. Regression was introduced in the commit 
958"Support to add Package wrappers".
959
960Fixed a couple possible memory leaks in the AML parser, in the error 
961recovery 
962path. Jesper Juhl, Lin Ming.
963
964Example Code and Data Size: These are the sizes for the OS-independent 
965acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
966debug version of the code includes the debug output trace mechanism and 
967has a 
968much larger code and data size.
969
970  Previous Release:
971    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
972    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
973  Current Release:
974    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
975    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
976
977
9782) iASL Compiler/Disassembler and Tools:
979
980iASL: Fixed a problem with the resource descriptor support where the 
981length 
982of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
983included in cumulative descriptor offset, resulting in incorrect values 
984for 
985resource tags within resource descriptors appearing after a 
986StartDependent* 
987descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
988
989iASL and Preprocessor: Implemented full support for the #line directive to 
990correctly track original source file line numbers through the .i 
991preprocessor 
992output file - for error and warning messages.
993
994iASL: Expand the allowable byte constants for address space IDs. 
995Previously, 
996the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
9970x0A-0xFF to allow for custom and new IDs without changing the compiler.
998
999iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
1000
1001iASL: Add option to completely disable the preprocessor (-Pn).
1002
1003iASL: Now emit all error/warning messages to standard error (stderr) by 
1004default (instead of the previous stdout).
1005
1006ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
1007Update 
1008for resource descriptor offset fix above. Update/cleanup error output 
1009routines. Enable and send iASL errors/warnings to an error logfile 
1010(error.txt). Send all other iASL output to a logfile (compiler.txt). Fixed 
1011several extraneous "unrecognized operator" messages.
1012
1013----------------------------------------
101420 March 2012. Summary of changes for version 20120320:
1015
1016
10171) ACPICA Core Subsystem:
1018
1019Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
1020(Going To Sleep) and the _BFS method (Back From Sleep). Windows apparently 
1021does not execute these methods, and therefore these methods are often 
1022untested. It has been seen on some systems where the execution of these 
1023methods causes errors and also prevents the machine from entering S5. It 
1024is 
1025therefore suggested that host operating systems do not execute these 
1026methods 
1027by default. In the future, perhaps these methods can be optionally 
1028executed 
1029based on the age of the system and/or what is the newest version of 
1030Windows 
1031that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
1032and 
1033AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
1034Ming.
1035
1036Fixed a problem where the length of the local/common FADT was set too 
1037early. 
1038The local FADT table length cannot be set to the common length until the 
1039original length has been examined. There is code that checks the table 
1040length 
1041and sets various fields appropriately. This can affect older machines with 
1042early FADT versions. For example, this can cause inadvertent writes to the 
1043CST_CNT register. Julian Anastasov.
1044
1045Fixed a mapping issue related to a physical table override. Use the 
1046deferred 
1047mapping mechanism for tables loaded via the physical override OSL 
1048interface. 
1049This allows for early mapping before the virtual memory manager is 
1050available. 
1051Thomas Renninger, Bob Moore.
1052
1053Enhanced the automatic return-object repair code: Repair a common problem 
1054with 
1055predefined methods that are defined to return a variable-length Package of 
1056sub-objects. If there is only one sub-object, some BIOS ASL code 
1057mistakenly 
1058simply returns the single object instead of a Package with one sub-object. 
1059This new support will repair this error by wrapping a Package object 
1060around 
1061the original object, creating the correct and expected Package with one 
1062sub-
1063object. Names that can be repaired in this manner include: _ALR, _CSD, 
1064_HPX, 
1065_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
1066939.
1067
1068Changed the exception code returned for invalid ACPI paths passed as 
1069parameters to external interfaces such as AcpiEvaluateObject. Was 
1070AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
1071
1072Example Code and Data Size: These are the sizes for the OS-independent 
1073acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1074debug 
1075version of the code includes the debug output trace mechanism and has a 
1076much 
1077larger code and data size.
1078
1079  Previous Release:
1080    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1081    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1082  Current Release:
1083    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1084    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1085
1086
10872) iASL Compiler/Disassembler and Tools:
1088
1089iASL: Added the infrastructure and initial implementation of a integrated 
1090C-
1091like preprocessor. This will simplify BIOS development process by 
1092eliminating 
1093the need for a separate preprocessing step during builds. On Windows, it 
1094also 
1095eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
1096features including full #define() macro support are still under 
1097development. 
1098These preprocessor directives are supported:
1099    #define
1100    #elif
1101    #else
1102    #endif
1103    #error
1104    #if
1105    #ifdef
1106    #ifndef
1107    #include
1108    #pragma message
1109    #undef
1110    #warning
1111In addition, these new command line options are supported:
1112    -D <symbol> Define symbol for preprocessor use
1113    -li         Create preprocessed output file (*.i)
1114    -P          Preprocess only and create preprocessor output file (*.i)
1115
1116Table Compiler: Fixed a problem where the equals operator within an 
1117expression 
1118did not work properly.
1119
1120Updated iASL to use the current versions of Bison/Flex. Updated the 
1121Windows 
1122project file to invoke these tools from the standard location. ACPICA BZ 
1123904. 
1124Versions supported:
1125    Flex for Windows:  V2.5.4
1126    Bison for Windows: V2.4.1
1127
1128----------------------------------------
112915 February 2012. Summary of changes for version 20120215:
1130
1131
11321) ACPICA Core Subsystem:
1133
1134There have been some major changes to the sleep/wake support code, as 
1135described below (a - e).
1136
1137a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
1138AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
1139AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
1140the 
1141time the _BFS method is called and the _WAK method is called. NOTE: all 
1142hosts 
1143must update their wake/resume code or else sleep/wake will not work 
1144properly. 
1145Rafael Wysocki.
1146
1147b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
1148_WAK 
1149method. Some machines require that the GPEs are enabled before the _WAK 
1150method 
1151is executed. Thomas Renninger.
1152
1153c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit. 
1154Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
1155to 
1156determine whether the system is rebooting or resuming. Matthew Garrett.
1157
1158d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
1159Sleep) to 
1160match the ACPI specification requirement. Rafael Wysocki.
1161
1162e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
1163registers within the V5 FADT. This support adds two new files: 
1164hardware/hwesleep.c implements the support for the new registers. Moved 
1165all 
1166sleep/wake external interfaces to hardware/hwxfsleep.c.
1167
1168
1169Added a new OSL interface for ACPI table overrides, 
1170AcpiOsPhysicalTableOverride. This interface allows the host to override a 
1171table via a physical address, instead of the logical address required by 
1172AcpiOsTableOverride. This simplifies the host implementation. Initial 
1173implementation by Thomas Renninger. The ACPICA implementation creates a 
1174single 
1175shared function for table overrides that attempts both a logical and a 
1176physical override.
1177
1178Expanded the OSL memory read/write interfaces to 64-bit data 
1179(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
1180transfer support for GAS register structures passed to AcpiRead and 
1181AcpiWrite.
1182
1183Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
1184custom 
1185build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
1186model. 
1187See the ACPICA reference for details. ACPICA BZ 942. This option removes 
1188about 
118910% of the code and 5% of the static data, and the following hardware ACPI 
1190features become unavailable:
1191    PM Event and Control registers
1192    SCI interrupt (and handler)
1193    Fixed Events
1194    General Purpose Events (GPEs)
1195    Global Lock
1196    ACPI PM timer
1197    FACS table (Waking vectors and Global Lock)
1198
1199Updated the unix tarball directory structure to match the ACPICA git 
1200source 
1201tree. This ensures that the generic unix makefiles work properly (in 
1202generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 867.
1203
1204Updated the return value of the _REV predefined method to integer value 5 
1205to 
1206reflect ACPI 5.0 support.
1207
1208Moved the external ACPI PM timer interface prototypes to the public 
1209acpixf.h 
1210file where they belong.
1211
1212Example Code and Data Size: These are the sizes for the OS-independent 
1213acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1214debug 
1215version of the code includes the debug output trace mechanism and has a 
1216much 
1217larger code and data size.
1218
1219  Previous Release:
1220    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1221    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1222  Current Release:
1223    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1224    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1225
1226
12272) iASL Compiler/Disassembler and Tools:
1228
1229Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
1230descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
1231incorrectly displayed.
1232
1233AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
1234specification.
1235
1236----------------------------------------
123711 January 2012. Summary of changes for version 20120111:
1238
1239
12401) ACPICA Core Subsystem:
1241
1242Implemented a new mechanism to allow host device drivers to check for 
1243address 
1244range conflicts with ACPI Operation Regions. Both SystemMemory and 
1245SystemIO 
1246address spaces are supported. A new external interface, 
1247AcpiCheckAddressRange, 
1248allows drivers to check an address range against the ACPI namespace. See 
1249the 
1250ACPICA reference for additional details. Adds one new file, 
1251utilities/utaddress.c. Lin Ming, Bob Moore.
1252
1253Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control 
1254and 
1255Status registers, update the ACPI 5.0 flags, and update internal data 
1256structures to handle an FADT larger than 256 bytes. The size of the ACPI 
12575.0 
1258FADT is 268 bytes.
1259
1260Updated all ACPICA copyrights and signons to 2012. Added the 2012 
1261copyright to 
1262all module headers and signons, including the standard Linux header. This 
1263affects virtually every file in the ACPICA core subsystem, iASL compiler, 
1264and 
1265all ACPICA utilities.
1266
1267Example Code and Data Size: These are the sizes for the OS-independent 
1268acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1269debug 
1270version of the code includes the debug output trace mechanism and has a 
1271much 
1272larger code and data size.
1273
1274  Previous Release:
1275    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1276    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1277  Current Release:
1278    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1279    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1280
1281
12822) iASL Compiler/Disassembler and Tools:
1283
1284Disassembler: fixed a problem with the automatic resource tag generation 
1285support. Fixes a problem where the resource tags are inadvertently not 
1286constructed if the table being disassembled contains external references 
1287to 
1288control methods. Moved the actual construction of the tags to after the 
1289final 
1290namespace is constructed (after 2nd parse is invoked due to external 
1291control 
1292method references.) ACPICA BZ 941.
1293
1294Table Compiler: Make all "generic" operators caseless. These are the 
1295operators 
1296like UINT8, String, etc. Making these caseless improves ease-of-use. 
1297ACPICA BZ 
1298934.
1299
1300----------------------------------------
130123 November 2011. Summary of changes for version 20111123:
1302
13030) ACPI 5.0 Support:
1304
1305This release contains full support for the ACPI 5.0 specification, as 
1306summarized below.
1307
1308Reduced Hardware Support:
1309-------------------------
1310
1311This support allows for ACPI systems without the usual ACPI hardware. This 
1312support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
1313will 
1314not attempt to initialize or use any of the usual ACPI hardware. Note, 
1315when 
1316this flag is set, all of the following ACPI hardware is assumed to be not 
1317present and is not initialized or accessed:
1318
1319    General Purpose Events (GPEs)
1320    Fixed Events (PM1a/PM1b and PM Control)
1321    Power Management Timer and Console Buttons (power/sleep)
1322    Real-time Clock Alarm
1323    Global Lock
1324    System Control Interrupt (SCI)
1325    The FACS is assumed to be non-existent
1326
1327ACPI Tables:
1328------------
1329
1330All new tables and updates to existing tables are fully supported in the 
1331ACPICA headers (for use by device drivers), the disassembler, and the iASL 
1332Data Table Compiler. ACPI 5.0 defines these new tables:
1333
1334    BGRT        /* Boot Graphics Resource Table */
1335    DRTM        /* Dynamic Root of Trust for Measurement table */
1336    FPDT        /* Firmware Performance Data Table */
1337    GTDT        /* Generic Timer Description Table */
1338    MPST        /* Memory Power State Table */
1339    PCCT        /* Platform Communications Channel Table */
1340    PMTT        /* Platform Memory Topology Table */
1341    RASF        /* RAS Feature table */
1342
1343Operation Regions/SpaceIDs:
1344---------------------------
1345
1346All new operation regions are fully supported by the iASL compiler, the 
1347disassembler, and the ACPICA runtime code (for dispatch to region 
1348handlers.) 
1349The new operation region Space IDs are:
1350
1351    GeneralPurposeIo
1352    GenericSerialBus
1353
1354Resource Descriptors:
1355---------------------
1356
1357All new ASL resource descriptors are fully supported by the iASL compiler, 
1358the 
1359ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
1360(including 
1361all new predefined resource tags). New descriptors are:
1362
1363    FixedDma
1364    GpioIo
1365    GpioInt
1366    I2cSerialBus
1367    SpiSerialBus
1368    UartSerialBus
1369
1370ASL/AML Operators, New and Modified:
1371------------------------------------
1372
1373One new operator is added, the Connection operator, which is used to 
1374associate 
1375a GeneralPurposeIo or GenericSerialBus resource descriptor with individual 
1376field objects within an operation region. Several new protocols are 
1377associated 
1378with the AccessAs operator. All are fully supported by the iASL compiler, 
1379disassembler, and runtime ACPICA AML interpreter:
1380
1381    Connection                      // Declare Field Connection attributes
1382    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
1383    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
1384    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
1385    RawDataBuffer                       // Data type for Vendor Data 
1386fields
1387
1388Predefined ASL/AML Objects:
1389---------------------------
1390
1391All new predefined objects/control-methods are supported by the iASL 
1392compiler 
1393and the ACPICA runtime validation/repair (arguments and return values.) 
1394New 
1395predefined names include the following:
1396
1397Standard Predefined Names (Objects or Control Methods):
1398    _AEI, _CLS, _CPC, _CWS, _DEP,
1399    _DLM, _EVT, _GCP, _CRT, _GWS,
1400    _HRV, _PRE, _PSE, _SRT, _SUB.
1401
1402Resource Tags (Names used to access individual fields within resource 
1403descriptors):
1404    _DBT, _DPL, _DRS, _END, _FLC,
1405    _IOR, _LIN, _MOD, _PAR, _PHA,
1406    _PIN, _PPI, _POL, _RXL, _SLV,
1407    _SPE, _STB, _TXL, _VEN.
1408
1409ACPICA External Interfaces:
1410---------------------------
1411
1412Several new interfaces have been defined for use by ACPI-related device 
1413drivers and other host OS services:
1414
1415AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
1416to 
1417acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
1418provided by the BIOS. They are intended to be used in conjunction with the 
1419ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
1420mutual exclusion with the AML code/interpreter.
1421
1422AcpiGetEventResources: Returns the (formatted) resource descriptors as 
1423defined 
1424by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
1425provides 
1426resource descriptors associated with hardware-reduced platform events, 
1427similar 
1428to the AcpiGetCurrentResources interface.
1429
1430Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
1431operation regions, information about the Connection() object and any 
1432optional 
1433length information is passed to the region handler within the Context 
1434parameter.
1435
1436AcpiBufferToResource: This interface converts a raw AML buffer containing 
1437a 
1438resource template or resource descriptor to the ACPI_RESOURCE internal 
1439format 
1440suitable for use by device drivers. Can be used by an operation region 
1441handler 
1442to convert the Connection() buffer object into a ACPI_RESOURCE.
1443
1444Miscellaneous/Tools/TestSuites: 
1445-------------------------------
1446
1447Support for extended _HID names (Four alpha characters instead of three).
1448Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
1449Support for ACPI 5.0 features in the ASLTS test suite.
1450Fully updated documentation (ACPICA and iASL reference documents.)
1451
1452ACPI Table Definition Language:
1453-------------------------------
1454
1455Support for this language was implemented and released as a subsystem of 
1456the 
1457iASL compiler in 2010. (See the iASL compiler User Guide.)
1458
1459
1460Non-ACPI 5.0 changes for this release:
1461--------------------------------------
1462
14631) ACPICA Core Subsystem:
1464
1465Fix a problem with operation region declarations where a failure can occur 
1466if 
1467the region name and an argument that evaluates to an object (such as the 
1468region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
1469937.
1470
1471Do not abort an ACPI table load if an invalid space ID is found within. 
1472This 
1473will be caught later if the offending method is executed. ACPICA BZ 925.
1474
1475Fixed an issue with the FFixedHW space ID where the ID was not always 
1476recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
1477
1478Fixed a problem with the 32-bit generation of the unix-specific OSL 
1479(osunixxf.c). Lin Ming, ACPICA BZ 936.
1480
1481Several changes made to enable generation with the GCC 4.6 compiler. 
1482ACPICA BZ 
1483935.
1484
1485New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
1486Index/Bank 
1487field registers out-of-range.
1488
14892) iASL Compiler/Disassembler and Tools:
1490
1491iASL: Implemented the __PATH__ operator, which returns the full pathname 
1492of 
1493the current source file.
1494
1495AcpiHelp: Automatically display expanded keyword information for all ASL 
1496operators.
1497
1498Debugger: Add "Template" command to disassemble/dump resource template 
1499buffers.
1500
1501Added a new master script to generate and execute the ASLTS test suite. 
1502Automatically handles 32- and 64-bit generation. See tests/aslts.sh
1503
1504iASL: Fix problem with listing generation during processing of the 
1505Switch() 
1506operator where AML listing was disabled until the entire Switch block was 
1507completed.
1508
1509iASL: Improve support for semicolon statement terminators. Fix "invalid 
1510character" message for some cases when the semicolon is used. Semicolons 
1511are 
1512now allowed after every <Term> grammar element. ACPICA BZ 927.
1513
1514iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
1515923.
1516
1517Disassembler: Fix problem with disassembly of the DataTableRegion operator 
1518where an inadvertent "Unhandled deferred opcode" message could be 
1519generated.
1520
15213) Example Code and Data Size
1522
1523These are the sizes for the OS-independent acpica.lib produced by the 
1524Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
1525includes the debug output trace mechanism and has a much larger code and 
1526data 
1527size.
1528
1529  Previous Release:
1530    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1531    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1532  Current Release:
1533    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1534    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1535
1536----------------------------------------
153722 September 2011. Summary of changes for version 20110922:
1538
15390) ACPI 5.0 News:
1540
1541Support for ACPI 5.0 in ACPICA has been underway for several months and 
1542will 
1543be released at the same time that ACPI 5.0 is officially released.
1544
1545The ACPI 5.0 specification is on track for release in the next few months.
1546 
15471) ACPICA Core Subsystem:
1548
1549Fixed a problem where the maximum sleep time for the Sleep() operator was 
1550intended to be limited to two seconds, but was inadvertently limited to 20 
1551seconds instead.
1552
1553Linux and Unix makefiles: Added header file dependencies to ensure correct 
1554generation of ACPICA core code and utilities. Also simplified the 
1555makefiles 
1556considerably through the use of the vpath variable to specify search 
1557paths. 
1558ACPICA BZ 924.
1559
15602) iASL Compiler/Disassembler and Tools:
1561
1562iASL: Implemented support to check the access length for all fields 
1563created to 
1564access named Resource Descriptor fields. For example, if a resource field 
1565is 
1566defined to be two bits, a warning is issued if a CreateXxxxField() is used 
1567with an incorrect bit length. This is implemented for all current resource 
1568descriptor names. ACPICA BZ 930.
1569  
1570Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
157156-
1572bit integers.
1573
1574iASL: Fixed a couple of issues associated with variable-length package 
1575objects. 1) properly handle constants like One, Ones, Zero -- do not make 
1576a 
1577VAR_PACKAGE when these are used as a package length. 2) Allow the 
1578VAR_PACKAGE 
1579opcode (in addition to PACKAGE) when validating object types for 
1580predefined 
1581names.
1582
1583iASL: Emit statistics for all output files (instead of just the ASL input 
1584and 
1585AML output). Includes listings, hex files, etc.
1586
1587iASL: Added -G option to the table compiler to allow the compilation of 
1588custom 
1589ACPI tables. The only part of a table that is required is the standard 36-
1590byte 
1591ACPI header.
1592
1593AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
1594headers), 
1595which also adds correct 64-bit support. Also, now all output filenames are 
1596completely lower case.
1597
1598AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
1599loading table files. A warning is issued for any such tables. The only 
1600exception is an FADT. This also fixes a possible fault when attempting to 
1601load 
1602non-AML tables. ACPICA BZ 932.
1603
1604AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a 
1605missing table terminator could cause a fault when using the -p option.
1606
1607AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
1608statistics.
1609
16103) Example Code and Data Size
1611
1612These are the sizes for the OS-independent acpica.lib produced by the 
1613Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
1614includes the debug output trace mechanism and has a much larger code and 
1615data 
1616size.
1617
1618  Previous Release (VC 9.0):
1619    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1620    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1621  Current Release (VC 9.0):
1622    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1623    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1624
1625
1626----------------------------------------
162723 June 2011. Summary of changes for version 20110623:
1628
16291) ACPI CA Core Subsystem:
1630
1631Updated the predefined name repair mechanism to not attempt repair of a 
1632_TSS 
1633return object if a _PSS object is present. We can only sort the _TSS 
1634return 
1635package if there is no _PSS within the same scope. This is because if _PSS 
1636is 
1637present, the ACPI specification dictates that the _TSS Power Dissipation 
1638field 
1639is to be ignored, and therefore some BIOSs leave garbage values in the 
1640_TSS 
1641Power field(s). In this case, it is best to just return the _TSS package 
1642as-
1643is. Reported by, and fixed with assistance from Fenghua Yu.
1644
1645Added an option to globally disable the control method return value 
1646validation 
1647and repair. This runtime option can be used to disable return value repair 
1648if 
1649this is causing a problem on a particular machine. Also added an option to 
1650AcpiExec (-dr) to set this disable flag.
1651
1652All makefiles and project files: Major changes to improve generation of 
1653ACPICA 
1654tools. ACPICA BZ 912:
1655    Reduce default optimization levels to improve compatibility
1656    For Linux, add strict-aliasing=0 for gcc 4
1657    Cleanup and simplify use of command line defines
1658    Cleanup multithread library support
1659    Improve usage messages
1660
1661Linux-specific header: update handling of THREAD_ID and pthread. For the 
166232-
1663bit case, improve casting to eliminate possible warnings, especially with 
1664the 
1665acpica tools.
1666
1667Example Code and Data Size: These are the sizes for the OS-independent 
1668acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1669debug 
1670version of the code includes the debug output trace mechanism and has a 
1671much 
1672larger code and data size.
1673
1674  Previous Release (VC 9.0):
1675    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
1676    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1677  Current Release (VC 9.0):
1678    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1679    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1680
16812) iASL Compiler/Disassembler and Tools:
1682
1683With this release, a new utility named "acpihelp" has been added to the 
1684ACPICA 
1685package. This utility summarizes the ACPI specification chapters for the 
1686ASL 
1687and AML languages. It generates under Linux/Unix as well as Windows, and 
1688provides the following functionality:
1689    Find/display ASL operator(s) -- with description and syntax.
1690    Find/display ASL keyword(s) -- with exact spelling and descriptions.
1691    Find/display ACPI predefined name(s) -- with description, number
1692        of arguments, and the return value data type.
1693    Find/display AML opcode name(s) -- with opcode, arguments, and 
1694grammar.
1695    Decode/display AML opcode -- with opcode name, arguments, and grammar.
1696
1697Service Layers: Make multi-thread support configurable. Conditionally 
1698compile 
1699the multi-thread support so that threading libraries will not be linked if 
1700not 
1701necessary. The only tool that requires multi-thread support is AcpiExec.
1702
1703iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
1704of 
1705Bison appear to want the interface to yyerror to be a const char * (or at 
1706least this is a problem when generating iASL on some systems.) ACPICA BZ 
1707923 
1708Pierre Lejeune.
1709
1710Tools: Fix for systems where O_BINARY is not defined. Only used for 
1711Windows 
1712versions of the tools.
1713
1714----------------------------------------
171527 May 2011. Summary of changes for version 20110527:
1716
17171) ACPI CA Core Subsystem:
1718
1719ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
1720table 
1721signature. Now, only allow SSDT, OEMx, and a null signature. History:
1722    1) Originally, we checked the table signature for "SSDT" or "PSDT".
1723       (PSDT is now obsolete.)
1724    2) We added support for OEMx tables, signature "OEM" plus a fourth
1725       "don't care" character.
1726    3) Valid tables were encountered with a null signature, so we just
1727       gave up on validating the signature, (05/2008).
1728    4) We encountered non-AML tables such as the MADT, which caused
1729       interpreter errors and kernel faults. So now, we once again allow
1730       only SSDT, OEMx, and now, also a null signature. (05/2011).
1731
1732Added the missing _TDL predefined name to the global name list in order to 
1733enable validation. Affects both the core ACPICA code and the iASL 
1734compiler.
1735
1736Example Code and Data Size: These are the sizes for the OS-independent 
1737acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1738debug 
1739version of the code includes the debug output trace mechanism and has a 
1740much 
1741larger code and data size.
1742
1743  Previous Release (VC 9.0):
1744    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
1745    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
1746  Current Release (VC 9.0):
1747    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
1748    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1749
17502) iASL Compiler/Disassembler and Tools:
1751
1752Debugger/AcpiExec: Implemented support for "complex" method arguments on 
1753the 
1754debugger command line. This adds support beyond simple integers -- 
1755including 
1756Strings, Buffers, and Packages. Includes support for nested packages. 
1757Increased the default command line buffer size to accommodate these 
1758arguments. 
1759See the ACPICA reference for details and syntax. ACPICA BZ 917.
1760 
1761Debugger/AcpiExec: Implemented support for "default" method arguments for 
1762the 
1763Execute/Debug command. Now, the debugger will always invoke a control 
1764method 
1765with the required number of arguments -- even if the command line 
1766specifies 
1767none or insufficient arguments. It uses default integer values for any 
1768missing 
1769arguments. Also fixes a bug where only six method arguments maximum were 
1770supported instead of the required seven.
1771
1772Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
1773and 
1774also return status in order to prevent buffer overruns. See the ACPICA 
1775reference for details and syntax. ACPICA BZ 921
1776
1777iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
1778makefiles to simplify support for the two different but similar parser 
1779generators, bison and yacc.
1780
1781Updated the generic unix makefile for gcc 4. The default gcc version is 
1782now 
1783expected to be 4 or greater, since options specific to gcc 4 are used.
1784
1785----------------------------------------
178613 April 2011. Summary of changes for version 20110413:
1787
17881) ACPI CA Core Subsystem:
1789
1790Implemented support to execute a so-called "orphan" _REG method under the 
1791EC 
1792device. This change will force the execution of a _REG method underneath 
1793the 
1794EC 
1795device even if there is no corresponding operation region of type 
1796EmbeddedControl. Fixes a problem seen on some machines and apparently is 
1797compatible with Windows behavior. ACPICA BZ 875.
1798
1799Added more predefined methods that are eligible for automatic NULL package 
1800element removal. This change adds another group of predefined names to the 
1801list 
1802of names that can be repaired by having NULL package elements dynamically 
1803removed. This group are those methods that return a single variable-length 
1804package containing simple data types such as integers, buffers, strings. 
1805This 
1806includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
1807_PSL, 
1808_Sx, 
1809and _TZD. ACPICA BZ 914.
1810
1811Split and segregated all internal global lock functions to a new file, 
1812evglock.c.
1813
1814Updated internal address SpaceID for DataTable regions. Moved this 
1815internal 
1816space 
1817id in preparation for ACPI 5.0 changes that will include some new space 
1818IDs. 
1819This 
1820change should not affect user/host code.
1821
1822Example Code and Data Size: These are the sizes for the OS-independent 
1823acpica.lib 
1824produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
1825version of 
1826the code includes the debug output trace mechanism and has a much larger 
1827code 
1828and 
1829data size.
1830
1831  Previous Release (VC 9.0):
1832    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
1833    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
1834  Current Release (VC 9.0):
1835    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
1836    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
1837
18382) iASL Compiler/Disassembler and Tools:
1839
1840iASL/DTC: Major update for new grammar features. Allow generic data types 
1841in 
1842custom ACPI tables. Field names are now optional. Any line can be split to 
1843multiple lines using the continuation char (\). Large buffers now use 
1844line-
1845continuation character(s) and no colon on the continuation lines. See the 
1846grammar 
1847update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
1848Moore.
1849
1850iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
1851statements. 
1852Since the parser stuffs a "zero" as the return value for these statements 
1853(due 
1854to 
1855the underlying AML grammar), they were seen as "return with value" by the 
1856iASL 
1857semantic checking. They are now seen correctly as "null" return 
1858statements.
1859
1860iASL: Check if a_REG declaration has a corresponding Operation Region. 
1861Adds a 
1862check for each _REG to ensure that there is in fact a corresponding 
1863operation 
1864region declaration in the same scope. If not, the _REG method is not very 
1865useful 
1866since it probably won't be executed. ACPICA BZ 915.
1867
1868iASL/DTC: Finish support for expression evaluation. Added a new expression 
1869parser 
1870that implements c-style operator precedence and parenthesization. ACPICA 
1871bugzilla 
1872908.
1873
1874Disassembler/DTC: Remove support for () and <> style comments in data 
1875tables. 
1876Now 
1877that DTC has full expression support, we don't want to have comment 
1878strings 
1879that 
1880start with a parentheses or a less-than symbol. Now, only the standard /* 
1881and 
1882// 
1883comments are supported, as well as the bracket [] comments.
1884
1885AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
1886"unusual" 
1887headers in the acpidump file. Update the header validation to support 
1888these 
1889tables. Problem introduced in previous AcpiXtract version in the change to 
1890support "wrong checksum" error messages emitted by acpidump utility.
1891
1892iASL: Add a * option to generate all template files (as a synonym for ALL) 
1893as 
1894in 
1895"iasl -T *" or "iasl -T ALL".
1896
1897iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
1898completely 
1899abort the compiler on "fatal" errors, simply should abort the current 
1900compile. 
1901This allows multiple compiles with a single (possibly wildcard) compiler 
1902invocation.
1903
1904----------------------------------------
190516 March 2011. Summary of changes for version 20110316:
1906
19071) ACPI CA Core Subsystem:
1908
1909Fixed a problem caused by a _PRW method appearing at the namespace root 
1910scope 
1911during the setup of wake GPEs. A fault could occur if a _PRW directly 
1912under 
1913the 
1914root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
1915
1916Implemented support for "spurious" Global Lock interrupts. On some 
1917systems, a 
1918global lock interrupt can occur without the pending flag being set. Upon a 
1919GL 
1920interrupt, we now ensure that a thread is actually waiting for the lock 
1921before 
1922signaling GL availability. Rafael Wysocki, Bob Moore.
1923
1924Example Code and Data Size: These are the sizes for the OS-independent 
1925acpica.lib 
1926produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
1927version of 
1928the code includes the debug output trace mechanism and has a much larger 
1929code 
1930and 
1931data size.
1932
1933  Previous Release (VC 9.0):
1934    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
1935    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
1936  Current Release (VC 9.0):
1937    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
1938    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
1939
19402) iASL Compiler/Disassembler and Tools:
1941
1942Implemented full support for the "SLIC" ACPI table. Includes support in 
1943the 
1944header files, disassembler, table compiler, and template generator. Bob 
1945Moore, 
1946Lin Ming.
1947
1948AcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
1949Apparently some or all versions of acpidump will occasionally emit a 
1950comment 
1951like 
1952"Wrong checksum", etc., into the dump file. This was causing problems for 
1953AcpiXtract. ACPICA BZ 905.
1954
1955iASL: Fix the Linux makefile by removing an inadvertent double file 
1956inclusion. 
1957ACPICA BZ 913.
1958
1959AcpiExec: Update installation of operation region handlers. Install one 
1960handler 
1961for a user-defined address space. This is used by the ASL test suite 
1962(ASLTS).
1963
1964----------------------------------------
196511 February 2011. Summary of changes for version 20110211:
1966
19671) ACPI CA Core Subsystem:
1968
1969Added a mechanism to defer _REG methods for some early-installed handlers. 
1970Most user handlers should be installed before call to AcpiEnableSubsystem. 
1971However, Event handlers and region handlers should be installed after 
1972AcpiInitializeObjects. Override handlers for the "default" regions should 
1973be 
1974installed early, however. This change executes all _REG methods for the 
1975default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
1976chicken/egg issues between them. ACPICA BZ 848.
1977
1978Implemented an optimization for GPE detection. This optimization will 
1979simply 
1980ignore GPE registers that contain no enabled GPEs -- there is no need to 
1981read the register since this information is available internally. This 
1982becomes more important on machines with a large GPE space. ACPICA bugzilla 
1983884. Lin Ming. Suggestion from Joe Liu.
1984
1985Removed all use of the highly unreliable FADT revision field. The revision 
1986number in the FADT has been found to be completely unreliable and cannot 
1987be 
1988trusted. Only the actual table length can be used to infer the version. 
1989This 
1990change updates the ACPICA core and the disassembler so that both no longer 
1991even look at the FADT version and instead depend solely upon the FADT 
1992length.
1993
1994Fix an unresolved name issue for the no-debug and no-error-message source 
1995generation cases. The _AcpiModuleName was left undefined in these cases, 
1996but 
1997it is actually needed as a parameter to some interfaces. Define 
1998_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
1999
2000Split several large files (makefiles and project files updated)
2001  utglobal.c   -> utdecode.c
2002  dbcomds.c    -> dbmethod.c dbnames.c
2003  dsopcode.c   -> dsargs.c dscontrol.c
2004  dsload.c     -> dsload2.c
2005  aslanalyze.c -> aslbtypes.c aslwalks.c
2006
2007Example Code and Data Size: These are the sizes for the OS-independent 
2008acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2009debug version of the code includes the debug output trace mechanism and 
2010has 
2011a much larger code and data size.
2012
2013  Previous Release (VC 9.0):
2014    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2015    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2016  Current Release (VC 9.0):
2017    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2018    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2019
20202) iASL Compiler/Disassembler and Tools:
2021
2022iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
2023These are useful C-style macros with the standard definitions. ACPICA 
2024bugzilla 898.
2025
2026iASL/DTC: Added support for integer expressions and labels. Support for 
2027full 
2028expressions for all integer fields in all ACPI tables. Support for labels 
2029in 
2030"generic" portions of tables such as UEFI. See the iASL reference manual.
2031
2032Debugger: Added a command to display the status of global handlers. The 
2033"handlers" command will display op region, fixed event, and miscellaneous 
2034global handlers. installation status -- and for op regions, whether 
2035default 
2036or user-installed handler will be used.
2037
2038iASL: Warn if reserved method incorrectly returns a value. Many predefined 
2039names are defined such that they do not return a value. If implemented as 
2040a 
2041method, issue a warning if such a name explicitly returns a value. ACPICA 
2042Bugzilla 855.
2043
2044iASL: Added detection of GPE method name conflicts. Detects a conflict 
2045where 
2046there are two GPE methods of the form _Lxy and _Exy in the same scope. 
2047(For 
2048example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
2049
2050iASL/DTC: Fixed a couple input scanner issues with comments and line 
2051numbers. Comment remover could get confused and miss a comment ending. 
2052Fixed 
2053a problem with line counter maintenance.
2054
2055iASL/DTC: Reduced the severity of some errors from fatal to error. There 
2056is 
2057no need to abort on simple errors within a field definition.
2058
2059Debugger: Simplified the output of the help command. All help output now 
2060in 
2061a single screen, instead of help subcommands. ACPICA Bugzilla 897.
2062
2063----------------------------------------
206412 January 2011. Summary of changes for version 20110112:
2065
20661) ACPI CA Core Subsystem:
2067
2068Fixed a race condition between method execution and namespace walks that 
2069can 
2070possibly cause a fault. The problem was apparently introduced in version 
207120100528 as a result of a performance optimization that reduces the number 
2072of 
2073namespace walks upon method exit by using the delete_namespace_subtree 
2074function instead of the delete_namespace_by_owner function used 
2075previously. 
2076Bug is a missing namespace lock in the delete_namespace_subtree function. 
2077dana.myers@oracle.com
2078
2079Fixed several issues and a possible fault with the automatic "serialized" 
2080method support. History: This support changes a method to "serialized" on 
2081the 
2082fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
2083possibility that it cannot handle reentrancy. This fix repairs a couple of 
2084issues seen in the field, especially on machines with many cores:
2085
2086    1) Delete method children only upon the exit of the last thread,
2087       so as to not delete objects out from under other running threads
2088      (and possibly causing a fault.)
2089    2) Set the "serialized" bit for the method only upon the exit of the
2090       Last thread, so as to not cause deadlock when running threads
2091       attempt to exit.
2092    3) Cleanup the use of the AML "MethodFlags" and internal method flags
2093       so that there is no longer any confusion between the two.
2094
2095    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
2096
2097Debugger: Now lock the namespace for duration of a namespace dump. 
2098Prevents 
2099issues if the namespace is changing dynamically underneath the debugger. 
2100Especially affects temporary namespace nodes, since the debugger displays 
2101these also.
2102
2103Updated the ordering of include files. The ACPICA headers should appear 
2104before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
2105set 
2106any necessary compiler-specific defines, etc. Affects the ACPI-related 
2107tools 
2108and utilities.
2109
2110Updated all ACPICA copyrights and signons to 2011. Added the 2011 
2111copyright 
2112to all module headers and signons, including the Linux header. This 
2113affects 
2114virtually every file in the ACPICA core subsystem, iASL compiler, and all 
2115utilities.
2116
2117Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
2118project files for VC++ 6.0 are now obsolete. New project files can be 
2119found 
2120under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
2121details.
2122
2123Example Code and Data Size: These are the sizes for the OS-independent 
2124acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2125debug version of the code includes the debug output trace mechanism and 
2126has a 
2127much larger code and data size.
2128
2129  Previous Release (VC 6.0):
2130    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2131    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2132  Current Release (VC 9.0):
2133    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2134    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2135
21362) iASL Compiler/Disassembler and Tools:
2137
2138iASL: Added generic data types to the Data Table compiler. Add "generic" 
2139data 
2140types such as UINT32, String, Unicode, etc., to simplify the generation of 
2141platform-defined tables such as UEFI. Lin Ming.
2142
2143iASL: Added listing support for the Data Table Compiler. Adds listing 
2144support 
2145(-l) to display actual binary output for each line of input code.
2146
2147----------------------------------------
214809 December 2010. Summary of changes for version 20101209:
2149
21501) ACPI CA Core Subsystem:
2151
2152Completed the major overhaul of the GPE support code that was begun in 
2153July 
21542010. Major features include: removal of _PRW execution in ACPICA (host 
2155executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
2156changes to existing interfaces, simplification of GPE handler operation, 
2157and 
2158a handful of new interfaces:
2159
2160    AcpiUpdateAllGpes
2161    AcpiFinishGpe
2162    AcpiSetupGpeForWake
2163    AcpiSetGpeWakeMask
2164    One new file, evxfgpe.c to consolidate all external GPE interfaces.
2165
2166See the ACPICA Programmer Reference for full details and programming 
2167information. See the new section 4.4 "General Purpose Event (GPE) Support" 
2168for a full overview, and section 8.7 "ACPI General Purpose Event 
2169Management" 
2170for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
2171Bob Moore, Rafael Wysocki.
2172
2173Implemented a new GPE feature for Windows compatibility, the "Implicit 
2174Wake 
2175GPE Notify". This feature will automatically issue a Notify(2) on a device 
2176when a Wake GPE is received if there is no corresponding GPE method or 
2177handler. ACPICA BZ 870.
2178
2179Fixed a problem with the Scope() operator during table parse and load 
2180phase. 
2181During load phase (table load or method execution), the scope operator 
2182should 
2183not enter the target into the namespace. Instead, it should open a new 
2184scope 
2185at the target location. Linux BZ 19462, ACPICA BZ 882.
2186
2187Example Code and Data Size: These are the sizes for the OS-independent 
2188acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2189debug version of the code includes the debug output trace mechanism and 
2190has a 
2191much larger code and data size.
2192
2193  Previous Release:
2194    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2195    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2196  Current Release:
2197    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2198    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2199
22002) iASL Compiler/Disassembler and Tools:
2201
2202iASL: Relax the alphanumeric restriction on _CID strings. These strings 
2203are 
2204"bus-specific" per the ACPI specification, and therefore any characters 
2205are 
2206acceptable. The only checks that can be performed are for a null string 
2207and 
2208perhaps for a leading asterisk. ACPICA BZ 886.
2209
2210iASL: Fixed a problem where a syntax error that caused a premature EOF 
2211condition on the source file emitted a very confusing error message. The 
2212premature EOF is now detected correctly. ACPICA BZ 891.
2213
2214Disassembler: Decode the AccessSize within a Generic Address Structure 
2215(byte 
2216access, word access, etc.) Note, this field does not allow arbitrary bit 
2217access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
2218
2219New: AcpiNames utility - Example namespace dump utility. Shows an example 
2220of 
2221ACPICA configuration for a minimal namespace dump utility. Uses table and 
2222namespace managers, but no AML interpreter. Does not add any functionality 
2223over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
2224partition and configure ACPICA. ACPICA BZ 883.
2225
2226AML Debugger: Increased the debugger buffer size for method return 
2227objects. 
2228Was 4K, increased to 16K. Also enhanced error messages for debugger method 
2229execution, including the buffer overflow case.
2230
2231----------------------------------------
223213 October 2010. Summary of changes for version 20101013:
2233
22341) ACPI CA Core Subsystem:
2235
2236Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
2237now 
2238clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
2239HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
2240
2241Changed the type of the predefined namespace object _TZ from ThermalZone 
2242to 
2243Device. This was found to be confusing to the host software that processes 
2244the various thermal zones, since _TZ is not really a ThermalZone. However, 
2245a 
2246Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
2247Zhang.
2248
2249Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
2250string is "Windows 2006 SP2".
2251
2252Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
2253nsrepair 
2254code automatically repairs _HID-related strings, this type of code is no 
2255longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
2256
2257Example Code and Data Size: These are the sizes for the OS-independent 
2258acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2259debug version of the code includes the debug output trace mechanism and 
2260has a 
2261much larger code and data size.
2262
2263  Previous Release:
2264    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2265    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2266  Current Release:
2267    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2268    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2269
22702) iASL Compiler/Disassembler and Tools:
2271
2272iASL: Implemented additional compile-time validation for _HID strings. The 
2273non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length 
2274of 
2275the string must be exactly seven or eight characters. For both _HID and 
2276_CID 
2277strings, all characters must be alphanumeric. ACPICA BZ 874.
2278
2279iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
2280descriptors that are mostly or all zeros, with the expectation that they 
2281will 
2282be filled in at runtime. iASL now allows this as long as there is a 
2283"resource 
2284tag" (name) associated with the descriptor, which gives the ASL a handle 
2285needed to modify the descriptor. ACPICA BZ 873.
2286
2287Added single-thread support to the generic Unix application OSL. Primarily 
2288for iASL support, this change removes the use of semaphores in the single-
2289threaded ACPICA tools/applications - increasing performance. The 
2290_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
2291option. ACPICA BZ 879.
2292
2293AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
2294support 
2295for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
2296
2297iASL: Moved all compiler messages to a new file, aslmessages.h.
2298
2299----------------------------------------
230015 September 2010. Summary of changes for version 20100915:
2301
23021) ACPI CA Core Subsystem:
2303
2304Removed the AcpiOsDerivePciId OSL interface. The various host 
2305implementations 
2306of this function were not OS-dependent and are now obsolete and can be 
2307removed from all host OSLs. This function has been replaced by 
2308AcpiHwDerivePciId, which is now part of the ACPICA core code. 
2309AcpiHwDerivePciId has been implemented without recursion. Adds one new 
2310module, hwpci.c. ACPICA BZ 857.
2311
2312Implemented a dynamic repair for _HID and _CID strings. The following 
2313problems are now repaired at runtime: 1) Remove a leading asterisk in the 
2314string, and 2) the entire string is uppercased. Both repairs are in 
2315accordance with the ACPI specification and will simplify host driver code. 
2316ACPICA BZ 871.
2317
2318The ACPI_THREAD_ID type is no longer configurable, internally it is now 
2319always UINT64. This simplifies the ACPICA code, especially any printf 
2320output. 
2321UINT64 is the only common data type for all thread_id types across all 
2322operating systems. It is now up to the host OSL to cast the native 
2323thread_id 
2324type to UINT64 before returning the value to ACPICA (via 
2325AcpiOsGetThreadId). 
2326Lin Ming, Bob Moore.
2327
2328Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
2329"inline" 
2330keyword is not standard across compilers, and this type allows inline to 
2331be 
2332configured on a per-compiler basis. Lin Ming.
2333
2334Made the system global AcpiGbl_SystemAwakeAndRunning publically available. 
2335Added an extern for this boolean in acpixf.h. Some hosts utilize this 
2336value 
2337during suspend/restore operations. ACPICA BZ 869.
2338
2339All code that implements error/warning messages with the "ACPI:" prefix 
2340has 
2341been moved to a new module, utxferror.c.
2342
2343The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
2344it 
2345is used. ACPICA BZ 829. Lin Ming, Bob Moore.
2346
2347Example Code and Data Size: These are the sizes for the OS-independent 
2348acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2349debug version of the code includes the debug output trace mechanism and 
2350has a 
2351much larger code and data size.
2352
2353  Previous Release:
2354    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2355    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2356  Current Release:
2357    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2358    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2359
23602) iASL Compiler/Disassembler and Tools:
2361
2362iASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
2363This keeps the output files free of random error messages that may 
2364originate 
2365from within the namespace/interpreter code. Used this opportunity to merge 
2366all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
2367866. Lin Ming, Bob Moore.
2368
2369Tools: update some printfs for ansi warnings on size_t. Handle width 
2370change 
2371of size_t on 32-bit versus 64-bit generations. Lin Ming.
2372
2373----------------------------------------
237406 August 2010. Summary of changes for version 20100806:
2375
23761) ACPI CA Core Subsystem:
2377
2378Designed and implemented a new host interface to the _OSI support code. 
2379This 
2380will allow the host to dynamically add or remove multiple _OSI strings, as 
2381well as install an optional handler that is called for each _OSI 
2382invocation. 
2383Also added a new AML debugger command, 'osi' to display and modify the 
2384global 
2385_OSI string table, and test support in the AcpiExec utility. See the 
2386ACPICA 
2387reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
2388New Functions:
2389    AcpiInstallInterface - Add an _OSI string.
2390    AcpiRemoveInterface - Delete an _OSI string.
2391    AcpiInstallInterfaceHandler - Install optional _OSI handler.
2392Obsolete Functions:
2393    AcpiOsValidateInterface - no longer used.
2394New Files:
2395    source/components/utilities/utosi.c
2396
2397Re-introduced the support to enable multi-byte transfers for Embedded 
2398Controller (EC) operation regions. A reported problem was found to be a 
2399bug 
2400in the host OS, not in the multi-byte support. Previously, the maximum 
2401data 
2402size passed to the EC operation region handler was a single byte. There 
2403are 
2404often EC Fields larger than one byte that need to be transferred, and it 
2405is 
2406useful for the EC driver to lock these as a single transaction. This 
2407change 
2408enables single transfers larger than 8 bits. This effectively changes the 
2409access to the EC space from ByteAcc to AnyAcc, and will probably require 
2410changes to the host OS Embedded Controller driver to enable 16/32/64/256-
2411bit 
2412transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
2413
2414Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
2415prototype in acpiosxf.h had the output value pointer as a (void *).
2416It should be a (UINT64 *). This may affect some host OSL code.
2417
2418Fixed a couple problems with the recently modified Linux makefiles for 
2419iASL 
2420and AcpiExec. These new makefiles place the generated object files in the 
2421local directory so that there can be no collisions between the files that 
2422are 
2423shared between them that are compiled with different options.
2424
2425Example Code and Data Size: These are the sizes for the OS-independent 
2426acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2427debug version of the code includes the debug output trace mechanism and 
2428has a 
2429much larger code and data size.
2430
2431  Previous Release:
2432    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2433    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2434  Current Release:
2435    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2436    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2437
24382) iASL Compiler/Disassembler and Tools:
2439
2440iASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
2441namespace from and disassemble an entire group of AML files. Useful for 
2442loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
2443and 
2444disassembling with one simple command. ACPICA BZ 865. Lin Ming.
2445
2446iASL: Allow multiple invocations of -e option. This change allows multiple 
2447uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
2448834. 
2449Lin Ming.
2450
2451----------------------------------------
245202 July 2010. Summary of changes for version 20100702:
2453
24541) ACPI CA Core Subsystem:
2455
2456Implemented several updates to the recently added GPE reference count 
2457support. The model for "wake" GPEs is changing to give the host OS 
2458complete 
2459control of these GPEs. Eventually, the ACPICA core will not execute any 
2460_PRW 
2461methods, since the host already must execute them. Also, additional 
2462changes 
2463were made to help ensure that the reference counts are kept in proper 
2464synchronization with reality. Rafael J. Wysocki.
2465
24661) Ensure that GPEs are not enabled twice during initialization.
24672) Ensure that GPE enable masks stay in sync with the reference count.
24683) Do not inadvertently enable GPEs when writing GPE registers.
24694) Remove the internal wake reference counter and add new AcpiGpeWakeup 
2470interface. This interface will set or clear individual GPEs for wakeup.
24715) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
2472interfaces 
2473are now used for "runtime" GPEs only.
2474
2475Changed the behavior of the GPE install/remove handler interfaces. The GPE 
2476is 
2477no longer disabled during this process, as it was found to cause problems 
2478on 
2479some machines. Rafael J. Wysocki.
2480
2481Reverted a change introduced in version 20100528 to enable Embedded 
2482Controller multi-byte transfers. This change was found to cause problems 
2483with 
2484Index Fields and possibly Bank Fields. It will be reintroduced when these 
2485problems have been resolved.
2486
2487Fixed a problem with references to Alias objects within Package Objects. A 
2488reference to an Alias within the definition of a Package was not always 
2489resolved properly. Aliases to objects like Processors, Thermal zones, etc. 
2490were resolved to the actual object instead of a reference to the object as 
2491it 
2492should be. Package objects are only allowed to contain integer, string, 
2493buffer, package, and reference objects. Redhat bugzilla 608648.
2494
2495Example Code and Data Size: These are the sizes for the OS-independent 
2496acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2497debug version of the code includes the debug output trace mechanism and 
2498has a 
2499much larger code and data size.
2500
2501  Previous Release:
2502    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2503    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
2504  Current Release:
2505    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2506    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2507
25082) iASL Compiler/Disassembler and Tools:
2509
2510iASL: Implemented a new compiler subsystem to allow definition and 
2511compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
2512These 
2513are called "ACPI Data Tables", and the new compiler is the "Data Table 
2514Compiler". This compiler is intended to simplify the existing error-prone 
2515process of creating these tables for the BIOS, as well as allowing the 
2516disassembly, modification, recompilation, and override of existing ACPI 
2517data 
2518tables. See the iASL User Guide for detailed information.
2519
2520iASL: Implemented a new Template Generator option in support of the new 
2521Data 
2522Table Compiler. This option will create examples of all known ACPI tables 
2523that can be used as the basis for table development. See the iASL 
2524documentation and the -T option.
2525
2526Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
2527Descriptor Table).
2528
2529Updated the Linux makefiles for iASL and AcpiExec to place the generated 
2530object files in the local directory so that there can be no collisions 
2531between the shared files between them that are generated with different 
2532options.
2533
2534Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
2535the #define __APPLE__ to enable this support.
2536
2537----------------------------------------
253828 May 2010. Summary of changes for version 20100528:
2539
2540Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
2541available at www.acpi.info. This is primarily an errata release.
2542
25431) ACPI CA Core Subsystem:
2544
2545Undefined ACPI tables: We are looking for the definitions for the 
2546following 
2547ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
2548
2549Implemented support to enable multi-byte transfers for Embedded Controller 
2550(EC) operation regions. Previously, the maximum data size passed to the EC 
2551operation region handler was a single byte. There are often EC Fields 
2552larger 
2553than one byte that need to be transferred, and it is useful for the EC 
2554driver 
2555to lock these as a single transaction. This change enables single 
2556transfers 
2557larger than 8 bits. This effectively changes the access to the EC space 
2558from 
2559ByteAcc to AnyAcc, and will probably require changes to the host OS 
2560Embedded 
2561Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
2562bit 
2563transfers. Alexey Starikovskiy, Lin Ming
2564
2565Implemented a performance enhancement for namespace search and access. 
2566This 
2567change enhances the performance of namespace searches and walks by adding 
2568a 
2569backpointer to the parent in each namespace node. On large namespaces, 
2570this 
2571change can improve overall ACPI performance by up to 9X. Adding a pointer 
2572to 
2573each namespace node increases the overall size of the internal namespace 
2574by 
2575about 5%, since each namespace entry usually consists of both a namespace 
2576node and an ACPI operand object. However, this is the first growth of the 
2577namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
2578
2579Implemented a performance optimization that reduces the number of 
2580namespace 
2581walks. On control method exit, only walk the namespace if the method is 
2582known 
2583to have created namespace objects outside of its local scope. Previously, 
2584the 
2585entire namespace was traversed on each control method exit. This change 
2586can 
2587improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
2588Moore.
2589
2590Added support to truncate I/O addresses to 16 bits for Windows 
2591compatibility. 
2592Some ASL code has been seen in the field that inadvertently has bits set 
2593above bit 15. This feature is optional and is enabled if the BIOS requests 
2594any Windows OSI strings. It can also be enabled by the host OS. Matthew 
2595Garrett, Bob Moore.
2596
2597Added support to limit the maximum time for the ASL Sleep() operator. To 
2598prevent accidental deep sleeps, limit the maximum time that Sleep() will 
2599actually sleep. Configurable, the default maximum is two seconds. ACPICA 
2600bugzilla 854.
2601
2602Added run-time validation support for the _WDG and_WED Microsoft 
2603predefined 
2604methods. These objects are defined by "Windows Instrumentation", and are 
2605not 
2606part of the ACPI spec. ACPICA BZ 860.
2607
2608Expanded all statistic counters used during namespace and device 
2609initialization from 16 to 32 bits in order to support very large 
2610namespaces.
2611
2612Replaced all instances of %d in printf format specifiers with %u since 
2613nearly 
2614all integers in ACPICA are unsigned.
2615
2616Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
2617returned 
2618as AE_NO_HANDLER.
2619
2620Example Code and Data Size: These are the sizes for the OS-independent 
2621acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2622debug version of the code includes the debug output trace mechanism and 
2623has a 
2624much larger code and data size.
2625
2626  Previous Release:
2627    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
2628    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
2629  Current Release:
2630    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2631    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
2632
26332) iASL Compiler/Disassembler and Tools:
2634
2635iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
2636methods. These objects are defined by "Windows Instrumentation", and are 
2637not 
2638part of the ACPI spec. ACPICA BZ 860.
2639
2640AcpiExec: added option to disable the memory tracking mechanism. The -dt 
2641option will disable the tracking mechanism, which improves performance 
2642considerably.
2643
2644AcpiExec: Restructured the command line options into -d (disable) and -e 
2645(enable) options.
2646
2647----------------------------------------
264828 April 2010. Summary of changes for version 20100428:
2649
26501) ACPI CA Core Subsystem:
2651
2652Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
2653including FADT-based and GPE Block Devices, execute any _PRW methods in 
2654the 
2655new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
2656runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
2657immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
2658Devices. Provides compatibility with other ACPI implementations. Two new 
2659files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
2660Moore.
2661
2662Fixed a regression introduced in version 20100331 within the table manager 
2663where initial table loading could fail. This was introduced in the fix for 
2664AcpiReallocateRootTable. Also, renamed some of fields in the table manager 
2665data structures to clarify their meaning and use.
2666
2667Fixed a possible allocation overrun during internal object copy in 
2668AcpiUtCopySimpleObject. The original code did not correctly handle the 
2669case 
2670where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
2671847.
2672
2673Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
2674possible access beyond end-of-allocation. Also, now fully validate 
2675descriptor 
2676(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
2677
2678Example Code and Data Size: These are the sizes for the OS-independent 
2679acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2680debug version of the code includes the debug output trace mechanism and 
2681has a 
2682much larger code and data size.
2683
2684  Previous Release:
2685    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
2686    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
2687  Current Release:
2688    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
2689    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
2690
26912) iASL Compiler/Disassembler and Tools:
2692
2693iASL: Implemented Min/Max/Len/Gran validation for address resource 
2694descriptors. This change implements validation for the address fields that 
2695are common to all address-type resource descriptors. These checks are 
2696implemented: Checks for valid Min/Max, length within the Min/Max window, 
2697valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
2698table 6-40 in the ACPI 4.0a specification. Also split the large 
2699aslrestype1.c 
2700and aslrestype2.c files into five new files. ACPICA BZ 840.
2701
2702iASL: Added support for the _Wxx predefined names. This support was 
2703missing 
2704and these names were not recognized by the compiler as valid predefined 
2705names. ACPICA BZ 851.
2706
2707iASL: Added an error for all predefined names that are defined to return 
2708no 
2709value and thus must be implemented as Control Methods. These include all 
2710of 
2711the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
2712names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
2713
2714iASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
2715ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
2716be 
2717dynamically loaded via the Load() operator. Also cleaned up output for the 
2718-
2719ta and -tc options. ACPICA BZ 853.
2720
2721Tests: Added a new file with examples of extended iASL error checking. 
2722Demonstrates the advanced error checking ability of the iASL compiler. 
2723Available at tests/misc/badcode.asl.
2724
2725----------------------------------------
272631 March 2010. Summary of changes for version 20100331:
2727
27281) ACPI CA Core Subsystem:
2729
2730Completed a major update for the GPE support in order to improve support 
2731for 
2732shared GPEs and to simplify both host OS and ACPICA code. Added a 
2733reference 
2734count mechanism to support shared GPEs that require multiple device 
2735drivers. 
2736Several external interfaces have changed. One external interface has been 
2737removed. One new external interface was added. Most of the GPE external 
2738interfaces now use the GPE spinlock instead of the events mutex (and the 
2739Flags parameter for many GPE interfaces has been removed.) See the updated 
2740ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
2741Rafael 
2742Wysocki. ACPICA BZ 831.
2743
2744Changed:
2745    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
2746Removed:
2747    AcpiSetGpeType
2748New:
2749    AcpiSetGpe
2750
2751Implemented write support for DataTable operation regions. These regions 
2752are 
2753defined via the DataTableRegion() operator. Previously, only read support 
2754was 
2755implemented. The ACPI specification allows DataTableRegions to be 
2756read/write, 
2757however.
2758
2759Implemented a new subsystem option to force a copy of the DSDT to local 
2760memory. Optionally copy the entire DSDT to local memory (instead of simply 
2761mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
2762replace 
2763the original DSDT, creating the need for this option. Default is FALSE, do 
2764not copy the DSDT.
2765
2766Implemented detection of a corrupted or replaced DSDT. This change adds 
2767support to detect a DSDT that has been corrupted and/or replaced from 
2768outside 
2769the OS (by firmware). This is typically catastrophic for the system, but 
2770has 
2771been seen on some machines. Once this problem has been detected, the DSDT 
2772copy option can be enabled via system configuration. Lin Ming, Bob Moore.
2773
2774Fixed two problems with AcpiReallocateRootTable during the root table 
2775copy. 
2776When copying the root table to the new allocation, the length used was 
2777incorrect. The new size was used instead of the current table size, 
2778meaning 
2779too much data was copied. Also, the count of available slots for ACPI 
2780tables 
2781was not set correctly. Alexey Starikovskiy, Bob Moore.
2782
2783Example Code and Data Size: These are the sizes for the OS-independent 
2784acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2785debug version of the code includes the debug output trace mechanism and 
2786has a 
2787much larger code and data size.
2788
2789  Previous Release:
2790    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
2791    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
2792  Current Release:
2793    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
2794    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
2795
27962) iASL Compiler/Disassembler and Tools:
2797
2798iASL: Implement limited typechecking for values returned from predefined 
2799control methods. The type of any returned static (unnamed) object is now 
2800validated. For example, Return(1). ACPICA BZ 786.
2801
2802iASL: Fixed a predefined name object verification regression. Fixes a 
2803problem 
2804introduced in version 20100304. An error is incorrectly generated if a 
2805predefined name is declared as a static named object with a value defined 
2806using the keywords "Zero", "One", or "Ones". Lin Ming.
2807
2808iASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
2809reducing the requested registry access rights. ACPICA BZ 842.
2810
2811Disassembler: fixed a possible fault when generating External() 
2812statements. 
2813Introduced in commit ae7d6fd: Properly handle externals with parent-prefix 
2814(carat). Fixes a string length allocation calculation. Lin Ming.
2815
2816----------------------------------------
281704 March 2010. Summary of changes for version 20100304:
2818
28191) ACPI CA Core Subsystem:
2820
2821Fixed a possible problem with the AML Mutex handling function 
2822AcpiExReleaseMutex where the function could fault under the very rare 
2823condition when the interpreter has blocked, the interpreter lock is 
2824released, 
2825the interpreter is then reentered via the same thread, and attempts to 
2826acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
2827Lin 
2828Ming.
2829
2830Implemented additional configuration support for the AML "Debug Object". 
2831Output from the debug object can now be enabled via a global variable, 
2832AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
2833debugging. 
2834This debug output is now available in the release version of ACPICA 
2835instead 
2836of just the debug version. Also, the entire debug output module can now be 
2837configured out of the ACPICA build if desired. One new file added, 
2838executer/exdebug.c. Lin Ming, Bob Moore.
2839
2840Added header support for the ACPI MCHI table (Management Controller Host 
2841Interface Table). This table was added in ACPI 4.0, but the defining 
2842document 
2843has only recently become available.
2844
2845Standardized output of integer values for ACPICA warnings/errors. Always 
2846use 
28470x prefix for hex output, always use %u for unsigned integer decimal 
2848output. 
2849Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
2850invocations.) These invocations were converted from the original 
2851ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
2852
2853Example Code and Data Size: These are the sizes for the OS-independent 
2854acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2855debug version of the code includes the debug output trace mechanism and 
2856has a 
2857much larger code and data size.
2858
2859  Previous Release:
2860    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
2861    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
2862  Current Release:
2863    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
2864    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
2865
28662) iASL Compiler/Disassembler and Tools:
2867
2868iASL: Implemented typechecking support for static (non-control method) 
2869predefined named objects that are declared with the Name() operator. For 
2870example, the type of this object is now validated to be of type Integer: 
2871Name(_BBN, 1). This change migrates the compiler to using the core 
2872predefined 
2873name table instead of maintaining a local version. Added a new file, 
2874aslpredef.c. ACPICA BZ 832.
2875
2876Disassembler: Added support for the ACPI 4.0 MCHI table.
2877
2878----------------------------------------
287921 January 2010. Summary of changes for version 20100121:
2880
28811) ACPI CA Core Subsystem:
2882
2883Added the 2010 copyright to all module headers and signons. This affects 
2884virtually every file in the ACPICA core subsystem, the iASL compiler, the 
2885tools/utilities, and the test suites.
2886
2887Implemented a change to the AcpiGetDevices interface to eliminate 
2888unnecessary 
2889invocations of the _STA method. In the case where a specific _HID is 
2890requested, do not run _STA until a _HID match is found. This eliminates 
2891potentially dozens of _STA calls during a search for a particular 
2892device/HID, 
2893which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
2894
2895Implemented an additional repair for predefined method return values. 
2896Attempt 
2897to repair unexpected NULL elements within returned Package objects. Create 
2898an 
2899Integer of value zero, a NULL String, or a zero-length Buffer as 
2900appropriate. 
2901ACPICA BZ 818. Lin Ming, Bob Moore.
2902
2903Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
2904the 
2905code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
2906(with 
290764-bit AML integers). It is now obsolete and this change removes it from 
2908the 
2909ACPICA code base, replaced by UINT64. The original typedef has been 
2910retained 
2911for now for compatibility with existing device driver code. ACPICA BZ 824.
2912
2913Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
2914the parse tree object.
2915
2916Added additional warning options for the gcc-4 generation. Updated the 
2917source 
2918accordingly. This includes some code restructuring to eliminate 
2919unreachable 
2920code, elimination of some gotos, elimination of unused return values, some 
2921additional casting, and removal of redundant declarations.
2922
2923Example Code and Data Size: These are the sizes for the OS-independent 
2924acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2925debug version of the code includes the debug output trace mechanism and 
2926has a 
2927much larger code and data size.
2928
2929  Previous Release:
2930    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
2931    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
2932  Current Release:
2933    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
2934    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
2935
29362) iASL Compiler/Disassembler and Tools:
2937
2938No functional changes for this release.
2939
2940----------------------------------------
294114 December 2009. Summary of changes for version 20091214:
2942
29431) ACPI CA Core Subsystem:
2944
2945Enhanced automatic data type conversions for predefined name repairs. This 
2946change expands the automatic repairs/conversions for predefined name 
2947return 
2948values to make Integers, Strings, and Buffers fully interchangeable. Also, 
2949a 
2950Buffer can be converted to a Package of Integers if necessary. The 
2951nsrepair.c 
2952module was completely restructured. Lin Ming, Bob Moore.
2953
2954Implemented automatic removal of null package elements during predefined 
2955name 
2956repairs. This change will automatically remove embedded and trailing NULL 
2957package elements from returned package objects that are defined to contain 
2958a 
2959variable number of sub-packages. The driver is then presented with a 
2960package 
2961with no null elements to deal with. ACPICA BZ 819.
2962
2963Implemented a repair for the predefined _FDE and _GTM names. The expected 
2964return value for both names is a Buffer of 5 DWORDs. This repair fixes two 
2965possible problems (both seen in the field), where a package of integers is 
2966returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
2967Kim.
2968
2969Implemented additional module-level code support. This change will 
2970properly 
2971execute module-level code that is not at the root of the namespace (under 
2972a 
2973Device object, etc.). Now executes the code within the current scope 
2974instead 
2975of the root. ACPICA BZ 762. Lin Ming.
2976
2977Fixed possible mutex acquisition errors when running _REG methods. Fixes a 
2978problem where mutex errors can occur when running a _REG method that is in 
2979the same scope as a method-defined operation region or an operation region 
2980under a module-level IF block. This type of code is rare, so the problem 
2981has 
2982not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
2983
2984Fixed a possible memory leak during module-level code execution. An object 
2985could be leaked for each block of executed module-level code if the 
2986interpreter slack mode is enabled This change deletes any implicitly 
2987returned 
2988object from the module-level code block. Lin Ming.
2989
2990Removed messages for successful predefined repair(s). The repair mechanism 
2991was considered too wordy. Now, messages are only unconditionally emitted 
2992if 
2993the return object cannot be repaired. Existing messages for successful 
2994repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
2995827.
2996
2997Example Code and Data Size: These are the sizes for the OS-independent 
2998acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2999debug version of the code includes the debug output trace mechanism and 
3000has a 
3001much larger code and data size.
3002
3003  Previous Release:
3004    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3005    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3006  Current Release:
3007    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
3008    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
3009
30102) iASL Compiler/Disassembler and Tools:
3011
3012iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
3013files 
3014were no longer automatically removed at the termination of the compile.
3015
3016acpiexec: Implemented the -f option to specify default region fill value. 
3017This option specifies the value used to initialize buffers that simulate 
3018operation regions. Default value is zero. Useful for debugging problems 
3019that 
3020depend on a specific initial value for a region or field.
3021
3022----------------------------------------
302312 November 2009. Summary of changes for version 20091112:
3024
30251) ACPI CA Core Subsystem:
3026
3027Implemented a post-order callback to AcpiWalkNamespace. The existing 
3028interface only has a pre-order callback. This change adds an additional 
3029parameter for a post-order callback which will be more useful for bus 
3030scans. 
3031ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
3032
3033Modified the behavior of the operation region memory mapping cache for 
3034SystemMemory. Ensure that the memory mappings created for operation 
3035regions 
3036do not cross 4K page boundaries. Crossing a page boundary while mapping 
3037regions can cause kernel warnings on some hosts if the pages have 
3038different 
3039attributes. Such regions are probably BIOS bugs, and this is the 
3040workaround. 
3041Linux BZ 14445. Lin Ming.
3042
3043Implemented an automatic repair for predefined methods that must return 
3044sorted lists. This change will repair (by sorting) packages returned by 
3045_ALR, 
3046_PSS, and _TSS. Drivers can now assume that the packages are correctly 
3047sorted 
3048and do not contain NULL package elements. Adds one new file, 
3049namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
3050
3051Fixed a possible fault during predefined name validation if a return 
3052Package 
3053object contains NULL elements. Also adds a warning if a NULL element is 
3054followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
3055may 
3056include repair or removal of all such NULL elements where possible.
3057
3058Implemented additional module-level executable AML code support. This 
3059change 
3060will execute module-level code that is not at the root of the namespace 
3061(under a Device object, etc.) at table load time. Module-level executable 
3062AML 
3063code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
3064
3065Implemented a new internal function to create Integer objects. This 
3066function 
3067simplifies miscellaneous object creation code. ACPICA BZ 823.
3068
3069Reduced the severity of predefined repair messages, Warning to Info. Since 
3070the object was successfully repaired, a warning is too severe. Reduced to 
3071an 
3072info message for now. These messages may eventually be changed to debug-
3073only. 
3074ACPICA BZ 812.
3075
3076Example Code and Data Size: These are the sizes for the OS-independent 
3077acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3078debug version of the code includes the debug output trace mechanism and 
3079has a 
3080much larger code and data size.
3081
3082  Previous Release:
3083    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3084    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3085  Current Release:
3086    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3087    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3088
30892) iASL Compiler/Disassembler and Tools:
3090
3091iASL: Implemented Switch() with While(1) so that Break works correctly. 
3092This 
3093change correctly implements the Switch operator with a surrounding 
3094While(1) 
3095so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
3096
3097iASL: Added a message if a package initializer list is shorter than 
3098package 
3099length. Adds a new remark for a Package() declaration if an initializer 
3100list 
3101exists, but is shorter than the declared length of the package. Although 
3102technically legal, this is probably a coding error and it is seen in the 
3103field. ACPICA BZ 815. Lin Ming, Bob Moore.
3104
3105iASL: Fixed a problem where the compiler could fault after the maximum 
3106number 
3107of errors was reached (200).
3108
3109acpixtract: Fixed a possible warning for pointer cast if the compiler 
3110warning 
3111level set very high.
3112
3113----------------------------------------
311413 October 2009. Summary of changes for version 20091013:
3115
31161) ACPI CA Core Subsystem:
3117
3118Fixed a problem where an Operation Region _REG method could be executed 
3119more 
3120than once. If a custom address space handler is installed by the host 
3121before 
3122the "initialize operation regions" phase of the ACPICA initialization, any 
3123_REG methods for that address space could be executed twice. This change 
3124fixes the problem. ACPICA BZ 427. Lin Ming.
3125
3126Fixed a possible memory leak for the Scope() ASL operator. When the exact 
3127invocation of "Scope(\)" is executed (change scope to root), one internal 
3128operand object was leaked. Lin Ming.
3129
3130Implemented a run-time repair for the _MAT predefined method. If the _MAT 
3131return value is defined as a Field object in the AML, and the field
3132size is less than or equal to the default width of an integer (32 or 
313364),_MAT 
3134can incorrectly return an Integer instead of a Buffer. ACPICA now 
3135automatically repairs this problem. ACPICA BZ 810.
3136
3137Implemented a run-time repair for the _BIF and _BIX predefined methods. 
3138The 
3139"OEM Information" field is often incorrectly returned as an Integer with 
3140value zero if the field is not supported by the platform. This is due to 
3141an 
3142ambiguity in the ACPI specification. The field should always be a string. 
3143ACPICA now automatically repairs this problem by returning a NULL string 
3144within the returned Package. ACPICA BZ 807.
3145
3146Example Code and Data Size: These are the sizes for the OS-independent 
3147acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3148debug version of the code includes the debug output trace mechanism and 
3149has a 
3150much larger code and data size.
3151
3152  Previous Release:
3153    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3154    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3155  Current Release:
3156    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3157    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3158
31592) iASL Compiler/Disassembler and Tools:
3160
3161Disassembler: Fixed a problem where references to external symbols that 
3162contained one or more parent-prefixes (carats) were not handled correctly, 
3163possibly causing a fault. ACPICA BZ 806. Lin Ming.
3164
3165Disassembler: Restructured the code so that all functions that handle 
3166external symbols are in a single module. One new file is added, 
3167common/dmextern.c.
3168
3169AML Debugger: Added a max count argument for the Batch command (which 
3170executes multiple predefined methods within the namespace.)
3171
3172iASL: Updated the compiler documentation (User Reference.) Available at 
3173http://www.acpica.org/documentation/. ACPICA BZ 750.
3174
3175AcpiXtract: Updated for Lint and other formatting changes. Close all open 
3176files.
3177
3178----------------------------------------
317903 September 2009. Summary of changes for version 20090903:
3180
31811) ACPI CA Core Subsystem:
3182
3183For Windows Vista compatibility, added the automatic execution of an _INI 
3184method located at the namespace root (\_INI). This method is executed at 
3185table load time. This support is in addition to the automatic execution of 
3186\_SB._INI. Lin Ming.
3187
3188Fixed a possible memory leak in the interpreter for AML package objects if 
3189the package initializer list is longer than the defined size of the 
3190package. 
3191This apparently can only happen if the BIOS changes the package size on 
3192the 
3193fly (seen in a _PSS object), as ASL compilers do not allow this. The 
3194interpreter will truncate the package to the defined size (and issue an 
3195error 
3196message), but previously could leave the extra objects undeleted if they 
3197were 
3198pre-created during the argument processing (such is the case if the 
3199package 
3200consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
3201
3202Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
3203This has been reported in the field. Previously, ACPICA would zero out the 
3204buffer/string. Now, the operation is treated as a noop. Provides Windows 
3205compatibility. ACPICA BZ 803. Lin Ming.
3206
3207Removed an extraneous error message for ASL constructs of the form 
3208Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
3209statements 
3210are seen in many BIOSs and are once again treated as NOOPs and no error is 
3211emitted when they are encountered. ACPICA BZ 785.
3212
3213Fixed an extraneous warning message if a _DSM reserved method returns a 
3214Package object. _DSM can return any type of object, so validation on the 
3215return type cannot be performed. ACPICA BZ 802.
3216
3217Example Code and Data Size: These are the sizes for the OS-independent 
3218acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3219debug version of the code includes the debug output trace mechanism and 
3220has a 
3221much larger code and data size.
3222
3223  Previous Release:
3224    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3225    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3226  Current Release:
3227    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3228    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3229
32302) iASL Compiler/Disassembler and Tools:
3231
3232iASL: Fixed a problem with the use of the Alias operator and Resource 
3233Templates. The correct alias is now constructed and no error is emitted. 
3234ACPICA BZ 738.
3235
3236iASL: Implemented the -I option to specify additional search directories 
3237for 
3238include files. Allows multiple additional search paths for include files. 
3239Directories are searched in the order specified on the command line (after 
3240the local directory is searched.) ACPICA BZ 800.
3241
3242iASL: Fixed a problem where the full pathname for include files was not 
3243emitted for warnings/errors. This caused the IDE support to not work 
3244properly. ACPICA BZ 765.
3245
3246iASL: Implemented the -@ option to specify a Windows-style response file 
3247containing additional command line options. ACPICA BZ 801.
3248
3249AcpiExec: Added support to load multiple AML files simultaneously (such as 
3250a 
3251DSDT and multiple SSDTs). Also added support for wildcards within the AML 
3252pathname. These features allow all machine tables to be easily loaded and 
3253debugged together. ACPICA BZ 804.
3254
3255Disassembler: Added missing support for disassembly of HEST table Error 
3256Bank 
3257subtables. 
3258
3259----------------------------------------
326030 July 2009. Summary of changes for version 20090730:
3261
3262The ACPI 4.0 implementation for ACPICA is complete with this release.
3263
32641) ACPI CA Core Subsystem:
3265
3266ACPI 4.0: Added header file support for all new and changed ACPI tables. 
3267Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
3268for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
3269BERT, 
3270EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
3271There 
3272have been some ACPI 4.0 changes to other existing tables. Split the large 
3273actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
3274
3275ACPI 4.0: Implemented predefined name validation for all new names. There 
3276are 
327731 new names in ACPI 4.0. The predefined validation module was split into 
3278two 
3279files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
3280
3281Implemented support for so-called "module-level executable code". This is 
3282executable AML code that exists outside of any control method and is 
3283intended 
3284to be executed at table load time. Although illegal since ACPI 2.0, this 
3285type 
3286of code still exists and is apparently still being created. Blocks of this 
3287code are now detected and executed as intended. Currently, the code blocks 
3288must exist under either an If, Else, or While construct; these are the 
3289typical cases seen in the field. ACPICA BZ 762. Lin Ming.
3290
3291Implemented an automatic dynamic repair for predefined names that return 
3292nested Package objects. This applies to predefined names that are defined 
3293to 
3294return a variable-length Package of sub-packages. If the number of sub-
3295packages is one, BIOS code is occasionally seen that creates a simple 
3296single 
3297package with no sub-packages. This code attempts to fix the problem by 
3298wrapping a new package object around the existing package. These methods 
3299can 
3300be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
3301790.
3302
3303Fixed a regression introduced in 20090625 for the AcpiGetDevices 
3304interface. 
3305The _HID/_CID matching was broken and no longer matched IDs correctly. 
3306ACPICA 
3307BZ 793.
3308
3309Fixed a problem with AcpiReset where the reset would silently fail if the 
3310register was one of the protected I/O ports. AcpiReset now bypasses the 
3311port 
3312validation mechanism. This may eventually be driven into the 
3313AcpiRead/Write 
3314interfaces.
3315
3316Fixed a regression related to the recent update of the AcpiRead/Write 
3317interfaces. A sleep/suspend could fail if the optional PM2 Control 
3318register 
3319does not exist during an attempt to write the Bus Master Arbitration bit. 
3320(However, some hosts already delete the code that writes this bit, and the 
3321code may in fact be obsolete at this date.) ACPICA BZ 799.
3322
3323Fixed a problem where AcpiTerminate could fault if inadvertently called 
3324twice 
3325in succession. ACPICA BZ 795.
3326
3327Example Code and Data Size: These are the sizes for the OS-independent 
3328acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3329debug version of the code includes the debug output trace mechanism and 
3330has a 
3331much larger code and data size.
3332
3333  Previous Release:
3334    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3335    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3336  Current Release:
3337    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3338    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3339
33402) iASL Compiler/Disassembler and Tools:
3341
3342ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
3343changes to existing tables. ACPICA BZ 775.
3344
3345----------------------------------------
334625 June 2009. Summary of changes for version 20090625:
3347
3348The ACPI 4.0 Specification was released on June 16 and is available at 
3349www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
3350continue for the next few releases.
3351
33521) ACPI CA Core Subsystem:
3353
3354ACPI 4.0: Implemented interpreter support for the IPMI operation region 
3355address space. Includes support for bi-directional data buffers and an 
3356IPMI 
3357address space handler (to be installed by an IPMI device driver.) ACPICA 
3358BZ 
3359773. Lin Ming.
3360
3361ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
3362support in both the header files and the disassembler.
3363
3364Completed a major update for the AcpiGetObjectInfo external interface. 
3365Changes include:
3366 - Support for variable, unlimited length HID, UID, and CID strings.
3367 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
3368etc.)
3369 - Call the _SxW power methods on behalf of a device object.
3370 - Determine if a device is a PCI root bridge.
3371 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
3372These changes will require an update to all callers of this interface. See 
3373the updated ACPICA Programmer Reference for details. One new source file 
3374has 
3375been added - utilities/utids.c. ACPICA BZ 368, 780.
3376
3377Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
3378transfers. The Value parameter has been extended from 32 bits to 64 bits 
3379in 
3380order to support new ACPI 4.0 tables. These changes will require an update 
3381to 
3382all callers of these interfaces. See the ACPICA Programmer Reference for 
3383details. ACPICA BZ 768.
3384
3385Fixed several problems with AcpiAttachData. The handler was not invoked 
3386when 
3387the host node was deleted. The data sub-object was not automatically 
3388deleted 
3389when the host node was deleted. The interface to the handler had an unused 
3390parameter, this was removed. ACPICA BZ 778.
3391
3392Enhanced the function that dumps ACPI table headers. All non-printable 
3393characters in the string fields are now replaced with '?' (Signature, 
3394OemId, 
3395OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
3396these fields are occasionally seen in the field. ACPICA BZ 788.
3397
3398Fixed a problem with predefined method repair code where the code that 
3399attempts to repair/convert an object of incorrect type is only executed on 
3400the first time the predefined method is called. The mechanism that 
3401disables 
3402warnings on subsequent calls was interfering with the repair mechanism. 
3403ACPICA BZ 781.
3404
3405Fixed a possible memory leak in the predefined validation/repair code when 
3406a 
3407buffer is automatically converted to an expected string object.
3408
3409Removed obsolete 16-bit files from the distribution and from the current 
3410git 
3411tree head. ACPICA BZ 776.
3412
3413Example Code and Data Size: These are the sizes for the OS-independent 
3414acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3415debug version of the code includes the debug output trace mechanism and 
3416has a 
3417much larger code and data size.
3418
3419  Previous Release:
3420    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
3421    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
3422  Current Release:
3423    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3424    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3425
34262) iASL Compiler/Disassembler and Tools:
3427
3428ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
3429operation region keyword. ACPICA BZ 771, 772. Lin Ming.
3430
3431ACPI 4.0: iASL - implemented compile-time validation support for all new 
3432predefined names and control methods (31 total). ACPICA BZ 769.
3433
3434----------------------------------------
343521 May 2009. Summary of changes for version 20090521:
3436
34371) ACPI CA Core Subsystem:
3438
3439Disabled the preservation of the SCI enable bit in the PM1 control 
3440register. 
3441The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to 
3442be 
3443a "preserved" bit - "OSPM always preserves this bit position", section 
34444.7.3.2.1. However, some machines fail if this bit is in fact preserved 
3445because the bit needs to be explicitly set by the OS as a workaround. No 
3446machines fail if the bit is not preserved. Therefore, ACPICA no longer 
3447attempts to preserve this bit.
3448
3449Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
3450incorrectly formed _PRT package could cause a fault. Added validation to 
3451ensure that each package element is actually a sub-package.
3452
3453Implemented a new interface to install or override a single control 
3454method, 
3455AcpiInstallMethod. This interface is useful when debugging in order to 
3456repair 
3457an existing method or to install a missing method without having to 
3458override 
3459the entire ACPI table. See the ACPICA Programmer Reference for use and 
3460examples. Lin Ming, Bob Moore.
3461
3462Fixed several reference count issues with the DdbHandle object that is 
3463created from a Load or LoadTable operator. Prevent premature deletion of 
3464the 
3465object. Also, mark the object as invalid once the table has been unloaded. 
3466This is needed because the handle itself may not be deleted after the 
3467table 
3468unload, depending on whether it has been stored in a named object by the 
3469caller. Lin Ming.
3470
3471Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
3472mutexes of the same sync level are acquired but then not released in 
3473strict 
3474opposite order, the internally maintained Current Sync Level becomes 
3475confused 
3476and can cause subsequent execution errors. ACPICA BZ 471.
3477
3478Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
3479specification has been changed to make the SyncLevel for mutex objects 
3480more 
3481useful. When releasing a mutex, the SyncLevel of the mutex must now be the 
3482same as the current sync level. This makes more sense than the previous 
3483rule 
3484(SyncLevel less than or equal). This change updates the code to match the 
3485specification.
3486
3487Fixed a problem with the local version of the AcpiOsPurgeCache function. 
3488The 
3489(local) cache must be locked during all cache object deletions. Andrew 
3490Baumann.
3491
3492Updated the Load operator to use operation region interfaces. This 
3493replaces 
3494direct memory mapping with region access calls. Now, all region accesses 
3495go 
3496through the installed region handler as they should.
3497
3498Simplified and optimized the NsGetNextNode function. Reduced parameter 
3499count 
3500and reduced code for this frequently used function.
3501
3502Example Code and Data Size: These are the sizes for the OS-independent 
3503acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3504debug version of the code includes the debug output trace mechanism and 
3505has a 
3506much larger code and data size.
3507
3508  Previous Release:
3509    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
3510    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
3511  Current Release:
3512    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
3513    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
3514
35152) iASL Compiler/Disassembler and Tools:
3516
3517Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
3518problems 
3519with sub-table disassembly and handling invalid sub-tables. Attempt 
3520recovery 
3521after an invalid sub-table ID.
3522
3523----------------------------------------
352422 April 2009. Summary of changes for version 20090422:
3525
35261) ACPI CA Core Subsystem:
3527
3528Fixed a compatibility issue with the recently released I/O port protection 
3529mechanism. For windows compatibility, 1) On a port protection violation, 
3530simply ignore the request and do not return an exception (allow the 
3531control 
3532method to continue execution.) 2) If only part of the request overlaps a 
3533protected port, read/write the individual ports that are not protected. 
3534Linux 
3535BZ 13036. Lin Ming
3536
3537Enhanced the execution of the ASL/AML BreakPoint operator so that it 
3538actually 
3539breaks into the AML debugger if the debugger is present. This matches the 
3540ACPI-defined behavior.
3541
3542Fixed several possible warnings related to the use of the configurable 
3543ACPI_THREAD_ID. This type can now be configured as either an integer or a 
3544pointer with no warnings. Also fixes several warnings in printf-like 
3545statements for the 64-bit build when the type is configured as a pointer. 
3546ACPICA BZ 766, 767.
3547
3548Fixed a number of possible warnings when compiling with gcc 4+ (depending 
3549on 
3550warning options.) Examples include printf formats, aliasing, unused 
3551globals, 
3552missing prototypes, missing switch default statements, use of non-ANSI 
3553library functions, use of non-ANSI constructs. See generate/unix/Makefile 
3554for 
3555a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
3556
3557Example Code and Data Size: These are the sizes for the OS-independent 
3558acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3559debug version of the code includes the debug output trace mechanism and 
3560has a 
3561much larger code and data size.
3562
3563  Previous Release:
3564    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
3565    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
3566  Current Release:
3567    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
3568    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
3569
35702) iASL Compiler/Disassembler and Tools:
3571
3572iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings 
3573on 
3574the 64-bit build.
3575
3576iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
3577not 
3578correctly digest Windows/DOS formatted files (with CR/LF).
3579
3580iASL: Added a new option for "quiet mode" (-va) that produces only the 
3581compilation summary, not individual errors and warnings. Useful for large 
3582batch compilations.
3583
3584AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
3585timeout that can be used to detect hang conditions during execution of AML 
3586code (includes both internal semaphores and AML-defined mutexes and 
3587events.)
3588
3589Added new makefiles for the generation of acpica in a generic unix-like 
3590environment. These makefiles are intended to generate the acpica tools and 
3591utilities from the original acpica git source tree structure.
3592
3593Test Suites: Updated and cleaned up the documentation files. Updated the 
3594copyrights to 2009, affecting all source files. Use the new version of 
3595iASL 
3596with quiet mode. Increased the number of available semaphores in the 
3597Windows 
3598OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
3599added 
3600an alternate implementation of the semaphore timeout to allow aslts to 
3601execute fully on Cygwin.
3602
3603----------------------------------------
360420 March 2009. Summary of changes for version 20090320:
3605
36061) ACPI CA Core Subsystem:
3607
3608Fixed a possible race condition between AcpiWalkNamespace and dynamic 
3609table 
3610unloads. Added a reader/writer locking mechanism to allow multiple 
3611concurrent 
3612namespace walks (readers), but block a dynamic table unload until it can 
3613gain 
3614exclusive write access to the namespace. This fixes a problem where a 
3615table 
3616unload could (possibly catastrophically) delete the portion of the 
3617namespace 
3618that is currently being examined by a walk. Adds a new file, utlock.c, 
3619that 
3620implements the reader/writer lock mechanism. ACPICA BZ 749.
3621
3622Fixed a regression introduced in version 20090220 where a change to the 
3623FADT 
3624handling could cause the ACPICA subsystem to access non-existent I/O 
3625ports.
3626
3627Modified the handling of FADT register and table (FACS/DSDT) addresses. 
3628The 
3629FADT can contain both 32-bit and 64-bit versions of these addresses. 
3630Previously, the 64-bit versions were favored, meaning that if both 32 and 
363164 
3632versions were valid, but not equal, the 64-bit version was used. This was 
3633found to cause some machines to fail. Now, in this case, the 32-bit 
3634version 
3635is used instead. This now matches the Windows behavior.
3636
3637Implemented a new mechanism to protect certain I/O ports. Provides 
3638Microsoft 
3639compatibility and protects the standard PC I/O ports from access via AML 
3640code. Adds a new file, hwvalid.c
3641
3642Fixed a possible extraneous warning message from the FADT support. The 
3643message warns of a 32/64 length mismatch between the legacy and GAS 
3644definitions for a register.
3645
3646Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
3647is 
3648made obsolete by the port protection mechanism above. It was previously 
3649used 
3650to validate the entire address range of an operation region, which could 
3651be 
3652incorrect if the range included illegal ports, but fields within the 
3653operation region did not actually access those ports. Validation is now 
3654performed on a per-field basis instead of the entire region.
3655
3656Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
3657Ignored bits must be "preserved" according to the ACPI spec. Usually, this 
3658means a read/modify/write when writing to the register. However, for 
3659status 
3660registers, writing a one means clear the event. Writing a zero means 
3661preserve 
3662the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
3663and the ACPICA code now simply always writes a zero to the ignored bit.
3664
3665Modified the handling of ignored bits for the PM1 A/B Control Registers. 
3666As 
3667per the ACPI specification, for the control registers, preserve 
3668(read/modify/write) all bits that are defined as either reserved or 
3669ignored.
3670
3671Updated the handling of write-only bits in the PM1 A/B Control Registers. 
3672When reading the register, zero the write-only bits as per the ACPI spec. 
3673ACPICA BZ 443. Lin Ming.
3674
3675Removed "Linux" from the list of supported _OSI strings. Linux no longer 
3676wants to reply true to this request. The Windows strings are the only 
3677paths 
3678through the AML that are tested and known to work properly.
3679
3680  Previous Release:
3681    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
3682    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
3683  Current Release:
3684    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
3685    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
3686
36872) iASL Compiler/Disassembler and Tools:
3688
3689Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
3690and 
3691aetables.c
3692
3693----------------------------------------
369420 February 2009. Summary of changes for version 20090220:
3695
36961) ACPI CA Core Subsystem:
3697
3698Optimized the ACPI register locking. Removed locking for reads from the 
3699ACPI 
3700bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
3701not required when reading the single-bit registers. The 
3702AcpiGetRegisterUnlocked function is no longer needed and has been removed. 
3703This will improve performance for reads on these registers. ACPICA BZ 760.
3704
3705Fixed the parameter validation for AcpiRead/Write. Now return 
3706AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS 
3707if 
3708the register has an address of zero. Previously, these cases simply 
3709returned 
3710AE_OK. For optional registers such as PM1B status/enable/control, the 
3711caller 
3712should check for a valid register address before calling. ACPICA BZ 748.
3713
3714Renamed the external ACPI bit register access functions. Renamed 
3715AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
3716functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
3717Also, restructured the code for these functions by simplifying the code 
3718path 
3719and condensing duplicate code to reduce code size.
3720
3721Added new functions to transparently handle the possibly split PM1 A/B 
3722registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
3723now handle the split registers for PM1 Status, Enable, and Control. ACPICA 
3724BZ 
3725746.
3726
3727Added a function to handle the PM1 control registers, 
3728AcpiHwWritePm1Control. 
3729This function writes both of the PM1 control registers (A/B). These 
3730registers 
3731are different than the PM1 A/B status and enable registers in that 
3732different 
3733values can be written to the A/B registers. Most notably, the SLP_TYP bits 
3734can be different, as per the values returned from the _Sx predefined 
3735methods.
3736
3737Removed an extra register write within AcpiHwClearAcpiStatus. This 
3738function 
3739was writing an optional PM1B status register twice. The existing call to 
3740the 
3741low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
3742A/B 
3743register. ACPICA BZ 751.
3744
3745Split out the PM1 Status registers from the FADT. Added new globals for 
3746these 
3747registers (A/B), similar to the way the PM1 Enable registers are handled. 
3748Instead of overloading the FADT Event Register blocks. This makes the code 
3749clearer and less prone to error.
3750
3751Fixed the warning message for when the platform contains too many ACPI 
3752tables 
3753for the default size of the global root table data structure. The 
3754calculation 
3755for the truncation value was incorrect.
3756
3757Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
3758obsolete macro, since it is now a simple reference to ->common.type. There 
3759were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
3760
3761Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
3762TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
3763simply SLEEP_TYPE. ACPICA BZ 754.
3764
3765Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
3766function is only needed on 64-bit host operating systems and is thus not 
3767included for 32-bit hosts.
3768
3769Debug output: print the input and result for invocations of the _OSI 
3770reserved 
3771control method via the ACPI_LV_INFO debug level. Also, reduced some of the 
3772verbosity of this debug level. Len Brown.
3773
3774Example Code and Data Size: These are the sizes for the OS-independent 
3775acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3776debug version of the code includes the debug output trace mechanism and 
3777has a 
3778much larger code and data size.
3779
3780  Previous Release:
3781    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
3782    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
3783  Current Release:
3784    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
3785    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
3786
37872) iASL Compiler/Disassembler and Tools:
3788
3789Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
3790various legal performance profiles.
3791
3792----------------------------------------
379323 January 2009. Summary of changes for version 20090123:
3794
37951) ACPI CA Core Subsystem:
3796
3797Added the 2009 copyright to all module headers and signons. This affects 
3798virtually every file in the ACPICA core subsystem, the iASL compiler, and 
3799the tools/utilities.
3800
3801Implemented a change to allow the host to override any ACPI table, 
3802including 
3803dynamically loaded tables. Previously, only the DSDT could be replaced by 
3804the 
3805host. With this change, the AcpiOsTableOverride interface is called for 
3806each 
3807table found in the RSDT/XSDT during ACPICA initialization, and also 
3808whenever 
3809a table is dynamically loaded via the AML Load operator.
3810
3811Updated FADT flag definitions, especially the Boot Architecture flags.
3812
3813Debugger: For the Find command, automatically pad the input ACPI name with 
3814underscores if the name is shorter than 4 characters. This enables a match 
3815with the actual namespace entry which is itself padded with underscores.
3816
3817Example Code and Data Size: These are the sizes for the OS-independent 
3818acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3819debug version of the code includes the debug output trace mechanism and 
3820has a 
3821much larger code and data size.
3822
3823  Previous Release:
3824    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
3825    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
3826  Current Release:
3827    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
3828    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
3829
38302) iASL Compiler/Disassembler and Tools:
3831
3832Fix build error under Bison-2.4.
3833
3834Dissasembler: Enhanced FADT support. Added decoding of the Boot 
3835Architecture 
3836flags. Now decode all flags, regardless of the FADT version. Flag output 
3837includes the FADT version which first defined each flag.
3838
3839The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
3840and 
3841DSDT). Windows only.
3842
3843----------------------------------------
384404 December 2008. Summary of changes for version 20081204:
3845
38461) ACPI CA Core Subsystem:
3847
3848The ACPICA Programmer Reference has been completely updated and revamped 
3849for 
3850this release. This includes updates to the external interfaces, OSL 
3851interfaces, the overview sections, and the debugger reference.
3852
3853Several new ACPICA interfaces have been implemented and documented in the 
3854programmer reference:
3855AcpiReset - Writes the reset value to the FADT-defined reset register.
3856AcpiDisableAllGpes - Disable all available GPEs.
3857AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
3858AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
3859AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
3860AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
3861AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
3862
3863Most of the public ACPI hardware-related interfaces have been moved to a 
3864new 
3865file, components/hardware/hwxface.c
3866
3867Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
3868register lengths within the FADT are now used, and the low level ACPI 
3869register access no longer hardcodes the ACPI register lengths. Given that 
3870there may be some risk in actually trusting the FADT register lengths, a 
3871run-
3872time option was added to fall back to the default hardcoded lengths if the 
3873FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
3874option is set to true for now, and a warning is issued if a suspicious 
3875FADT 
3876register length is overridden with the default value.
3877
3878Fixed a reference count issue in NsRepairObject. This problem was 
3879introduced 
3880in version 20081031 as part of a fix to repair Buffer objects within 
3881Packages. Lin Ming.
3882
3883Added semaphore support to the Linux/Unix application OS-services layer 
3884(OSL). ACPICA BZ 448. Lin Ming.
3885
3886Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
3887will 
3888be implemented in the OSL, or will binary semaphores be used instead.
3889
3890Example Code and Data Size: These are the sizes for the OS-independent 
3891acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3892debug version of the code includes the debug output trace mechanism and 
3893has a 
3894much larger code and data size.
3895
3896  Previous Release:
3897    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
3898    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
3899  Current Release:
3900    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
3901    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
3902
39032) iASL Compiler/Disassembler and Tools:
3904
3905iASL: Completed the '-e' option to include additional ACPI tables in order 
3906to 
3907aid with disassembly and External statement generation. ACPICA BZ 742. Lin 
3908Ming.
3909
3910iASL: Removed the "named object in while loop" error. The compiler cannot 
3911determine how many times a loop will execute. ACPICA BZ 730.
3912
3913Disassembler: Implemented support for FADT revision 2 (MS extension). 
3914ACPICA 
3915BZ 743.
3916
3917Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
3918
3919----------------------------------------
392031 October 2008. Summary of changes for version 20081031:
3921
39221) ACPI CA Core Subsystem:
3923
3924Restructured the ACPICA header files into public/private. acpi.h now 
3925includes 
3926only the "public" acpica headers. All other acpica headers are "private" 
3927and 
3928should not be included by acpica users. One new file, accommon.h is used 
3929to 
3930include the commonly used private headers for acpica code generation. 
3931Future 
3932plans include moving all private headers to a new subdirectory.
3933
3934Implemented an automatic Buffer->String return value conversion for 
3935predefined ACPI methods. For these methods (such as _BIF), added automatic 
3936conversion for return objects that are required to be a String, but a 
3937Buffer 
3938was found instead. This can happen when reading string battery data from 
3939an 
3940operation region, because it used to be difficult to convert the data from 
3941buffer to string from within the ASL. Ensures that the host OS is provided 
3942with a valid null-terminated string. Linux BZ 11822.
3943
3944Updated the FACS waking vector interfaces. Split 
3945AcpiSetFirmwareWakingVector 
3946into two: one for the 32-bit vector, another for the 64-bit vector. This 
3947is 
3948required because the host OS must setup the wake much differently for each 
3949vector (real vs. protected mode, etc.) and the interface itself should not 
3950be 
3951deciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
3952interface, as it served no purpose (only the firmware reads the vector, OS 
3953only writes the vector.) ACPICA BZ 731.
3954
3955Implemented a mechanism to escape infinite AML While() loops. Added a loop 
3956counter to force exit from AML While loops if the count becomes too large. 
3957This can occur in poorly written AML when the hardware does not respond 
3958within a while loop and the loop does not implement a timeout. The maximum 
3959loop count is configurable. A new exception code is returned when a loop 
3960is 
3961broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
3962
3963Optimized the execution of AML While loops. Previously, a control state 
3964object was allocated and freed for each execution of the loop. The 
3965optimization is to simply reuse the control state for each iteration. This 
3966speeds up the raw loop execution time by about 5%.
3967
3968Enhanced the implicit return mechanism. For Windows compatibility, return 
3969an 
3970implicit integer of value zero for methods that contain no executable 
3971code. 
3972Such methods are seen in the field as stubs (presumably), and can cause 
3973drivers to fail if they expect a return value. Lin Ming.
3974
3975Allow multiple backslashes as root prefixes in namepaths. In a fully 
3976qualified namepath, allow multiple backslash prefixes. This can happen 
3977(and 
3978is seen in the field) because of the use of a double-backslash in strings 
3979(since backslash is the escape character) causing confusion. ACPICA BZ 739 
3980Lin Ming.
3981
3982Emit a warning if two different FACS or DSDT tables are discovered in the 
3983FADT. Checks if there are two valid but different addresses for the FACS 
3984and 
3985DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
3986
3987Consolidated the method argument count validation code. Merged the code 
3988that 
3989validates control method argument counts into the predefined validation 
3990module. Eliminates possible multiple warnings for incorrect argument 
3991counts.
3992
3993Implemented ACPICA example code. Includes code for ACPICA initialization, 
3994handler installation, and calling a control method. Available at 
3995source/tools/examples.
3996
3997Added a global pointer for FACS table to simplify internal FACS access. 
3998Use 
3999the global pointer instead of using AcpiGetTableByIndex for each FACS 
4000access. 
4001This simplifies the code for the Global Lock and the Firmware Waking 
4002Vector(s).
4003
4004Example Code and Data Size: These are the sizes for the OS-independent 
4005acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4006debug version of the code includes the debug output trace mechanism and 
4007has a 
4008much larger code and data size.
4009
4010  Previous Release:
4011    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4012    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4013  Current Release:
4014    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
4015    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
4016
40172) iASL Compiler/Disassembler and Tools:
4018
4019iASL: Improved disassembly of external method calls. Added the -e option 
4020to 
4021allow the inclusion of additional ACPI tables to help with the disassembly 
4022of 
4023method invocations and the generation of external declarations during the 
4024disassembly. Certain external method invocations cannot be disassembled 
4025properly without the actual declaration of the method. Use the -e option 
4026to 
4027include the table where the external method(s) are actually declared. Most 
4028useful for disassembling SSDTs that make method calls back to the master 
4029DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
4030-d 
4031-e dsdt.aml ssdt1.aml
4032
4033iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
4034problem where the use of an alias within a namepath would result in a not 
4035found error or cause the compiler to fault. Also now allows forward 
4036references from the Alias operator itself. ACPICA BZ 738.
4037
4038----------------------------------------
403926 September 2008. Summary of changes for version 20080926:
4040
40411) ACPI CA Core Subsystem:
4042
4043Designed and implemented a mechanism to validate predefined ACPI methods 
4044and 
4045objects. This code validates the predefined ACPI objects (objects whose 
4046names 
4047start with underscore) that appear in the namespace, at the time they are 
4048evaluated. The argument count and the type of the returned object are 
4049validated against the ACPI specification. The purpose of this validation 
4050is 
4051to detect problems with the BIOS-implemented predefined ACPI objects 
4052before 
4053the results are returned to the ACPI-related drivers. Future enhancements 
4054may 
4055include actual repair of incorrect return objects where possible. Two new 
4056files are nspredef.c and acpredef.h.
4057
4058Fixed a fault in the AML parser if a memory allocation fails during the Op 
4059completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
4060
4061Fixed an issue with implicit return compatibility. This change improves 
4062the 
4063implicit return mechanism to be more compatible with the MS interpreter. 
4064Lin 
4065Ming, ACPICA BZ 349.
4066
4067Implemented support for zero-length buffer-to-string conversions. Allow 
4068zero 
4069length strings during interpreter buffer-to-string conversions. For 
4070example, 
4071during the ToDecimalString and ToHexString operators, as well as implicit 
4072conversions. Fiodor Suietov, ACPICA BZ 585.
4073
4074Fixed two possible memory leaks in the error exit paths of 
4075AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
4076similar in that they use a stack of state objects in order to eliminate 
4077recursion. The stack must be fully unwound and deallocated if an error 
4078occurs. Lin Ming. ACPICA BZ 383.
4079
4080Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
4081global 
4082ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
4083Moore ACPICA BZ 442.
4084
4085Removed the obsolete version number in module headers. Removed the 
4086"$Revision" number that appeared in each module header. This version 
4087number 
4088was useful under SourceSafe and CVS, but has no meaning under git. It is 
4089not 
4090only incorrect, it could also be misleading.
4091
4092Example Code and Data Size: These are the sizes for the OS-independent 
4093acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4094debug version of the code includes the debug output trace mechanism and 
4095has a 
4096much larger code and data size.
4097
4098  Previous Release:
4099    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4100    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4101  Current Release:
4102    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4103    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4104
4105----------------------------------------
410629 August 2008. Summary of changes for version 20080829:
4107
41081) ACPI CA Core Subsystem:
4109
4110Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
4111Reference. Changes include the elimination of cheating on the Object field 
4112for the DdbHandle subtype, addition of a reference class field to 
4113differentiate the various reference types (instead of an AML opcode), and 
4114the 
4115cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
4116
4117Reduce an error to a warning for an incorrect method argument count. 
4118Previously aborted with an error if too few arguments were passed to a 
4119control method via the external ACPICA interface. Now issue a warning 
4120instead 
4121and continue. Handles the case where the method inadvertently declares too 
4122many arguments, but does not actually use the extra ones. Applies mainly 
4123to 
4124the predefined methods. Lin Ming. Linux BZ 11032.
4125
4126Disallow the evaluation of named object types with no intrinsic value. 
4127Return 
4128AE_TYPE for objects that have no value and therefore evaluation is 
4129undefined: 
4130Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
4131of 
4132these types were allowed, but an exception would be generated at some 
4133point 
4134during the evaluation. Now, the error is generated up front.
4135
4136Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
4137(nsnames.c). Fixes a leak in the error exit path.
4138
4139Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
4140debug 
4141levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
4142ACPI_EXCEPTION 
4143interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
4144ACPI_LV_EVENTS.
4145
4146Removed obsolete and/or unused exception codes from the acexcep.h header. 
4147There is the possibility that certain device drivers may be affected if 
4148they 
4149use any of these exceptions.
4150
4151The ACPICA documentation has been added to the public git source tree, 
4152under 
4153acpica/documents. Included are the ACPICA programmer reference, the iASL 
4154compiler reference, and the changes.txt release logfile.
4155
4156Example Code and Data Size: These are the sizes for the OS-independent 
4157acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4158debug version of the code includes the debug output trace mechanism and 
4159has a 
4160much larger code and data size.
4161
4162  Previous Release:
4163    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4164    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4165  Current Release:
4166    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4167    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4168
41692) iASL Compiler/Disassembler and Tools:
4170
4171Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
4172defines _SCP with 3 arguments. Previous versions defined it with only 1 
4173argument. iASL now allows both definitions.
4174
4175iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
4176length subtables when disassembling ACPI tables. Also fixed a couple of 
4177errors where a full 16-bit table type field was not extracted from the 
4178input 
4179properly.
4180
4181acpisrc: Improve comment counting mechanism for generating source code 
4182statistics. Count first and last lines of multi-line comments as 
4183whitespace, 
4184not comment lines. Handle Linux legal header in addition to standard 
4185acpica 
4186header.
4187
4188----------------------------------------
4189
419029 July 2008. Summary of changes for version 20080729:
4191
41921) ACPI CA Core Subsystem:
4193
4194Fix a possible deadlock in the GPE dispatch. Remove call to 
4195AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
4196attempt 
4197to acquire the GPE lock but can deadlock since the GPE lock is already 
4198held 
4199at dispatch time. This code was introduced in version 20060831 as a 
4200response 
4201to Linux BZ 6881 and has since been removed from Linux.
4202
4203Add a function to dereference returned reference objects. Examines the 
4204return 
4205object from a call to AcpiEvaluateObject. Any Index or RefOf references 
4206are 
4207automatically dereferenced in an attempt to return something useful (these 
4208reference types cannot be converted into an external ACPI_OBJECT.) 
4209Provides 
4210MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
4211
4212x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
4213subtables for the MADT and one new subtable for the SRAT. Includes 
4214disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
4215x2APIC 
4216Specification, June 2008.
4217
4218Additional error checking for pathname utilities. Add error check after 
4219all 
4220calls to AcpiNsGetPathnameLength. Add status return from 
4221AcpiNsBuildExternalPath and check after all calls. Add parameter 
4222validation 
4223to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
4224
4225Return status from the global init function AcpiUtGlobalInitialize. This 
4226is 
4227used by both the kernel subsystem and the utilities such as iASL compiler. 
4228The function could possibly fail when the caches are initialized. Yang Yi.
4229
4230Add a function to decode reference object types to strings. Created for 
4231improved error messages. 
4232
4233Improve object conversion error messages. Better error messages during 
4234object 
4235conversion from internal to the external ACPI_OBJECT. Used for external 
4236calls 
4237to AcpiEvaluateObject.
4238
4239Example Code and Data Size: These are the sizes for the OS-independent 
4240acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4241debug version of the code includes the debug output trace mechanism and 
4242has a 
4243much larger code and data size.
4244
4245  Previous Release:
4246    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4247    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4248  Current Release:
4249    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4250    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4251
42522) iASL Compiler/Disassembler and Tools:
4253
4254Debugger: fix a possible hang when evaluating non-methods. Fixes a problem 
4255introduced in version 20080701. If the object being evaluated (via execute 
4256command) is not a method, the debugger can hang while trying to obtain 
4257non-
4258existent parameters.
4259
4260iASL: relax error for using reserved "_T_x" identifiers. These names can 
4261appear in a disassembled ASL file if they were emitted by the original 
4262compiler. Instead of issuing an error or warning and forcing the user to 
4263manually change these names, issue a remark instead.
4264
4265iASL: error if named object created in while loop. Emit an error if any 
4266named 
4267object is created within a While loop. If allowed, this code will generate 
4268a 
4269run-time error on the second iteration of the loop when an attempt is made 
4270to 
4271create the same named object twice. ACPICA bugzilla 730.
4272
4273iASL: Support absolute pathnames for include files. Add support for 
4274absolute 
4275pathnames within the Include operator. previously, only relative pathnames 
4276were supported.
4277
4278iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
4279Descriptor. 
4280The ACPI spec requires one interrupt minimum. BZ 423
4281
4282iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
4283Handles the case for the Interrupt Resource Descriptor where
4284the ResourceSource argument is omitted but ResourceSourceIndex
4285is present. Now leave room for the Index. BZ 426
4286
4287iASL: Prevent error message if CondRefOf target does not exist. Fixes 
4288cases 
4289where an error message is emitted if the target does not exist. BZ 516
4290
4291iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
4292(get ACPI tables on Windows). This was apparently broken in version 
429320070919.
4294
4295AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
4296where 
4297the EOF happens immediately after the last table in the input file. Print 
4298completion message. Previously, no message was displayed in this case.
4299
4300----------------------------------------
430101 July 2008. Summary of changes for version 20080701:
4302
43030) Git source tree / acpica.org
4304
4305Fixed a problem where a git-clone from http would not transfer the entire 
4306source tree.
4307
43081) ACPI CA Core Subsystem:
4309
4310Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
4311enable bit. Now performs a read-change-write of the enable register 
4312instead 
4313of simply writing out the cached enable mask. This will prevent 
4314inadvertent 
4315enabling of GPEs if a rogue GPE is received during initialization (before 
4316GPE 
4317handlers are installed.)
4318
4319Implemented a copy for dynamically loaded tables. Previously, dynamically 
4320loaded tables were simply mapped - but on some machines this memory is 
4321corrupted after suspend. Now copy the table to a local buffer. For the 
4322OpRegion case, added checksum verify. Use the table length from the table 
4323header, not the region length. For the Buffer case, use the table length 
4324also. Dennis Noordsij, Bob Moore. BZ 10734
4325
4326Fixed a problem where the same ACPI table could not be dynamically loaded 
4327and 
4328unloaded more than once. Without this change, a table cannot be loaded 
4329again 
4330once it has been loaded/unloaded one time. The current mechanism does not 
4331unregister a table upon an unload. During a load, if the same table is 
4332found, 
4333this no longer returns an exception. BZ 722
4334
4335Fixed a problem where the wrong descriptor length was calculated for the 
4336EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
4337are calculated as 12 bytes long, but the actual length in the internal 
4338descriptor is 16 because of the round-up to 8 on the 64-bit build. 
4339Reported 
4340by Linn Crosetto. BZ 728
4341
4342Fixed a possible memory leak in the Unload operator. The DdbHandle 
4343returned 
4344by Load() did not have its reference count decremented during unload, 
4345leading 
4346to a memory leak. Lin Ming. BZ 727
4347
4348Fixed a possible memory leak when deleting thermal/processor objects. Any 
4349associated notify handlers (and objects) were not being deleted. Fiodor 
4350Suietov. BZ 506
4351
4352Fixed the ordering of the ASCII names in the global mutex table to match 
4353the 
4354actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
4355only. 
4356Vegard Nossum. BZ 726
4357
4358Enhanced the AcpiGetObjectInfo interface to return the number of required 
4359arguments if the object is a control method. Added this call to the 
4360debugger 
4361so the proper number of default arguments are passed to a method. This 
4362prevents a warning when executing methods from AcpiExec.
4363
4364Added a check for an invalid handle in AcpiGetObjectInfo. Return 
4365AE_BAD_PARAMETER if input handle is invalid. BZ 474
4366
4367Fixed an extraneous warning from exconfig.c on the 64-bit build.
4368
4369Example Code and Data Size: These are the sizes for the OS-independent 
4370acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4371debug version of the code includes the debug output trace mechanism and 
4372has a 
4373much larger code and data size.
4374
4375  Previous Release:
4376    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
4377    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
4378  Current Release:
4379    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4380    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4381
43822) iASL Compiler/Disassembler and Tools:
4383
4384iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
4385resource descriptor names.
4386
4387iASL: Detect invalid ASCII characters in input (windows version). Removed 
4388the 
4389"-CF" flag from the flex compile, enables correct detection of non-ASCII 
4390characters in the input. BZ 441
4391
4392iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
4393the 
4394"result of operation not used" warning when the DDB handle returned from 
4395LoadTable is not used. The warning is not needed. BZ 590
4396
4397AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method 
4398to 
4399pass address of table to the AML. Added option to disable OpRegion 
4400simulation 
4401to allow creation of an OpRegion with a real address that was passed to 
4402_CFG. 
4403All of this allows testing of the Load and Unload operators from AcpiExec.
4404
4405Debugger: update tables command for unloaded tables. Handle unloaded 
4406tables 
4407and use the standard table header output routine.
4408
4409----------------------------------------
441009 June 2008. Summary of changes for version 20080609:
4411
44121) ACPI CA Core Subsystem:
4413
4414Implemented a workaround for reversed _PRT entries. A significant number 
4415of 
4416BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
4417change dynamically detects and repairs this problem. Provides 
4418compatibility 
4419with MS ACPI. BZ 6859
4420
4421Simplified the internal ACPI hardware interfaces to eliminate the locking 
4422flag parameter from Register Read/Write. Added a new external interface, 
4423AcpiGetRegisterUnlocked.
4424
4425Fixed a problem where the invocation of a GPE control method could hang. 
4426This 
4427was a regression introduced in 20080514. The new method argument count 
4428validation mechanism can enter an infinite loop when a GPE method is 
4429dispatched. Problem fixed by removing the obsolete code that passed GPE 
4430block 
4431information to the notify handler via the control method parameter 
4432pointer.
4433
4434Fixed a problem where the _SST execution status was incorrectly returned 
4435to 
4436the caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
443720080514. _SST is optional and a NOT_FOUND exception should never be 
4438returned. BZ 716
4439
4440Fixed a problem where a deleted object could be accessed from within the 
4441AML 
4442parser. This was a regression introduced in version 20080123 as a fix for 
4443the 
4444Unload operator. Lin Ming. BZ 10669
4445
4446Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
4447operands 
4448and eliminated the use of a negative index in a loop. Operands are now 
4449displayed in the correct order, not backwards. This also fixes a 
4450regression 
4451introduced in 20080514 on 64-bit systems where the elimination of 
4452ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
4453715
4454
4455Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
4456exit 
4457path did not delete a locally allocated structure.
4458
4459Updated definitions for the DMAR and SRAT tables to synchronize with the 
4460current specifications. Includes disassembler support.
4461
4462Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
4463loop termination value was used. Loop terminated on iteration early, 
4464missing 
4465one mutex. Linn Crosetto
4466
4467Example Code and Data Size: These are the sizes for the OS-independent 
4468acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4469debug version of the code includes the debug output trace mechanism and 
4470has a 
4471much larger code and data size.
4472
4473  Previous Release:
4474    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
4475    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
4476  Current Release:
4477    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
4478    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
4479
44802) iASL Compiler/Disassembler and Tools:
4481
4482Disassembler: Implemented support for EisaId() within _CID objects. Now 
4483disassemble integer _CID objects back to EisaId invocations, including 
4484multiple integers within _CID packages. Includes single-step support for 
4485debugger also.
4486
4487Disassembler: Added support for DMAR and SRAT table definition changes.
4488
4489----------------------------------------
449014 May 2008. Summary of changes for version 20080514:
4491
44921) ACPI CA Core Subsystem:
4493
4494Fixed a problem where GPEs were enabled too early during the ACPICA 
4495initialization. This could lead to "handler not installed" errors on some 
4496machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
4497This 
4498ensures that all operation regions and devices throughout the namespace 
4499have 
4500been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
4501
4502Implemented a change to the enter sleep code. Moved execution of the _GTS 
4503method to just before setting sleep enable bit. The execution was moved 
4504from 
4505AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
4506immediately before the SLP_EN bit is set, as per the ACPI specification. 
4507Luming Yu, BZ 1653.
4508
4509Implemented a fix to disable unknown GPEs (2nd version). Now always 
4510disable 
4511the GPE, even if ACPICA thinks that that it is already disabled. It is 
4512possible that the AML or some other code has enabled the GPE unbeknownst 
4513to 
4514the ACPICA code.
4515
4516Fixed a problem with the Field operator where zero-length fields would 
4517return 
4518an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
4519ASL 
4520field declarations in Field(), BankField(), and IndexField(). BZ 10606.
4521
4522Implemented a fix for the Load operator, now load the table at the 
4523namespace 
4524root. This reverts a change introduced in version 20071019. The table is 
4525now 
4526loaded at the namespace root even though this goes against the ACPI 
4527specification. This provides compatibility with other ACPI 
4528implementations. 
4529The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
4530Ming.
4531
4532Fixed a problem where ACPICA would not Load() tables with unusual 
4533signatures. 
4534Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
4535acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
4536Therefore, signature validation is worthless. Apparently MS ACPI accepts 
4537such 
4538signatures, ACPICA must be compatible. BZ 10454.
4539
4540Fixed a possible negative array index in AcpiUtValidateException. Added 
4541NULL 
4542fields to the exception string arrays to eliminate a -1 subtraction on the 
4543SubStatus field.
4544
4545Updated the debug tracking macros to reduce overall code and data size. 
4546Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
4547instead of pointers to static strings. Jan Beulich and Bob Moore.
4548
4549Implemented argument count checking in control method invocation via 
4550AcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
4551many. This applies only to extern programmatic control method execution, 
4552not 
4553method-to-method calls within the AML. Lin Ming.
4554
4555Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
4556no 
4557longer needed, especially with the removal of 16-bit support. It was 
4558replaced 
4559mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit 
4560on 
456132/64-bit platforms is required.
4562
4563Added the C const qualifier for appropriate string constants -- mostly 
4564MODULE_NAME and printf format strings. Jan Beulich.
4565
4566Example Code and Data Size: These are the sizes for the OS-independent 
4567acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4568debug version of the code includes the debug output trace mechanism and 
4569has a 
4570much larger code and data size.
4571
4572  Previous Release:
4573    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
4574    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
4575  Current Release:
4576    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
4577    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
4578
45792) iASL Compiler/Disassembler and Tools:
4580
4581Implemented ACPI table revision ID validation in the disassembler. Zero is 
4582always invalid. For DSDTs, the ID controls the interpreter integer width. 
45831 
4584means 32-bit and this is unusual. 2 or greater is 64-bit.
4585
4586----------------------------------------
458721 March 2008. Summary of changes for version 20080321:
4588
45891) ACPI CA Core Subsystem:
4590
4591Implemented an additional change to the GPE support in order to suppress 
4592spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
4593disable incoming GPEs that are neither enabled nor disabled -- meaning 
4594that 
4595the GPE is unknown to the system. This should prevent future interrupt 
4596floods 
4597from that GPE. BZ 6217 (Zhang Rui)
4598
4599Fixed a problem where NULL package elements were not returned to the 
4600AcpiEvaluateObject interface correctly. The element was simply ignored 
4601instead of returning a NULL ACPI_OBJECT package element, potentially 
4602causing 
4603a buffer overflow and/or confusing the caller who expected a fixed number 
4604of 
4605elements. BZ 10132 (Lin Ming, Bob Moore)
4606
4607Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
4608Dword, 
4609Qword), Field, BankField, and IndexField operators when invoked from 
4610inside 
4611an executing control method. In this case, these operators created 
4612namespace 
4613nodes that were incorrectly left marked as permanent nodes instead of 
4614temporary nodes. This could cause a problem if there is race condition 
4615between an exiting control method and a running namespace walk. (Reported 
4616by 
4617Linn Crosetto)
4618
4619Fixed a problem where the CreateField and CreateXXXField operators would 
4620incorrectly allow duplicate names (the name of the field) with no 
4621exception 
4622generated.
4623
4624Implemented several changes for Notify handling. Added support for new 
4625Notify 
4626values (ACPI 2.0+) and improved the Notify debug output. Notify on 
4627PowerResource objects is no longer allowed, as per the ACPI specification. 
4628(Bob Moore, Zhang Rui)
4629
4630All Reference Objects returned via the AcpiEvaluateObject interface are 
4631now 
4632marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
4633for 
4634NULL objects - either NULL package elements or unresolved named 
4635references.
4636
4637Fixed a problem where an extraneous debug message was produced for package 
4638objects (when debugging enabled). The message "Package List length larger 
4639than NumElements count" is now produced in the correct case, and is now an 
4640error message rather than a debug message. Added a debug message for the 
4641opposite case, where NumElements is larger than the Package List (the 
4642package 
4643will be padded out with NULL elements as per the ACPI spec.)
4644
4645Implemented several improvements for the output of the ASL "Debug" object 
4646to 
4647clarify and keep all data for a given object on one output line.
4648
4649Fixed two size calculation issues with the variable-length Start Dependent 
4650resource descriptor.
4651
4652Example Code and Data Size: These are the sizes for the OS-independent 
4653acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4654debug version of the code includes the debug output trace mechanism and 
4655has 
4656a much larger code and data size.
4657
4658  Previous Release:
4659    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
4660    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
4661  Current Release:
4662    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
4663    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
4664
46652) iASL Compiler/Disassembler and Tools:
4666
4667Fixed a problem with the use of the Switch operator where execution of the 
4668containing method by multiple concurrent threads could cause an 
4669AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
4670actual Switch opcode, it must be simulated with local named temporary 
4671variables and if/else pairs. The solution chosen was to mark any method 
4672that 
4673uses Switch as Serialized, thus preventing multiple thread entries. BZ 
4674469.
4675
4676----------------------------------------
467713 February 2008. Summary of changes for version 20080213:
4678
46791) ACPI CA Core Subsystem:
4680
4681Implemented another MS compatibility design change for GPE/Notify 
4682handling. 
4683GPEs are now cleared/enabled asynchronously to allow all pending notifies 
4684to 
4685complete first. It is expected that the OSL will queue the enable request 
4686behind all pending notify requests (may require changes to the local host 
4687OSL 
4688in AcpiOsExecute). Alexey Starikovskiy.
4689
4690Fixed a problem where buffer and package objects passed as arguments to a 
4691control method via the external AcpiEvaluateObject interface could cause 
4692an 
4693AE_AML_INTERNAL exception depending on the order and type of operators 
4694executed by the target control method.
4695
4696Fixed a problem where resource descriptor size optimization could cause a 
4697problem when a _CRS resource template is passed to a _SRS method. The _SRS 
4698resource template must use the same descriptors (with the same size) as 
4699returned from _CRS. This change affects the following resource 
4700descriptors: 
4701IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
47029487)
4703
4704Fixed a problem where a CopyObject to RegionField, BankField, and 
4705IndexField 
4706objects did not perform an implicit conversion as it should. These types 
4707must 
4708retain their initial type permanently as per the ACPI specification. 
4709However, 
4710a CopyObject to all other object types should not perform an implicit 
4711conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
4712
4713Fixed a problem with the AcpiGetDevices interface where the mechanism to 
4714match device CIDs did not examine the entire list of available CIDs, but 
4715instead aborted on the first non-matching CID. Andrew Patterson.
4716
4717Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
4718was 
4719inadvertently changed to return a 16-bit value instead of a 32-bit value, 
4720truncating the upper dword of a 64-bit value. This macro is only used to 
4721display debug output, so no incorrect calculations were made. Also, 
4722reimplemented the macro so that a 64-bit shift is not performed by 
4723inefficient compilers.
4724
4725Added missing va_end statements that should correspond with each va_start 
4726statement.
4727
4728Example Code and Data Size: These are the sizes for the OS-independent 
4729acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4730debug version of the code includes the debug output trace mechanism and 
4731has 
4732a much larger code and data size.
4733
4734  Previous Release:
4735    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
4736    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
4737  Current Release:
4738    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
4739    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
4740
47412) iASL Compiler/Disassembler and Tools:
4742
4743Implemented full disassembler support for the following new ACPI tables: 
4744BERT, EINJ, and ERST. Implemented partial disassembler support for the 
4745complicated HEST table. These tables support the Windows Hardware Error 
4746Architecture (WHEA).
4747
4748----------------------------------------
474923 January 2008. Summary of changes for version 20080123:
4750
47511) ACPI CA Core Subsystem:
4752
4753Added the 2008 copyright to all module headers and signons. This affects 
4754virtually every file in the ACPICA core subsystem, the iASL compiler, and 
4755the tools/utilities.
4756
4757Fixed a problem with the SizeOf operator when used with Package and Buffer 
4758objects. These objects have deferred execution for some arguments, and the 
4759execution is now completed before the SizeOf is executed. This problem 
4760caused 
4761unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
4762BZ 
47639558
4764
4765Implemented an enhancement to the interpreter "slack mode". In the absence 
4766of 
4767an explicit return or an implicitly returned object from the last executed 
4768opcode, a control method will now implicitly return an integer of value 0 
4769for 
4770Microsoft compatibility. (Lin Ming) BZ 392
4771
4772Fixed a problem with the Load operator where an exception was not returned 
4773in 
4774the case where the table is already loaded. (Lin Ming) BZ 463
4775
4776Implemented support for the use of DDBHandles as an Indexed Reference, as 
4777per 
4778the ACPI spec. (Lin Ming) BZ 486
4779
4780Implemented support for UserTerm (Method invocation) for the Unload 
4781operator 
4782as per the ACPI spec. (Lin Ming) BZ 580
4783
4784Fixed a problem with the LoadTable operator where the OemId and OemTableId 
4785input strings could cause unexpected failures if they were shorter than 
4786the 
4787maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
4788
4789Implemented support for UserTerm (Method invocation) for the Unload 
4790operator 
4791as per the ACPI spec. (Lin Ming) BZ 580
4792
4793Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
4794HEST, 
4795IBFT, UEFI, WDAT. Disassembler support is forthcoming.
4796
4797Example Code and Data Size: These are the sizes for the OS-independent 
4798acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4799debug version of the code includes the debug output trace mechanism and 
4800has 
4801a much larger code and data size.
4802
4803  Previous Release:
4804    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
4805    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
4806  Current Release:
4807    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
4808    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
4809
48102) iASL Compiler/Disassembler and Tools:
4811
4812Implemented support in the disassembler for checksum validation on 
4813incoming 
4814binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
4815table 
4816header dump at the start of the disassembly.
4817
4818Implemented additional debugging information in the namespace listing file 
4819created during compilation. In addition to the namespace hierarchy, the 
4820full 
4821pathname to each namespace object is displayed.
4822
4823Fixed a problem with the disassembler where invalid ACPI tables could 
4824cause 
4825faults or infinite loops.
4826
4827Fixed an unexpected parse error when using the optional "parameter types" 
4828list in a control method declaration. (Lin Ming) BZ 397
4829
4830Fixed a problem where two External declarations with the same name did not 
4831cause an error (Lin Ming) BZ 509
4832
4833Implemented support for full TermArgs (adding Argx, Localx and method 
4834invocation) for the ParameterData parameter to the LoadTable operator. 
4835(Lin 
4836Ming) BZ 583,587
4837
4838----------------------------------------
483919 December 2007. Summary of changes for version 20071219:
4840
48411) ACPI CA Core Subsystem:
4842
4843Implemented full support for deferred execution for the TermArg string 
4844arguments for DataTableRegion. This enables forward references and full 
4845operand resolution for the three string arguments. Similar to 
4846OperationRegion 
4847deferred argument execution.) Lin Ming. BZ 430
4848
4849Implemented full argument resolution support for the BankValue argument to 
4850BankField. Previously, only constants were supported, now any TermArg may 
4851be 
4852used. Lin Ming BZ 387, 393
4853
4854Fixed a problem with AcpiGetDevices where the search of a branch of the 
4855device tree could be terminated prematurely. In accordance with the ACPI 
4856specification, the search down the current branch is terminated if a 
4857device 
4858is both not present and not functional (instead of just not present.) 
4859Yakui 
4860Zhao.
4861
4862Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
4863if 
4864the underlying AML code changed the GPE enable registers. Now, any unknown 
4865incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
4866disabled 
4867instead of simply ignored. Rui Zhang.
4868
4869Fixed a problem with Index Fields where the Index register was incorrectly 
4870limited to a maximum of 32 bits. Now any size may be used.
4871
4872Fixed a couple memory leaks associated with "implicit return" objects when 
4873the AML Interpreter slack mode is enabled. Lin Ming BZ 349
4874
4875Example Code and Data Size: These are the sizes for the OS-independent 
4876acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4877debug version of the code includes the debug output trace mechanism and 
4878has 
4879a much larger code and data size.
4880
4881  Previous Release:
4882    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
4883    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
4884  Current Release:
4885    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
4886    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
4887
4888----------------------------------------
488914 November 2007. Summary of changes for version 20071114:
4890
48911) ACPI CA Core Subsystem:
4892
4893Implemented event counters for each of the Fixed Events, the ACPI SCI 
4894(interrupt) itself, and control methods executed. Named 
4895AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
4896These 
4897should be useful for debugging and statistics.
4898
4899Implemented a new external interface, AcpiGetStatistics, to retrieve the 
4900contents of the various event counters. Returns the current values for 
4901AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
4902AcpiMethodCount. The interface can be expanded in the future if new 
4903counters 
4904are added. Device drivers should use this interface rather than access the 
4905counters directly.
4906
4907Fixed a problem with the FromBCD and ToBCD operators. With some compilers, 
4908the ShortDivide function worked incorrectly, causing problems with the BCD 
4909functions with large input values. A truncation from 64-bit to 32-bit 
4910inadvertently occurred. Internal BZ 435. Lin Ming
4911
4912Fixed a problem with Index references passed as method arguments. 
4913References 
4914passed as arguments to control methods were dereferenced immediately 
4915(before 
4916control was passed to the called method). The references are now correctly 
4917passed directly to the called method. BZ 5389. Lin Ming
4918
4919Fixed a problem with CopyObject used in conjunction with the Index 
4920operator. 
4921The reference was incorrectly dereferenced before the copy. The reference 
4922is 
4923now correctly copied. BZ 5391. Lin Ming
4924
4925Fixed a problem with Control Method references within Package objects. 
4926These 
4927references are now correctly generated. This completes the package 
4928construction overhaul that began in version 20071019.
4929
4930Example Code and Data Size: These are the sizes for the OS-independent 
4931acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4932debug version of the code includes the debug output trace mechanism and 
4933has 
4934a much larger code and data size.
4935
4936  Previous Release:
4937    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
4938    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
4939  Current Release:
4940    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
4941    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
4942
4943
49442) iASL Compiler/Disassembler and Tools:
4945
4946The AcpiExec utility now installs handlers for all of the predefined 
4947Operation Region types. New types supported are: PCI_Config, CMOS, and 
4948PCIBARTarget.
4949
4950Fixed a problem with the 64-bit version of AcpiExec where the extended 
4951(64-
4952bit) address fields for the DSDT and FACS within the FADT were not being 
4953used, causing truncation of the upper 32-bits of these addresses. Lin Ming 
4954and Bob Moore
4955
4956----------------------------------------
495719 October 2007. Summary of changes for version 20071019:
4958
49591) ACPI CA Core Subsystem:
4960
4961Fixed a problem with the Alias operator when the target of the alias is a 
4962named ASL operator that opens a new scope -- Scope, Device, PowerResource, 
4963Processor, and ThermalZone. In these cases, any children of the original 
4964operator could not be accessed via the alias, potentially causing 
4965unexpected 
4966AE_NOT_FOUND exceptions. (BZ 9067)
4967
4968Fixed a problem with the Package operator where all named references were 
4969created as object references and left otherwise unresolved. According to 
4970the 
4971ACPI specification, a Package can only contain Data Objects or references 
4972to 
4973control methods. The implication is that named references to Data Objects 
4974(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
4975immediately upon package creation. This is the approach taken with this 
4976change. References to all other named objects (Methods, Devices, Scopes, 
4977etc.) are all now properly created as reference objects. (BZ 5328)
4978
4979Reverted a change to Notify handling that was introduced in version 
498020070508. This version changed the Notify handling from asynchronous to 
4981fully synchronous (Device driver Notify handling with respect to the 
4982Notify 
4983ASL operator). It was found that this change caused more problems than it 
4984solved and was removed by most users.
4985
4986Fixed a problem with the Increment and Decrement operators where the type 
4987of 
4988the target object could be unexpectedly and incorrectly changed. (BZ 353) 
4989Lin Ming.
4990
4991Fixed a problem with the Load and LoadTable operators where the table 
4992location within the namespace was ignored. Instead, the table was always 
4993loaded into the root or current scope. Lin Ming.
4994
4995Fixed a problem with the Load operator when loading a table from a buffer 
4996object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
4997
4998Fixed a problem with the Debug object where a store of a DdbHandle 
4999reference 
5000object to the Debug object could cause a fault.
5001
5002Added a table checksum verification for the Load operator, in the case 
5003where 
5004the load is from a buffer. (BZ 578).
5005
5006Implemented additional parameter validation for the LoadTable operator. 
5007The 
5008length of the input strings SignatureString, OemIdString, and OemTableId 
5009are 
5010now checked for maximum lengths. (BZ 582) Lin Ming.
5011
5012Example Code and Data Size: These are the sizes for the OS-independent 
5013acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5014debug version of the code includes the debug output trace mechanism and 
5015has 
5016a much larger code and data size.
5017
5018  Previous Release:
5019    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5020    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5021  Current Release:
5022    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
5023    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
5024
5025
50262) iASL Compiler/Disassembler:
5027
5028Fixed a problem where if a single file was specified and the file did not 
5029exist, no error message was emitted. (Introduced with wildcard support in 
5030version 20070917.)
5031
5032----------------------------------------
503319 September 2007. Summary of changes for version 20070919:
5034
50351) ACPI CA Core Subsystem:
5036
5037Designed and implemented new external interfaces to install and remove 
5038handlers for ACPI table-related events. Current events that are defined 
5039are 
5040LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
5041they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
5042AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
5043
5044Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
5045(acpi_serialized option on Linux) could cause some systems to hang during 
5046initialization. (Bob Moore) BZ 8171
5047
5048Fixed a problem where objects of certain types (Device, ThermalZone, 
5049Processor, PowerResource) can be not found if they are declared and 
5050referenced from within the same control method (Lin Ming) BZ 341
5051
5052Example Code and Data Size: These are the sizes for the OS-independent 
5053acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5054debug version of the code includes the debug output trace mechanism and 
5055has 
5056a much larger code and data size.
5057
5058  Previous Release:
5059    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5060    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5061  Current Release:
5062    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5063    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5064
5065
50662) iASL Compiler/Disassembler:
5067
5068Implemented support to allow multiple files to be compiled/disassembled in 
5069a 
5070single invocation. This includes command line wildcard support for both 
5071the 
5072Windows and Unix versions of the compiler. This feature simplifies the 
5073disassembly and compilation of multiple ACPI tables in a single directory.
5074
5075----------------------------------------
507608 May 2007. Summary of changes for version 20070508:
5077
50781) ACPI CA Core Subsystem:
5079
5080Implemented a Microsoft compatibility design change for the handling of 
5081the 
5082Notify AML operator. Previously, notify handlers were dispatched and 
5083executed completely asynchronously in a deferred thread. The new design 
5084still executes the notify handlers in a different thread, but the original 
5085thread that executed the Notify() now waits at a synchronization point for 
5086the notify handler to complete. Some machines depend on a synchronous 
5087Notify 
5088operator in order to operate correctly.
5089
5090Implemented support to allow Package objects to be passed as method 
5091arguments to the external AcpiEvaluateObject interface. Previously, this 
5092would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
5093implemented since there were no reserved control methods that required it 
5094until recently.
5095
5096Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
5097that 
5098contained invalid non-zero values in reserved fields could cause later 
5099failures because these fields have meaning in later revisions of the FADT. 
5100For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
5101fields 
5102are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
5103
5104Fixed a problem where the Global Lock handle was not properly updated if a 
5105thread that acquired the Global Lock via executing AML code then attempted 
5106to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
5107Joe 
5108Liu.
5109
5110Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
5111could be corrupted if the interrupt being removed was at the head of the 
5112list. Reported by Linn Crosetto.
5113
5114Example Code and Data Size: These are the sizes for the OS-independent 
5115acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5116debug version of the code includes the debug output trace mechanism and 
5117has 
5118a much larger code and data size.
5119
5120  Previous Release:
5121    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5122    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5123  Current Release:
5124    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5125    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5126
5127----------------------------------------
512820 March 2007. Summary of changes for version 20070320:
5129
51301) ACPI CA Core Subsystem:
5131
5132Implemented a change to the order of interpretation and evaluation of AML 
5133operand objects within the AML interpreter. The interpreter now evaluates 
5134operands in the order that they appear in the AML stream (and the 
5135corresponding ASL code), instead of in the reverse order (after the entire 
5136operand list has been parsed). The previous behavior caused several subtle 
5137incompatibilities with the Microsoft AML interpreter as well as being 
5138somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
5139
5140Implemented a change to the ACPI Global Lock support. All interfaces to 
5141the 
5142global lock now allow the same thread to acquire the lock multiple times. 
5143This affects the AcpiAcquireGlobalLock external interface to the global 
5144lock 
5145as well as the internal use of the global lock to support AML fields -- a 
5146control method that is holding the global lock can now simultaneously 
5147access 
5148AML fields that require global lock protection. Previously, in both cases, 
5149this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
5150to 
5151AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
5152Controller. There is no change to the behavior of the AML Acquire 
5153operator, 
5154as this can already be used to acquire a mutex multiple times by the same 
5155thread. BZ 8066. With assistance from Alexey Starikovskiy.
5156
5157Fixed a problem where invalid objects could be referenced in the AML 
5158Interpreter after error conditions. During operand evaluation, ensure that 
5159the internal "Return Object" field is cleared on error and only valid 
5160pointers are stored there. Caused occasional access to deleted objects 
5161that 
5162resulted in "large reference count" warning messages. Valery Podrezov.
5163
5164Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
5165on 
5166deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
5167Podrezov.
5168
5169Fixed an internal problem with the handling of result objects on the 
5170interpreter result stack. BZ 7872. Valery Podrezov.
5171
5172Removed obsolete code that handled the case where AML_NAME_OP is the 
5173target 
5174of a reference (Reference.Opcode). This code was no longer necessary. BZ 
51757874. Valery Podrezov.
5176
5177Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was 
5178a 
5179remnant from the previously discontinued 16-bit support.
5180
5181Example Code and Data Size: These are the sizes for the OS-independent 
5182acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5183debug version of the code includes the debug output trace mechanism and 
5184has 
5185a much larger code and data size.
5186
5187  Previous Release:
5188    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5189    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5190  Current Release:
5191    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5192    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5193
5194----------------------------------------
519526 January 2007. Summary of changes for version 20070126:
5196
51971) ACPI CA Core Subsystem:
5198
5199Added the 2007 copyright to all module headers and signons. This affects 
5200virtually every file in the ACPICA core subsystem, the iASL compiler, and 
5201the utilities.
5202
5203Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
5204during a table load. A bad pointer was passed in the case where the DSDT 
5205is 
5206overridden, causing a fault in this case.
5207
5208Example Code and Data Size: These are the sizes for the OS-independent 
5209acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5210debug version of the code includes the debug output trace mechanism and 
5211has 
5212a much larger code and data size.
5213
5214  Previous Release:
5215    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5216    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5217  Current Release:
5218    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5219    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5220
5221----------------------------------------
522215 December 2006. Summary of changes for version 20061215:
5223
52241) ACPI CA Core Subsystem:
5225
5226Support for 16-bit ACPICA has been completely removed since it is no 
5227longer 
5228necessary and it clutters the code. All 16-bit macros, types, and 
5229conditional compiles have been removed, cleaning up and simplifying the 
5230code 
5231across the entire subsystem. DOS support is no longer needed since the 
5232bootable Linux firmware kit is now available.
5233
5234The handler for the Global Lock is now removed during AcpiTerminate to 
5235enable a clean subsystem restart, via the implementation of the 
5236AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
5237HP)
5238
5239Implemented enhancements to the multithreading support within the debugger 
5240to enable improved multithreading debugging and evaluation of the 
5241subsystem. 
5242(Valery Podrezov)
5243
5244Debugger: Enhanced the Statistics/Memory command to emit the total 
5245(maximum) 
5246memory used during the execution, as well as the maximum memory consumed 
5247by 
5248each of the various object types. (Valery Podrezov)
5249
5250Example Code and Data Size: These are the sizes for the OS-independent 
5251acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5252debug version of the code includes the debug output trace mechanism and 
5253has 
5254a much larger code and data size.
5255
5256  Previous Release:
5257    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5258    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5259  Current Release:
5260    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5261    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5262
5263
52642) iASL Compiler/Disassembler and Tools:
5265
5266AcpiExec: Implemented a new option (-m) to display full memory use 
5267statistics upon subsystem/program termination. (Valery Podrezov)
5268
5269----------------------------------------
527009 November 2006. Summary of changes for version 20061109:
5271
52721) ACPI CA Core Subsystem:
5273
5274Optimized the Load ASL operator in the case where the source operand is an 
5275operation region. Simply map the operation region memory, instead of 
5276performing a bytewise read. (Region must be of type SystemMemory, see 
5277below.)
5278
5279Fixed the Load ASL operator for the case where the source operand is a 
5280region field. A buffer object is also allowed as the source operand. BZ 
5281480
5282
5283Fixed a problem where the Load ASL operator allowed the source operand to 
5284be 
5285an operation region of any type. It is now restricted to regions of type 
5286SystemMemory, as per the ACPI specification. BZ 481
5287
5288Additional cleanup and optimizations for the new Table Manager code.
5289
5290AcpiEnable will now fail if all of the required ACPI tables are not loaded 
5291(FADT, FACS, DSDT). BZ 477
5292
5293Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
5294this 
5295header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
5296manually optimized to be aligned and will not work if it is byte-packed. 
5297
5298Example Code and Data Size: These are the sizes for the OS-independent 
5299acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5300debug version of the code includes the debug output trace mechanism and 
5301has 
5302a much larger code and data size.
5303
5304  Previous Release:
5305    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5306    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5307  Current Release:
5308    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5309    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5310
5311
53122) iASL Compiler/Disassembler and Tools:
5313
5314Fixed a problem where the presence of the _OSI predefined control method 
5315within complex expressions could cause an internal compiler error.
5316
5317AcpiExec: Implemented full region support for multiple address spaces. 
5318SpaceId is now part of the REGION object. BZ 429
5319
5320----------------------------------------
532111 October 2006. Summary of changes for version 20061011:
5322
53231) ACPI CA Core Subsystem:
5324
5325Completed an AML interpreter performance enhancement for control method 
5326execution. Previously a 2-pass parse/execution, control methods are now 
5327completely parsed and executed in a single pass. This improves overall 
5328interpreter performance by ~25%, reduces code size, and reduces CPU stack 
5329use. (Valery Podrezov + interpreter changes in version 20051202 that 
5330eliminated namespace loading during the pass one parse.)
5331
5332Implemented _CID support for PCI Root Bridge detection. If the _HID does 
5333not 
5334match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
5335now 
5336obtained and also checked for an ID match.
5337
5338Implemented additional support for the PCI _ADR execution: upsearch until 
5339a 
5340device scope is found before executing _ADR. This allows PCI_Config 
5341operation regions to be declared locally within control methods underneath 
5342PCI device objects.
5343
5344Fixed a problem with a possible race condition between threads executing 
5345AcpiWalkNamespace and the AML interpreter. This condition was removed by 
5346modifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
5347entries created during any concurrent control method execution. An 
5348additional namespace race condition is known to exist between 
5349AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
5350investigation.
5351
5352Restructured the AML ParseLoop function, breaking it into several 
5353subfunctions in order to reduce CPU stack use and improve maintainability. 
5354(Mikhail Kouzmich)
5355
5356AcpiGetHandle: Fix for parameter validation to detect invalid combinations 
5357of prefix handle and pathname. BZ 478
5358
5359Example Code and Data Size: These are the sizes for the OS-independent 
5360acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5361debug version of the code includes the debug output trace mechanism and 
5362has 
5363a much larger code and data size.
5364
5365  Previous Release:
5366    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5367    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
5368  Current Release:
5369    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5370    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5371
53722) iASL Compiler/Disassembler and Tools:
5373
5374Ported the -g option (get local ACPI tables) to the new ACPICA Table 
5375Manager 
5376to restore original behavior.
5377
5378----------------------------------------
537927 September 2006. Summary of changes for version 20060927:
5380
53811) ACPI CA Core Subsystem:
5382
5383Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
5384These functions now use a spinlock for mutual exclusion and the interrupt 
5385level indication flag is not needed.
5386
5387Fixed a problem with the Global Lock where the lock could appear to be 
5388obtained before it is actually obtained. The global lock semaphore was 
5389inadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
5390Suietov.
5391
5392Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
5393during 
5394a read from a buffer or region field. (BZ 458) Fiodor Suietov.
5395
5396Example Code and Data Size: These are the sizes for the OS-independent 
5397acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5398debug version of the code includes the debug output trace mechanism and 
5399has 
5400a much larger code and data size.
5401
5402  Previous Release:
5403    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5404    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
5405  Current Release:
5406    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5407    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
5408
5409
54102) iASL Compiler/Disassembler and Tools:
5411
5412Fixed a compilation problem with the pre-defined Resource Descriptor field 
5413names where an "object does not exist" error could be incorrectly 
5414generated 
5415if the parent ResourceTemplate pathname places the template within a 
5416different namespace scope than the current scope. (BZ 7212)
5417
5418Fixed a problem where the compiler could hang after syntax errors detected 
5419in an ElseIf construct. (BZ 453)
5420
5421Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
5422operator. An incorrect output filename was produced when this parameter 
5423was 
5424a null string (""). Now, the original input filename is used as the AML 
5425output filename, with an ".aml" extension.
5426
5427Implemented a generic batch command mode for the AcpiExec utility (execute 
5428any AML debugger command) (Valery Podrezov).
5429
5430----------------------------------------
543112 September 2006. Summary of changes for version 20060912:
5432
54331) ACPI CA Core Subsystem:
5434
5435Enhanced the implementation of the "serialized mode" of the interpreter 
5436(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
5437specified, instead of creating a serialization semaphore per control 
5438method, 
5439the interpreter lock is simply no longer released before a blocking 
5440operation during control method execution. This effectively makes the AML 
5441Interpreter single-threaded. The overhead of a semaphore per-method is 
5442eliminated.
5443
5444Fixed a regression where an error was no longer emitted if a control 
5445method 
5446attempts to create 2 objects of the same name. This once again returns 
5447AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
5448that 
5449will dynamically serialize the control method to possible prevent future 
5450errors. (BZ 440)
5451
5452Integrated a fix for a problem with PCI Express HID detection in the PCI 
5453Config Space setup procedure. (BZ 7145)
5454
5455Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
5456AcpiHwInitialize function - the FADT registers are now validated when the 
5457table is loaded.
5458
5459Added two new warnings during FADT verification - 1) if the FADT is larger 
5460than the largest known FADT version, and 2) if there is a mismatch between 
5461a 
546232-bit block address and the 64-bit X counterpart (when both are non-
5463zero.)
5464
5465Example Code and Data Size: These are the sizes for the OS-independent 
5466acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5467debug version of the code includes the debug output trace mechanism and 
5468has 
5469a much larger code and data size.
5470
5471  Previous Release:
5472    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
5473    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
5474  Current Release:
5475    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5476    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
5477
5478
54792) iASL Compiler/Disassembler and Tools:
5480
5481Fixed a problem with the implementation of the Switch() operator where the 
5482temporary variable was declared too close to the actual Switch, instead of 
5483at method level. This could cause a problem if the Switch() operator is 
5484within a while loop, causing an error on the second iteration. (BZ 460)
5485
5486Disassembler - fix for error emitted for unknown type for target of scope 
5487operator. Now, ignore it and continue.
5488
5489Disassembly of an FADT now verifies the input FADT and reports any errors 
5490found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
5491
5492Disassembly of raw data buffers with byte initialization data now prefixes 
5493each output line with the current buffer offset.
5494
5495Disassembly of ASF! table now includes all variable-length data fields at 
5496the end of some of the subtables.
5497
5498The disassembler now emits a comment if a buffer appears to be a 
5499ResourceTemplate, but cannot be disassembled as such because the EndTag 
5500does 
5501not appear at the very end of the buffer.
5502
5503AcpiExec - Added the "-t" command line option to enable the serialized 
5504mode 
5505of the AML interpreter.
5506
5507----------------------------------------
550831 August 2006. Summary of changes for version 20060831:
5509
55101) ACPI CA Core Subsystem:
5511
5512Miscellaneous fixes for the Table Manager:
5513- Correctly initialize internal common FADT for all 64-bit "X" fields
5514- Fixed a couple table mapping issues during table load
5515- Fixed a couple alignment issues for IA64
5516- Initialize input array to zero in AcpiInitializeTables
5517- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
5518AcpiGetTableByIndex
5519
5520Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
5521now 
5522immediately disabled to prevent the waking GPE from firing again and to 
5523prevent other wake GPEs from interrupting the wake process.
5524
5525Added the AcpiGpeCount global that tracks the number of processed GPEs, to 
5526be used for debugging systems with a large number of ACPI interrupts.
5527
5528Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
5529both the ACPICA headers and the disassembler.
5530
5531Example Code and Data Size: These are the sizes for the OS-independent 
5532acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5533debug version of the code includes the debug output trace mechanism and 
5534has 
5535a much larger code and data size.
5536
5537  Previous Release:
5538    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
5539    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
5540  Current Release:
5541    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
5542    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
5543
5544
55452) iASL Compiler/Disassembler and Tools:
5546
5547Disassembler support for the DMAR ACPI table.
5548
5549----------------------------------------
555023 August 2006. Summary of changes for version 20060823:
5551
55521) ACPI CA Core Subsystem:
5553
5554The Table Manager component has been completely redesigned and 
5555reimplemented. The new design is much simpler, and reduces the overall 
5556code 
5557and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
5558is 
5559now possible to obtain the ACPI tables very early during kernel 
5560initialization, even before dynamic memory management is initialized. 
5561(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
5562
5563Obsolete ACPICA interfaces:
5564
5565- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
5566init 
5567time).
5568- AcpiLoadTable: Not needed.
5569- AcpiUnloadTable: Not needed.
5570
5571New ACPICA interfaces:
5572
5573- AcpiInitializeTables: Must be called before the table manager can be 
5574used.
5575- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
5576allocated memory after it becomes available.
5577- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
5578in the RSDT/XSDT.
5579
5580Other ACPICA changes:
5581
5582- AcpiGetTableHeader returns the actual mapped table header, not a copy. 
5583Use 
5584AcpiOsUnmapMemory to free this mapping.
5585- AcpiGetTable returns the actual mapped table. The mapping is managed 
5586internally and must not be deleted by the caller. Use of this interface 
5587causes no additional dynamic memory allocation.
5588- AcpiFindRootPointer: Support for physical addressing has been 
5589eliminated, 
5590it appeared to be unused.
5591- The interface to AcpiOsMapMemory has changed to be consistent with the 
5592other allocation interfaces.
5593- The interface to AcpiOsGetRootPointer has changed to eliminate 
5594unnecessary 
5595parameters.
5596- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
5597bit platforms. Was previously 64 bits on all platforms.
5598- The interface to the ACPI Global Lock acquire/release macros have 
5599changed 
5600slightly since ACPICA no longer keeps a local copy of the FACS with a 
5601constructed pointer to the actual global lock.
5602
5603Porting to the new table manager:
5604
5605- AcpiInitializeTables: Must be called once, and can be called anytime 
5606during the OS initialization process. It allows the host to specify an 
5607area 
5608of memory to be used to store the internal version of the RSDT/XSDT (root 
5609table). This allows the host to access ACPI tables before memory 
5610management 
5611is initialized and running.
5612- AcpiReallocateRootTable: Can be called after memory management is 
5613running 
5614to copy the root table to a dynamically allocated array, freeing up the 
5615scratch memory specified in the call to AcpiInitializeTables.
5616- AcpiSubsystemInitialize: This existing interface is independent of the 
5617Table Manager, and does not have to be called before the Table Manager can 
5618be used, it only must be called before the rest of ACPICA can be used.
5619- ACPI Tables: Some changes have been made to the names and structure of 
5620the 
5621actbl.h and actbl1.h header files and may require changes to existing 
5622code. 
5623For example, bitfields have been completely removed because of their lack 
5624of 
5625portability across C compilers.
5626- Update interfaces to the Global Lock acquire/release macros if local 
5627versions are used. (see acwin.h)
5628
5629Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
5630
5631New files: tbfind.c
5632
5633Example Code and Data Size: These are the sizes for the OS-independent 
5634acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5635debug version of the code includes the debug output trace mechanism and 
5636has 
5637a much larger code and data size.
5638
5639  Previous Release:
5640    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
5641    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
5642  Current Release:
5643    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
5644    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
5645
5646
56472) iASL Compiler/Disassembler and Tools:
5648
5649No changes for this release.
5650
5651----------------------------------------
565221 July 2006. Summary of changes for version 20060721:
5653
56541) ACPI CA Core Subsystem:
5655
5656The full source code for the ASL test suite used to validate the iASL 
5657compiler and the ACPICA core subsystem is being released with the ACPICA 
5658source for the first time. The source is contained in a separate package 
5659and 
5660consists of over 1100 files that exercise all ASL/AML operators. The 
5661package 
5662should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
5663Suietov)
5664
5665Completed a new design and implementation for support of the ACPI Global 
5666Lock. On the OS side, the global lock is now treated as a standard AML 
5667mutex. Previously, multiple OS threads could "acquire" the global lock 
5668simultaneously. However, this could cause the BIOS to be starved out of 
5669the 
5670lock - especially in cases such as the Embedded Controller driver where 
5671there is a tight coupling between the OS and the BIOS.
5672
5673Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
5674The Global Lock interrupt handler no longer queues the execution of a 
5675separate thread to signal the global lock semaphore. Instead, the 
5676semaphore 
5677is signaled directly from the interrupt handler.
5678
5679Implemented support within the AML interpreter for package objects that 
5680contain a larger AML length (package list length) than the package element 
5681count. In this case, the length of the package is truncated to match the 
5682package element count. Some BIOS code apparently modifies the package 
5683length 
5684on the fly, and this change supports this behavior. Provides compatibility 
5685with the MS AML interpreter. (With assistance from Fiodor Suietov)
5686
5687Implemented a temporary fix for the BankValue parameter of a Bank Field to 
5688support all constant values, now including the Zero and One opcodes. 
5689Evaluation of this parameter must eventually be converted to a full 
5690TermArg 
5691evaluation. A not-implemented error is now returned (temporarily) for non-
5692constant values for this parameter.
5693
5694Fixed problem reports (Fiodor Suietov) integrated:
5695- Fix for premature object deletion after CopyObject on Operation Region 
5696(BZ 
5697350)
5698
5699Example Code and Data Size: These are the sizes for the OS-independent 
5700acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5701debug version of the code includes the debug output trace mechanism and 
5702has 
5703a much larger code and data size.
5704
5705  Previous Release:
5706    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
5707    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
5708  Current Release:
5709    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
5710    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
5711
5712
57132) iASL Compiler/Disassembler and Tools:
5714
5715No changes for this release.
5716
5717----------------------------------------
571807 July 2006. Summary of changes for version 20060707:
5719
57201) ACPI CA Core Subsystem:
5721
5722Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
5723that do not allow the initialization of address pointers within packed 
5724structures - even though the hardware itself may support misaligned 
5725transfers. Some of the debug data structures are packed by default to 
5726minimize size.
5727
5728Added an error message for the case where AcpiOsGetThreadId() returns 
5729zero. 
5730A non-zero value is required by the core ACPICA code to ensure the proper 
5731operation of AML mutexes and recursive control methods.
5732
5733The DSDT is now the only ACPI table that determines whether the AML 
5734interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
5735but 
5736the hooks for per-table 32/64 switching have been removed from the code. A 
5737clarification to the ACPI specification is forthcoming in ACPI 3.0B.
5738
5739Fixed a possible leak of an OwnerID in the error path of 
5740AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
5741deletion to a single place in AcpiTbUninstallTable to correct possible 
5742leaks 
5743when using the AcpiTbDeleteTablesByType interface (with assistance from 
5744Lance Ortiz.)
5745
5746Fixed a problem with Serialized control methods where the semaphore 
5747associated with the method could be over-signaled after multiple method 
5748invocations.
5749
5750Fixed two issues with the locking of the internal namespace data 
5751structure. 
5752Both the Unload() operator and AcpiUnloadTable interface now lock the 
5753namespace during the namespace deletion associated with the table unload 
5754(with assistance from Linn Crosetto.)
5755
5756Fixed problem reports (Valery Podrezov) integrated:
5757- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
5758
5759Fixed problem reports (Fiodor Suietov) integrated:
5760- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
5761- On Address Space handler deletion, needless deactivation call (BZ 374)
5762- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
5763- Possible memory leak, Notify sub-objects of Processor, Power, 
5764ThermalZone 
5765(BZ 376)
5766- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
5767- Minimum Length of RSDT should be validated (BZ 379)
5768- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
5769Handler (BZ (380)
5770- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
5771loaded 
5772(BZ 381)
5773
5774Example Code and Data Size: These are the sizes for the OS-independent 
5775acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5776debug version of the code includes the debug output trace mechanism and 
5777has 
5778a much larger code and data size.
5779
5780  Previous Release:
5781    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
5782    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
5783  Current Release:
5784    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
5785    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
5786
5787
57882) iASL Compiler/Disassembler and Tools:
5789
5790Fixed problem reports:
5791Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
5792436)
5793
5794----------------------------------------
579523 June 2006. Summary of changes for version 20060623:
5796
57971) ACPI CA Core Subsystem:
5798
5799Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
5800allows the type to be customized to the host OS for improved efficiency 
5801(since a spinlock is usually a very small object.)
5802
5803Implemented support for "ignored" bits in the ACPI registers. According to 
5804the ACPI specification, these bits should be preserved when writing the 
5805registers via a read/modify/write cycle. There are 3 bits preserved in 
5806this 
5807manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
5808
5809Implemented the initial deployment of new OSL mutex interfaces. Since some 
5810host operating systems have separate mutex and semaphore objects, this 
5811feature was requested. The base code now uses mutexes (and the new mutex 
5812interfaces) wherever a binary semaphore was used previously. However, for 
5813the current release, the mutex interfaces are defined as macros to map 
5814them 
5815to the existing semaphore interfaces. Therefore, no OSL changes are 
5816required 
5817at this time. (See acpiosxf.h)
5818
5819Fixed several problems with the support for the control method SyncLevel 
5820parameter. The SyncLevel now works according to the ACPI specification and 
5821in concert with the Mutex SyncLevel parameter, since the current SyncLevel 
5822is a property of the executing thread. Mutual exclusion for control 
5823methods 
5824is now implemented with a mutex instead of a semaphore.
5825
5826Fixed three instances of the use of the C shift operator in the bitfield 
5827support code (exfldio.c) to avoid the use of a shift value larger than the 
5828target data width. The behavior of C compilers is undefined in this case 
5829and 
5830can cause unpredictable results, and therefore the case must be detected 
5831and 
5832avoided. (Fiodor Suietov)
5833
5834Added an info message whenever an SSDT or OEM table is loaded dynamically 
5835via the Load() or LoadTable() ASL operators. This should improve debugging 
5836capability since it will show exactly what tables have been loaded (beyond 
5837the tables present in the RSDT/XSDT.)
5838
5839Example Code and Data Size: These are the sizes for the OS-independent 
5840acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5841debug version of the code includes the debug output trace mechanism and 
5842has 
5843a much larger code and data size.
5844
5845  Previous Release:
5846    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
5847    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
5848  Current Release:
5849    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
5850    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
5851
5852
58532) iASL Compiler/Disassembler and Tools:
5854
5855No changes for this release.
5856
5857----------------------------------------
585808 June 2006. Summary of changes for version 20060608:
5859
58601) ACPI CA Core Subsystem:
5861
5862Converted the locking mutex used for the ACPI hardware to a spinlock. This 
5863change should eliminate all problems caused by attempting to acquire a 
5864semaphore at interrupt level, and it means that all ACPICA external 
5865interfaces that directly access the ACPI hardware can be safely called 
5866from 
5867interrupt level. OSL code that implements the semaphore interfaces should 
5868be 
5869able to eliminate any workarounds for being called at interrupt level.
5870
5871Fixed a regression introduced in 20060526 where the ACPI device 
5872initialization could be prematurely aborted with an AE_NOT_FOUND if a 
5873device 
5874did not have an optional _INI method.
5875
5876Fixed an IndexField issue where a write to the Data Register should be 
5877limited in size to the AccessSize (width) of the IndexField itself. (BZ 
5878433, 
5879Fiodor Suietov)
5880
5881Fixed problem reports (Valery Podrezov) integrated:
5882- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
5883
5884Fixed problem reports (Fiodor Suietov) integrated:
5885- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
5886
5887Removed four global mutexes that were obsolete and were no longer being 
5888used.
5889
5890Example Code and Data Size: These are the sizes for the OS-independent 
5891acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5892debug version of the code includes the debug output trace mechanism and 
5893has 
5894a much larger code and data size.
5895
5896  Previous Release:
5897    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
5898    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
5899  Current Release:
5900    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
5901    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
5902
5903
59042) iASL Compiler/Disassembler and Tools:
5905
5906Fixed a fault when using -g option (get tables from registry) on Windows 
5907machines.
5908
5909Fixed problem reports integrated:
5910- Generate error if CreateField NumBits parameter is zero. (BZ 405)
5911- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
5912Suietov)
5913- Global table revision override (-r) is ignored (BZ 413)
5914
5915----------------------------------------
591626 May 2006. Summary of changes for version 20060526:
5917
59181) ACPI CA Core Subsystem:
5919
5920Restructured, flattened, and simplified the internal interfaces for 
5921namespace object evaluation - resulting in smaller code, less CPU stack 
5922use, 
5923and fewer interfaces. (With assistance from Mikhail Kouzmich)
5924
5925Fixed a problem with the CopyObject operator where the first parameter was 
5926not typed correctly for the parser, interpreter, compiler, and 
5927disassembler. 
5928Caused various errors and unexpected behavior.
5929
5930Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
5931produced incorrect results with some C compilers. Since the behavior of C 
5932compilers when the shift value is larger than the datatype width is 
5933apparently not well defined, the interpreter now detects this condition 
5934and 
5935simply returns zero as expected in all such cases. (BZ 395)
5936
5937Fixed problem reports (Valery Podrezov) integrated:
5938- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
5939- Allow interpreter to handle nested method declarations (BZ 5361)
5940
5941Fixed problem reports (Fiodor Suietov) integrated:
5942- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
5943- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
5944356)
5945- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
5946- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
5947- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
5948- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
5949- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
5950- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
5951- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
5952365)
5953- Status of the Global Initialization Handler call not used (BZ 366)
5954- Incorrect object parameter to Global Initialization Handler (BZ 367)
5955
5956Example Code and Data Size: These are the sizes for the OS-independent 
5957acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5958debug version of the code includes the debug output trace mechanism and 
5959has 
5960a much larger code and data size.
5961
5962  Previous Release:
5963    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
5964    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
5965  Current Release:
5966    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
5967    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
5968
5969
59702) iASL Compiler/Disassembler and Tools:
5971
5972Modified the parser to allow the names IO, DMA, and IRQ to be used as 
5973namespace identifiers with no collision with existing resource descriptor 
5974macro names. This provides compatibility with other ASL compilers and is 
5975most useful for disassembly/recompilation of existing tables without parse 
5976errors. (With assistance from Thomas Renninger)
5977
5978Disassembler: fixed an incorrect disassembly problem with the 
5979DataTableRegion and CopyObject operators. Fixed a possible fault during 
5980disassembly of some Alias operators.
5981
5982----------------------------------------
598312 May 2006. Summary of changes for version 20060512:
5984
59851) ACPI CA Core Subsystem:
5986
5987Replaced the AcpiOsQueueForExecution interface with a new interface named 
5988AcpiOsExecute. The major difference is that the new interface does not 
5989have 
5990a Priority parameter, this appeared to be useless and has been replaced by 
5991a 
5992Type parameter. The Type tells the host what type of execution is being 
5993requested, such as global lock handler, notify handler, GPE handler, etc. 
5994This allows the host to queue and execute the request as appropriate for 
5995the 
5996request type, possibly using different work queues and different 
5997priorities 
5998for the various request types. This enables fixes for multithreading 
5999deadlock problems such as BZ #5534, and will require changes to all 
6000existing 
6001OS interface layers. (Alexey Starikovskiy and Bob Moore)
6002
6003Fixed a possible memory leak associated with the support for the so-called 
6004"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
6005Suietov)
6006
6007Fixed a problem with the Load() operator where a table load from an 
6008operation region could overwrite an internal table buffer by up to 7 bytes 
6009and cause alignment faults on IPF systems. (With assistance from Luming 
6010Yu)
6011
6012Example Code and Data Size: These are the sizes for the OS-independent 
6013acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6014debug version of the code includes the debug output trace mechanism and 
6015has 
6016a much larger code and data size.
6017
6018  Previous Release:
6019    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6020    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6021  Current Release:
6022    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
6023    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
6024
6025
6026
60272) iASL Compiler/Disassembler and Tools:
6028
6029Disassembler: Implemented support to cross reference the internal 
6030namespace 
6031and automatically generate ASL External() statements for symbols not 
6032defined 
6033within the current table being disassembled. This will simplify the 
6034disassembly and recompilation of interdependent tables such as SSDTs since 
6035these statements will no longer have to be added manually.
6036
6037Disassembler: Implemented experimental support to automatically detect 
6038invocations of external control methods and generate appropriate 
6039External() 
6040statements. This is problematic because the AML cannot be correctly parsed 
6041until the number of arguments for each control method is known. Currently, 
6042standalone method invocations and invocations as the source operand of a 
6043Store() statement are supported.
6044
6045Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
6046LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
6047LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
6048more readable and likely closer to the original ASL source.
6049
6050----------------------------------------
605121 April 2006. Summary of changes for version 20060421:
6052
60531) ACPI CA Core Subsystem:
6054
6055Removed a device initialization optimization introduced in 20051216 where 
6056the _STA method was not run unless an _INI was also present for the same 
6057device. This optimization could cause problems because it could allow _INI 
6058methods to be run within a not-present device subtree. (If a not-present 
6059device had no _INI, _STA would not be run, the not-present status would 
6060not 
6061be discovered, and the children of the device would be incorrectly 
6062traversed.)
6063
6064Implemented a new _STA optimization where namespace subtrees that do not 
6065contain _INI are identified and ignored during device initialization. 
6066Selectively running _STA can significantly improve boot time on large 
6067machines (with assistance from Len Brown.)
6068
6069Implemented support for the device initialization case where the returned 
6070_STA flags indicate a device not-present but functioning. In this case, 
6071_INI 
6072is not run, but the device children are examined for presence, as per the 
6073ACPI specification.
6074
6075Implemented an additional change to the IndexField support in order to 
6076conform to MS behavior. The value written to the Index Register is not 
6077simply a byte offset, it is a byte offset in units of the access width of 
6078the parent Index Field. (Fiodor Suietov)
6079
6080Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
6081interface is called during the creation of all AML operation regions, and 
6082allows the host OS to exert control over what addresses it will allow the 
6083AML code to access. Operation Regions whose addresses are disallowed will 
6084cause a runtime exception when they are actually accessed (will not affect 
6085or abort table loading.) See oswinxf or osunixxf for an example 
6086implementation.
6087
6088Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
6089interface allows the host OS to match the various "optional" 
6090interface/behavior strings for the _OSI predefined control method as 
6091appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
6092for an example implementation.
6093
6094Restructured and corrected various problems in the exception handling code 
6095paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
6096(with assistance from Takayoshi Kochi.)
6097
6098Modified the Linux source converter to ignore quoted string literals while 
6099converting identifiers from mixed to lower case. This will correct 
6100problems 
6101with the disassembler and other areas where such strings must not be 
6102modified.
6103
6104The ACPI_FUNCTION_* macros no longer require quotes around the function 
6105name. This allows the Linux source converter to convert the names, now 
6106that 
6107the converter ignores quoted strings.
6108
6109Example Code and Data Size: These are the sizes for the OS-independent 
6110acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6111debug version of the code includes the debug output trace mechanism and 
6112has 
6113a much larger code and data size.
6114
6115  Previous Release:
6116
6117    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6118    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6119  Current Release:
6120    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6121    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6122
6123
61242) iASL Compiler/Disassembler and Tools:
6125
6126Implemented 3 new warnings for iASL, and implemented multiple warning 
6127levels 
6128(w2 flag).
6129
61301) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
6131not 
6132WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
6133check for the possible timeout, a warning is issued.
6134
61352) Useless operators: If an ASL operator does not specify an optional 
6136target 
6137operand and it also does not use the function return value from the 
6138operator, a warning is issued since the operator effectively does nothing.
6139
61403) Unreferenced objects: If a namespace object is created, but never 
6141referenced, a warning is issued. This is a warning level 2 since there are 
6142cases where this is ok, such as when a secondary table is loaded that uses 
6143the unreferenced objects. Even so, care is taken to only flag objects that 
6144don't look like they will ever be used. For example, the reserved methods 
6145(starting with an underscore) are usually not referenced because it is 
6146expected that the OS will invoke them.
6147
6148----------------------------------------
614931 March 2006. Summary of changes for version 20060331:
6150
61511) ACPI CA Core Subsystem:
6152
6153Implemented header file support for the following additional ACPI tables: 
6154ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
6155support, 
6156all current and known ACPI tables are now defined in the ACPICA headers 
6157and 
6158are available for use by device drivers and other software.
6159
6160Implemented support to allow tables that contain ACPI names with invalid 
6161characters to be loaded. Previously, this would cause the table load to 
6162fail, but since there are several known cases of such tables on existing 
6163machines, this change was made to enable ACPI support for them. Also, this 
6164matches the behavior of the Microsoft ACPI implementation.
6165
6166Fixed a couple regressions introduced during the memory optimization in 
6167the 
616820060317 release. The namespace node definition required additional 
6169reorganization and an internal datatype that had been changed to 8-bit was 
6170restored to 32-bit. (Valery Podrezov)
6171
6172Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
6173could be passed through to AcpiOsReleaseObject which is unexpected. Such 
6174null pointers are now trapped and ignored, matching the behavior of the 
6175previous implementation before the deployment of AcpiOsReleaseObject.
6176(Valery Podrezov, Fiodor Suietov)
6177
6178Fixed a memory mapping leak during the deletion of a SystemMemory 
6179operation 
6180region where a cached memory mapping was not deleted. This became a 
6181noticeable problem for operation regions that are defined within 
6182frequently 
6183used control methods. (Dana Meyers)
6184
6185Reorganized the ACPI table header files into two main files: one for the 
6186ACPI tables consumed by the ACPICA core, and another for the miscellaneous 
6187ACPI tables that are consumed by the drivers and other software. The 
6188various 
6189FADT definitions were merged into one common section and three different 
6190tables (ACPI 1.0, 1.0+, and 2.0)
6191
6192Example Code and Data Size: These are the sizes for the OS-independent 
6193acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6194debug version of the code includes the debug output trace mechanism and 
6195has 
6196a much larger code and data size.
6197
6198  Previous Release:
6199    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6200    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6201  Current Release:
6202    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6203    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6204
6205
62062) iASL Compiler/Disassembler and Tools:
6207
6208Disassembler: Implemented support to decode and format all non-AML ACPI 
6209tables (tables other than DSDTs and SSDTs.) This includes the new tables 
6210added to the ACPICA headers, therefore all current and known ACPI tables 
6211are 
6212supported.
6213
6214Disassembler: The change to allow ACPI names with invalid characters also 
6215enables the disassembly of such tables. Invalid characters within names 
6216are 
6217changed to '*' to make the name printable; the iASL compiler will still 
6218generate an error for such names, however, since this is an invalid ACPI 
6219character.
6220
6221Implemented an option for AcpiXtract (-a) to extract all tables found in 
6222the 
6223input file. The default invocation extracts only the DSDTs and SSDTs.
6224
6225Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
6226makefile for the AcpiXtract utility.
6227
6228----------------------------------------
622917 March 2006. Summary of changes for version 20060317:
6230
62311) ACPI CA Core Subsystem:
6232
6233Implemented the use of a cache object for all internal namespace nodes. 
6234Since there are about 1000 static nodes in a typical system, this will 
6235decrease memory use for cache implementations that minimize per-allocation 
6236overhead (such as a slab allocator.)
6237
6238Removed the reference count mechanism for internal namespace nodes, since 
6239it 
6240was deemed unnecessary. This reduces the size of each namespace node by 
6241about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
6242and 32 bytes for the 64-bit case.
6243
6244Optimized several internal data structures to reduce object size on 64-bit 
6245platforms by packing data within the 64-bit alignment. This includes the 
6246frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
6247instances corresponding to the namespace objects.
6248
6249Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
6250and "Windows 2006".
6251
6252Split the allocation tracking mechanism out to a separate file, from 
6253utalloc.c to uttrack.c. This mechanism appears to be only useful for 
6254application-level code. Kernels may wish to not include uttrack.c in 
6255distributions.
6256
6257Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
6258associated 
6259code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
6260macros.)
6261
6262Code and Data Size: These are the sizes for the acpica.lib produced by the 
6263Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
6264ACPI 
6265driver or OSPM code. The debug version of the code includes the debug 
6266output 
6267trace mechanism and has a much larger code and data size. Note that these 
6268values will vary depending on the efficiency of the compiler and the 
6269compiler options used during generation.
6270
6271  Previous Release:
6272    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6273    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
6274  Current Release:
6275    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6276    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6277
6278
62792) iASL Compiler/Disassembler and Tools:
6280
6281Implemented an ANSI C version of the acpixtract utility. This version will 
6282automatically extract the DSDT and all SSDTs from the input acpidump text 
6283file and dump the binary output to separate files. It can also display a 
6284summary of the input file including the headers for each table found and 
6285will extract any single ACPI table, with any signature. (See 
6286source/tools/acpixtract)
6287
6288----------------------------------------
628910 March 2006. Summary of changes for version 20060310:
6290
62911) ACPI CA Core Subsystem:
6292
6293Tagged all external interfaces to the subsystem with the new 
6294ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
6295kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
6296macro. The default definition is NULL.
6297
6298Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
6299This allows the host to define this as necessary to simplify kernel 
6300integration. The default definition is ACPI_NATIVE_UINT.
6301
6302Fixed two interpreter problems related to error processing, the deletion 
6303of 
6304objects, and placing invalid pointers onto the internal operator result 
6305stack. BZ 6028, 6151 (Valery Podrezov)
6306
6307Increased the reference count threshold where a warning is emitted for 
6308large 
6309reference counts in order to eliminate unnecessary warnings on systems 
6310with 
6311large namespaces (especially 64-bit.) Increased the value from 0x400 to 
63120x800.
6313
6314Due to universal disagreement as to the meaning of the 'c' in the calloc() 
6315function, the ACPI_MEM_CALLOCATE macro has been renamed to 
6316ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
6317ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
6318ACPI_FREE.
6319
6320Code and Data Size: These are the sizes for the acpica.lib produced by the 
6321Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
6322ACPI 
6323driver or OSPM code. The debug version of the code includes the debug 
6324output 
6325trace mechanism and has a much larger code and data size. Note that these 
6326values will vary depending on the efficiency of the compiler and the 
6327compiler options used during generation.
6328
6329  Previous Release:
6330    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
6331    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
6332  Current Release:
6333    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6334    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
6335
6336
63372) iASL Compiler/Disassembler:
6338
6339Disassembler: implemented support for symbolic resource descriptor 
6340references. If a CreateXxxxField operator references a fixed offset within 
6341a 
6342resource descriptor, a name is assigned to the descriptor and the offset 
6343is 
6344translated to the appropriate resource tag and pathname. The addition of 
6345this support brings the disassembled code very close to the original ASL 
6346source code and helps eliminate run-time errors when the disassembled code 
6347is modified (and recompiled) in such a way as to invalidate the original 
6348fixed offsets.
6349
6350Implemented support for a Descriptor Name as the last parameter to the ASL 
6351Register() macro. This parameter was inadvertently left out of the ACPI 
6352specification, and will be added for ACPI 3.0b.
6353
6354Fixed a problem where the use of the "_OSI" string (versus the full path 
6355"\_OSI") caused an internal compiler error. ("No back ptr to op")
6356
6357Fixed a problem with the error message that occurs when an invalid string 
6358is 
6359used for a _HID object (such as one with an embedded asterisk: 
6360"*PNP010A".) 
6361The correct message is now displayed.
6362
6363----------------------------------------
636417 February 2006. Summary of changes for version 20060217:
6365
63661) ACPI CA Core Subsystem:
6367
6368Implemented a change to the IndexField support to match the behavior of 
6369the 
6370Microsoft AML interpreter. The value written to the Index register is now 
6371a 
6372byte offset, no longer an index based upon the width of the Data register. 
6373This should fix IndexField problems seen on some machines where the Data 
6374register is not exactly one byte wide. The ACPI specification will be 
6375clarified on this point.
6376
6377Fixed a problem where several resource descriptor types could overrun the 
6378internal descriptor buffer due to size miscalculation: VendorShort, 
6379VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
6380affect all platforms.
6381
6382Fixed a problem where individual resource descriptors were misaligned 
6383within 
6384the internal buffer, causing alignment faults on IA64 platforms.
6385
6386Code and Data Size: These are the sizes for the acpica.lib produced by the 
6387Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
6388ACPI 
6389driver or OSPM code. The debug version of the code includes the debug 
6390output 
6391trace mechanism and has a much larger code and data size. Note that these 
6392values will vary depending on the efficiency of the compiler and the 
6393compiler options used during generation.
6394
6395  Previous Release:
6396    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6397    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
6398  Current Release:
6399    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
6400    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
6401
6402
64032) iASL Compiler/Disassembler:
6404
6405Implemented support for new reserved names: _WDG and _WED are Microsoft 
6406extensions for Windows Instrumentation Management, _TDL is a new ACPI-
6407defined method (Throttling Depth Limit.)
6408
6409Fixed a problem where a zero-length VendorShort or VendorLong resource 
6410descriptor was incorrectly emitted as a descriptor of length one.
6411
6412----------------------------------------
641310 February 2006. Summary of changes for version 20060210:
6414
64151) ACPI CA Core Subsystem:
6416
6417Removed a couple of extraneous ACPI_ERROR messages that appeared during 
6418normal execution. These became apparent after the conversion from 
6419ACPI_DEBUG_PRINT.
6420
6421Fixed a problem where the CreateField operator could hang if the BitIndex 
6422or 
6423NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
6424
6425Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
6426failed with an exception. This also fixes a couple of related RefOf and 
6427DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
6428
6429Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
6430of 
6431AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
6432BZ 
64335480)
6434
6435Implemented a memory cleanup at the end of the execution of each iteration 
6436of an AML While() loop, preventing the accumulation of outstanding 
6437objects. 
6438(Valery Podrezov, BZ 5427)
6439
6440Eliminated a chunk of duplicate code in the object resolution code. 
6441(Valery 
6442Podrezov, BZ 5336)
6443
6444Fixed several warnings during the 64-bit code generation.
6445
6446The AcpiSrc source code conversion tool now inserts one line of whitespace 
6447after an if() statement that is followed immediately by a comment, 
6448improving 
6449readability of the Linux code.
6450
6451Code and Data Size: The current and previous library sizes for the core 
6452subsystem are shown below. These are the code and data sizes for the 
6453acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6454values do not include any ACPI driver or OSPM code. The debug version of 
6455the 
6456code includes the debug output trace mechanism and has a much larger code 
6457and data size. Note that these values will vary depending on the 
6458efficiency 
6459of the compiler and the compiler options used during generation.
6460
6461  Previous Release:
6462    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
6463    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
6464  Current Release:
6465    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6466    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
6467
6468
64692) iASL Compiler/Disassembler:
6470
6471Fixed a problem with the disassembly of a BankField operator with a 
6472complex 
6473expression for the BankValue parameter.
6474
6475----------------------------------------
647627 January 2006. Summary of changes for version 20060127:
6477
64781) ACPI CA Core Subsystem:
6479
6480Implemented support in the Resource Manager to allow unresolved namestring 
6481references within resource package objects for the _PRT method. This 
6482support 
6483is in addition to the previously implemented unresolved reference support 
6484within the AML parser. If the interpreter slack mode is enabled, these 
6485unresolved references will be passed through to the caller as a NULL 
6486package 
6487entry.
6488
6489Implemented and deployed new macros and functions for error and warning 
6490messages across the subsystem. These macros are simpler and generate less 
6491code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
6492ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
6493macros remain defined to allow ACPI drivers time to migrate to the new 
6494macros.
6495
6496Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
6497Acquire/Release Lock OSL interfaces.
6498
6499Fixed a problem where Alias ASL operators are sometimes not correctly 
6500resolved, in both the interpreter and the iASL compiler.
6501
6502Fixed several problems with the implementation of the 
6503ConcatenateResTemplate 
6504ASL operator. As per the ACPI specification, zero length buffers are now 
6505treated as a single EndTag. One-length buffers always cause a fatal 
6506exception. Non-zero length buffers that do not end with a full 2-byte 
6507EndTag 
6508cause a fatal exception.
6509
6510Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
6511interface. (With assistance from Thomas Renninger)
6512
6513Code and Data Size: The current and previous library sizes for the core 
6514subsystem are shown below. These are the code and data sizes for the 
6515acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6516values do not include any ACPI driver or OSPM code. The debug version of 
6517the 
6518code includes the debug output trace mechanism and has a much larger code 
6519and data size. Note that these values will vary depending on the 
6520efficiency 
6521of the compiler and the compiler options used during generation.
6522
6523  Previous Release:
6524    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
6525    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
6526  Current Release:
6527    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
6528    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
6529
6530
65312) iASL Compiler/Disassembler:
6532
6533Fixed an internal error that was generated for any forward references to 
6534ASL 
6535Alias objects.
6536
6537----------------------------------------
653813 January 2006. Summary of changes for version 20060113:
6539
65401) ACPI CA Core Subsystem:
6541
6542Added 2006 copyright to all module headers and signons. This affects 
6543virtually every file in the ACPICA core subsystem, iASL compiler, and the 
6544utilities.
6545 
6546Enhanced the ACPICA error reporting in order to simplify user migration to 
6547the non-debug version of ACPICA. Replaced all instances of the 
6548ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
6549levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
6550respectively. This preserves all error and warning messages in the non-
6551debug 
6552version of the ACPICA code (this has been referred to as the "debug lite" 
6553option.) Over 200 cases were converted to create a total of over 380 
6554error/warning messages across the ACPICA code. This increases the code and 
6555data size of the default non-debug version of the code somewhat (about 
655613K), 
6557but all error/warning reporting may be disabled if desired (and code 
6558eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
6559configuration option. The size of the debug version of ACPICA remains 
6560about 
6561the same.
6562
6563Fixed a memory leak within the AML Debugger "Set" command. One object was 
6564not properly deleted for every successful invocation of the command.
6565
6566Code and Data Size: The current and previous library sizes for the core 
6567subsystem are shown below. These are the code and data sizes for the 
6568acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6569values do not include any ACPI driver or OSPM code. The debug version of 
6570the 
6571code includes the debug output trace mechanism and has a much larger code 
6572and data size. Note that these values will vary depending on the 
6573efficiency 
6574of the compiler and the compiler options used during generation.
6575
6576  Previous Release:
6577    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
6578    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
6579  Current Release:
6580    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
6581    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
6582
6583
65842) iASL Compiler/Disassembler:
6585
6586The compiler now officially supports the ACPI 3.0a specification that was 
6587released on December 30, 2005. (Specification is available at 
6588www.acpi.info)
6589
6590----------------------------------------
659116 December 2005. Summary of changes for version 20051216:
6592
65931) ACPI CA Core Subsystem:
6594
6595Implemented optional support to allow unresolved names within ASL Package 
6596objects. A null object is inserted in the package when a named reference 
6597cannot be located in the current namespace. Enabled via the interpreter 
6598slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
6599that contain such code.
6600
6601Implemented an optimization to the initialization sequence that can 
6602improve 
6603boot time. During ACPI device initialization, the _STA method is now run 
6604if 
6605and only if the _INI method exists. The _STA method is used to determine 
6606if 
6607the device is present; An _INI can only be run if _STA returns present, 
6608but 
6609it is a waste of time to run the _STA method if the _INI does not exist. 
6610(Prototype and assistance from Dong Wei)
6611
6612Implemented use of the C99 uintptr_t for the pointer casting macros if it 
6613is 
6614available in the current compiler. Otherwise, the default (void *) cast is 
6615used as before.
6616
6617Fixed some possible memory leaks found within the execution path of the 
6618Break, Continue, If, and CreateField operators. (Valery Podrezov)
6619
6620Fixed a problem introduced in the 20051202 release where an exception is 
6621generated during method execution if a control method attempts to declare 
6622another method.
6623
6624Moved resource descriptor string constants that are used by both the AML 
6625disassembler and AML debugger to the common utilities directory so that 
6626these components are independent.
6627
6628Implemented support in the AcpiExec utility (-e switch) to globally ignore 
6629exceptions during control method execution (method is not aborted.)
6630
6631Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
6632generation.
6633
6634Code and Data Size: The current and previous library sizes for the core 
6635subsystem are shown below. These are the code and data sizes for the 
6636acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6637values do not include any ACPI driver or OSPM code. The debug version of 
6638the 
6639code includes the debug output trace mechanism and has a much larger code 
6640and data size. Note that these values will vary depending on the 
6641efficiency 
6642of the compiler and the compiler options used during generation.
6643
6644  Previous Release:
6645    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6646    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
6647  Current Release:
6648    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
6649    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
6650
6651
66522) iASL Compiler/Disassembler:
6653
6654Fixed a problem where a CPU stack overflow fault could occur if a 
6655recursive 
6656method call was made from within a Return statement.
6657
6658----------------------------------------
665902 December 2005. Summary of changes for version 20051202:
6660
66611) ACPI CA Core Subsystem:
6662
6663Modified the parsing of control methods to no longer create namespace 
6664objects during the first pass of the parse. Objects are now created only 
6665during the execute phase, at the moment the namespace creation operator is 
6666encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
6667should eliminate ALREADY_EXISTS exceptions seen on some machines where 
6668reentrant control methods are protected by an AML mutex. The mutex will 
6669now 
6670correctly block multiple threads from attempting to create the same object 
6671more than once.
6672
6673Increased the number of available Owner Ids for namespace object tracking 
6674from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
6675on 
6676some machines with a large number of ACPI tables (either static or 
6677dynamic).
6678
6679Fixed a problem with the AcpiExec utility where a fault could occur when 
6680the 
6681-b switch (batch mode) is used.
6682
6683Enhanced the namespace dump routine to output the owner ID for each 
6684namespace object.
6685
6686Code and Data Size: The current and previous library sizes for the core 
6687subsystem are shown below. These are the code and data sizes for the 
6688acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6689values do not include any ACPI driver or OSPM code. The debug version of 
6690the 
6691code includes the debug output trace mechanism and has a much larger code 
6692and data size. Note that these values will vary depending on the 
6693efficiency 
6694of the compiler and the compiler options used during generation.
6695
6696  Previous Release:
6697    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6698    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6699  Current Release:
6700    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6701    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
6702
6703
67042) iASL Compiler/Disassembler:
6705
6706Fixed a parse error during compilation of certain Switch/Case constructs. 
6707To 
6708simplify the parse, the grammar now allows for multiple Default statements 
6709and this error is now detected and flagged during the analysis phase.
6710
6711Disassembler: The disassembly now includes the contents of the original 
6712table header within a comment at the start of the file. This includes the 
6713name and version of the original ASL compiler.
6714
6715----------------------------------------
671617 November 2005. Summary of changes for version 20051117:
6717
67181) ACPI CA Core Subsystem:
6719
6720Fixed a problem in the AML parser where the method thread count could be 
6721decremented below zero if any errors occurred during the method parse 
6722phase. 
6723This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
6724machines. 
6725This also fixed a related regression with the mechanism that detects and 
6726corrects methods that cannot properly handle reentrancy (related to the 
6727deployment of the new OwnerId mechanism.)
6728
6729Eliminated the pre-parsing of control methods (to detect errors) during 
6730table load. Related to the problem above, this was causing unwind issues 
6731if 
6732any errors occurred during the parse, and it seemed to be overkill. A 
6733table 
6734load should not be aborted if there are problems with any single control 
6735method, thus rendering this feature rather pointless.
6736
6737Fixed a problem with the new table-driven resource manager where an 
6738internal 
6739buffer overflow could occur for small resource templates.
6740
6741Implemented a new external interface, AcpiGetVendorResource. This 
6742interface 
6743will find and return a vendor-defined resource descriptor within a _CRS or 
6744_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
6745Helgaas.
6746
6747Removed the length limit (200) on string objects as per the upcoming ACPI 
67483.0A specification. This affects the following areas of the interpreter: 
67491) 
6750any implicit conversion of a Buffer to a String, 2) a String object result 
6751of the ASL Concatentate operator, 3) the String object result of the ASL 
6752ToString operator.
6753
6754Fixed a problem in the Windows OS interface layer (OSL) where a 
6755WAIT_FOREVER 
6756on a semaphore object would incorrectly timeout. This allows the 
6757multithreading features of the AcpiExec utility to work properly under 
6758Windows.
6759
6760Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
6761the recently added file named "utresrc.c".
6762
6763Code and Data Size: The current and previous library sizes for the core 
6764subsystem are shown below. These are the code and data sizes for the 
6765acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6766values do not include any ACPI driver or OSPM code. The debug version of 
6767the 
6768code includes the debug output trace mechanism and has a much larger code 
6769and data size. Note that these values will vary depending on the 
6770efficiency 
6771of the compiler and the compiler options used during generation.
6772
6773  Previous Release:
6774    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
6775    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6776  Current Release:
6777    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6778    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6779
6780
67812) iASL Compiler/Disassembler:
6782
6783Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
6784specification. For the iASL compiler, this means that string literals 
6785within 
6786the source ASL can be of any length. 
6787
6788Enhanced the listing output to dump the AML code for resource descriptors 
6789immediately after the ASL code for each descriptor, instead of in a block 
6790at 
6791the end of the entire resource template.
6792
6793Enhanced the compiler debug output to dump the entire original parse tree 
6794constructed during the parse phase, before any transforms are applied to 
6795the 
6796tree. The transformed tree is dumped also.
6797
6798----------------------------------------
679902 November 2005. Summary of changes for version 20051102:
6800
68011) ACPI CA Core Subsystem:
6802
6803Modified the subsystem initialization sequence to improve GPE support. The 
6804GPE initialization has been split into two parts in order to defer 
6805execution 
6806of the _PRW methods (Power Resources for Wake) until after the hardware is 
6807fully initialized and the SCI handler is installed. This allows the _PRW 
6808methods to access fields protected by the Global Lock. This will fix 
6809systems 
6810where a NO_GLOBAL_LOCK exception has been seen during initialization.
6811
6812Converted the ACPI internal object disassemble and display code within the 
6813AML debugger to fully table-driven operation, reducing code size and 
6814increasing maintainability.
6815
6816Fixed a regression with the ConcatenateResTemplate() ASL operator 
6817introduced 
6818in the 20051021 release.
6819
6820Implemented support for "local" internal ACPI object types within the 
6821debugger "Object" command and the AcpiWalkNamespace external interfaces. 
6822These local types include RegionFields, BankFields, IndexFields, Alias, 
6823and 
6824reference objects.
6825
6826Moved common AML resource handling code into a new file, "utresrc.c". This 
6827code is shared by both the Resource Manager and the AML Debugger.
6828
6829Code and Data Size: The current and previous library sizes for the core 
6830subsystem are shown below. These are the code and data sizes for the 
6831acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6832values do not include any ACPI driver or OSPM code. The debug version of 
6833the 
6834code includes the debug output trace mechanism and has a much larger code 
6835and data size. Note that these values will vary depending on the 
6836efficiency 
6837of the compiler and the compiler options used during generation.
6838
6839  Previous Release:
6840    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
6841    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
6842  Current Release:
6843    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
6844    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6845
6846
68472) iASL Compiler/Disassembler:
6848
6849Fixed a problem with very large initializer lists (more than 4000 
6850elements) 
6851for both Buffer and Package objects where the parse stack could overflow.
6852
6853Enhanced the pre-compile source code scan for non-ASCII characters to 
6854ignore 
6855characters within comment fields. The scan is now always performed and is 
6856no 
6857longer optional, detecting invalid characters within a source file 
6858immediately rather than during the parse phase or later.
6859
6860Enhanced the ASL grammar definition to force early reductions on all list-
6861style grammar elements so that the overall parse stack usage is greatly 
6862reduced. This should improve performance and reduce the possibility of 
6863parse 
6864stack overflow.
6865
6866Eliminated all reduce/reduce conflicts in the iASL parser generation. 
6867Also, 
6868with the addition of a %expected statement, the compiler generates from 
6869source with no warnings.
6870
6871Fixed a possible segment fault in the disassembler if the input filename 
6872does not contain a "dot" extension (Thomas Renninger).
6873
6874----------------------------------------
687521 October 2005. Summary of changes for version 20051021:
6876
68771) ACPI CA Core Subsystem:
6878
6879Implemented support for the EM64T and other x86-64 processors. This 
6880essentially entails recognizing that these processors support non-aligned 
6881memory transfers. Previously, all 64-bit processors were assumed to lack 
6882hardware support for non-aligned transfers.
6883
6884Completed conversion of the Resource Manager to nearly full table-driven 
6885operation. Specifically, the resource conversion code (convert AML to 
6886internal format and the reverse) and the debug code to dump internal 
6887resource descriptors are fully table-driven, reducing code and data size 
6888and 
6889improving maintainability.
6890
6891The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
6892on 64-bit processors instead of a fixed 32-bit word. (With assistance from 
6893Alexey Starikovskiy)
6894
6895Implemented support within the resource conversion code for the Type-
6896Specific byte within the various ACPI 3.0 *WordSpace macros.
6897
6898Fixed some issues within the resource conversion code for the type-
6899specific 
6900flags for both Memory and I/O address resource descriptors. For Memory, 
6901implemented support for the MTP and TTP flags. For I/O, split the TRS and 
6902TTP flags into two separate fields.
6903
6904Code and Data Size: The current and previous library sizes for the core 
6905subsystem are shown below. These are the code and data sizes for the 
6906acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6907values do not include any ACPI driver or OSPM code. The debug version of 
6908the 
6909code includes the debug output trace mechanism and has a much larger code 
6910and data size. Note that these values will vary depending on the 
6911efficiency 
6912of the compiler and the compiler options used during generation.
6913
6914  Previous Release:
6915    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
6916    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
6917  Current Release:
6918    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
6919    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
6920
6921
6922
69232) iASL Compiler/Disassembler:
6924
6925Relaxed a compiler restriction that disallowed a ResourceIndex byte if the 
6926corresponding ResourceSource string was not also present in a resource 
6927descriptor declaration. This restriction caused problems with existing 
6928AML/ASL code that includes the Index byte without the string. When such 
6929AML 
6930was disassembled, it could not be compiled without modification. Further, 
6931the modified code created a resource template with a different size than 
6932the 
6933original, breaking code that used fixed offsets into the resource template 
6934buffer.
6935
6936Removed a recent feature of the disassembler to ignore a lone 
6937ResourceIndex 
6938byte. This byte is now emitted if present so that the exact AML can be 
6939reproduced when the disassembled code is recompiled.
6940
6941Improved comments and text alignment for the resource descriptor code 
6942emitted by the disassembler.
6943
6944Implemented disassembler support for the ACPI 3.0 AccessSize field within 
6945a 
6946Register() resource descriptor.
6947
6948----------------------------------------
694930 September 2005. Summary of changes for version 20050930:
6950
69511) ACPI CA Core Subsystem:
6952
6953Completed a major overhaul of the Resource Manager code - specifically, 
6954optimizations in the area of the AML/internal resource conversion code. 
6955The 
6956code has been optimized to simplify and eliminate duplicated code, CPU 
6957stack 
6958use has been decreased by optimizing function parameters and local 
6959variables, and naming conventions across the manager have been 
6960standardized 
6961for clarity and ease of maintenance (this includes function, parameter, 
6962variable, and struct/typedef names.) The update may force changes in some 
6963driver code, depending on how resources are handled by the host OS.
6964
6965All Resource Manager dispatch and information tables have been moved to a 
6966single location for clarity and ease of maintenance. One new file was 
6967created, named "rsinfo.c".
6968
6969The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
6970guarantee that the argument is not evaluated twice, making them less prone 
6971to macro side-effects. However, since there exists the possibility of 
6972additional stack use if a particular compiler cannot optimize them (such 
6973as 
6974in the debug generation case), the original macros are optionally 
6975available.  
6976Note that some invocations of the return_VALUE macro may now cause size 
6977mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
6978to 
6979eliminate these. (From Randy Dunlap)
6980
6981Implemented a new mechanism to enable debug tracing for individual control 
6982methods. A new external interface, AcpiDebugTrace, is provided to enable 
6983this mechanism. The intent is to allow the host OS to easily enable and 
6984disable tracing for problematic control methods. This interface can be 
6985easily exposed to a user or debugger interface if desired. See the file 
6986psxface.c for details.
6987
6988AcpiUtCallocate will now return a valid pointer if a length of zero is 
6989specified - a length of one is used and a warning is issued. This matches 
6990the behavior of AcpiUtAllocate.
6991
6992Code and Data Size: The current and previous library sizes for the core 
6993subsystem are shown below. These are the code and data sizes for the 
6994acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
6995values do not include any ACPI driver or OSPM code. The debug version of 
6996the 
6997code includes the debug output trace mechanism and has a much larger code 
6998and data size. Note that these values will vary depending on the 
6999efficiency 
7000of the compiler and the compiler options used during generation.
7001
7002  Previous Release:
7003    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7004    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7005  Current Release:
7006    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
7007    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
7008
7009
70102) iASL Compiler/Disassembler:
7011
7012A remark is issued if the effective compile-time length of a package or 
7013buffer is zero. Previously, this was a warning.
7014
7015----------------------------------------
701616 September 2005. Summary of changes for version 20050916:
7017
70181) ACPI CA Core Subsystem:
7019
7020Fixed a problem within the Resource Manager where support for the Generic 
7021Register descriptor was not fully implemented. This descriptor is now 
7022fully 
7023recognized, parsed, disassembled, and displayed.
7024
7025Completely restructured the Resource Manager code to utilize table-driven 
7026dispatch and lookup, eliminating many of the large switch() statements. 
7027This 
7028reduces overall subsystem code size and code complexity. Affects the 
7029resource parsing and construction, disassembly, and debug dump output.
7030
7031Cleaned up and restructured the debug dump output for all resource 
7032descriptors. Improved readability of the output and reduced code size.
7033
7034Fixed a problem where changes to internal data structures caused the 
7035optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
7036
7037Code and Data Size: The current and previous library sizes for the core 
7038subsystem are shown below. These are the code and data sizes for the 
7039acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
7040values do not include any ACPI driver or OSPM code. The debug version of 
7041the 
7042code includes the debug output trace mechanism and has a much larger code 
7043and data size. Note that these values will vary depending on the 
7044efficiency 
7045of the compiler and the compiler options used during generation.
7046
7047  Previous Release:
7048    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7049    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7050  Current Release:
7051    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7052    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7053
7054
70552) iASL Compiler/Disassembler:
7056
7057Updated the disassembler to automatically insert an EndDependentFn() macro 
7058into the ASL stream if this macro is missing in the original AML code, 
7059simplifying compilation of the resulting ASL module.
7060
7061Fixed a problem in the disassembler where a disassembled ResourceSource 
7062string (within a large resource descriptor) was not surrounded by quotes 
7063and 
7064not followed by a comma, causing errors when the resulting ASL module was 
7065compiled. Also, escape sequences within a ResourceSource string are now 
7066handled correctly (especially "\\")
7067
7068----------------------------------------
706902 September 2005. Summary of changes for version 20050902:
7070
70711) ACPI CA Core Subsystem:
7072
7073Fixed a problem with the internal Owner ID allocation and deallocation 
7074mechanisms for control method execution and recursive method invocation. 
7075This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
7076messages seen on some systems. Recursive method invocation depth is 
7077currently limited to 255. (Alexey Starikovskiy)
7078
7079Completely eliminated all vestiges of support for the "module-level 
7080executable code" until this support is fully implemented and debugged. 
7081This 
7082should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
7083some systems that invoke this support.
7084
7085Fixed a problem within the resource manager code where the transaction 
7086flags 
7087for a 64-bit address descriptor were handled incorrectly in the type-
7088specific flag byte.
7089
7090Consolidated duplicate code within the address descriptor resource manager 
7091code, reducing overall subsystem code size.
7092
7093Fixed a fault when using the AML debugger "disassemble" command to 
7094disassemble individual control methods.
7095
7096Removed references to the "release_current" directory within the Unix 
7097release package.
7098
7099Code and Data Size: The current and previous core subsystem library sizes 
7100are shown below. These are the code and data sizes for the acpica.lib 
7101produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
7102include any ACPI driver or OSPM code. The debug version of the code 
7103includes 
7104the debug output trace mechanism and has a much larger code and data size. 
7105Note that these values will vary depending on the efficiency of the 
7106compiler 
7107and the compiler options used during generation.
7108
7109  Previous Release:
7110    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7111    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7112  Current Release:
7113    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7114    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7115
7116
71172) iASL Compiler/Disassembler:
7118
7119Implemented an error check for illegal duplicate values in the interrupt 
7120and 
7121dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
7122Interrupt().
7123
7124Implemented error checking for the Irq() and IrqNoFlags() macros to detect 
7125too many values in the interrupt list (16 max) and invalid values in the 
7126list (range 0 - 15)
7127
7128The maximum length string literal within an ASL file is now restricted to 
7129200 characters as per the ACPI specification.
7130
7131Fixed a fault when using the -ln option (generate namespace listing).
7132
7133Implemented an error check to determine if a DescriptorName within a 
7134resource descriptor has already been used within the current scope.
7135
7136----------------------------------------
713715 August 2005.  Summary of changes for version 20050815:
7138 
71391) ACPI CA Core Subsystem:
7140 
7141Implemented a full bytewise compare to determine if a table load request 
7142is 
7143attempting to load a duplicate table. The compare is performed if the 
7144table 
7145signatures and table lengths match. This will allow different tables with 
7146the same OEM Table ID and revision to be loaded - probably against the 
7147ACPI 
7148specification, but discovered in the field nonetheless.
7149 
7150Added the changes.txt logfile to each of the zipped release packages.
7151 
7152Code and Data Size: Current and previous core subsystem library sizes are 
7153shown below. These are the code and data sizes for the acpica.lib produced 
7154by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7155any ACPI driver or OSPM code. The debug version of the code includes the 
7156debug output trace mechanism and has a much larger code and data size. 
7157Note 
7158that these values will vary depending on the efficiency of the compiler 
7159and 
7160the compiler options used during generation.
7161 
7162  Previous Release:
7163    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7164    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
7165  Current Release:
7166    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7167    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7168 
7169 
71702) iASL Compiler/Disassembler:
7171 
7172Fixed a problem where incorrect AML code could be generated for Package 
7173objects if optimization is disabled (via the -oa switch).
7174 
7175Fixed a problem with where incorrect AML code is generated for variable-
7176length packages when the package length is not specified and the number of 
7177initializer values is greater than 255.
7178 
7179
7180----------------------------------------
718129 July 2005.  Summary of changes for version 20050729:
7182
71831) ACPI CA Core Subsystem:
7184
7185Implemented support to ignore an attempt to install/load a particular ACPI 
7186table more than once. Apparently there exists BIOS code that repeatedly 
7187attempts to load the same SSDT upon certain events. With assistance from 
7188Venkatesh Pallipadi.
7189
7190Restructured the main interface to the AML parser in order to correctly 
7191handle all exceptional conditions. This will prevent leakage of the 
7192OwnerId 
7193resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
7194some 
7195machines. With assistance from Alexey Starikovskiy.
7196
7197Support for "module level code" has been disabled in this version due to a 
7198number of issues that have appeared on various machines. The support can 
7199be 
7200enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
7201compilation. When the issues are fully resolved, the code will be enabled 
7202by 
7203default again.
7204
7205Modified the internal functions for debug print support to define the 
7206FunctionName parameter as a (const char *) for compatibility with compiler 
7207built-in macros such as __FUNCTION__, etc.
7208
7209Linted the entire ACPICA source tree for both 32-bit and 64-bit.
7210
7211Implemented support to display an object count summary for the AML 
7212Debugger 
7213commands Object and Methods.
7214
7215Code and Data Size: Current and previous core subsystem library sizes are 
7216shown below. These are the code and data sizes for the acpica.lib produced 
7217by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7218any ACPI driver or OSPM code. The debug version of the code includes the 
7219debug output trace mechanism and has a much larger code and data size. 
7220Note 
7221that these values will vary depending on the efficiency of the compiler 
7222and 
7223the compiler options used during generation.
7224
7225  Previous Release:
7226    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
7227    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
7228  Current Release:
7229    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7230    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
7231
7232
72332) iASL Compiler/Disassembler:
7234
7235Fixed a regression that appeared in the 20050708 version of the compiler 
7236where an error message was inadvertently emitted for invocations of the 
7237_OSI 
7238reserved control method.
7239
7240----------------------------------------
724108 July 2005.  Summary of changes for version 20050708:
7242
72431) ACPI CA Core Subsystem:
7244
7245The use of the CPU stack in the debug version of the subsystem has been 
7246considerably reduced. Previously, a debug structure was declared in every 
7247function that used the debug macros. This structure has been removed in 
7248favor of declaring the individual elements as parameters to the debug 
7249functions. This reduces the cumulative stack use during nested execution 
7250of 
7251ACPI function calls at the cost of a small increase in the code size of 
7252the 
7253debug version of the subsystem. With assistance from Alexey Starikovskiy 
7254and 
7255Len Brown.
7256
7257Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
7258headers to define a macro that will return the current function name at 
7259runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
7260by 
7261the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
7262compiler-dependent header, the function name is saved on the CPU stack 
7263(one 
7264pointer per function.) This mechanism is used because apparently there 
7265exists no standard ANSI-C defined macro that that returns the function 
7266name.
7267
7268Redesigned and reimplemented the "Owner ID" mechanism used to track 
7269namespace objects created/deleted by ACPI tables and control method 
7270execution. A bitmap is now used to allocate and free the IDs, thus solving 
7271the wraparound problem present in the previous implementation. The size of 
7272the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
7273Starikovskiy).
7274
7275Removed the UINT32_BIT and UINT16_BIT types that were used for the 
7276bitfield 
7277flag definitions within the headers for the predefined ACPI tables. These 
7278have been replaced by UINT8_BIT in order to increase the code portability 
7279of 
7280the subsystem. If the use of UINT8 remains a problem, we may be forced to 
7281eliminate bitfields entirely because of a lack of portability.
7282
7283Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
7284This 
7285is a frequently used function and this improvement increases the 
7286performance 
7287of the entire subsystem (Alexey Starikovskiy).
7288
7289Fixed several possible memory leaks and the inverse - premature object 
7290deletion (Alexey Starikovskiy).
7291
7292Code and Data Size: Current and previous core subsystem library sizes are 
7293shown below. These are the code and data sizes for the acpica.lib produced 
7294by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7295any ACPI driver or OSPM code. The debug version of the code includes the 
7296debug output trace mechanism and has a much larger code and data size. 
7297Note 
7298that these values will vary depending on the efficiency of the compiler 
7299and 
7300the compiler options used during generation.
7301
7302  Previous Release:
7303    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
7304    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
7305  Current Release:
7306    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
7307    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
7308
7309----------------------------------------
731024 June 2005.  Summary of changes for version 20050624:
7311
73121) ACPI CA Core Subsystem:
7313
7314Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
7315the host-defined cache object. This allows the OSL implementation to 
7316define 
7317and type this object in any manner desired, simplifying the OSL 
7318implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
7319Linux, and should be defined in the OS-specific header file for other 
7320operating systems as required.
7321
7322Changed the interface to AcpiOsAcquireObject to directly return the 
7323requested object as the function return (instead of ACPI_STATUS.) This 
7324change was made for performance reasons, since this is the purpose of the 
7325interface in the first place. AcpiOsAcquireObject is now similar to the 
7326AcpiOsAllocate interface.
7327
7328Implemented a new AML debugger command named Businfo. This command 
7329displays 
7330information about all devices that have an associate _PRT object. The 
7331_ADR, 
7332_HID, _UID, and _CID are displayed for these devices.
7333
7334Modified the initialization sequence in AcpiInitializeSubsystem to call 
7335the 
7336OSL interface AcpiOslInitialize first, before any local initialization. 
7337This 
7338change was required because the global initialization now calls OSL 
7339interfaces.
7340
7341Enhanced the Dump command to display the entire contents of Package 
7342objects 
7343(including all sub-objects and their values.) 
7344
7345Restructured the code base to split some files because of size and/or 
7346because the code logically belonged in a separate file. New files are 
7347listed 
7348below. All makefiles and project files included in the ACPI CA release 
7349have 
7350been updated.
7351    utilities/utcache.c           /* Local cache interfaces */
7352    utilities/utmutex.c           /* Local mutex support */
7353    utilities/utstate.c           /* State object support */
7354    interpreter/parser/psloop.c   /* Main AML parse loop */
7355
7356Code and Data Size: Current and previous core subsystem library sizes are 
7357shown below. These are the code and data sizes for the acpica.lib produced 
7358by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7359any ACPI driver or OSPM code. The debug version of the code includes the 
7360debug output trace mechanism and has a much larger code and data size. 
7361Note 
7362that these values will vary depending on the efficiency of the compiler 
7363and 
7364the compiler options used during generation.
7365
7366  Previous Release:
7367    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
7368    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
7369  Current Release:
7370    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
7371    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
7372
7373
73742) iASL Compiler/Disassembler:
7375
7376Fixed a regression introduced in version 20050513 where the use of a 
7377Package 
7378object within a Case() statement caused a compile time exception. The 
7379original behavior has been restored (a Match() operator is emitted.)
7380
7381----------------------------------------
738217 June 2005.  Summary of changes for version 20050617:
7383
73841) ACPI CA Core Subsystem:
7385
7386Moved the object cache operations into the OS interface layer (OSL) to 
7387allow 
7388the host OS to handle these operations if desired (for example, the Linux 
7389OSL will invoke the slab allocator). This support is optional; the compile 
7390time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
7391code in the ACPI CA core. The new OSL interfaces are shown below. See 
7392utalloc.c for an example implementation, and acpiosxf.h for the exact 
7393interface definitions. With assistance from Alexey Starikovskiy.
7394    AcpiOsCreateCache
7395    AcpiOsDeleteCache
7396    AcpiOsPurgeCache
7397    AcpiOsAcquireObject
7398    AcpiOsReleaseObject
7399
7400Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
7401return 
7402and restore a flags parameter. This fits better with many OS lock models. 
7403Note: the current execution state (interrupt handler or not) is no longer 
7404passed to these interfaces. If necessary, the OSL must determine this 
7405state 
7406by itself, a simple and fast operation. With assistance from Alexey 
7407Starikovskiy.
7408
7409Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
7410present if the revision of the RSDP was 2 or greater. According to the 
7411ACPI 
7412specification, the XSDT is optional in all cases, and the table manager 
7413therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
7414Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
7415only the RSDT.
7416
7417Fixed an interpreter problem with the Mid() operator in the case of an 
7418input 
7419string where the resulting output string is of zero length. It now 
7420correctly 
7421returns a valid, null terminated string object instead of a string object 
7422with a null pointer.
7423
7424Fixed a problem with the control method argument handling to allow a store 
7425to an Arg object that already contains an object of type Device. The 
7426Device 
7427object is now correctly overwritten. Previously, an error was returned.
7428
7429
7430Enhanced the debugger Find command to emit object values in addition to 
7431the 
7432found object pathnames. The output format is the same as the dump 
7433namespace 
7434command.
7435
7436Enhanced the debugger Set command. It now has the ability to set the value 
7437of any Named integer object in the namespace (Previously, only method 
7438locals 
7439and args could be set.)
7440
7441Code and Data Size: Current and previous core subsystem library sizes are 
7442shown below. These are the code and data sizes for the acpica.lib produced 
7443by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7444any ACPI driver or OSPM code. The debug version of the code includes the 
7445debug output trace mechanism and has a much larger code and data size. 
7446Note 
7447that these values will vary depending on the efficiency of the compiler 
7448and 
7449the compiler options used during generation.
7450
7451  Previous Release:
7452    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
7453    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
7454  Current Release:
7455    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
7456    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
7457
7458
74592) iASL Compiler/Disassembler:
7460
7461Fixed a regression in the disassembler where if/else/while constructs were 
7462output incorrectly. This problem was introduced in the previous release 
7463(20050526). This problem also affected the single-step disassembly in the 
7464debugger.
7465
7466Fixed a problem where compiling the reserved _OSI method would randomly 
7467(but 
7468rarely) produce compile errors.
7469
7470Enhanced the disassembler to emit compilable code in the face of incorrect 
7471AML resource descriptors. If the optional ResourceSourceIndex is present, 
7472but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
7473disassembly. Otherwise, the resulting code cannot be compiled without 
7474errors.
7475
7476----------------------------------------
747726 May 2005.  Summary of changes for version 20050526:
7478
74791) ACPI CA Core Subsystem:
7480
7481Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
7482the module level (not within a control method.) These opcodes are executed 
7483exactly once at the time the table is loaded. This type of code was legal 
7484up 
7485until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
7486in 
7487order to provide backwards compatibility with earlier BIOS 
7488implementations. 
7489This eliminates the "Encountered executable code at module level" warning 
7490that was previously generated upon detection of such code.
7491
7492Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
7493inadvertently be generated during the lookup of namespace objects in the 
7494second pass parse of ACPI tables and control methods. It appears that this 
7495problem could occur during the resolution of forward references to 
7496namespace 
7497objects.
7498
7499Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
7500corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
7501allows the deadlock detection debug code to be compiled out in the normal 
7502case, improving mutex performance (and overall subsystem performance) 
7503considerably.
7504
7505Implemented a handful of miscellaneous fixes for possible memory leaks on 
7506error conditions and error handling control paths. These fixes were 
7507suggested by FreeBSD and the Coverity Prevent source code analysis tool.
7508
7509Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
7510to prevent a fault in this error case.
7511
7512Code and Data Size: Current and previous core subsystem library sizes are 
7513shown below. These are the code and data sizes for the acpica.lib produced 
7514by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7515any ACPI driver or OSPM code. The debug version of the code includes the 
7516debug output trace mechanism and has a much larger code and data size. 
7517Note 
7518that these values will vary depending on the efficiency of the compiler 
7519and 
7520the compiler options used during generation.
7521
7522  Previous Release:
7523    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7524    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7525  Current Release:
7526    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
7527    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
7528
7529
75302) iASL Compiler/Disassembler:
7531
7532Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
7533the module level (not within a control method.) These operators will be 
7534executed once at the time the table is loaded. This type of code was legal 
7535up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
7536compiler in order to provide backwards compatibility with earlier BIOS ASL 
7537code.
7538
7539The ACPI integer width (specified via the table revision ID or the -r 
7540override, 32 or 64 bits) is now used internally during compile-time 
7541constant 
7542folding to ensure that constants are truncated to 32 bits if necessary. 
7543Previously, the revision ID value was only emitted in the AML table 
7544header.
7545
7546An error message is now generated for the Mutex and Method operators if 
7547the 
7548SyncLevel parameter is outside the legal range of 0 through 15.
7549
7550Fixed a problem with the Method operator ParameterTypes list handling 
7551(ACPI 
75523.0). Previously, more than 2 types or 2 arguments generated a syntax 
7553error.  
7554The actual underlying implementation of method argument typechecking is 
7555still under development, however.
7556
7557----------------------------------------
755813 May 2005.  Summary of changes for version 20050513:
7559
75601) ACPI CA Core Subsystem:
7561
7562Implemented support for PCI Express root bridges -- added support for 
7563device 
7564PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
7565
7566The interpreter now automatically truncates incoming 64-bit constants to 
756732 
7568bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
7569This 
7570also affects the iASL compiler constant folding. (Note: as per below, the 
7571iASL compiler no longer allows 64-bit constants within 32-bit tables.)
7572
7573Fixed a problem where string and buffer objects with "static" pointers 
7574(pointers to initialization data within an ACPI table) were not handled 
7575consistently. The internal object copy operation now always copies the 
7576data 
7577to a newly allocated buffer, regardless of whether the source object is 
7578static or not.
7579
7580Fixed a problem with the FromBCD operator where an implicit result 
7581conversion was improperly performed while storing the result to the target 
7582operand. Since this is an "explicit conversion" operator, the implicit 
7583conversion should never be performed on the output.
7584
7585Fixed a problem with the CopyObject operator where a copy to an existing 
7586named object did not always completely overwrite the existing object 
7587stored 
7588at name. Specifically, a buffer-to-buffer copy did not delete the existing 
7589buffer.
7590
7591Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
7592structs for consistency.
7593
7594Code and Data Size: Current and previous core subsystem library sizes are 
7595shown below. These are the code and data sizes for the acpica.lib produced 
7596by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7597any ACPI driver or OSPM code. The debug version of the code includes the 
7598debug output trace mechanism and has a much larger code and data size. 
7599Note 
7600that these values will vary depending on the efficiency of the compiler 
7601and 
7602the compiler options used during generation.
7603
7604  Previous Release:
7605    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7606    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7607  Current Release: (Same sizes)
7608    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7609    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7610
7611
76122) iASL Compiler/Disassembler:
7613
7614The compiler now emits a warning if an attempt is made to generate a 64-
7615bit 
7616integer constant from within a 32-bit ACPI table (Revision < 2). The 
7617integer 
7618is truncated to 32 bits.
7619
7620Fixed a problem with large package objects: if the static length of the 
7621package is greater than 255, the "variable length package" opcode is 
7622emitted. Previously, this caused an error. This requires an update to the 
7623ACPI spec, since it currently (incorrectly) states that packages larger 
7624than 
7625255 elements are not allowed.
7626
7627The disassembler now correctly handles variable length packages and 
7628packages 
7629larger than 255 elements.
7630
7631----------------------------------------
763208 April 2005.  Summary of changes for version 20050408:
7633
76341) ACPI CA Core Subsystem:
7635
7636Fixed three cases in the interpreter where an "index" argument to an ASL 
7637function was still (internally) 32 bits instead of the required 64 bits. 
7638This was the Index argument to the Index, Mid, and Match operators.
7639
7640The "strupr" function is now permanently local (AcpiUtStrupr), since this 
7641is 
7642not a POSIX-defined function and not present in most kernel-level C 
7643libraries. All references to the C library strupr function have been 
7644removed 
7645from the headers.
7646
7647Completed the deployment of static functions/prototypes. All prototypes 
7648with 
7649the static attribute have been moved from the headers to the owning C 
7650file.
7651
7652Implemented an extract option (-e) for the AcpiBin utility (AML binary 
7653utility). This option allows the utility to extract individual ACPI tables 
7654from the output of AcpiDmp. It provides the same functionality of the 
7655acpixtract.pl perl script without the worry of setting the correct perl 
7656options. AcpiBin runs on Windows and has not yet been generated/validated 
7657in 
7658the Linux/Unix environment (but should be soon).
7659 
7660Updated and fixed the table dump option for AcpiBin (-d). This option 
7661converts a single ACPI table to a hex/ascii file, similar to the output of 
7662AcpiDmp.
7663
7664Code and Data Size: Current and previous core subsystem library sizes are 
7665shown below. These are the code and data sizes for the acpica.lib produced 
7666by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7667any ACPI driver or OSPM code. The debug version of the code includes the 
7668debug output trace mechanism and has a much larger code and data size. 
7669Note 
7670that these values will vary depending on the efficiency of the compiler 
7671and 
7672the compiler options used during generation.
7673
7674  Previous Release:
7675    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
7676    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
7677  Current Release:
7678    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7679    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7680
7681
76822) iASL Compiler/Disassembler:
7683
7684Disassembler fix: Added a check to ensure that the table length found in 
7685the 
7686ACPI table header within the input file is not longer than the actual 
7687input 
7688file size. This indicates some kind of file or table corruption.
7689
7690----------------------------------------
769129 March 2005.  Summary of changes for version 20050329:
7692
76931) ACPI CA Core Subsystem:
7694
7695An error is now generated if an attempt is made to create a Buffer Field 
7696of 
7697length zero (A CreateField with a length operand of zero.)
7698
7699The interpreter now issues a warning whenever executable code at the 
7700module 
7701level is detected during ACPI table load. This will give some idea of the 
7702prevalence of this type of code.
7703
7704Implemented support for references to named objects (other than control 
7705methods) within package objects.
7706
7707Enhanced package object output for the debug object. Package objects are 
7708now 
7709completely dumped, showing all elements.
7710
7711Enhanced miscellaneous object output for the debug object. Any object can 
7712now be written to the debug object (for example, a device object can be 
7713written, and the type of the object will be displayed.)
7714
7715The "static" qualifier has been added to all local functions across both 
7716the 
7717core subsystem and the iASL compiler.
7718
7719The number of "long" lines (> 80 chars) within the source has been 
7720significantly reduced, by about 1/3.
7721
7722Cleaned up all header files to ensure that all CA/iASL functions are 
7723prototyped (even static functions) and the formatting is consistent.
7724
7725Two new header files have been added, acopcode.h and acnames.h.
7726
7727Removed several obsolete functions that were no longer used.
7728
7729Code and Data Size: Current and previous core subsystem library sizes are 
7730shown below. These are the code and data sizes for the acpica.lib produced 
7731by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7732any ACPI driver or OSPM code. The debug version of the code includes the 
7733debug output trace mechanism and has a much larger code and data size. 
7734Note 
7735that these values will vary depending on the efficiency of the compiler 
7736and 
7737the compiler options used during generation.
7738
7739  Previous Release:
7740    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
7741    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
7742  Current Release:
7743    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
7744    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
7745
7746
7747
77482) iASL Compiler/Disassembler:
7749
7750Fixed a problem with the resource descriptor generation/support. For the 
7751ResourceSourceIndex and the ResourceSource fields, both must be present, 
7752or 
7753both must be not present - can't have one without the other.
7754
7755The compiler now returns non-zero from the main procedure if any errors 
7756have 
7757occurred during the compilation.
7758
7759
7760----------------------------------------
776109 March 2005.  Summary of changes for version 20050309:
7762
77631) ACPI CA Core Subsystem:
7764
7765The string-to-buffer implicit conversion code has been modified again 
7766after 
7767a change to the ACPI specification.  In order to match the behavior of the 
7768other major ACPI implementation, the target buffer is no longer truncated 
7769if 
7770the source string is smaller than an existing target buffer. This change 
7771requires an update to the ACPI spec, and should eliminate the recent 
7772AE_AML_BUFFER_LIMIT issues.
7773
7774The "implicit return" support was rewritten to a new algorithm that solves 
7775the general case. Rather than attempt to determine when a method is about 
7776to 
7777exit, the result of every ASL operator is saved momentarily until the very 
7778next ASL operator is executed. Therefore, no matter how the method exits, 
7779there will always be a saved implicit return value. This feature is only 
7780enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
7781AE_AML_NO_RETURN_VALUE errors when enabled.
7782
7783Implemented implicit conversion support for the predicate (operand) of the 
7784If, Else, and While operators. String and Buffer arguments are 
7785automatically 
7786converted to Integers.
7787
7788Changed the string-to-integer conversion behavior to match the new ACPI 
7789errata: "If no integer object exists, a new integer is created. The ASCII 
7790string is interpreted as a hexadecimal constant. Each string character is 
7791interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
7792with the first character as the most significant digit, and ending with 
7793the 
7794first non-hexadecimal character or end-of-string." This means that the 
7795first 
7796non-hex character terminates the conversion and this is the code that was 
7797changed.
7798
7799Fixed a problem where the ObjectType operator would fail (fault) when used 
7800on an Index of a Package which pointed to a null package element. The 
7801operator now properly returns zero (Uninitialized) in this case.
7802
7803Fixed a problem where the While operator used excessive memory by not 
7804properly popping the result stack during execution. There was no memory 
7805leak 
7806after execution, however. (Code provided by Valery Podrezov.)
7807
7808Fixed a problem where references to control methods within Package objects 
7809caused the method to be invoked, instead of producing a reference object 
7810pointing to the method.
7811
7812Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
7813improve performance and reduce code size. (Code provided by Alexey 
7814Starikovskiy.)
7815
7816Code and Data Size: Current and previous core subsystem library sizes are 
7817shown below. These are the code and data sizes for the acpica.lib produced 
7818by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7819any ACPI driver or OSPM code. The debug version of the code includes the 
7820debug output trace mechanism and has a much larger code and data size. 
7821Note 
7822that these values will vary depending on the efficiency of the compiler 
7823and 
7824the compiler options used during generation.
7825
7826  Previous Release:
7827    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
7828    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
7829  Current Release:
7830    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
7831    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
7832
7833
78342) iASL Compiler/Disassembler:
7835
7836Fixed a problem with the Return operator with no arguments. Since the AML 
7837grammar for the byte encoding requires an operand for the Return opcode, 
7838the 
7839compiler now emits a Return(Zero) for this case.  An ACPI specification 
7840update has been written for this case.
7841
7842For tables other than the DSDT, namepath optimization is automatically 
7843disabled. This is because SSDTs can be loaded anywhere in the namespace, 
7844the 
7845compiler has no knowledge of where, and thus cannot optimize namepaths.
7846
7847Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
7848inadvertently omitted from the ACPI specification, and will require an 
7849update to the spec.
7850
7851The source file scan for ASCII characters is now optional (-a). This 
7852change 
7853was made because some vendors place non-ascii characters within comments. 
7854However, the scan is simply a brute-force byte compare to ensure all 
7855characters in the file are in the range 0x00 to 0x7F.
7856
7857Fixed a problem with the CondRefOf operator where the compiler was 
7858inappropriately checking for the existence of the target. Since the point 
7859of 
7860the operator is to check for the existence of the target at run-time, the 
7861compiler no longer checks for the target existence.
7862
7863Fixed a problem where errors generated from the internal AML interpreter 
7864during constant folding were not handled properly, causing a fault.
7865
7866Fixed a problem with overly aggressive range checking for the Stall 
7867operator. The valid range (max 255) is now only checked if the operand is 
7868of 
7869type Integer. All other operand types cannot be statically checked.
7870
7871Fixed a problem where control method references within the RefOf, DeRefOf, 
7872and ObjectType operators were not treated properly. They are now treated 
7873as 
7874actual references, not method invocations.
7875
7876Fixed and enhanced the "list namespace" option (-ln). This option was 
7877broken 
7878a number of releases ago.
7879
7880Improved error handling for the Field, IndexField, and BankField 
7881operators. 
7882The compiler now cleanly reports and recovers from errors in the field 
7883component (FieldUnit) list.
7884
7885Fixed a disassembler problem where the optional ResourceDescriptor fields 
7886TRS and TTP were not always handled correctly.
7887
7888Disassembler - Comments in output now use "//" instead of "/*"
7889
7890----------------------------------------
789128 February 2005.  Summary of changes for version 20050228:
7892
78931) ACPI CA Core Subsystem:
7894
7895Fixed a problem where the result of an Index() operator (an object 
7896reference) must increment the reference count on the target object for the 
7897life of the object reference.
7898
7899Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
7900Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
7901WordSpace 
7902resource descriptors.
7903
7904Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
7905Space Descriptor" string, indicating interpreter support for the 
7906descriptors 
7907above.
7908
7909Implemented header support for the new ACPI 3.0 FADT flag bits.
7910
7911Implemented header support for the new ACPI 3.0 PCI Express bits for the 
7912PM1 
7913status/enable registers.
7914
7915Updated header support for the MADT processor local Apic struct and MADT 
7916platform interrupt source struct for new ACPI 3.0 fields.
7917
7918Implemented header support for the SRAT and SLIT ACPI tables.
7919
7920Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
7921flag 
7922at runtime.
7923
7924Code and Data Size: Current and previous core subsystem library sizes are 
7925shown below. These are the code and data sizes for the acpica.lib produced 
7926by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7927any ACPI driver or OSPM code. The debug version of the code includes the 
7928debug output trace mechanism and has a much larger code and data size. 
7929Note 
7930that these values will vary depending on the efficiency of the compiler 
7931and 
7932the compiler options used during generation.
7933
7934  Previous Release:
7935    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
7936    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
7937  Current Release:
7938    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
7939    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
7940
7941
79422) iASL Compiler/Disassembler:
7943
7944Fixed a problem with the internal 64-bit String-to-integer conversion with 
7945strings less than two characters long.
7946
7947Fixed a problem with constant folding where the result of the Index() 
7948operator can not be considered a constant. This means that Index() cannot 
7949be 
7950a type3 opcode and this will require an update to the ACPI specification.
7951
7952Disassembler: Implemented support for the TTP, MTP, and TRS resource 
7953descriptor fields. These fields were inadvertently ignored and not output 
7954in 
7955the disassembly of the resource descriptor.
7956
7957
7958 ----------------------------------------
795911 February 2005.  Summary of changes for version 20050211:
7960
79611) ACPI CA Core Subsystem:
7962
7963Implemented ACPI 3.0 support for implicit conversion within the Match() 
7964operator. MatchObjects can now be of type integer, buffer, or string 
7965instead 
7966of just type integer.  Package elements are implicitly converted to the 
7967type 
7968of the MatchObject. This change aligns the behavior of Match() with the 
7969behavior of the other logical operators (LLess(), etc.) It also requires 
7970an 
7971errata change to the ACPI specification as this support was intended for 
7972ACPI 3.0, but was inadvertently omitted.
7973
7974Fixed a problem with the internal implicit "to buffer" conversion. Strings 
7975that are converted to buffers will cause buffer truncation if the string 
7976is 
7977smaller than the target buffer. Integers that are converted to buffers 
7978will 
7979not cause buffer truncation, only zero extension (both as per the ACPI 
7980spec.) The problem was introduced when code was added to truncate the 
7981buffer, but this should not be performed in all cases, only the string 
7982case.
7983
7984Fixed a problem with the Buffer and Package operators where the 
7985interpreter 
7986would get confused if two such operators were used as operands to an ASL 
7987operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
7988stack was not being popped after the execution of these operators, 
7989resulting 
7990in an AE_NO_RETURN_VALUE exception.
7991
7992Fixed a problem with constructs of the form Store(Index(...),...). The 
7993reference object returned from Index was inadvertently resolved to an 
7994actual 
7995value. This problem was introduced in version 20050114 when the behavior 
7996of 
7997Store() was modified to restrict the object types that can be used as the 
7998source operand (to match the ACPI specification.)
7999
8000Reduced excessive stack use within the AcpiGetObjectInfo procedure.
8001
8002Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
8003
8004Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
8005
8006Code and Data Size: Current and previous core subsystem library sizes are 
8007shown below. These are the code and data sizes for the acpica.lib produced 
8008by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8009any ACPI driver or OSPM code. The debug version of the code includes the 
8010debug output trace mechanism and has a much larger code and data size. 
8011Note 
8012that these values will vary depending on the efficiency of the compiler 
8013and 
8014the compiler options used during generation.
8015
8016  Previous Release:
8017    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
8018    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
8019  Current Release:
8020    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
8021    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
8022
8023
80242) iASL Compiler/Disassembler:
8025
8026Fixed a code generation problem in the constant folding optimization code 
8027where incorrect code was generated if a constant was reduced to a buffer 
8028object (i.e., a reduced type 5 opcode.)
8029
8030Fixed a typechecking problem for the ToBuffer operator. Caused by an 
8031incorrect return type in the internal opcode information table.
8032
8033----------------------------------------
803425 January 2005.  Summary of changes for version 20050125:
8035
80361) ACPI CA Core Subsystem:
8037
8038Fixed a recently introduced problem with the Global Lock where the 
8039underlying semaphore was not created.  This problem was introduced in 
8040version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
8041Acquire() operation on _GL.
8042
8043The local object cache is now optional, and is disabled by default. Both 
8044AcpiExec and the iASL compiler enable the cache because they run in user 
8045mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
8046to enable the local cache.
8047
8048Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
8049the 
8050optional "implicit return" support where an error was returned if no 
8051return 
8052object was expected, but one was implicitly returned. AE_OK is now 
8053returned 
8054in this case and the implicitly returned object is deleted. 
8055AcpiUtEvaluateObject is only occasionally used, and only to execute 
8056reserved 
8057methods such as _STA and _INI where the return type is known up front.
8058
8059Fixed a few issues with the internal convert-to-integer code. It now 
8060returns 
8061an error if an attempt is made to convert a null string, a string of only 
8062blanks/tabs, or a zero-length buffer. This affects both implicit 
8063conversion 
8064and explicit conversion via the ToInteger() operator.
8065
8066The internal debug code in AcpiUtAcquireMutex has been commented out. It 
8067is 
8068not needed for normal operation and should increase the performance of the 
8069entire subsystem. The code remains in case it is needed for debug purposes 
8070again.
8071
8072The AcpiExec source and makefile are included in the Unix/Linux package 
8073for 
8074the first time.
8075
8076Code and Data Size: Current and previous core subsystem library sizes are 
8077shown below. These are the code and data sizes for the acpica.lib produced 
8078by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8079any ACPI driver or OSPM code. The debug version of the code includes the 
8080debug output trace mechanism and has a much larger code and data size. 
8081Note 
8082that these values will vary depending on the efficiency of the compiler 
8083and 
8084the compiler options used during generation.
8085
8086  Previous Release:
8087    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
8088    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
8089  Current Release:
8090    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
8091    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
8092
80932) iASL Compiler/Disassembler:
8094
8095Switch/Case support: A warning is now issued if the type of the Switch 
8096value 
8097cannot be determined at compile time. For example, Switch(Arg0) will 
8098generate the warning, and the type is assumed to be an integer. As per the 
8099ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
8100the 
8101warning.
8102
8103Switch/Case support: Implemented support for buffer and string objects as 
8104the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
8105buffers and strings.
8106
8107Switch/Case support: The emitted code for the LEqual() comparisons now 
8108uses 
8109the switch value as the first operand, not the second. The case value is 
8110now 
8111the second operand, and this allows the case value to be implicitly 
8112converted to the type of the switch value, not the other way around.
8113
8114Switch/Case support: Temporary variables are now emitted immediately 
8115within 
8116the control method, not at the global level. This means that there are now 
811736 temps available per-method, not 36 temps per-module as was the case 
8118with 
8119the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
8120
8121----------------------------------------
812214 January 2005.  Summary of changes for version 20050114:
8123
8124Added 2005 copyright to all module headers.  This affects every module in 
8125the core subsystem, iASL compiler, and the utilities.
8126
81271) ACPI CA Core Subsystem:
8128
8129Fixed an issue with the String-to-Buffer conversion code where the string 
8130null terminator was not included in the buffer after conversion, but there 
8131is existing ASL that assumes the string null terminator is included. This 
8132is 
8133the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
8134introduced in the previous version when the code was updated to correctly 
8135set the converted buffer size as per the ACPI specification. The ACPI spec 
8136is ambiguous and will be updated to specify that the null terminator must 
8137be 
8138included in the converted buffer. This also affects the ToBuffer() ASL 
8139operator.
8140
8141Fixed a problem with the Mid() ASL/AML operator where it did not work 
8142correctly on Buffer objects. Newly created sub-buffers were not being 
8143marked 
8144as initialized.
8145
8146
8147Fixed a problem in AcpiTbFindTable where incorrect string compares were 
8148performed on the OemId and OemTableId table header fields.  These fields 
8149are 
8150not null terminated, so strncmp is now used instead of strcmp.
8151
8152Implemented a restriction on the Store() ASL/AML operator to align the 
8153behavior with the ACPI specification.  Previously, any object could be 
8154used 
8155as the source operand.  Now, the only objects that may be used are 
8156Integers, 
8157Buffers, Strings, Packages, Object References, and DDB Handles.  If 
8158necessary, the original behavior can be restored by enabling the 
8159EnableInterpreterSlack flag.
8160
8161Enhanced the optional "implicit return" support to allow an implicit 
8162return 
8163value from methods that are invoked externally via the AcpiEvaluateObject 
8164interface.  This enables implicit returns from the _STA and _INI methods, 
8165for example.
8166
8167Changed the Revision() ASL/AML operator to return the current version of 
8168the 
8169AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
8170returned 
8171the supported ACPI version (This is the function of the _REV method).
8172
8173Updated the _REV predefined method to return the currently supported 
8174version 
8175of ACPI, now 3.
8176
8177Implemented batch mode option for the AcpiExec utility (-b).
8178
8179Code and Data Size: Current and previous core subsystem library sizes are 
8180shown below. These are the code and data sizes for the acpica.lib produced 
8181by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8182any ACPI driver or OSPM code. The debug version of the code includes the 
8183debug output trace mechanism and has a much larger code and data size. 
8184Note 
8185that these values will vary depending on the efficiency of the compiler 
8186and 
8187the compiler options used during generation.
8188
8189  Previous Release:
8190    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8191    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
8192  Current Release:
8193    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
8194    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
8195
8196----------------------------------------
819710 December 2004.  Summary of changes for version 20041210:
8198
8199ACPI 3.0 support is nearing completion in both the iASL compiler and the 
8200ACPI CA core subsystem.
8201
82021) ACPI CA Core Subsystem:
8203
8204Fixed a problem in the ToDecimalString operator where the resulting string 
8205length was incorrectly calculated. The length is now calculated exactly, 
8206eliminating incorrect AE_STRING_LIMIT exceptions.
8207
8208Fixed a problem in the ToHexString operator to allow a maximum 200 
8209character 
8210string to be produced.
8211
8212Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
8213routine where the length of the resulting buffer was not truncated to the 
8214new size (if the target buffer already existed).
8215
8216Code and Data Size: Current and previous core subsystem library sizes are 
8217shown below. These are the code and data sizes for the acpica.lib produced 
8218by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8219any ACPI driver or OSPM code. The debug version of the code includes the 
8220debug output trace mechanism and has a much larger code and data size. 
8221Note 
8222that these values will vary depending on the efficiency of the compiler 
8223and 
8224the compiler options used during generation.
8225
8226  Previous Release:
8227    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8228    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
8229  Current Release:
8230    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8231    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
8232
8233
82342) iASL Compiler/Disassembler:
8235
8236Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
8237ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
8238Includes support in the disassembler.
8239
8240Implemented support for the new (ACPI 3.0) parameter to the Register 
8241macro, 
8242AccessSize.
8243
8244Fixed a problem where the _HE resource name for the Interrupt macro was 
8245referencing bit 0 instead of bit 1.
8246
8247Implemented check for maximum 255 interrupts in the Interrupt macro.
8248
8249Fixed a problem with the predefined resource descriptor names where 
8250incorrect AML code was generated if the offset within the resource buffer 
8251was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
8252but did not update the surrounding package lengths.
8253
8254Changes to the Dma macro:  All channels within the channel list must be in 
8255the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
8256optional (default is BusMaster).
8257
8258Implemented check for maximum 7 data bytes for the VendorShort macro.
8259
8260The ReadWrite parameter is now optional for the Memory32 and similar 
8261macros.
8262
8263----------------------------------------
826403 December 2004.  Summary of changes for version 20041203:
8265
82661) ACPI CA Core Subsystem:
8267
8268The low-level field insertion/extraction code (exfldio) has been 
8269completely 
8270rewritten to eliminate unnecessary complexity, bugs, and boundary 
8271conditions.
8272
8273Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
8274ToDecimalString 
8275operators where the input operand could be inadvertently deleted if no 
8276conversion was necessary (e.g., if the input to ToInteger was an Integer 
8277object.)
8278
8279Fixed a problem with the ToDecimalString and ToHexString where an 
8280incorrect 
8281exception code was returned if the resulting string would be > 200 chars.  
8282AE_STRING_LIMIT is now returned.
8283
8284Fixed a problem with the Concatenate operator where AE_OK was always 
8285returned, even if the operation failed.
8286
8287Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
8288semaphores to be allocated.
8289
8290Code and Data Size: Current and previous core subsystem library sizes are 
8291shown below. These are the code and data sizes for the acpica.lib produced 
8292by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8293any ACPI driver or OSPM code. The debug version of the code includes the 
8294debug output trace mechanism and has a much larger code and data size. 
8295Note 
8296that these values will vary depending on the efficiency of the compiler 
8297and 
8298the compiler options used during generation.
8299
8300  Previous Release:
8301    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8302    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8303  Current Release:
8304    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8305    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
8306
8307
83082) iASL Compiler/Disassembler:
8309
8310Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
8311recently introduced in 20041119.
8312
8313Fixed a problem with the ToUUID macro where the upper nybble of each 
8314buffer 
8315byte was inadvertently set to zero.
8316
8317----------------------------------------
831819 November 2004.  Summary of changes for version 20041119:
8319
83201) ACPI CA Core Subsystem:
8321
8322Fixed a problem in the internal ConvertToInteger routine where new 
8323integers 
8324were not truncated to 32 bits for 32-bit ACPI tables. This routine 
8325converts 
8326buffers and strings to integers.
8327
8328Implemented support to store a value to an Index() on a String object. 
8329This 
8330is an ACPI 2.0 feature that had not yet been implemented.
8331
8332Implemented new behavior for storing objects to individual package 
8333elements 
8334(via the Index() operator). The previous behavior was to invoke the 
8335implicit 
8336conversion rules if an object was already present at the index.  The new 
8337behavior is to simply delete any existing object and directly store the 
8338new 
8339object. Although the ACPI specification seems unclear on this subject, 
8340other 
8341ACPI implementations behave in this manner.  (This is the root of the 
8342AE_BAD_HEX_CONSTANT issue.)
8343
8344Modified the RSDP memory scan mechanism to support the extended checksum 
8345for 
8346ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
8347RSDP signature is found with a valid checksum.
8348
8349Code and Data Size: Current and previous core subsystem library sizes are 
8350shown below. These are the code and data sizes for the acpica.lib produced 
8351by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8352any ACPI driver or OSPM code. The debug version of the code includes the 
8353debug output trace mechanism and has a much larger code and data size. 
8354Note 
8355that these values will vary depending on the efficiency of the compiler 
8356and 
8357the compiler options used during generation.
8358
8359  Previous Release:
8360    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8361    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8362  Current Release:
8363    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8364    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8365
8366
83672) iASL Compiler/Disassembler:
8368
8369Fixed a missing semicolon in the aslcompiler.y file.
8370
8371----------------------------------------
837205 November 2004.  Summary of changes for version 20041105:
8373
83741) ACPI CA Core Subsystem:
8375
8376Implemented support for FADT revision 2.  This was an interim table 
8377(between 
8378ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
8379
8380Implemented optional support to allow uninitialized LocalX and ArgX 
8381variables in a control method.  The variables are initialized to an 
8382Integer 
8383object with a value of zero.  This support is enabled by setting the 
8384AcpiGbl_EnableInterpreterSlack flag to TRUE.
8385
8386Implemented support for Integer objects for the SizeOf operator.  Either 4 
8387or 8 is returned, depending on the current integer size (32-bit or 64-bit, 
8388depending on the parent table revision).
8389
8390Fixed a problem in the implementation of the SizeOf and ObjectType 
8391operators 
8392where the operand was resolved to a value too early, causing incorrect 
8393return values for some objects.
8394
8395Fixed some possible memory leaks during exceptional conditions.
8396
8397Code and Data Size: Current and previous core subsystem library sizes are 
8398shown below. These are the code and data sizes for the acpica.lib produced 
8399by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8400any ACPI driver or OSPM code. The debug version of the code includes the 
8401debug output trace mechanism and has a much larger code and data size. 
8402Note 
8403that these values will vary depending on the efficiency of the compiler 
8404and 
8405the compiler options used during generation.
8406
8407  Previous Release:
8408    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8409    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
8410  Current Release:
8411    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8412    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8413
8414
84152) iASL Compiler/Disassembler:
8416
8417Implemented support for all ACPI 3.0 reserved names and methods.
8418
8419Implemented all ACPI 3.0 grammar elements in the front-end, including 
8420support for semicolons.
8421
8422Implemented the ACPI 3.0 Function() and ToUUID() macros
8423
8424Fixed a problem in the disassembler where a Scope() operator would not be 
8425emitted properly if the target of the scope was in another table.
8426
8427----------------------------------------
842815 October 2004.  Summary of changes for version 20041015:
8429
8430Note:  ACPI CA is currently undergoing an in-depth and complete formal 
8431evaluation to test/verify the following areas. Other suggestions are 
8432welcome. This will result in an increase in the frequency of releases and 
8433the number of bug fixes in the next few months.
8434  - Functional tests for all ASL/AML operators
8435  - All implicit/explicit type conversions
8436  - Bit fields and operation regions
8437  - 64-bit math support and 32-bit-only "truncated" math support
8438  - Exceptional conditions, both compiler and interpreter
8439  - Dynamic object deletion and memory leaks
8440  - ACPI 3.0 support when implemented
8441  - External interfaces to the ACPI subsystem
8442
8443
84441) ACPI CA Core Subsystem:
8445
8446Fixed two alignment issues on 64-bit platforms - within debug statements 
8447in 
8448AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
8449Address 
8450field within the non-aligned ACPI generic address structure.
8451
8452Fixed a problem in the Increment and Decrement operators where incorrect 
8453operand resolution could result in the inadvertent modification of the 
8454original integer when the integer is passed into another method as an 
8455argument and the arg is then incremented/decremented.
8456
8457Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
8458bit 
8459BCD number were truncated during conversion.
8460
8461Fixed a problem in the ToDecimal operator where the length of the 
8462resulting 
8463string could be set incorrectly too long if the input operand was a Buffer 
8464object.
8465
8466Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
8467(0) 
8468within a buffer would prematurely terminate a compare between buffer 
8469objects.
8470
8471Added a check for string overflow (>200 characters as per the ACPI 
8472specification) during the Concatenate operator with two string operands.
8473
8474Code and Data Size: Current and previous core subsystem library sizes are 
8475shown below. These are the code and data sizes for the acpica.lib produced 
8476by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8477any ACPI driver or OSPM code. The debug version of the code includes the 
8478debug output trace mechanism and has a much larger code and data size. 
8479Note 
8480that these values will vary depending on the efficiency of the compiler 
8481and 
8482the compiler options used during generation.
8483
8484  Previous Release:
8485    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8486    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
8487  Current Release:
8488    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8489    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
8490
8491
8492
84932) iASL Compiler/Disassembler:
8494
8495Allow the use of the ObjectType operator on uninitialized Locals and Args 
8496(returns 0 as per the ACPI specification).
8497
8498Fixed a problem where the compiler would fault if there was a syntax error 
8499in the FieldName of all of the various CreateXXXField operators.
8500
8501Disallow the use of lower case letters within the EISAID macro, as per the 
8502ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
8503Where 
8504U is an uppercase letter and N is a hex digit.
8505
8506
8507----------------------------------------
850806 October 2004.  Summary of changes for version 20041006:
8509
85101) ACPI CA Core Subsystem:
8511
8512Implemented support for the ACPI 3.0 Timer operator. This ASL function 
8513implements a 64-bit timer with 100 nanosecond granularity.
8514
8515Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
8516implement the ACPI 3.0 Timer operator.  This allows the host OS to 
8517implement 
8518the timer with the best clock available. Also, it keeps the core subsystem 
8519out of the clock handling business, since the host OS (usually) performs 
8520this function.
8521
8522Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
8523functions use a 64-bit address which is part of the packed ACPI Generic 
8524Address Structure. Since the structure is non-aligned, the alignment 
8525macros 
8526are now used to extract the address to a local variable before use.
8527
8528Fixed a problem where the ToInteger operator assumed all input strings 
8529were 
8530hexadecimal. The operator now handles both decimal strings and hex strings 
8531(prefixed with "0x").
8532
8533Fixed a problem where the string length in the string object created as a 
8534result of the internal ConvertToString procedure could be incorrect. This 
8535potentially affected all implicit conversions and also the ToDecimalString 
8536and ToHexString operators.
8537
8538Fixed two problems in the ToString operator. If the length parameter was 
8539zero, an incorrect string object was created and the value of the input 
8540length parameter was inadvertently changed from zero to Ones.
8541
8542Fixed a problem where the optional ResourceSource string in the 
8543ExtendedIRQ 
8544resource macro was ignored.
8545
8546Simplified the interfaces to the internal division functions, reducing 
8547code 
8548size and complexity.
8549
8550Code and Data Size: Current and previous core subsystem library sizes are 
8551shown below. These are the code and data sizes for the acpica.lib produced 
8552by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8553any ACPI driver or OSPM code. The debug version of the code includes the 
8554debug output trace mechanism and has a much larger code and data size. 
8555Note 
8556that these values will vary depending on the efficiency of the compiler 
8557and 
8558the compiler options used during generation.
8559
8560  Previous Release:
8561    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
8562    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
8563  Current Release:
8564    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8565    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
8566
8567
85682) iASL Compiler/Disassembler:
8569
8570Implemented support for the ACPI 3.0 Timer operator.
8571
8572Fixed a problem where the Default() operator was inadvertently ignored in 
8573a 
8574Switch/Case block.  This was a problem in the translation of the Switch 
8575statement to If...Else pairs.
8576
8577Added support to allow a standalone Return operator, with no parentheses 
8578(or 
8579operands).
8580
8581Fixed a problem with code generation for the ElseIf operator where the 
8582translated Else...If parse tree was improperly constructed leading to the 
8583loss of some code.
8584
8585----------------------------------------
858622 September 2004.  Summary of changes for version 20040922:
8587
85881) ACPI CA Core Subsystem:
8589
8590Fixed a problem with the implementation of the LNot() operator where 
8591"Ones" 
8592was not returned for the TRUE case. Changed the code to return Ones 
8593instead 
8594of (!Arg) which was usually 1. This change affects iASL constant folding 
8595for 
8596this operator also.
8597
8598Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
8599initialized properly -- Now zero the entire buffer in this case where the 
8600buffer already exists.
8601
8602Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
8603Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
8604related code considerably. This will require changes/updates to all OS 
8605interface layers (OSLs.)
8606
8607Implemented a new external interface, AcpiInstallExceptionHandler, to 
8608allow 
8609a system exception handler to be installed. This handler is invoked upon 
8610any 
8611run-time exception that occurs during control method execution.
8612
8613Added support for the DSDT in AcpiTbFindTable. This allows the 
8614DataTableRegion() operator to access the local copy of the DSDT.
8615
8616Code and Data Size: Current and previous core subsystem library sizes are 
8617shown below. These are the code and data sizes for the acpica.lib produced 
8618by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8619any ACPI driver or OSPM code. The debug version of the code includes the 
8620debug output trace mechanism and has a much larger code and data size. 
8621Note 
8622that these values will vary depending on the efficiency of the compiler 
8623and 
8624the compiler options used during generation.
8625
8626  Previous Release:
8627    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
8628    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
8629  Current Release:
8630    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
8631    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
8632
8633
86342) iASL Compiler/Disassembler:
8635
8636Fixed a problem with constant folding and the LNot operator. LNot was 
8637returning 1 in the TRUE case, not Ones as per the ACPI specification. This 
8638could result in the generation of an incorrect folded/reduced constant.
8639
8640End-Of-File is now allowed within a "//"-style comment.  A parse error no 
8641longer occurs if such a comment is at the very end of the input ASL source 
8642file.
8643
8644Implemented the "-r" option to override the Revision in the table header. 
8645The initial use of this option will be to simplify the evaluation of the 
8646AML 
8647interpreter by allowing a single ASL source module to be compiled for 
8648either 
864932-bit or 64-bit integers.
8650
8651
8652----------------------------------------
865327 August 2004.  Summary of changes for version 20040827:
8654
86551) ACPI CA Core Subsystem:
8656
8657- Implemented support for implicit object conversion in the non-numeric 
8658logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
8659LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
8660the second operand is implicitly converted on the fly to match the type of 
8661the first operand.  For example:
8662
8663    LEqual (Source1, Source2)
8664
8665Source1 and Source2 must each evaluate to an integer, a string, or a 
8666buffer. 
8667The data type of Source1 dictates the required type of Source2. Source2 is 
8668implicitly converted if necessary to match the type of Source1.
8669
8670- Updated and corrected the behavior of the string conversion support.  
8671The 
8672rules concerning conversion of buffers to strings (according to the ACPI 
8673specification) are as follows:
8674
8675ToDecimalString - explicit byte-wise conversion of buffer to string of 
8676decimal values (0-255) separated by commas. ToHexString - explicit byte-
8677wise 
8678conversion of buffer to string of hex values (0-FF) separated by commas. 
8679ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
8680byte 
8681copy with no transform except NULL terminated. Any other implicit buffer-
8682to-
8683string conversion - byte-wise conversion of buffer to string of hex values 
8684(0-FF) separated by spaces.
8685
8686- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
8687
8688- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
8689one byte too short in the case of a node in the root scope.  This could 
8690cause a fault during debug output.
8691
8692- Code and Data Size: Current and previous core subsystem library sizes 
8693are 
8694shown below.  These are the code and data sizes for the acpica.lib 
8695produced 
8696by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8697any ACPI driver or OSPM code.  The debug version of the code includes the 
8698debug output trace mechanism and has a much larger code and data size.  
8699Note 
8700that these values will vary depending on the efficiency of the compiler 
8701and 
8702the compiler options used during generation.
8703
8704  Previous Release:
8705    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
8706    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
8707  Current Release:
8708    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
8709    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
8710
8711
87122) iASL Compiler/Disassembler:
8713
8714- Fixed a Linux generation error.
8715
8716
8717----------------------------------------
871816 August 2004.  Summary of changes for version 20040816:
8719
87201) ACPI CA Core Subsystem:
8721
8722Designed and implemented support within the AML interpreter for the so-
8723called "implicit return".  This support returns the result of the last ASL 
8724operation within a control method, in the absence of an explicit Return() 
8725operator.  A few machines depend on this behavior, even though it is not 
8726explicitly supported by the ASL language.  It is optional support that can 
8727be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
8728
8729Removed support for the PCI_Config address space from the internal low 
8730level 
8731hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
8732support was not used internally, and would not work correctly anyway 
8733because 
8734the PCI bus number and segment number were not supported.  There are 
8735separate interfaces for PCI configuration space access because of the 
8736unique 
8737interface.
8738
8739Code and Data Size: Current and previous core subsystem library sizes are 
8740shown below.  These are the code and data sizes for the acpica.lib 
8741produced 
8742by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8743any ACPI driver or OSPM code.  The debug version of the code includes the 
8744debug output trace mechanism and has a much larger code and data size.  
8745Note 
8746that these values will vary depending on the efficiency of the compiler 
8747and 
8748the compiler options used during generation.
8749
8750  Previous Release:
8751    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8752    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
8753  Current Release:
8754    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
8755    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
8756
8757
87582) iASL Compiler/Disassembler:
8759
8760Fixed a problem where constants in ASL expressions at the root level (not 
8761within a control method) could be inadvertently truncated during code 
8762generation.  This problem was introduced in the 20040715 release.
8763
8764
8765----------------------------------------
876615 July 2004.  Summary of changes for version 20040715:
8767
87681) ACPI CA Core Subsystem:
8769
8770Restructured the internal HW GPE interfaces to pass/track the current 
8771state 
8772of interrupts (enabled/disabled) in order to avoid possible deadlock and 
8773increase flexibility of the interfaces.
8774
8775Implemented a "lexicographical compare" for String and Buffer objects 
8776within 
8777the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
8778as per further clarification to the ACPI specification.  Behavior is 
8779similar 
8780to C library "strcmp".
8781
8782Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
8783external function.  In the 32-bit non-debug case, the stack use has been 
8784reduced from 168 bytes to 32 bytes.
8785
8786Deployed a new run-time configuration flag, 
8787AcpiGbl_EnableInterpreterSlack, 
8788whose purpose is to allow the AML interpreter to forgive certain bad AML 
8789constructs.  Default setting is FALSE.
8790
8791Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
8792IO 
8793support code.  If enabled, it allows field access to go beyond the end of 
8794a 
8795region definition if the field is within the region length rounded up to 
8796the 
8797next access width boundary (a common coding error.)
8798
8799Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
8800ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
8801these 
8802symbols are lowercased by the latest version of the AcpiSrc tool.
8803
8804The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
8805rename "Register" to simply "Reg" to prevent certain compilers from 
8806complaining.
8807
8808Code and Data Size: Current and previous core subsystem library sizes are 
8809shown below.  These are the code and data sizes for the acpica.lib 
8810produced 
8811by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8812any ACPI driver or OSPM code.  The debug version of the code includes the 
8813debug output trace mechanism and has a much larger code and data size.  
8814Note 
8815that these values will vary depending on the efficiency of the compiler 
8816and 
8817the compiler options used during generation.
8818
8819  Previous Release:
8820    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8821    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
8822  Current Release:
8823    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8824    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
8825
8826
88272) iASL Compiler/Disassembler:
8828
8829Implemented full support for Package objects within the Case() operator.  
8830Note: The Break() operator is currently not supported within Case blocks 
8831(TermLists) as there is some question about backward compatibility with 
8832ACPI 
88331.0 interpreters.
8834
8835
8836Fixed a problem where complex terms were not supported properly within the 
8837Switch() operator.
8838
8839Eliminated extraneous warning for compiler-emitted reserved names of the 
8840form "_T_x".  (Used in Switch/Case operators.)
8841
8842Eliminated optimization messages for "_T_x" objects and small constants 
8843within the DefinitionBlock operator.
8844
8845
8846----------------------------------------
884715 June 2004.  Summary of changes for version 20040615:
8848
88491) ACPI CA Core Subsystem:
8850
8851Implemented support for Buffer and String objects (as per ACPI 2.0) for 
8852the 
8853following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
8854LLessEqual.
8855
8856All directory names in the entire source package are lower case, as they 
8857were in earlier releases.
8858
8859Implemented "Disassemble" command in the AML debugger that will 
8860disassemble 
8861a single control method.
8862
8863Code and Data Size: Current and previous core subsystem library sizes are 
8864shown below.  These are the code and data sizes for the acpica.lib 
8865produced 
8866by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8867any ACPI driver or OSPM code.  The debug version of the code includes the 
8868debug output trace mechanism and has a much larger code and data size.  
8869Note 
8870that these values will vary depending on the efficiency of the compiler 
8871and 
8872the compiler options used during generation.
8873
8874  Previous Release:
8875    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
8876    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
8877
8878  Current Release:
8879    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8880    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
8881
8882
88832) iASL Compiler/Disassembler:
8884
8885Implemented support for Buffer and String objects (as per ACPI 2.0) for 
8886the 
8887following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
8888LLessEqual.
8889
8890All directory names in the entire source package are lower case, as they 
8891were in earlier releases.
8892
8893Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
8894not found.
8895
8896Fixed an issue with the Windows version of the compiler where later 
8897versions 
8898of Windows place the FADT in the registry under the name "FADT" and not 
8899"FACP" as earlier versions did.  This applies when using the -g or -
8900d<nofilename> options.  The compiler now looks for both strings as 
8901necessary.
8902
8903Fixed a problem with compiler namepath optimization where a namepath 
8904within 
8905the Scope() operator could not be optimized if the namepath was a subpath 
8906of 
8907the current scope path.
8908
8909----------------------------------------
891027 May 2004.  Summary of changes for version 20040527:
8911
89121) ACPI CA Core Subsystem:
8913
8914Completed a new design and implementation for EBDA (Extended BIOS Data 
8915Area) 
8916support in the RSDP scan code.  The original code improperly scanned for 
8917the 
8918EBDA by simply scanning from memory location 0 to 0x400.  The correct 
8919method 
8920is to first obtain the EBDA pointer from within the BIOS data area, then 
8921scan 1K of memory starting at the EBDA pointer.  There appear to be few if 
8922any machines that place the RSDP in the EBDA, however.
8923
8924Integrated a fix for a possible fault during evaluation of BufferField 
8925arguments.  Obsolete code that was causing the problem was removed.
8926
8927Found and fixed a problem in the Field Support Code where data could be 
8928corrupted on a bit field read that starts on an aligned boundary but does 
8929not end on an aligned boundary.  Merged the read/write "datum length" 
8930calculation code into a common procedure.
8931
8932Rolled in a couple of changes to the FreeBSD-specific header.
8933
8934
8935Code and Data Size: Current and previous core subsystem library sizes are 
8936shown below.  These are the code and data sizes for the acpica.lib 
8937produced 
8938by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8939any ACPI driver or OSPM code.  The debug version of the code includes the 
8940debug output trace mechanism and has a much larger code and data size.  
8941Note 
8942that these values will vary depending on the efficiency of the compiler 
8943and 
8944the compiler options used during generation.
8945
8946  Previous Release:
8947    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
8948    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
8949  Current Release:
8950    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
8951    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
8952
8953
89542) iASL Compiler/Disassembler:
8955
8956Fixed a generation warning produced by some overly-verbose compilers for a 
895764-bit constant.
8958
8959----------------------------------------
896014 May 2004.  Summary of changes for version 20040514:
8961
89621) ACPI CA Core Subsystem:
8963
8964Fixed a problem where hardware GPE enable bits sometimes not set properly 
8965during and after GPE method execution.  Result of 04/27 changes.
8966
8967Removed extra "clear all GPEs" when sleeping/waking.
8968
8969Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
8970AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
8971to 
8972the new AcpiEv* calls as appropriate.
8973
8974ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
8975is 
8976now "Microsoft Windows NT" for maximum compatibility.  However this can be 
8977changed by modifying the acconfig.h file.
8978
8979Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
8980traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
8981
8982Run _INI methods on ThermalZone objects.  This is against the ACPI 
8983specification, but there is apparently ASL code in the field that has 
8984these 
8985_INI methods, and apparently "other" AML interpreters execute them.
8986
8987Performed a full 16/32/64 bit lint that resulted in some small changes.
8988
8989Added a sleep simulation command to the AML debugger to test sleep code. 
8990
8991Code and Data Size: Current and previous core subsystem library sizes are 
8992shown below.  These are the code and data sizes for the acpica.lib 
8993produced 
8994by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8995any ACPI driver or OSPM code.  The debug version of the code includes the 
8996debug output trace mechanism and has a much larger code and data size.  
8997Note 
8998that these values will vary depending on the efficiency of the compiler 
8999and 
9000the compiler options used during generation.
9001
9002  Previous Release:
9003    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9004    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
9005  Current Release:
9006    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9007    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
9008
9009----------------------------------------
901027 April 2004.  Summary of changes for version 20040427:
9011
90121) ACPI CA Core Subsystem:
9013
9014Completed a major overhaul of the GPE handling within ACPI CA.  There are 
9015now three types of GPEs:  wake-only, runtime-only, and combination 
9016wake/run.  
9017The only GPEs allowed to be combination wake/run are for button-style 
9018devices such as a control-method power button, control-method sleep 
9019button, 
9020or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
9021not 
9022referenced by any _PRW methods are marked for "runtime" and hardware 
9023enabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
9024(and disabled at runtime).  However, at sleep time, only those GPEs that 
9025have been specifically enabled for wake via the AcpiEnableGpe interface 
9026will 
9027actually be hardware enabled.
9028
9029A new external interface has been added, AcpiSetGpeType(), that is meant 
9030to 
9031be used by device drivers to force a GPE to a particular type.  It will be 
9032especially useful for the drivers for the button devices mentioned above.
9033
9034Completed restructuring of the ACPI CA initialization sequence so that 
9035default operation region handlers are installed before GPEs are 
9036initialized 
9037and the _PRW methods are executed.  This will prevent errors when the _PRW 
9038methods attempt to access system memory or I/O space.
9039
9040GPE enable/disable no longer reads the GPE enable register.  We now keep 
9041the 
9042enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
9043thus no longer depend on the hardware to maintain these bits.
9044
9045Always clear the wake status and fixed/GPE status bits before sleep, even 
9046for state S5.
9047
9048Improved the AML debugger output for displaying the GPE blocks and their 
9049current status.
9050
9051Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
9052where 
9053x = 0,1,2,3,4.
9054
9055Fixed a problem where the physical address was incorrectly calculated when 
9056the Load() operator was used to directly load from an Operation Region 
9057(vs. 
9058loading from a Field object.)  Also added check for minimum table length 
9059for 
9060this case.
9061
9062Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
9063mutex release.
9064
9065Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
9066consistency with the other fields returned.
9067
9068Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
9069structure for each GPE in the system, so the size of this structure is 
9070important.
9071
9072CPU stack requirement reduction:  Cleaned up the method execution and 
9073object 
9074evaluation paths so that now a parameter structure is passed, instead of 
9075copying the various method parameters over and over again.
9076
9077In evregion.c:  Correctly exit and reenter the interpreter region if and 
9078only if dispatching an operation region request to a user-installed 
9079handler.  
9080Do not exit/reenter when dispatching to a default handler (e.g., default 
9081system memory or I/O handlers)
9082
9083
9084Notes for updating drivers for the new GPE support.  The following changes 
9085must be made to ACPI-related device drivers that are attached to one or 
9086more 
9087GPEs: (This information will be added to the ACPI CA Programmer 
9088Reference.)
9089
90901) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
9091explicitly call AcpiEnableGpe.
90922) There is a new interface called AcpiSetGpeType. This should be called 
9093before enabling the GPE.  Also, this interface will automatically disable 
9094the GPE if it is currently enabled.
90953) AcpiEnableGpe no longer supports a GPE type flag.
9096
9097Specific drivers that must be changed:
90981) EC driver:
9099    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
9100AeGpeHandler, NULL);
9101    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
9102    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
9103
91042) Button Drivers (Power, Lid, Sleep):
9105Run _PRW method under parent device
9106If _PRW exists: /* This is a control-method button */
9107    Extract GPE number and possibly GpeDevice
9108    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
9109    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
9110
9111For all other devices that have _PRWs, we automatically set the GPE type 
9112to 
9113ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
9114must be done on a selective basis, usually requiring some kind of user app 
9115to allow the user to pick the wake devices.
9116
9117
9118Code and Data Size: Current and previous core subsystem library sizes are 
9119shown below.  These are the code and data sizes for the acpica.lib 
9120produced 
9121by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9122any ACPI driver or OSPM code.  The debug version of the code includes the 
9123debug output trace mechanism and has a much larger code and data size.  
9124Note 
9125that these values will vary depending on the efficiency of the compiler 
9126and 
9127the compiler options used during generation.
9128
9129  Previous Release:
9130    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
9131    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
9132  Current Release:
9133
9134    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9135    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
9136
9137
9138
9139----------------------------------------
914002 April 2004.  Summary of changes for version 20040402:
9141
91421) ACPI CA Core Subsystem:
9143
9144Fixed an interpreter problem where an indirect store through an ArgX 
9145parameter was incorrectly applying the "implicit conversion rules" during 
9146the store.  From the ACPI specification: "If the target is a method local 
9147or 
9148argument (LocalX or ArgX), no conversion is performed and the result is 
9149stored directly to the target".  The new behavior is to disable implicit 
9150conversion during ALL stores to an ArgX.
9151
9152Changed the behavior of the _PRW method scan to ignore any and all errors 
9153returned by a given _PRW.  This prevents the scan from aborting from the 
9154failure of any single _PRW.
9155
9156Moved the runtime configuration parameters from the global init procedure 
9157to 
9158static variables in acglobal.h.  This will allow the host to override the 
9159default values easily.
9160
9161Code and Data Size: Current and previous core subsystem library sizes are 
9162shown below.  These are the code and data sizes for the acpica.lib 
9163produced 
9164by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9165any ACPI driver or OSPM code.  The debug version of the code includes the 
9166debug output trace mechanism and has a much larger code and data size.  
9167Note 
9168that these values will vary depending on the efficiency of the compiler 
9169and 
9170the compiler options used during generation.
9171
9172  Previous Release:
9173    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
9174    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
9175  Current Release:
9176    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
9177    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
9178
9179
91802) iASL Compiler/Disassembler:
9181
9182iASL now fully disassembles SSDTs.  However, External() statements are not 
9183generated automatically for unresolved symbols at this time.  This is a 
9184planned feature for future implementation.
9185
9186Fixed a scoping problem in the disassembler that occurs when the type of 
9187the 
9188target of a Scope() operator is overridden.  This problem caused an 
9189incorrectly nested internal namespace to be constructed.
9190
9191Any warnings or errors that are emitted during disassembly are now 
9192commented 
9193out automatically so that the resulting file can be recompiled without any 
9194hand editing.
9195
9196----------------------------------------
919726 March 2004.  Summary of changes for version 20040326:
9198
91991) ACPI CA Core Subsystem:
9200
9201Implemented support for "wake" GPEs via interaction between GPEs and the 
9202_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
9203identified as a WAKE GPE and by default will no longer be enabled at 
9204runtime.  Previously, we were blindly enabling all GPEs with a 
9205corresponding 
9206_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
9207We 
9208believe this has been the cause of thousands of "spurious" GPEs on some 
9209systems.
9210
9211This new GPE behavior is can be reverted to the original behavior (enable 
9212ALL GPEs at runtime) via a runtime flag.
9213
9214Fixed a problem where aliased control methods could not access objects 
9215properly.  The proper scope within the namespace was not initialized 
9216(transferred to the target of the aliased method) before executing the 
9217target method.
9218
9219Fixed a potential race condition on internal object deletion on the return 
9220object in AcpiEvaluateObject. 
9221
9222Integrated a fix for resource descriptors where both _MEM and _MTP were 
9223being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
9224wide, 0x0F instead of 0x03.)
9225
9226Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing 
9227a 
9228fault in some cases.
9229
9230Updated Notify() values for debug statements in evmisc.c
9231
9232Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
9233
9234Code and Data Size: Current and previous core subsystem library sizes are 
9235shown below.  These are the code and data sizes for the acpica.lib 
9236produced 
9237by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9238any ACPI driver or OSPM code.  The debug version of the code includes the 
9239debug output trace mechanism and has a much larger code and data size.  
9240Note 
9241that these values will vary depending on the efficiency of the compiler 
9242and 
9243the compiler options used during generation.
9244
9245  Previous Release:
9246
9247    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
9248    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
9249  Current Release:
9250    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
9251    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
9252
9253----------------------------------------
925411 March 2004.  Summary of changes for version 20040311:
9255
92561) ACPI CA Core Subsystem:
9257
9258Fixed a problem where errors occurring during the parse phase of control 
9259method execution did not abort cleanly.  For example, objects created and 
9260installed in the namespace were not deleted.  This caused all subsequent 
9261invocations of the method to return the AE_ALREADY_EXISTS exception.
9262
9263Implemented a mechanism to force a control method to "Serialized" 
9264execution 
9265if the method attempts to create namespace objects. (The root of the 
9266AE_ALREADY_EXISTS problem.)
9267
9268Implemented support for the predefined _OSI "internal" control method.  
9269Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
9270"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
9271This feature will allow "other" operating systems to execute the fully 
9272tested, "Windows" code path through the ASL code
9273
9274Global Lock Support:  Now allows multiple acquires and releases with any 
9275internal thread.  Removed concept of "owning thread" for this special 
9276mutex.
9277
9278Fixed two functions that were inappropriately declaring large objects on 
9279the 
9280CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
9281during 
9282method execution considerably.
9283
9284Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
9285S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
9286
9287Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
9288defined on the machine.
9289
9290Implemented two runtime options:  One to force all control method 
9291execution 
9292to "Serialized" to mimic Windows behavior, another to disable _OSI support 
9293if it causes problems on a given machine.
9294
9295Code and Data Size: Current and previous core subsystem library sizes are 
9296shown below.  These are the code and data sizes for the acpica.lib 
9297produced 
9298by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9299any ACPI driver or OSPM code.  The debug version of the code includes the 
9300debug output trace mechanism and has a much larger code and data size.  
9301Note 
9302that these values will vary depending on the efficiency of the compiler 
9303and 
9304the compiler options used during generation.
9305
9306  Previous Release:
9307    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
9308    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
9309  Current Release:
9310    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
9311    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
9312
93132) iASL Compiler/Disassembler:
9314
9315Fixed an array size problem for FreeBSD that would cause the compiler to 
9316fault.
9317
9318----------------------------------------
931920 February 2004.  Summary of changes for version 20040220:
9320
9321
93221) ACPI CA Core Subsystem:
9323
9324Implemented execution of _SxD methods for Device objects in the 
9325GetObjectInfo interface.
9326
9327Fixed calls to _SST method to pass the correct arguments.
9328
9329Added a call to _SST on wake to restore to "working" state.
9330
9331Check for End-Of-Buffer failure case in the WalkResources interface.
9332
9333Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
9334structures to the beginning of the file.
9335
9336After wake, clear GPE status register(s) before enabling GPEs.
9337
9338After wake, clear/enable power button.  (Perhaps we should clear/enable 
9339all 
9340fixed events upon wake.)
9341
9342Fixed a couple of possible memory leaks in the Namespace manager.
9343
9344Integrated latest acnetbsd.h file.
9345
9346----------------------------------------
934711 February 2004.  Summary of changes for version 20040211:
9348
9349
93501) ACPI CA Core Subsystem:
9351
9352Completed investigation and implementation of the call-by-reference 
9353mechanism for control method arguments.
9354
9355Fixed a problem where a store of an object into an indexed package could 
9356fail if the store occurs within a different method than the method that 
9357created the package.
9358
9359Fixed a problem where the ToDecimal operator could return incorrect 
9360results.
9361
9362Fixed a problem where the CopyObject operator could fail on some of the 
9363more 
9364obscure objects (e.g., Reference objects.)
9365
9366Improved the output of the Debug object to display buffer, package, and 
9367index objects.
9368
9369Fixed a problem where constructs of the form "RefOf (ArgX)" did not return 
9370the expected result.
9371
9372Added permanent ACPI_REPORT_ERROR macros for all instances of the 
9373ACPI_AML_INTERNAL exception.
9374
9375Integrated latest version of acfreebsd.h
9376
9377----------------------------------------
937816 January 2004.  Summary of changes for version 20040116:
9379
9380The purpose of this release is primarily to update the copyright years in 
9381each module, thus causing a huge number of diffs.  There are a few small 
9382functional changes, however.
9383
93841) ACPI CA Core Subsystem:
9385
9386Improved error messages when there is a problem finding one or more of the 
9387required base ACPI tables
9388
9389Reintroduced the definition of APIC_HEADER in actbl.h
9390
9391Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
9392
9393Removed extraneous reference to NewObj in dsmthdat.c
9394
93952) iASL compiler
9396
9397Fixed a problem introduced in December that disabled the correct 
9398disassembly 
9399of Resource Templates
9400
9401
9402----------------------------------------
940303 December 2003.  Summary of changes for version 20031203:
9404
94051) ACPI CA Core Subsystem:
9406
9407Changed the initialization of Operation Regions during subsystem
9408init to perform two entire walks of the ACPI namespace; The first
9409to initialize the regions themselves, the second to execute the
9410_REG methods.  This fixed some interdependencies across _REG
9411methods found on some machines.
9412
9413Fixed a problem where a Store(Local0, Local1) could simply update
9414the object reference count, and not create a new copy of the
9415object if the Local1 is uninitialized.
9416
9417Implemented support for the _SST reserved method during sleep
9418transitions.
9419
9420Implemented support to clear the SLP_TYP and SLP_EN bits when
9421waking up, this is apparently required by some machines.
9422
9423When sleeping, clear the wake status only if SleepState is not S5.
9424
9425Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
9426pointer arithmetic advanced a string pointer too far.
9427
9428Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
9429could be returned if the requested table has not been loaded.
9430
9431Within the support for IRQ resources, restructured the handling of
9432the active and edge/level bits.
9433
9434Fixed a few problems in AcpiPsxExecute() where memory could be
9435leaked under certain error conditions.
9436
9437Improved error messages for the cases where the ACPI mode could
9438not be entered.
9439
9440Code and Data Size: Current and previous core subsystem library
9441sizes are shown below.  These are the code and data sizes for the
9442acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9443these values do not include any ACPI driver or OSPM code.  The
9444debug version of the code includes the debug output trace
9445mechanism and has a much larger code and data size.  Note that
9446these values will vary depending on the efficiency of the compiler
9447and the compiler options used during generation.
9448
9449  Previous Release (20031029):
9450    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
9451    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
9452  Current Release:
9453    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
9454    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
9455
94562) iASL Compiler/Disassembler:
9457
9458Implemented a fix for the iASL disassembler where a bad index was
9459generated.  This was most noticeable on 64-bit platforms
9460
9461
9462----------------------------------------
946329 October 2003.  Summary of changes for version 20031029:
9464
94651) ACPI CA Core Subsystem:
9466
9467
9468Fixed a problem where a level-triggered GPE with an associated
9469_Lxx control method was incorrectly cleared twice.
9470
9471Fixed a problem with the Field support code where an access can
9472occur beyond the end-of-region if the field is non-aligned but
9473extends to the very end of the parent region (resulted in an
9474AE_AML_REGION_LIMIT exception.)
9475
9476Fixed a problem with ACPI Fixed Events where an RT Clock handler
9477would not get invoked on an RTC event.  The RTC event bitmasks for
9478the PM1 registers were not being initialized properly.
9479
9480Implemented support for executing _STA and _INI methods for
9481Processor objects.  Although this is currently not part of the
9482ACPI specification, there is existing ASL code that depends on the
9483init-time execution of these methods.
9484
9485Implemented and deployed a GetDescriptorName function to decode
9486the various types of internal descriptors.  Guards against null
9487descriptors during debug output also.
9488
9489Implemented and deployed a GetNodeName function to extract the 4-
9490character namespace node name.  This function simplifies the debug
9491and error output, as well as guarding against null pointers during
9492output.
9493
9494Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
9495simplify the debug and error output of 64-bit integers.  This
9496macro replaces the HIDWORD and LODWORD macros for dumping these
9497integers.
9498
9499Updated the implementation of the Stall() operator to only call
9500AcpiOsStall(), and also return an error if the operand is larger
9501than 255.  This preserves the required behavior of not
9502relinquishing the processor, as would happen if AcpiOsSleep() was
9503called for "long stalls".
9504
9505Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
9506initialized are now treated as NOOPs.
9507
9508Cleaned up a handful of warnings during 64-bit generation.
9509
9510Fixed a reported error where and incorrect GPE number was passed
9511to the GPE dispatch handler.  This value is only used for error
9512output, however.  Used this opportunity to clean up and streamline
9513the GPE dispatch code.
9514
9515Code and Data Size: Current and previous core subsystem library
9516sizes are shown below.  These are the code and data sizes for the
9517acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9518these values do not include any ACPI driver or OSPM code.  The
9519
9520debug version of the code includes the debug output trace
9521mechanism and has a much larger code and data size.  Note that
9522these values will vary depending on the efficiency of the compiler
9523and the compiler options used during generation.
9524
9525  Previous Release (20031002):
9526    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
9527    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
9528  Current Release:
9529    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
9530    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
9531
9532
95332) iASL Compiler/Disassembler:
9534
9535Updated the iASL compiler to return an error if the operand to the
9536Stall() operator is larger than 255.
9537
9538
9539----------------------------------------
954002 October 2003.  Summary of changes for version 20031002:
9541
9542
95431) ACPI CA Core Subsystem:
9544
9545Fixed a problem with Index Fields where the index was not
9546incremented for fields that require multiple writes to the
9547index/data registers (Fields that are wider than the data
9548register.)
9549
9550Fixed a problem with all Field objects where a write could go
9551beyond the end-of-field if the field was larger than the access
9552granularity and therefore required multiple writes to complete the
9553request.  An extra write beyond the end of the field could happen
9554inadvertently.
9555
9556Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
9557would incorrectly be returned if the width of the Data Register
9558was larger than the specified field access width.
9559
9560Completed fixes for LoadTable() and Unload() and verified their
9561operation.  Implemented full support for the "DdbHandle" object
9562throughout the ACPI CA subsystem.
9563
9564Implemented full support for the MADT and ECDT tables in the ACPI
9565CA header files.  Even though these tables are not directly
9566consumed by ACPI CA, the header definitions are useful for ACPI
9567device drivers.
9568
9569Integrated resource descriptor fixes posted to the Linux ACPI
9570list.  This included checks for minimum descriptor length, and
9571support for trailing NULL strings within descriptors that have
9572optional string elements.
9573
9574Code and Data Size: Current and previous core subsystem library
9575sizes are shown below.  These are the code and data sizes for the
9576acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9577these values do not include any ACPI driver or OSPM code.  The
9578debug version of the code includes the debug output trace
9579mechanism and has a much larger code and data size.  Note that
9580these values will vary depending on the efficiency of the compiler
9581and the compiler options used during generation.
9582
9583  Previous Release (20030918):
9584    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
9585    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
9586  Current Release:
9587    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
9588    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
9589
9590
95912) iASL Compiler:
9592
9593Implemented detection of non-ASCII characters within the input
9594source ASL file.  This catches attempts to compile binary (AML)
9595files early in the compile, with an informative error message.
9596
9597Fixed a problem where the disassembler would fault if the output
9598filename could not be generated or if the output file could not be
9599opened.
9600
9601----------------------------------------
960218 September 2003.  Summary of changes for version 20030918:
9603
9604
96051) ACPI CA Core Subsystem:
9606
9607Found and fixed a longstanding problem with the late execution of
9608the various deferred AML opcodes (such as Operation Regions,
9609Buffer Fields, Buffers, and Packages).  If the name string
9610specified for the name of the new object placed the object in a
9611scope other than the current scope, the initialization/execution
9612of the opcode failed.  The solution to this problem was to
9613implement a mechanism where the late execution of such opcodes
9614does not attempt to lookup/create the name a second time in an
9615incorrect scope.  This fixes the "region size computed
9616incorrectly" problem.
9617
9618Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
9619Global Lock AE_BAD_PARAMETER error.
9620
9621Fixed several 64-bit issues with prototypes, casting and data
9622types.
9623
9624Removed duplicate prototype from acdisasm.h
9625
9626Fixed an issue involving EC Operation Region Detach (Shaohua Li)
9627
9628Code and Data Size: Current and previous core subsystem library
9629sizes are shown below.  These are the code and data sizes for the
9630acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9631these values do not include any ACPI driver or OSPM code.  The
9632debug version of the code includes the debug output trace
9633mechanism and has a much larger code and data size.  Note that
9634these values will vary depending on the efficiency of the compiler
9635and the compiler options used during generation.
9636
9637  Previous Release:
9638
9639    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
9640    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
9641  Current Release:
9642    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
9643    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
9644
9645
96462) Linux:
9647
9648Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
9649correct sleep time in seconds.
9650
9651----------------------------------------
965214 July 2003.  Summary of changes for version 20030619:
9653
96541) ACPI CA Core Subsystem:
9655
9656Parse SSDTs in order discovered, as opposed to reverse order
9657(Hrvoje Habjanic)
9658
9659Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
9660Klausner,
9661   Nate Lawson)
9662
9663
96642) Linux:
9665
9666Dynamically allocate SDT list (suggested by Andi Kleen)
9667
9668proc function return value cleanups (Andi Kleen)
9669
9670Correctly handle NMI watchdog during long stalls (Andrew Morton)
9671
9672Make it so acpismp=force works (reported by Andrew Morton)
9673
9674
9675----------------------------------------
967619 June 2003.  Summary of changes for version 20030619:
9677
96781) ACPI CA Core Subsystem:
9679
9680Fix To/FromBCD, eliminating the need for an arch-specific #define.
9681
9682Do not acquire a semaphore in the S5 shutdown path.
9683
9684Fix ex_digits_needed for 0. (Takayoshi Kochi)
9685
9686Fix sleep/stall code reversal. (Andi Kleen)
9687
9688Revert a change having to do with control method calling
9689semantics.
9690
96912) Linux:
9692
9693acpiphp update (Takayoshi Kochi)
9694
9695Export acpi_disabled for sonypi (Stelian Pop)
9696
9697Mention acpismp=force in config help
9698
9699Re-add acpitable.c and acpismp=force. This improves backwards
9700
9701compatibility and also cleans up the code to a significant degree.
9702
9703Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
9704
9705----------------------------------------
970622 May 2003.  Summary of changes for version 20030522:
9707
97081) ACPI CA Core Subsystem:
9709
9710Found and fixed a reported problem where an AE_NOT_FOUND error
9711occurred occasionally during _BST evaluation.  This turned out to
9712be an Owner ID allocation issue where a called method did not get
9713a new ID assigned to it.  Eventually, (after 64k calls), the Owner
9714ID UINT16 would wraparound so that the ID would be the same as the
9715caller's and the called method would delete the caller's
9716namespace.
9717
9718Implemented extended error reporting for control methods that are
9719aborted due to a run-time exception.  Output includes the exact
9720AML instruction that caused the method abort, a dump of the method
9721locals and arguments at the time of the abort, and a trace of all
9722nested control method calls.
9723
9724Modified the interpreter to allow the creation of buffers of zero
9725length from the AML code. Implemented new code to ensure that no
9726attempt is made to actually allocate a memory buffer (of length
9727zero) - instead, a simple buffer object with a NULL buffer pointer
9728and length zero is created.  A warning is no longer issued when
9729the AML attempts to create a zero-length buffer.
9730
9731Implemented a workaround for the "leading asterisk issue" in
9732_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
9733asterisk is automatically removed if present in any HID, UID, or
9734CID strings.  The iASL compiler will still flag this asterisk as
9735an error, however.
9736
9737Implemented full support for _CID methods that return a package of
9738multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
9739now additionally returns a device _CID list if present.  This
9740required a change to the external interface in order to pass an
9741ACPI_BUFFER object as a parameter since the _CID list is of
9742variable length.
9743
9744Fixed a problem with the new AE_SAME_HANDLER exception where
9745handler initialization code did not know about this exception.
9746
9747Code and Data Size: Current and previous core subsystem library
9748sizes are shown below.  These are the code and data sizes for the
9749acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9750these values do not include any ACPI driver or OSPM code.  The
9751debug version of the code includes the debug output trace
9752mechanism and has a much larger code and data size.  Note that
9753these values will vary depending on the efficiency of the compiler
9754and the compiler options used during generation.
9755
9756  Previous Release (20030509):
9757    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
9758    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
9759  Current Release:
9760    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
9761    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
9762
9763
97642) Linux:
9765
9766Fixed a bug in which we would reinitialize the ACPI interrupt
9767after it was already working, thus disabling all ACPI and the IRQs
9768for any other device sharing the interrupt. (Thanks to Stian
9769Jordet)
9770
9771Toshiba driver update (John Belmonte)
9772
9773Return only 0 or 1 for our interrupt handler status (Andrew
9774Morton)
9775
9776
97773) iASL Compiler:
9778
9779Fixed a reported problem where multiple (nested) ElseIf()
9780statements were not handled correctly by the compiler, resulting
9781in incorrect warnings and incorrect AML code.  This was a problem
9782in both the ASL parser and the code generator.
9783
9784
97854) Documentation:
9786
9787Added changes to existing interfaces, new exception codes, and new
9788text concerning reference count object management versus garbage
9789collection.
9790
9791----------------------------------------
979209 May 2003.  Summary of changes for version 20030509.
9793
9794
97951) ACPI CA Core Subsystem:
9796
9797Changed the subsystem initialization sequence to hold off
9798installation of address space handlers until the hardware has been
9799initialized and the system has entered ACPI mode.  This is because
9800the installation of space handlers can cause _REG methods to be
9801run.  Previously, the _REG methods could potentially be run before
9802ACPI mode was enabled.
9803
9804Fixed some memory leak issues related to address space handler and
9805notify handler installation.  There were some problems with the
9806reference count mechanism caused by the fact that the handler
9807objects are shared across several namespace objects.
9808
9809Fixed a reported problem where reference counts within the
9810namespace were not properly updated when named objects created by
9811method execution were deleted.
9812
9813Fixed a reported problem where multiple SSDTs caused a deletion
9814issue during subsystem termination.  Restructured the table data
9815structures to simplify the linked lists and the related code.
9816
9817Fixed a problem where the table ID associated with secondary
9818tables (SSDTs) was not being propagated into the namespace objects
9819created by those tables.  This would only present a problem for
9820tables that are unloaded at run-time, however.
9821
9822Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
9823type as the length parameter (instead of UINT32).
9824
9825Solved a long-standing problem where an ALREADY_EXISTS error
9826appears on various systems.  This problem could happen when there
9827are multiple PCI_Config operation regions under a single PCI root
9828bus.  This doesn't happen very frequently, but there are some
9829systems that do this in the ASL.
9830
9831Fixed a reported problem where the internal DeleteNode function
9832was incorrectly handling the case where a namespace node was the
9833first in the parent's child list, and had additional peers (not
9834the only child, but first in the list of children.)
9835
9836Code and Data Size: Current core subsystem library sizes are shown
9837below.  These are the code and data sizes for the acpica.lib
9838produced by the Microsoft Visual C++ 6.0 compiler, and these
9839values do not include any ACPI driver or OSPM code.  The debug
9840version of the code includes the debug output trace mechanism and
9841has a much larger code and data size.  Note that these values will
9842vary depending on the efficiency of the compiler and the compiler
9843options used during generation.
9844
9845  Previous Release
9846    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
9847    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
9848  Current Release:
9849    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
9850    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
9851
9852
98532) Linux:
9854
9855Allow ":" in OS override string (Ducrot Bruno)
9856
9857Kobject fix (Greg KH)
9858
9859
98603 iASL Compiler/Disassembler:
9861
9862Fixed a problem in the generation of the C source code files (AML
9863is emitted in C source statements for BIOS inclusion) where the
9864Ascii dump that appears within a C comment at the end of each line
9865could cause a compile time error if the AML sequence happens to
9866have an open comment or close comment sequence embedded.
9867
9868
9869----------------------------------------
987024 April 2003.  Summary of changes for version 20030424.
9871
9872
98731) ACPI CA Core Subsystem:
9874
9875Support for big-endian systems has been implemented.  Most of the
9876support has been invisibly added behind big-endian versions of the
9877ACPI_MOVE_* macros.
9878
9879Fixed a problem in AcpiHwDisableGpeBlock() and
9880AcpiHwClearGpeBlock() where an incorrect offset was passed to the
9881low level hardware write routine.  The offset parameter was
9882actually eliminated from the low level read/write routines because
9883they had become obsolete.
9884
9885Fixed a problem where a handler object was deleted twice during
9886the removal of a fixed event handler.
9887
9888
98892) Linux:
9890
9891A fix for SMP systems with link devices was contributed by
9892
9893Compaq's Dan Zink.
9894
9895(2.5) Return whether we handled the interrupt in our IRQ handler.
9896(Linux ISRs no longer return void, so we can propagate the handler
9897return value from the ACPI CA core back to the OS.)
9898
9899
9900
99013) Documentation:
9902
9903The ACPI CA Programmer Reference has been updated to reflect new
9904interfaces and changes to existing interfaces.
9905
9906----------------------------------------
990728 March 2003.  Summary of changes for version 20030328.
9908
99091) ACPI CA Core Subsystem:
9910
9911The GPE Block Device support has been completed.  New interfaces
9912are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
9913interfaces (enable, disable, clear, getstatus) have been split
9914into separate interfaces for Fixed Events and General Purpose
9915Events (GPEs) in order to support GPE Block Devices properly.
9916
9917Fixed a problem where the error message "Failed to acquire
9918semaphore" would appear during operations on the embedded
9919controller (EC).
9920
9921Code and Data Size: Current core subsystem library sizes are shown
9922below.  These are the code and data sizes for the acpica.lib
9923produced by the Microsoft Visual C++ 6.0 compiler, and these
9924values do not include any ACPI driver or OSPM code.  The debug
9925version of the code includes the debug output trace mechanism and
9926has a much larger code and data size.  Note that these values will
9927vary depending on the efficiency of the compiler and the compiler
9928options used during generation.
9929
9930  Previous Release
9931    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
9932    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
9933  Current Release:
9934    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
9935    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
9936
9937
9938----------------------------------------
993928 February 2003.  Summary of changes for version 20030228.
9940
9941
99421) ACPI CA Core Subsystem:
9943
9944The GPE handling and dispatch code has been completely overhauled
9945in preparation for support of GPE Block Devices (ID ACPI0006).
9946This affects internal data structures and code only; there should
9947be no differences visible externally.  One new file has been
9948added, evgpeblk.c
9949
9950The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
9951fields that are used to determine the GPE block lengths.  The
9952REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
9953structures are ignored.  This is per the ACPI specification but it
9954isn't very clear.  The full 256 Block 0/1 GPEs are now supported
9955(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
9956
9957In the SCI interrupt handler, removed the read of the PM1_CONTROL
9958register to look at the SCI_EN bit.  On some machines, this read
9959causes an SMI event and greatly slows down SCI events.  (This may
9960in fact be the cause of slow battery status response on some
9961systems.)
9962
9963Fixed a problem where a store of a NULL string to a package object
9964could cause the premature deletion of the object.  This was seen
9965during execution of the battery _BIF method on some systems,
9966resulting in no battery data being returned.
9967
9968Added AcpiWalkResources interface to simplify parsing of resource
9969lists.
9970
9971Code and Data Size: Current core subsystem library sizes are shown
9972below.  These are the code and data sizes for the acpica.lib
9973produced by the Microsoft Visual C++ 6.0 compiler, and these
9974values do not include any ACPI driver or OSPM code.  The debug
9975version of the code includes the debug output trace mechanism and
9976has a much larger code and data size.  Note that these values will
9977vary depending on the efficiency of the compiler and the compiler
9978options used during generation.
9979
9980  Previous Release
9981    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
9982    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
9983  Current Release:
9984    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
9985    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
9986
9987
99882) Linux
9989
9990S3 fixes (Ole Rohne)
9991
9992Update ACPI PHP driver with to use new acpi_walk_resource API
9993(Bjorn Helgaas)
9994
9995Add S4BIOS support (Pavel Machek)
9996
9997Map in entire table before performing checksum (John Stultz)
9998
9999Expand the mem= cmdline to allow the specification of reserved and
10000ACPI DATA blocks (Pavel Machek)
10001
10002Never use ACPI on VISWS
10003
10004Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
10005
10006Revert a change that allowed P_BLK lengths to be 4 or 5. This is
10007causing us to think that some systems support C2 when they really
10008don't.
10009
10010Do not count processor objects for non-present CPUs (Thanks to
10011Dominik Brodowski)
10012
10013
100143) iASL Compiler:
10015
10016Fixed a problem where ASL include files could not be found and
10017opened.
10018
10019Added support for the _PDC reserved name.
10020
10021
10022----------------------------------------
1002322 January 2003.  Summary of changes for version 20030122.
10024
10025
100261) ACPI CA Core Subsystem:
10027
10028Added a check for constructs of the form:  Store (Local0, Local0)
10029where Local0 is not initialized.  Apparently, some BIOS
10030programmers believe that this is a NOOP.  Since this store doesn't
10031do anything anyway, the new prototype behavior will ignore this
10032error.  This is a case where we can relax the strict checking in
10033the interpreter in the name of compatibility.
10034
10035
100362) Linux
10037
10038The AcpiSrc Source Conversion Utility has been released with the
10039Linux package for the first time.  This is the utility that is
10040used to convert the ACPI CA base source code to the Linux version.
10041
10042(Both) Handle P_BLK lengths shorter than 6 more gracefully
10043
10044(Both) Move more headers to include/acpi, and delete an unused
10045header.
10046
10047(Both) Move drivers/acpi/include directory to include/acpi
10048
10049(Both) Boot functions don't use cmdline, so don't pass it around
10050
10051(Both) Remove include of unused header (Adrian Bunk)
10052
10053(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
10054the
10055former now also includes the latter, acpiphp.h only needs the one,
10056now.
10057
10058(2.5) Make it possible to select method of bios restoring after S3
10059resume. [=> no more ugly ifdefs] (Pavel Machek)
10060
10061(2.5) Make proc write interfaces work (Pavel Machek)
10062
10063(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
10064
10065(2.5) Break out ACPI Perf code into its own module, under cpufreq
10066(Dominik Brodowski)
10067
10068(2.4) S4BIOS support (Ducrot Bruno)
10069
10070(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
10071Visinoni)
10072
10073
100743) iASL Compiler:
10075
10076Added support to disassemble SSDT and PSDTs.
10077
10078Implemented support to obtain SSDTs from the Windows registry if
10079available.
10080
10081
10082----------------------------------------
1008309 January 2003.  Summary of changes for version 20030109.
10084
100851) ACPI CA Core Subsystem:
10086
10087Changed the behavior of the internal Buffer-to-String conversion
10088function.  The current ACPI specification states that the contents
10089of the buffer are "converted to a string of two-character
10090hexadecimal numbers, each separated by a space".  Unfortunately,
10091this definition is not backwards compatible with existing ACPI 1.0
10092implementations (although the behavior was not defined in the ACPI
100931.0 specification).  The new behavior simply copies data from the
10094buffer to the string until a null character is found or the end of
10095the buffer is reached.  The new String object is always null
10096terminated.  This problem was seen during the generation of _BIF
10097battery data where incorrect strings were returned for battery
10098type, etc.  This will also require an errata to the ACPI
10099specification.
10100
10101Renamed all instances of NATIVE_UINT and NATIVE_INT to
10102ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
10103
10104Copyright in all module headers (both Linux and non-Linux) has be
10105updated to 2003.
10106
10107Code and Data Size: Current core subsystem library sizes are shown
10108below.  These are the code and data sizes for the acpica.lib
10109produced by the Microsoft Visual C++ 6.0 compiler, and these
10110values do not include any ACPI driver or OSPM code.  The debug
10111version of the code includes the debug output trace mechanism and
10112has a much larger code and data size.  Note that these values will
10113vary depending on the efficiency of the compiler and the compiler
10114options used during generation.
10115
10116  Previous Release
10117    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10118    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10119  Current Release:
10120    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10121    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10122
10123
101242) Linux
10125
10126Fixed an oops on module insertion/removal (Matthew Tippett)
10127
10128(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
10129
10130(2.5) Replace pr_debug (Randy Dunlap)
10131
10132(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
10133
10134(Both) Eliminate spawning of thread from timer callback, in favor
10135of schedule_work()
10136
10137(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
10138
10139(Both) Added define for Fixed Function HW region (Matthew Wilcox)
10140
10141(Both) Add missing statics to button.c (Pavel Machek)
10142
10143Several changes have been made to the source code translation
10144utility that generates the Linux Code in order to make the code
10145more "Linux-like":
10146
10147All typedefs on structs and unions have been removed in keeping
10148with the Linux coding style.
10149
10150Removed the non-Linux SourceSafe module revision number from each
10151module header.
10152
10153Completed major overhaul of symbols to be lowercased for linux.
10154Doubled the number of symbols that are lowercased.
10155
10156Fixed a problem where identifiers within procedure headers and
10157within quotes were not fully lower cased (they were left with a
10158starting capital.)
10159
10160Some C macros whose only purpose is to allow the generation of 16-
10161bit code are now completely removed in the Linux code, increasing
10162readability and maintainability.
10163
10164----------------------------------------
10165
1016612 December 2002.  Summary of changes for version 20021212.
10167
10168
101691) ACPI CA Core Subsystem:
10170
10171Fixed a problem where the creation of a zero-length AML Buffer
10172would cause a fault.
10173
10174Fixed a problem where a Buffer object that pointed to a static AML
10175buffer (in an ACPI table) could inadvertently be deleted, causing
10176memory corruption.
10177
10178Fixed a problem where a user buffer (passed in to the external
10179ACPI CA interfaces) could be overwritten if the buffer was too
10180small to complete the operation, causing memory corruption.
10181
10182Fixed a problem in the Buffer-to-String conversion code where a
10183string of length one was always returned, regardless of the size
10184of the input Buffer object.
10185
10186Removed the NATIVE_CHAR data type across the entire source due to
10187lack of need and lack of consistent use.
10188
10189Code and Data Size: Current core subsystem library sizes are shown
10190below.  These are the code and data sizes for the acpica.lib
10191produced by the Microsoft Visual C++ 6.0 compiler, and these
10192values do not include any ACPI driver or OSPM code.  The debug
10193version of the code includes the debug output trace mechanism and
10194has a much larger code and data size.  Note that these values will
10195vary depending on the efficiency of the compiler and the compiler
10196options used during generation.
10197
10198  Previous Release
10199    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
10200    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
10201  Current Release:
10202    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10203    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10204
10205
10206----------------------------------------
1020705 December 2002.  Summary of changes for version 20021205.
10208
102091) ACPI CA Core Subsystem:
10210
10211Fixed a problem where a store to a String or Buffer object could
10212cause corruption of the DSDT if the object type being stored was
10213the same as the target object type and the length of the object
10214being stored was equal to or smaller than the original (existing)
10215target object.  This was seen to cause corruption of battery _BIF
10216buffers if the _BIF method modified the buffer on the fly.
10217
10218Fixed a problem where an internal error was generated if a control
10219method invocation was used in an OperationRegion, Buffer, or
10220Package declaration.  This was caused by the deferred parsing of
10221the control method and thus the deferred creation of the internal
10222method object.  The solution to this problem was to create the
10223internal method object at the moment the method is encountered in
10224the first pass - so that subsequent references to the method will
10225able to obtain the required parameter count and thus properly
10226parse the method invocation.  This problem presented itself as an
10227AE_AML_INTERNAL during the pass 1 parse phase during table load.
10228
10229Fixed a problem where the internal String object copy routine did
10230not always allocate sufficient memory for the target String object
10231and caused memory corruption.  This problem was seen to cause
10232"Allocation already present in list!" errors as memory allocation
10233became corrupted.
10234
10235Implemented a new function for the evaluation of namespace objects
10236that allows the specification of the allowable return object
10237types.  This simplifies a lot of code that checks for a return
10238object of one or more specific objects returned from the
10239evaluation (such as _STA, etc.)  This may become and external
10240function if it would be useful to ACPI-related drivers.
10241
10242Completed another round of prefixing #defines with "ACPI_" for
10243clarity.
10244
10245Completed additional code restructuring to allow more modular
10246linking for iASL compiler and AcpiExec.  Several files were split
10247creating new files.  New files:  nsparse.c dsinit.c evgpe.c
10248
10249Implemented an abort mechanism to terminate an executing control
10250method via the AML debugger.  This feature is useful for debugging
10251control methods that depend (wait) for specific hardware
10252responses.
10253
10254Code and Data Size: Current core subsystem library sizes are shown
10255below.  These are the code and data sizes for the acpica.lib
10256produced by the Microsoft Visual C++ 6.0 compiler, and these
10257values do not include any ACPI driver or OSPM code.  The debug
10258version of the code includes the debug output trace mechanism and
10259has a much larger code and data size.  Note that these values will
10260vary depending on the efficiency of the compiler and the compiler
10261options used during generation.
10262
10263  Previous Release
10264    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10265    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
10266  Current Release:
10267    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
10268    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
10269
10270
102712) iASL Compiler/Disassembler
10272
10273Fixed a compiler code generation problem for "Interrupt" Resource
10274Descriptors.  If specified in the ASL, the optional "Resource
10275Source Index" and "Resource Source" fields were not inserted into
10276the correct location within the AML resource descriptor, creating
10277an invalid descriptor.
10278
10279Fixed a disassembler problem for "Interrupt" resource descriptors.
10280The optional "Resource Source Index" and "Resource Source" fields
10281were ignored.
10282
10283
10284----------------------------------------
1028522 November 2002.  Summary of changes for version 20021122.
10286
10287
102881) ACPI CA Core Subsystem:
10289
10290Fixed a reported problem where an object stored to a Method Local
10291or Arg was not copied to a new object during the store - the
10292object pointer was simply copied to the Local/Arg.  This caused
10293all subsequent operations on the Local/Arg to also affect the
10294original source of the store operation.
10295
10296Fixed a problem where a store operation to a Method Local or Arg
10297was not completed properly if the Local/Arg contained a reference
10298(from RefOf) to a named field.  The general-purpose store-to-
10299namespace-node code is now used so that this case is handled
10300automatically.
10301
10302Fixed a problem where the internal object copy routine would cause
10303a protection fault if the object being copied was a Package and
10304contained either 1) a NULL package element or 2) a nested sub-
10305package.
10306
10307Fixed a problem with the GPE initialization that resulted from an
10308ambiguity in the ACPI specification.  One section of the
10309specification states that both the address and length of the GPE
10310block must be zero if the block is not supported.  Another section
10311implies that only the address need be zero if the block is not
10312supported.  The code has been changed so that both the address and
10313the length must be non-zero to indicate a valid GPE block (i.e.,
10314if either the address or the length is zero, the GPE block is
10315invalid.)
10316
10317Code and Data Size: Current core subsystem library sizes are shown
10318below.  These are the code and data sizes for the acpica.lib
10319produced by the Microsoft Visual C++ 6.0 compiler, and these
10320values do not include any ACPI driver or OSPM code.  The debug
10321version of the code includes the debug output trace mechanism and
10322has a much larger code and data size.  Note that these values will
10323vary depending on the efficiency of the compiler and the compiler
10324options used during generation.
10325
10326  Previous Release
10327    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
10328    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
10329  Current Release:
10330    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10331    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
10332
10333
103342) Linux
10335
10336Cleaned up EC driver. Exported an external EC read/write
10337interface. By going through this, other drivers (most notably
10338sonypi) will be able to serialize access to the EC.
10339
10340
103413) iASL Compiler/Disassembler
10342
10343Implemented support to optionally generate include files for both
10344ASM and C (the -i switch).  This simplifies BIOS development by
10345automatically creating include files that contain external
10346declarations for the symbols that are created within the
10347
10348(optionally generated) ASM and C AML source files.
10349
10350
10351----------------------------------------
1035215 November 2002.  Summary of changes for version 20021115.
10353
103541) ACPI CA Core Subsystem:
10355
10356Fixed a memory leak problem where an error during resolution of
10357
10358method arguments during a method invocation from another method
10359failed to cleanup properly by deleting all successfully resolved
10360argument objects.
10361
10362Fixed a problem where the target of the Index() operator was not
10363correctly constructed if the source object was a package.  This
10364problem has not been detected because the use of a target operand
10365with Index() is very rare.
10366
10367Fixed a problem with the Index() operator where an attempt was
10368made to delete the operand objects twice.
10369
10370Fixed a problem where an attempt was made to delete an operand
10371twice during execution of the CondRefOf() operator if the target
10372did not exist.
10373
10374Implemented the first of perhaps several internal create object
10375functions that create and initialize a specific object type.  This
10376consolidates duplicated code wherever the object is created, thus
10377shrinking the size of the subsystem.
10378
10379Implemented improved debug/error messages for errors that occur
10380during nested method invocations.  All executing method pathnames
10381are displayed (with the error) as the call stack is unwound - thus
10382simplifying debug.
10383
10384Fixed a problem introduced in the 10/02 release that caused
10385premature deletion of a buffer object if a buffer was used as an
10386ASL operand where an integer operand is required (Thus causing an
10387implicit object conversion from Buffer to Integer.)  The change in
10388the 10/02 release was attempting to fix a memory leak (albeit
10389incorrectly.)
10390
10391Code and Data Size: Current core subsystem library sizes are shown
10392below.  These are the code and data sizes for the acpica.lib
10393produced by the Microsoft Visual C++ 6.0 compiler, and these
10394values do not include any ACPI driver or OSPM code.  The debug
10395version of the code includes the debug output trace mechanism and
10396has a much larger code and data size.  Note that these values will
10397vary depending on the efficiency of the compiler and the compiler
10398options used during generation.
10399
10400  Previous Release
10401    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
10402    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
10403  Current Release:
10404    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
10405    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
10406
10407
104082) Linux
10409
10410Changed the implementation of the ACPI semaphores to use down()
10411instead of down_interruptable().  It is important that the
10412execution of ACPI control methods not be interrupted by signals.
10413Methods must run to completion, or the system may be left in an
10414unknown/unstable state.
10415
10416Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
10417(Shawn Starr)
10418
10419
104203) iASL Compiler/Disassembler
10421
10422
10423Changed the default location of output files.  All output files
10424are now placed in the current directory by default instead of in
10425the directory of the source file.  This change may affect some
10426existing makefiles, but it brings the behavior of the compiler in
10427line with other similar tools.  The location of the output files
10428can be overridden with the -p command line switch.
10429
10430
10431----------------------------------------
1043211 November 2002.  Summary of changes for version 20021111.
10433
10434
104350) ACPI Specification 2.0B is released and is now available at:
10436http://www.acpi.info/index.html
10437
10438
104391) ACPI CA Core Subsystem:
10440
10441Implemented support for the ACPI 2.0 SMBus Operation Regions.
10442This includes the early detection and handoff of the request to
10443the SMBus region handler (avoiding all of the complex field
10444support code), and support for the bidirectional return packet
10445from an SMBus write operation.  This paves the way for the
10446development of SMBus drivers in each host operating system.
10447
10448Fixed a problem where the semaphore WAIT_FOREVER constant was
10449defined as 32 bits, but must be 16 bits according to the ACPI
10450specification.  This had the side effect of causing ASL
10451Mutex/Event timeouts even though the ASL code requested a wait
10452forever.  Changed all internal references to the ACPI timeout
10453parameter to 16 bits to prevent future problems.  Changed the name
10454of WAIT_FOREVER to ACPI_WAIT_FOREVER.
10455
10456Code and Data Size: Current core subsystem library sizes are shown
10457below.  These are the code and data sizes for the acpica.lib
10458produced by the Microsoft Visual C++ 6.0 compiler, and these
10459values do not include any ACPI driver or OSPM code.  The debug
10460version of the code includes the debug output trace mechanism and
10461has a much larger code and data size.  Note that these values will
10462vary depending on the efficiency of the compiler and the compiler
10463options used during generation.
10464
10465  Previous Release
10466    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10467    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
10468  Current Release:
10469    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
10470    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
10471
10472
104732) Linux
10474
10475Module loading/unloading fixes (John Cagle)
10476
10477
104783) iASL Compiler/Disassembler
10479
10480Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
10481
10482Implemented support for the disassembly of all SMBus protocol
10483keywords (SMBQuick, SMBWord, etc.)
10484
10485----------------------------------------
1048601 November 2002.  Summary of changes for version 20021101.
10487
10488
104891) ACPI CA Core Subsystem:
10490
10491Fixed a problem where platforms that have a GPE1 block but no GPE0
10492block were not handled correctly.  This resulted in a "GPE
10493overlap" error message.  GPE0 is no longer required.
10494
10495Removed code added in the previous release that inserted nodes
10496into the namespace in alphabetical order.  This caused some side-
10497effects on various machines.  The root cause of the problem is
10498still under investigation since in theory, the internal ordering
10499of the namespace nodes should not matter.
10500
10501
10502Enhanced error reporting for the case where a named object is not
10503found during control method execution.  The full ACPI namepath
10504(name reference) of the object that was not found is displayed in
10505this case.
10506
10507Note: as a result of the overhaul of the namespace object types in
10508the previous release, the namespace nodes for the predefined
10509scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
10510instead of ACPI_TYPE_ANY.  This simplifies the namespace
10511management code but may affect code that walks the namespace tree
10512looking for specific object types.
10513
10514Code and Data Size: Current core subsystem library sizes are shown
10515below.  These are the code and data sizes for the acpica.lib
10516produced by the Microsoft Visual C++ 6.0 compiler, and these
10517values do not include any ACPI driver or OSPM code.  The debug
10518version of the code includes the debug output trace mechanism and
10519has a much larger code and data size.  Note that these values will
10520vary depending on the efficiency of the compiler and the compiler
10521options used during generation.
10522
10523  Previous Release
10524    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
10525    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
10526  Current Release:
10527    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10528    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
10529
10530
105312) Linux
10532
10533Fixed a problem introduced in the previous release where the
10534Processor and Thermal objects were not recognized and installed in
10535/proc.  This was related to the scope type change described above.
10536
10537
105383) iASL Compiler/Disassembler
10539
10540Implemented the -g option to get all of the required ACPI tables
10541from the registry and save them to files (Windows version of the
10542compiler only.)  The required tables are the FADT, FACS, and DSDT.
10543
10544Added ACPI table checksum validation during table disassembly in
10545order to catch corrupted tables.
10546
10547
10548----------------------------------------
1054922 October 2002.  Summary of changes for version 20021022.
10550
105511) ACPI CA Core Subsystem:
10552
10553Implemented a restriction on the Scope operator that the target
10554must already exist in the namespace at the time the operator is
10555encountered (during table load or method execution).  In other
10556words, forward references are not allowed and Scope() cannot
10557create a new object. This changes the previous behavior where the
10558interpreter would create the name if not found.  This new behavior
10559correctly enables the search-to-root algorithm during namespace
10560lookup of the target name.  Because of this upsearch, this fixes
10561the known Compaq _SB_.OKEC problem and makes both the AML
10562interpreter and iASL compiler compatible with other ACPI
10563implementations.
10564
10565Completed a major overhaul of the internal ACPI object types for
10566the ACPI Namespace and the associated operand objects.  Many of
10567these types had become obsolete with the introduction of the two-
10568pass namespace load.  This cleanup simplifies the code and makes
10569the entire namespace load mechanism much clearer and easier to
10570understand.
10571
10572Improved debug output for tracking scope opening/closing to help
10573diagnose scoping issues.  The old scope name as well as the new
10574scope name are displayed.  Also improved error messages for
10575problems with ASL Mutex objects and error messages for GPE
10576problems.
10577
10578Cleaned up the namespace dump code, removed obsolete code.
10579
10580All string output (for all namespace/object dumps) now uses the
10581common ACPI string output procedure which handles escapes properly
10582and does not emit non-printable characters.
10583
10584Fixed some issues with constants in the 64-bit version of the
10585local C library (utclib.c)
10586
10587
105882) Linux
10589
10590EC Driver:  No longer attempts to acquire the Global Lock at
10591interrupt level.
10592
10593
105943) iASL Compiler/Disassembler
10595
10596Implemented ACPI 2.0B grammar change that disallows all Type 1 and
105972 opcodes outside of a control method.  This means that the
10598"executable" operators (versus the "namespace" operators) cannot
10599be used at the table level; they can only be used within a control
10600method.
10601
10602Implemented the restriction on the Scope() operator where the
10603target must already exist in the namespace at the time the
10604operator is encountered (during ASL compilation). In other words,
10605forward references are not allowed and Scope() cannot create a new
10606object.  This makes the iASL compiler compatible with other ACPI
10607implementations and makes the Scope() implementation adhere to the
10608ACPI specification.
10609
10610Fixed a problem where namepath optimization for the Alias operator
10611was optimizing the wrong path (of the two namepaths.)  This caused
10612a "Missing alias link" error message.
10613
10614Fixed a problem where an "unknown reserved name" warning could be
10615incorrectly generated for names like "_SB" when the trailing
10616underscore is not used in the original ASL.
10617
10618Fixed a problem where the reserved name check did not handle
10619NamePaths with multiple NameSegs correctly.  The first nameseg of
10620the NamePath was examined instead of the last NameSeg.
10621
10622
10623----------------------------------------
10624
1062502 October 2002.  Summary of changes for this release.
10626
10627
106281) ACPI CA Core Subsystem version 20021002:
10629
10630Fixed a problem where a store/copy of a string to an existing
10631string did not always set the string length properly in the String
10632object.
10633
10634Fixed a reported problem with the ToString operator where the
10635behavior was identical to the ToHexString operator instead of just
10636simply converting a raw buffer to a string data type.
10637
10638Fixed a problem where CopyObject and the other "explicit"
10639conversion operators were not updating the internal namespace node
10640type as part of the store operation.
10641
10642Fixed a memory leak during implicit source operand conversion
10643where the original object was not deleted if it was converted to a
10644new object of a different type.
10645
10646Enhanced error messages for all problems associated with namespace
10647lookups.  Common procedure generates and prints the lookup name as
10648well as the formatted status.
10649
10650Completed implementation of a new design for the Alias support
10651within the namespace.  The existing design did not handle the case
10652where a new object was assigned to one of the two names due to the
10653use of an explicit conversion operator, resulting in the two names
10654pointing to two different objects.  The new design simply points
10655the Alias name to the original name node - not to the object.
10656This results in a level of indirection that must be handled in the
10657name resolution mechanism.
10658
10659Code and Data Size: Current core subsystem library sizes are shown
10660below.  These are the code and data sizes for the acpica.lib
10661produced by the Microsoft Visual C++ 6.0 compiler, and these
10662values do not include any ACPI driver or OSPM code.  The debug
10663version of the code includes the debug output trace mechanism and
10664has a larger code and data size.  Note that these values will vary
10665depending on the efficiency of the compiler and the compiler
10666options used during generation.
10667
10668  Previous Release
10669    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
10670    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
10671  Current Release:
10672    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
10673    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
10674
10675
106762) Linux
10677
10678Initialize thermal driver's timer before it is used. (Knut
10679Neumann)
10680
10681Allow handling negative celsius values. (Kochi Takayoshi)
10682
10683Fix thermal management and make trip points. R/W (Pavel Machek)
10684
10685Fix /proc/acpi/sleep. (P. Christeas)
10686
10687IA64 fixes. (David Mosberger)
10688
10689Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
10690
10691Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
10692Brodowski)
10693
10694
106953) iASL Compiler/Disassembler
10696
10697Clarified some warning/error messages.
10698
10699
10700----------------------------------------
1070118 September 2002.  Summary of changes for this release.
10702
10703
107041) ACPI CA Core Subsystem version 20020918:
10705
10706Fixed a reported problem with reference chaining (via the Index()
10707and RefOf() operators) in the ObjectType() and SizeOf() operators.
10708The definition of these operators includes the dereferencing of
10709all chained references to return information on the base object.
10710
10711Fixed a problem with stores to indexed package elements - the
10712existing code would not complete the store if an "implicit
10713conversion" was not performed.  In other words, if the existing
10714object (package element) was to be replaced completely, the code
10715didn't handle this case.
10716
10717Relaxed typechecking on the ASL "Scope" operator to allow the
10718target name to refer to an object of type Integer, String, or
10719Buffer, in addition to the scoping object types (Device,
10720predefined Scopes, Processor, PowerResource, and ThermalZone.)
10721This allows existing AML code that has workarounds for a bug in
10722Windows to function properly.  A warning is issued, however.  This
10723affects both the AML interpreter and the iASL compiler. Below is
10724an example of this type of ASL code:
10725
10726      Name(DEB,0x00)
10727      Scope(DEB)
10728      {
10729
10730Fixed some reported problems with 64-bit integer support in the
10731local implementation of C library functions (clib.c)
10732
10733
107342) Linux
10735
10736Use ACPI fix map region instead of IOAPIC region, since it is
10737undefined in non-SMP.
10738
10739Ensure that the SCI has the proper polarity and trigger, even on
10740systems that do not have an interrupt override entry in the MADT.
10741
107422.5 big driver reorganization (Pat Mochel)
10743
10744Use early table mapping code from acpitable.c (Andi Kleen)
10745
10746New blacklist entries (Andi Kleen)
10747
10748Blacklist improvements. Split blacklist code out into a separate
10749file. Move checking the blacklist to very early. Previously, we
10750would use ACPI tables, and then halfway through init, check the
10751blacklist -- too late. Now, it's early enough to completely fall-
10752back to non-ACPI.
10753
10754
107553) iASL Compiler/Disassembler version 20020918:
10756
10757Fixed a problem where the typechecking code didn't know that an
10758alias could point to a method.  In other words, aliases were not
10759being dereferenced during typechecking.
10760
10761
10762----------------------------------------
1076329 August 2002.  Summary of changes for this release.
10764
107651) ACPI CA Core Subsystem Version 20020829:
10766
10767If the target of a Scope() operator already exists, it must be an
10768object type that actually opens a scope -- such as a Device,
10769Method, Scope, etc.  This is a fatal runtime error.  Similar error
10770check has been added to the iASL compiler also.
10771
10772Tightened up the namespace load to disallow multiple names in the
10773same scope.  This previously was allowed if both objects were of
10774the same type.  (i.e., a lookup was the same as entering a new
10775name).
10776
10777
107782) Linux
10779
10780Ensure that the ACPI interrupt has the proper trigger and
10781polarity.
10782
10783local_irq_disable is extraneous. (Matthew Wilcox)
10784
10785Make "acpi=off" actually do what it says, and not use the ACPI
10786interpreter *or* the tables.
10787
10788Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
10789Takayoshi)
10790
10791
107923) iASL Compiler/Disassembler  Version 20020829:
10793
10794Implemented namepath optimization for name declarations.  For
10795example, a declaration like "Method (\_SB_.ABCD)" would get
10796optimized to "Method (ABCD)" if the declaration is within the
10797\_SB_ scope.  This optimization is in addition to the named
10798reference path optimization first released in the previous
10799version. This would seem to complete all possible optimizations
10800for namepaths within the ASL/AML.
10801
10802If the target of a Scope() operator already exists, it must be an
10803object type that actually opens a scope -- such as a Device,
10804Method, Scope, etc.
10805
10806Implemented a check and warning for unreachable code in the same
10807block below a Return() statement.
10808
10809Fixed a problem where the listing file was not generated if the
10810compiler aborted if the maximum error count was exceeded (200).
10811
10812Fixed a problem where the typechecking of method return values was
10813broken.  This includes the check for a return value when the
10814method is invoked as a TermArg (a return value is expected.)
10815
10816Fixed a reported problem where EOF conditions during a quoted
10817string or comment caused a fault.
10818
10819
10820----------------------------------------
1082115 August 2002.  Summary of changes for this release.
10822
108231) ACPI CA Core Subsystem Version 20020815:
10824
10825Fixed a reported problem where a Store to a method argument that
10826contains a reference did not perform the indirect store correctly.
10827This problem was created during the conversion to the new
10828reference object model - the indirect store to a method argument
10829code was not updated to reflect the new model.
10830
10831Reworked the ACPI mode change code to better conform to ACPI 2.0,
10832handle corner cases, and improve code legibility (Kochi Takayoshi)
10833
10834Fixed a problem with the pathname parsing for the carat (^)
10835prefix.  The heavy use of the carat operator by the new namepath
10836optimization in the iASL compiler uncovered a problem with the AML
10837interpreter handling of this prefix.  In the case where one or
10838more carats precede a single nameseg, the nameseg was treated as
10839standalone and the search rule (to root) was inadvertently
10840applied.  This could cause both the iASL compiler and the
10841interpreter to find the wrong object or to miss the error that
10842should occur if the object does not exist at that exact pathname.
10843
10844Found and fixed the problem where the HP Pavilion DSDT would not
10845load.  This was a relatively minor tweak to the table loading code
10846(a problem caused by the unexpected encounter with a method
10847invocation not within a control method), but it does not solve the
10848overall issue of the execution of AML code at the table level.
10849This investigation is still ongoing.
10850
10851Code and Data Size: Current core subsystem library sizes are shown
10852below.  These are the code and data sizes for the acpica.lib
10853produced by the Microsoft Visual C++ 6.0 compiler, and these
10854values do not include any ACPI driver or OSPM code.  The debug
10855version of the code includes the debug output trace mechanism and
10856has a larger code and data size.  Note that these values will vary
10857depending on the efficiency of the compiler and the compiler
10858options used during generation.
10859
10860  Previous Release
10861    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
10862    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
10863  Current Release:
10864    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
10865    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
10866
10867
108682) Linux
10869
10870Remove redundant slab.h include (Brad Hards)
10871
10872Fix several bugs in thermal.c (Herbert Nachtnebel)
10873
10874Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
10875
10876Change acpi_system_suspend to use updated irq functions (Pavel
10877Machek)
10878
10879Export acpi_get_firmware_table (Matthew Wilcox)
10880
10881Use proper root proc entry for ACPI (Kochi Takayoshi)
10882
10883Fix early-boot table parsing (Bjorn Helgaas)
10884
10885
108863) iASL Compiler/Disassembler
10887
10888Reworked the compiler options to make them more consistent and to
10889use two-letter options where appropriate.  We were running out of
10890sensible letters.   This may break some makefiles, so check the
10891current options list by invoking the compiler with no parameters.
10892
10893Completed the design and implementation of the ASL namepath
10894optimization option for the compiler.  This option optimizes all
10895references to named objects to the shortest possible path.  The
10896first attempt tries to utilize a single nameseg (4 characters) and
10897the "search-to-root" algorithm used by the interpreter.  If that
10898cannot be used (because either the name is not in the search path
10899or there is a conflict with another object with the same name),
10900the pathname is optimized using the carat prefix (usually a
10901shorter string than specifying the entire path from the root.)
10902
10903Implemented support to obtain the DSDT from the Windows registry
10904(when the disassembly option is specified with no input file).
10905Added this code as the implementation for AcpiOsTableOverride in
10906the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
10907utility) to scan memory for the DSDT to the AcpiOsTableOverride
10908function in the DOS OSL to make the disassembler truly OS
10909independent.
10910
10911Implemented a new option to disassemble and compile in one step.
10912When used without an input filename, this option will grab the
10913DSDT from the local machine, disassemble it, and compile it in one
10914step.
10915
10916Added a warning message for invalid escapes (a backslash followed
10917by any character other than the allowable escapes).  This catches
10918the quoted string error "\_SB_" (which should be "\\_SB_" ).
10919
10920Also, there are numerous instances in the ACPI specification where
10921this error occurs.
10922
10923Added a compiler option to disable all optimizations.  This is
10924basically the "compatibility mode" because by using this option,
10925the AML code will come out exactly the same as other ASL
10926compilers.
10927
10928Added error messages for incorrectly ordered dependent resource
10929functions.  This includes: missing EndDependentFn macro at end of
10930dependent resource list, nested dependent function macros (both
10931start and end), and missing StartDependentFn macro.  These are
10932common errors that should be caught at compile time.
10933
10934Implemented _OSI support for the disassembler and compiler.  _OSI
10935must be included in the namespace for proper disassembly (because
10936the disassembler must know the number of arguments.)
10937
10938Added an "optimization" message type that is optional (off by
10939default).  This message is used for all optimizations - including
10940constant folding, integer optimization, and namepath optimization.
10941
10942----------------------------------------
1094325 July 2002.  Summary of changes for this release.
10944
10945
109461) ACPI CA Core Subsystem Version 20020725:
10947
10948The AML Disassembler has been enhanced to produce compilable ASL
10949code and has been integrated into the iASL compiler (see below) as
10950well as the single-step disassembly for the AML debugger and the
10951disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
10952resource templates and macros are fully supported.  The
10953disassembler has been tested on over 30 different AML files,
10954producing identical AML when the resulting disassembled ASL file
10955is recompiled with the same ASL compiler.
10956
10957Modified the Resource Manager to allow zero interrupts and zero
10958dma channels during the GetCurrentResources call.  This was
10959causing problems on some platforms.
10960
10961Added the AcpiOsRedirectOutput interface to the OSL to simplify
10962output redirection for the AcpiOsPrintf and AcpiOsVprintf
10963interfaces.
10964
10965Code and Data Size: Current core subsystem library sizes are shown
10966below.  These are the code and data sizes for the acpica.lib
10967produced by the Microsoft Visual C++ 6.0 compiler, and these
10968values do not include any ACPI driver or OSPM code.  The debug
10969version of the code includes the debug output trace mechanism and
10970has a larger code and data size.  Note that these values will vary
10971depending on the efficiency of the compiler and the compiler
10972options used during generation.
10973
10974  Previous Release
10975    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
10976    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
10977  Current Release:
10978    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
10979    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
10980
10981
109822) Linux
10983
10984Fixed a panic in the EC driver (Dominik Brodowski)
10985
10986Implemented checksum of the R/XSDT itself during Linux table scan
10987(Richard Schaal)
10988
10989
109903) iASL compiler
10991
10992The AML disassembler is integrated into the compiler.  The "-d"
10993option invokes the disassembler  to completely disassemble an
10994input AML file, producing as output a text ASL file with the
10995extension ".dsl" (to avoid name collisions with existing .asl
10996source files.)  A future enhancement will allow the disassembler
10997to obtain the BIOS DSDT from the registry under Windows.
10998
10999Fixed a problem with the VendorShort and VendorLong resource
11000descriptors where an invalid AML sequence was created.
11001
11002Implemented a fix for BufferData term in the ASL parser.  It was
11003inadvertently defined twice, allowing invalid syntax to pass and
11004causing reduction conflicts.
11005
11006Fixed a problem where the Ones opcode could get converted to a
11007value of zero if "Ones" was used where a byte, word or dword value
11008was expected.  The 64-bit value is now truncated to the correct
11009size with the correct value.
11010
11011
11012
11013----------------------------------------
1101402 July 2002.  Summary of changes for this release.
11015
11016
110171) ACPI CA Core Subsystem Version 20020702:
11018
11019The Table Manager code has been restructured to add several new
11020features.  Tables that are not required by the core subsystem
11021(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
11022validated in any way and are returned from AcpiGetFirmwareTable if
11023requested.  The AcpiOsTableOverride interface is now called for
11024each table that is loaded by the subsystem in order to allow the
11025host to override any table it chooses.  Previously, only the DSDT
11026could be overridden.  Added one new files, tbrsdt.c and
11027tbgetall.c.
11028
11029Fixed a problem with the conversion of internal package objects to
11030external objects (when a package is returned from a control
11031method.)  The return buffer length was set to zero instead of the
11032proper length of the package object.
11033
11034Fixed a reported problem with the use of the RefOf and DeRefOf
11035operators when passing reference arguments to control methods.  A
11036new type of Reference object is used internally for references
11037produced by the RefOf operator.
11038
11039Added additional error messages in the Resource Manager to explain
11040AE_BAD_DATA errors when they occur during resource parsing.
11041
11042Split the AcpiEnableSubsystem into two primitives to enable a
11043finer granularity initialization sequence.  These two calls should
11044be called in this order: AcpiEnableSubsystem (flags),
11045AcpiInitializeObjects (flags).  The flags parameter remains the
11046same.
11047
11048
110492) Linux
11050
11051Updated the ACPI utilities module to understand the new style of
11052fully resolved package objects that are now returned from the core
11053subsystem.  This eliminates errors of the form:
11054
11055    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
11056    acpi_utils-0430 [145] acpi_evaluate_reference:
11057        Invalid element in package (not a device reference)
11058
11059The method evaluation utility uses the new buffer allocation
11060scheme instead of calling AcpiEvaluate Object twice.
11061
11062Added support for ECDT. This allows the use of the Embedded
11063
11064Controller before the namespace has been fully initialized, which
11065is necessary for ACPI 2.0 support, and for some laptops to
11066initialize properly. (Laptops using ECDT are still rare, so only
11067limited testing was performed of the added functionality.)
11068
11069Fixed memory leaks in the EC driver.
11070
11071Eliminated a brittle code structure in acpi_bus_init().
11072
11073Eliminated the acpi_evaluate() helper function in utils.c. It is
11074no longer needed since acpi_evaluate_object can optionally
11075allocate memory for the return object.
11076
11077Implemented fix for keyboard hang when getting battery readings on
11078some systems (Stephen White)
11079
11080PCI IRQ routing update (Dominik Brodowski)
11081
11082Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
11083support
11084
11085----------------------------------------
1108611 June 2002.  Summary of changes for this release.
11087
11088
110891) ACPI CA Core Subsystem Version 20020611:
11090
11091Fixed a reported problem where constants such as Zero and One
11092appearing within _PRT packages were not handled correctly within
11093the resource manager code.  Originally reported against the ASL
11094compiler because the code generator now optimizes integers to
11095their minimal AML representation (i.e. AML constants if possible.)
11096The _PRT code now handles all AML constant opcodes correctly
11097(Zero, One, Ones, Revision).
11098
11099Fixed a problem with the Concatenate operator in the AML
11100interpreter where a buffer result object was incorrectly marked as
11101not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
11102
11103All package sub-objects are now fully resolved before they are
11104returned from the external ACPI interfaces.  This means that name
11105strings are resolved to object handles, and constant operators
11106(Zero, One, Ones, Revision) are resolved to Integers.
11107
11108Implemented immediate resolution of the AML Constant opcodes
11109(Zero, One, Ones, Revision) to Integer objects upon detection
11110within the AML stream. This has simplified and reduced the
11111generated code size of the subsystem by eliminating about 10
11112switch statements for these constants (which previously were
11113contained in Reference objects.)  The complicating issues are that
11114the Zero opcode is used as a "placeholder" for unspecified
11115optional target operands and stores to constants are defined to be
11116no-ops.
11117
11118Code and Data Size: Current core subsystem library sizes are shown
11119below. These are the code and data sizes for the acpica.lib
11120produced by the Microsoft Visual C++ 6.0 compiler, and these
11121values do not include any ACPI driver or OSPM code.  The debug
11122version of the code includes the debug output trace mechanism and
11123has a larger code and data size.  Note that these values will vary
11124depending on the efficiency of the compiler and the compiler
11125options used during generation.
11126
11127  Previous Release
11128    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
11129    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
11130  Current Release:
11131    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
11132    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
11133
11134
111352) Linux
11136
11137
11138Added preliminary support for obtaining _TRA data for PCI root
11139bridges (Bjorn Helgaas).
11140
11141
111423) iASL Compiler Version X2046:
11143
11144Fixed a problem where the "_DDN" reserved name was defined to be a
11145control method with one argument.  There are no arguments, and
11146_DDN does not have to be a control method.
11147
11148Fixed a problem with the Linux version of the compiler where the
11149source lines printed with error messages were the wrong lines.
11150This turned out to be the "LF versus CR/LF" difference between
11151Windows and Unix.  This appears to be the longstanding issue
11152concerning listing output and error messages.
11153
11154Fixed a problem with the Linux version of compiler where opcode
11155names within error messages were wrong.  This was caused by a
11156slight difference in the output of the Flex tool on Linux versus
11157Windows.
11158
11159Fixed a problem with the Linux compiler where the hex output files
11160contained some garbage data caused by an internal buffer overrun.
11161
11162
11163----------------------------------------
1116417 May 2002.  Summary of changes for this release.
11165
11166
111671) ACPI CA Core Subsystem Version 20020517:
11168
11169Implemented a workaround to an BIOS bug discovered on the HP
11170OmniBook where the FADT revision number and the table size are
11171inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
11172behavior is to fallback to using only the ACPI 1.0 fields of the
11173FADT if the table is too small to be a ACPI 2.0 table as claimed
11174by the revision number.  Although this is a BIOS bug, this is a
11175case where the workaround is simple enough and with no side
11176effects, so it seemed prudent to add it.  A warning message is
11177issued, however.
11178
11179Implemented minimum size checks for the fixed-length ACPI tables -
11180- the FADT and FACS, as well as consistency checks between the
11181revision number and the table size.
11182
11183Fixed a reported problem in the table override support where the
11184new table pointer was incorrectly treated as a physical address
11185instead of a logical address.
11186
11187Eliminated the use of the AE_AML_ERROR exception and replaced it
11188with more descriptive codes.
11189
11190Fixed a problem where an exception would occur if an ASL Field was
11191defined with no named Field Units underneath it (used by some
11192index fields).
11193
11194Code and Data Size: Current core subsystem library sizes are shown
11195below.  These are the code and data sizes for the acpica.lib
11196produced by the Microsoft Visual C++ 6.0 compiler, and these
11197values do not include any ACPI driver or OSPM code.  The debug
11198version of the code includes the debug output trace mechanism and
11199has a larger code and data size.  Note that these values will vary
11200depending on the efficiency of the compiler and the compiler
11201options used during generation.
11202
11203  Previous Release
11204    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
11205    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
11206  Current Release:
11207    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
11208    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
11209
11210
11211
112122) Linux
11213
11214Much work done on ACPI init (MADT and PCI IRQ routing support).
11215(Paul D. and Dominik Brodowski)
11216
11217Fix PCI IRQ-related panic on boot (Sam Revitch)
11218
11219Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
11220
11221Fix "MHz" typo (Dominik Brodowski)
11222
11223Fix RTC year 2000 issue (Dominik Brodowski)
11224
11225Preclude multiple button proc entries (Eric Brunet)
11226
11227Moved arch-specific code out of include/platform/aclinux.h
11228
112293) iASL Compiler Version X2044:
11230
11231Implemented error checking for the string used in the EISAID macro
11232(Usually used in the definition of the _HID object.)  The code now
11233strictly enforces the PnP format - exactly 7 characters, 3
11234uppercase letters and 4 hex digits.
11235
11236If a raw string is used in the definition of the _HID object
11237(instead of the EISAID macro), the string must contain all
11238alphanumeric characters (e.g., "*PNP0011" is not allowed because
11239of the asterisk.)
11240
11241Implemented checking for invalid use of ACPI reserved names for
11242most of the name creation operators (Name, Device, Event, Mutex,
11243OperationRegion, PowerResource, Processor, and ThermalZone.)
11244Previously, this check was only performed for control methods.
11245
11246Implemented an additional check on the Name operator to emit an
11247error if a reserved name that must be implemented in ASL as a
11248control method is used.  We know that a reserved name must be a
11249method if it is defined with input arguments.
11250
11251The warning emitted when a namespace object reference is not found
11252during the cross reference phase has been changed into an error.
11253The "External" directive should be used for names defined in other
11254modules.
11255
11256
112574) Tools and Utilities
11258
11259The 16-bit tools (adump16 and aexec16) have been regenerated and
11260tested.
11261
11262Fixed a problem with the output of both acpidump and adump16 where
11263the indentation of closing parentheses and brackets was not
11264
11265aligned properly with the parent block.
11266
11267
11268----------------------------------------
1126903 May 2002.  Summary of changes for this release.
11270
11271
112721) ACPI CA Core Subsystem Version 20020503:
11273
11274Added support a new OSL interface that allows the host operating
11275
11276system software to override the DSDT found in the firmware -
11277AcpiOsTableOverride.  With this interface, the OSL can examine the
11278version of the firmware DSDT and replace it with a different one
11279if desired.
11280
11281Added new external interfaces for accessing ACPI registers from
11282device drivers and other system software - AcpiGetRegister and
11283AcpiSetRegister.  This was simply an externalization of the
11284existing AcpiHwBitRegister interfaces.
11285
11286Fixed a regression introduced in the previous build where the
11287ASL/AML CreateField operator always returned an error,
11288"destination must be a NS Node".
11289
11290Extended the maximum time (before failure) to successfully enable
11291ACPI mode to 3 seconds.
11292
11293Code and Data Size: Current core subsystem library sizes are shown
11294below.  These are the code and data sizes for the acpica.lib
11295produced by the Microsoft Visual C++ 6.0 compiler, and these
11296values do not include any ACPI driver or OSPM code.  The debug
11297version of the code includes the debug output trace mechanism and
11298has a larger code and data size.  Note that these values will vary
11299depending on the efficiency of the compiler and the compiler
11300options used during generation.
11301
11302  Previous Release
11303    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
11304    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
11305  Current Release:
11306    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
11307    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
11308
11309
113102) Linux
11311
11312Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
11313free. While 3 out of 4 of our in-house systems work fine, the last
11314one still hangs when testing the LAPIC timer.
11315
11316Renamed many files in 2.5 kernel release to omit "acpi_" from the
11317name.
11318
11319Added warning on boot for Presario 711FR.
11320
11321Sleep improvements (Pavel Machek)
11322
11323ACPI can now be built without CONFIG_PCI enabled.
11324
11325IA64: Fixed memory map functions (JI Lee)
11326
11327
113283) iASL Compiler Version X2043:
11329
11330Added support to allow the compiler to be integrated into the MS
11331VC++ development environment for one-button compilation of single
11332files or entire projects -- with error-to-source-line mapping.
11333
11334Implemented support for compile-time constant folding for the
11335Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
11336specification.  This allows the ASL writer to use expressions
11337instead of Integer/Buffer/String constants in terms that must
11338evaluate to constants at compile time and will also simplify the
11339emitted AML in any such sub-expressions that can be folded
11340(evaluated at compile-time.)  This increases the size of the
11341compiler significantly because a portion of the ACPI CA AML
11342interpreter is included within the compiler in order to pre-
11343evaluate constant expressions.
11344
11345
11346Fixed a problem with the "Unicode" ASL macro that caused the
11347compiler to fault.  (This macro is used in conjunction with the
11348_STR reserved name.)
11349
11350Implemented an AML opcode optimization to use the Zero, One, and
11351Ones opcodes where possible to further reduce the size of integer
11352constants and thus reduce the overall size of the generated AML
11353code.
11354
11355Implemented error checking for new reserved terms for ACPI version
113562.0A.
11357
11358Implemented the -qr option to display the current list of ACPI
11359reserved names known to the compiler.
11360
11361Implemented the -qc option to display the current list of ASL
11362operators that are allowed within constant expressions and can
11363therefore be folded at compile time if the operands are constants.
11364
11365
113664) Documentation
11367
11368Updated the Programmer's Reference for new interfaces, data types,
11369and memory allocation model options.
11370
11371Updated the iASL Compiler User Reference to apply new format and
11372add information about new features and options.
11373
11374----------------------------------------
1137519 April 2002.  Summary of changes for this release.
11376
113771) ACPI CA Core Subsystem Version 20020419:
11378
11379The source code base for the Core Subsystem has been completely
11380cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
11381versions.  The Lint option files used are included in the
11382/acpi/generate/lint directory.
11383
11384Implemented enhanced status/error checking across the entire
11385Hardware manager subsystem.  Any hardware errors (reported from
11386the OSL) are now bubbled up and will abort a running control
11387method.
11388
11389
11390Fixed a problem where the per-ACPI-table integer width (32 or 64)
11391was stored only with control method nodes, causing a fault when
11392non-control method code was executed during table loading.  The
11393solution implemented uses a global variable to indicate table
11394width across the entire ACPI subsystem.  Therefore, ACPI CA does
11395not support mixed integer widths across different ACPI tables
11396(DSDT, SSDT).
11397
11398Fixed a problem where NULL extended fields (X fields) in an ACPI
113992.0 ACPI FADT caused the table load to fail.  Although the
11400existing ACPI specification is a bit fuzzy on this topic, the new
11401behavior is to fall back on a ACPI 1.0 field if the corresponding
11402ACPI 2.0 X field is zero (even though the table revision indicates
11403a full ACPI 2.0 table.)  The ACPI specification will be updated to
11404clarify this issue.
11405
11406Fixed a problem with the SystemMemory operation region handler
11407where memory was always accessed byte-wise even if the AML-
11408specified access width was larger than a byte.  This caused
11409problems on systems with memory-mapped I/O.  Memory is now
11410accessed with the width specified.  On systems that do not support
11411non-aligned transfers, a check is made to guarantee proper address
11412alignment before proceeding in order to avoid an AML-caused
11413alignment fault within the kernel.
11414
11415
11416Fixed a problem with the ExtendedIrq resource where only one byte
11417of the 4-byte Irq field was extracted.
11418
11419Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
11420function was out of date and required a rewrite.
11421
11422Code and Data Size: Current core subsystem library sizes are shown
11423below.  These are the code and data sizes for the acpica.lib
11424produced by the Microsoft Visual C++ 6.0 compiler, and these
11425values do not include any ACPI driver or OSPM code.  The debug
11426version of the code includes the debug output trace mechanism and
11427has a larger code and data size.  Note that these values will vary
11428depending on the efficiency of the compiler and the compiler
11429options used during generation.
11430
11431  Previous Release
11432    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
11433    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
11434  Current Release:
11435    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
11436    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
11437
11438
114392) Linux
11440
11441PCI IRQ routing fixes (Dominik Brodowski)
11442
11443
114443) iASL Compiler Version X2042:
11445
11446Implemented an additional compile-time error check for a field
11447unit whose size + minimum access width would cause a run-time
11448access beyond the end-of-region.  Previously, only the field size
11449itself was checked.
11450
11451The Core subsystem and iASL compiler now share a common parse
11452object in preparation for compile-time evaluation of the type
114533/4/5 ASL operators.
11454
11455
11456----------------------------------------
11457Summary of changes for this release: 03_29_02
11458
114591) ACPI CA Core Subsystem Version 20020329:
11460
11461Implemented support for late evaluation of TermArg operands to
11462Buffer and Package objects.  This allows complex expressions to be
11463used in the declarations of these object types.
11464
11465Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
114661.0, if the field was larger than 32 bits, it was returned as a
11467buffer - otherwise it was returned as an integer.  In ACPI 2.0,
11468the field is returned as a buffer only if the field is larger than
1146964 bits.  The TableRevision is now considered when making this
11470conversion to avoid incompatibility with existing ASL code.
11471
11472Implemented logical addressing for AcpiOsGetRootPointer.  This
11473allows an RSDP with either a logical or physical address.  With
11474this support, the host OS can now override all ACPI tables with
11475one logical RSDP.  Includes implementation of  "typed" pointer
11476support to allow a common data type for both physical and logical
11477pointers internally.  This required a change to the
11478AcpiOsGetRootPointer interface.
11479
11480Implemented the use of ACPI 2.0 Generic Address Structures for all
11481GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
11482mapped I/O for these ACPI features.
11483
11484Initialization now ignores not only non-required tables (All
11485tables other than the FADT, FACS, DSDT, and SSDTs), but also does
11486not validate the table headers of unrecognized tables.
11487
11488Fixed a problem where a notify handler could only be
11489installed/removed on an object of type Device.  All "notify"
11490
11491objects are now supported -- Devices, Processor, Power, and
11492Thermal.
11493
11494Removed most verbosity from the ACPI_DB_INFO debug level.  Only
11495critical information is returned when this debug level is enabled.
11496
11497Code and Data Size: Current core subsystem library sizes are shown
11498below.  These are the code and data sizes for the acpica.lib
11499produced by the Microsoft Visual C++ 6.0 compiler, and these
11500values do not include any ACPI driver or OSPM code.  The debug
11501version of the code includes the debug output trace mechanism and
11502has a larger code and data size.  Note that these values will vary
11503depending on the efficiency of the compiler and the compiler
11504options used during generation.
11505
11506  Previous Release
11507    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
11508    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
11509  Current Release:
11510    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
11511    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
11512
11513
115142) Linux:
11515
11516The processor driver (acpi_processor.c) now fully supports ACPI
115172.0-based processor performance control (e.g. Intel(R)
11518SpeedStep(TM) technology) Note that older laptops that only have
11519the Intel "applet" interface are not supported through this.  The
11520'limit' and 'performance' interface (/proc) are fully functional.
11521[Note that basic policy for controlling performance state
11522transitions will be included in the next version of ospmd.]  The
11523idle handler was modified to more aggressively use C2, and PIIX4
11524errata handling underwent a complete overhaul (big thanks to
11525Dominik Brodowski).
11526
11527Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
11528based devices in the ACPI namespace are now dynamically bound
11529(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
11530This allows, among other things, ACPI to resolve bus numbers for
11531subordinate PCI bridges.
11532
11533Enhanced PCI IRQ routing to get the proper bus number for _PRT
11534entries defined underneath PCI bridges.
11535
11536Added IBM 600E to bad bios list due to invalid _ADR value for
11537PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
11538
11539In the process of adding full MADT support (e.g. IOAPIC) for IA32
11540(acpi.c, mpparse.c) -- stay tuned.
11541
11542Added back visual differentiation between fixed-feature and
11543control-method buttons in dmesg.  Buttons are also subtyped (e.g.
11544button/power/PWRF) to simplify button identification.
11545
11546We no longer use -Wno-unused when compiling debug. Please ignore
11547any "_THIS_MODULE defined but not used" messages.
11548
11549Can now shut down the system using "magic sysrq" key.
11550
11551
115523) iASL Compiler version 2041:
11553
11554Fixed a problem where conversion errors for hex/octal/decimal
11555constants were not reported.
11556
11557Implemented a fix for the General Register template Address field.
11558This field was 8 bits when it should be 64.
11559
11560Fixed a problem where errors/warnings were no longer being emitted
11561within the listing output file.
11562
11563Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
11564exactly 4 characters, alphanumeric only.
11565
11566
11567
11568
11569----------------------------------------
11570Summary of changes for this release: 03_08_02
11571
11572
115731) ACPI CA Core Subsystem Version 20020308:
11574
11575Fixed a problem with AML Fields where the use of the "AccessAny"
11576keyword could cause an interpreter error due to attempting to read
11577or write beyond the end of the parent Operation Region.
11578
11579Fixed a problem in the SystemMemory Operation Region handler where
11580an attempt was made to map memory beyond the end of the region.
11581This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
11582errors on some Linux systems.
11583
11584Fixed a problem where the interpreter/namespace "search to root"
11585algorithm was not functioning for some object types.  Relaxed the
11586internal restriction on the search to allow upsearches for all
11587external object types as well as most internal types.
11588
11589
115902) Linux:
11591
11592We now use safe_halt() macro versus individual calls to sti | hlt.
11593
11594Writing to the processor limit interface should now work. "echo 1"
11595will increase the limit, 2 will decrease, and 0 will reset to the
11596
11597default.
11598
11599
116003) ASL compiler:
11601
11602Fixed segfault on Linux version.
11603
11604
11605----------------------------------------
11606Summary of changes for this release: 02_25_02
11607
116081) ACPI CA Core Subsystem:
11609
11610
11611Fixed a problem where the GPE bit masks were not initialized
11612properly, causing erratic GPE behavior.
11613
11614Implemented limited support for multiple calling conventions.  The
11615code can be generated with either the VPL (variable parameter
11616list, or "C") convention, or the FPL (fixed parameter list, or
11617"Pascal") convention.  The core subsystem is about 3.4% smaller
11618when generated with FPL.
11619
11620
116212) Linux
11622
11623Re-add some /proc/acpi/event functionality that was lost during
11624the rewrite
11625
11626Resolved issue with /proc events for fixed-feature buttons showing
11627up as the system device.
11628
11629Fixed checks on C2/C3 latencies to be inclusive of maximum values.
11630
11631Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
11632
11633Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
11634
11635Fixed limit interface & usage to fix bugs with passive cooling
11636hysterisis.
11637
11638Restructured PRT support.
11639
11640
11641----------------------------------------
11642Summary of changes for this label: 02_14_02
11643
11644
116451) ACPI CA Core Subsystem:
11646
11647Implemented support in AcpiLoadTable to allow loading of FACS and
11648FADT tables.
11649
11650Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
11651been removed.  All 64-bit platforms should be migrated to the ACPI
116522.0 tables.  The actbl71.h header has been removed from the source
11653tree.
11654
11655All C macros defined within the subsystem have been prefixed with
11656"ACPI_" to avoid collision with other system include files.
11657
11658Removed the return value for the two AcpiOsPrint interfaces, since
11659it is never used and causes lint warnings for ignoring the return
11660value.
11661
11662Added error checking to all internal mutex acquire and release
11663calls.  Although a failure from one of these interfaces is
11664probably a fatal system error, these checks will cause the
11665immediate abort of the currently executing method or interface.
11666
11667Fixed a problem where the AcpiSetCurrentResources interface could
11668fault.  This was a side effect of the deployment of the new memory
11669allocation model.
11670
11671Fixed a couple of problems with the Global Lock support introduced
11672in the last major build.  The "common" (1.0/2.0) internal FACS was
11673being overwritten with the FACS signature and clobbering the
11674Global Lock pointer.  Also, the actual firmware FACS was being
11675unmapped after construction of the "common" FACS, preventing
11676access to the actual Global Lock field within it.  The "common"
11677internal FACS is no longer installed as an actual ACPI table; it
11678is used simply as a global.
11679
11680Code and Data Size: Current core subsystem library sizes are shown
11681below.  These are the code and data sizes for the acpica.lib
11682produced by the Microsoft Visual C++ 6.0 compiler, and these
11683values do not include any ACPI driver or OSPM code.  The debug
11684version of the code includes the debug output trace mechanism and
11685has a larger code and data size.  Note that these values will vary
11686depending on the efficiency of the compiler and the compiler
11687options used during generation.
11688
11689  Previous Release (02_07_01)
11690    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
11691    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
11692  Current Release:
11693    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
11694    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
11695
11696
116972) Linux
11698
11699Updated Linux-specific code for core macro and OSL interface
11700changes described above.
11701
11702Improved /proc/acpi/event. It now can be opened only once and has
11703proper poll functionality.
11704
11705Fixed and restructured power management (acpi_bus).
11706
11707Only create /proc "view by type" when devices of that class exist.
11708
11709Fixed "charging/discharging" bug (and others) in acpi_battery.
11710
11711Improved thermal zone code.
11712
11713
117143) ASL Compiler, version X2039:
11715
11716
11717Implemented the new compiler restriction on ASL String hex/octal
11718escapes to non-null, ASCII values.  An error results if an invalid
11719value is used.  (This will require an ACPI 2.0 specification
11720change.)
11721
11722AML object labels that are output to the optional C and ASM source
11723are now prefixed with both the ACPI table signature and table ID
11724to help guarantee uniqueness within a large BIOS project.
11725
11726
11727----------------------------------------
11728Summary of changes for this label: 02_01_02
11729
117301) ACPI CA Core Subsystem:
11731
11732ACPI 2.0 support is complete in the entire Core Subsystem and the
11733ASL compiler. All new ACPI 2.0 operators are implemented and all
11734other changes for ACPI 2.0 support are complete.  With
11735simultaneous code and data optimizations throughout the subsystem,
11736ACPI 2.0 support has been implemented with almost no additional
11737cost in terms of code and data size.
11738
11739Implemented a new mechanism for allocation of return buffers.  If
11740the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
11741be allocated on behalf of the caller.  Consolidated all return
11742buffer validation and allocation to a common procedure.  Return
11743buffers will be allocated via the primary OSL allocation interface
11744since it appears that a separate pool is not needed by most users.
11745If a separate pool is required for these buffers, the caller can
11746still use the original mechanism and pre-allocate the buffer(s).
11747
11748Implemented support for string operands within the DerefOf
11749operator.
11750
11751Restructured the Hardware and Event managers to be table driven,
11752simplifying the source code and reducing the amount of generated
11753code.
11754
11755Split the common read/write low-level ACPI register bitfield
11756procedure into a separate read and write, simplifying the code
11757considerably.
11758
11759Obsoleted the AcpiOsCallocate OSL interface.  This interface was
11760used only a handful of times and didn't have enough critical mass
11761for a separate interface.  Replaced with a common calloc procedure
11762in the core.
11763
11764Fixed a reported problem with the GPE number mapping mechanism
11765that allows GPE1 numbers to be non-contiguous with GPE0.
11766Reorganized the GPE information and shrunk a large array that was
11767originally large enough to hold info for all possible GPEs (256)
11768to simply large enough to hold all GPEs up to the largest GPE
11769number on the machine.
11770
11771Fixed a reported problem with resource structure alignment on 64-
11772bit platforms.
11773
11774Changed the AcpiEnableEvent and AcpiDisableEvent external
11775interfaces to not require any flags for the common case of
11776enabling/disabling a GPE.
11777
11778Implemented support to allow a "Notify" on a Processor object.
11779
11780Most TBDs in comments within the source code have been resolved
11781and eliminated.
11782
11783
11784Fixed a problem in the interpreter where a standalone parent
11785prefix (^) was not handled correctly in the interpreter and
11786debugger.
11787
11788Removed obsolete and unnecessary GPE save/restore code.
11789
11790Implemented Field support in the ASL Load operator.  This allows a
11791table to be loaded from a named field, in addition to loading a
11792table directly from an Operation Region.
11793
11794Implemented timeout and handle support in the external Global Lock
11795interfaces.
11796
11797Fixed a problem in the AcpiDump utility where pathnames were no
11798longer being generated correctly during the dump of named objects.
11799
11800Modified the AML debugger to give a full display of if/while
11801predicates instead of just one AML opcode at a time.  (The
11802predicate can have several nested ASL statements.)  The old method
11803was confusing during single stepping.
11804
11805Code and Data Size: Current core subsystem library sizes are shown
11806below. These are the code and data sizes for the acpica.lib
11807produced by the Microsoft Visual C++ 6.0 compiler, and these
11808values do not include any ACPI driver or OSPM code.  The debug
11809version of the code includes the debug output trace mechanism and
11810has a larger code and data size.  Note that these values will vary
11811depending on the efficiency of the compiler and the compiler
11812options used during generation.
11813
11814  Previous Release (12_18_01)
11815     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
11816     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
11817   Current Release:
11818     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
11819     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
11820
118212) Linux
11822
11823 Implemented fix for PIIX reverse throttling errata (Processor
11824driver)
11825
11826Added new Limit interface (Processor and Thermal drivers)
11827
11828New thermal policy (Thermal driver)
11829
11830Many updates to /proc
11831
11832Battery "low" event support (Battery driver)
11833
11834Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
11835
11836IA32 - IA64 initialization unification, no longer experimental
11837
11838Menuconfig options redesigned
11839
118403) ASL Compiler, version X2037:
11841
11842Implemented several new output features to simplify integration of
11843AML code into  firmware: 1) Output the AML in C source code with
11844labels for each named ASL object.  The    original ASL source code
11845is interleaved as C comments. 2) Output the AML in ASM source code
11846with labels and interleaved ASL    source. 3) Output the AML in
11847raw hex table form, in either C or ASM.
11848
11849Implemented support for optional string parameters to the
11850LoadTable operator.
11851
11852Completed support for embedded escape sequences within string
11853literals.  The compiler now supports all single character escapes
11854as well as the Octal and Hex escapes.  Note: the insertion of a
11855null byte into a string literal (via the hex/octal escape) causes
11856the string to be immediately terminated.  A warning is issued.
11857
11858Fixed a problem where incorrect AML was generated for the case
11859where an ASL namepath consists of a single parent prefix (
11860
11861) with no trailing name segments.
11862
11863The compiler has been successfully generated with a 64-bit C
11864compiler.
11865
11866
11867
11868
11869----------------------------------------
11870Summary of changes for this label: 12_18_01
11871
118721) Linux
11873
11874Enhanced blacklist with reason and severity fields. Any table's
11875signature may now be used to identify a blacklisted system.
11876
11877Call _PIC control method to inform the firmware which interrupt
11878model the OS is using. Turn on any disabled link devices.
11879
11880Cleaned up busmgr /proc error handling (Andreas Dilger)
11881
11882 2) ACPI CA Core Subsystem:
11883
11884Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
11885while loop)
11886
11887Completed implementation of the ACPI 2.0 "Continue",
11888"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
11889operators.  All new ACPI 2.0 operators are now implemented in both
11890the ASL compiler and the AML interpreter.  The only remaining ACPI
118912.0 task is support for the String data type in the DerefOf
11892operator.  Fixed a problem with AcquireMutex where the status code
11893was lost if the caller had to actually wait for the mutex.
11894
11895Increased the maximum ASL Field size from 64K bits to 4G bits.
11896
11897Completed implementation of the external Global Lock interfaces --
11898AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
11899Handler parameters were added.
11900
11901Completed another pass at removing warnings and issues when
11902compiling with 64-bit compilers.  The code now compiles cleanly
11903with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
11904add and subtract (diff) macros have changed considerably.
11905
11906
11907Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1190864-bit platforms, 32-bits on all others.  This type is used
11909wherever memory allocation and/or the C sizeof() operator is used,
11910and affects the OSL memory allocation interfaces AcpiOsAllocate
11911and AcpiOsCallocate.
11912
11913Implemented sticky user breakpoints in the AML debugger.
11914
11915Code and Data Size: Current core subsystem library sizes are shown
11916below. These are the code and data sizes for the acpica.lib
11917produced by the Microsoft Visual C++ 6.0 compiler, and these
11918values do not include any ACPI driver or OSPM code.  The debug
11919version of the code includes the debug output trace mechanism and
11920has a larger code and data size. Note that these values will vary
11921depending on the efficiency of the compiler and the compiler
11922options used during generation.
11923
11924  Previous Release (12_05_01)
11925     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
11926     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
11927   Current Release:
11928     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
11929     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
11930
11931 3) ASL Compiler, version X2034:
11932
11933Now checks for (and generates an error if detected) the use of a
11934Break or Continue statement without an enclosing While statement.
11935
11936
11937Successfully generated the compiler with the Intel 64-bit C
11938compiler.
11939
11940 ----------------------------------------
11941Summary of changes for this label: 12_05_01
11942
11943 1) ACPI CA Core Subsystem:
11944
11945The ACPI 2.0 CopyObject operator is fully implemented.  This
11946operator creates a new copy of an object (and is also used to
11947bypass the "implicit conversion" mechanism of the Store operator.)
11948
11949The ACPI 2.0 semantics for the SizeOf operator are fully
11950implemented.  The change is that performing a SizeOf on a
11951reference object causes an automatic dereference of the object to
11952tha actual value before the size is evaluated. This behavior was
11953undefined in ACPI 1.0.
11954
11955The ACPI 2.0 semantics for the Extended IRQ resource descriptor
11956have been implemented.  The interrupt polarity and mode are now
11957independently set.
11958
11959Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
11960appearing in Package objects were not properly converted to
11961integers when the internal Package was converted to an external
11962object (via the AcpiEvaluateObject interface.)
11963
11964Fixed a problem with the namespace object deletion mechanism for
11965objects created by control methods.  There were two parts to this
11966problem: 1) Objects created during the initialization phase method
11967parse were not being deleted, and 2) The object owner ID mechanism
11968to track objects was broken.
11969
11970Fixed a problem where the use of the ASL Scope operator within a
11971control method would result in an invalid opcode exception.
11972
11973Fixed a problem introduced in the previous label where the buffer
11974length required for the _PRT structure was not being returned
11975correctly.
11976
11977Code and Data Size: Current core subsystem library sizes are shown
11978below. These are the code and data sizes for the acpica.lib
11979produced by the Microsoft Visual C++ 6.0 compiler, and these
11980values do not include any ACPI driver or OSPM code.  The debug
11981version of the code includes the debug output trace mechanism and
11982has a larger code and data size.  Note that these values will vary
11983depending on the efficiency of the compiler and the compiler
11984options used during generation.
11985
11986  Previous Release (11_20_01)
11987     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
11988     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
11989
11990  Current Release:
11991     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
11992     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
11993
11994 2) Linux:
11995
11996Updated all files to apply cleanly against 2.4.16.
11997
11998Added basic PCI Interrupt Routing Table (PRT) support for IA32
11999(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
12000version supports both static and dyanmic PRT entries, but dynamic
12001entries are treated as if they were static (not yet
12002reconfigurable).  Architecture- specific code to use this data is
12003absent on IA32 but should be available shortly.
12004
12005Changed the initialization sequence to start the ACPI interpreter
12006(acpi_init) prior to initialization of the PCI driver (pci_init)
12007in init/main.c.  This ordering is required to support PRT and
12008facilitate other (future) enhancement.  A side effect is that the
12009ACPI bus driver and certain device drivers can no longer be loaded
12010as modules.
12011
12012Modified the 'make menuconfig' options to allow PCI Interrupt
12013Routing support to be included without the ACPI Bus and other
12014device drivers.
12015
12016 3) ASL Compiler, version X2033:
12017
12018Fixed some issues with the use of the new CopyObject and
12019DataTableRegion operators.  Both are fully functional.
12020
12021 ----------------------------------------
12022Summary of changes for this label: 11_20_01
12023
12024 20 November 2001.  Summary of changes for this release.
12025
12026 1) ACPI CA Core Subsystem:
12027
12028Updated Index support to match ACPI 2.0 semantics.  Storing a
12029Integer, String, or Buffer to an Index of a Buffer will store only
12030the least-significant byte of the source to the Indexed buffer
12031byte.  Multiple writes are not performed.
12032
12033Fixed a problem where the access type used in an AccessAs ASL
12034operator was not recorded correctly into the field object.
12035
12036Fixed a problem where ASL Event objects were created in a
12037signalled state. Events are now created in an unsignalled state.
12038
12039The internal object cache is now purged after table loading and
12040initialization to reduce the use of dynamic kernel memory -- on
12041the assumption that object use is greatest during the parse phase
12042of the entire table (versus the run-time use of individual control
12043methods.)
12044
12045ACPI 2.0 variable-length packages are now fully operational.
12046
12047Code and Data Size: Code and Data optimizations have permitted new
12048feature development with an actual reduction in the library size.
12049Current core subsystem library sizes are shown below.  These are
12050the code and data sizes for the acpica.lib produced by the
12051Microsoft Visual C++ 6.0 compiler, and these values do not include
12052any ACPI driver or OSPM code.  The debug version of the code
12053includes the debug output trace mechanism and has a larger code
12054and data size.  Note that these values will vary depending on the
12055efficiency of the compiler and the compiler options used during
12056generation.
12057
12058  Previous Release (11_09_01):
12059     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
12060     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
12061
12062  Current Release:
12063     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
12064     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
12065
12066 2) Linux:
12067
12068Enhanced the ACPI boot-time initialization code to allow the use
12069of Local APIC tables for processor enumeration on IA-32, and to
12070pave the way for a fully MPS-free boot (on SMP systems) in the
12071near future.  This functionality replaces
12072arch/i386/kernel/acpitables.c, which was introduced in an earlier
120732.4.15-preX release.  To enable this feature you must add
12074"acpi_boot=on" to the kernel command line -- see the help entry
12075for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
12076the works...
12077
12078Restructured the configuration options to allow boot-time table
12079parsing support without inclusion of the ACPI Interpreter (and
12080other) code.
12081
12082NOTE: This release does not include fixes for the reported events,
12083power-down, and thermal passive cooling issues (coming soon).
12084
12085 3) ASL Compiler:
12086
12087Added additional typechecking for Fields within restricted access
12088Operation Regions.  All fields within EC and CMOS regions must be
12089declared with ByteAcc. All fields withing SMBus regions must be
12090declared with the BufferAcc access type.
12091
12092Fixed a problem where the listing file output of control methods
12093no longer interleaved the actual AML code with the ASL source
12094code.
12095
12096
12097
12098
12099----------------------------------------
12100Summary of changes for this label: 11_09_01
12101
121021) ACPI CA Core Subsystem:
12103
12104Implemented ACPI 2.0-defined support for writes to fields with a
12105Buffer, String, or Integer source operand that is smaller than the
12106target field. In these cases, the source operand is zero-extended
12107to fill the target field.
12108
12109Fixed a problem where a Field starting bit offset (within the
12110parent operation region) was calculated incorrectly if the
12111
12112alignment of the field differed from the access width.  This
12113affected CreateWordField, CreateDwordField, CreateQwordField, and
12114possibly other fields that use the "AccessAny" keyword.
12115
12116Fixed a problem introduced in the 11_02_01 release where indirect
12117stores through method arguments did not operate correctly.
12118
121192) Linux:
12120
12121Implemented boot-time ACPI table parsing support
12122(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
12123facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
12124legacy BIOS interfaces (e.g. MPS) for the configuration of system
12125processors, memory, and interrupts during setup_arch().  Note that
12126this patch does not include the required architecture-specific
12127changes required to apply this information -- subsequent patches
12128will be posted for both IA32 and IA64 to achieve this.
12129
12130Added low-level sleep support for IA32 platforms, courtesy of Pat
12131Mochel. This allows IA32 systems to transition to/from various
12132sleeping states (e.g. S1, S3), although the lack of a centralized
12133driver model and power-manageable drivers will prevent its
12134(successful) use on most systems.
12135
12136Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
12137submenu, unified IA32 and IA64 options, added new "Boot using ACPI
12138tables" option, etc.
12139
12140Increased the default timeout for the EC driver from 1ms to 10ms
12141(1000 cycles of 10us) to try to address AE_TIME errors during EC
12142transactions.
12143
12144 ----------------------------------------
12145Summary of changes for this label: 11_02_01
12146
121471) ACPI CA Core Subsystem:
12148
12149ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
12150(QWordAcc keyword). All ACPI 2.0 64-bit support is now
12151implemented.
12152
12153OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
12154changes to support ACPI 2.0 Qword field access.  Read/Write
12155PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
12156accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
12157the value parameter for the address space handler interface is now
12158an ACPI_INTEGER.  OSL implementations of these interfaces must now
12159handle the case where the Width parameter is 64.
12160
12161Index Fields: Fixed a problem where unaligned bit assembly and
12162disassembly for IndexFields was not supported correctly.
12163
12164Index and Bank Fields:  Nested Index and Bank Fields are now
12165supported. During field access, a check is performed to ensure
12166that the value written to an Index or Bank register is not out of
12167the range of the register.  The Index (or Bank) register is
12168written before each access to the field data. Future support will
12169include allowing individual IndexFields to be wider than the
12170DataRegister width.
12171
12172Fields: Fixed a problem where the AML interpreter was incorrectly
12173attempting to write beyond the end of a Field/OpRegion.  This was
12174a boundary case that occurred when a DWORD field was written to a
12175BYTE access OpRegion, forcing multiple writes and causing the
12176interpreter to write one datum too many.
12177
12178Fields: Fixed a problem with Field/OpRegion access where the
12179starting bit address of a field was incorrectly calculated if the
12180current access type was wider than a byte (WordAcc, DwordAcc, or
12181QwordAcc).
12182
12183Fields: Fixed a problem where forward references to individual
12184FieldUnits (individual Field names within a Field definition) were
12185not resolved during the AML table load.
12186
12187Fields: Fixed a problem where forward references from a Field
12188definition to the parent Operation Region definition were not
12189resolved during the AML table load.
12190
12191Fields: Duplicate FieldUnit names within a scope are now detected
12192during AML table load.
12193
12194Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
12195returned an incorrect name for the root node.
12196
12197Code and Data Size: Code and Data optimizations have permitted new
12198feature development with an actual reduction in the library size.
12199Current core subsystem library sizes are shown below.  These are
12200the code and data sizes for the acpica.lib produced by the
12201Microsoft Visual C++ 6.0 compiler, and these values do not include
12202any ACPI driver or OSPM code.  The debug version of the code
12203includes the debug output trace mechanism and has a larger code
12204and data size.  Note that these values will vary depending on the
12205efficiency of the compiler and the compiler options used during
12206generation.
12207
12208  Previous Release (10_18_01):
12209     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
12210     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
12211
12212  Current Release:
12213     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
12214     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
12215
12216 2) Linux:
12217
12218Improved /proc processor output (Pavel Machek) Re-added
12219MODULE_LICENSE("GPL") to all modules.
12220
12221 3) ASL Compiler version X2030:
12222
12223Duplicate FieldUnit names within a scope are now detected and
12224flagged as errors.
12225
12226 4) Documentation:
12227
12228Programmer Reference updated to reflect OSL and address space
12229handler interface changes described above.
12230
12231----------------------------------------
12232Summary of changes for this label: 10_18_01
12233
12234ACPI CA Core Subsystem:
12235
12236Fixed a problem with the internal object reference count mechanism
12237that occasionally caused premature object deletion. This resolves
12238all of the outstanding problem reports where an object is deleted
12239in the middle of an interpreter evaluation.  Although this problem
12240only showed up in rather obscure cases, the solution to the
12241problem involved an adjustment of all reference counts involving
12242objects attached to namespace nodes.
12243
12244Fixed a problem with Field support in the interpreter where
12245writing to an aligned field whose length is an exact multiple (2
12246or greater) of the field access granularity would cause an attempt
12247to write beyond the end of the field.
12248
12249The top level AML opcode execution functions within the
12250interpreter have been renamed with a more meaningful and
12251consistent naming convention.  The modules exmonad.c and
12252exdyadic.c were eliminated.  New modules are exoparg1.c,
12253exoparg2.c, exoparg3.c, and exoparg6.c.
12254
12255Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
12256
12257Fixed a problem where the AML debugger was causing some internal
12258objects to not be deleted during subsystem termination.
12259
12260Fixed a problem with the external AcpiEvaluateObject interface
12261where the subsystem would fault if the named object to be
12262evaluated refered to a constant such as Zero, Ones, etc.
12263
12264Fixed a problem with IndexFields and BankFields where the
12265subsystem would fault if the index, data, or bank registers were
12266not defined in the same scope as the field itself.
12267
12268Added printf format string checking for compilers that support
12269this feature.  Corrected more than 50 instances of issues with
12270format specifiers within invocations of ACPI_DEBUG_PRINT
12271throughout the core subsystem code.
12272
12273The ASL "Revision" operator now returns the ACPI support level
12274implemented in the core - the value "2" since the ACPI 2.0 support
12275is more than 50% implemented.
12276
12277Enhanced the output of the AML debugger "dump namespace" command
12278to output in a more human-readable form.
12279
12280Current core subsystem library code sizes are shown below.  These
12281
12282are the code and data sizes for the acpica.lib produced by the
12283Microsoft Visual C++ 6.0 compiler, and these values do not include
12284any ACPI driver or OSPM code.  The debug version of the code
12285includes the full debug trace mechanism -- leading to a much
12286
12287larger code and data size.  Note that these values will vary
12288depending on the efficiency of the compiler and the compiler
12289options used during generation.
12290
12291     Previous Label (09_20_01):
12292     Non-Debug Version:    65K Code,     5K Data,     70K Total
12293     Debug Version:       138K Code,    58K Data,    196K Total
12294
12295     This Label:
12296
12297     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
12298     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
12299
12300Linux:
12301
12302Implemented a "Bad BIOS Blacklist" to track machines that have
12303known ASL/AML problems.
12304
12305Enhanced the /proc interface for the thermal zone driver and added
12306support for _HOT (the critical suspend trip point).  The 'info'
12307file now includes threshold/policy information, and allows setting
12308of _SCP (cooling preference) and _TZP (polling frequency) values
12309to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
12310frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
12311preference to the passive/quiet mode (if supported by the ASL).
12312
12313Implemented a workaround for a gcc bug that resuted in an OOPs
12314when loading the control method battery driver.
12315
12316 ----------------------------------------
12317Summary of changes for this label: 09_20_01
12318
12319 ACPI CA Core Subsystem:
12320
12321The AcpiEnableEvent and AcpiDisableEvent interfaces have been
12322modified to allow individual GPE levels to be flagged as wake-
12323enabled (i.e., these GPEs are to remain enabled when the platform
12324sleeps.)
12325
12326The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
12327support wake-enabled GPEs.  This means that upon entering the
12328sleep state, all GPEs that are not wake-enabled are disabled.
12329When leaving the sleep state, these GPEs are reenabled.
12330
12331A local double-precision divide/modulo module has been added to
12332enhance portability to OS kernels where a 64-bit math library is
12333not available.  The new module is "utmath.c".
12334
12335Several optimizations have been made to reduce the use of CPU
12336stack.  Originally over 2K, the maximum stack usage is now below
123372K at 1860  bytes (1.82k)
12338
12339Fixed a problem with the AcpiGetFirmwareTable interface where the
12340root table pointer was not mapped into a logical address properly.
12341
12342Fixed a problem where a NULL pointer was being dereferenced in the
12343interpreter code for the ASL Notify operator.
12344
12345Fixed a problem where the use of the ASL Revision operator
12346returned an error. This operator now returns the current version
12347of the ACPI CA core subsystem.
12348
12349Fixed a problem where objects passed as control method parameters
12350to AcpiEvaluateObject were always deleted at method termination.
12351However, these objects may end up being stored into the namespace
12352by the called method.  The object reference count mechanism was
12353applied to these objects instead of a force delete.
12354
12355Fixed a problem where static strings or buffers (contained in the
12356AML code) that are declared as package elements within the ASL
12357code could cause a fault because the interpreter would attempt to
12358delete them.  These objects are now marked with the "static
12359object" flag to prevent any attempt to delete them.
12360
12361Implemented an interpreter optimization to use operands directly
12362from the state object instead of extracting the operands to local
12363variables.  This reduces stack use and code size, and improves
12364performance.
12365
12366The module exxface.c was eliminated as it was an unnecessary extra
12367layer of code.
12368
12369Current core subsystem library code sizes are shown below.  These
12370are the code and data sizes for the acpica.lib produced by the
12371Microsoft Visual C++ 6.0 compiler, and these values do not include
12372any ACPI driver or OSPM code.  The debug version of the code
12373includes the full debug trace mechanism -- leading to a much
12374larger code and data size.  Note that these values will vary
12375depending on the efficiency of the compiler and the compiler
12376options used during generation.
12377
12378  Non-Debug Version:  65K Code,   5K Data,   70K Total
12379(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
12380Total  (Previously 195K)
12381
12382Linux:
12383
12384Support for ACPI 2.0 64-bit integers has been added.   All ACPI
12385Integer objects are now 64 bits wide
12386
12387All Acpi data types and structures are now in lower case.  Only
12388Acpi macros are upper case for differentiation.
12389
12390 Documentation:
12391
12392Changes to the external interfaces as described above.
12393
12394 ----------------------------------------
12395Summary of changes for this label: 08_31_01
12396
12397 ACPI CA Core Subsystem:
12398
12399A bug with interpreter implementation of the ASL Divide operator
12400was found and fixed.  The implicit function return value (not the
12401explicit store operands) was returning the remainder instead of
12402the quotient.  This was a longstanding bug and it fixes several
12403known outstanding issues on various platforms.
12404
12405The ACPI_DEBUG_PRINT and function trace entry/exit macros have
12406been further optimized for size.  There are 700 invocations of the
12407DEBUG_PRINT macro alone, so each optimization reduces the size of
12408the debug version of the subsystem significantly.
12409
12410A stack trace mechanism has been implemented.  The maximum stack
12411usage is about 2K on 32-bit platforms.  The debugger command "stat
12412stack" will display the current maximum stack usage.
12413
12414All public symbols and global variables within the subsystem are
12415now prefixed with the string "Acpi".  This keeps all of the
12416symbols grouped together in a kernel map, and avoids conflicts
12417with other kernel subsystems.
12418
12419Most of the internal fixed lookup tables have been moved into the
12420code segment via the const operator.
12421
12422Several enhancements have been made to the interpreter to both
12423reduce the code size and improve performance.
12424
12425Current core subsystem library code sizes are shown below.  These
12426are the code and data sizes for the acpica.lib produced by the
12427Microsoft Visual C++ 6.0 compiler, and these values do not include
12428any ACPI driver or OSPM code.  The debug version of the code
12429includes the full debug trace mechanism which contains over 700
12430invocations of the DEBUG_PRINT macro, 500 function entry macro
12431invocations, and over 900 function exit macro invocations --
12432leading to a much larger code and data size.  Note that these
12433values will vary depending on the efficiency of the compiler and
12434the compiler options used during generation.
12435
12436        Non-Debug Version:  64K Code,   5K Data,   69K Total
12437Debug Version:     137K Code,  58K Data,  195K Total
12438
12439 Linux:
12440
12441Implemented wbinvd() macro, pending a kernel-wide definition.
12442
12443Fixed /proc/acpi/event to handle poll() and short reads.
12444
12445 ASL Compiler, version X2026:
12446
12447Fixed a problem introduced in the previous label where the AML
12448
12449code emitted for package objects produced packages with zero
12450length.
12451
12452 ----------------------------------------
12453Summary of changes for this label: 08_16_01
12454
12455ACPI CA Core Subsystem:
12456
12457The following ACPI 2.0 ASL operators have been implemented in the
12458AML interpreter (These are already supported by the Intel ASL
12459compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
12460ToBuffer.  Support for 64-bit AML constants is implemented in the
12461AML parser, debugger, and disassembler.
12462
12463The internal memory tracking mechanism (leak detection code) has
12464been upgraded to reduce the memory overhead (a separate tracking
12465block is no longer allocated for each memory allocation), and now
12466supports all of the internal object caches.
12467
12468The data structures and code for the internal object caches have
12469been coelesced and optimized so that there is a single cache and
12470memory list data structure and a single group of functions that
12471implement generic cache management.  This has reduced the code
12472size in both the debug and release versions of the subsystem.
12473
12474The DEBUG_PRINT macro(s) have been optimized for size and replaced
12475by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
12476different, because it generates a single call to an internal
12477function.  This results in a savings of about 90 bytes per
12478invocation, resulting in an overall code and data savings of about
1247916% in the debug version of the subsystem.
12480
12481 Linux:
12482
12483Fixed C3 disk corruption problems and re-enabled C3 on supporting
12484machines.
12485
12486Integrated low-level sleep code by Patrick Mochel.
12487
12488Further tweaked source code Linuxization.
12489
12490Other minor fixes.
12491
12492 ASL Compiler:
12493
12494Support for ACPI 2.0 variable length packages is fixed/completed.
12495
12496Fixed a problem where the optional length parameter for the ACPI
124972.0 ToString operator.
12498
12499Fixed multiple extraneous error messages when a syntax error is
12500detected within the declaration line of a control method.
12501
12502 ----------------------------------------
12503Summary of changes for this label: 07_17_01
12504
12505ACPI CA Core Subsystem:
12506
12507Added a new interface named AcpiGetFirmwareTable to obtain any
12508ACPI table via the ACPI signature.  The interface can be called at
12509any time during kernel initialization, even before the kernel
12510virtual memory manager is initialized and paging is enabled.  This
12511allows kernel subsystems to obtain ACPI tables very early, even
12512before the ACPI CA subsystem is initialized.
12513
12514Fixed a problem where Fields defined with the AnyAcc attribute
12515could be resolved to the incorrect address under the following
12516conditions: 1) the field width is larger than 8 bits and 2) the
12517parent operation region is not defined on a DWORD boundary.
12518
12519Fixed a problem where the interpreter is not being locked during
12520namespace initialization (during execution of the _INI control
12521methods), causing an error when an attempt is made to release it
12522later.
12523
12524ACPI 2.0 support in the AML Interpreter has begun and will be
12525ongoing throughout the rest of this year.  In this label, The Mod
12526operator is implemented.
12527
12528Added a new data type to contain full PCI addresses named
12529ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
12530and Function values.
12531
12532 Linux:
12533
12534Enhanced the Linux version of the source code to change most
12535capitalized ACPI type names to lowercase. For example, all
12536instances of ACPI_STATUS are changed to acpi_status.  This will
12537result in a large diff, but the change is strictly cosmetic and
12538aligns the CA code closer to the Linux coding standard.
12539
12540OSL Interfaces:
12541
12542The interfaces to the PCI configuration space have been changed to
12543add the PCI Segment number and to split the single 32-bit combined
12544DeviceFunction field into two 16-bit fields.  This was
12545accomplished by moving the four values that define an address in
12546PCI configuration space (segment, bus, device, and function) to
12547the new ACPI_PCI_ID structure.
12548
12549The changes to the PCI configuration space interfaces led to a
12550reexamination of the complete set of address space access
12551interfaces for PCI, I/O, and Memory.  The previously existing 18
12552interfaces have proven difficult to maintain (any small change
12553must be propagated across at least 6 interfaces) and do not easily
12554allow for future expansion to 64 bits if necessary.  Also, on some
12555systems, it would not be appropriate to demultiplex the access
12556width (8, 16, 32,or 64) before calling the OSL if the
12557corresponding native OS interfaces contain a similar access width
12558parameter.  For these reasons, the 18 address space interfaces
12559have been replaced by these 6 new ones:
12560
12561AcpiOsReadPciConfiguration
12562AcpiOsWritePciConfiguration
12563AcpiOsReadMemory
12564AcpiOsWriteMemory
12565AcpiOsReadPort
12566AcpiOsWritePort
12567
12568Added a new interface named AcpiOsGetRootPointer to allow the OSL
12569to perform the platform and/or OS-specific actions necessary to
12570obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
12571interface will simply call down to the CA core to perform the low-
12572memory search for the table.  On IA-64, the RSDP is obtained from
12573EFI.  Migrating this interface to the OSL allows the CA core to
12574
12575remain OS and platform independent.
12576
12577Added a new interface named AcpiOsSignal to provide a generic
12578"function code and pointer" interface for various miscellaneous
12579signals and notifications that must be made to the host OS.   The
12580first such signals are intended to support the ASL Fatal and
12581Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
12582interface has been obsoleted.
12583
12584The definition of the AcpiFormatException interface has been
12585changed to simplify its use.  The caller no longer must supply a
12586buffer to the call; A pointer to a const string is now returned
12587directly.  This allows the call to be easily used in printf
12588statements, etc. since the caller does not have to manage a local
12589buffer.
12590
12591
12592 ASL Compiler, Version X2025:
12593
12594The ACPI 2.0 Switch/Case/Default operators have been implemented
12595and are fully functional.  They will work with all ACPI 1.0
12596interpreters, since the operators are simply translated to If/Else
12597pairs.
12598
12599The ACPI 2.0 ElseIf operator is implemented and will also work
12600with 1.0 interpreters, for the same reason.
12601
12602Implemented support for ACPI 2.0 variable-length packages.  These
12603packages have a separate opcode, and their size is determined by
12604the interpreter at run-time.
12605
12606Documentation The ACPI CA Programmer Reference has been updated to
12607reflect the new interfaces and changes to existing interfaces.
12608
12609 ------------------------------------------
12610Summary of changes for this label: 06_15_01
12611
12612 ACPI CA Core Subsystem:
12613
12614Fixed a problem where a DWORD-accessed field within a Buffer
12615object would get its byte address inadvertently rounded down to
12616the nearest DWORD.  Buffers are always Byte-accessible.
12617
12618 ASL Compiler, version X2024:
12619
12620Fixed a problem where the Switch() operator would either fault or
12621hang the compiler.  Note however, that the AML code for this ACPI
126222.0 operator is not yet implemented.
12623
12624Compiler uses the new AcpiOsGetTimer interface to obtain compile
12625timings.
12626
12627Implementation of the CreateField operator automatically converts
12628a reference to a named field within a resource descriptor from a
12629byte offset to a bit offset if required.
12630
12631Added some missing named fields from the resource descriptor
12632support. These are the names that are automatically created by the
12633compiler to reference fields within a descriptor.  They are only
12634valid at compile time and are not passed through to the AML
12635interpreter.
12636
12637Resource descriptor named fields are now typed as Integers and
12638subject to compile-time typechecking when used in expressions.
12639
12640 ------------------------------------------
12641Summary of changes for this label: 05_18_01
12642
12643 ACPI CA Core Subsystem:
12644
12645Fixed a couple of problems in the Field support code where bits
12646from adjacent fields could be returned along with the proper field
12647bits. Restructured the field support code to improve performance,
12648readability and maintainability.
12649
12650New DEBUG_PRINTP macro automatically inserts the procedure name
12651into the output, saving hundreds of copies of procedure name
12652strings within the source, shrinking the memory footprint of the
12653debug version of the core subsystem.
12654
12655 Source Code Structure:
12656
12657The source code directory tree was restructured to reflect the
12658current organization of the component architecture.  Some files
12659and directories have been moved and/or renamed.
12660
12661 Linux:
12662
12663Fixed leaking kacpidpc processes.
12664
12665Fixed queueing event data even when /proc/acpi/event is not
12666opened.
12667
12668 ASL Compiler, version X2020:
12669
12670Memory allocation performance enhancement - over 24X compile time
12671improvement on large ASL files.  Parse nodes and namestring
12672buffers are now allocated from a large internal compiler buffer.
12673
12674The temporary .SRC file is deleted unless the "-s" option is
12675specified
12676
12677The "-d" debug output option now sends all output to the .DBG file
12678instead of the console.
12679
12680"External" second parameter is now optional
12681
12682"ElseIf" syntax now properly allows the predicate
12683
12684Last operand to "Load" now recognized as a Target operand
12685
12686Debug object can now be used anywhere as a normal object.
12687
12688ResourceTemplate now returns an object of type BUFFER
12689
12690EISAID now returns an object of type INTEGER
12691
12692"Index" now works with a STRING operand
12693
12694"LoadTable" now accepts optional parameters
12695
12696"ToString" length parameter is now optional
12697
12698"Interrupt (ResourceType," parse error fixed.
12699
12700"Register" with a user-defined region space parse error fixed
12701
12702Escaped backslash at the end of a string ("\\") scan/parse error
12703fixed
12704
12705"Revision" is now an object of type INTEGER.
12706
12707
12708
12709------------------------------------------
12710Summary of changes for this label: 05_02_01
12711
12712Linux:
12713
12714/proc/acpi/event now blocks properly.
12715
12716Removed /proc/sys/acpi. You can still dump your DSDT from
12717/proc/acpi/dsdt.
12718
12719 ACPI CA Core Subsystem:
12720
12721Fixed a problem introduced in the previous label where some of the
12722"small" resource descriptor types were not recognized.
12723
12724Improved error messages for the case where an ASL Field is outside
12725the range of the parent operation region.
12726
12727 ASL Compiler, version X2018:
12728
12729
12730Added error detection for ASL Fields that extend beyond the length
12731of the parent operation region (only if the length of the region
12732is known at compile time.)  This includes fields that have a
12733minimum access width that is smaller than the parent region, and
12734individual field units that are partially or entirely beyond the
12735extent of the parent.
12736
12737
12738
12739------------------------------------------
12740Summary of changes for this label: 04_27_01
12741
12742 ACPI CA Core Subsystem:
12743
12744Fixed a problem where the namespace mutex could be released at the
12745wrong time during execution of AcpiRemoveAddressSpaceHandler.
12746
12747Added optional thread ID output for debug traces, to simplify
12748debugging of multiple threads.  Added context switch notification
12749when the debug code realizes that a different thread is now
12750executing ACPI code.
12751
12752Some additional external data types have been prefixed with the
12753string "ACPI_" for consistency.  This may effect existing code.
12754The data types affected are the external callback typedefs - e.g.,
12755
12756WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
12757
12758 Linux:
12759
12760Fixed an issue with the OSL semaphore implementation where a
12761thread was waking up with an error from receiving a SIGCHLD
12762signal.
12763
12764Linux version of ACPI CA now uses the system C library for string
12765manipulation routines instead of a local implementation.
12766
12767Cleaned up comments and removed TBDs.
12768
12769 ASL Compiler, version X2017:
12770
12771Enhanced error detection and reporting for all file I/O
12772operations.
12773
12774 Documentation:
12775
12776Programmer Reference updated to version 1.06.
12777
12778
12779
12780------------------------------------------
12781Summary of changes for this label: 04_13_01
12782
12783 ACPI CA Core Subsystem:
12784
12785Restructured support for BufferFields and RegionFields.
12786BankFields support is now fully operational.  All known 32-bit
12787limitations on field sizes have been removed.  Both BufferFields
12788and (Operation) RegionFields are now supported by the same field
12789management code.
12790
12791Resource support now supports QWORD address and IO resources. The
1279216/32/64 bit address structures and the Extended IRQ structure
12793have been changed to properly handle Source Resource strings.
12794
12795A ThreadId of -1 is now used to indicate a "mutex not acquired"
12796condition internally and must never be returned by AcpiOsThreadId.
12797This reserved value was changed from 0 since Unix systems allow a
12798thread ID of 0.
12799
12800Linux:
12801
12802Driver code reorganized to enhance portability
12803
12804Added a kernel configuration option to control ACPI_DEBUG
12805
12806Fixed the EC driver to honor _GLK.
12807
12808ASL Compiler, version X2016:
12809
12810Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
12811address space was set to 0, not 0x7f as it should be.
12812
12813 ------------------------------------------
12814Summary of changes for this label: 03_13_01
12815
12816 ACPI CA Core Subsystem:
12817
12818During ACPI initialization, the _SB_._INI method is now run if
12819present.
12820
12821Notify handler fix - notifies are deferred until the parent method
12822completes execution.  This fixes the "mutex already acquired"
12823issue seen occasionally.
12824
12825Part of the "implicit conversion" rules in ACPI 2.0 have been
12826found to cause compatibility problems with existing ASL/AML.  The
12827convert "result-to-target-type" implementation has been removed
12828for stores to method Args and Locals.  Source operand conversion
12829is still fully implemented.  Possible changes to ACPI 2.0
12830specification pending.
12831
12832Fix to AcpiRsCalculatePciRoutingTableLength to return correct
12833length.
12834
12835Fix for compiler warnings for 64-bit compiles.
12836
12837 Linux:
12838
12839/proc output aligned for easier parsing.
12840
12841Release-version compile problem fixed.
12842
12843New kernel configuration options documented in Configure.help.
12844
12845IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
12846context" message.
12847
12848 OSPM:
12849
12850Power resource driver integrated with bus manager.
12851
12852Fixed kernel fault during active cooling for thermal zones.
12853
12854Source Code:
12855
12856The source code tree has been restructured.
12857
12858
12859
12860------------------------------------------
12861Summary of changes for this label: 03_02_01
12862
12863 Linux OS Services Layer (OSL):
12864
12865Major revision of all Linux-specific code.
12866
12867Modularized all ACPI-specific drivers.
12868
12869Added new thermal zone and power resource drivers.
12870
12871Revamped /proc interface (new functionality is under /proc/acpi).
12872
12873New kernel configuration options.
12874
12875 Linux known issues:
12876
12877New kernel configuration options not documented in Configure.help
12878yet.
12879
12880
12881Module dependencies not currently implemented. If used, they
12882should be loaded in this order: busmgr, power, ec, system,
12883processor, battery, ac_adapter, button, thermal.
12884
12885Modules will not load if CONFIG_MODVERSION is set.
12886
12887IBM 600E - entering S5 may reboot instead of shutting down.
12888
12889IBM 600E - Sleep button may generate "Invalid <NULL> context"
12890message.
12891
12892Some systems may fail with "execution mutex already acquired"
12893message.
12894
12895 ACPI CA Core Subsystem:
12896
12897Added a new OSL Interface, AcpiOsGetThreadId.  This was required
12898for the  deadlock detection code. Defined to return a non-zero, 32-
12899bit thread ID for the currently executing thread.  May be a non-
12900zero constant integer on single-thread systems.
12901
12902Implemented deadlock detection for internal subsystem mutexes.  We
12903may add conditional compilation for this code (debug only) later.
12904
12905ASL/AML Mutex object semantics are now fully supported.  This
12906includes multiple acquires/releases by owner and support for the
12907
12908Mutex SyncLevel parameter.
12909
12910A new "Force Release" mechanism automatically frees all ASL
12911Mutexes that have been acquired but not released when a thread
12912exits the interpreter.  This forces conformance to the ACPI spec
12913("All mutexes must be released when an invocation exits") and
12914prevents deadlocked ASL threads.  This mechanism can be expanded
12915(later) to monitor other resource acquisitions if OEM ASL code
12916continues to misbehave (which it will).
12917
12918Several new ACPI exception codes have been added for the Mutex
12919support.
12920
12921Recursive method calls are now allowed and supported (the ACPI
12922spec does in fact allow recursive method calls.)  The number of
12923recursive calls is subject to the restrictions imposed by the
12924SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
12925parameter.
12926
12927Implemented support for the SyncLevel parameter for control
12928methods (ACPI 2.0 feature)
12929
12930Fixed a deadlock problem when multiple threads attempted to use
12931the interpreter.
12932
12933Fixed a problem where the string length of a String package
12934element was not always set in a package returned from
12935AcpiEvaluateObject.
12936
12937Fixed a problem where the length of a String package element was
12938not always included in the length of the overall package returned
12939from AcpiEvaluateObject.
12940
12941Added external interfaces (Acpi*) to the ACPI debug memory
12942manager.  This manager keeps a list of all outstanding
12943allocations, and can therefore detect memory leaks and attempts to
12944free memory blocks more than once. Useful for code such as the
12945power manager, etc.  May not be appropriate for device drivers.
12946Performance with the debug code enabled is slow.
12947
12948The ACPI Global Lock is now an optional hardware element.
12949
12950 ASL Compiler Version X2015:
12951
12952Integrated changes to allow the compiler to be generated on
12953multiple platforms.
12954
12955Linux makefile added to generate the compiler on Linux
12956
12957 Source Code:
12958
12959All platform-specific headers have been moved to their own
12960subdirectory, Include/Platform.
12961
12962New source file added, Interpreter/ammutex.c
12963
12964New header file, Include/acstruct.h
12965
12966 Documentation:
12967
12968The programmer reference has been updated for the following new
12969interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
12970
12971 ------------------------------------------
12972Summary of changes for this label: 02_08_01
12973
12974Core ACPI CA Subsystem: Fixed a problem where an error was
12975incorrectly returned if the return resource buffer was larger than
12976the actual data (in the resource interfaces).
12977
12978References to named objects within packages are resolved to the
12979
12980full pathname string before packages are returned directly (via
12981the AcpiEvaluateObject interface) or indirectly via the resource
12982interfaces.
12983
12984Linux OS Services Layer (OSL):
12985
12986Improved /proc battery interface.
12987
12988
12989Added C-state debugging output and other miscellaneous fixes.
12990
12991ASL Compiler Version X2014:
12992
12993All defined method arguments can now be used as local variables,
12994including the ones that are not actually passed in as parameters.
12995The compiler tracks initialization of the arguments and issues an
12996exception if they are used without prior assignment (just like
12997locals).
12998
12999The -o option now specifies a filename prefix that is used for all
13000output files, including the AML output file.  Otherwise, the
13001default behavior is as follows:  1) the AML goes to the file
13002specified in the DSDT.  2) all other output files use the input
13003source filename as the base.
13004
13005 ------------------------------------------
13006Summary of changes for this label: 01_25_01
13007
13008Core ACPI CA Subsystem: Restructured the implementation of object
13009store support within the  interpreter.  This includes support for
13010the Store operator as well  as any ASL operators that include a
13011target operand.
13012
13013Partially implemented support for Implicit Result-to-Target
13014conversion. This is when a result object is converted on the fly
13015to the type of  an existing target object.  Completion of this
13016support is pending  further analysis of the ACPI specification
13017concerning this matter.
13018
13019CPU-specific code has been removed from the subsystem (hardware
13020directory).
13021
13022New Power Management Timer functions added
13023
13024Linux OS Services Layer (OSL): Moved system state transition code
13025to the core, fixed it, and modified  Linux OSL accordingly.
13026
13027Fixed C2 and C3 latency calculations.
13028
13029
13030We no longer use the compilation date for the version message on
13031initialization, but retrieve the version from AcpiGetSystemInfo().
13032
13033Incorporated for fix Sony VAIO machines.
13034
13035Documentation:  The Programmer Reference has been updated and
13036reformatted.
13037
13038
13039ASL Compiler:  Version X2013: Fixed a problem where the line
13040numbering and error reporting could get out  of sync in the
13041presence of multiple include files.
13042
13043 ------------------------------------------
13044Summary of changes for this label: 01_15_01
13045
13046Core ACPI CA Subsystem:
13047
13048Implemented support for type conversions in the execution of the
13049ASL  Concatenate operator (The second operand is converted to
13050match the type  of the first operand before concatenation.)
13051
13052Support for implicit source operand conversion is partially
13053implemented.   The ASL source operand types Integer, Buffer, and
13054String are freely  interchangeable for most ASL operators and are
13055converted by the interpreter  on the fly as required.  Implicit
13056Target operand conversion (where the  result is converted to the
13057target type before storing) is not yet implemented.
13058
13059Support for 32-bit and 64-bit BCD integers is implemented.
13060
13061Problem fixed where a field read on an aligned field could cause a
13062read  past the end of the field.
13063
13064New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
13065does not return a value, but the caller expects one.  (The ASL
13066compiler flags this as a warning.)
13067
13068ASL Compiler:
13069
13070Version X2011:
130711. Static typechecking of all operands is implemented. This
13072prevents the use of invalid objects (such as using a Package where
13073an Integer is required) at compile time instead of at interpreter
13074run-time.
130752. The ASL source line is printed with ALL errors and warnings.
130763. Bug fix for source EOF without final linefeed.
130774. Debug option is split into a parse trace and a namespace trace.
130785. Namespace output option (-n) includes initial values for
13079integers and strings.
130806. Parse-only option added for quick syntax checking.
130817. Compiler checks for duplicate ACPI name declarations
13082
13083Version X2012:
130841. Relaxed typechecking to allow interchangeability between
13085strings, integers, and buffers.  These types are now converted by
13086the interpreter at runtime.
130872. Compiler reports time taken by each internal subsystem in the
13088debug         output file.
13089
13090
13091 ------------------------------------------
13092Summary of changes for this label: 12_14_00
13093
13094ASL Compiler:
13095
13096This is the first official release of the compiler. Since the
13097compiler requires elements of the Core Subsystem, this label
13098synchronizes everything.
13099
13100------------------------------------------
13101Summary of changes for this label: 12_08_00
13102
13103
13104Fixed a problem where named references within the ASL definition
13105of both OperationRegions and CreateXXXFields did not work
13106properly.  The symptom was an AE_AML_OPERAND_TYPE during
13107initialization of the region/field. This is similar (but not
13108related internally) to the problem that was fixed in the last
13109label.
13110
13111Implemented both 32-bit and 64-bit support for the BCD ASL
13112functions ToBCD and FromBCD.
13113
13114Updated all legal headers to include "2000" in the copyright
13115years.
13116
13117 ------------------------------------------
13118Summary of changes for this label: 12_01_00
13119
13120Fixed a problem where method invocations within the ASL definition
13121of both OperationRegions and CreateXXXFields did not work
13122properly.  The symptom was an AE_AML_OPERAND_TYPE during
13123initialization of the region/field:
13124
13125  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
13126[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
13127(0x3005)
13128
13129Fixed a problem where operators with more than one nested
13130subexpression would fail.  The symptoms were varied, by mostly
13131AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
13132problem that has gone unnoticed until now.
13133
13134  Subtract (Add (1,2), Multiply (3,4))
13135
13136Fixed a problem where AcpiGetHandle didn't quite get fixed in the
13137previous build (The prefix part of a relative path was handled
13138incorrectly).
13139
13140Fixed a problem where Operation Region initialization failed if
13141the operation region name was a "namepath" instead of a simple
13142"nameseg". Symptom was an AE_NO_OPERAND error.
13143
13144Fixed a problem where an assignment to a local variable via the
13145indirect RefOf mechanism only worked for the first such
13146assignment.  Subsequent assignments were ignored.
13147
13148 ------------------------------------------
13149Summary of changes for this label: 11_15_00
13150
13151ACPI 2.0 table support with backwards support for ACPI 1.0 and the
131520.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
13153the AML  interpreter does NOT have support for the new 2.0 ASL
13154grammar terms at this time.
13155
13156All ACPI hardware access is via the GAS structures in the ACPI 2.0
13157FADT.
13158
13159All physical memory addresses across all platforms are now 64 bits
13160wide. Logical address width remains dependent on the platform
13161(i.e., "void *").
13162
13163AcpiOsMapMemory interface changed to a 64-bit physical address.
13164
13165The AML interpreter integer size is now 64 bits, as per the ACPI
131662.0 specification.
13167
13168For backwards compatibility with ACPI 1.0, ACPI tables with a
13169revision number less than 2 use 32-bit integers only.
13170
13171Fixed a problem where the evaluation of OpRegion operands did not
13172always resolve them to numbers properly.
13173
13174------------------------------------------
13175Summary of changes for this label: 10_20_00
13176
13177Fix for CBN_._STA issue.  This fix will allow correct access to
13178CBN_ OpRegions when the _STA returns 0x8.
13179
13180Support to convert ACPI constants (Ones, Zeros, One) to actual
13181values before a package object is returned
13182
13183Fix for method call as predicate to if/while construct causing
13184incorrect if/while behavior
13185
13186Fix for Else block package lengths sometimes calculated wrong (if
13187block > 63 bytes)
13188
13189Fix for Processor object length field, was always zero
13190
13191Table load abort if FACP sanity check fails
13192
13193Fix for problem with Scope(name) if name already exists
13194
13195Warning emitted if a named object referenced cannot be found
13196(resolved) during method execution.
13197
13198
13199
13200
13201
13202------------------------------------------
13203Summary of changes for this label: 9_29_00
13204
13205New table initialization interfaces: AcpiInitializeSubsystem no
13206longer has any parameters AcpiFindRootPointer - Find the RSDP (if
13207necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
13208>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
13209AcpiLoadTables
13210
13211Note: These interface changes require changes to all existing OSDs
13212
13213The PCI_Config default address space handler is always installed
13214at the root namespace object.
13215
13216-------------------------------------------
13217Summary of changes for this label: 09_15_00
13218
13219The new initialization architecture is implemented.  New
13220interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
13221AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
13222
13223(Namespace is automatically loaded when a table is loaded)
13224
13225The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1322652 bytes to 32 bytes.  There is usually one of these for every
13227namespace object, so the memory savings is significant.
13228
13229Implemented just-in-time evaluation of the CreateField operators.
13230
13231Bug fixes for IA-64 support have been integrated.
13232
13233Additional code review comments have been implemented
13234
13235The so-called "third pass parse" has been replaced by a final walk
13236through the namespace to initialize all operation regions (address
13237spaces) and fields that have not yet been initialized during the
13238execution of the various _INI and REG methods.
13239
13240New file - namespace/nsinit.c
13241
13242-------------------------------------------
13243Summary of changes for this label: 09_01_00
13244
13245Namespace manager data structures have been reworked to change the
13246primary  object from a table to a single object.  This has
13247resulted in dynamic memory  savings of 3X within the namespace and
132482X overall in the ACPI CA subsystem.
13249
13250Fixed problem where the call to AcpiEvFindPciRootBuses was
13251inadvertently left  commented out.
13252
13253Reduced the warning count when generating the source with the GCC
13254compiler.
13255
13256Revision numbers added to each module header showing the
13257SourceSafe version of the file.  Please refer to this version
13258number when giving us feedback or comments on individual modules.
13259
13260The main object types within the subsystem have been renamed to
13261clarify their  purpose:
13262
13263ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
13264ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
13265ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
13266
13267NOTE: no changes to the initialization sequence are included in
13268this label.
13269
13270-------------------------------------------
13271Summary of changes for this label: 08_23_00
13272
13273Fixed problem where TerminateControlMethod was being called
13274multiple times per  method
13275
13276Fixed debugger problem where single stepping caused a semaphore to
13277be  oversignalled
13278
13279Improved performance through additional parse object caching -
13280added  ACPI_EXTENDED_OP type
13281
13282-------------------------------------------
13283Summary of changes for this label: 08_10_00
13284
13285Parser/Interpreter integration:  Eliminated the creation of
13286complete parse trees  for ACPI tables and control methods.
13287Instead, parse subtrees are created and  then deleted as soon as
13288they are processed (Either entered into the namespace or  executed
13289by the interpreter).  This reduces the use of dynamic kernel
13290memory  significantly. (about 10X)
13291
13292Exception codes broken into classes and renumbered.  Be sure to
13293recompile all  code that includes acexcep.h.  Hopefully we won't
13294have to renumber the codes  again now that they are split into
13295classes (environment, programmer, AML code,  ACPI table, and
13296internal).
13297
13298Fixed some additional alignment issues in the Resource Manager
13299subcomponent
13300
13301Implemented semaphore tracking in the AcpiExec utility, and fixed
13302several places  where mutexes/semaphores were being unlocked
13303without a corresponding lock  operation.  There are no known
13304semaphore or mutex "leaks" at this time.
13305
13306Fixed the case where an ASL Return operator is used to return an
13307unnamed  package.
13308
13309-------------------------------------------
13310Summary of changes for this label: 07_28_00
13311
13312Fixed a problem with the way addresses were calculated in
13313AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
13314manifested itself when a Field was  created with WordAccess or
13315DwordAccess, but the field unit defined within the  Field was less
13316
13317than a Word or Dword.
13318
13319Fixed a problem in AmlDumpOperands() module's loop to pull
13320operands off of the  operand stack to display information. The
13321problem manifested itself as a TLB  error on 64-bit systems when
13322accessing an operand stack with two or more  operands.
13323
13324Fixed a problem with the PCI configuration space handlers where
13325context was  getting confused between accesses. This required a
13326change to the generic address  space handler and address space
13327setup definitions. Handlers now get both a  global handler context
13328(this is the one passed in by the user when executing
13329AcpiInstallAddressSpaceHandler() and a specific region context
13330that is unique to  each region (For example, the _ADR, _SEG and
13331_BBN values associated with a  specific region). The generic
13332function definitions have changed to the  following:
13333
13334typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
13335UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
13336*HandlerContext, // This used to be void *Context void
13337*RegionContext); // This is an additional parameter
13338
13339typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
13340RegionHandle, UINT32 Function, void *HandlerContext,  void
13341**RegionContext); // This used to be **ReturnContext
13342
13343-------------------------------------------
13344Summary of changes for this label: 07_21_00
13345
13346Major file consolidation and rename.  All files within the
13347interpreter have been  renamed as well as most header files.  This
13348was done to prevent collisions with  existing files in the host
13349OSs -- filenames such as "config.h" and "global.h"  seem to be
13350quite common.  The VC project files have been updated.  All
13351makefiles  will require modification.
13352
13353The parser/interpreter integration continues in Phase 5 with the
13354implementation  of a complete 2-pass parse (the AML is parsed
13355twice) for each table;  This  avoids the construction of a huge
13356parse tree and therefore reduces the amount of  dynamic memory
13357required by the subsystem.  Greater use of the parse object cache
13358means that performance is unaffected.
13359
13360Many comments from the two code reviews have been rolled in.
13361
13362The 64-bit alignment support is complete.
13363
13364-------------------------------------------
13365Summary of changes for this label: 06_30_00
13366
13367With a nod and a tip of the hat to the technology of yesteryear,
13368we've added  support in the source code for 80 column output
13369devices.  The code is now mostly  constrained to 80 columns or
13370less to support environments and editors that 1)  cannot display
13371or print more than 80 characters on a single line, and 2) cannot
13372disable line wrapping.
13373
13374A major restructuring of the namespace data structure has been
13375completed.  The  result is 1) cleaner and more
13376understandable/maintainable code, and 2) a  significant reduction
13377in the dynamic memory requirement for each named ACPI  object
13378(almost half).
13379
13380-------------------------------------------
13381Summary of changes for this label: 06_23_00
13382
13383Linux support has been added.  In order to obtain approval to get
13384the ACPI CA  subsystem into the Linux kernel, we've had to make
13385quite a few changes to the  base subsystem that will affect all
13386users (all the changes are generic and OS- independent).  The
13387effects of these global changes have been somewhat far  reaching.
13388Files have been merged and/or renamed and interfaces have been
13389renamed.   The major changes are described below.
13390
13391Osd* interfaces renamed to AcpiOs* to eliminate namespace
13392pollution/confusion  within our target kernels.  All OSD
13393interfaces must be modified to match the new  naming convention.
13394
13395Files merged across the subsystem.  A number of the smaller source
13396and header  files have been merged to reduce the file count and
13397increase the density of the  existing files.  There are too many
13398to list here.  In general, makefiles that  call out individual
13399files will require rebuilding.
13400
13401Interpreter files renamed.  All interpreter files now have the
13402prefix am*  instead of ie* and is*.
13403
13404Header files renamed:  The acapi.h file is now acpixf.h.  The
13405acpiosd.h file is  now acpiosxf.h.  We are removing references to
13406the acronym "API" since it is  somewhat windowsy. The new name is
13407"external interface" or xface or xf in the  filenames.j
13408
13409
13410All manifest constants have been forced to upper case (some were
13411mixed case.)   Also, the string "ACPI_" has been prepended to many
13412(not all) of the constants,  typedefs, and structs.
13413
13414The globals "DebugLevel" and "DebugLayer" have been renamed
13415"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
13416
13417All other globals within the subsystem are now prefixed with
13418"AcpiGbl_" Internal procedures within the subsystem are now
13419prefixed with "Acpi" (with only  a few exceptions).  The original
13420two-letter abbreviation for the subcomponent  remains after "Acpi"
13421- for example, CmCallocate became AcpiCmCallocate.
13422
13423Added a source code translation/conversion utility.  Used to
13424generate the Linux  source code, it can be modified to generate
13425other types of source as well. Can  also be used to cleanup
13426existing source by removing extraneous spaces and blank  lines.
13427Found in tools/acpisrc/*
13428
13429OsdUnMapMemory was renamed to OsdUnmapMemory and then
13430AcpiOsUnmapMemory.  (UnMap  became Unmap).
13431
13432A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
13433When set to  one, this indicates that the caller wants to use the
13434
13435semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
13436both types.  However, implementers of this  call may want to use
13437different OS primitives depending on the type of semaphore
13438requested.  For example, some operating systems provide separate
13439
13440"mutex" and  "semaphore" interfaces - where the mutex interface is
13441much faster because it  doesn't have all the overhead of a full
13442semaphore implementation.
13443
13444Fixed a deadlock problem where a method that accesses the PCI
13445address space can  block forever if it is the first access to the
13446space.
13447
13448-------------------------------------------
13449Summary of changes for this label: 06_02_00
13450
13451Support for environments that cannot handle unaligned data
13452accesses (e.g.  firmware and OS environments devoid of alignment
13453handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
13454been added (via configurable macros) in  these three areas: -
13455Transfer of data from the raw AML byte stream is done via byte
13456moves instead of    word/dword/qword moves. - External objects are
13457aligned within the user buffer, including package   elements (sub-
13458objects). - Conversion of name strings to UINT32 Acpi Names is now
13459done byte-wise.
13460
13461The Store operator was modified to mimic Microsoft's
13462implementation when storing  to a Buffer Field.
13463
13464Added a check of the BM_STS bit before entering C3.
13465
13466The methods subdirectory has been obsoleted and removed.  A new
13467file, cmeval.c  subsumes the functionality.
13468
13469A 16-bit (DOS) version of AcpiExec has been developed.  The
13470makefile is under  the acpiexec directory.
13471