changes.txt revision 253690
176479Swpaul----------------------------------------
276479Swpaul25 July 2013. Summary of changes for version 20130725:
376479Swpaul
476479Swpaul1) ACPICA kernel-resident subsystem:
576479Swpaul
6150636SmlaierFixed a problem with the DerefOf operator where references to FieldUnits 
776479Swpauland BufferFields incorrectly returned the parent object, not the actual 
876479Swpaulvalue of the object. After this change, a dereference of a FieldUnit 
9reference results in a read operation on the field to get the value, and 
10likewise, the appropriate BufferField value is extracted from the target 
11buffer.
12
13Fixed a problem where the _WAK method could cause a fault under these 
14circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
15method returned no value. The problem is rarely seen because most kernels 
16run ACPICA in slack mode.
17
18For the DerefOf operator, a fatal error now results if an attempt is made 
19to dereference a reference (created by the Index operator) to a NULL 
20package element. Provides compatibility with other ACPI implementations, 
21and this behavior will be added to a future version of the ACPI 
22specification.
23
24The ACPI Power Management Timer (defined in the FADT) is now optional. 
25This provides compatibility with other ACPI implementations and will 
26appear in the next version of the ACPI specification. If there is no PM 
27Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
28zero in the FADT indicates no PM timer.
29
30Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
31allows the host to globally enable/disable all vendor strings, all 
32feature strings, or both. Intended to be primarily used for debugging 
33purposes only. Lv Zheng.
34
35Expose the collected _OSI data to the host via a global variable. This 
36data tracks the highest level vendor ID that has been invoked by the BIOS 
37so that the host (and potentially ACPICA itself) can change behaviors 
38based upon the age of the BIOS.
39
40Example Code and Data Size: These are the sizes for the OS-independent 
41acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
42debug version of the code includes the debug output trace mechanism and 
43has a much larger code and data size.
44
45  Current Release:
46    Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
47    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
48  Previous Release:
49    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
50    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
51
52
532) iASL Compiler/Disassembler and Tools:
54
55iASL: Created the following enhancements for the -so option (create 
56offset table):
571)Add offsets for the last nameseg in each namepath for every supported 
58object type
592)Add support for Processor, Device, Thermal Zone, and Scope objects
603)Add the actual AML opcode for the parent object of every supported 
61object type
624)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
63
64Disassembler: Emit all unresolved external symbols in a single block. 
65These are external references to control methods that could not be 
66resolved, and thus, the disassembler had to make a guess at the number of 
67arguments to parse.
68
69iASL: The argument to the -T option (create table template) is now 
70optional. If not specified, the default table is a DSDT, typically the 
71most common case.
72
73----------------------------------------
7426 June 2013. Summary of changes for version 20130626:
75
761) ACPICA kernel-resident subsystem:
77
78Fixed an issue with runtime repair of the _CST object. Null or invalid 
79elements were not always removed properly. Lv Zheng. 
80
81Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
82FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
83the maximum number of GPEs is 1016. Use of multiple GPE block devices 
84makes the system-wide number of GPEs essentially unlimited.
85
86Example Code and Data Size: These are the sizes for the OS-independent 
87acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
88debug version of the code includes the debug output trace mechanism and 
89has a much larger code and data size.
90
91  Current Release:
92    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
93    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
94  Previous Release:
95    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
96    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
97
98
992) iASL Compiler/Disassembler and Tools:
100
101Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
102hosts. Now supports Linux, FreeBSD, and Windows.
103
104Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
105Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
106
107iASL/Preprocessor: Implemented full support for nested 
108#if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
109
110Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
111max. The original purpose of this constraint was to limit the amount of 
112debug output. However, the string function in question (UtPrintString) is 
113now used for the disassembler also, where 256 bytes is insufficient. 
114Reported by RehabMan@GitHub.
115
116iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
117tables. ACPICA BZ 999. Lv Zheng.
118
119iASL: Fixed a couple of error exit issues that could result in a "Could 
120not delete <file>" message during ASL compilation.
121
122AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
123the actual signatures for these tables are "FACP" and "APIC", 
124respectively.
125
126AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
127tables are allowed to have multiple instances.
128
129----------------------------------------
13017 May 2013. Summary of changes for version 20130517:
131
1321) ACPICA kernel-resident subsystem:
133
134Fixed a regression introduced in version 20130328 for _INI methods. This 
135change fixes a problem introduced in 20130328 where _INI methods are no 
136longer executed properly because of a memory block that was not 
137initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
138<tomasz.nowicki@linaro.org>.
139
140Fixed a possible problem with the new extended sleep registers in the 
141ACPI 
1425.0 FADT. Do not use these registers (even if populated) unless the HW-
143reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
1441020. Lv Zheng.
145
146Implemented return value repair code for _CST predefined objects: Sort 
147the 
148list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
149
150Implemented a debug-only option to disable loading of SSDTs from the 
151RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
152ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
153acglobal.h - ACPICA BZ 1005. Lv Zheng.
154
155Fixed some issues in the ACPICA initialization and termination code: 
156Tomasz Nowicki <tomasz.nowicki@linaro.org>
1571) Clear events initialized flag upon event component termination. ACPICA 
158BZ 1013.
1592) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
1603) Delete global lock pending lock during termination. ACPICA BZ 1012.
1614) Clear debug buffer global on termination to prevent possible multiple 
162delete. ACPICA BZ 1010.
163
164Standardized all switch() blocks across the entire source base. After 
165many 
166years, different formatting for switch() had crept in. This change makes 
167the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
168
169Split some files to enhance ACPICA modularity and configurability:
1701) Split buffer dump routines into utilities/utbuffer.c
1712) Split internal error message routines into utilities/uterror.c
1723) Split table print utilities into tables/tbprint.c
1734) Split iASL command-line option processing into asloptions.c
174
175Makefile enhancements:
1761) Support for all new files above.
1772) Abort make on errors from any subcomponent. Chao Guan.
1783) Add build support for Apple Mac OS X. Liang Qi.
179
180Example Code and Data Size: These are the sizes for the OS-independent 
181acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
182debug version of the code includes the debug output trace mechanism and 
183has a much larger code and data size.
184
185  Current Release:
186    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
187    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
188  Previous Release:
189    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
190    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
191
192
1932) iASL Compiler/Disassembler and Tools:
194
195New utility: Implemented an easily portable version of the acpidump 
196utility to extract ACPI tables from the system (or a file) in an ASCII 
197hex 
198dump format. The top-level code implements the various command line 
199options, file I/O, and table dump routines. To port to a new host, only 
200three functions need to be implemented to get tables -- since this 
201functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
202the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
2031) The Windows version obtains the ACPI tables from the Registry.
2042) The Linux version is under development.
2053) Other hosts - If an OS-dependent module is submitted, it will be 
206distributed with ACPICA.
207
208iASL: Fixed a regression for -D preprocessor option (define symbol). A 
209restructuring/change to the initialization sequence caused this option to 
210no longer work properly.
211
212iASL: Implemented a mechanism to disable specific warnings and remarks. 
213Adds a new command line option, "-vw <messageid> as well as "#pragma 
214disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
215
216iASL: Fix for too-strict package object validation. The package object 
217validation for return values from the predefined names is a bit too 
218strict, it does not allow names references within the package (which will 
219be resolved at runtime.) These types of references cannot be validated at 
220compile time. This change ignores named references within package objects 
221for names that return or define static packages.
222
223Debugger: Fixed the 80-character command line limitation for the History 
224command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
225
226iASL: Added control method and package support for the -so option 
227(generates AML offset table for BIOS support.)
228
229iASL: issue a remark if a non-serialized method creates named objects. If 
230a thread blocks within the method for any reason, and another thread 
231enters the method, the method will fail because an attempt will be made 
232to 
233create the same (named) object twice. In this case, issue a remark that 
234the method should be marked serialized. NOTE: may become a warning later. 
235ACPICA BZ 909.
236
237----------------------------------------
23818 April 2013. Summary of changes for version 20130418:
239
2401) ACPICA kernel-resident subsystem:
241
242Fixed a possible buffer overrun during some rare but specific field unit 
243read operations. This overrun can only happen if the DSDT version is 1 -- 
244meaning that all AML integers are 32 bits -- and the field length is 
245between 33 and 55 bits long. During the read, an internal buffer object 
246is 
247created for the field unit because the field is larger than an integer 
248(32 
249bits). However, in this case, the buffer will be incorrectly written 
250beyond the end because the buffer length is less than the internal 
251minimum 
252of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
253long, but a full 8 bytes will be written.
254
255Updated the Embedded Controller "orphan" _REG method support. This refers 
256to _REG methods under the EC device that have no corresponding operation 
257region. This is allowed by the ACPI specification. This update removes a 
258dependency on the existence an ECDT table. It will execute an orphan _REG 
259method as long as the operation region handler for the EC is installed at 
260the EC device node and not the namespace root. Rui Zhang (original 
261update), Bob Moore (update/integrate).
262
263Implemented run-time argument typechecking for all predefined ACPI names 
264(_STA, _BIF, etc.) This change performs object typechecking on all 
265incoming arguments for all predefined names executed via 
266AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
267passing correct object types as well as the correct number of arguments 
268(therefore identifying any issues immediately). Also, the ASL/namespace 
269definition of the predefined name is checked against the ACPI 
270specification for the proper argument count. Adds one new file, 
271nsarguments.c
272
273Changed an exception code for the ASL UnLoad() operator. Changed the 
274exception code for the case where the input DdbHandle is invalid, from 
275AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
276
277Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
278global makefile. The use of this flag causes compiler errors on earlier 
279versions of GCC, so it has been removed for compatibility.
280
281Miscellaneous cleanup:
2821) Removed some unused/obsolete macros
2832) Fixed a possible memory leak in the _OSI support
2843) Removed an unused variable in the predefined name support
2854) Windows OSL: remove obsolete reference to a memory list field
286
287Example Code and Data Size: These are the sizes for the OS-independent 
288acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
289debug version of the code includes the debug output trace mechanism and 
290has a much larger code and data size.
291
292  Current Release:
293    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
294    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
295  Previous Release:
296    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
297    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
298
299
3002) iASL Compiler/Disassembler and Tools:
301
302AcpiExec: Added installation of a handler for the SystemCMOS address 
303space. This prevents control method abort if a method accesses this 
304space.
305
306AcpiExec: Added support for multiple EC devices, and now install EC 
307operation region handler(s) at the actual EC device instead of the 
308namespace root. This reflects the typical behavior of host operating 
309systems.
310
311AcpiExec: Updated to ensure that all operation region handlers are 
312installed before the _REG methods are executed. This prevents a _REG 
313method from aborting if it accesses an address space has no handler. 
314AcpiExec installs a handler for every possible address space.
315
316Debugger: Enhanced the "handlers" command to display non-root handlers. 
317This change enhances the handlers command to display handlers associated 
318with individual devices throughout the namespace, in addition to the 
319currently supported display of handlers associated with the root 
320namespace 
321node.
322
323ASL Test Suite: Several test suite errors have been identified and 
324resolved, reducing the total error count during execution. Chao Guan.
325
326----------------------------------------
32728 March 2013. Summary of changes for version 20130328:
328
3291) ACPICA kernel-resident subsystem:
330
331Fixed several possible race conditions with the internal object reference 
332counting mechanism. Some of the external ACPICA interfaces update object 
333reference counts without holding the interpreter or namespace lock. This 
334change adds a spinlock to protect reference count updates on the internal 
335ACPICA objects. Reported by and with assistance from Andriy Gapon 
336(avg@FreeBSD.org).
337
338FADT support: Removed an extraneous warning for very large GPE register 
339sets. This change removes a size mismatch warning if the legacy length 
340field for a GPE register set is larger than the 64-bit GAS structure can 
341accommodate. GPE register sets can be larger than the 255-bit width 
342limitation of the GAS structure. Linn Crosetto (linn@hp.com).
343
344_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
345return from this interface. Handles a possible timeout case if 
346ACPI_WAIT_FOREVER is modified by the host to be a value less than 
347"forever". Jung-uk Kim.
348
349Predefined name support: Add allowed/required argument type information 
350to 
351the master predefined info table. This change adds the infrastructure to 
352enable typechecking on incoming arguments for all predefined 
353methods/objects. It does not actually contain the code that will fully 
354utilize this information, this is still under development. Also condenses 
355some duplicate code for the predefined names into a new module, 
356utilities/utpredef.c
357
358Example Code and Data Size: These are the sizes for the OS-independent 
359acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
360debug version of the code includes the debug output trace mechanism and 
361has a much larger code and data size.
362
363  Previous Release:
364    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
365    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
366  Current Release:
367    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
368    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
369
370
3712) iASL Compiler/Disassembler and Tools:
372
373iASL: Implemented a new option to simplify the development of ACPI-
374related 
375BIOS code. Adds support for a new "offset table" output file. The -so 
376option will create a C table containing the AML table offsets of various 
377named objects in the namespace so that BIOS code can modify them easily 
378at 
379boot time. This can simplify BIOS runtime code by eliminating expensive 
380searches for "magic values", enhancing boot times and adding greater 
381reliability. With assistance from Lee Hamel.
382
383iASL: Allow additional predefined names to return zero-length packages. 
384Now, all predefined names that are defined by the ACPI specification to 
385return a "variable-length package of packages" are allowed to return a 
386zero length top-level package. This allows the BIOS to tell the host that 
387the requested feature is not supported, and supports existing BIOS/ASL 
388code and practices.
389
390iASL: Changed the "result not used" warning to an error. This is the case 
391where an ASL operator is effectively a NOOP because the result of the 
392operation is not stored anywhere. For example:
393    Add (4, Local0)
394There is no target (missing 3rd argument), nor is the function return 
395value used. This is potentially a very serious problem -- since the code 
396was probably intended to do something, but for whatever reason, the value 
397was not stored. Therefore, this issue has been upgraded from a warning to 
398an error.
399
400AcpiHelp: Added allowable/required argument types to the predefined names 
401info display. This feature utilizes the recent update to the predefined 
402names table (above).
403
404----------------------------------------
40514 February 2013. Summary of changes for version 20130214:
406
4071) ACPICA Kernel-resident Subsystem:
408
409Fixed a possible regression on some hosts: Reinstated the safe return 
410macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
411evaluated only once. Although these macros are not needed for the ACPICA 
412code itself, they are often used by ACPI-related host device drivers 
413where 
414the safe feature may be necessary.
415
416Fixed several issues related to the ACPI 5.0 reduced hardware support 
417(SOC): Now ensure that if the platform declares itself as hardware-
418reduced 
419via the FADT, the following functions become NOOPs (and always return 
420AE_OK) because ACPI is always enabled by definition on these machines:
421  AcpiEnable
422  AcpiDisable
423  AcpiHwGetMode
424  AcpiHwSetMode
425
426Dynamic Object Repair: Implemented additional runtime repairs for 
427predefined name return values. Both of these repairs can simplify code in 
428the related device drivers that invoke these methods:
4291) For the _STR and _MLS names, automatically repair/convert an ASCII 
430string to a Unicode buffer. 
4312) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
432a 
433lone end tag descriptor in the following cases: A Return(0) was executed, 
434a null buffer was returned, or no object at all was returned (non-slack 
435mode only). Adds a new file, nsconvert.c
436ACPICA BZ 998. Bob Moore, Lv Zheng.
437
438Resource Manager: Added additional code to prevent possible infinite 
439loops 
440while traversing corrupted or ill-formed resource template buffers. Check 
441for zero-length resource descriptors in all code that loops through 
442resource templates (the length field is used to index through the 
443template). This change also hardens the external AcpiWalkResources and 
444AcpiWalkResourceBuffer interfaces.
445
446Local Cache Manager: Enhanced the main data structure to eliminate an 
447unnecessary mechanism to access the next object in the list. Actually 
448provides a small performance enhancement for hosts that use the local 
449ACPICA cache manager. Jung-uk Kim.
450
451Example Code and Data Size: These are the sizes for the OS-independent 
452acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
453debug version of the code includes the debug output trace mechanism and 
454has a much larger code and data size.
455
456  Previous Release:
457    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
458    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
459  Current Release:
460    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
461    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
462
463
4642) iASL Compiler/Disassembler and Tools:
465
466iASL/Disassembler: Fixed several issues with the definition of the ACPI 
4675.0 RASF table (RAS Feature Table). This change incorporates late changes 
468that were made to the ACPI 5.0 specification.
469
470iASL/Disassembler: Added full support for the following new ACPI tables:
471  1) The MTMR table (MID Timer Table)
472  2) The VRTC table (Virtual Real Time Clock Table).
473Includes header file, disassembler, table compiler, and template support 
474for both tables.
475
476iASL: Implemented compile-time validation of package objects returned by 
477predefined names. This new feature validates static package objects 
478returned by the various predefined names defined to return packages. Both 
479object types and package lengths are validated, for both parent packages 
480and sub-packages, if any. The code is similar in structure and behavior 
481to 
482the runtime repair mechanism within the AML interpreter and uses the 
483existing predefined name information table. Adds a new file, aslprepkg.c. 
484ACPICA BZ 938.
485
486iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
487This feature detects a binary file with a valid ACPI table header and 
488invokes the disassembler automatically. Eliminates the need to 
489specifically invoke the disassembler with the -d option. ACPICA BZ 862.
490
491iASL/Disassembler: Added several warnings for the case where there are 
492unresolved control methods during the disassembly. This can potentially 
493cause errors when the output file is compiled, because the disassembler 
494assumes zero method arguments in these cases (it cannot determine the 
495actual number of arguments without resolution/definition of the method).
496
497Debugger: Added support to display all resources with a single command. 
498Invocation of the resources command with no arguments will now display 
499all 
500resources within the current namespace.
501
502AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
503via the -e option.
504
505----------------------------------------
50617 January 2013. Summary of changes for version 20130117:
507
5081) ACPICA Kernel-resident Subsystem:
509
510Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
511return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
512objects to return a package containing one integer, most BIOS code 
513returns 
514two integers and the previous code reflects that. However, we also need 
515to 
516support BIOS code that actually implements to the ACPI spec, and this 
517change reflects this.
518
519Fixed two issues with the ACPI_DEBUG_PRINT macros:
5201) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
521C compilers that require this support.
5222) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
523ACPI_DEBUG is already used by many of the various hosts.
524
525Updated all ACPICA copyrights and signons to 2013. Added the 2013 
526copyright to all module headers and signons, including the standard Linux 
527header. This affects virtually every file in the ACPICA core subsystem, 
528iASL compiler, all ACPICA utilities, and the test suites.
529
530Example Code and Data Size: These are the sizes for the OS-independent 
531acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
532debug version of the code includes the debug output trace mechanism and 
533has a much larger code and data size.
534
535  Previous Release:
536    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
537    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
538  Current Release:
539    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
540    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
541
542
5432) iASL Compiler/Disassembler and Tools:
544
545Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
546prevent a possible fault on some hosts. Some C libraries modify the arg 
547pointer parameter to vfprintf making it difficult to call it twice in the 
548AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
549does not affect the Windows OSL since the Win C library does not modify 
550the arg pointer. Chao Guan, Bob Moore.
551
552iASL: Fixed a possible infinite loop when the maximum error count is 
553reached. If an output file other than the .AML file is specified (such as 
554a listing file), and the maximum number of errors is reached, do not 
555attempt to flush data to the output file(s) as the compiler is aborting. 
556This can cause an infinite loop as the max error count code essentially 
557keeps calling itself.
558
559iASL/Disassembler: Added an option (-in) to ignore NOOP 
560opcodes/operators. 
561Implemented for both the compiler and the disassembler. Often, the NOOP 
562opcode is used as padding for packages that are changed dynamically by 
563the 
564BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
565errors. This option causes the disassembler to ignore all NOOP opcodes 
566(0xA3), and it also causes the compiler to ignore all ASL source code 
567NOOP 
568statements as well.
569
570Debugger: Enhanced the Sleep command to execute all sleep states. This 
571change allows Sleep to be invoked with no arguments and causes the 
572debugger to execute all of the sleep states, 0-5, automatically.
573
574----------------------------------------
57520 December 2012. Summary of changes for version 20121220:
576
5771) ACPICA Kernel-resident Subsystem:
578
579Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
580alternate entry point for AcpiWalkResources and improves the usability of 
581the resource manager by accepting as input a buffer containing the output 
582of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
583input buffer is not deleted by this interface so that it can be used by 
584the host later. See the ACPICA reference for details.
585
586Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
587(DSDT version < 2). The constant will be truncated and this warning 
588reflects that behavior.
589
590Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
591ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
592both get and set the new wake bit in these descriptors, separately from 
593the existing share bit. Reported by Aaron Lu.
594
595Interpreter: Fix Store() when an implicit conversion is not possible. For 
596example, in the cases such as a store of a string to an existing package 
597object, implement the store as a CopyObject(). This is a small departure 
598from the ACPI specification which states that the control method should 
599be 
600aborted in this case. However, the ASLTS suite depends on this behavior.
601
602Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
603macros: check if debug output is currently enabled as soon as possible to 
604minimize performance impact if debug is in fact not enabled.
605
606Source code restructuring: Cleanup to improve modularity. The following 
607new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
608psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
609Associated makefiles and project files have been updated.
610
611Changed an exception code for LoadTable operator. For the case where one 
612of the input strings is too long, change the returned exception code from 
613AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
614
615Fixed a possible memory leak in dispatcher error path. On error, delete 
616the mutex object created during method mutex creation. Reported by 
617tim.gardner@canonical.com.
618
619Example Code and Data Size: These are the sizes for the OS-independent 
620acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
621debug version of the code includes the debug output trace mechanism and 
622has a much larger code and data size.
623
624  Previous Release:
625    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
626    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
627  Current Release:
628    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
629    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
630
631
6322) iASL Compiler/Disassembler and Tools:
633
634iASL: Disallow a method call as argument to the ObjectType ASL operator. 
635This change tracks an errata to the ACPI 5.0 document. The AML grammar 
636will not allow the interpreter to differentiate between a method and a 
637method invocation when these are used as an argument to the ObjectType 
638operator. The ACPI specification change is to disallow a method 
639invocation 
640(UserTerm) for the ObjectType operator.
641
642Finish support for the TPM2 and CSRT tables in the headers, table 
643compiler, and disassembler.
644
645Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
646always expires immediately if the semaphore is not available. The 
647original 
648code was using a relative-time timeout, but sem_timedwait requires the 
649use 
650of an absolute time.
651
652iASL: Added a remark if the Timer() operator is used within a 32-bit 
653table. This operator returns a 64-bit time value that will be truncated 
654within a 32-bit table.
655
656iASL Source code restructuring: Cleanup to improve modularity. The 
657following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
658aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
659been updated.
660
661
662----------------------------------------
66314 November 2012. Summary of changes for version 20121114:
664
6651) ACPICA Kernel-resident Subsystem:
666
667Implemented a performance enhancement for ACPI/AML Package objects. This 
668change greatly increases the performance of Package objects within the 
669interpreter. It changes the processing of reference counts for packages 
670by 
671optimizing for the most common case where the package sub-objects are 
672either Integers, Strings, or Buffers. Increases the overall performance 
673of 
674the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
6752X.) 
676Chao Guan. ACPICA BZ 943.
677
678Implemented and deployed common macros to extract flag bits from resource 
679descriptors. Improves readability and maintainability of the code. Fixes 
680a 
681problem with the UART serial bus descriptor for the number of data bits 
682flags (was incorrectly 2 bits, should be 3).
683
684Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
685of the macros and changed the SETx macros to the style of (destination, 
686source). Also added ACPI_CASTx companion macros. Lv Zheng.
687
688Example Code and Data Size: These are the sizes for the OS-independent 
689acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
690debug version of the code includes the debug output trace mechanism and 
691has a much larger code and data size.
692
693  Previous Release:
694    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
695    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
696  Current Release:
697    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
698    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
699
700
7012) iASL Compiler/Disassembler and Tools:
702
703Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
704adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
705Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
706
707Disassembler: Fixed a problem with external declaration generation. Fixes 
708a problem where an incorrect pathname could be generated for an external 
709declaration if the original reference to the object includes leading 
710carats (^). ACPICA BZ 984.
711
712Debugger: Completed a major update for the Disassemble<method> command. 
713This command was out-of-date and did not properly disassemble control 
714methods that had any reasonable complexity. This fix brings the command 
715up 
716to the same level as the rest of the disassembler. Adds one new file, 
717dmdeferred.c, which is existing code that is now common with the main 
718disassembler and the debugger disassemble command. ACPICA MZ 978.
719
720iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
721Newer versions of Bison emit this prototype, so moved the prototype out 
722of 
723the iASL header to where it is actually used in order to avoid a 
724duplicate 
725declaration.
726
727iASL/Tools: Standardized use of the stream I/O functions:
728  1) Ensure check for I/O error after every fopen/fread/fwrite
729  2) Ensure proper order of size/count arguments for fread/fwrite
730  3) Use test of (Actual != Requested) after all fwrite, and most fread
731  4) Standardize I/O error messages
732Improves reliability and maintainability of the code. Bob Moore, Lv 
733Zheng. 
734ACPICA BZ 981.
735
736Disassembler: Prevent duplicate External() statements. During generation 
737of external statements, detect similar pathnames that are actually 
738duplicates such as these:
739  External (\ABCD)
740  External (ABCD)
741Remove all leading '\' characters from pathnames during the external 
742statement generation so that duplicates will be detected and tossed. 
743ACPICA BZ 985.
744
745Tools: Replace low-level I/O with stream I/O functions. Replace 
746open/read/write/close with the stream I/O equivalents 
747fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
748Moore.
749
750AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
751name header so that AcpiXtract recognizes the output file/table.
752
753iASL: Remove obsolete -2 option flag. Originally intended to force the 
754compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
755and the entire concept is now obsolete.
756
757----------------------------------------
75818 October 2012. Summary of changes for version 20121018:
759
760
7611) ACPICA Kernel-resident Subsystem:
762
763Updated support for the ACPI 5.0 MPST table. Fixes some problems 
764introduced by late changes to the table as it was added to the ACPI 5.0 
765specification. Includes header, disassembler, and data table compiler 
766support as well as a new version of the MPST template.
767
768AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
7695.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
770methods: _HID, _CID, and _UID.
771
772Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
773ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
774name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
775names for their various drivers. Affects the AcpiGetObjectInfo external 
776interface, and other internal interfaces as well.
777
778Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
779This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
780on machines that support non-aligned transfers. Optimizes for this case 
781rather than using a strncpy. With assistance from Zheng Lv.
782
783Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
784error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
785
786Added a new debug print message for AML mutex objects that are force-
787released. At control method termination, any currently acquired mutex 
788objects are force-released. Adds a new debug-only message for each one 
789that is released.
790
791Audited/updated all ACPICA return macros and the function debug depth 
792counter: 1) Ensure that all functions that use the various TRACE macros 
793also use the appropriate ACPICA return macros. 2) Ensure that all normal 
794return statements surround the return expression (value) with parens to 
795ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
796Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
797
798Global source code changes/maintenance: All extra lines at the start and 
799end of each source file have been removed for consistency. Also, within 
800comments, all new sentences start with a single space instead of a double 
801space, again for consistency across the code base.
802
803Example Code and Data Size: These are the sizes for the OS-independent 
804acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
805debug version of the code includes the debug output trace mechanism and 
806has a much larger code and data size.
807
808  Previous Release:
809    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
810    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
811  Current Release:
812    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
813    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
814
815
8162) iASL Compiler/Disassembler and Tools:
817
818AcpiExec: Improved the algorithm used for memory leak/corruption 
819detection. Added some intelligence to the code that maintains the global 
820list of allocated memory. The list is now ordered by allocated memory 
821address, significantly improving performance. When running AcpiExec on 
822the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
823on the platform and/or the environment. Note, this performance 
824enhancement affects the AcpiExec utility only, not the kernel-resident 
825ACPICA code.
826
827Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
828the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
829incorrect table offset reported for invalid opcodes. Report the original 
83032-bit value for bad ACPI_NAMEs (as well as the repaired name.)
831
832Disassembler: Enhanced the -vt option to emit the binary table data in 
833hex format to assist with debugging.
834
835Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
836size of file structure. Colin Ian King.
837
838----------------------------------------
83913 September 2012. Summary of changes for version 20120913:
840
841
8421) ACPICA Kernel-resident Subsystem:
843
844ACPI 5.0: Added two new notify types for the Hardware Error Notification 
845Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
846and 
847MCE(6).
848 
849Table Manager: Merged/removed duplicate code in the root table resize 
850functions. One function is external, the other is internal. Lv Zheng, 
851ACPICA 
852BZ 846.
853
854Makefiles: Completely removed the obsolete "Linux" makefiles under 
855acpica/generate/linux. These makefiles are obsolete and have been 
856replaced 
857by 
858the generic unix makefiles under acpica/generate/unix.
859
860Makefiles: Ensure that binary files always copied properly. Minor rule 
861change 
862to ensure that the final binary output files are always copied up to the 
863appropriate binary directory (bin32 or bin64.)
864
865Example Code and Data Size: These are the sizes for the OS-independent 
866acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
867debug 
868version of the code includes the debug output trace mechanism and has a 
869much 
870larger code and data size.
871
872  Previous Release:
873    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
874    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
875  Current Release:
876    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
877    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
878
879
8802) iASL Compiler/Disassembler and Tools:
881
882Disassembler: Fixed a possible fault during the disassembly of resource 
883descriptors when a second parse is required because of the invocation of 
884external control methods within the table. With assistance from 
885adq@lidskialf.net. ACPICA BZ 976.
886
887iASL: Fixed a namepath optimization problem. An error can occur if the 
888parse 
889node that contains the namepath to be optimized does not have a parent 
890node 
891that is a named object. This change fixes the problem.
892
893iASL: Fixed a regression where the AML file is not deleted on errors. The 
894AML 
895output file should be deleted if there are any errors during the 
896compiler. 
897The 
898only exception is if the -f (force output) option is used. ACPICA BZ 974.
899
900iASL: Added a feature to automatically increase internal line buffer 
901sizes. 
902Via realloc(), automatically increase the internal line buffer sizes as 
903necessary to support very long source code lines. The current version of 
904the 
905preprocessor requires a buffer long enough to contain full source code 
906lines. 
907This change increases the line buffer(s) if the input lines go beyond the 
908current buffer size. This eliminates errors that occurred when a source 
909code 
910line was longer than the buffer.
911
912iASL: Fixed a problem with constant folding in method declarations. The 
913SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
914if a 
915Type3 opcode was used.
916
917Debugger: Improved command help support. For incorrect argument count, 
918display 
919full help for the command. For help command itself, allow an argument to 
920specify a command.
921
922Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
923errors during execution of the suite. Guan Chao.
924
925----------------------------------------
92616 August 2012. Summary of changes for version 20120816:
927
928
9291) ACPICA Kernel-resident Subsystem:
930
931Removed all use of the deprecated _GTS and _BFS predefined methods. The 
932_GTS 
933(Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
934deprecated and will probably be removed from the ACPI specification. 
935Windows 
936does not invoke them, and reportedly never will. The final nail in the 
937coffin 
938is that the ACPI specification states that these methods must be run with 
939interrupts off, which is not going to happen in a kernel interpreter. 
940Note: 
941Linux has removed all use of the methods also. It was discovered that 
942invoking these functions caused failures on some machines, probably 
943because 
944they were never tested since Windows does not call them. Affects two 
945external 
946interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
947ACPICA BZ 969.
948
949Implemented support for complex bit-packed buffers returned from the _PLD 
950(Physical Location of Device) predefined method. Adds a new external 
951interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
952C 
953structure. Note: C Bitfields cannot be used for this type of predefined 
954structure since the memory layout of individual bitfields is not defined 
955by 
956the C language. In addition, there are endian concerns where a compiler 
957will 
958change the bitfield ordering based on the machine type. The new ACPICA 
959interface eliminates these issues, and should be called after _PLD is 
960executed. ACPICA BZ 954.
961
962Implemented a change to allow a scope change to root (via "Scope (\)") 
963during 
964execution of module-level ASL code (code that is executed at table load 
965time.) Lin Ming.
966
967Added the Windows8/Server2012 string for the _OSI method. This change 
968adds 
969a 
970new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
9712012.
972
973Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
9742) 
975and CSRT (Core System Resource Table).
976
977Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
978names. This simplifies access to the buffers returned by these predefined 
979names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
980
981GPE support: Removed an extraneous parameter from the various low-level 
982internal GPE functions. Tang Feng.
983
984Removed the linux makefiles from the unix packages. The generate/linux 
985makefiles are obsolete and have been removed from the unix tarball 
986release 
987packages. The replacement makefiles are under generate/unix, and there is 
988a 
989top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
990
991Updates for Unix makefiles:
9921) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
9932) Update linker flags (move to end of command line) for AcpiExec 
994utility. 
995Guan Chao.
996
997Split ACPICA initialization functions to new file, utxfinit.c. Split from 
998utxface.c to improve modularity and reduce file size.
999
1000Example Code and Data Size: These are the sizes for the OS-independent 
1001acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1002debug version of the code includes the debug output trace mechanism and 
1003has a 
1004much larger code and data size.
1005
1006  Previous Release:
1007    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
1008    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
1009  Current Release:
1010    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
1011    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
1012
1013
10142) iASL Compiler/Disassembler and Tools:
1015
1016iASL: Fixed a problem with constant folding for fixed-length constant 
1017expressions. The constant-folding code was not being invoked for constant 
1018expressions that allow the use of type 3/4/5 opcodes to generate 
1019constants 
1020for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
1021result 
1022in the generation of invalid AML bytecode. ACPICA BZ 970.
1023
1024iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
1025apparently automatically emit some of the necessary externals. This 
1026change 
1027handles these versions in order to eliminate generation warnings.
1028
1029Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
1030
1031Disassembler: Add support to decode _PLD buffers. The decoded buffer 
1032appears 
1033within comments in the output file.
1034
1035Debugger: Fixed a regression with the "Threads" command where 
1036AE_BAD_PARAMETER was always returned.
1037
1038----------------------------------------
103911 July 2012. Summary of changes for version 20120711:
1040
10411) ACPICA Kernel-resident Subsystem:
1042
1043Fixed a possible fault in the return package object repair code. Fixes a 
1044problem that can occur when a lone package object is wrapped with an 
1045outer 
1046package object in order to force conformance to the ACPI specification. 
1047Can 
1048affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
1049_DLM, 
1050_CSD, _PSD, _TSD.
1051
1052Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
1053PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
1054ARB_DIS bit must be implemented in the host-dependent C3 processor power 
1055state 
1056support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
1057both 
1058Intel and other vendors. (for Intel: ICH4-M and earlier)
1059
1060This change removes the code to disable/enable bus master arbitration 
1061during 
1062suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
1063causes 
1064resume problems on some machines. The change has been in use for over 
1065seven 
1066years within Linux.
1067
1068Implemented two new external interfaces to support host-directed dynamic 
1069ACPI 
1070table load and unload. They are intended to simplify the host 
1071implementation 
1072of hot-plug support:
1073  AcpiLoadTable: Load an SSDT from a buffer into the namespace.
1074  AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
1075table.
1076See the ACPICA reference for additional details. Adds one new file, 
1077components/tables/tbxfload.c
1078
1079Implemented and deployed two new interfaces for errors and warnings that 
1080are 
1081known to be caused by BIOS/firmware issues:
1082  AcpiBiosError: Prints "ACPI Firmware Error" message.
1083  AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
1084Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
1085table 
1086and FADT errors. Additional deployment to be completed as appropriate in 
1087the 
1088future. The associated conditional macros are ACPI_BIOS_ERROR and 
1089ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
1090ACPICA 
1091BZ 
1092843.
1093
1094Implicit notify support: ensure that no memory allocation occurs within a 
1095critical region. This fix moves a memory allocation outside of the time 
1096that a 
1097spinlock is held. Fixes issues on systems that do not allow this 
1098behavior. 
1099Jung-uk Kim.
1100
1101Split exception code utilities and tables into a new file, 
1102utilities/utexcep.c
1103
1104Example Code and Data Size: These are the sizes for the OS-independent 
1105acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1106debug 
1107version of the code includes the debug output trace mechanism and has a 
1108much 
1109larger code and data size.
1110
1111  Previous Release:
1112    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
1113    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
1114  Current Release:
1115    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
1116    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
1117
1118
11192) iASL Compiler/Disassembler and Tools:
1120
1121iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
1122of 
11230. Jung-uk Kim.
1124
1125Debugger: Enhanced the "tables" command to emit additional information 
1126about 
1127the current set of ACPI tables, including the owner ID and flags decode.
1128
1129Debugger: Reimplemented the "unload" command to use the new 
1130AcpiUnloadParentTable external interface. This command was disable 
1131previously 
1132due to need for an unload interface.
1133
1134AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
1135option 
1136will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
1137
1138----------------------------------------
113920 June 2012. Summary of changes for version 20120620:
1140
1141
11421) ACPICA Kernel-resident Subsystem:
1143
1144Implemented support to expand the "implicit notify" feature to allow 
1145multiple 
1146devices to be notified by a single GPE. This feature automatically 
1147generates a 
1148runtime device notification in the absence of a BIOS-provided GPE control 
1149method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
1150notify is 
1151provided by ACPICA for Windows compatibility, and is a workaround for 
1152BIOS 
1153AML 
1154code errors. See the description of the AcpiSetupGpeForWake interface in 
1155the 
1156APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
1157
1158Changed some comments and internal function names to simplify and ensure 
1159correctness of the Linux code translation. No functional changes.
1160
1161Example Code and Data Size: These are the sizes for the OS-independent 
1162acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1163debug 
1164version of the code includes the debug output trace mechanism and has a 
1165much 
1166larger code and data size.
1167
1168  Previous Release:
1169    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
1170    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
1171  Current Release:
1172    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
1173    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
1174
1175
11762) iASL Compiler/Disassembler and Tools:
1177
1178Disassembler: Added support to emit short, commented descriptions for the 
1179ACPI 
1180predefined names in order to improve the readability of the disassembled 
1181output. ACPICA BZ 959. Changes include:
1182  1) Emit descriptions for all standard predefined names (_INI, _STA, 
1183_PRW, 
1184etc.)
1185  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
1186  3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
1187etc.)
1188
1189AcpiSrc: Fixed several long-standing Linux code translation issues. 
1190Argument 
1191descriptions in function headers are now translated properly to lower 
1192case 
1193and 
1194underscores. ACPICA BZ 961. Also fixes translation problems such as 
1195these: 
1196(old -> new)
1197  i_aSL -> iASL
1198  00-7_f -> 00-7F
1199  16_k -> 16K
1200  local_fADT -> local_FADT
1201  execute_oSI -> execute_OSI
1202
1203iASL: Fixed a problem where null bytes were inadvertently emitted into 
1204some 
1205listing files.
1206
1207iASL: Added the existing debug options to the standard help screen. There 
1208are 
1209no longer two different help screens. ACPICA BZ 957.
1210
1211AcpiHelp: Fixed some typos in the various predefined name descriptions. 
1212Also 
1213expand some of the descriptions where appropriate.
1214
1215iASL: Fixed the -ot option (display compile times/statistics). Was not 
1216working 
1217properly for standard output; only worked for the debug file case.
1218
1219----------------------------------------
122018 May 2012. Summary of changes for version 20120518:
1221
1222
12231) ACPICA Core Subsystem:
1224
1225Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
1226defined 
1227to block until asynchronous events such as notifies and GPEs have 
1228completed. 
1229Within ACPICA, it is only called before a notify or GPE handler is 
1230removed/uninstalled. It also may be useful for the host OS within related 
1231drivers such as the Embedded Controller driver. See the ACPICA reference 
1232for 
1233additional information. ACPICA BZ 868.
1234
1235ACPI Tables: Added a new error message for a possible overflow failure 
1236during 
1237the conversion of FADT 32-bit legacy register addresses to internal 
1238common 
123964-
1240bit GAS structure representation. The GAS has a one-byte "bit length" 
1241field, 
1242thus limiting the register length to 255 bits. ACPICA BZ 953.
1243
1244Example Code and Data Size: These are the sizes for the OS-independent 
1245acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1246debug 
1247version of the code includes the debug output trace mechanism and has a 
1248much 
1249larger code and data size.
1250
1251  Previous Release:
1252    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1253    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
1254  Current Release:
1255    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
1256    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
1257
1258
12592) iASL Compiler/Disassembler and Tools:
1260
1261iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
1262macro. 
1263This keyword was added late in the ACPI 5.0 release cycle and was not 
1264implemented until now.
1265
1266Disassembler: Added support for Operation Region externals. Adds missing 
1267support for operation regions that are defined in another table, and 
1268referenced locally via a Field or BankField ASL operator. Now generates 
1269the 
1270correct External statement.
1271
1272Disassembler: Several additional fixes for the External() statement 
1273generation 
1274related to some ASL operators. Also, order the External() statements 
1275alphabetically in the disassembler output. Fixes the External() 
1276generation 
1277for 
1278the Create* field, Alias, and Scope operators:
1279 1) Create* buffer field operators - fix type mismatch warning on 
1280disassembly
1281 2) Alias - implement missing External support
1282 3) Scope - fix to make sure all necessary externals are emitted.
1283
1284iASL: Improved pathname support. For include files, merge the prefix 
1285pathname 
1286with the file pathname and eliminate unnecessary components. Convert 
1287backslashes in all pathnames to forward slashes, for readability. Include 
1288file 
1289pathname changes affect both #include and Include() type operators.
1290
1291iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
1292end 
1293of a valid line by inserting a newline and then returning the EOF during 
1294the 
1295next call to GetNextLine. Prevents the line from being ignored due to EOF 
1296condition.
1297
1298iASL: Implemented some changes to enhance the IDE support (-vi option.) 
1299Error 
1300and Warning messages are now correctly recognized for both the source 
1301code 
1302browser and the global error and warning counts.
1303
1304----------------------------------------
130520 April 2012. Summary of changes for version 20120420:
1306
1307
13081) ACPICA Core Subsystem:
1309
1310Implemented support for multiple notify handlers. This change adds 
1311support 
1312to 
1313allow multiple system and device notify handlers on Device, Thermal Zone, 
1314and 
1315Processor objects. This can simplify the host OS notification 
1316implementation. 
1317Also re-worked and restructured the entire notify support code to 
1318simplify 
1319handler installation, handler removal, notify event queuing, and notify 
1320dispatch to handler(s). Note: there can still only be two global notify 
1321handlers - one for system notifies and one for device notifies. There are 
1322no 
1323changes to the existing handler install/remove interfaces. Lin Ming, Bob 
1324Moore, Rafael Wysocki.
1325
1326Fixed a regression in the package repair code where the object reference 
1327count was calculated incorrectly. Regression was introduced in the commit 
1328"Support to add Package wrappers".
1329
1330Fixed a couple possible memory leaks in the AML parser, in the error 
1331recovery 
1332path. Jesper Juhl, Lin Ming.
1333
1334Example Code and Data Size: These are the sizes for the OS-independent 
1335acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1336debug version of the code includes the debug output trace mechanism and 
1337has a 
1338much larger code and data size.
1339
1340  Previous Release:
1341    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1342    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1343  Current Release:
1344    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1345    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
1346
1347
13482) iASL Compiler/Disassembler and Tools:
1349
1350iASL: Fixed a problem with the resource descriptor support where the 
1351length 
1352of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
1353included in cumulative descriptor offset, resulting in incorrect values 
1354for 
1355resource tags within resource descriptors appearing after a 
1356StartDependent* 
1357descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
1358
1359iASL and Preprocessor: Implemented full support for the #line directive 
1360to 
1361correctly track original source file line numbers through the .i 
1362preprocessor 
1363output file - for error and warning messages.
1364
1365iASL: Expand the allowable byte constants for address space IDs. 
1366Previously, 
1367the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
13680x0A-0xFF to allow for custom and new IDs without changing the compiler.
1369
1370iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
1371
1372iASL: Add option to completely disable the preprocessor (-Pn).
1373
1374iASL: Now emit all error/warning messages to standard error (stderr) by 
1375default (instead of the previous stdout).
1376
1377ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
1378Update 
1379for resource descriptor offset fix above. Update/cleanup error output 
1380routines. Enable and send iASL errors/warnings to an error logfile 
1381(error.txt). Send all other iASL output to a logfile (compiler.txt). 
1382Fixed 
1383several extraneous "unrecognized operator" messages.
1384
1385----------------------------------------
138620 March 2012. Summary of changes for version 20120320:
1387
1388
13891) ACPICA Core Subsystem:
1390
1391Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
1392(Going To Sleep) and the _BFS method (Back From Sleep). Windows 
1393apparently 
1394does not execute these methods, and therefore these methods are often 
1395untested. It has been seen on some systems where the execution of these 
1396methods causes errors and also prevents the machine from entering S5. It 
1397is 
1398therefore suggested that host operating systems do not execute these 
1399methods 
1400by default. In the future, perhaps these methods can be optionally 
1401executed 
1402based on the age of the system and/or what is the newest version of 
1403Windows 
1404that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
1405and 
1406AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
1407Ming.
1408
1409Fixed a problem where the length of the local/common FADT was set too 
1410early. 
1411The local FADT table length cannot be set to the common length until the 
1412original length has been examined. There is code that checks the table 
1413length 
1414and sets various fields appropriately. This can affect older machines 
1415with 
1416early FADT versions. For example, this can cause inadvertent writes to 
1417the 
1418CST_CNT register. Julian Anastasov.
1419
1420Fixed a mapping issue related to a physical table override. Use the 
1421deferred 
1422mapping mechanism for tables loaded via the physical override OSL 
1423interface. 
1424This allows for early mapping before the virtual memory manager is 
1425available. 
1426Thomas Renninger, Bob Moore.
1427
1428Enhanced the automatic return-object repair code: Repair a common problem 
1429with 
1430predefined methods that are defined to return a variable-length Package 
1431of 
1432sub-objects. If there is only one sub-object, some BIOS ASL code 
1433mistakenly 
1434simply returns the single object instead of a Package with one sub-
1435object. 
1436This new support will repair this error by wrapping a Package object 
1437around 
1438the original object, creating the correct and expected Package with one 
1439sub-
1440object. Names that can be repaired in this manner include: _ALR, _CSD, 
1441_HPX, 
1442_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
1443939.
1444
1445Changed the exception code returned for invalid ACPI paths passed as 
1446parameters to external interfaces such as AcpiEvaluateObject. Was 
1447AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
1448
1449Example Code and Data Size: These are the sizes for the OS-independent 
1450acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1451debug 
1452version of the code includes the debug output trace mechanism and has a 
1453much 
1454larger code and data size.
1455
1456  Previous Release:
1457    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1458    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1459  Current Release:
1460    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1461    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1462
1463
14642) iASL Compiler/Disassembler and Tools:
1465
1466iASL: Added the infrastructure and initial implementation of a integrated 
1467C-
1468like preprocessor. This will simplify BIOS development process by 
1469eliminating 
1470the need for a separate preprocessing step during builds. On Windows, it 
1471also 
1472eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
1473features including full #define() macro support are still under 
1474development. 
1475These preprocessor directives are supported:
1476    #define
1477    #elif
1478    #else
1479    #endif
1480    #error
1481    #if
1482    #ifdef
1483    #ifndef
1484    #include
1485    #pragma message
1486    #undef
1487    #warning
1488In addition, these new command line options are supported:
1489    -D <symbol> Define symbol for preprocessor use
1490    -li         Create preprocessed output file (*.i)
1491    -P          Preprocess only and create preprocessor output file (*.i)
1492
1493Table Compiler: Fixed a problem where the equals operator within an 
1494expression 
1495did not work properly.
1496
1497Updated iASL to use the current versions of Bison/Flex. Updated the 
1498Windows 
1499project file to invoke these tools from the standard location. ACPICA BZ 
1500904. 
1501Versions supported:
1502    Flex for Windows:  V2.5.4
1503    Bison for Windows: V2.4.1
1504
1505----------------------------------------
150615 February 2012. Summary of changes for version 20120215:
1507
1508
15091) ACPICA Core Subsystem:
1510
1511There have been some major changes to the sleep/wake support code, as 
1512described below (a - e).
1513
1514a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
1515AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
1516AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
1517the 
1518time the _BFS method is called and the _WAK method is called. NOTE: all 
1519hosts 
1520must update their wake/resume code or else sleep/wake will not work 
1521properly. 
1522Rafael Wysocki.
1523
1524b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
1525_WAK 
1526method. Some machines require that the GPEs are enabled before the _WAK 
1527method 
1528is executed. Thomas Renninger.
1529
1530c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
1531bit. 
1532Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
1533to 
1534determine whether the system is rebooting or resuming. Matthew Garrett.
1535
1536d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
1537Sleep) to 
1538match the ACPI specification requirement. Rafael Wysocki.
1539
1540e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
1541registers within the V5 FADT. This support adds two new files: 
1542hardware/hwesleep.c implements the support for the new registers. Moved 
1543all 
1544sleep/wake external interfaces to hardware/hwxfsleep.c.
1545
1546
1547Added a new OSL interface for ACPI table overrides, 
1548AcpiOsPhysicalTableOverride. This interface allows the host to override a 
1549table via a physical address, instead of the logical address required by 
1550AcpiOsTableOverride. This simplifies the host implementation. Initial 
1551implementation by Thomas Renninger. The ACPICA implementation creates a 
1552single 
1553shared function for table overrides that attempts both a logical and a 
1554physical override.
1555
1556Expanded the OSL memory read/write interfaces to 64-bit data 
1557(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
1558transfer support for GAS register structures passed to AcpiRead and 
1559AcpiWrite.
1560
1561Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
1562custom 
1563build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
1564model. 
1565See the ACPICA reference for details. ACPICA BZ 942. This option removes 
1566about 
156710% of the code and 5% of the static data, and the following hardware 
1568ACPI 
1569features become unavailable:
1570    PM Event and Control registers
1571    SCI interrupt (and handler)
1572    Fixed Events
1573    General Purpose Events (GPEs)
1574    Global Lock
1575    ACPI PM timer
1576    FACS table (Waking vectors and Global Lock)
1577
1578Updated the unix tarball directory structure to match the ACPICA git 
1579source 
1580tree. This ensures that the generic unix makefiles work properly (in 
1581generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
1582867.
1583
1584Updated the return value of the _REV predefined method to integer value 5 
1585to 
1586reflect ACPI 5.0 support.
1587
1588Moved the external ACPI PM timer interface prototypes to the public 
1589acpixf.h 
1590file where they belong.
1591
1592Example Code and Data Size: These are the sizes for the OS-independent 
1593acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1594debug 
1595version of the code includes the debug output trace mechanism and has a 
1596much 
1597larger code and data size.
1598
1599  Previous Release:
1600    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1601    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1602  Current Release:
1603    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1604    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1605
1606
16072) iASL Compiler/Disassembler and Tools:
1608
1609Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
1610descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
1611incorrectly displayed.
1612
1613AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
1614specification.
1615
1616----------------------------------------
161711 January 2012. Summary of changes for version 20120111:
1618
1619
16201) ACPICA Core Subsystem:
1621
1622Implemented a new mechanism to allow host device drivers to check for 
1623address 
1624range conflicts with ACPI Operation Regions. Both SystemMemory and 
1625SystemIO 
1626address spaces are supported. A new external interface, 
1627AcpiCheckAddressRange, 
1628allows drivers to check an address range against the ACPI namespace. See 
1629the 
1630ACPICA reference for additional details. Adds one new file, 
1631utilities/utaddress.c. Lin Ming, Bob Moore.
1632
1633Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
1634Control 
1635and 
1636Status registers, update the ACPI 5.0 flags, and update internal data 
1637structures to handle an FADT larger than 256 bytes. The size of the ACPI 
16385.0 
1639FADT is 268 bytes.
1640
1641Updated all ACPICA copyrights and signons to 2012. Added the 2012 
1642copyright to 
1643all module headers and signons, including the standard Linux header. This 
1644affects virtually every file in the ACPICA core subsystem, iASL compiler, 
1645and 
1646all ACPICA utilities.
1647
1648Example Code and Data Size: These are the sizes for the OS-independent 
1649acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1650debug 
1651version of the code includes the debug output trace mechanism and has a 
1652much 
1653larger code and data size.
1654
1655  Previous Release:
1656    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1657    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1658  Current Release:
1659    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1660    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1661
1662
16632) iASL Compiler/Disassembler and Tools:
1664
1665Disassembler: fixed a problem with the automatic resource tag generation 
1666support. Fixes a problem where the resource tags are inadvertently not 
1667constructed if the table being disassembled contains external references 
1668to 
1669control methods. Moved the actual construction of the tags to after the 
1670final 
1671namespace is constructed (after 2nd parse is invoked due to external 
1672control 
1673method references.) ACPICA BZ 941.
1674
1675Table Compiler: Make all "generic" operators caseless. These are the 
1676operators 
1677like UINT8, String, etc. Making these caseless improves ease-of-use. 
1678ACPICA BZ 
1679934.
1680
1681----------------------------------------
168223 November 2011. Summary of changes for version 20111123:
1683
16840) ACPI 5.0 Support:
1685
1686This release contains full support for the ACPI 5.0 specification, as 
1687summarized below.
1688
1689Reduced Hardware Support:
1690-------------------------
1691
1692This support allows for ACPI systems without the usual ACPI hardware. 
1693This 
1694support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
1695will 
1696not attempt to initialize or use any of the usual ACPI hardware. Note, 
1697when 
1698this flag is set, all of the following ACPI hardware is assumed to be not 
1699present and is not initialized or accessed:
1700
1701    General Purpose Events (GPEs)
1702    Fixed Events (PM1a/PM1b and PM Control)
1703    Power Management Timer and Console Buttons (power/sleep)
1704    Real-time Clock Alarm
1705    Global Lock
1706    System Control Interrupt (SCI)
1707    The FACS is assumed to be non-existent
1708
1709ACPI Tables:
1710------------
1711
1712All new tables and updates to existing tables are fully supported in the 
1713ACPICA headers (for use by device drivers), the disassembler, and the 
1714iASL 
1715Data Table Compiler. ACPI 5.0 defines these new tables:
1716
1717    BGRT        /* Boot Graphics Resource Table */
1718    DRTM        /* Dynamic Root of Trust for Measurement table */
1719    FPDT        /* Firmware Performance Data Table */
1720    GTDT        /* Generic Timer Description Table */
1721    MPST        /* Memory Power State Table */
1722    PCCT        /* Platform Communications Channel Table */
1723    PMTT        /* Platform Memory Topology Table */
1724    RASF        /* RAS Feature table */
1725
1726Operation Regions/SpaceIDs:
1727---------------------------
1728
1729All new operation regions are fully supported by the iASL compiler, the 
1730disassembler, and the ACPICA runtime code (for dispatch to region 
1731handlers.) 
1732The new operation region Space IDs are:
1733
1734    GeneralPurposeIo
1735    GenericSerialBus
1736
1737Resource Descriptors:
1738---------------------
1739
1740All new ASL resource descriptors are fully supported by the iASL 
1741compiler, 
1742the 
1743ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
1744(including 
1745all new predefined resource tags). New descriptors are:
1746
1747    FixedDma
1748    GpioIo
1749    GpioInt
1750    I2cSerialBus
1751    SpiSerialBus
1752    UartSerialBus
1753
1754ASL/AML Operators, New and Modified:
1755------------------------------------
1756
1757One new operator is added, the Connection operator, which is used to 
1758associate 
1759a GeneralPurposeIo or GenericSerialBus resource descriptor with 
1760individual 
1761field objects within an operation region. Several new protocols are 
1762associated 
1763with the AccessAs operator. All are fully supported by the iASL compiler, 
1764disassembler, and runtime ACPICA AML interpreter:
1765
1766    Connection                      // Declare Field Connection 
1767attributes
1768    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
1769    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
1770Protocol
1771    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
1772    RawDataBuffer                       // Data type for Vendor Data 
1773fields
1774
1775Predefined ASL/AML Objects:
1776---------------------------
1777
1778All new predefined objects/control-methods are supported by the iASL 
1779compiler 
1780and the ACPICA runtime validation/repair (arguments and return values.) 
1781New 
1782predefined names include the following:
1783
1784Standard Predefined Names (Objects or Control Methods):
1785    _AEI, _CLS, _CPC, _CWS, _DEP,
1786    _DLM, _EVT, _GCP, _CRT, _GWS,
1787    _HRV, _PRE, _PSE, _SRT, _SUB.
1788
1789Resource Tags (Names used to access individual fields within resource 
1790descriptors):
1791    _DBT, _DPL, _DRS, _END, _FLC,
1792    _IOR, _LIN, _MOD, _PAR, _PHA,
1793    _PIN, _PPI, _POL, _RXL, _SLV,
1794    _SPE, _STB, _TXL, _VEN.
1795
1796ACPICA External Interfaces:
1797---------------------------
1798
1799Several new interfaces have been defined for use by ACPI-related device 
1800drivers and other host OS services:
1801
1802AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
1803to 
1804acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
1805provided by the BIOS. They are intended to be used in conjunction with 
1806the 
1807ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
1808mutual exclusion with the AML code/interpreter.
1809
1810AcpiGetEventResources: Returns the (formatted) resource descriptors as 
1811defined 
1812by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
1813provides 
1814resource descriptors associated with hardware-reduced platform events, 
1815similar 
1816to the AcpiGetCurrentResources interface.
1817
1818Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
1819operation regions, information about the Connection() object and any 
1820optional 
1821length information is passed to the region handler within the Context 
1822parameter.
1823
1824AcpiBufferToResource: This interface converts a raw AML buffer containing 
1825a 
1826resource template or resource descriptor to the ACPI_RESOURCE internal 
1827format 
1828suitable for use by device drivers. Can be used by an operation region 
1829handler 
1830to convert the Connection() buffer object into a ACPI_RESOURCE.
1831
1832Miscellaneous/Tools/TestSuites: 
1833-------------------------------
1834
1835Support for extended _HID names (Four alpha characters instead of three).
1836Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
1837Support for ACPI 5.0 features in the ASLTS test suite.
1838Fully updated documentation (ACPICA and iASL reference documents.)
1839
1840ACPI Table Definition Language:
1841-------------------------------
1842
1843Support for this language was implemented and released as a subsystem of 
1844the 
1845iASL compiler in 2010. (See the iASL compiler User Guide.)
1846
1847
1848Non-ACPI 5.0 changes for this release:
1849--------------------------------------
1850
18511) ACPICA Core Subsystem:
1852
1853Fix a problem with operation region declarations where a failure can 
1854occur 
1855if 
1856the region name and an argument that evaluates to an object (such as the 
1857region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
1858937.
1859
1860Do not abort an ACPI table load if an invalid space ID is found within. 
1861This 
1862will be caught later if the offending method is executed. ACPICA BZ 925.
1863
1864Fixed an issue with the FFixedHW space ID where the ID was not always 
1865recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
1866
1867Fixed a problem with the 32-bit generation of the unix-specific OSL 
1868(osunixxf.c). Lin Ming, ACPICA BZ 936.
1869
1870Several changes made to enable generation with the GCC 4.6 compiler. 
1871ACPICA BZ 
1872935.
1873
1874New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
1875Index/Bank 
1876field registers out-of-range.
1877
18782) iASL Compiler/Disassembler and Tools:
1879
1880iASL: Implemented the __PATH__ operator, which returns the full pathname 
1881of 
1882the current source file.
1883
1884AcpiHelp: Automatically display expanded keyword information for all ASL 
1885operators.
1886
1887Debugger: Add "Template" command to disassemble/dump resource template 
1888buffers.
1889
1890Added a new master script to generate and execute the ASLTS test suite. 
1891Automatically handles 32- and 64-bit generation. See tests/aslts.sh
1892
1893iASL: Fix problem with listing generation during processing of the 
1894Switch() 
1895operator where AML listing was disabled until the entire Switch block was 
1896completed.
1897
1898iASL: Improve support for semicolon statement terminators. Fix "invalid 
1899character" message for some cases when the semicolon is used. Semicolons 
1900are 
1901now allowed after every <Term> grammar element. ACPICA BZ 927.
1902
1903iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
1904923.
1905
1906Disassembler: Fix problem with disassembly of the DataTableRegion 
1907operator 
1908where an inadvertent "Unhandled deferred opcode" message could be 
1909generated.
1910
19113) Example Code and Data Size
1912
1913These are the sizes for the OS-independent acpica.lib produced by the 
1914Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
1915includes the debug output trace mechanism and has a much larger code and 
1916data 
1917size.
1918
1919  Previous Release:
1920    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1921    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1922  Current Release:
1923    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1924    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1925
1926----------------------------------------
192722 September 2011. Summary of changes for version 20110922:
1928
19290) ACPI 5.0 News:
1930
1931Support for ACPI 5.0 in ACPICA has been underway for several months and 
1932will 
1933be released at the same time that ACPI 5.0 is officially released.
1934
1935The ACPI 5.0 specification is on track for release in the next few 
1936months.
1937 
19381) ACPICA Core Subsystem:
1939
1940Fixed a problem where the maximum sleep time for the Sleep() operator was 
1941intended to be limited to two seconds, but was inadvertently limited to 
194220 
1943seconds instead.
1944
1945Linux and Unix makefiles: Added header file dependencies to ensure 
1946correct 
1947generation of ACPICA core code and utilities. Also simplified the 
1948makefiles 
1949considerably through the use of the vpath variable to specify search 
1950paths. 
1951ACPICA BZ 924.
1952
19532) iASL Compiler/Disassembler and Tools:
1954
1955iASL: Implemented support to check the access length for all fields 
1956created to 
1957access named Resource Descriptor fields. For example, if a resource field 
1958is 
1959defined to be two bits, a warning is issued if a CreateXxxxField() is 
1960used 
1961with an incorrect bit length. This is implemented for all current 
1962resource 
1963descriptor names. ACPICA BZ 930.
1964  
1965Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
196656-
1967bit integers.
1968
1969iASL: Fixed a couple of issues associated with variable-length package 
1970objects. 1) properly handle constants like One, Ones, Zero -- do not make 
1971a 
1972VAR_PACKAGE when these are used as a package length. 2) Allow the 
1973VAR_PACKAGE 
1974opcode (in addition to PACKAGE) when validating object types for 
1975predefined 
1976names.
1977
1978iASL: Emit statistics for all output files (instead of just the ASL input 
1979and 
1980AML output). Includes listings, hex files, etc.
1981
1982iASL: Added -G option to the table compiler to allow the compilation of 
1983custom 
1984ACPI tables. The only part of a table that is required is the standard 
198536-
1986byte 
1987ACPI header.
1988
1989AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
1990headers), 
1991which also adds correct 64-bit support. Also, now all output filenames 
1992are 
1993completely lower case.
1994
1995AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
1996loading table files. A warning is issued for any such tables. The only 
1997exception is an FADT. This also fixes a possible fault when attempting to 
1998load 
1999non-AML tables. ACPICA BZ 932.
2000
2001AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
2002a 
2003missing table terminator could cause a fault when using the -p option.
2004
2005AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
2006statistics.
2007
20083) Example Code and Data Size
2009
2010These are the sizes for the OS-independent acpica.lib produced by the 
2011Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
2012includes the debug output trace mechanism and has a much larger code and 
2013data 
2014size.
2015
2016  Previous Release (VC 9.0):
2017    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2018    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2019  Current Release (VC 9.0):
2020    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2021    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2022
2023
2024----------------------------------------
202523 June 2011. Summary of changes for version 20110623:
2026
20271) ACPI CA Core Subsystem:
2028
2029Updated the predefined name repair mechanism to not attempt repair of a 
2030_TSS 
2031return object if a _PSS object is present. We can only sort the _TSS 
2032return 
2033package if there is no _PSS within the same scope. This is because if 
2034_PSS 
2035is 
2036present, the ACPI specification dictates that the _TSS Power Dissipation 
2037field 
2038is to be ignored, and therefore some BIOSs leave garbage values in the 
2039_TSS 
2040Power field(s). In this case, it is best to just return the _TSS package 
2041as-
2042is. Reported by, and fixed with assistance from Fenghua Yu.
2043
2044Added an option to globally disable the control method return value 
2045validation 
2046and repair. This runtime option can be used to disable return value 
2047repair 
2048if 
2049this is causing a problem on a particular machine. Also added an option 
2050to 
2051AcpiExec (-dr) to set this disable flag.
2052
2053All makefiles and project files: Major changes to improve generation of 
2054ACPICA 
2055tools. ACPICA BZ 912:
2056    Reduce default optimization levels to improve compatibility
2057    For Linux, add strict-aliasing=0 for gcc 4
2058    Cleanup and simplify use of command line defines
2059    Cleanup multithread library support
2060    Improve usage messages
2061
2062Linux-specific header: update handling of THREAD_ID and pthread. For the 
206332-
2064bit case, improve casting to eliminate possible warnings, especially with 
2065the 
2066acpica tools.
2067
2068Example Code and Data Size: These are the sizes for the OS-independent 
2069acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2070debug 
2071version of the code includes the debug output trace mechanism and has a 
2072much 
2073larger code and data size.
2074
2075  Previous Release (VC 9.0):
2076    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
2077    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2078  Current Release (VC 9.0):
2079    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2080    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2081
20822) iASL Compiler/Disassembler and Tools:
2083
2084With this release, a new utility named "acpihelp" has been added to the 
2085ACPICA 
2086package. This utility summarizes the ACPI specification chapters for the 
2087ASL 
2088and AML languages. It generates under Linux/Unix as well as Windows, and 
2089provides the following functionality:
2090    Find/display ASL operator(s) -- with description and syntax.
2091    Find/display ASL keyword(s) -- with exact spelling and descriptions.
2092    Find/display ACPI predefined name(s) -- with description, number
2093        of arguments, and the return value data type.
2094    Find/display AML opcode name(s) -- with opcode, arguments, and 
2095grammar.
2096    Decode/display AML opcode -- with opcode name, arguments, and 
2097grammar.
2098
2099Service Layers: Make multi-thread support configurable. Conditionally 
2100compile 
2101the multi-thread support so that threading libraries will not be linked 
2102if 
2103not 
2104necessary. The only tool that requires multi-thread support is AcpiExec.
2105
2106iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
2107of 
2108Bison appear to want the interface to yyerror to be a const char * (or at 
2109least this is a problem when generating iASL on some systems.) ACPICA BZ 
2110923 
2111Pierre Lejeune.
2112
2113Tools: Fix for systems where O_BINARY is not defined. Only used for 
2114Windows 
2115versions of the tools.
2116
2117----------------------------------------
211827 May 2011. Summary of changes for version 20110527:
2119
21201) ACPI CA Core Subsystem:
2121
2122ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
2123table 
2124signature. Now, only allow SSDT, OEMx, and a null signature. History:
2125    1) Originally, we checked the table signature for "SSDT" or "PSDT".
2126       (PSDT is now obsolete.)
2127    2) We added support for OEMx tables, signature "OEM" plus a fourth
2128       "don't care" character.
2129    3) Valid tables were encountered with a null signature, so we just
2130       gave up on validating the signature, (05/2008).
2131    4) We encountered non-AML tables such as the MADT, which caused
2132       interpreter errors and kernel faults. So now, we once again allow
2133       only SSDT, OEMx, and now, also a null signature. (05/2011).
2134
2135Added the missing _TDL predefined name to the global name list in order 
2136to 
2137enable validation. Affects both the core ACPICA code and the iASL 
2138compiler.
2139
2140Example Code and Data Size: These are the sizes for the OS-independent 
2141acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2142debug 
2143version of the code includes the debug output trace mechanism and has a 
2144much 
2145larger code and data size.
2146
2147  Previous Release (VC 9.0):
2148    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
2149    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
2150  Current Release (VC 9.0):
2151    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
2152    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2153
21542) iASL Compiler/Disassembler and Tools:
2155
2156Debugger/AcpiExec: Implemented support for "complex" method arguments on 
2157the 
2158debugger command line. This adds support beyond simple integers -- 
2159including 
2160Strings, Buffers, and Packages. Includes support for nested packages. 
2161Increased the default command line buffer size to accommodate these 
2162arguments. 
2163See the ACPICA reference for details and syntax. ACPICA BZ 917.
2164 
2165Debugger/AcpiExec: Implemented support for "default" method arguments for 
2166the 
2167Execute/Debug command. Now, the debugger will always invoke a control 
2168method 
2169with the required number of arguments -- even if the command line 
2170specifies 
2171none or insufficient arguments. It uses default integer values for any 
2172missing 
2173arguments. Also fixes a bug where only six method arguments maximum were 
2174supported instead of the required seven.
2175
2176Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
2177and 
2178also return status in order to prevent buffer overruns. See the ACPICA 
2179reference for details and syntax. ACPICA BZ 921
2180
2181iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
2182makefiles to simplify support for the two different but similar parser 
2183generators, bison and yacc.
2184
2185Updated the generic unix makefile for gcc 4. The default gcc version is 
2186now 
2187expected to be 4 or greater, since options specific to gcc 4 are used.
2188
2189----------------------------------------
219013 April 2011. Summary of changes for version 20110413:
2191
21921) ACPI CA Core Subsystem:
2193
2194Implemented support to execute a so-called "orphan" _REG method under the 
2195EC 
2196device. This change will force the execution of a _REG method underneath 
2197the 
2198EC 
2199device even if there is no corresponding operation region of type 
2200EmbeddedControl. Fixes a problem seen on some machines and apparently is 
2201compatible with Windows behavior. ACPICA BZ 875.
2202
2203Added more predefined methods that are eligible for automatic NULL 
2204package 
2205element removal. This change adds another group of predefined names to 
2206the 
2207list 
2208of names that can be repaired by having NULL package elements dynamically 
2209removed. This group are those methods that return a single variable-
2210length 
2211package containing simple data types such as integers, buffers, strings. 
2212This 
2213includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
2214_PSL, 
2215_Sx, 
2216and _TZD. ACPICA BZ 914.
2217
2218Split and segregated all internal global lock functions to a new file, 
2219evglock.c.
2220
2221Updated internal address SpaceID for DataTable regions. Moved this 
2222internal 
2223space 
2224id in preparation for ACPI 5.0 changes that will include some new space 
2225IDs. 
2226This 
2227change should not affect user/host code.
2228
2229Example Code and Data Size: These are the sizes for the OS-independent 
2230acpica.lib 
2231produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
2232version of 
2233the code includes the debug output trace mechanism and has a much larger 
2234code 
2235and 
2236data size.
2237
2238  Previous Release (VC 9.0):
2239    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
2240    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
2241  Current Release (VC 9.0):
2242    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
2243    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
2244
22452) iASL Compiler/Disassembler and Tools:
2246
2247iASL/DTC: Major update for new grammar features. Allow generic data types 
2248in 
2249custom ACPI tables. Field names are now optional. Any line can be split 
2250to 
2251multiple lines using the continuation char (\). Large buffers now use 
2252line-
2253continuation character(s) and no colon on the continuation lines. See the 
2254grammar 
2255update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
2256Moore.
2257
2258iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
2259statements. 
2260Since the parser stuffs a "zero" as the return value for these statements 
2261(due 
2262to 
2263the underlying AML grammar), they were seen as "return with value" by the 
2264iASL 
2265semantic checking. They are now seen correctly as "null" return 
2266statements.
2267
2268iASL: Check if a_REG declaration has a corresponding Operation Region. 
2269Adds a 
2270check for each _REG to ensure that there is in fact a corresponding 
2271operation 
2272region declaration in the same scope. If not, the _REG method is not very 
2273useful 
2274since it probably won't be executed. ACPICA BZ 915.
2275
2276iASL/DTC: Finish support for expression evaluation. Added a new 
2277expression 
2278parser 
2279that implements c-style operator precedence and parenthesization. ACPICA 
2280bugzilla 
2281908.
2282
2283Disassembler/DTC: Remove support for () and <> style comments in data 
2284tables. 
2285Now 
2286that DTC has full expression support, we don't want to have comment 
2287strings 
2288that 
2289start with a parentheses or a less-than symbol. Now, only the standard /* 
2290and 
2291// 
2292comments are supported, as well as the bracket [] comments.
2293
2294AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
2295"unusual" 
2296headers in the acpidump file. Update the header validation to support 
2297these 
2298tables. Problem introduced in previous AcpiXtract version in the change 
2299to 
2300support "wrong checksum" error messages emitted by acpidump utility.
2301
2302iASL: Add a * option to generate all template files (as a synonym for 
2303ALL) 
2304as 
2305in 
2306"iasl -T *" or "iasl -T ALL".
2307
2308iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
2309completely 
2310abort the compiler on "fatal" errors, simply should abort the current 
2311compile. 
2312This allows multiple compiles with a single (possibly wildcard) compiler 
2313invocation.
2314
2315----------------------------------------
231616 March 2011. Summary of changes for version 20110316:
2317
23181) ACPI CA Core Subsystem:
2319
2320Fixed a problem caused by a _PRW method appearing at the namespace root 
2321scope 
2322during the setup of wake GPEs. A fault could occur if a _PRW directly 
2323under 
2324the 
2325root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
2326
2327Implemented support for "spurious" Global Lock interrupts. On some 
2328systems, a 
2329global lock interrupt can occur without the pending flag being set. Upon 
2330a 
2331GL 
2332interrupt, we now ensure that a thread is actually waiting for the lock 
2333before 
2334signaling GL availability. Rafael Wysocki, Bob Moore.
2335
2336Example Code and Data Size: These are the sizes for the OS-independent 
2337acpica.lib 
2338produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
2339version of 
2340the code includes the debug output trace mechanism and has a much larger 
2341code 
2342and 
2343data size.
2344
2345  Previous Release (VC 9.0):
2346    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2347    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2348  Current Release (VC 9.0):
2349    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
2350    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
2351
23522) iASL Compiler/Disassembler and Tools:
2353
2354Implemented full support for the "SLIC" ACPI table. Includes support in 
2355the 
2356header files, disassembler, table compiler, and template generator. Bob 
2357Moore, 
2358Lin Ming.
2359
2360AcpiXtract: Correctly handle embedded comments and messages from 
2361AcpiDump. 
2362Apparently some or all versions of acpidump will occasionally emit a 
2363comment 
2364like 
2365"Wrong checksum", etc., into the dump file. This was causing problems for 
2366AcpiXtract. ACPICA BZ 905.
2367
2368iASL: Fix the Linux makefile by removing an inadvertent double file 
2369inclusion. 
2370ACPICA BZ 913.
2371
2372AcpiExec: Update installation of operation region handlers. Install one 
2373handler 
2374for a user-defined address space. This is used by the ASL test suite 
2375(ASLTS).
2376
2377----------------------------------------
237811 February 2011. Summary of changes for version 20110211:
2379
23801) ACPI CA Core Subsystem:
2381
2382Added a mechanism to defer _REG methods for some early-installed 
2383handlers. 
2384Most user handlers should be installed before call to 
2385AcpiEnableSubsystem. 
2386However, Event handlers and region handlers should be installed after 
2387AcpiInitializeObjects. Override handlers for the "default" regions should 
2388be 
2389installed early, however. This change executes all _REG methods for the 
2390default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
2391chicken/egg issues between them. ACPICA BZ 848.
2392
2393Implemented an optimization for GPE detection. This optimization will 
2394simply 
2395ignore GPE registers that contain no enabled GPEs -- there is no need to 
2396read the register since this information is available internally. This 
2397becomes more important on machines with a large GPE space. ACPICA 
2398bugzilla 
2399884. Lin Ming. Suggestion from Joe Liu.
2400
2401Removed all use of the highly unreliable FADT revision field. The 
2402revision 
2403number in the FADT has been found to be completely unreliable and cannot 
2404be 
2405trusted. Only the actual table length can be used to infer the version. 
2406This 
2407change updates the ACPICA core and the disassembler so that both no 
2408longer 
2409even look at the FADT version and instead depend solely upon the FADT 
2410length.
2411
2412Fix an unresolved name issue for the no-debug and no-error-message source 
2413generation cases. The _AcpiModuleName was left undefined in these cases, 
2414but 
2415it is actually needed as a parameter to some interfaces. Define 
2416_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
2417
2418Split several large files (makefiles and project files updated)
2419  utglobal.c   -> utdecode.c
2420  dbcomds.c    -> dbmethod.c dbnames.c
2421  dsopcode.c   -> dsargs.c dscontrol.c
2422  dsload.c     -> dsload2.c
2423  aslanalyze.c -> aslbtypes.c aslwalks.c
2424
2425Example Code and Data Size: These are the sizes for the OS-independent 
2426acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2427debug version of the code includes the debug output trace mechanism and 
2428has 
2429a much larger code and data size.
2430
2431  Previous Release (VC 9.0):
2432    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2433    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2434  Current Release (VC 9.0):
2435    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2436    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2437
24382) iASL Compiler/Disassembler and Tools:
2439
2440iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
2441These are useful C-style macros with the standard definitions. ACPICA 
2442bugzilla 898.
2443
2444iASL/DTC: Added support for integer expressions and labels. Support for 
2445full 
2446expressions for all integer fields in all ACPI tables. Support for labels 
2447in 
2448"generic" portions of tables such as UEFI. See the iASL reference manual.
2449
2450Debugger: Added a command to display the status of global handlers. The 
2451"handlers" command will display op region, fixed event, and miscellaneous 
2452global handlers. installation status -- and for op regions, whether 
2453default 
2454or user-installed handler will be used.
2455
2456iASL: Warn if reserved method incorrectly returns a value. Many 
2457predefined 
2458names are defined such that they do not return a value. If implemented as 
2459a 
2460method, issue a warning if such a name explicitly returns a value. ACPICA 
2461Bugzilla 855.
2462
2463iASL: Added detection of GPE method name conflicts. Detects a conflict 
2464where 
2465there are two GPE methods of the form _Lxy and _Exy in the same scope. 
2466(For 
2467example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
2468
2469iASL/DTC: Fixed a couple input scanner issues with comments and line 
2470numbers. Comment remover could get confused and miss a comment ending. 
2471Fixed 
2472a problem with line counter maintenance.
2473
2474iASL/DTC: Reduced the severity of some errors from fatal to error. There 
2475is 
2476no need to abort on simple errors within a field definition.
2477
2478Debugger: Simplified the output of the help command. All help output now 
2479in 
2480a single screen, instead of help subcommands. ACPICA Bugzilla 897.
2481
2482----------------------------------------
248312 January 2011. Summary of changes for version 20110112:
2484
24851) ACPI CA Core Subsystem:
2486
2487Fixed a race condition between method execution and namespace walks that 
2488can 
2489possibly cause a fault. The problem was apparently introduced in version 
249020100528 as a result of a performance optimization that reduces the 
2491number 
2492of 
2493namespace walks upon method exit by using the delete_namespace_subtree 
2494function instead of the delete_namespace_by_owner function used 
2495previously. 
2496Bug is a missing namespace lock in the delete_namespace_subtree function. 
2497dana.myers@oracle.com
2498
2499Fixed several issues and a possible fault with the automatic "serialized" 
2500method support. History: This support changes a method to "serialized" on 
2501the 
2502fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
2503possibility that it cannot handle reentrancy. This fix repairs a couple 
2504of 
2505issues seen in the field, especially on machines with many cores:
2506
2507    1) Delete method children only upon the exit of the last thread,
2508       so as to not delete objects out from under other running threads
2509      (and possibly causing a fault.)
2510    2) Set the "serialized" bit for the method only upon the exit of the
2511       Last thread, so as to not cause deadlock when running threads
2512       attempt to exit.
2513    3) Cleanup the use of the AML "MethodFlags" and internal method flags
2514       so that there is no longer any confusion between the two.
2515
2516    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
2517
2518Debugger: Now lock the namespace for duration of a namespace dump. 
2519Prevents 
2520issues if the namespace is changing dynamically underneath the debugger. 
2521Especially affects temporary namespace nodes, since the debugger displays 
2522these also.
2523
2524Updated the ordering of include files. The ACPICA headers should appear 
2525before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
2526set 
2527any necessary compiler-specific defines, etc. Affects the ACPI-related 
2528tools 
2529and utilities.
2530
2531Updated all ACPICA copyrights and signons to 2011. Added the 2011 
2532copyright 
2533to all module headers and signons, including the Linux header. This 
2534affects 
2535virtually every file in the ACPICA core subsystem, iASL compiler, and all 
2536utilities.
2537
2538Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
2539project files for VC++ 6.0 are now obsolete. New project files can be 
2540found 
2541under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
2542details.
2543
2544Example Code and Data Size: These are the sizes for the OS-independent 
2545acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2546debug version of the code includes the debug output trace mechanism and 
2547has a 
2548much larger code and data size.
2549
2550  Previous Release (VC 6.0):
2551    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2552    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2553  Current Release (VC 9.0):
2554    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2555    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2556
25572) iASL Compiler/Disassembler and Tools:
2558
2559iASL: Added generic data types to the Data Table compiler. Add "generic" 
2560data 
2561types such as UINT32, String, Unicode, etc., to simplify the generation 
2562of 
2563platform-defined tables such as UEFI. Lin Ming.
2564
2565iASL: Added listing support for the Data Table Compiler. Adds listing 
2566support 
2567(-l) to display actual binary output for each line of input code.
2568
2569----------------------------------------
257009 December 2010. Summary of changes for version 20101209:
2571
25721) ACPI CA Core Subsystem:
2573
2574Completed the major overhaul of the GPE support code that was begun in 
2575July 
25762010. Major features include: removal of _PRW execution in ACPICA (host 
2577executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
2578changes to existing interfaces, simplification of GPE handler operation, 
2579and 
2580a handful of new interfaces:
2581
2582    AcpiUpdateAllGpes
2583    AcpiFinishGpe
2584    AcpiSetupGpeForWake
2585    AcpiSetGpeWakeMask
2586    One new file, evxfgpe.c to consolidate all external GPE interfaces.
2587
2588See the ACPICA Programmer Reference for full details and programming 
2589information. See the new section 4.4 "General Purpose Event (GPE) 
2590Support" 
2591for a full overview, and section 8.7 "ACPI General Purpose Event 
2592Management" 
2593for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
2594Ming, 
2595Bob Moore, Rafael Wysocki.
2596
2597Implemented a new GPE feature for Windows compatibility, the "Implicit 
2598Wake 
2599GPE Notify". This feature will automatically issue a Notify(2) on a 
2600device 
2601when a Wake GPE is received if there is no corresponding GPE method or 
2602handler. ACPICA BZ 870.
2603
2604Fixed a problem with the Scope() operator during table parse and load 
2605phase. 
2606During load phase (table load or method execution), the scope operator 
2607should 
2608not enter the target into the namespace. Instead, it should open a new 
2609scope 
2610at the target location. Linux BZ 19462, ACPICA BZ 882.
2611
2612Example Code and Data Size: These are the sizes for the OS-independent 
2613acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2614debug version of the code includes the debug output trace mechanism and 
2615has a 
2616much larger code and data size.
2617
2618  Previous Release:
2619    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2620    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2621  Current Release:
2622    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2623    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2624
26252) iASL Compiler/Disassembler and Tools:
2626
2627iASL: Relax the alphanumeric restriction on _CID strings. These strings 
2628are 
2629"bus-specific" per the ACPI specification, and therefore any characters 
2630are 
2631acceptable. The only checks that can be performed are for a null string 
2632and 
2633perhaps for a leading asterisk. ACPICA BZ 886.
2634
2635iASL: Fixed a problem where a syntax error that caused a premature EOF 
2636condition on the source file emitted a very confusing error message. The 
2637premature EOF is now detected correctly. ACPICA BZ 891.
2638
2639Disassembler: Decode the AccessSize within a Generic Address Structure 
2640(byte 
2641access, word access, etc.) Note, this field does not allow arbitrary bit 
2642access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
2643
2644New: AcpiNames utility - Example namespace dump utility. Shows an example 
2645of 
2646ACPICA configuration for a minimal namespace dump utility. Uses table and 
2647namespace managers, but no AML interpreter. Does not add any 
2648functionality 
2649over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
2650partition and configure ACPICA. ACPICA BZ 883.
2651
2652AML Debugger: Increased the debugger buffer size for method return 
2653objects. 
2654Was 4K, increased to 16K. Also enhanced error messages for debugger 
2655method 
2656execution, including the buffer overflow case.
2657
2658----------------------------------------
265913 October 2010. Summary of changes for version 20101013:
2660
26611) ACPI CA Core Subsystem:
2662
2663Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
2664now 
2665clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
2666HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
2667
2668Changed the type of the predefined namespace object _TZ from ThermalZone 
2669to 
2670Device. This was found to be confusing to the host software that 
2671processes 
2672the various thermal zones, since _TZ is not really a ThermalZone. 
2673However, 
2674a 
2675Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
2676Zhang.
2677
2678Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
2679string is "Windows 2006 SP2".
2680
2681Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
2682nsrepair 
2683code automatically repairs _HID-related strings, this type of code is no 
2684longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
2685878.
2686
2687Example Code and Data Size: These are the sizes for the OS-independent 
2688acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2689debug version of the code includes the debug output trace mechanism and 
2690has a 
2691much larger code and data size.
2692
2693  Previous Release:
2694    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2695    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2696  Current Release:
2697    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2698    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2699
27002) iASL Compiler/Disassembler and Tools:
2701
2702iASL: Implemented additional compile-time validation for _HID strings. 
2703The 
2704non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
2705length 
2706of 
2707the string must be exactly seven or eight characters. For both _HID and 
2708_CID 
2709strings, all characters must be alphanumeric. ACPICA BZ 874.
2710
2711iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
2712descriptors that are mostly or all zeros, with the expectation that they 
2713will 
2714be filled in at runtime. iASL now allows this as long as there is a 
2715"resource 
2716tag" (name) associated with the descriptor, which gives the ASL a handle 
2717needed to modify the descriptor. ACPICA BZ 873.
2718
2719Added single-thread support to the generic Unix application OSL. 
2720Primarily 
2721for iASL support, this change removes the use of semaphores in the 
2722single-
2723threaded ACPICA tools/applications - increasing performance. The 
2724_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
2725option. ACPICA BZ 879.
2726
2727AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
2728support 
2729for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
2730
2731iASL: Moved all compiler messages to a new file, aslmessages.h.
2732
2733----------------------------------------
273415 September 2010. Summary of changes for version 20100915:
2735
27361) ACPI CA Core Subsystem:
2737
2738Removed the AcpiOsDerivePciId OSL interface. The various host 
2739implementations 
2740of this function were not OS-dependent and are now obsolete and can be 
2741removed from all host OSLs. This function has been replaced by 
2742AcpiHwDerivePciId, which is now part of the ACPICA core code. 
2743AcpiHwDerivePciId has been implemented without recursion. Adds one new 
2744module, hwpci.c. ACPICA BZ 857.
2745
2746Implemented a dynamic repair for _HID and _CID strings. The following 
2747problems are now repaired at runtime: 1) Remove a leading asterisk in the 
2748string, and 2) the entire string is uppercased. Both repairs are in 
2749accordance with the ACPI specification and will simplify host driver 
2750code. 
2751ACPICA BZ 871.
2752
2753The ACPI_THREAD_ID type is no longer configurable, internally it is now 
2754always UINT64. This simplifies the ACPICA code, especially any printf 
2755output. 
2756UINT64 is the only common data type for all thread_id types across all 
2757operating systems. It is now up to the host OSL to cast the native 
2758thread_id 
2759type to UINT64 before returning the value to ACPICA (via 
2760AcpiOsGetThreadId). 
2761Lin Ming, Bob Moore.
2762
2763Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
2764"inline" 
2765keyword is not standard across compilers, and this type allows inline to 
2766be 
2767configured on a per-compiler basis. Lin Ming.
2768
2769Made the system global AcpiGbl_SystemAwakeAndRunning publically 
2770available. 
2771Added an extern for this boolean in acpixf.h. Some hosts utilize this 
2772value 
2773during suspend/restore operations. ACPICA BZ 869.
2774
2775All code that implements error/warning messages with the "ACPI:" prefix 
2776has 
2777been moved to a new module, utxferror.c.
2778
2779The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
2780it 
2781is used. ACPICA BZ 829. Lin Ming, 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:  89.1K Code, 19.0K Data, 108.1K Total
2791    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2792  Current Release:
2793    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2794    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2795
27962) iASL Compiler/Disassembler and Tools:
2797
2798iASL/Disassembler: Write ACPI errors to stderr instead of the output 
2799file. 
2800This keeps the output files free of random error messages that may 
2801originate 
2802from within the namespace/interpreter code. Used this opportunity to 
2803merge 
2804all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
2805866. Lin Ming, Bob Moore.
2806
2807Tools: update some printfs for ansi warnings on size_t. Handle width 
2808change 
2809of size_t on 32-bit versus 64-bit generations. Lin Ming.
2810
2811----------------------------------------
281206 August 2010. Summary of changes for version 20100806:
2813
28141) ACPI CA Core Subsystem:
2815
2816Designed and implemented a new host interface to the _OSI support code. 
2817This 
2818will allow the host to dynamically add or remove multiple _OSI strings, 
2819as 
2820well as install an optional handler that is called for each _OSI 
2821invocation. 
2822Also added a new AML debugger command, 'osi' to display and modify the 
2823global 
2824_OSI string table, and test support in the AcpiExec utility. See the 
2825ACPICA 
2826reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
2827New Functions:
2828    AcpiInstallInterface - Add an _OSI string.
2829    AcpiRemoveInterface - Delete an _OSI string.
2830    AcpiInstallInterfaceHandler - Install optional _OSI handler.
2831Obsolete Functions:
2832    AcpiOsValidateInterface - no longer used.
2833New Files:
2834    source/components/utilities/utosi.c
2835
2836Re-introduced the support to enable multi-byte transfers for Embedded 
2837Controller (EC) operation regions. A reported problem was found to be a 
2838bug 
2839in the host OS, not in the multi-byte support. Previously, the maximum 
2840data 
2841size passed to the EC operation region handler was a single byte. There 
2842are 
2843often EC Fields larger than one byte that need to be transferred, and it 
2844is 
2845useful for the EC driver to lock these as a single transaction. This 
2846change 
2847enables single transfers larger than 8 bits. This effectively changes the 
2848access to the EC space from ByteAcc to AnyAcc, and will probably require 
2849changes to the host OS Embedded Controller driver to enable 16/32/64/256-
2850bit 
2851transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
2852
2853Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
2854prototype in acpiosxf.h had the output value pointer as a (void *).
2855It should be a (UINT64 *). This may affect some host OSL code.
2856
2857Fixed a couple problems with the recently modified Linux makefiles for 
2858iASL 
2859and AcpiExec. These new makefiles place the generated object files in the 
2860local directory so that there can be no collisions between the files that 
2861are 
2862shared between them that are compiled with different options.
2863
2864Example Code and Data Size: These are the sizes for the OS-independent 
2865acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2866debug version of the code includes the debug output trace mechanism and 
2867has a 
2868much larger code and data size.
2869
2870  Previous Release:
2871    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2872    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2873  Current Release:
2874    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2875    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2876
28772) iASL Compiler/Disassembler and Tools:
2878
2879iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
2880the 
2881namespace from and disassemble an entire group of AML files. Useful for 
2882loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
2883and 
2884disassembling with one simple command. ACPICA BZ 865. Lin Ming.
2885
2886iASL: Allow multiple invocations of -e option. This change allows 
2887multiple 
2888uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
2889834. 
2890Lin Ming.
2891
2892----------------------------------------
289302 July 2010. Summary of changes for version 20100702:
2894
28951) ACPI CA Core Subsystem:
2896
2897Implemented several updates to the recently added GPE reference count 
2898support. The model for "wake" GPEs is changing to give the host OS 
2899complete 
2900control of these GPEs. Eventually, the ACPICA core will not execute any 
2901_PRW 
2902methods, since the host already must execute them. Also, additional 
2903changes 
2904were made to help ensure that the reference counts are kept in proper 
2905synchronization with reality. Rafael J. Wysocki.
2906
29071) Ensure that GPEs are not enabled twice during initialization.
29082) Ensure that GPE enable masks stay in sync with the reference count.
29093) Do not inadvertently enable GPEs when writing GPE registers.
29104) Remove the internal wake reference counter and add new AcpiGpeWakeup 
2911interface. This interface will set or clear individual GPEs for wakeup.
29125) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
2913interfaces 
2914are now used for "runtime" GPEs only.
2915
2916Changed the behavior of the GPE install/remove handler interfaces. The 
2917GPE 
2918is 
2919no longer disabled during this process, as it was found to cause problems 
2920on 
2921some machines. Rafael J. Wysocki.
2922
2923Reverted a change introduced in version 20100528 to enable Embedded 
2924Controller multi-byte transfers. This change was found to cause problems 
2925with 
2926Index Fields and possibly Bank Fields. It will be reintroduced when these 
2927problems have been resolved.
2928
2929Fixed a problem with references to Alias objects within Package Objects. 
2930A 
2931reference to an Alias within the definition of a Package was not always 
2932resolved properly. Aliases to objects like Processors, Thermal zones, 
2933etc. 
2934were resolved to the actual object instead of a reference to the object 
2935as 
2936it 
2937should be. Package objects are only allowed to contain integer, string, 
2938buffer, package, and reference objects. Redhat bugzilla 608648.
2939
2940Example Code and Data Size: These are the sizes for the OS-independent 
2941acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2942debug version of the code includes the debug output trace mechanism and 
2943has a 
2944much larger code and data size.
2945
2946  Previous Release:
2947    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2948    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
2949  Current Release:
2950    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2951    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2952
29532) iASL Compiler/Disassembler and Tools:
2954
2955iASL: Implemented a new compiler subsystem to allow definition and 
2956compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
2957These 
2958are called "ACPI Data Tables", and the new compiler is the "Data Table 
2959Compiler". This compiler is intended to simplify the existing error-prone 
2960process of creating these tables for the BIOS, as well as allowing the 
2961disassembly, modification, recompilation, and override of existing ACPI 
2962data 
2963tables. See the iASL User Guide for detailed information.
2964
2965iASL: Implemented a new Template Generator option in support of the new 
2966Data 
2967Table Compiler. This option will create examples of all known ACPI tables 
2968that can be used as the basis for table development. See the iASL 
2969documentation and the -T option.
2970
2971Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
2972Descriptor Table).
2973
2974Updated the Linux makefiles for iASL and AcpiExec to place the generated 
2975object files in the local directory so that there can be no collisions 
2976between the shared files between them that are generated with different 
2977options.
2978
2979Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
2980Use 
2981the #define __APPLE__ to enable this support.
2982
2983----------------------------------------
298428 May 2010. Summary of changes for version 20100528:
2985
2986Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
2987available at www.acpi.info. This is primarily an errata release.
2988
29891) ACPI CA Core Subsystem:
2990
2991Undefined ACPI tables: We are looking for the definitions for the 
2992following 
2993ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
2994
2995Implemented support to enable multi-byte transfers for Embedded 
2996Controller 
2997(EC) operation regions. Previously, the maximum data size passed to the 
2998EC 
2999operation region handler was a single byte. There are often EC Fields 
3000larger 
3001than one byte that need to be transferred, and it is useful for the EC 
3002driver 
3003to lock these as a single transaction. This change enables single 
3004transfers 
3005larger than 8 bits. This effectively changes the access to the EC space 
3006from 
3007ByteAcc to AnyAcc, and will probably require changes to the host OS 
3008Embedded 
3009Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
3010bit 
3011transfers. Alexey Starikovskiy, Lin Ming
3012
3013Implemented a performance enhancement for namespace search and access. 
3014This 
3015change enhances the performance of namespace searches and walks by adding 
3016a 
3017backpointer to the parent in each namespace node. On large namespaces, 
3018this 
3019change can improve overall ACPI performance by up to 9X. Adding a pointer 
3020to 
3021each namespace node increases the overall size of the internal namespace 
3022by 
3023about 5%, since each namespace entry usually consists of both a namespace 
3024node and an ACPI operand object. However, this is the first growth of the 
3025namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
3026
3027Implemented a performance optimization that reduces the number of 
3028namespace 
3029walks. On control method exit, only walk the namespace if the method is 
3030known 
3031to have created namespace objects outside of its local scope. Previously, 
3032the 
3033entire namespace was traversed on each control method exit. This change 
3034can 
3035improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
3036Moore.
3037
3038Added support to truncate I/O addresses to 16 bits for Windows 
3039compatibility. 
3040Some ASL code has been seen in the field that inadvertently has bits set 
3041above bit 15. This feature is optional and is enabled if the BIOS 
3042requests 
3043any Windows OSI strings. It can also be enabled by the host OS. Matthew 
3044Garrett, Bob Moore.
3045
3046Added support to limit the maximum time for the ASL Sleep() operator. To 
3047prevent accidental deep sleeps, limit the maximum time that Sleep() will 
3048actually sleep. Configurable, the default maximum is two seconds. ACPICA 
3049bugzilla 854.
3050
3051Added run-time validation support for the _WDG and_WED Microsoft 
3052predefined 
3053methods. These objects are defined by "Windows Instrumentation", and are 
3054not 
3055part of the ACPI spec. ACPICA BZ 860.
3056
3057Expanded all statistic counters used during namespace and device 
3058initialization from 16 to 32 bits in order to support very large 
3059namespaces.
3060
3061Replaced all instances of %d in printf format specifiers with %u since 
3062nearly 
3063all integers in ACPICA are unsigned.
3064
3065Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
3066returned 
3067as AE_NO_HANDLER.
3068
3069Example Code and Data Size: These are the sizes for the OS-independent 
3070acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3071debug version of the code includes the debug output trace mechanism and 
3072has a 
3073much larger code and data size.
3074
3075  Previous Release:
3076    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
3077    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
3078  Current Release:
3079    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
3080    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
3081
30822) iASL Compiler/Disassembler and Tools:
3083
3084iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
3085methods. These objects are defined by "Windows Instrumentation", and are 
3086not 
3087part of the ACPI spec. ACPICA BZ 860.
3088
3089AcpiExec: added option to disable the memory tracking mechanism. The -dt 
3090option will disable the tracking mechanism, which improves performance 
3091considerably.
3092
3093AcpiExec: Restructured the command line options into -d (disable) and -e 
3094(enable) options.
3095
3096----------------------------------------
309728 April 2010. Summary of changes for version 20100428:
3098
30991) ACPI CA Core Subsystem:
3100
3101Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
3102including FADT-based and GPE Block Devices, execute any _PRW methods in 
3103the 
3104new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
3105runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
3106immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
3107Devices. Provides compatibility with other ACPI implementations. Two new 
3108files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
3109Moore.
3110
3111Fixed a regression introduced in version 20100331 within the table 
3112manager 
3113where initial table loading could fail. This was introduced in the fix 
3114for 
3115AcpiReallocateRootTable. Also, renamed some of fields in the table 
3116manager 
3117data structures to clarify their meaning and use.
3118
3119Fixed a possible allocation overrun during internal object copy in 
3120AcpiUtCopySimpleObject. The original code did not correctly handle the 
3121case 
3122where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
3123847.
3124
3125Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
3126possible access beyond end-of-allocation. Also, now fully validate 
3127descriptor 
3128(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
3129
3130Example Code and Data Size: These are the sizes for the OS-independent 
3131acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3132debug version of the code includes the debug output trace mechanism and 
3133has a 
3134much larger code and data size.
3135
3136  Previous Release:
3137    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
3138    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
3139  Current Release:
3140    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
3141    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
3142
31432) iASL Compiler/Disassembler and Tools:
3144
3145iASL: Implemented Min/Max/Len/Gran validation for address resource 
3146descriptors. This change implements validation for the address fields 
3147that 
3148are common to all address-type resource descriptors. These checks are 
3149implemented: Checks for valid Min/Max, length within the Min/Max window, 
3150valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
3151per 
3152table 6-40 in the ACPI 4.0a specification. Also split the large 
3153aslrestype1.c 
3154and aslrestype2.c files into five new files. ACPICA BZ 840.
3155
3156iASL: Added support for the _Wxx predefined names. This support was 
3157missing 
3158and these names were not recognized by the compiler as valid predefined 
3159names. ACPICA BZ 851.
3160
3161iASL: Added an error for all predefined names that are defined to return 
3162no 
3163value and thus must be implemented as Control Methods. These include all 
3164of 
3165the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
3166names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
3167
3168iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
3169an 
3170ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
3171be 
3172dynamically loaded via the Load() operator. Also cleaned up output for 
3173the 
3174-
3175ta and -tc options. ACPICA BZ 853.
3176
3177Tests: Added a new file with examples of extended iASL error checking. 
3178Demonstrates the advanced error checking ability of the iASL compiler. 
3179Available at tests/misc/badcode.asl.
3180
3181----------------------------------------
318231 March 2010. Summary of changes for version 20100331:
3183
31841) ACPI CA Core Subsystem:
3185
3186Completed a major update for the GPE support in order to improve support 
3187for 
3188shared GPEs and to simplify both host OS and ACPICA code. Added a 
3189reference 
3190count mechanism to support shared GPEs that require multiple device 
3191drivers. 
3192Several external interfaces have changed. One external interface has been 
3193removed. One new external interface was added. Most of the GPE external 
3194interfaces now use the GPE spinlock instead of the events mutex (and the 
3195Flags parameter for many GPE interfaces has been removed.) See the 
3196updated 
3197ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
3198Rafael 
3199Wysocki. ACPICA BZ 831.
3200
3201Changed:
3202    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
3203Removed:
3204    AcpiSetGpeType
3205New:
3206    AcpiSetGpe
3207
3208Implemented write support for DataTable operation regions. These regions 
3209are 
3210defined via the DataTableRegion() operator. Previously, only read support 
3211was 
3212implemented. The ACPI specification allows DataTableRegions to be 
3213read/write, 
3214however.
3215
3216Implemented a new subsystem option to force a copy of the DSDT to local 
3217memory. Optionally copy the entire DSDT to local memory (instead of 
3218simply 
3219mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
3220replace 
3221the original DSDT, creating the need for this option. Default is FALSE, 
3222do 
3223not copy the DSDT.
3224
3225Implemented detection of a corrupted or replaced DSDT. This change adds 
3226support to detect a DSDT that has been corrupted and/or replaced from 
3227outside 
3228the OS (by firmware). This is typically catastrophic for the system, but 
3229has 
3230been seen on some machines. Once this problem has been detected, the DSDT 
3231copy option can be enabled via system configuration. Lin Ming, Bob Moore.
3232
3233Fixed two problems with AcpiReallocateRootTable during the root table 
3234copy. 
3235When copying the root table to the new allocation, the length used was 
3236incorrect. The new size was used instead of the current table size, 
3237meaning 
3238too much data was copied. Also, the count of available slots for ACPI 
3239tables 
3240was not set correctly. Alexey Starikovskiy, Bob Moore.
3241
3242Example Code and Data Size: These are the sizes for the OS-independent 
3243acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3244debug version of the code includes the debug output trace mechanism and 
3245has a 
3246much larger code and data size.
3247
3248  Previous Release:
3249    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
3250    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
3251  Current Release:
3252    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
3253    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
3254
32552) iASL Compiler/Disassembler and Tools:
3256
3257iASL: Implement limited typechecking for values returned from predefined 
3258control methods. The type of any returned static (unnamed) object is now 
3259validated. For example, Return(1). ACPICA BZ 786.
3260
3261iASL: Fixed a predefined name object verification regression. Fixes a 
3262problem 
3263introduced in version 20100304. An error is incorrectly generated if a 
3264predefined name is declared as a static named object with a value defined 
3265using the keywords "Zero", "One", or "Ones". Lin Ming.
3266
3267iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
3268by 
3269reducing the requested registry access rights. ACPICA BZ 842.
3270
3271Disassembler: fixed a possible fault when generating External() 
3272statements. 
3273Introduced in commit ae7d6fd: Properly handle externals with parent-
3274prefix 
3275(carat). Fixes a string length allocation calculation. Lin Ming.
3276
3277----------------------------------------
327804 March 2010. Summary of changes for version 20100304:
3279
32801) ACPI CA Core Subsystem:
3281
3282Fixed a possible problem with the AML Mutex handling function 
3283AcpiExReleaseMutex where the function could fault under the very rare 
3284condition when the interpreter has blocked, the interpreter lock is 
3285released, 
3286the interpreter is then reentered via the same thread, and attempts to 
3287acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
3288Lin 
3289Ming.
3290
3291Implemented additional configuration support for the AML "Debug Object". 
3292Output from the debug object can now be enabled via a global variable, 
3293AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
3294debugging. 
3295This debug output is now available in the release version of ACPICA 
3296instead 
3297of just the debug version. Also, the entire debug output module can now 
3298be 
3299configured out of the ACPICA build if desired. One new file added, 
3300executer/exdebug.c. Lin Ming, Bob Moore.
3301
3302Added header support for the ACPI MCHI table (Management Controller Host 
3303Interface Table). This table was added in ACPI 4.0, but the defining 
3304document 
3305has only recently become available.
3306
3307Standardized output of integer values for ACPICA warnings/errors. Always 
3308use 
33090x prefix for hex output, always use %u for unsigned integer decimal 
3310output. 
3311Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
3312400 
3313invocations.) These invocations were converted from the original 
3314ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
3315
3316Example Code and Data Size: These are the sizes for the OS-independent 
3317acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3318debug version of the code includes the debug output trace mechanism and 
3319has a 
3320much larger code and data size.
3321
3322  Previous Release:
3323    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
3324    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
3325  Current Release:
3326    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
3327    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
3328
33292) iASL Compiler/Disassembler and Tools:
3330
3331iASL: Implemented typechecking support for static (non-control method) 
3332predefined named objects that are declared with the Name() operator. For 
3333example, the type of this object is now validated to be of type Integer: 
3334Name(_BBN, 1). This change migrates the compiler to using the core 
3335predefined 
3336name table instead of maintaining a local version. Added a new file, 
3337aslpredef.c. ACPICA BZ 832.
3338
3339Disassembler: Added support for the ACPI 4.0 MCHI table.
3340
3341----------------------------------------
334221 January 2010. Summary of changes for version 20100121:
3343
33441) ACPI CA Core Subsystem:
3345
3346Added the 2010 copyright to all module headers and signons. This affects 
3347virtually every file in the ACPICA core subsystem, the iASL compiler, the 
3348tools/utilities, and the test suites.
3349
3350Implemented a change to the AcpiGetDevices interface to eliminate 
3351unnecessary 
3352invocations of the _STA method. In the case where a specific _HID is 
3353requested, do not run _STA until a _HID match is found. This eliminates 
3354potentially dozens of _STA calls during a search for a particular 
3355device/HID, 
3356which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
3357
3358Implemented an additional repair for predefined method return values. 
3359Attempt 
3360to repair unexpected NULL elements within returned Package objects. 
3361Create 
3362an 
3363Integer of value zero, a NULL String, or a zero-length Buffer as 
3364appropriate. 
3365ACPICA BZ 818. Lin Ming, Bob Moore.
3366
3367Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
3368the 
3369code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
3370(with 
337164-bit AML integers). It is now obsolete and this change removes it from 
3372the 
3373ACPICA code base, replaced by UINT64. The original typedef has been 
3374retained 
3375for now for compatibility with existing device driver code. ACPICA BZ 
3376824.
3377
3378Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
3379in 
3380the parse tree object.
3381
3382Added additional warning options for the gcc-4 generation. Updated the 
3383source 
3384accordingly. This includes some code restructuring to eliminate 
3385unreachable 
3386code, elimination of some gotos, elimination of unused return values, 
3387some 
3388additional casting, and removal of redundant declarations.
3389
3390Example Code and Data Size: These are the sizes for the OS-independent 
3391acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3392debug version of the code includes the debug output trace mechanism and 
3393has a 
3394much larger code and data size.
3395
3396  Previous Release:
3397    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
3398    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
3399  Current Release:
3400    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
3401    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
3402
34032) iASL Compiler/Disassembler and Tools:
3404
3405No functional changes for this release.
3406
3407----------------------------------------
340814 December 2009. Summary of changes for version 20091214:
3409
34101) ACPI CA Core Subsystem:
3411
3412Enhanced automatic data type conversions for predefined name repairs. 
3413This 
3414change expands the automatic repairs/conversions for predefined name 
3415return 
3416values to make Integers, Strings, and Buffers fully interchangeable. 
3417Also, 
3418a 
3419Buffer can be converted to a Package of Integers if necessary. The 
3420nsrepair.c 
3421module was completely restructured. Lin Ming, Bob Moore.
3422
3423Implemented automatic removal of null package elements during predefined 
3424name 
3425repairs. This change will automatically remove embedded and trailing NULL 
3426package elements from returned package objects that are defined to 
3427contain 
3428a 
3429variable number of sub-packages. The driver is then presented with a 
3430package 
3431with no null elements to deal with. ACPICA BZ 819.
3432
3433Implemented a repair for the predefined _FDE and _GTM names. The expected 
3434return value for both names is a Buffer of 5 DWORDs. This repair fixes 
3435two 
3436possible problems (both seen in the field), where a package of integers 
3437is 
3438returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
3439Kim.
3440
3441Implemented additional module-level code support. This change will 
3442properly 
3443execute module-level code that is not at the root of the namespace (under 
3444a 
3445Device object, etc.). Now executes the code within the current scope 
3446instead 
3447of the root. ACPICA BZ 762. Lin Ming.
3448
3449Fixed possible mutex acquisition errors when running _REG methods. Fixes 
3450a 
3451problem where mutex errors can occur when running a _REG method that is 
3452in 
3453the same scope as a method-defined operation region or an operation 
3454region 
3455under a module-level IF block. This type of code is rare, so the problem 
3456has 
3457not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
3458
3459Fixed a possible memory leak during module-level code execution. An 
3460object 
3461could be leaked for each block of executed module-level code if the 
3462interpreter slack mode is enabled This change deletes any implicitly 
3463returned 
3464object from the module-level code block. Lin Ming.
3465
3466Removed messages for successful predefined repair(s). The repair 
3467mechanism 
3468was considered too wordy. Now, messages are only unconditionally emitted 
3469if 
3470the return object cannot be repaired. Existing messages for successful 
3471repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
3472827.
3473
3474Example Code and Data Size: These are the sizes for the OS-independent 
3475acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3476debug version of the code includes the debug output trace mechanism and 
3477has a 
3478much larger code and data size.
3479
3480  Previous Release:
3481    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3482    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3483  Current Release:
3484    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
3485    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
3486
34872) iASL Compiler/Disassembler and Tools:
3488
3489iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
3490files 
3491were no longer automatically removed at the termination of the compile.
3492
3493acpiexec: Implemented the -f option to specify default region fill value. 
3494This option specifies the value used to initialize buffers that simulate 
3495operation regions. Default value is zero. Useful for debugging problems 
3496that 
3497depend on a specific initial value for a region or field.
3498
3499----------------------------------------
350012 November 2009. Summary of changes for version 20091112:
3501
35021) ACPI CA Core Subsystem:
3503
3504Implemented a post-order callback to AcpiWalkNamespace. The existing 
3505interface only has a pre-order callback. This change adds an additional 
3506parameter for a post-order callback which will be more useful for bus 
3507scans. 
3508ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
3509
3510Modified the behavior of the operation region memory mapping cache for 
3511SystemMemory. Ensure that the memory mappings created for operation 
3512regions 
3513do not cross 4K page boundaries. Crossing a page boundary while mapping 
3514regions can cause kernel warnings on some hosts if the pages have 
3515different 
3516attributes. Such regions are probably BIOS bugs, and this is the 
3517workaround. 
3518Linux BZ 14445. Lin Ming.
3519
3520Implemented an automatic repair for predefined methods that must return 
3521sorted lists. This change will repair (by sorting) packages returned by 
3522_ALR, 
3523_PSS, and _TSS. Drivers can now assume that the packages are correctly 
3524sorted 
3525and do not contain NULL package elements. Adds one new file, 
3526namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
3527
3528Fixed a possible fault during predefined name validation if a return 
3529Package 
3530object contains NULL elements. Also adds a warning if a NULL element is 
3531followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
3532may 
3533include repair or removal of all such NULL elements where possible.
3534
3535Implemented additional module-level executable AML code support. This 
3536change 
3537will execute module-level code that is not at the root of the namespace 
3538(under a Device object, etc.) at table load time. Module-level executable 
3539AML 
3540code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
3541
3542Implemented a new internal function to create Integer objects. This 
3543function 
3544simplifies miscellaneous object creation code. ACPICA BZ 823.
3545
3546Reduced the severity of predefined repair messages, Warning to Info. 
3547Since 
3548the object was successfully repaired, a warning is too severe. Reduced to 
3549an 
3550info message for now. These messages may eventually be changed to debug-
3551only. 
3552ACPICA BZ 812.
3553
3554Example Code and Data Size: These are the sizes for the OS-independent 
3555acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3556debug version of the code includes the debug output trace mechanism and 
3557has a 
3558much larger code and data size.
3559
3560  Previous Release:
3561    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3562    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3563  Current Release:
3564    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3565    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3566
35672) iASL Compiler/Disassembler and Tools:
3568
3569iASL: Implemented Switch() with While(1) so that Break works correctly. 
3570This 
3571change correctly implements the Switch operator with a surrounding 
3572While(1) 
3573so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
3574
3575iASL: Added a message if a package initializer list is shorter than 
3576package 
3577length. Adds a new remark for a Package() declaration if an initializer 
3578list 
3579exists, but is shorter than the declared length of the package. Although 
3580technically legal, this is probably a coding error and it is seen in the 
3581field. ACPICA BZ 815. Lin Ming, Bob Moore.
3582
3583iASL: Fixed a problem where the compiler could fault after the maximum 
3584number 
3585of errors was reached (200).
3586
3587acpixtract: Fixed a possible warning for pointer cast if the compiler 
3588warning 
3589level set very high.
3590
3591----------------------------------------
359213 October 2009. Summary of changes for version 20091013:
3593
35941) ACPI CA Core Subsystem:
3595
3596Fixed a problem where an Operation Region _REG method could be executed 
3597more 
3598than once. If a custom address space handler is installed by the host 
3599before 
3600the "initialize operation regions" phase of the ACPICA initialization, 
3601any 
3602_REG methods for that address space could be executed twice. This change 
3603fixes the problem. ACPICA BZ 427. Lin Ming.
3604
3605Fixed a possible memory leak for the Scope() ASL operator. When the exact 
3606invocation of "Scope(\)" is executed (change scope to root), one internal 
3607operand object was leaked. Lin Ming.
3608
3609Implemented a run-time repair for the _MAT predefined method. If the _MAT 
3610return value is defined as a Field object in the AML, and the field
3611size is less than or equal to the default width of an integer (32 or 
361264),_MAT 
3613can incorrectly return an Integer instead of a Buffer. ACPICA now 
3614automatically repairs this problem. ACPICA BZ 810.
3615
3616Implemented a run-time repair for the _BIF and _BIX predefined methods. 
3617The 
3618"OEM Information" field is often incorrectly returned as an Integer with 
3619value zero if the field is not supported by the platform. This is due to 
3620an 
3621ambiguity in the ACPI specification. The field should always be a string. 
3622ACPICA now automatically repairs this problem by returning a NULL string 
3623within the returned Package. ACPICA BZ 807.
3624
3625Example Code and Data Size: These are the sizes for the OS-independent 
3626acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3627debug version of the code includes the debug output trace mechanism and 
3628has a 
3629much larger code and data size.
3630
3631  Previous Release:
3632    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3633    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3634  Current Release:
3635    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3636    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3637
36382) iASL Compiler/Disassembler and Tools:
3639
3640Disassembler: Fixed a problem where references to external symbols that 
3641contained one or more parent-prefixes (carats) were not handled 
3642correctly, 
3643possibly causing a fault. ACPICA BZ 806. Lin Ming.
3644
3645Disassembler: Restructured the code so that all functions that handle 
3646external symbols are in a single module. One new file is added, 
3647common/dmextern.c.
3648
3649AML Debugger: Added a max count argument for the Batch command (which 
3650executes multiple predefined methods within the namespace.)
3651
3652iASL: Updated the compiler documentation (User Reference.) Available at 
3653http://www.acpica.org/documentation/. ACPICA BZ 750.
3654
3655AcpiXtract: Updated for Lint and other formatting changes. Close all open 
3656files.
3657
3658----------------------------------------
365903 September 2009. Summary of changes for version 20090903:
3660
36611) ACPI CA Core Subsystem:
3662
3663For Windows Vista compatibility, added the automatic execution of an _INI 
3664method located at the namespace root (\_INI). This method is executed at 
3665table load time. This support is in addition to the automatic execution 
3666of 
3667\_SB._INI. Lin Ming.
3668
3669Fixed a possible memory leak in the interpreter for AML package objects 
3670if 
3671the package initializer list is longer than the defined size of the 
3672package. 
3673This apparently can only happen if the BIOS changes the package size on 
3674the 
3675fly (seen in a _PSS object), as ASL compilers do not allow this. The 
3676interpreter will truncate the package to the defined size (and issue an 
3677error 
3678message), but previously could leave the extra objects undeleted if they 
3679were 
3680pre-created during the argument processing (such is the case if the 
3681package 
3682consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
3683
3684Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
3685This has been reported in the field. Previously, ACPICA would zero out 
3686the 
3687buffer/string. Now, the operation is treated as a noop. Provides Windows 
3688compatibility. ACPICA BZ 803. Lin Ming.
3689
3690Removed an extraneous error message for ASL constructs of the form 
3691Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
3692statements 
3693are seen in many BIOSs and are once again treated as NOOPs and no error 
3694is 
3695emitted when they are encountered. ACPICA BZ 785.
3696
3697Fixed an extraneous warning message if a _DSM reserved method returns a 
3698Package object. _DSM can return any type of object, so validation on the 
3699return type cannot be performed. ACPICA BZ 802.
3700
3701Example Code and Data Size: These are the sizes for the OS-independent 
3702acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3703debug version of the code includes the debug output trace mechanism and 
3704has a 
3705much larger code and data size.
3706
3707  Previous Release:
3708    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3709    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3710  Current Release:
3711    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3712    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3713
37142) iASL Compiler/Disassembler and Tools:
3715
3716iASL: Fixed a problem with the use of the Alias operator and Resource 
3717Templates. The correct alias is now constructed and no error is emitted. 
3718ACPICA BZ 738.
3719
3720iASL: Implemented the -I option to specify additional search directories 
3721for 
3722include files. Allows multiple additional search paths for include files. 
3723Directories are searched in the order specified on the command line 
3724(after 
3725the local directory is searched.) ACPICA BZ 800.
3726
3727iASL: Fixed a problem where the full pathname for include files was not 
3728emitted for warnings/errors. This caused the IDE support to not work 
3729properly. ACPICA BZ 765.
3730
3731iASL: Implemented the -@ option to specify a Windows-style response file 
3732containing additional command line options. ACPICA BZ 801.
3733
3734AcpiExec: Added support to load multiple AML files simultaneously (such 
3735as 
3736a 
3737DSDT and multiple SSDTs). Also added support for wildcards within the AML 
3738pathname. These features allow all machine tables to be easily loaded and 
3739debugged together. ACPICA BZ 804.
3740
3741Disassembler: Added missing support for disassembly of HEST table Error 
3742Bank 
3743subtables. 
3744
3745----------------------------------------
374630 July 2009. Summary of changes for version 20090730:
3747
3748The ACPI 4.0 implementation for ACPICA is complete with this release.
3749
37501) ACPI CA Core Subsystem:
3751
3752ACPI 4.0: Added header file support for all new and changed ACPI tables. 
3753Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
3754new 
3755for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
3756BERT, 
3757EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
3758There 
3759have been some ACPI 4.0 changes to other existing tables. Split the large 
3760actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
3761
3762ACPI 4.0: Implemented predefined name validation for all new names. There 
3763are 
376431 new names in ACPI 4.0. The predefined validation module was split into 
3765two 
3766files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
3767
3768Implemented support for so-called "module-level executable code". This is 
3769executable AML code that exists outside of any control method and is 
3770intended 
3771to be executed at table load time. Although illegal since ACPI 2.0, this 
3772type 
3773of code still exists and is apparently still being created. Blocks of 
3774this 
3775code are now detected and executed as intended. Currently, the code 
3776blocks 
3777must exist under either an If, Else, or While construct; these are the 
3778typical cases seen in the field. ACPICA BZ 762. Lin Ming.
3779
3780Implemented an automatic dynamic repair for predefined names that return 
3781nested Package objects. This applies to predefined names that are defined 
3782to 
3783return a variable-length Package of sub-packages. If the number of sub-
3784packages is one, BIOS code is occasionally seen that creates a simple 
3785single 
3786package with no sub-packages. This code attempts to fix the problem by 
3787wrapping a new package object around the existing package. These methods 
3788can 
3789be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
3790BZ 
3791790.
3792
3793Fixed a regression introduced in 20090625 for the AcpiGetDevices 
3794interface. 
3795The _HID/_CID matching was broken and no longer matched IDs correctly. 
3796ACPICA 
3797BZ 793.
3798
3799Fixed a problem with AcpiReset where the reset would silently fail if the 
3800register was one of the protected I/O ports. AcpiReset now bypasses the 
3801port 
3802validation mechanism. This may eventually be driven into the 
3803AcpiRead/Write 
3804interfaces.
3805
3806Fixed a regression related to the recent update of the AcpiRead/Write 
3807interfaces. A sleep/suspend could fail if the optional PM2 Control 
3808register 
3809does not exist during an attempt to write the Bus Master Arbitration bit. 
3810(However, some hosts already delete the code that writes this bit, and 
3811the 
3812code may in fact be obsolete at this date.) ACPICA BZ 799.
3813
3814Fixed a problem where AcpiTerminate could fault if inadvertently called 
3815twice 
3816in succession. ACPICA BZ 795.
3817
3818Example Code and Data Size: These are the sizes for the OS-independent 
3819acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3820debug version of the code includes the debug output trace mechanism and 
3821has a 
3822much larger code and data size.
3823
3824  Previous Release:
3825    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3826    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3827  Current Release:
3828    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3829    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3830
38312) iASL Compiler/Disassembler and Tools:
3832
3833ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
3834changes to existing tables. ACPICA BZ 775.
3835
3836----------------------------------------
383725 June 2009. Summary of changes for version 20090625:
3838
3839The ACPI 4.0 Specification was released on June 16 and is available at 
3840www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
3841continue for the next few releases.
3842
38431) ACPI CA Core Subsystem:
3844
3845ACPI 4.0: Implemented interpreter support for the IPMI operation region 
3846address space. Includes support for bi-directional data buffers and an 
3847IPMI 
3848address space handler (to be installed by an IPMI device driver.) ACPICA 
3849BZ 
3850773. Lin Ming.
3851
3852ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
3853Includes 
3854support in both the header files and the disassembler.
3855
3856Completed a major update for the AcpiGetObjectInfo external interface. 
3857Changes include:
3858 - Support for variable, unlimited length HID, UID, and CID strings.
3859 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
3860etc.)
3861 - Call the _SxW power methods on behalf of a device object.
3862 - Determine if a device is a PCI root bridge.
3863 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
3864These changes will require an update to all callers of this interface. 
3865See 
3866the updated ACPICA Programmer Reference for details. One new source file 
3867has 
3868been added - utilities/utids.c. ACPICA BZ 368, 780.
3869
3870Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
3871transfers. The Value parameter has been extended from 32 bits to 64 bits 
3872in 
3873order to support new ACPI 4.0 tables. These changes will require an 
3874update 
3875to 
3876all callers of these interfaces. See the ACPICA Programmer Reference for 
3877details. ACPICA BZ 768.
3878
3879Fixed several problems with AcpiAttachData. The handler was not invoked 
3880when 
3881the host node was deleted. The data sub-object was not automatically 
3882deleted 
3883when the host node was deleted. The interface to the handler had an 
3884unused 
3885parameter, this was removed. ACPICA BZ 778.
3886
3887Enhanced the function that dumps ACPI table headers. All non-printable 
3888characters in the string fields are now replaced with '?' (Signature, 
3889OemId, 
3890OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
3891these fields are occasionally seen in the field. ACPICA BZ 788.
3892
3893Fixed a problem with predefined method repair code where the code that 
3894attempts to repair/convert an object of incorrect type is only executed 
3895on 
3896the first time the predefined method is called. The mechanism that 
3897disables 
3898warnings on subsequent calls was interfering with the repair mechanism. 
3899ACPICA BZ 781.
3900
3901Fixed a possible memory leak in the predefined validation/repair code 
3902when 
3903a 
3904buffer is automatically converted to an expected string object.
3905
3906Removed obsolete 16-bit files from the distribution and from the current 
3907git 
3908tree head. ACPICA BZ 776.
3909
3910Example Code and Data Size: These are the sizes for the OS-independent 
3911acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3912debug version of the code includes the debug output trace mechanism and 
3913has a 
3914much larger code and data size.
3915
3916  Previous Release:
3917    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
3918    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
3919  Current Release:
3920    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3921    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3922
39232) iASL Compiler/Disassembler and Tools:
3924
3925ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
3926operation region keyword. ACPICA BZ 771, 772. Lin Ming.
3927
3928ACPI 4.0: iASL - implemented compile-time validation support for all new 
3929predefined names and control methods (31 total). ACPICA BZ 769.
3930
3931----------------------------------------
393221 May 2009. Summary of changes for version 20090521:
3933
39341) ACPI CA Core Subsystem:
3935
3936Disabled the preservation of the SCI enable bit in the PM1 control 
3937register. 
3938The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
3939to 
3940be 
3941a "preserved" bit - "OSPM always preserves this bit position", section 
39424.7.3.2.1. However, some machines fail if this bit is in fact preserved 
3943because the bit needs to be explicitly set by the OS as a workaround. No 
3944machines fail if the bit is not preserved. Therefore, ACPICA no longer 
3945attempts to preserve this bit.
3946
3947Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
3948incorrectly formed _PRT package could cause a fault. Added validation to 
3949ensure that each package element is actually a sub-package.
3950
3951Implemented a new interface to install or override a single control 
3952method, 
3953AcpiInstallMethod. This interface is useful when debugging in order to 
3954repair 
3955an existing method or to install a missing method without having to 
3956override 
3957the entire ACPI table. See the ACPICA Programmer Reference for use and 
3958examples. Lin Ming, Bob Moore.
3959
3960Fixed several reference count issues with the DdbHandle object that is 
3961created from a Load or LoadTable operator. Prevent premature deletion of 
3962the 
3963object. Also, mark the object as invalid once the table has been 
3964unloaded. 
3965This is needed because the handle itself may not be deleted after the 
3966table 
3967unload, depending on whether it has been stored in a named object by the 
3968caller. Lin Ming.
3969
3970Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
3971mutexes of the same sync level are acquired but then not released in 
3972strict 
3973opposite order, the internally maintained Current Sync Level becomes 
3974confused 
3975and can cause subsequent execution errors. ACPICA BZ 471.
3976
3977Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
3978specification has been changed to make the SyncLevel for mutex objects 
3979more 
3980useful. When releasing a mutex, the SyncLevel of the mutex must now be 
3981the 
3982same as the current sync level. This makes more sense than the previous 
3983rule 
3984(SyncLevel less than or equal). This change updates the code to match the 
3985specification.
3986
3987Fixed a problem with the local version of the AcpiOsPurgeCache function. 
3988The 
3989(local) cache must be locked during all cache object deletions. Andrew 
3990Baumann.
3991
3992Updated the Load operator to use operation region interfaces. This 
3993replaces 
3994direct memory mapping with region access calls. Now, all region accesses 
3995go 
3996through the installed region handler as they should.
3997
3998Simplified and optimized the NsGetNextNode function. Reduced parameter 
3999count 
4000and reduced code for this frequently used function.
4001
4002Example Code and Data Size: These are the sizes for the OS-independent 
4003acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4004debug version of the code includes the debug output trace mechanism and 
4005has a 
4006much larger code and data size.
4007
4008  Previous Release:
4009    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
4010    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
4011  Current Release:
4012    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
4013    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
4014
40152) iASL Compiler/Disassembler and Tools:
4016
4017Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
4018problems 
4019with sub-table disassembly and handling invalid sub-tables. Attempt 
4020recovery 
4021after an invalid sub-table ID.
4022
4023----------------------------------------
402422 April 2009. Summary of changes for version 20090422:
4025
40261) ACPI CA Core Subsystem:
4027
4028Fixed a compatibility issue with the recently released I/O port 
4029protection 
4030mechanism. For windows compatibility, 1) On a port protection violation, 
4031simply ignore the request and do not return an exception (allow the 
4032control 
4033method to continue execution.) 2) If only part of the request overlaps a 
4034protected port, read/write the individual ports that are not protected. 
4035Linux 
4036BZ 13036. Lin Ming
4037
4038Enhanced the execution of the ASL/AML BreakPoint operator so that it 
4039actually 
4040breaks into the AML debugger if the debugger is present. This matches the 
4041ACPI-defined behavior.
4042
4043Fixed several possible warnings related to the use of the configurable 
4044ACPI_THREAD_ID. This type can now be configured as either an integer or a 
4045pointer with no warnings. Also fixes several warnings in printf-like 
4046statements for the 64-bit build when the type is configured as a pointer. 
4047ACPICA BZ 766, 767.
4048
4049Fixed a number of possible warnings when compiling with gcc 4+ (depending 
4050on 
4051warning options.) Examples include printf formats, aliasing, unused 
4052globals, 
4053missing prototypes, missing switch default statements, use of non-ANSI 
4054library functions, use of non-ANSI constructs. See generate/unix/Makefile 
4055for 
4056a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
4057
4058Example Code and Data Size: These are the sizes for the OS-independent 
4059acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4060debug version of the code includes the debug output trace mechanism and 
4061has a 
4062much larger code and data size.
4063
4064  Previous Release:
4065    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
4066    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
4067  Current Release:
4068    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
4069    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
4070
40712) iASL Compiler/Disassembler and Tools:
4072
4073iASL: Fixed a generation warning from Bison 2.3 and fixed several 
4074warnings 
4075on 
4076the 64-bit build.
4077
4078iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
4079not 
4080correctly digest Windows/DOS formatted files (with CR/LF).
4081
4082iASL: Added a new option for "quiet mode" (-va) that produces only the 
4083compilation summary, not individual errors and warnings. Useful for large 
4084batch compilations.
4085
4086AcpiExec: Implemented a new option (-z) to enable a forced 
4087semaphore/mutex 
4088timeout that can be used to detect hang conditions during execution of 
4089AML 
4090code (includes both internal semaphores and AML-defined mutexes and 
4091events.)
4092
4093Added new makefiles for the generation of acpica in a generic unix-like 
4094environment. These makefiles are intended to generate the acpica tools 
4095and 
4096utilities from the original acpica git source tree structure.
4097
4098Test Suites: Updated and cleaned up the documentation files. Updated the 
4099copyrights to 2009, affecting all source files. Use the new version of 
4100iASL 
4101with quiet mode. Increased the number of available semaphores in the 
4102Windows 
4103OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
4104added 
4105an alternate implementation of the semaphore timeout to allow aslts to 
4106execute fully on Cygwin.
4107
4108----------------------------------------
410920 March 2009. Summary of changes for version 20090320:
4110
41111) ACPI CA Core Subsystem:
4112
4113Fixed a possible race condition between AcpiWalkNamespace and dynamic 
4114table 
4115unloads. Added a reader/writer locking mechanism to allow multiple 
4116concurrent 
4117namespace walks (readers), but block a dynamic table unload until it can 
4118gain 
4119exclusive write access to the namespace. This fixes a problem where a 
4120table 
4121unload could (possibly catastrophically) delete the portion of the 
4122namespace 
4123that is currently being examined by a walk. Adds a new file, utlock.c, 
4124that 
4125implements the reader/writer lock mechanism. ACPICA BZ 749.
4126
4127Fixed a regression introduced in version 20090220 where a change to the 
4128FADT 
4129handling could cause the ACPICA subsystem to access non-existent I/O 
4130ports.
4131
4132Modified the handling of FADT register and table (FACS/DSDT) addresses. 
4133The 
4134FADT can contain both 32-bit and 64-bit versions of these addresses. 
4135Previously, the 64-bit versions were favored, meaning that if both 32 and 
413664 
4137versions were valid, but not equal, the 64-bit version was used. This was 
4138found to cause some machines to fail. Now, in this case, the 32-bit 
4139version 
4140is used instead. This now matches the Windows behavior.
4141
4142Implemented a new mechanism to protect certain I/O ports. Provides 
4143Microsoft 
4144compatibility and protects the standard PC I/O ports from access via AML 
4145code. Adds a new file, hwvalid.c
4146
4147Fixed a possible extraneous warning message from the FADT support. The 
4148message warns of a 32/64 length mismatch between the legacy and GAS 
4149definitions for a register.
4150
4151Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
4152is 
4153made obsolete by the port protection mechanism above. It was previously 
4154used 
4155to validate the entire address range of an operation region, which could 
4156be 
4157incorrect if the range included illegal ports, but fields within the 
4158operation region did not actually access those ports. Validation is now 
4159performed on a per-field basis instead of the entire region.
4160
4161Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
4162Ignored bits must be "preserved" according to the ACPI spec. Usually, 
4163this 
4164means a read/modify/write when writing to the register. However, for 
4165status 
4166registers, writing a one means clear the event. Writing a zero means 
4167preserve 
4168the event (do not clear.) This behavior is clarified in the ACPI 4.0 
4169spec, 
4170and the ACPICA code now simply always writes a zero to the ignored bit.
4171
4172Modified the handling of ignored bits for the PM1 A/B Control Registers. 
4173As 
4174per the ACPI specification, for the control registers, preserve 
4175(read/modify/write) all bits that are defined as either reserved or 
4176ignored.
4177
4178Updated the handling of write-only bits in the PM1 A/B Control Registers. 
4179When reading the register, zero the write-only bits as per the ACPI spec. 
4180ACPICA BZ 443. Lin Ming.
4181
4182Removed "Linux" from the list of supported _OSI strings. Linux no longer 
4183wants to reply true to this request. The Windows strings are the only 
4184paths 
4185through the AML that are tested and known to work properly.
4186
4187  Previous Release:
4188    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
4189    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
4190  Current Release:
4191    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
4192    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
4193
41942) iASL Compiler/Disassembler and Tools:
4195
4196Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
4197and 
4198aetables.c
4199
4200----------------------------------------
420120 February 2009. Summary of changes for version 20090220:
4202
42031) ACPI CA Core Subsystem:
4204
4205Optimized the ACPI register locking. Removed locking for reads from the 
4206ACPI 
4207bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
4208is 
4209not required when reading the single-bit registers. The 
4210AcpiGetRegisterUnlocked function is no longer needed and has been 
4211removed. 
4212This will improve performance for reads on these registers. ACPICA BZ 
4213760.
4214
4215Fixed the parameter validation for AcpiRead/Write. Now return 
4216AE_BAD_PARAMETER if the input register pointer is null, and 
4217AE_BAD_ADDRESS 
4218if 
4219the register has an address of zero. Previously, these cases simply 
4220returned 
4221AE_OK. For optional registers such as PM1B status/enable/control, the 
4222caller 
4223should check for a valid register address before calling. ACPICA BZ 748.
4224
4225Renamed the external ACPI bit register access functions. Renamed 
4226AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
4227functions. The new names are AcpiReadBitRegister and 
4228AcpiWriteBitRegister. 
4229Also, restructured the code for these functions by simplifying the code 
4230path 
4231and condensing duplicate code to reduce code size.
4232
4233Added new functions to transparently handle the possibly split PM1 A/B 
4234registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
4235functions 
4236now handle the split registers for PM1 Status, Enable, and Control. 
4237ACPICA 
4238BZ 
4239746.
4240
4241Added a function to handle the PM1 control registers, 
4242AcpiHwWritePm1Control. 
4243This function writes both of the PM1 control registers (A/B). These 
4244registers 
4245are different than the PM1 A/B status and enable registers in that 
4246different 
4247values can be written to the A/B registers. Most notably, the SLP_TYP 
4248bits 
4249can be different, as per the values returned from the _Sx predefined 
4250methods.
4251
4252Removed an extra register write within AcpiHwClearAcpiStatus. This 
4253function 
4254was writing an optional PM1B status register twice. The existing call to 
4255the 
4256low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
4257A/B 
4258register. ACPICA BZ 751.
4259
4260Split out the PM1 Status registers from the FADT. Added new globals for 
4261these 
4262registers (A/B), similar to the way the PM1 Enable registers are handled. 
4263Instead of overloading the FADT Event Register blocks. This makes the 
4264code 
4265clearer and less prone to error.
4266
4267Fixed the warning message for when the platform contains too many ACPI 
4268tables 
4269for the default size of the global root table data structure. The 
4270calculation 
4271for the truncation value was incorrect.
4272
4273Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
4274obsolete macro, since it is now a simple reference to ->common.type. 
4275There 
4276were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
4277
4278Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
4279TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
4280simply SLEEP_TYPE. ACPICA BZ 754.
4281
4282Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
4283function is only needed on 64-bit host operating systems and is thus not 
4284included for 32-bit hosts.
4285
4286Debug output: print the input and result for invocations of the _OSI 
4287reserved 
4288control method via the ACPI_LV_INFO debug level. Also, reduced some of 
4289the 
4290verbosity of this debug level. Len Brown.
4291
4292Example Code and Data Size: These are the sizes for the OS-independent 
4293acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4294debug version of the code includes the debug output trace mechanism and 
4295has a 
4296much larger code and data size.
4297
4298  Previous Release:
4299    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
4300    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
4301  Current Release:
4302    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
4303    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
4304
43052) iASL Compiler/Disassembler and Tools:
4306
4307Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
4308various legal performance profiles.
4309
4310----------------------------------------
431123 January 2009. Summary of changes for version 20090123:
4312
43131) ACPI CA Core Subsystem:
4314
4315Added the 2009 copyright to all module headers and signons. This affects 
4316virtually every file in the ACPICA core subsystem, the iASL compiler, and 
4317the tools/utilities.
4318
4319Implemented a change to allow the host to override any ACPI table, 
4320including 
4321dynamically loaded tables. Previously, only the DSDT could be replaced by 
4322the 
4323host. With this change, the AcpiOsTableOverride interface is called for 
4324each 
4325table found in the RSDT/XSDT during ACPICA initialization, and also 
4326whenever 
4327a table is dynamically loaded via the AML Load operator.
4328
4329Updated FADT flag definitions, especially the Boot Architecture flags.
4330
4331Debugger: For the Find command, automatically pad the input ACPI name 
4332with 
4333underscores if the name is shorter than 4 characters. This enables a 
4334match 
4335with the actual namespace entry which is itself padded with underscores.
4336
4337Example Code and Data Size: These are the sizes for the OS-independent 
4338acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4339debug version of the code includes the debug output trace mechanism and 
4340has a 
4341much larger code and data size.
4342
4343  Previous Release:
4344    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
4345    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
4346  Current Release:
4347    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
4348    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
4349
43502) iASL Compiler/Disassembler and Tools:
4351
4352Fix build error under Bison-2.4.
4353
4354Dissasembler: Enhanced FADT support. Added decoding of the Boot 
4355Architecture 
4356flags. Now decode all flags, regardless of the FADT version. Flag output 
4357includes the FADT version which first defined each flag.
4358
4359The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
4360and 
4361DSDT). Windows only.
4362
4363----------------------------------------
436404 December 2008. Summary of changes for version 20081204:
4365
43661) ACPI CA Core Subsystem:
4367
4368The ACPICA Programmer Reference has been completely updated and revamped 
4369for 
4370this release. This includes updates to the external interfaces, OSL 
4371interfaces, the overview sections, and the debugger reference.
4372
4373Several new ACPICA interfaces have been implemented and documented in the 
4374programmer reference:
4375AcpiReset - Writes the reset value to the FADT-defined reset register.
4376AcpiDisableAllGpes - Disable all available GPEs.
4377AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
4378AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
4379AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
4380AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
4381AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
4382
4383Most of the public ACPI hardware-related interfaces have been moved to a 
4384new 
4385file, components/hardware/hwxface.c
4386
4387Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
4388register lengths within the FADT are now used, and the low level ACPI 
4389register access no longer hardcodes the ACPI register lengths. Given that 
4390there may be some risk in actually trusting the FADT register lengths, a 
4391run-
4392time option was added to fall back to the default hardcoded lengths if 
4393the 
4394FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
4395option is set to true for now, and a warning is issued if a suspicious 
4396FADT 
4397register length is overridden with the default value.
4398
4399Fixed a reference count issue in NsRepairObject. This problem was 
4400introduced 
4401in version 20081031 as part of a fix to repair Buffer objects within 
4402Packages. Lin Ming.
4403
4404Added semaphore support to the Linux/Unix application OS-services layer 
4405(OSL). ACPICA BZ 448. Lin Ming.
4406
4407Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
4408will 
4409be implemented in the OSL, or will binary semaphores be used instead.
4410
4411Example Code and Data Size: These are the sizes for the OS-independent 
4412acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4413debug version of the code includes the debug output trace mechanism and 
4414has a 
4415much larger code and data size.
4416
4417  Previous Release:
4418    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
4419    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
4420  Current Release:
4421    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
4422    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
4423
44242) iASL Compiler/Disassembler and Tools:
4425
4426iASL: Completed the '-e' option to include additional ACPI tables in 
4427order 
4428to 
4429aid with disassembly and External statement generation. ACPICA BZ 742. 
4430Lin 
4431Ming.
4432
4433iASL: Removed the "named object in while loop" error. The compiler cannot 
4434determine how many times a loop will execute. ACPICA BZ 730.
4435
4436Disassembler: Implemented support for FADT revision 2 (MS extension). 
4437ACPICA 
4438BZ 743.
4439
4440Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
4441MCFG).
4442
4443----------------------------------------
444431 October 2008. Summary of changes for version 20081031:
4445
44461) ACPI CA Core Subsystem:
4447
4448Restructured the ACPICA header files into public/private. acpi.h now 
4449includes 
4450only the "public" acpica headers. All other acpica headers are "private" 
4451and 
4452should not be included by acpica users. One new file, accommon.h is used 
4453to 
4454include the commonly used private headers for acpica code generation. 
4455Future 
4456plans include moving all private headers to a new subdirectory.
4457
4458Implemented an automatic Buffer->String return value conversion for 
4459predefined ACPI methods. For these methods (such as _BIF), added 
4460automatic 
4461conversion for return objects that are required to be a String, but a 
4462Buffer 
4463was found instead. This can happen when reading string battery data from 
4464an 
4465operation region, because it used to be difficult to convert the data 
4466from 
4467buffer to string from within the ASL. Ensures that the host OS is 
4468provided 
4469with a valid null-terminated string. Linux BZ 11822.
4470
4471Updated the FACS waking vector interfaces. Split 
4472AcpiSetFirmwareWakingVector 
4473into two: one for the 32-bit vector, another for the 64-bit vector. This 
4474is 
4475required because the host OS must setup the wake much differently for 
4476each 
4477vector (real vs. protected mode, etc.) and the interface itself should 
4478not 
4479be 
4480deciding which vector to use. Also, eliminated the 
4481GetFirmwareWakingVector 
4482interface, as it served no purpose (only the firmware reads the vector, 
4483OS 
4484only writes the vector.) ACPICA BZ 731.
4485
4486Implemented a mechanism to escape infinite AML While() loops. Added a 
4487loop 
4488counter to force exit from AML While loops if the count becomes too 
4489large. 
4490This can occur in poorly written AML when the hardware does not respond 
4491within a while loop and the loop does not implement a timeout. The 
4492maximum 
4493loop count is configurable. A new exception code is returned when a loop 
4494is 
4495broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
4496
4497Optimized the execution of AML While loops. Previously, a control state 
4498object was allocated and freed for each execution of the loop. The 
4499optimization is to simply reuse the control state for each iteration. 
4500This 
4501speeds up the raw loop execution time by about 5%.
4502
4503Enhanced the implicit return mechanism. For Windows compatibility, return 
4504an 
4505implicit integer of value zero for methods that contain no executable 
4506code. 
4507Such methods are seen in the field as stubs (presumably), and can cause 
4508drivers to fail if they expect a return value. Lin Ming.
4509
4510Allow multiple backslashes as root prefixes in namepaths. In a fully 
4511qualified namepath, allow multiple backslash prefixes. This can happen 
4512(and 
4513is seen in the field) because of the use of a double-backslash in strings 
4514(since backslash is the escape character) causing confusion. ACPICA BZ 
4515739 
4516Lin Ming.
4517
4518Emit a warning if two different FACS or DSDT tables are discovered in the 
4519FADT. Checks if there are two valid but different addresses for the FACS 
4520and 
4521DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
4522
4523Consolidated the method argument count validation code. Merged the code 
4524that 
4525validates control method argument counts into the predefined validation 
4526module. Eliminates possible multiple warnings for incorrect argument 
4527counts.
4528
4529Implemented ACPICA example code. Includes code for ACPICA initialization, 
4530handler installation, and calling a control method. Available at 
4531source/tools/examples.
4532
4533Added a global pointer for FACS table to simplify internal FACS access. 
4534Use 
4535the global pointer instead of using AcpiGetTableByIndex for each FACS 
4536access. 
4537This simplifies the code for the Global Lock and the Firmware Waking 
4538Vector(s).
4539
4540Example Code and Data Size: These are the sizes for the OS-independent 
4541acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4542debug version of the code includes the debug output trace mechanism and 
4543has a 
4544much larger code and data size.
4545
4546  Previous Release:
4547    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4548    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4549  Current Release:
4550    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
4551    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
4552
45532) iASL Compiler/Disassembler and Tools:
4554
4555iASL: Improved disassembly of external method calls. Added the -e option 
4556to 
4557allow the inclusion of additional ACPI tables to help with the 
4558disassembly 
4559of 
4560method invocations and the generation of external declarations during the 
4561disassembly. Certain external method invocations cannot be disassembled 
4562properly without the actual declaration of the method. Use the -e option 
4563to 
4564include the table where the external method(s) are actually declared. 
4565Most 
4566useful for disassembling SSDTs that make method calls back to the master 
4567DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
4568-d 
4569-e dsdt.aml ssdt1.aml
4570
4571iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
4572problem where the use of an alias within a namepath would result in a not 
4573found error or cause the compiler to fault. Also now allows forward 
4574references from the Alias operator itself. ACPICA BZ 738.
4575
4576----------------------------------------
457726 September 2008. Summary of changes for version 20080926:
4578
45791) ACPI CA Core Subsystem:
4580
4581Designed and implemented a mechanism to validate predefined ACPI methods 
4582and 
4583objects. This code validates the predefined ACPI objects (objects whose 
4584names 
4585start with underscore) that appear in the namespace, at the time they are 
4586evaluated. The argument count and the type of the returned object are 
4587validated against the ACPI specification. The purpose of this validation 
4588is 
4589to detect problems with the BIOS-implemented predefined ACPI objects 
4590before 
4591the results are returned to the ACPI-related drivers. Future enhancements 
4592may 
4593include actual repair of incorrect return objects where possible. Two new 
4594files are nspredef.c and acpredef.h.
4595
4596Fixed a fault in the AML parser if a memory allocation fails during the 
4597Op 
4598completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
4599
4600Fixed an issue with implicit return compatibility. This change improves 
4601the 
4602implicit return mechanism to be more compatible with the MS interpreter. 
4603Lin 
4604Ming, ACPICA BZ 349.
4605
4606Implemented support for zero-length buffer-to-string conversions. Allow 
4607zero 
4608length strings during interpreter buffer-to-string conversions. For 
4609example, 
4610during the ToDecimalString and ToHexString operators, as well as implicit 
4611conversions. Fiodor Suietov, ACPICA BZ 585.
4612
4613Fixed two possible memory leaks in the error exit paths of 
4614AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
4615are 
4616similar in that they use a stack of state objects in order to eliminate 
4617recursion. The stack must be fully unwound and deallocated if an error 
4618occurs. Lin Ming. ACPICA BZ 383.
4619
4620Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
4621global 
4622ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
4623Moore ACPICA BZ 442.
4624
4625Removed the obsolete version number in module headers. Removed the 
4626"$Revision" number that appeared in each module header. This version 
4627number 
4628was useful under SourceSafe and CVS, but has no meaning under git. It is 
4629not 
4630only incorrect, it could also be misleading.
4631
4632Example Code and Data Size: These are the sizes for the OS-independent 
4633acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4634debug version of the code includes the debug output trace mechanism and 
4635has a 
4636much larger code and data size.
4637
4638  Previous Release:
4639    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4640    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4641  Current Release:
4642    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4643    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4644
4645----------------------------------------
464629 August 2008. Summary of changes for version 20080829:
4647
46481) ACPI CA Core Subsystem:
4649
4650Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
4651Reference. Changes include the elimination of cheating on the Object 
4652field 
4653for the DdbHandle subtype, addition of a reference class field to 
4654differentiate the various reference types (instead of an AML opcode), and 
4655the 
4656cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
4657
4658Reduce an error to a warning for an incorrect method argument count. 
4659Previously aborted with an error if too few arguments were passed to a 
4660control method via the external ACPICA interface. Now issue a warning 
4661instead 
4662and continue. Handles the case where the method inadvertently declares 
4663too 
4664many arguments, but does not actually use the extra ones. Applies mainly 
4665to 
4666the predefined methods. Lin Ming. Linux BZ 11032.
4667
4668Disallow the evaluation of named object types with no intrinsic value. 
4669Return 
4670AE_TYPE for objects that have no value and therefore evaluation is 
4671undefined: 
4672Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
4673of 
4674these types were allowed, but an exception would be generated at some 
4675point 
4676during the evaluation. Now, the error is generated up front.
4677
4678Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
4679(nsnames.c). Fixes a leak in the error exit path.
4680
4681Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
4682debug 
4683levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
4684ACPI_EXCEPTION 
4685interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
4686ACPI_LV_EVENTS.
4687
4688Removed obsolete and/or unused exception codes from the acexcep.h header. 
4689There is the possibility that certain device drivers may be affected if 
4690they 
4691use any of these exceptions.
4692
4693The ACPICA documentation has been added to the public git source tree, 
4694under 
4695acpica/documents. Included are the ACPICA programmer reference, the iASL 
4696compiler reference, and the changes.txt release logfile.
4697
4698Example Code and Data Size: These are the sizes for the OS-independent 
4699acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4700debug version of the code includes the debug output trace mechanism and 
4701has a 
4702much larger code and data size.
4703
4704  Previous Release:
4705    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4706    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4707  Current Release:
4708    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4709    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4710
47112) iASL Compiler/Disassembler and Tools:
4712
4713Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
4714defines _SCP with 3 arguments. Previous versions defined it with only 1 
4715argument. iASL now allows both definitions.
4716
4717iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
4718zero-
4719length subtables when disassembling ACPI tables. Also fixed a couple of 
4720errors where a full 16-bit table type field was not extracted from the 
4721input 
4722properly.
4723
4724acpisrc: Improve comment counting mechanism for generating source code 
4725statistics. Count first and last lines of multi-line comments as 
4726whitespace, 
4727not comment lines. Handle Linux legal header in addition to standard 
4728acpica 
4729header.
4730
4731----------------------------------------
4732
473329 July 2008. Summary of changes for version 20080729:
4734
47351) ACPI CA Core Subsystem:
4736
4737Fix a possible deadlock in the GPE dispatch. Remove call to 
4738AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
4739attempt 
4740to acquire the GPE lock but can deadlock since the GPE lock is already 
4741held 
4742at dispatch time. This code was introduced in version 20060831 as a 
4743response 
4744to Linux BZ 6881 and has since been removed from Linux.
4745
4746Add a function to dereference returned reference objects. Examines the 
4747return 
4748object from a call to AcpiEvaluateObject. Any Index or RefOf references 
4749are 
4750automatically dereferenced in an attempt to return something useful 
4751(these 
4752reference types cannot be converted into an external ACPI_OBJECT.) 
4753Provides 
4754MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
4755
4756x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
4757subtables for the MADT and one new subtable for the SRAT. Includes 
4758disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
4759x2APIC 
4760Specification, June 2008.
4761
4762Additional error checking for pathname utilities. Add error check after 
4763all 
4764calls to AcpiNsGetPathnameLength. Add status return from 
4765AcpiNsBuildExternalPath and check after all calls. Add parameter 
4766validation 
4767to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
4768
4769Return status from the global init function AcpiUtGlobalInitialize. This 
4770is 
4771used by both the kernel subsystem and the utilities such as iASL 
4772compiler. 
4773The function could possibly fail when the caches are initialized. Yang 
4774Yi.
4775
4776Add a function to decode reference object types to strings. Created for 
4777improved error messages. 
4778
4779Improve object conversion error messages. Better error messages during 
4780object 
4781conversion from internal to the external ACPI_OBJECT. Used for external 
4782calls 
4783to AcpiEvaluateObject.
4784
4785Example Code and Data Size: These are the sizes for the OS-independent 
4786acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4787debug version of the code includes the debug output trace mechanism and 
4788has a 
4789much larger code and data size.
4790
4791  Previous Release:
4792    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4793    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4794  Current Release:
4795    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4796    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4797
47982) iASL Compiler/Disassembler and Tools:
4799
4800Debugger: fix a possible hang when evaluating non-methods. Fixes a 
4801problem 
4802introduced in version 20080701. If the object being evaluated (via 
4803execute 
4804command) is not a method, the debugger can hang while trying to obtain 
4805non-
4806existent parameters.
4807
4808iASL: relax error for using reserved "_T_x" identifiers. These names can 
4809appear in a disassembled ASL file if they were emitted by the original 
4810compiler. Instead of issuing an error or warning and forcing the user to 
4811manually change these names, issue a remark instead.
4812
4813iASL: error if named object created in while loop. Emit an error if any 
4814named 
4815object is created within a While loop. If allowed, this code will 
4816generate 
4817a 
4818run-time error on the second iteration of the loop when an attempt is 
4819made 
4820to 
4821create the same named object twice. ACPICA bugzilla 730.
4822
4823iASL: Support absolute pathnames for include files. Add support for 
4824absolute 
4825pathnames within the Include operator. previously, only relative 
4826pathnames 
4827were supported.
4828
4829iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
4830Descriptor. 
4831The ACPI spec requires one interrupt minimum. BZ 423
4832
4833iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
4834Handles the case for the Interrupt Resource Descriptor where
4835the ResourceSource argument is omitted but ResourceSourceIndex
4836is present. Now leave room for the Index. BZ 426
4837
4838iASL: Prevent error message if CondRefOf target does not exist. Fixes 
4839cases 
4840where an error message is emitted if the target does not exist. BZ 516
4841
4842iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
4843(get ACPI tables on Windows). This was apparently broken in version 
484420070919.
4845
4846AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
4847where 
4848the EOF happens immediately after the last table in the input file. Print 
4849completion message. Previously, no message was displayed in this case.
4850
4851----------------------------------------
485201 July 2008. Summary of changes for version 20080701:
4853
48540) Git source tree / acpica.org
4855
4856Fixed a problem where a git-clone from http would not transfer the entire 
4857source tree.
4858
48591) ACPI CA Core Subsystem:
4860
4861Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
4862enable bit. Now performs a read-change-write of the enable register 
4863instead 
4864of simply writing out the cached enable mask. This will prevent 
4865inadvertent 
4866enabling of GPEs if a rogue GPE is received during initialization (before 
4867GPE 
4868handlers are installed.)
4869
4870Implemented a copy for dynamically loaded tables. Previously, dynamically 
4871loaded tables were simply mapped - but on some machines this memory is 
4872corrupted after suspend. Now copy the table to a local buffer. For the 
4873OpRegion case, added checksum verify. Use the table length from the table 
4874header, not the region length. For the Buffer case, use the table length 
4875also. Dennis Noordsij, Bob Moore. BZ 10734
4876
4877Fixed a problem where the same ACPI table could not be dynamically loaded 
4878and 
4879unloaded more than once. Without this change, a table cannot be loaded 
4880again 
4881once it has been loaded/unloaded one time. The current mechanism does not 
4882unregister a table upon an unload. During a load, if the same table is 
4883found, 
4884this no longer returns an exception. BZ 722
4885
4886Fixed a problem where the wrong descriptor length was calculated for the 
4887EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
4888EndTag 
4889are calculated as 12 bytes long, but the actual length in the internal 
4890descriptor is 16 because of the round-up to 8 on the 64-bit build. 
4891Reported 
4892by Linn Crosetto. BZ 728
4893
4894Fixed a possible memory leak in the Unload operator. The DdbHandle 
4895returned 
4896by Load() did not have its reference count decremented during unload, 
4897leading 
4898to a memory leak. Lin Ming. BZ 727
4899
4900Fixed a possible memory leak when deleting thermal/processor objects. Any 
4901associated notify handlers (and objects) were not being deleted. Fiodor 
4902Suietov. BZ 506
4903
4904Fixed the ordering of the ASCII names in the global mutex table to match 
4905the 
4906actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
4907only. 
4908Vegard Nossum. BZ 726
4909
4910Enhanced the AcpiGetObjectInfo interface to return the number of required 
4911arguments if the object is a control method. Added this call to the 
4912debugger 
4913so the proper number of default arguments are passed to a method. This 
4914prevents a warning when executing methods from AcpiExec.
4915
4916Added a check for an invalid handle in AcpiGetObjectInfo. Return 
4917AE_BAD_PARAMETER if input handle is invalid. BZ 474
4918
4919Fixed an extraneous warning from exconfig.c on the 64-bit build.
4920
4921Example Code and Data Size: These are the sizes for the OS-independent 
4922acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4923debug version of the code includes the debug output trace mechanism and 
4924has a 
4925much larger code and data size.
4926
4927  Previous Release:
4928    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
4929    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
4930  Current Release:
4931    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4932    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4933
49342) iASL Compiler/Disassembler and Tools:
4935
4936iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
4937resource descriptor names.
4938
4939iASL: Detect invalid ASCII characters in input (windows version). Removed 
4940the 
4941"-CF" flag from the flex compile, enables correct detection of non-ASCII 
4942characters in the input. BZ 441
4943
4944iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
4945the 
4946"result of operation not used" warning when the DDB handle returned from 
4947LoadTable is not used. The warning is not needed. BZ 590
4948
4949AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
4950method 
4951to 
4952pass address of table to the AML. Added option to disable OpRegion 
4953simulation 
4954to allow creation of an OpRegion with a real address that was passed to 
4955_CFG. 
4956All of this allows testing of the Load and Unload operators from 
4957AcpiExec.
4958
4959Debugger: update tables command for unloaded tables. Handle unloaded 
4960tables 
4961and use the standard table header output routine.
4962
4963----------------------------------------
496409 June 2008. Summary of changes for version 20080609:
4965
49661) ACPI CA Core Subsystem:
4967
4968Implemented a workaround for reversed _PRT entries. A significant number 
4969of 
4970BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
4971change dynamically detects and repairs this problem. Provides 
4972compatibility 
4973with MS ACPI. BZ 6859
4974
4975Simplified the internal ACPI hardware interfaces to eliminate the locking 
4976flag parameter from Register Read/Write. Added a new external interface, 
4977AcpiGetRegisterUnlocked.
4978
4979Fixed a problem where the invocation of a GPE control method could hang. 
4980This 
4981was a regression introduced in 20080514. The new method argument count 
4982validation mechanism can enter an infinite loop when a GPE method is 
4983dispatched. Problem fixed by removing the obsolete code that passed GPE 
4984block 
4985information to the notify handler via the control method parameter 
4986pointer.
4987
4988Fixed a problem where the _SST execution status was incorrectly returned 
4989to 
4990the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
4991in 
499220080514. _SST is optional and a NOT_FOUND exception should never be 
4993returned. BZ 716
4994
4995Fixed a problem where a deleted object could be accessed from within the 
4996AML 
4997parser. This was a regression introduced in version 20080123 as a fix for 
4998the 
4999Unload operator. Lin Ming. BZ 10669
5000
5001Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
5002operands 
5003and eliminated the use of a negative index in a loop. Operands are now 
5004displayed in the correct order, not backwards. This also fixes a 
5005regression 
5006introduced in 20080514 on 64-bit systems where the elimination of 
5007ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
5008715
5009
5010Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
5011exit 
5012path did not delete a locally allocated structure.
5013
5014Updated definitions for the DMAR and SRAT tables to synchronize with the 
5015current specifications. Includes disassembler support.
5016
5017Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
5018loop termination value was used. Loop terminated on iteration early, 
5019missing 
5020one mutex. Linn Crosetto
5021
5022Example Code and Data Size: These are the sizes for the OS-independent 
5023acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5024debug version of the code includes the debug output trace mechanism and 
5025has a 
5026much larger code and data size.
5027
5028  Previous Release:
5029    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
5030    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
5031  Current Release:
5032    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
5033    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
5034
50352) iASL Compiler/Disassembler and Tools:
5036
5037Disassembler: Implemented support for EisaId() within _CID objects. Now 
5038disassemble integer _CID objects back to EisaId invocations, including 
5039multiple integers within _CID packages. Includes single-step support for 
5040debugger also.
5041
5042Disassembler: Added support for DMAR and SRAT table definition changes.
5043
5044----------------------------------------
504514 May 2008. Summary of changes for version 20080514:
5046
50471) ACPI CA Core Subsystem:
5048
5049Fixed a problem where GPEs were enabled too early during the ACPICA 
5050initialization. This could lead to "handler not installed" errors on some 
5051machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
5052This 
5053ensures that all operation regions and devices throughout the namespace 
5054have 
5055been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
5056
5057Implemented a change to the enter sleep code. Moved execution of the _GTS 
5058method to just before setting sleep enable bit. The execution was moved 
5059from 
5060AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
5061immediately before the SLP_EN bit is set, as per the ACPI specification. 
5062Luming Yu, BZ 1653.
5063
5064Implemented a fix to disable unknown GPEs (2nd version). Now always 
5065disable 
5066the GPE, even if ACPICA thinks that that it is already disabled. It is 
5067possible that the AML or some other code has enabled the GPE unbeknownst 
5068to 
5069the ACPICA code.
5070
5071Fixed a problem with the Field operator where zero-length fields would 
5072return 
5073an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
5074ASL 
5075field declarations in Field(), BankField(), and IndexField(). BZ 10606.
5076
5077Implemented a fix for the Load operator, now load the table at the 
5078namespace 
5079root. This reverts a change introduced in version 20071019. The table is 
5080now 
5081loaded at the namespace root even though this goes against the ACPI 
5082specification. This provides compatibility with other ACPI 
5083implementations. 
5084The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
5085Ming.
5086
5087Fixed a problem where ACPICA would not Load() tables with unusual 
5088signatures. 
5089Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
5090acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
5091Therefore, signature validation is worthless. Apparently MS ACPI accepts 
5092such 
5093signatures, ACPICA must be compatible. BZ 10454.
5094
5095Fixed a possible negative array index in AcpiUtValidateException. Added 
5096NULL 
5097fields to the exception string arrays to eliminate a -1 subtraction on 
5098the 
5099SubStatus field.
5100
5101Updated the debug tracking macros to reduce overall code and data size. 
5102Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
5103instead of pointers to static strings. Jan Beulich and Bob Moore.
5104
5105Implemented argument count checking in control method invocation via 
5106AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
5107too 
5108many. This applies only to extern programmatic control method execution, 
5109not 
5110method-to-method calls within the AML. Lin Ming.
5111
5112Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
5113no 
5114longer needed, especially with the removal of 16-bit support. It was 
5115replaced 
5116mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
5117bit 
5118on 
511932/64-bit platforms is required.
5120
5121Added the C const qualifier for appropriate string constants -- mostly 
5122MODULE_NAME and printf format strings. Jan Beulich.
5123
5124Example Code and Data Size: These are the sizes for the OS-independent 
5125acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5126debug version of the code includes the debug output trace mechanism and 
5127has a 
5128much larger code and data size.
5129
5130  Previous Release:
5131    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
5132    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
5133  Current Release:
5134    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
5135    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
5136
51372) iASL Compiler/Disassembler and Tools:
5138
5139Implemented ACPI table revision ID validation in the disassembler. Zero 
5140is 
5141always invalid. For DSDTs, the ID controls the interpreter integer width. 
51421 
5143means 32-bit and this is unusual. 2 or greater is 64-bit.
5144
5145----------------------------------------
514621 March 2008. Summary of changes for version 20080321:
5147
51481) ACPI CA Core Subsystem:
5149
5150Implemented an additional change to the GPE support in order to suppress 
5151spurious or stray GPEs. The AcpiEvDisableGpe function will now 
5152permanently 
5153disable incoming GPEs that are neither enabled nor disabled -- meaning 
5154that 
5155the GPE is unknown to the system. This should prevent future interrupt 
5156floods 
5157from that GPE. BZ 6217 (Zhang Rui)
5158
5159Fixed a problem where NULL package elements were not returned to the 
5160AcpiEvaluateObject interface correctly. The element was simply ignored 
5161instead of returning a NULL ACPI_OBJECT package element, potentially 
5162causing 
5163a buffer overflow and/or confusing the caller who expected a fixed number 
5164of 
5165elements. BZ 10132 (Lin Ming, Bob Moore)
5166
5167Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
5168Dword, 
5169Qword), Field, BankField, and IndexField operators when invoked from 
5170inside 
5171an executing control method. In this case, these operators created 
5172namespace 
5173nodes that were incorrectly left marked as permanent nodes instead of 
5174temporary nodes. This could cause a problem if there is race condition 
5175between an exiting control method and a running namespace walk. (Reported 
5176by 
5177Linn Crosetto)
5178
5179Fixed a problem where the CreateField and CreateXXXField operators would 
5180incorrectly allow duplicate names (the name of the field) with no 
5181exception 
5182generated.
5183
5184Implemented several changes for Notify handling. Added support for new 
5185Notify 
5186values (ACPI 2.0+) and improved the Notify debug output. Notify on 
5187PowerResource objects is no longer allowed, as per the ACPI 
5188specification. 
5189(Bob Moore, Zhang Rui)
5190
5191All Reference Objects returned via the AcpiEvaluateObject interface are 
5192now 
5193marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
5194for 
5195NULL objects - either NULL package elements or unresolved named 
5196references.
5197
5198Fixed a problem where an extraneous debug message was produced for 
5199package 
5200objects (when debugging enabled). The message "Package List length larger 
5201than NumElements count" is now produced in the correct case, and is now 
5202an 
5203error message rather than a debug message. Added a debug message for the 
5204opposite case, where NumElements is larger than the Package List (the 
5205package 
5206will be padded out with NULL elements as per the ACPI spec.)
5207
5208Implemented several improvements for the output of the ASL "Debug" object 
5209to 
5210clarify and keep all data for a given object on one output line.
5211
5212Fixed two size calculation issues with the variable-length Start 
5213Dependent 
5214resource descriptor.
5215
5216Example Code and Data Size: These are the sizes for the OS-independent 
5217acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5218debug version of the code includes the debug output trace mechanism and 
5219has 
5220a much larger code and data size.
5221
5222  Previous Release:
5223    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
5224    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
5225  Current Release:
5226    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
5227    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
5228
52292) iASL Compiler/Disassembler and Tools:
5230
5231Fixed a problem with the use of the Switch operator where execution of 
5232the 
5233containing method by multiple concurrent threads could cause an 
5234AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
5235actual Switch opcode, it must be simulated with local named temporary 
5236variables and if/else pairs. The solution chosen was to mark any method 
5237that 
5238uses Switch as Serialized, thus preventing multiple thread entries. BZ 
5239469.
5240
5241----------------------------------------
524213 February 2008. Summary of changes for version 20080213:
5243
52441) ACPI CA Core Subsystem:
5245
5246Implemented another MS compatibility design change for GPE/Notify 
5247handling. 
5248GPEs are now cleared/enabled asynchronously to allow all pending notifies 
5249to 
5250complete first. It is expected that the OSL will queue the enable request 
5251behind all pending notify requests (may require changes to the local host 
5252OSL 
5253in AcpiOsExecute). Alexey Starikovskiy.
5254
5255Fixed a problem where buffer and package objects passed as arguments to a 
5256control method via the external AcpiEvaluateObject interface could cause 
5257an 
5258AE_AML_INTERNAL exception depending on the order and type of operators 
5259executed by the target control method.
5260
5261Fixed a problem where resource descriptor size optimization could cause a 
5262problem when a _CRS resource template is passed to a _SRS method. The 
5263_SRS 
5264resource template must use the same descriptors (with the same size) as 
5265returned from _CRS. This change affects the following resource 
5266descriptors: 
5267IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
52689487)
5269
5270Fixed a problem where a CopyObject to RegionField, BankField, and 
5271IndexField 
5272objects did not perform an implicit conversion as it should. These types 
5273must 
5274retain their initial type permanently as per the ACPI specification. 
5275However, 
5276a CopyObject to all other object types should not perform an implicit 
5277conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
5278
5279Fixed a problem with the AcpiGetDevices interface where the mechanism to 
5280match device CIDs did not examine the entire list of available CIDs, but 
5281instead aborted on the first non-matching CID. Andrew Patterson.
5282
5283Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
5284was 
5285inadvertently changed to return a 16-bit value instead of a 32-bit value, 
5286truncating the upper dword of a 64-bit value. This macro is only used to 
5287display debug output, so no incorrect calculations were made. Also, 
5288reimplemented the macro so that a 64-bit shift is not performed by 
5289inefficient compilers.
5290
5291Added missing va_end statements that should correspond with each va_start 
5292statement.
5293
5294Example Code and Data Size: These are the sizes for the OS-independent 
5295acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5296debug version of the code includes the debug output trace mechanism and 
5297has 
5298a much larger code and data size.
5299
5300  Previous Release:
5301    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
5302    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
5303  Current Release:
5304    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
5305    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
5306
53072) iASL Compiler/Disassembler and Tools:
5308
5309Implemented full disassembler support for the following new ACPI tables: 
5310BERT, EINJ, and ERST. Implemented partial disassembler support for the 
5311complicated HEST table. These tables support the Windows Hardware Error 
5312Architecture (WHEA).
5313
5314----------------------------------------
531523 January 2008. Summary of changes for version 20080123:
5316
53171) ACPI CA Core Subsystem:
5318
5319Added the 2008 copyright to all module headers and signons. This affects 
5320virtually every file in the ACPICA core subsystem, the iASL compiler, and 
5321the tools/utilities.
5322
5323Fixed a problem with the SizeOf operator when used with Package and 
5324Buffer 
5325objects. These objects have deferred execution for some arguments, and 
5326the 
5327execution is now completed before the SizeOf is executed. This problem 
5328caused 
5329unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
5330BZ 
53319558
5332
5333Implemented an enhancement to the interpreter "slack mode". In the 
5334absence 
5335of 
5336an explicit return or an implicitly returned object from the last 
5337executed 
5338opcode, a control method will now implicitly return an integer of value 0 
5339for 
5340Microsoft compatibility. (Lin Ming) BZ 392
5341
5342Fixed a problem with the Load operator where an exception was not 
5343returned 
5344in 
5345the case where the table is already loaded. (Lin Ming) BZ 463
5346
5347Implemented support for the use of DDBHandles as an Indexed Reference, as 
5348per 
5349the ACPI spec. (Lin Ming) BZ 486
5350
5351Implemented support for UserTerm (Method invocation) for the Unload 
5352operator 
5353as per the ACPI spec. (Lin Ming) BZ 580
5354
5355Fixed a problem with the LoadTable operator where the OemId and 
5356OemTableId 
5357input strings could cause unexpected failures if they were shorter than 
5358the 
5359maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
5360
5361Implemented support for UserTerm (Method invocation) for the Unload 
5362operator 
5363as per the ACPI spec. (Lin Ming) BZ 580
5364
5365Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
5366HEST, 
5367IBFT, UEFI, WDAT. Disassembler support is forthcoming.
5368
5369Example Code and Data Size: These are the sizes for the OS-independent 
5370acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5371debug version of the code includes the debug output trace mechanism and 
5372has 
5373a much larger code and data size.
5374
5375  Previous Release:
5376    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
5377    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
5378  Current Release:
5379    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
5380    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
5381
53822) iASL Compiler/Disassembler and Tools:
5383
5384Implemented support in the disassembler for checksum validation on 
5385incoming 
5386binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
5387table 
5388header dump at the start of the disassembly.
5389
5390Implemented additional debugging information in the namespace listing 
5391file 
5392created during compilation. In addition to the namespace hierarchy, the 
5393full 
5394pathname to each namespace object is displayed.
5395
5396Fixed a problem with the disassembler where invalid ACPI tables could 
5397cause 
5398faults or infinite loops.
5399
5400Fixed an unexpected parse error when using the optional "parameter types" 
5401list in a control method declaration. (Lin Ming) BZ 397
5402
5403Fixed a problem where two External declarations with the same name did 
5404not 
5405cause an error (Lin Ming) BZ 509
5406
5407Implemented support for full TermArgs (adding Argx, Localx and method 
5408invocation) for the ParameterData parameter to the LoadTable operator. 
5409(Lin 
5410Ming) BZ 583,587
5411
5412----------------------------------------
541319 December 2007. Summary of changes for version 20071219:
5414
54151) ACPI CA Core Subsystem:
5416
5417Implemented full support for deferred execution for the TermArg string 
5418arguments for DataTableRegion. This enables forward references and full 
5419operand resolution for the three string arguments. Similar to 
5420OperationRegion 
5421deferred argument execution.) Lin Ming. BZ 430
5422
5423Implemented full argument resolution support for the BankValue argument 
5424to 
5425BankField. Previously, only constants were supported, now any TermArg may 
5426be 
5427used. Lin Ming BZ 387, 393
5428
5429Fixed a problem with AcpiGetDevices where the search of a branch of the 
5430device tree could be terminated prematurely. In accordance with the ACPI 
5431specification, the search down the current branch is terminated if a 
5432device 
5433is both not present and not functional (instead of just not present.) 
5434Yakui 
5435Zhao.
5436
5437Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
5438if 
5439the underlying AML code changed the GPE enable registers. Now, any 
5440unknown 
5441incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
5442disabled 
5443instead of simply ignored. Rui Zhang.
5444
5445Fixed a problem with Index Fields where the Index register was 
5446incorrectly 
5447limited to a maximum of 32 bits. Now any size may be used.
5448
5449Fixed a couple memory leaks associated with "implicit return" objects 
5450when 
5451the AML Interpreter slack mode is enabled. Lin Ming BZ 349
5452
5453Example Code and Data Size: These are the sizes for the OS-independent 
5454acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5455debug version of the code includes the debug output trace mechanism and 
5456has 
5457a much larger code and data size.
5458
5459  Previous Release:
5460    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
5461    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
5462  Current Release:
5463    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
5464    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
5465
5466----------------------------------------
546714 November 2007. Summary of changes for version 20071114:
5468
54691) ACPI CA Core Subsystem:
5470
5471Implemented event counters for each of the Fixed Events, the ACPI SCI 
5472(interrupt) itself, and control methods executed. Named 
5473AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
5474These 
5475should be useful for debugging and statistics.
5476
5477Implemented a new external interface, AcpiGetStatistics, to retrieve the 
5478contents of the various event counters. Returns the current values for 
5479AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
5480AcpiMethodCount. The interface can be expanded in the future if new 
5481counters 
5482are added. Device drivers should use this interface rather than access 
5483the 
5484counters directly.
5485
5486Fixed a problem with the FromBCD and ToBCD operators. With some 
5487compilers, 
5488the ShortDivide function worked incorrectly, causing problems with the 
5489BCD 
5490functions with large input values. A truncation from 64-bit to 32-bit 
5491inadvertently occurred. Internal BZ 435. Lin Ming
5492
5493Fixed a problem with Index references passed as method arguments. 
5494References 
5495passed as arguments to control methods were dereferenced immediately 
5496(before 
5497control was passed to the called method). The references are now 
5498correctly 
5499passed directly to the called method. BZ 5389. Lin Ming
5500
5501Fixed a problem with CopyObject used in conjunction with the Index 
5502operator. 
5503The reference was incorrectly dereferenced before the copy. The reference 
5504is 
5505now correctly copied. BZ 5391. Lin Ming
5506
5507Fixed a problem with Control Method references within Package objects. 
5508These 
5509references are now correctly generated. This completes the package 
5510construction overhaul that began in version 20071019.
5511
5512Example Code and Data Size: These are the sizes for the OS-independent 
5513acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5514debug version of the code includes the debug output trace mechanism and 
5515has 
5516a much larger code and data size.
5517
5518  Previous Release:
5519    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
5520    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
5521  Current Release:
5522    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
5523    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
5524
5525
55262) iASL Compiler/Disassembler and Tools:
5527
5528The AcpiExec utility now installs handlers for all of the predefined 
5529Operation Region types. New types supported are: PCI_Config, CMOS, and 
5530PCIBARTarget.
5531
5532Fixed a problem with the 64-bit version of AcpiExec where the extended 
5533(64-
5534bit) address fields for the DSDT and FACS within the FADT were not being 
5535used, causing truncation of the upper 32-bits of these addresses. Lin 
5536Ming 
5537and Bob Moore
5538
5539----------------------------------------
554019 October 2007. Summary of changes for version 20071019:
5541
55421) ACPI CA Core Subsystem:
5543
5544Fixed a problem with the Alias operator when the target of the alias is a 
5545named ASL operator that opens a new scope -- Scope, Device, 
5546PowerResource, 
5547Processor, and ThermalZone. In these cases, any children of the original 
5548operator could not be accessed via the alias, potentially causing 
5549unexpected 
5550AE_NOT_FOUND exceptions. (BZ 9067)
5551
5552Fixed a problem with the Package operator where all named references were 
5553created as object references and left otherwise unresolved. According to 
5554the 
5555ACPI specification, a Package can only contain Data Objects or references 
5556to 
5557control methods. The implication is that named references to Data Objects 
5558(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
5559immediately upon package creation. This is the approach taken with this 
5560change. References to all other named objects (Methods, Devices, Scopes, 
5561etc.) are all now properly created as reference objects. (BZ 5328)
5562
5563Reverted a change to Notify handling that was introduced in version 
556420070508. This version changed the Notify handling from asynchronous to 
5565fully synchronous (Device driver Notify handling with respect to the 
5566Notify 
5567ASL operator). It was found that this change caused more problems than it 
5568solved and was removed by most users.
5569
5570Fixed a problem with the Increment and Decrement operators where the type 
5571of 
5572the target object could be unexpectedly and incorrectly changed. (BZ 353) 
5573Lin Ming.
5574
5575Fixed a problem with the Load and LoadTable operators where the table 
5576location within the namespace was ignored. Instead, the table was always 
5577loaded into the root or current scope. Lin Ming.
5578
5579Fixed a problem with the Load operator when loading a table from a buffer 
5580object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
5581
5582Fixed a problem with the Debug object where a store of a DdbHandle 
5583reference 
5584object to the Debug object could cause a fault.
5585
5586Added a table checksum verification for the Load operator, in the case 
5587where 
5588the load is from a buffer. (BZ 578).
5589
5590Implemented additional parameter validation for the LoadTable operator. 
5591The 
5592length of the input strings SignatureString, OemIdString, and OemTableId 
5593are 
5594now checked for maximum lengths. (BZ 582) Lin Ming.
5595
5596Example Code and Data Size: These are the sizes for the OS-independent 
5597acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5598debug version of the code includes the debug output trace mechanism and 
5599has 
5600a much larger code and data size.
5601
5602  Previous Release:
5603    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5604    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5605  Current Release:
5606    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
5607    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
5608
5609
56102) iASL Compiler/Disassembler:
5611
5612Fixed a problem where if a single file was specified and the file did not 
5613exist, no error message was emitted. (Introduced with wildcard support in 
5614version 20070917.)
5615
5616----------------------------------------
561719 September 2007. Summary of changes for version 20070919:
5618
56191) ACPI CA Core Subsystem:
5620
5621Designed and implemented new external interfaces to install and remove 
5622handlers for ACPI table-related events. Current events that are defined 
5623are 
5624LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
5625they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
5626AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
5627
5628Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
5629(acpi_serialized option on Linux) could cause some systems to hang during 
5630initialization. (Bob Moore) BZ 8171
5631
5632Fixed a problem where objects of certain types (Device, ThermalZone, 
5633Processor, PowerResource) can be not found if they are declared and 
5634referenced from within the same control method (Lin Ming) BZ 341
5635
5636Example Code and Data Size: These are the sizes for the OS-independent 
5637acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5638debug version of the code includes the debug output trace mechanism and 
5639has 
5640a much larger code and data size.
5641
5642  Previous Release:
5643    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5644    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5645  Current Release:
5646    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5647    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5648
5649
56502) iASL Compiler/Disassembler:
5651
5652Implemented support to allow multiple files to be compiled/disassembled 
5653in 
5654a 
5655single invocation. This includes command line wildcard support for both 
5656the 
5657Windows and Unix versions of the compiler. This feature simplifies the 
5658disassembly and compilation of multiple ACPI tables in a single 
5659directory.
5660
5661----------------------------------------
566208 May 2007. Summary of changes for version 20070508:
5663
56641) ACPI CA Core Subsystem:
5665
5666Implemented a Microsoft compatibility design change for the handling of 
5667the 
5668Notify AML operator. Previously, notify handlers were dispatched and 
5669executed completely asynchronously in a deferred thread. The new design 
5670still executes the notify handlers in a different thread, but the 
5671original 
5672thread that executed the Notify() now waits at a synchronization point 
5673for 
5674the notify handler to complete. Some machines depend on a synchronous 
5675Notify 
5676operator in order to operate correctly.
5677
5678Implemented support to allow Package objects to be passed as method 
5679arguments to the external AcpiEvaluateObject interface. Previously, this 
5680would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
5681implemented since there were no reserved control methods that required it 
5682until recently.
5683
5684Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
5685that 
5686contained invalid non-zero values in reserved fields could cause later 
5687failures because these fields have meaning in later revisions of the 
5688FADT. 
5689For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
5690fields 
5691are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
5692
5693Fixed a problem where the Global Lock handle was not properly updated if 
5694a 
5695thread that acquired the Global Lock via executing AML code then 
5696attempted 
5697to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
5698Joe 
5699Liu.
5700
5701Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
5702could be corrupted if the interrupt being removed was at the head of the 
5703list. Reported by Linn Crosetto.
5704
5705Example Code and Data Size: These are the sizes for the OS-independent 
5706acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5707debug version of the code includes the debug output trace mechanism and 
5708has 
5709a much larger code and data size.
5710
5711  Previous Release:
5712    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5713    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5714  Current Release:
5715    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5716    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5717
5718----------------------------------------
571920 March 2007. Summary of changes for version 20070320:
5720
57211) ACPI CA Core Subsystem:
5722
5723Implemented a change to the order of interpretation and evaluation of AML 
5724operand objects within the AML interpreter. The interpreter now evaluates 
5725operands in the order that they appear in the AML stream (and the 
5726corresponding ASL code), instead of in the reverse order (after the 
5727entire 
5728operand list has been parsed). The previous behavior caused several 
5729subtle 
5730incompatibilities with the Microsoft AML interpreter as well as being 
5731somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
5732
5733Implemented a change to the ACPI Global Lock support. All interfaces to 
5734the 
5735global lock now allow the same thread to acquire the lock multiple times. 
5736This affects the AcpiAcquireGlobalLock external interface to the global 
5737lock 
5738as well as the internal use of the global lock to support AML fields -- a 
5739control method that is holding the global lock can now simultaneously 
5740access 
5741AML fields that require global lock protection. Previously, in both 
5742cases, 
5743this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
5744to 
5745AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
5746Controller. There is no change to the behavior of the AML Acquire 
5747operator, 
5748as this can already be used to acquire a mutex multiple times by the same 
5749thread. BZ 8066. With assistance from Alexey Starikovskiy.
5750
5751Fixed a problem where invalid objects could be referenced in the AML 
5752Interpreter after error conditions. During operand evaluation, ensure 
5753that 
5754the internal "Return Object" field is cleared on error and only valid 
5755pointers are stored there. Caused occasional access to deleted objects 
5756that 
5757resulted in "large reference count" warning messages. Valery Podrezov.
5758
5759Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
5760on 
5761deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
5762Podrezov.
5763
5764Fixed an internal problem with the handling of result objects on the 
5765interpreter result stack. BZ 7872. Valery Podrezov.
5766
5767Removed obsolete code that handled the case where AML_NAME_OP is the 
5768target 
5769of a reference (Reference.Opcode). This code was no longer necessary. BZ 
57707874. Valery Podrezov.
5771
5772Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
5773was 
5774a 
5775remnant from the previously discontinued 16-bit support.
5776
5777Example Code and Data Size: These are the sizes for the OS-independent 
5778acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5779debug version of the code includes the debug output trace mechanism and 
5780has 
5781a much larger code and data size.
5782
5783  Previous Release:
5784    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5785    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5786  Current Release:
5787    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5788    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5789
5790----------------------------------------
579126 January 2007. Summary of changes for version 20070126:
5792
57931) ACPI CA Core Subsystem:
5794
5795Added the 2007 copyright to all module headers and signons. This affects 
5796virtually every file in the ACPICA core subsystem, the iASL compiler, and 
5797the utilities.
5798
5799Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
5800during a table load. A bad pointer was passed in the case where the DSDT 
5801is 
5802overridden, causing a fault in this case.
5803
5804Example Code and Data Size: These are the sizes for the OS-independent 
5805acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5806debug version of the code includes the debug output trace mechanism and 
5807has 
5808a much larger code and data size.
5809
5810  Previous Release:
5811    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5812    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5813  Current Release:
5814    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5815    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5816
5817----------------------------------------
581815 December 2006. Summary of changes for version 20061215:
5819
58201) ACPI CA Core Subsystem:
5821
5822Support for 16-bit ACPICA has been completely removed since it is no 
5823longer 
5824necessary and it clutters the code. All 16-bit macros, types, and 
5825conditional compiles have been removed, cleaning up and simplifying the 
5826code 
5827across the entire subsystem. DOS support is no longer needed since the 
5828bootable Linux firmware kit is now available.
5829
5830The handler for the Global Lock is now removed during AcpiTerminate to 
5831enable a clean subsystem restart, via the implementation of the 
5832AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
5833HP)
5834
5835Implemented enhancements to the multithreading support within the 
5836debugger 
5837to enable improved multithreading debugging and evaluation of the 
5838subsystem. 
5839(Valery Podrezov)
5840
5841Debugger: Enhanced the Statistics/Memory command to emit the total 
5842(maximum) 
5843memory used during the execution, as well as the maximum memory consumed 
5844by 
5845each of the various object types. (Valery Podrezov)
5846
5847Example Code and Data Size: These are the sizes for the OS-independent 
5848acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5849debug version of the code includes the debug output trace mechanism and 
5850has 
5851a much larger code and data size.
5852
5853  Previous Release:
5854    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5855    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5856  Current Release:
5857    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5858    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5859
5860
58612) iASL Compiler/Disassembler and Tools:
5862
5863AcpiExec: Implemented a new option (-m) to display full memory use 
5864statistics upon subsystem/program termination. (Valery Podrezov)
5865
5866----------------------------------------
586709 November 2006. Summary of changes for version 20061109:
5868
58691) ACPI CA Core Subsystem:
5870
5871Optimized the Load ASL operator in the case where the source operand is 
5872an 
5873operation region. Simply map the operation region memory, instead of 
5874performing a bytewise read. (Region must be of type SystemMemory, see 
5875below.)
5876
5877Fixed the Load ASL operator for the case where the source operand is a 
5878region field. A buffer object is also allowed as the source operand. BZ 
5879480
5880
5881Fixed a problem where the Load ASL operator allowed the source operand to 
5882be 
5883an operation region of any type. It is now restricted to regions of type 
5884SystemMemory, as per the ACPI specification. BZ 481
5885
5886Additional cleanup and optimizations for the new Table Manager code.
5887
5888AcpiEnable will now fail if all of the required ACPI tables are not 
5889loaded 
5890(FADT, FACS, DSDT). BZ 477
5891
5892Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
5893this 
5894header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
5895manually optimized to be aligned and will not work if it is byte-packed. 
5896
5897Example Code and Data Size: These are the sizes for the OS-independent 
5898acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5899debug version of the code includes the debug output trace mechanism and 
5900has 
5901a much larger code and data size.
5902
5903  Previous Release:
5904    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5905    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5906  Current Release:
5907    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5908    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5909
5910
59112) iASL Compiler/Disassembler and Tools:
5912
5913Fixed a problem where the presence of the _OSI predefined control method 
5914within complex expressions could cause an internal compiler error.
5915
5916AcpiExec: Implemented full region support for multiple address spaces. 
5917SpaceId is now part of the REGION object. BZ 429
5918
5919----------------------------------------
592011 October 2006. Summary of changes for version 20061011:
5921
59221) ACPI CA Core Subsystem:
5923
5924Completed an AML interpreter performance enhancement for control method 
5925execution. Previously a 2-pass parse/execution, control methods are now 
5926completely parsed and executed in a single pass. This improves overall 
5927interpreter performance by ~25%, reduces code size, and reduces CPU stack 
5928use. (Valery Podrezov + interpreter changes in version 20051202 that 
5929eliminated namespace loading during the pass one parse.)
5930
5931Implemented _CID support for PCI Root Bridge detection. If the _HID does 
5932not 
5933match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
5934now 
5935obtained and also checked for an ID match.
5936
5937Implemented additional support for the PCI _ADR execution: upsearch until 
5938a 
5939device scope is found before executing _ADR. This allows PCI_Config 
5940operation regions to be declared locally within control methods 
5941underneath 
5942PCI device objects.
5943
5944Fixed a problem with a possible race condition between threads executing 
5945AcpiWalkNamespace and the AML interpreter. This condition was removed by 
5946modifying AcpiWalkNamespace to (by default) ignore all temporary 
5947namespace 
5948entries created during any concurrent control method execution. An 
5949additional namespace race condition is known to exist between 
5950AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
5951investigation.
5952
5953Restructured the AML ParseLoop function, breaking it into several 
5954subfunctions in order to reduce CPU stack use and improve 
5955maintainability. 
5956(Mikhail Kouzmich)
5957
5958AcpiGetHandle: Fix for parameter validation to detect invalid 
5959combinations 
5960of prefix handle and pathname. BZ 478
5961
5962Example Code and Data Size: These are the sizes for the OS-independent 
5963acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5964debug version of the code includes the debug output trace mechanism and 
5965has 
5966a much larger code and data size.
5967
5968  Previous Release:
5969    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5970    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
5971  Current Release:
5972    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5973    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5974
59752) iASL Compiler/Disassembler and Tools:
5976
5977Ported the -g option (get local ACPI tables) to the new ACPICA Table 
5978Manager 
5979to restore original behavior.
5980
5981----------------------------------------
598227 September 2006. Summary of changes for version 20060927:
5983
59841) ACPI CA Core Subsystem:
5985
5986Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
5987These functions now use a spinlock for mutual exclusion and the interrupt 
5988level indication flag is not needed.
5989
5990Fixed a problem with the Global Lock where the lock could appear to be 
5991obtained before it is actually obtained. The global lock semaphore was 
5992inadvertently created with one unit instead of zero units. (BZ 464) 
5993Fiodor 
5994Suietov.
5995
5996Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
5997during 
5998a read from a buffer or region field. (BZ 458) Fiodor Suietov.
5999
6000Example Code and Data Size: These are the sizes for the OS-independent 
6001acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6002debug version of the code includes the debug output trace mechanism and 
6003has 
6004a much larger code and data size.
6005
6006  Previous Release:
6007    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6008    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
6009  Current Release:
6010    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6011    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
6012
6013
60142) iASL Compiler/Disassembler and Tools:
6015
6016Fixed a compilation problem with the pre-defined Resource Descriptor 
6017field 
6018names where an "object does not exist" error could be incorrectly 
6019generated 
6020if the parent ResourceTemplate pathname places the template within a 
6021different namespace scope than the current scope. (BZ 7212)
6022
6023Fixed a problem where the compiler could hang after syntax errors 
6024detected 
6025in an ElseIf construct. (BZ 453)
6026
6027Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
6028operator. An incorrect output filename was produced when this parameter 
6029was 
6030a null string (""). Now, the original input filename is used as the AML 
6031output filename, with an ".aml" extension.
6032
6033Implemented a generic batch command mode for the AcpiExec utility 
6034(execute 
6035any AML debugger command) (Valery Podrezov).
6036
6037----------------------------------------
603812 September 2006. Summary of changes for version 20060912:
6039
60401) ACPI CA Core Subsystem:
6041
6042Enhanced the implementation of the "serialized mode" of the interpreter 
6043(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
6044specified, instead of creating a serialization semaphore per control 
6045method, 
6046the interpreter lock is simply no longer released before a blocking 
6047operation during control method execution. This effectively makes the AML 
6048Interpreter single-threaded. The overhead of a semaphore per-method is 
6049eliminated.
6050
6051Fixed a regression where an error was no longer emitted if a control 
6052method 
6053attempts to create 2 objects of the same name. This once again returns 
6054AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
6055that 
6056will dynamically serialize the control method to possible prevent future 
6057errors. (BZ 440)
6058
6059Integrated a fix for a problem with PCI Express HID detection in the PCI 
6060Config Space setup procedure. (BZ 7145)
6061
6062Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
6063AcpiHwInitialize function - the FADT registers are now validated when the 
6064table is loaded.
6065
6066Added two new warnings during FADT verification - 1) if the FADT is 
6067larger 
6068than the largest known FADT version, and 2) if there is a mismatch 
6069between 
6070a 
607132-bit block address and the 64-bit X counterpart (when both are non-
6072zero.)
6073
6074Example Code and Data Size: These are the sizes for the OS-independent 
6075acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6076debug version of the code includes the debug output trace mechanism and 
6077has 
6078a much larger code and data size.
6079
6080  Previous Release:
6081    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
6082    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
6083  Current Release:
6084    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6085    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
6086
6087
60882) iASL Compiler/Disassembler and Tools:
6089
6090Fixed a problem with the implementation of the Switch() operator where 
6091the 
6092temporary variable was declared too close to the actual Switch, instead 
6093of 
6094at method level. This could cause a problem if the Switch() operator is 
6095within a while loop, causing an error on the second iteration. (BZ 460)
6096
6097Disassembler - fix for error emitted for unknown type for target of scope 
6098operator. Now, ignore it and continue.
6099
6100Disassembly of an FADT now verifies the input FADT and reports any errors 
6101found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
6102
6103Disassembly of raw data buffers with byte initialization data now 
6104prefixes 
6105each output line with the current buffer offset.
6106
6107Disassembly of ASF! table now includes all variable-length data fields at 
6108the end of some of the subtables.
6109
6110The disassembler now emits a comment if a buffer appears to be a 
6111ResourceTemplate, but cannot be disassembled as such because the EndTag 
6112does 
6113not appear at the very end of the buffer.
6114
6115AcpiExec - Added the "-t" command line option to enable the serialized 
6116mode 
6117of the AML interpreter.
6118
6119----------------------------------------
612031 August 2006. Summary of changes for version 20060831:
6121
61221) ACPI CA Core Subsystem:
6123
6124Miscellaneous fixes for the Table Manager:
6125- Correctly initialize internal common FADT for all 64-bit "X" fields
6126- Fixed a couple table mapping issues during table load
6127- Fixed a couple alignment issues for IA64
6128- Initialize input array to zero in AcpiInitializeTables
6129- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
6130AcpiGetTableByIndex
6131
6132Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
6133now 
6134immediately disabled to prevent the waking GPE from firing again and to 
6135prevent other wake GPEs from interrupting the wake process.
6136
6137Added the AcpiGpeCount global that tracks the number of processed GPEs, 
6138to 
6139be used for debugging systems with a large number of ACPI interrupts.
6140
6141Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
6142both the ACPICA headers and the disassembler.
6143
6144Example Code and Data Size: These are the sizes for the OS-independent 
6145acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6146debug version of the code includes the debug output trace mechanism and 
6147has 
6148a much larger code and data size.
6149
6150  Previous Release:
6151    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
6152    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
6153  Current Release:
6154    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
6155    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
6156
6157
61582) iASL Compiler/Disassembler and Tools:
6159
6160Disassembler support for the DMAR ACPI table.
6161
6162----------------------------------------
616323 August 2006. Summary of changes for version 20060823:
6164
61651) ACPI CA Core Subsystem:
6166
6167The Table Manager component has been completely redesigned and 
6168reimplemented. The new design is much simpler, and reduces the overall 
6169code 
6170and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
6171is 
6172now possible to obtain the ACPI tables very early during kernel 
6173initialization, even before dynamic memory management is initialized. 
6174(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
6175
6176Obsolete ACPICA interfaces:
6177
6178- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
6179init 
6180time).
6181- AcpiLoadTable: Not needed.
6182- AcpiUnloadTable: Not needed.
6183
6184New ACPICA interfaces:
6185
6186- AcpiInitializeTables: Must be called before the table manager can be 
6187used.
6188- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
6189allocated memory after it becomes available.
6190- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
6191tables 
6192in the RSDT/XSDT.
6193
6194Other ACPICA changes:
6195
6196- AcpiGetTableHeader returns the actual mapped table header, not a copy. 
6197Use 
6198AcpiOsUnmapMemory to free this mapping.
6199- AcpiGetTable returns the actual mapped table. The mapping is managed 
6200internally and must not be deleted by the caller. Use of this interface 
6201causes no additional dynamic memory allocation.
6202- AcpiFindRootPointer: Support for physical addressing has been 
6203eliminated, 
6204it appeared to be unused.
6205- The interface to AcpiOsMapMemory has changed to be consistent with the 
6206other allocation interfaces.
6207- The interface to AcpiOsGetRootPointer has changed to eliminate 
6208unnecessary 
6209parameters.
6210- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
621164-
6212bit platforms. Was previously 64 bits on all platforms.
6213- The interface to the ACPI Global Lock acquire/release macros have 
6214changed 
6215slightly since ACPICA no longer keeps a local copy of the FACS with a 
6216constructed pointer to the actual global lock.
6217
6218Porting to the new table manager:
6219
6220- AcpiInitializeTables: Must be called once, and can be called anytime 
6221during the OS initialization process. It allows the host to specify an 
6222area 
6223of memory to be used to store the internal version of the RSDT/XSDT (root 
6224table). This allows the host to access ACPI tables before memory 
6225management 
6226is initialized and running.
6227- AcpiReallocateRootTable: Can be called after memory management is 
6228running 
6229to copy the root table to a dynamically allocated array, freeing up the 
6230scratch memory specified in the call to AcpiInitializeTables.
6231- AcpiSubsystemInitialize: This existing interface is independent of the 
6232Table Manager, and does not have to be called before the Table Manager 
6233can 
6234be used, it only must be called before the rest of ACPICA can be used.
6235- ACPI Tables: Some changes have been made to the names and structure of 
6236the 
6237actbl.h and actbl1.h header files and may require changes to existing 
6238code. 
6239For example, bitfields have been completely removed because of their lack 
6240of 
6241portability across C compilers.
6242- Update interfaces to the Global Lock acquire/release macros if local 
6243versions are used. (see acwin.h)
6244
6245Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
6246
6247New files: tbfind.c
6248
6249Example Code and Data Size: These are the sizes for the OS-independent 
6250acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6251debug version of the code includes the debug output trace mechanism and 
6252has 
6253a much larger code and data size.
6254
6255  Previous Release:
6256    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
6257    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
6258  Current Release:
6259    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
6260    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
6261
6262
62632) iASL Compiler/Disassembler and Tools:
6264
6265No changes for this release.
6266
6267----------------------------------------
626821 July 2006. Summary of changes for version 20060721:
6269
62701) ACPI CA Core Subsystem:
6271
6272The full source code for the ASL test suite used to validate the iASL 
6273compiler and the ACPICA core subsystem is being released with the ACPICA 
6274source for the first time. The source is contained in a separate package 
6275and 
6276consists of over 1100 files that exercise all ASL/AML operators. The 
6277package 
6278should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
6279Fiodor 
6280Suietov)
6281
6282Completed a new design and implementation for support of the ACPI Global 
6283Lock. On the OS side, the global lock is now treated as a standard AML 
6284mutex. Previously, multiple OS threads could "acquire" the global lock 
6285simultaneously. However, this could cause the BIOS to be starved out of 
6286the 
6287lock - especially in cases such as the Embedded Controller driver where 
6288there is a tight coupling between the OS and the BIOS.
6289
6290Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
6291The Global Lock interrupt handler no longer queues the execution of a 
6292separate thread to signal the global lock semaphore. Instead, the 
6293semaphore 
6294is signaled directly from the interrupt handler.
6295
6296Implemented support within the AML interpreter for package objects that 
6297contain a larger AML length (package list length) than the package 
6298element 
6299count. In this case, the length of the package is truncated to match the 
6300package element count. Some BIOS code apparently modifies the package 
6301length 
6302on the fly, and this change supports this behavior. Provides 
6303compatibility 
6304with the MS AML interpreter. (With assistance from Fiodor Suietov)
6305
6306Implemented a temporary fix for the BankValue parameter of a Bank Field 
6307to 
6308support all constant values, now including the Zero and One opcodes. 
6309Evaluation of this parameter must eventually be converted to a full 
6310TermArg 
6311evaluation. A not-implemented error is now returned (temporarily) for 
6312non-
6313constant values for this parameter.
6314
6315Fixed problem reports (Fiodor Suietov) integrated:
6316- Fix for premature object deletion after CopyObject on Operation Region 
6317(BZ 
6318350)
6319
6320Example Code and Data Size: These are the sizes for the OS-independent 
6321acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6322debug version of the code includes the debug output trace mechanism and 
6323has 
6324a much larger code and data size.
6325
6326  Previous Release:
6327    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
6328    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
6329  Current Release:
6330    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
6331    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
6332
6333
63342) iASL Compiler/Disassembler and Tools:
6335
6336No changes for this release.
6337
6338----------------------------------------
633907 July 2006. Summary of changes for version 20060707:
6340
63411) ACPI CA Core Subsystem:
6342
6343Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
6344that do not allow the initialization of address pointers within packed 
6345structures - even though the hardware itself may support misaligned 
6346transfers. Some of the debug data structures are packed by default to 
6347minimize size.
6348
6349Added an error message for the case where AcpiOsGetThreadId() returns 
6350zero. 
6351A non-zero value is required by the core ACPICA code to ensure the proper 
6352operation of AML mutexes and recursive control methods.
6353
6354The DSDT is now the only ACPI table that determines whether the AML 
6355interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
6356but 
6357the hooks for per-table 32/64 switching have been removed from the code. 
6358A 
6359clarification to the ACPI specification is forthcoming in ACPI 3.0B.
6360
6361Fixed a possible leak of an OwnerID in the error path of 
6362AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
6363deletion to a single place in AcpiTbUninstallTable to correct possible 
6364leaks 
6365when using the AcpiTbDeleteTablesByType interface (with assistance from 
6366Lance Ortiz.)
6367
6368Fixed a problem with Serialized control methods where the semaphore 
6369associated with the method could be over-signaled after multiple method 
6370invocations.
6371
6372Fixed two issues with the locking of the internal namespace data 
6373structure. 
6374Both the Unload() operator and AcpiUnloadTable interface now lock the 
6375namespace during the namespace deletion associated with the table unload 
6376(with assistance from Linn Crosetto.)
6377
6378Fixed problem reports (Valery Podrezov) integrated:
6379- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
6380
6381Fixed problem reports (Fiodor Suietov) integrated:
6382- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
6383- On Address Space handler deletion, needless deactivation call (BZ 374)
6384- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
6385375)
6386- Possible memory leak, Notify sub-objects of Processor, Power, 
6387ThermalZone 
6388(BZ 376)
6389- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
6390- Minimum Length of RSDT should be validated (BZ 379)
6391- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
6392Handler (BZ (380)
6393- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
6394loaded 
6395(BZ 381)
6396
6397Example Code and Data Size: These are the sizes for the OS-independent 
6398acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6399debug version of the code includes the debug output trace mechanism and 
6400has 
6401a much larger code and data size.
6402
6403  Previous Release:
6404    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
6405    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
6406  Current Release:
6407    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
6408    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
6409
6410
64112) iASL Compiler/Disassembler and Tools:
6412
6413Fixed problem reports:
6414Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
6415436)
6416
6417----------------------------------------
641823 June 2006. Summary of changes for version 20060623:
6419
64201) ACPI CA Core Subsystem:
6421
6422Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
6423allows the type to be customized to the host OS for improved efficiency 
6424(since a spinlock is usually a very small object.)
6425
6426Implemented support for "ignored" bits in the ACPI registers. According 
6427to 
6428the ACPI specification, these bits should be preserved when writing the 
6429registers via a read/modify/write cycle. There are 3 bits preserved in 
6430this 
6431manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
6432
6433Implemented the initial deployment of new OSL mutex interfaces. Since 
6434some 
6435host operating systems have separate mutex and semaphore objects, this 
6436feature was requested. The base code now uses mutexes (and the new mutex 
6437interfaces) wherever a binary semaphore was used previously. However, for 
6438the current release, the mutex interfaces are defined as macros to map 
6439them 
6440to the existing semaphore interfaces. Therefore, no OSL changes are 
6441required 
6442at this time. (See acpiosxf.h)
6443
6444Fixed several problems with the support for the control method SyncLevel 
6445parameter. The SyncLevel now works according to the ACPI specification 
6446and 
6447in concert with the Mutex SyncLevel parameter, since the current 
6448SyncLevel 
6449is a property of the executing thread. Mutual exclusion for control 
6450methods 
6451is now implemented with a mutex instead of a semaphore.
6452
6453Fixed three instances of the use of the C shift operator in the bitfield 
6454support code (exfldio.c) to avoid the use of a shift value larger than 
6455the 
6456target data width. The behavior of C compilers is undefined in this case 
6457and 
6458can cause unpredictable results, and therefore the case must be detected 
6459and 
6460avoided. (Fiodor Suietov)
6461
6462Added an info message whenever an SSDT or OEM table is loaded dynamically 
6463via the Load() or LoadTable() ASL operators. This should improve 
6464debugging 
6465capability since it will show exactly what tables have been loaded 
6466(beyond 
6467the tables present in the RSDT/XSDT.)
6468
6469Example Code and Data Size: These are the sizes for the OS-independent 
6470acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6471debug version of the code includes the debug output trace mechanism and 
6472has 
6473a much larger code and data size.
6474
6475  Previous Release:
6476    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
6477    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
6478  Current Release:
6479    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
6480    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
6481
6482
64832) iASL Compiler/Disassembler and Tools:
6484
6485No changes for this release.
6486
6487----------------------------------------
648808 June 2006. Summary of changes for version 20060608:
6489
64901) ACPI CA Core Subsystem:
6491
6492Converted the locking mutex used for the ACPI hardware to a spinlock. 
6493This 
6494change should eliminate all problems caused by attempting to acquire a 
6495semaphore at interrupt level, and it means that all ACPICA external 
6496interfaces that directly access the ACPI hardware can be safely called 
6497from 
6498interrupt level. OSL code that implements the semaphore interfaces should 
6499be 
6500able to eliminate any workarounds for being called at interrupt level.
6501
6502Fixed a regression introduced in 20060526 where the ACPI device 
6503initialization could be prematurely aborted with an AE_NOT_FOUND if a 
6504device 
6505did not have an optional _INI method.
6506
6507Fixed an IndexField issue where a write to the Data Register should be 
6508limited in size to the AccessSize (width) of the IndexField itself. (BZ 
6509433, 
6510Fiodor Suietov)
6511
6512Fixed problem reports (Valery Podrezov) integrated:
6513- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
6514
6515Fixed problem reports (Fiodor Suietov) integrated:
6516- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
6517
6518Removed four global mutexes that were obsolete and were no longer being 
6519used.
6520
6521Example Code and Data Size: These are the sizes for the OS-independent 
6522acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6523debug version of the code includes the debug output trace mechanism and 
6524has 
6525a much larger code and data size.
6526
6527  Previous Release:
6528    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
6529    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
6530  Current Release:
6531    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
6532    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
6533
6534
65352) iASL Compiler/Disassembler and Tools:
6536
6537Fixed a fault when using -g option (get tables from registry) on Windows 
6538machines.
6539
6540Fixed problem reports integrated:
6541- Generate error if CreateField NumBits parameter is zero. (BZ 405)
6542- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
6543Suietov)
6544- Global table revision override (-r) is ignored (BZ 413)
6545
6546----------------------------------------
654726 May 2006. Summary of changes for version 20060526:
6548
65491) ACPI CA Core Subsystem:
6550
6551Restructured, flattened, and simplified the internal interfaces for 
6552namespace object evaluation - resulting in smaller code, less CPU stack 
6553use, 
6554and fewer interfaces. (With assistance from Mikhail Kouzmich)
6555
6556Fixed a problem with the CopyObject operator where the first parameter 
6557was 
6558not typed correctly for the parser, interpreter, compiler, and 
6559disassembler. 
6560Caused various errors and unexpected behavior.
6561
6562Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
6563produced incorrect results with some C compilers. Since the behavior of C 
6564compilers when the shift value is larger than the datatype width is 
6565apparently not well defined, the interpreter now detects this condition 
6566and 
6567simply returns zero as expected in all such cases. (BZ 395)
6568
6569Fixed problem reports (Valery Podrezov) integrated:
6570- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
6571- Allow interpreter to handle nested method declarations (BZ 5361)
6572
6573Fixed problem reports (Fiodor Suietov) integrated:
6574- AcpiTerminate doesn't free debug memory allocation list objects (BZ 
6575355)
6576- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
6577356)
6578- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
6579- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
6580- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
6581- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
6582- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
6583- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
6584- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
6585365)
6586- Status of the Global Initialization Handler call not used (BZ 366)
6587- Incorrect object parameter to Global Initialization Handler (BZ 367)
6588
6589Example Code and Data Size: These are the sizes for the OS-independent 
6590acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6591debug version of the code includes the debug output trace mechanism and 
6592has 
6593a much larger code and data size.
6594
6595  Previous Release:
6596    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
6597    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
6598  Current Release:
6599    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
6600    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
6601
6602
66032) iASL Compiler/Disassembler and Tools:
6604
6605Modified the parser to allow the names IO, DMA, and IRQ to be used as 
6606namespace identifiers with no collision with existing resource descriptor 
6607macro names. This provides compatibility with other ASL compilers and is 
6608most useful for disassembly/recompilation of existing tables without 
6609parse 
6610errors. (With assistance from Thomas Renninger)
6611
6612Disassembler: fixed an incorrect disassembly problem with the 
6613DataTableRegion and CopyObject operators. Fixed a possible fault during 
6614disassembly of some Alias operators.
6615
6616----------------------------------------
661712 May 2006. Summary of changes for version 20060512:
6618
66191) ACPI CA Core Subsystem:
6620
6621Replaced the AcpiOsQueueForExecution interface with a new interface named 
6622AcpiOsExecute. The major difference is that the new interface does not 
6623have 
6624a Priority parameter, this appeared to be useless and has been replaced 
6625by 
6626a 
6627Type parameter. The Type tells the host what type of execution is being 
6628requested, such as global lock handler, notify handler, GPE handler, etc. 
6629This allows the host to queue and execute the request as appropriate for 
6630the 
6631request type, possibly using different work queues and different 
6632priorities 
6633for the various request types. This enables fixes for multithreading 
6634deadlock problems such as BZ #5534, and will require changes to all 
6635existing 
6636OS interface layers. (Alexey Starikovskiy and Bob Moore)
6637
6638Fixed a possible memory leak associated with the support for the so-
6639called 
6640"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
6641Suietov)
6642
6643Fixed a problem with the Load() operator where a table load from an 
6644operation region could overwrite an internal table buffer by up to 7 
6645bytes 
6646and cause alignment faults on IPF systems. (With assistance from Luming 
6647Yu)
6648
6649Example Code and Data Size: These are the sizes for the OS-independent 
6650acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6651debug version of the code includes the debug output trace mechanism and 
6652has 
6653a much larger code and data size.
6654
6655  Previous Release:
6656    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6657    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6658  Current Release:
6659    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
6660    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
6661
6662
6663
66642) iASL Compiler/Disassembler and Tools:
6665
6666Disassembler: Implemented support to cross reference the internal 
6667namespace 
6668and automatically generate ASL External() statements for symbols not 
6669defined 
6670within the current table being disassembled. This will simplify the 
6671disassembly and recompilation of interdependent tables such as SSDTs 
6672since 
6673these statements will no longer have to be added manually.
6674
6675Disassembler: Implemented experimental support to automatically detect 
6676invocations of external control methods and generate appropriate 
6677External() 
6678statements. This is problematic because the AML cannot be correctly 
6679parsed 
6680until the number of arguments for each control method is known. 
6681Currently, 
6682standalone method invocations and invocations as the source operand of a 
6683Store() statement are supported.
6684
6685Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
6686LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
6687LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
6688more readable and likely closer to the original ASL source.
6689
6690----------------------------------------
669121 April 2006. Summary of changes for version 20060421:
6692
66931) ACPI CA Core Subsystem:
6694
6695Removed a device initialization optimization introduced in 20051216 where 
6696the _STA method was not run unless an _INI was also present for the same 
6697device. This optimization could cause problems because it could allow 
6698_INI 
6699methods to be run within a not-present device subtree. (If a not-present 
6700device had no _INI, _STA would not be run, the not-present status would 
6701not 
6702be discovered, and the children of the device would be incorrectly 
6703traversed.)
6704
6705Implemented a new _STA optimization where namespace subtrees that do not 
6706contain _INI are identified and ignored during device initialization. 
6707Selectively running _STA can significantly improve boot time on large 
6708machines (with assistance from Len Brown.)
6709
6710Implemented support for the device initialization case where the returned 
6711_STA flags indicate a device not-present but functioning. In this case, 
6712_INI 
6713is not run, but the device children are examined for presence, as per the 
6714ACPI specification.
6715
6716Implemented an additional change to the IndexField support in order to 
6717conform to MS behavior. The value written to the Index Register is not 
6718simply a byte offset, it is a byte offset in units of the access width of 
6719the parent Index Field. (Fiodor Suietov)
6720
6721Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
6722interface is called during the creation of all AML operation regions, and 
6723allows the host OS to exert control over what addresses it will allow the 
6724AML code to access. Operation Regions whose addresses are disallowed will 
6725cause a runtime exception when they are actually accessed (will not 
6726affect 
6727or abort table loading.) See oswinxf or osunixxf for an example 
6728implementation.
6729
6730Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
6731interface allows the host OS to match the various "optional" 
6732interface/behavior strings for the _OSI predefined control method as 
6733appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
6734for an example implementation.
6735
6736Restructured and corrected various problems in the exception handling 
6737code 
6738paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
6739(with assistance from Takayoshi Kochi.)
6740
6741Modified the Linux source converter to ignore quoted string literals 
6742while 
6743converting identifiers from mixed to lower case. This will correct 
6744problems 
6745with the disassembler and other areas where such strings must not be 
6746modified.
6747
6748The ACPI_FUNCTION_* macros no longer require quotes around the function 
6749name. This allows the Linux source converter to convert the names, now 
6750that 
6751the converter ignores quoted strings.
6752
6753Example Code and Data Size: These are the sizes for the OS-independent 
6754acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6755debug version of the code includes the debug output trace mechanism and 
6756has 
6757a much larger code and data size.
6758
6759  Previous Release:
6760
6761    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6762    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6763  Current Release:
6764    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6765    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6766
6767
67682) iASL Compiler/Disassembler and Tools:
6769
6770Implemented 3 new warnings for iASL, and implemented multiple warning 
6771levels 
6772(w2 flag).
6773
67741) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
6775not 
6776WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
6777check for the possible timeout, a warning is issued.
6778
67792) Useless operators: If an ASL operator does not specify an optional 
6780target 
6781operand and it also does not use the function return value from the 
6782operator, a warning is issued since the operator effectively does 
6783nothing.
6784
67853) Unreferenced objects: If a namespace object is created, but never 
6786referenced, a warning is issued. This is a warning level 2 since there 
6787are 
6788cases where this is ok, such as when a secondary table is loaded that 
6789uses 
6790the unreferenced objects. Even so, care is taken to only flag objects 
6791that 
6792don't look like they will ever be used. For example, the reserved methods 
6793(starting with an underscore) are usually not referenced because it is 
6794expected that the OS will invoke them.
6795
6796----------------------------------------
679731 March 2006. Summary of changes for version 20060331:
6798
67991) ACPI CA Core Subsystem:
6800
6801Implemented header file support for the following additional ACPI tables: 
6802ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
6803support, 
6804all current and known ACPI tables are now defined in the ACPICA headers 
6805and 
6806are available for use by device drivers and other software.
6807
6808Implemented support to allow tables that contain ACPI names with invalid 
6809characters to be loaded. Previously, this would cause the table load to 
6810fail, but since there are several known cases of such tables on existing 
6811machines, this change was made to enable ACPI support for them. Also, 
6812this 
6813matches the behavior of the Microsoft ACPI implementation.
6814
6815Fixed a couple regressions introduced during the memory optimization in 
6816the 
681720060317 release. The namespace node definition required additional 
6818reorganization and an internal datatype that had been changed to 8-bit 
6819was 
6820restored to 32-bit. (Valery Podrezov)
6821
6822Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
6823could be passed through to AcpiOsReleaseObject which is unexpected. Such 
6824null pointers are now trapped and ignored, matching the behavior of the 
6825previous implementation before the deployment of AcpiOsReleaseObject.
6826(Valery Podrezov, Fiodor Suietov)
6827
6828Fixed a memory mapping leak during the deletion of a SystemMemory 
6829operation 
6830region where a cached memory mapping was not deleted. This became a 
6831noticeable problem for operation regions that are defined within 
6832frequently 
6833used control methods. (Dana Meyers)
6834
6835Reorganized the ACPI table header files into two main files: one for the 
6836ACPI tables consumed by the ACPICA core, and another for the 
6837miscellaneous 
6838ACPI tables that are consumed by the drivers and other software. The 
6839various 
6840FADT definitions were merged into one common section and three different 
6841tables (ACPI 1.0, 1.0+, and 2.0)
6842
6843Example Code and Data Size: These are the sizes for the OS-independent 
6844acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6845debug version of the code includes the debug output trace mechanism and 
6846has 
6847a much larger code and data size.
6848
6849  Previous Release:
6850    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6851    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6852  Current Release:
6853    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6854    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6855
6856
68572) iASL Compiler/Disassembler and Tools:
6858
6859Disassembler: Implemented support to decode and format all non-AML ACPI 
6860tables (tables other than DSDTs and SSDTs.) This includes the new tables 
6861added to the ACPICA headers, therefore all current and known ACPI tables 
6862are 
6863supported.
6864
6865Disassembler: The change to allow ACPI names with invalid characters also 
6866enables the disassembly of such tables. Invalid characters within names 
6867are 
6868changed to '*' to make the name printable; the iASL compiler will still 
6869generate an error for such names, however, since this is an invalid ACPI 
6870character.
6871
6872Implemented an option for AcpiXtract (-a) to extract all tables found in 
6873the 
6874input file. The default invocation extracts only the DSDTs and SSDTs.
6875
6876Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
6877makefile for the AcpiXtract utility.
6878
6879----------------------------------------
688017 March 2006. Summary of changes for version 20060317:
6881
68821) ACPI CA Core Subsystem:
6883
6884Implemented the use of a cache object for all internal namespace nodes. 
6885Since there are about 1000 static nodes in a typical system, this will 
6886decrease memory use for cache implementations that minimize per-
6887allocation 
6888overhead (such as a slab allocator.)
6889
6890Removed the reference count mechanism for internal namespace nodes, since 
6891it 
6892was deemed unnecessary. This reduces the size of each namespace node by 
6893about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
6894case, 
6895and 32 bytes for the 64-bit case.
6896
6897Optimized several internal data structures to reduce object size on 64-
6898bit 
6899platforms by packing data within the 64-bit alignment. This includes the 
6900frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
6901instances corresponding to the namespace objects.
6902
6903Added two new strings for the predefined _OSI method: "Windows 2001.1 
6904SP1" 
6905and "Windows 2006".
6906
6907Split the allocation tracking mechanism out to a separate file, from 
6908utalloc.c to uttrack.c. This mechanism appears to be only useful for 
6909application-level code. Kernels may wish to not include uttrack.c in 
6910distributions.
6911
6912Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
6913associated 
6914code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
6915macros.)
6916
6917Code and Data Size: These are the sizes for the acpica.lib produced by 
6918the 
6919Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
6920ACPI 
6921driver or OSPM code. The debug version of the code includes the debug 
6922output 
6923trace mechanism and has a much larger code and data size. Note that these 
6924values will vary depending on the efficiency of the compiler and the 
6925compiler options used during generation.
6926
6927  Previous Release:
6928    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6929    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
6930  Current Release:
6931    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6932    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6933
6934
69352) iASL Compiler/Disassembler and Tools:
6936
6937Implemented an ANSI C version of the acpixtract utility. This version 
6938will 
6939automatically extract the DSDT and all SSDTs from the input acpidump text 
6940file and dump the binary output to separate files. It can also display a 
6941summary of the input file including the headers for each table found and 
6942will extract any single ACPI table, with any signature. (See 
6943source/tools/acpixtract)
6944
6945----------------------------------------
694610 March 2006. Summary of changes for version 20060310:
6947
69481) ACPI CA Core Subsystem:
6949
6950Tagged all external interfaces to the subsystem with the new 
6951ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
6952assist 
6953kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
6954macro. The default definition is NULL.
6955
6956Added the ACPI_THREAD_ID type for the return value from 
6957AcpiOsGetThreadId. 
6958This allows the host to define this as necessary to simplify kernel 
6959integration. The default definition is ACPI_NATIVE_UINT.
6960
6961Fixed two interpreter problems related to error processing, the deletion 
6962of 
6963objects, and placing invalid pointers onto the internal operator result 
6964stack. BZ 6028, 6151 (Valery Podrezov)
6965
6966Increased the reference count threshold where a warning is emitted for 
6967large 
6968reference counts in order to eliminate unnecessary warnings on systems 
6969with 
6970large namespaces (especially 64-bit.) Increased the value from 0x400 to 
69710x800.
6972
6973Due to universal disagreement as to the meaning of the 'c' in the 
6974calloc() 
6975function, the ACPI_MEM_CALLOCATE macro has been renamed to 
6976ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
6977ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
6978ACPI_FREE.
6979
6980Code and Data Size: These are the sizes for the acpica.lib produced by 
6981the 
6982Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
6983ACPI 
6984driver or OSPM code. The debug version of the code includes the debug 
6985output 
6986trace mechanism and has a much larger code and data size. Note that these 
6987values will vary depending on the efficiency of the compiler and the 
6988compiler options used during generation.
6989
6990  Previous Release:
6991    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
6992    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
6993  Current Release:
6994    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6995    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
6996
6997
69982) iASL Compiler/Disassembler:
6999
7000Disassembler: implemented support for symbolic resource descriptor 
7001references. If a CreateXxxxField operator references a fixed offset 
7002within 
7003a 
7004resource descriptor, a name is assigned to the descriptor and the offset 
7005is 
7006translated to the appropriate resource tag and pathname. The addition of 
7007this support brings the disassembled code very close to the original ASL 
7008source code and helps eliminate run-time errors when the disassembled 
7009code 
7010is modified (and recompiled) in such a way as to invalidate the original 
7011fixed offsets.
7012
7013Implemented support for a Descriptor Name as the last parameter to the 
7014ASL 
7015Register() macro. This parameter was inadvertently left out of the ACPI 
7016specification, and will be added for ACPI 3.0b.
7017
7018Fixed a problem where the use of the "_OSI" string (versus the full path 
7019"\_OSI") caused an internal compiler error. ("No back ptr to op")
7020
7021Fixed a problem with the error message that occurs when an invalid string 
7022is 
7023used for a _HID object (such as one with an embedded asterisk: 
7024"*PNP010A".) 
7025The correct message is now displayed.
7026
7027----------------------------------------
702817 February 2006. Summary of changes for version 20060217:
7029
70301) ACPI CA Core Subsystem:
7031
7032Implemented a change to the IndexField support to match the behavior of 
7033the 
7034Microsoft AML interpreter. The value written to the Index register is now 
7035a 
7036byte offset, no longer an index based upon the width of the Data 
7037register. 
7038This should fix IndexField problems seen on some machines where the Data 
7039register is not exactly one byte wide. The ACPI specification will be 
7040clarified on this point.
7041
7042Fixed a problem where several resource descriptor types could overrun the 
7043internal descriptor buffer due to size miscalculation: VendorShort, 
7044VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
7045affect all platforms.
7046
7047Fixed a problem where individual resource descriptors were misaligned 
7048within 
7049the internal buffer, causing alignment faults on IA64 platforms.
7050
7051Code and Data Size: These are the sizes for the acpica.lib produced by 
7052the 
7053Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
7054ACPI 
7055driver or OSPM code. The debug version of the code includes the debug 
7056output 
7057trace mechanism and has a much larger code and data size. Note that these 
7058values will vary depending on the efficiency of the compiler and the 
7059compiler options used during generation.
7060
7061  Previous Release:
7062    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7063    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
7064  Current Release:
7065    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
7066    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
7067
7068
70692) iASL Compiler/Disassembler:
7070
7071Implemented support for new reserved names: _WDG and _WED are Microsoft 
7072extensions for Windows Instrumentation Management, _TDL is a new ACPI-
7073defined method (Throttling Depth Limit.)
7074
7075Fixed a problem where a zero-length VendorShort or VendorLong resource 
7076descriptor was incorrectly emitted as a descriptor of length one.
7077
7078----------------------------------------
707910 February 2006. Summary of changes for version 20060210:
7080
70811) ACPI CA Core Subsystem:
7082
7083Removed a couple of extraneous ACPI_ERROR messages that appeared during 
7084normal execution. These became apparent after the conversion from 
7085ACPI_DEBUG_PRINT.
7086
7087Fixed a problem where the CreateField operator could hang if the BitIndex 
7088or 
7089NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
7090
7091Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
7092failed with an exception. This also fixes a couple of related RefOf and 
7093DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
7094
7095Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
7096of 
7097AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
7098BZ 
70995480)
7100
7101Implemented a memory cleanup at the end of the execution of each 
7102iteration 
7103of an AML While() loop, preventing the accumulation of outstanding 
7104objects. 
7105(Valery Podrezov, BZ 5427)
7106
7107Eliminated a chunk of duplicate code in the object resolution code. 
7108(Valery 
7109Podrezov, BZ 5336)
7110
7111Fixed several warnings during the 64-bit code generation.
7112
7113The AcpiSrc source code conversion tool now inserts one line of 
7114whitespace 
7115after an if() statement that is followed immediately by a comment, 
7116improving 
7117readability of the Linux code.
7118
7119Code and Data Size: The current and previous library sizes for the core 
7120subsystem are shown below. These are the code and data sizes for the 
7121acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7122These 
7123values do not include any ACPI driver or OSPM code. The debug version of 
7124the 
7125code includes the debug output trace mechanism and has a much larger code 
7126and data size. Note that these values will vary depending on the 
7127efficiency 
7128of the compiler and the compiler options used during generation.
7129
7130  Previous Release:
7131    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
7132    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
7133  Current Release:
7134    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7135    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
7136
7137
71382) iASL Compiler/Disassembler:
7139
7140Fixed a problem with the disassembly of a BankField operator with a 
7141complex 
7142expression for the BankValue parameter.
7143
7144----------------------------------------
714527 January 2006. Summary of changes for version 20060127:
7146
71471) ACPI CA Core Subsystem:
7148
7149Implemented support in the Resource Manager to allow unresolved 
7150namestring 
7151references within resource package objects for the _PRT method. This 
7152support 
7153is in addition to the previously implemented unresolved reference support 
7154within the AML parser. If the interpreter slack mode is enabled, these 
7155unresolved references will be passed through to the caller as a NULL 
7156package 
7157entry.
7158
7159Implemented and deployed new macros and functions for error and warning 
7160messages across the subsystem. These macros are simpler and generate less 
7161code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
7162ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
7163macros remain defined to allow ACPI drivers time to migrate to the new 
7164macros.
7165
7166Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
7167the 
7168Acquire/Release Lock OSL interfaces.
7169
7170Fixed a problem where Alias ASL operators are sometimes not correctly 
7171resolved, in both the interpreter and the iASL compiler.
7172
7173Fixed several problems with the implementation of the 
7174ConcatenateResTemplate 
7175ASL operator. As per the ACPI specification, zero length buffers are now 
7176treated as a single EndTag. One-length buffers always cause a fatal 
7177exception. Non-zero length buffers that do not end with a full 2-byte 
7178EndTag 
7179cause a fatal exception.
7180
7181Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
7182interface. (With assistance from Thomas Renninger)
7183
7184Code and Data Size: The current and previous library sizes for the core 
7185subsystem are shown below. These are the code and data sizes for the 
7186acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7187These 
7188values do not include any ACPI driver or OSPM code. The debug version of 
7189the 
7190code includes the debug output trace mechanism and has a much larger code 
7191and data size. Note that these values will vary depending on the 
7192efficiency 
7193of the compiler and the compiler options used during generation.
7194
7195  Previous Release:
7196    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
7197    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
7198  Current Release:
7199    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
7200    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
7201
7202
72032) iASL Compiler/Disassembler:
7204
7205Fixed an internal error that was generated for any forward references to 
7206ASL 
7207Alias objects.
7208
7209----------------------------------------
721013 January 2006. Summary of changes for version 20060113:
7211
72121) ACPI CA Core Subsystem:
7213
7214Added 2006 copyright to all module headers and signons. This affects 
7215virtually every file in the ACPICA core subsystem, iASL compiler, and the 
7216utilities.
7217 
7218Enhanced the ACPICA error reporting in order to simplify user migration 
7219to 
7220the non-debug version of ACPICA. Replaced all instances of the 
7221ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
7222debug 
7223levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
7224respectively. This preserves all error and warning messages in the non-
7225debug 
7226version of the ACPICA code (this has been referred to as the "debug lite" 
7227option.) Over 200 cases were converted to create a total of over 380 
7228error/warning messages across the ACPICA code. This increases the code 
7229and 
7230data size of the default non-debug version of the code somewhat (about 
723113K), 
7232but all error/warning reporting may be disabled if desired (and code 
7233eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
7234configuration option. The size of the debug version of ACPICA remains 
7235about 
7236the same.
7237
7238Fixed a memory leak within the AML Debugger "Set" command. One object was 
7239not properly deleted for every successful invocation of the command.
7240
7241Code and Data Size: The current and previous library sizes for the core 
7242subsystem are shown below. These are the code and data sizes for the 
7243acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7244These 
7245values do not include any ACPI driver or OSPM code. The debug version of 
7246the 
7247code includes the debug output trace mechanism and has a much larger code 
7248and data size. Note that these values will vary depending on the 
7249efficiency 
7250of the compiler and the compiler options used during generation.
7251
7252  Previous Release:
7253    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
7254    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
7255  Current Release:
7256    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
7257    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
7258
7259
72602) iASL Compiler/Disassembler:
7261
7262The compiler now officially supports the ACPI 3.0a specification that was 
7263released on December 30, 2005. (Specification is available at 
7264www.acpi.info)
7265
7266----------------------------------------
726716 December 2005. Summary of changes for version 20051216:
7268
72691) ACPI CA Core Subsystem:
7270
7271Implemented optional support to allow unresolved names within ASL Package 
7272objects. A null object is inserted in the package when a named reference 
7273cannot be located in the current namespace. Enabled via the interpreter 
7274slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
7275machines 
7276that contain such code.
7277
7278Implemented an optimization to the initialization sequence that can 
7279improve 
7280boot time. During ACPI device initialization, the _STA method is now run 
7281if 
7282and only if the _INI method exists. The _STA method is used to determine 
7283if 
7284the device is present; An _INI can only be run if _STA returns present, 
7285but 
7286it is a waste of time to run the _STA method if the _INI does not exist. 
7287(Prototype and assistance from Dong Wei)
7288
7289Implemented use of the C99 uintptr_t for the pointer casting macros if it 
7290is 
7291available in the current compiler. Otherwise, the default (void *) cast 
7292is 
7293used as before.
7294
7295Fixed some possible memory leaks found within the execution path of the 
7296Break, Continue, If, and CreateField operators. (Valery Podrezov)
7297
7298Fixed a problem introduced in the 20051202 release where an exception is 
7299generated during method execution if a control method attempts to declare 
7300another method.
7301
7302Moved resource descriptor string constants that are used by both the AML 
7303disassembler and AML debugger to the common utilities directory so that 
7304these components are independent.
7305
7306Implemented support in the AcpiExec utility (-e switch) to globally 
7307ignore 
7308exceptions during control method execution (method is not aborted.)
7309
7310Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
7311generation.
7312
7313Code and Data Size: The current and previous library sizes for the core 
7314subsystem are shown below. These are the code and data sizes for the 
7315acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7316These 
7317values do not include any ACPI driver or OSPM code. The debug version of 
7318the 
7319code includes the debug output trace mechanism and has a much larger code 
7320and data size. Note that these values will vary depending on the 
7321efficiency 
7322of the compiler and the compiler options used during generation.
7323
7324  Previous Release:
7325    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7326    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
7327  Current Release:
7328    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
7329    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
7330
7331
73322) iASL Compiler/Disassembler:
7333
7334Fixed a problem where a CPU stack overflow fault could occur if a 
7335recursive 
7336method call was made from within a Return statement.
7337
7338----------------------------------------
733902 December 2005. Summary of changes for version 20051202:
7340
73411) ACPI CA Core Subsystem:
7342
7343Modified the parsing of control methods to no longer create namespace 
7344objects during the first pass of the parse. Objects are now created only 
7345during the execute phase, at the moment the namespace creation operator 
7346is 
7347encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
7348This 
7349should eliminate ALREADY_EXISTS exceptions seen on some machines where 
7350reentrant control methods are protected by an AML mutex. The mutex will 
7351now 
7352correctly block multiple threads from attempting to create the same 
7353object 
7354more than once.
7355
7356Increased the number of available Owner Ids for namespace object tracking 
7357from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
7358on 
7359some machines with a large number of ACPI tables (either static or 
7360dynamic).
7361
7362Fixed a problem with the AcpiExec utility where a fault could occur when 
7363the 
7364-b switch (batch mode) is used.
7365
7366Enhanced the namespace dump routine to output the owner ID for each 
7367namespace object.
7368
7369Code and Data Size: The current and previous library sizes for the core 
7370subsystem are shown below. These are the code and data sizes for the 
7371acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7372These 
7373values do not include any ACPI driver or OSPM code. The debug version of 
7374the 
7375code includes the debug output trace mechanism and has a much larger code 
7376and data size. Note that these values will vary depending on the 
7377efficiency 
7378of the compiler and the compiler options used during generation.
7379
7380  Previous Release:
7381    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7382    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7383  Current Release:
7384    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7385    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
7386
7387
73882) iASL Compiler/Disassembler:
7389
7390Fixed a parse error during compilation of certain Switch/Case constructs. 
7391To 
7392simplify the parse, the grammar now allows for multiple Default 
7393statements 
7394and this error is now detected and flagged during the analysis phase.
7395
7396Disassembler: The disassembly now includes the contents of the original 
7397table header within a comment at the start of the file. This includes the 
7398name and version of the original ASL compiler.
7399
7400----------------------------------------
740117 November 2005. Summary of changes for version 20051117:
7402
74031) ACPI CA Core Subsystem:
7404
7405Fixed a problem in the AML parser where the method thread count could be 
7406decremented below zero if any errors occurred during the method parse 
7407phase. 
7408This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
7409machines. 
7410This also fixed a related regression with the mechanism that detects and 
7411corrects methods that cannot properly handle reentrancy (related to the 
7412deployment of the new OwnerId mechanism.)
7413
7414Eliminated the pre-parsing of control methods (to detect errors) during 
7415table load. Related to the problem above, this was causing unwind issues 
7416if 
7417any errors occurred during the parse, and it seemed to be overkill. A 
7418table 
7419load should not be aborted if there are problems with any single control 
7420method, thus rendering this feature rather pointless.
7421
7422Fixed a problem with the new table-driven resource manager where an 
7423internal 
7424buffer overflow could occur for small resource templates.
7425
7426Implemented a new external interface, AcpiGetVendorResource. This 
7427interface 
7428will find and return a vendor-defined resource descriptor within a _CRS 
7429or 
7430_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
7431Helgaas.
7432
7433Removed the length limit (200) on string objects as per the upcoming ACPI 
74343.0A specification. This affects the following areas of the interpreter: 
74351) 
7436any implicit conversion of a Buffer to a String, 2) a String object 
7437result 
7438of the ASL Concatentate operator, 3) the String object result of the ASL 
7439ToString operator.
7440
7441Fixed a problem in the Windows OS interface layer (OSL) where a 
7442WAIT_FOREVER 
7443on a semaphore object would incorrectly timeout. This allows the 
7444multithreading features of the AcpiExec utility to work properly under 
7445Windows.
7446
7447Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
7448the recently added file named "utresrc.c".
7449
7450Code and Data Size: The current and previous library sizes for the core 
7451subsystem are shown below. These are the code and data sizes for the 
7452acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7453These 
7454values do not include any ACPI driver or OSPM code. The debug version of 
7455the 
7456code includes the debug output trace mechanism and has a much larger code 
7457and data size. Note that these values will vary depending on the 
7458efficiency 
7459of the compiler and the compiler options used during generation.
7460
7461  Previous Release:
7462    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
7463    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7464  Current Release:
7465    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7466    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7467
7468
74692) iASL Compiler/Disassembler:
7470
7471Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
7472specification. For the iASL compiler, this means that string literals 
7473within 
7474the source ASL can be of any length. 
7475
7476Enhanced the listing output to dump the AML code for resource descriptors 
7477immediately after the ASL code for each descriptor, instead of in a block 
7478at 
7479the end of the entire resource template.
7480
7481Enhanced the compiler debug output to dump the entire original parse tree 
7482constructed during the parse phase, before any transforms are applied to 
7483the 
7484tree. The transformed tree is dumped also.
7485
7486----------------------------------------
748702 November 2005. Summary of changes for version 20051102:
7488
74891) ACPI CA Core Subsystem:
7490
7491Modified the subsystem initialization sequence to improve GPE support. 
7492The 
7493GPE initialization has been split into two parts in order to defer 
7494execution 
7495of the _PRW methods (Power Resources for Wake) until after the hardware 
7496is 
7497fully initialized and the SCI handler is installed. This allows the _PRW 
7498methods to access fields protected by the Global Lock. This will fix 
7499systems 
7500where a NO_GLOBAL_LOCK exception has been seen during initialization.
7501
7502Converted the ACPI internal object disassemble and display code within 
7503the 
7504AML debugger to fully table-driven operation, reducing code size and 
7505increasing maintainability.
7506
7507Fixed a regression with the ConcatenateResTemplate() ASL operator 
7508introduced 
7509in the 20051021 release.
7510
7511Implemented support for "local" internal ACPI object types within the 
7512debugger "Object" command and the AcpiWalkNamespace external interfaces. 
7513These local types include RegionFields, BankFields, IndexFields, Alias, 
7514and 
7515reference objects.
7516
7517Moved common AML resource handling code into a new file, "utresrc.c". 
7518This 
7519code is shared by both the Resource Manager and the AML Debugger.
7520
7521Code and Data Size: The current and previous library sizes for the core 
7522subsystem are shown below. These are the code and data sizes for the 
7523acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7524These 
7525values do not include any ACPI driver or OSPM code. The debug version of 
7526the 
7527code includes the debug output trace mechanism and has a much larger code 
7528and data size. Note that these values will vary depending on the 
7529efficiency 
7530of the compiler and the compiler options used during generation.
7531
7532  Previous Release:
7533    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
7534    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
7535  Current Release:
7536    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
7537    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7538
7539
75402) iASL Compiler/Disassembler:
7541
7542Fixed a problem with very large initializer lists (more than 4000 
7543elements) 
7544for both Buffer and Package objects where the parse stack could overflow.
7545
7546Enhanced the pre-compile source code scan for non-ASCII characters to 
7547ignore 
7548characters within comment fields. The scan is now always performed and is 
7549no 
7550longer optional, detecting invalid characters within a source file 
7551immediately rather than during the parse phase or later.
7552
7553Enhanced the ASL grammar definition to force early reductions on all 
7554list-
7555style grammar elements so that the overall parse stack usage is greatly 
7556reduced. This should improve performance and reduce the possibility of 
7557parse 
7558stack overflow.
7559
7560Eliminated all reduce/reduce conflicts in the iASL parser generation. 
7561Also, 
7562with the addition of a %expected statement, the compiler generates from 
7563source with no warnings.
7564
7565Fixed a possible segment fault in the disassembler if the input filename 
7566does not contain a "dot" extension (Thomas Renninger).
7567
7568----------------------------------------
756921 October 2005. Summary of changes for version 20051021:
7570
75711) ACPI CA Core Subsystem:
7572
7573Implemented support for the EM64T and other x86-64 processors. This 
7574essentially entails recognizing that these processors support non-aligned 
7575memory transfers. Previously, all 64-bit processors were assumed to lack 
7576hardware support for non-aligned transfers.
7577
7578Completed conversion of the Resource Manager to nearly full table-driven 
7579operation. Specifically, the resource conversion code (convert AML to 
7580internal format and the reverse) and the debug code to dump internal 
7581resource descriptors are fully table-driven, reducing code and data size 
7582and 
7583improving maintainability.
7584
7585The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
7586word 
7587on 64-bit processors instead of a fixed 32-bit word. (With assistance 
7588from 
7589Alexey Starikovskiy)
7590
7591Implemented support within the resource conversion code for the Type-
7592Specific byte within the various ACPI 3.0 *WordSpace macros.
7593
7594Fixed some issues within the resource conversion code for the type-
7595specific 
7596flags for both Memory and I/O address resource descriptors. For Memory, 
7597implemented support for the MTP and TTP flags. For I/O, split the TRS and 
7598TTP flags into two separate fields.
7599
7600Code and Data Size: The current and previous library sizes for the core 
7601subsystem are shown below. These are the code and data sizes for the 
7602acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7603These 
7604values do not include any ACPI driver or OSPM code. The debug version of 
7605the 
7606code includes the debug output trace mechanism and has a much larger code 
7607and data size. Note that these values will vary depending on the 
7608efficiency 
7609of the compiler and the compiler options used during generation.
7610
7611  Previous Release:
7612    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
7613    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
7614  Current Release:
7615    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
7616    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
7617
7618
7619
76202) iASL Compiler/Disassembler:
7621
7622Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
7623the 
7624corresponding ResourceSource string was not also present in a resource 
7625descriptor declaration. This restriction caused problems with existing 
7626AML/ASL code that includes the Index byte without the string. When such 
7627AML 
7628was disassembled, it could not be compiled without modification. Further, 
7629the modified code created a resource template with a different size than 
7630the 
7631original, breaking code that used fixed offsets into the resource 
7632template 
7633buffer.
7634
7635Removed a recent feature of the disassembler to ignore a lone 
7636ResourceIndex 
7637byte. This byte is now emitted if present so that the exact AML can be 
7638reproduced when the disassembled code is recompiled.
7639
7640Improved comments and text alignment for the resource descriptor code 
7641emitted by the disassembler.
7642
7643Implemented disassembler support for the ACPI 3.0 AccessSize field within 
7644a 
7645Register() resource descriptor.
7646
7647----------------------------------------
764830 September 2005. Summary of changes for version 20050930:
7649
76501) ACPI CA Core Subsystem:
7651
7652Completed a major overhaul of the Resource Manager code - specifically, 
7653optimizations in the area of the AML/internal resource conversion code. 
7654The 
7655code has been optimized to simplify and eliminate duplicated code, CPU 
7656stack 
7657use has been decreased by optimizing function parameters and local 
7658variables, and naming conventions across the manager have been 
7659standardized 
7660for clarity and ease of maintenance (this includes function, parameter, 
7661variable, and struct/typedef names.) The update may force changes in some 
7662driver code, depending on how resources are handled by the host OS.
7663
7664All Resource Manager dispatch and information tables have been moved to a 
7665single location for clarity and ease of maintenance. One new file was 
7666created, named "rsinfo.c".
7667
7668The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
7669guarantee that the argument is not evaluated twice, making them less 
7670prone 
7671to macro side-effects. However, since there exists the possibility of 
7672additional stack use if a particular compiler cannot optimize them (such 
7673as 
7674in the debug generation case), the original macros are optionally 
7675available.  
7676Note that some invocations of the return_VALUE macro may now cause size 
7677mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
7678to 
7679eliminate these. (From Randy Dunlap)
7680
7681Implemented a new mechanism to enable debug tracing for individual 
7682control 
7683methods. A new external interface, AcpiDebugTrace, is provided to enable 
7684this mechanism. The intent is to allow the host OS to easily enable and 
7685disable tracing for problematic control methods. This interface can be 
7686easily exposed to a user or debugger interface if desired. See the file 
7687psxface.c for details.
7688
7689AcpiUtCallocate will now return a valid pointer if a length of zero is 
7690specified - a length of one is used and a warning is issued. This matches 
7691the behavior of AcpiUtAllocate.
7692
7693Code and Data Size: The current and previous library sizes for the core 
7694subsystem are shown below. These are the code and data sizes for the 
7695acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7696These 
7697values do not include any ACPI driver or OSPM code. The debug version of 
7698the 
7699code includes the debug output trace mechanism and has a much larger code 
7700and data size. Note that these values will vary depending on the 
7701efficiency 
7702of the compiler and the compiler options used during generation.
7703
7704  Previous Release:
7705    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7706    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7707  Current Release:
7708    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
7709    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
7710
7711
77122) iASL Compiler/Disassembler:
7713
7714A remark is issued if the effective compile-time length of a package or 
7715buffer is zero. Previously, this was a warning.
7716
7717----------------------------------------
771816 September 2005. Summary of changes for version 20050916:
7719
77201) ACPI CA Core Subsystem:
7721
7722Fixed a problem within the Resource Manager where support for the Generic 
7723Register descriptor was not fully implemented. This descriptor is now 
7724fully 
7725recognized, parsed, disassembled, and displayed.
7726
7727Completely restructured the Resource Manager code to utilize table-driven 
7728dispatch and lookup, eliminating many of the large switch() statements. 
7729This 
7730reduces overall subsystem code size and code complexity. Affects the 
7731resource parsing and construction, disassembly, and debug dump output.
7732
7733Cleaned up and restructured the debug dump output for all resource 
7734descriptors. Improved readability of the output and reduced code size.
7735
7736Fixed a problem where changes to internal data structures caused the 
7737optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
7738
7739Code and Data Size: The current and previous library sizes for the core 
7740subsystem are shown below. These are the code and data sizes for the 
7741acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7742These 
7743values do not include any ACPI driver or OSPM code. The debug version of 
7744the 
7745code includes the debug output trace mechanism and has a much larger code 
7746and data size. Note that these values will vary depending on the 
7747efficiency 
7748of the compiler and the compiler options used during generation.
7749
7750  Previous Release:
7751    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7752    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7753  Current Release:
7754    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7755    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7756
7757
77582) iASL Compiler/Disassembler:
7759
7760Updated the disassembler to automatically insert an EndDependentFn() 
7761macro 
7762into the ASL stream if this macro is missing in the original AML code, 
7763simplifying compilation of the resulting ASL module.
7764
7765Fixed a problem in the disassembler where a disassembled ResourceSource 
7766string (within a large resource descriptor) was not surrounded by quotes 
7767and 
7768not followed by a comma, causing errors when the resulting ASL module was 
7769compiled. Also, escape sequences within a ResourceSource string are now 
7770handled correctly (especially "\\")
7771
7772----------------------------------------
777302 September 2005. Summary of changes for version 20050902:
7774
77751) ACPI CA Core Subsystem:
7776
7777Fixed a problem with the internal Owner ID allocation and deallocation 
7778mechanisms for control method execution and recursive method invocation. 
7779This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
7780messages seen on some systems. Recursive method invocation depth is 
7781currently limited to 255. (Alexey Starikovskiy)
7782
7783Completely eliminated all vestiges of support for the "module-level 
7784executable code" until this support is fully implemented and debugged. 
7785This 
7786should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
7787some systems that invoke this support.
7788
7789Fixed a problem within the resource manager code where the transaction 
7790flags 
7791for a 64-bit address descriptor were handled incorrectly in the type-
7792specific flag byte.
7793
7794Consolidated duplicate code within the address descriptor resource 
7795manager 
7796code, reducing overall subsystem code size.
7797
7798Fixed a fault when using the AML debugger "disassemble" command to 
7799disassemble individual control methods.
7800
7801Removed references to the "release_current" directory within the Unix 
7802release package.
7803
7804Code and Data Size: The current and previous core subsystem library sizes 
7805are shown below. These are the code and data sizes for the acpica.lib 
7806produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
7807include any ACPI driver or OSPM code. The debug version of the code 
7808includes 
7809the debug output trace mechanism and has a much larger code and data 
7810size. 
7811Note that these values will vary depending on the efficiency of the 
7812compiler 
7813and the compiler options used during generation.
7814
7815  Previous Release:
7816    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7817    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7818  Current Release:
7819    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7820    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7821
7822
78232) iASL Compiler/Disassembler:
7824
7825Implemented an error check for illegal duplicate values in the interrupt 
7826and 
7827dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
7828Interrupt().
7829
7830Implemented error checking for the Irq() and IrqNoFlags() macros to 
7831detect 
7832too many values in the interrupt list (16 max) and invalid values in the 
7833list (range 0 - 15)
7834
7835The maximum length string literal within an ASL file is now restricted to 
7836200 characters as per the ACPI specification.
7837
7838Fixed a fault when using the -ln option (generate namespace listing).
7839
7840Implemented an error check to determine if a DescriptorName within a 
7841resource descriptor has already been used within the current scope.
7842
7843----------------------------------------
784415 August 2005.  Summary of changes for version 20050815:
7845 
78461) ACPI CA Core Subsystem:
7847 
7848Implemented a full bytewise compare to determine if a table load request 
7849is 
7850attempting to load a duplicate table. The compare is performed if the 
7851table 
7852signatures and table lengths match. This will allow different tables with 
7853the same OEM Table ID and revision to be loaded - probably against the 
7854ACPI 
7855specification, but discovered in the field nonetheless.
7856 
7857Added the changes.txt logfile to each of the zipped release packages.
7858 
7859Code and Data Size: Current and previous core subsystem library sizes are 
7860shown below. These are the code and data sizes for the acpica.lib 
7861produced 
7862by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7863any ACPI driver or OSPM code. The debug version of the code includes the 
7864debug output trace mechanism and has a much larger code and data size. 
7865Note 
7866that these values will vary depending on the efficiency of the compiler 
7867and 
7868the compiler options used during generation.
7869 
7870  Previous Release:
7871    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7872    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
7873  Current Release:
7874    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7875    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7876 
7877 
78782) iASL Compiler/Disassembler:
7879 
7880Fixed a problem where incorrect AML code could be generated for Package 
7881objects if optimization is disabled (via the -oa switch).
7882 
7883Fixed a problem with where incorrect AML code is generated for variable-
7884length packages when the package length is not specified and the number 
7885of 
7886initializer values is greater than 255.
7887 
7888
7889----------------------------------------
789029 July 2005.  Summary of changes for version 20050729:
7891
78921) ACPI CA Core Subsystem:
7893
7894Implemented support to ignore an attempt to install/load a particular 
7895ACPI 
7896table more than once. Apparently there exists BIOS code that repeatedly 
7897attempts to load the same SSDT upon certain events. With assistance from 
7898Venkatesh Pallipadi.
7899
7900Restructured the main interface to the AML parser in order to correctly 
7901handle all exceptional conditions. This will prevent leakage of the 
7902OwnerId 
7903resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
7904some 
7905machines. With assistance from Alexey Starikovskiy.
7906
7907Support for "module level code" has been disabled in this version due to 
7908a 
7909number of issues that have appeared on various machines. The support can 
7910be 
7911enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
7912compilation. When the issues are fully resolved, the code will be enabled 
7913by 
7914default again.
7915
7916Modified the internal functions for debug print support to define the 
7917FunctionName parameter as a (const char *) for compatibility with 
7918compiler 
7919built-in macros such as __FUNCTION__, etc.
7920
7921Linted the entire ACPICA source tree for both 32-bit and 64-bit.
7922
7923Implemented support to display an object count summary for the AML 
7924Debugger 
7925commands Object and Methods.
7926
7927Code and Data Size: Current and previous core subsystem library sizes are 
7928shown below. These are the code and data sizes for the acpica.lib 
7929produced 
7930by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7931any ACPI driver or OSPM code. The debug version of the code includes the 
7932debug output trace mechanism and has a much larger code and data size. 
7933Note 
7934that these values will vary depending on the efficiency of the compiler 
7935and 
7936the compiler options used during generation.
7937
7938  Previous Release:
7939    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
7940    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
7941  Current Release:
7942    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7943    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
7944
7945
79462) iASL Compiler/Disassembler:
7947
7948Fixed a regression that appeared in the 20050708 version of the compiler 
7949where an error message was inadvertently emitted for invocations of the 
7950_OSI 
7951reserved control method.
7952
7953----------------------------------------
795408 July 2005.  Summary of changes for version 20050708:
7955
79561) ACPI CA Core Subsystem:
7957
7958The use of the CPU stack in the debug version of the subsystem has been 
7959considerably reduced. Previously, a debug structure was declared in every 
7960function that used the debug macros. This structure has been removed in 
7961favor of declaring the individual elements as parameters to the debug 
7962functions. This reduces the cumulative stack use during nested execution 
7963of 
7964ACPI function calls at the cost of a small increase in the code size of 
7965the 
7966debug version of the subsystem. With assistance from Alexey Starikovskiy 
7967and 
7968Len Brown.
7969
7970Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
7971headers to define a macro that will return the current function name at 
7972runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
7973by 
7974the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
7975compiler-dependent header, the function name is saved on the CPU stack 
7976(one 
7977pointer per function.) This mechanism is used because apparently there 
7978exists no standard ANSI-C defined macro that that returns the function 
7979name.
7980
7981Redesigned and reimplemented the "Owner ID" mechanism used to track 
7982namespace objects created/deleted by ACPI tables and control method 
7983execution. A bitmap is now used to allocate and free the IDs, thus 
7984solving 
7985the wraparound problem present in the previous implementation. The size 
7986of 
7987the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
7988Starikovskiy).
7989
7990Removed the UINT32_BIT and UINT16_BIT types that were used for the 
7991bitfield 
7992flag definitions within the headers for the predefined ACPI tables. These 
7993have been replaced by UINT8_BIT in order to increase the code portability 
7994of 
7995the subsystem. If the use of UINT8 remains a problem, we may be forced to 
7996eliminate bitfields entirely because of a lack of portability.
7997
7998Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
7999This 
8000is a frequently used function and this improvement increases the 
8001performance 
8002of the entire subsystem (Alexey Starikovskiy).
8003
8004Fixed several possible memory leaks and the inverse - premature object 
8005deletion (Alexey Starikovskiy).
8006
8007Code and Data Size: Current and previous core subsystem library sizes are 
8008shown below. These are the code and data sizes for the acpica.lib 
8009produced 
8010by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8011any ACPI driver or OSPM code. The debug version of the code includes the 
8012debug output trace mechanism and has a much larger code and data size. 
8013Note 
8014that these values will vary depending on the efficiency of the compiler 
8015and 
8016the compiler options used during generation.
8017
8018  Previous Release:
8019    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
8020    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
8021  Current Release:
8022    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
8023    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
8024
8025----------------------------------------
802624 June 2005.  Summary of changes for version 20050624:
8027
80281) ACPI CA Core Subsystem:
8029
8030Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
8031the host-defined cache object. This allows the OSL implementation to 
8032define 
8033and type this object in any manner desired, simplifying the OSL 
8034implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
8035Linux, and should be defined in the OS-specific header file for other 
8036operating systems as required.
8037
8038Changed the interface to AcpiOsAcquireObject to directly return the 
8039requested object as the function return (instead of ACPI_STATUS.) This 
8040change was made for performance reasons, since this is the purpose of the 
8041interface in the first place. AcpiOsAcquireObject is now similar to the 
8042AcpiOsAllocate interface.
8043
8044Implemented a new AML debugger command named Businfo. This command 
8045displays 
8046information about all devices that have an associate _PRT object. The 
8047_ADR, 
8048_HID, _UID, and _CID are displayed for these devices.
8049
8050Modified the initialization sequence in AcpiInitializeSubsystem to call 
8051the 
8052OSL interface AcpiOslInitialize first, before any local initialization. 
8053This 
8054change was required because the global initialization now calls OSL 
8055interfaces.
8056
8057Enhanced the Dump command to display the entire contents of Package 
8058objects 
8059(including all sub-objects and their values.) 
8060
8061Restructured the code base to split some files because of size and/or 
8062because the code logically belonged in a separate file. New files are 
8063listed 
8064below. All makefiles and project files included in the ACPI CA release 
8065have 
8066been updated.
8067    utilities/utcache.c           /* Local cache interfaces */
8068    utilities/utmutex.c           /* Local mutex support */
8069    utilities/utstate.c           /* State object support */
8070    interpreter/parser/psloop.c   /* Main AML parse loop */
8071
8072Code and Data Size: Current and previous core subsystem library sizes are 
8073shown below. These are the code and data sizes for the acpica.lib 
8074produced 
8075by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8076any ACPI driver or OSPM code. The debug version of the code includes the 
8077debug output trace mechanism and has a much larger code and data size. 
8078Note 
8079that these values will vary depending on the efficiency of the compiler 
8080and 
8081the compiler options used during generation.
8082
8083  Previous Release:
8084    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
8085    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
8086  Current Release:
8087    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
8088    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
8089
8090
80912) iASL Compiler/Disassembler:
8092
8093Fixed a regression introduced in version 20050513 where the use of a 
8094Package 
8095object within a Case() statement caused a compile time exception. The 
8096original behavior has been restored (a Match() operator is emitted.)
8097
8098----------------------------------------
809917 June 2005.  Summary of changes for version 20050617:
8100
81011) ACPI CA Core Subsystem:
8102
8103Moved the object cache operations into the OS interface layer (OSL) to 
8104allow 
8105the host OS to handle these operations if desired (for example, the Linux 
8106OSL will invoke the slab allocator). This support is optional; the 
8107compile 
8108time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
8109cache 
8110code in the ACPI CA core. The new OSL interfaces are shown below. See 
8111utalloc.c for an example implementation, and acpiosxf.h for the exact 
8112interface definitions. With assistance from Alexey Starikovskiy.
8113    AcpiOsCreateCache
8114    AcpiOsDeleteCache
8115    AcpiOsPurgeCache
8116    AcpiOsAcquireObject
8117    AcpiOsReleaseObject
8118
8119Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
8120return 
8121and restore a flags parameter. This fits better with many OS lock models. 
8122Note: the current execution state (interrupt handler or not) is no longer 
8123passed to these interfaces. If necessary, the OSL must determine this 
8124state 
8125by itself, a simple and fast operation. With assistance from Alexey 
8126Starikovskiy.
8127
8128Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
8129present if the revision of the RSDP was 2 or greater. According to the 
8130ACPI 
8131specification, the XSDT is optional in all cases, and the table manager 
8132therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
8133Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
8134contain 
8135only the RSDT.
8136
8137Fixed an interpreter problem with the Mid() operator in the case of an 
8138input 
8139string where the resulting output string is of zero length. It now 
8140correctly 
8141returns a valid, null terminated string object instead of a string object 
8142with a null pointer.
8143
8144Fixed a problem with the control method argument handling to allow a 
8145store 
8146to an Arg object that already contains an object of type Device. The 
8147Device 
8148object is now correctly overwritten. Previously, an error was returned.
8149
8150
8151Enhanced the debugger Find command to emit object values in addition to 
8152the 
8153found object pathnames. The output format is the same as the dump 
8154namespace 
8155command.
8156
8157Enhanced the debugger Set command. It now has the ability to set the 
8158value 
8159of any Named integer object in the namespace (Previously, only method 
8160locals 
8161and args could be set.)
8162
8163Code and Data Size: Current and previous core subsystem library sizes are 
8164shown below. These are the code and data sizes for the acpica.lib 
8165produced 
8166by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8167any ACPI driver or OSPM code. The debug version of the code includes the 
8168debug output trace mechanism and has a much larger code and data size. 
8169Note 
8170that these values will vary depending on the efficiency of the compiler 
8171and 
8172the compiler options used during generation.
8173
8174  Previous Release:
8175    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
8176    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
8177  Current Release:
8178    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
8179    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
8180
8181
81822) iASL Compiler/Disassembler:
8183
8184Fixed a regression in the disassembler where if/else/while constructs 
8185were 
8186output incorrectly. This problem was introduced in the previous release 
8187(20050526). This problem also affected the single-step disassembly in the 
8188debugger.
8189
8190Fixed a problem where compiling the reserved _OSI method would randomly 
8191(but 
8192rarely) produce compile errors.
8193
8194Enhanced the disassembler to emit compilable code in the face of 
8195incorrect 
8196AML resource descriptors. If the optional ResourceSourceIndex is present, 
8197but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
8198disassembly. Otherwise, the resulting code cannot be compiled without 
8199errors.
8200
8201----------------------------------------
820226 May 2005.  Summary of changes for version 20050526:
8203
82041) ACPI CA Core Subsystem:
8205
8206Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
8207the module level (not within a control method.) These opcodes are 
8208executed 
8209exactly once at the time the table is loaded. This type of code was legal 
8210up 
8211until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
8212in 
8213order to provide backwards compatibility with earlier BIOS 
8214implementations. 
8215This eliminates the "Encountered executable code at module level" warning 
8216that was previously generated upon detection of such code.
8217
8218Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
8219inadvertently be generated during the lookup of namespace objects in the 
8220second pass parse of ACPI tables and control methods. It appears that 
8221this 
8222problem could occur during the resolution of forward references to 
8223namespace 
8224objects.
8225
8226Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
8227corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
8228allows the deadlock detection debug code to be compiled out in the normal 
8229case, improving mutex performance (and overall subsystem performance) 
8230considerably.
8231
8232Implemented a handful of miscellaneous fixes for possible memory leaks on 
8233error conditions and error handling control paths. These fixes were 
8234suggested by FreeBSD and the Coverity Prevent source code analysis tool.
8235
8236Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
8237(tbxfroot.c) 
8238to prevent a fault in this error case.
8239
8240Code and Data Size: Current and previous core subsystem library sizes are 
8241shown below. These are the code and data sizes for the acpica.lib 
8242produced 
8243by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8244any ACPI driver or OSPM code. The debug version of the code includes the 
8245debug output trace mechanism and has a much larger code and data size. 
8246Note 
8247that these values will vary depending on the efficiency of the compiler 
8248and 
8249the compiler options used during generation.
8250
8251  Previous Release:
8252    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8253    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8254  Current Release:
8255    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
8256    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
8257
8258
82592) iASL Compiler/Disassembler:
8260
8261Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
8262the module level (not within a control method.) These operators will be 
8263executed once at the time the table is loaded. This type of code was 
8264legal 
8265up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
8266compiler in order to provide backwards compatibility with earlier BIOS 
8267ASL 
8268code.
8269
8270The ACPI integer width (specified via the table revision ID or the -r 
8271override, 32 or 64 bits) is now used internally during compile-time 
8272constant 
8273folding to ensure that constants are truncated to 32 bits if necessary. 
8274Previously, the revision ID value was only emitted in the AML table 
8275header.
8276
8277An error message is now generated for the Mutex and Method operators if 
8278the 
8279SyncLevel parameter is outside the legal range of 0 through 15.
8280
8281Fixed a problem with the Method operator ParameterTypes list handling 
8282(ACPI 
82833.0). Previously, more than 2 types or 2 arguments generated a syntax 
8284error.  
8285The actual underlying implementation of method argument typechecking is 
8286still under development, however.
8287
8288----------------------------------------
828913 May 2005.  Summary of changes for version 20050513:
8290
82911) ACPI CA Core Subsystem:
8292
8293Implemented support for PCI Express root bridges -- added support for 
8294device 
8295PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
8296
8297The interpreter now automatically truncates incoming 64-bit constants to 
829832 
8299bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
8300This 
8301also affects the iASL compiler constant folding. (Note: as per below, the 
8302iASL compiler no longer allows 64-bit constants within 32-bit tables.)
8303
8304Fixed a problem where string and buffer objects with "static" pointers 
8305(pointers to initialization data within an ACPI table) were not handled 
8306consistently. The internal object copy operation now always copies the 
8307data 
8308to a newly allocated buffer, regardless of whether the source object is 
8309static or not.
8310
8311Fixed a problem with the FromBCD operator where an implicit result 
8312conversion was improperly performed while storing the result to the 
8313target 
8314operand. Since this is an "explicit conversion" operator, the implicit 
8315conversion should never be performed on the output.
8316
8317Fixed a problem with the CopyObject operator where a copy to an existing 
8318named object did not always completely overwrite the existing object 
8319stored 
8320at name. Specifically, a buffer-to-buffer copy did not delete the 
8321existing 
8322buffer.
8323
8324Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
8325and 
8326structs for consistency.
8327
8328Code and Data Size: Current and previous core subsystem library sizes are 
8329shown below. These are the code and data sizes for the acpica.lib 
8330produced 
8331by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8332any ACPI driver or OSPM code. The debug version of the code includes the 
8333debug output trace mechanism and has a much larger code and data size. 
8334Note 
8335that these values will vary depending on the efficiency of the compiler 
8336and 
8337the compiler options used during generation.
8338
8339  Previous Release:
8340    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8341    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8342  Current Release: (Same sizes)
8343    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8344    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8345
8346
83472) iASL Compiler/Disassembler:
8348
8349The compiler now emits a warning if an attempt is made to generate a 64-
8350bit 
8351integer constant from within a 32-bit ACPI table (Revision < 2). The 
8352integer 
8353is truncated to 32 bits.
8354
8355Fixed a problem with large package objects: if the static length of the 
8356package is greater than 255, the "variable length package" opcode is 
8357emitted. Previously, this caused an error. This requires an update to the 
8358ACPI spec, since it currently (incorrectly) states that packages larger 
8359than 
8360255 elements are not allowed.
8361
8362The disassembler now correctly handles variable length packages and 
8363packages 
8364larger than 255 elements.
8365
8366----------------------------------------
836708 April 2005.  Summary of changes for version 20050408:
8368
83691) ACPI CA Core Subsystem:
8370
8371Fixed three cases in the interpreter where an "index" argument to an ASL 
8372function was still (internally) 32 bits instead of the required 64 bits. 
8373This was the Index argument to the Index, Mid, and Match operators.
8374
8375The "strupr" function is now permanently local (AcpiUtStrupr), since this 
8376is 
8377not a POSIX-defined function and not present in most kernel-level C 
8378libraries. All references to the C library strupr function have been 
8379removed 
8380from the headers.
8381
8382Completed the deployment of static functions/prototypes. All prototypes 
8383with 
8384the static attribute have been moved from the headers to the owning C 
8385file.
8386
8387Implemented an extract option (-e) for the AcpiBin utility (AML binary 
8388utility). This option allows the utility to extract individual ACPI 
8389tables 
8390from the output of AcpiDmp. It provides the same functionality of the 
8391acpixtract.pl perl script without the worry of setting the correct perl 
8392options. AcpiBin runs on Windows and has not yet been generated/validated 
8393in 
8394the Linux/Unix environment (but should be soon).
8395 
8396Updated and fixed the table dump option for AcpiBin (-d). This option 
8397converts a single ACPI table to a hex/ascii file, similar to the output 
8398of 
8399AcpiDmp.
8400
8401Code and Data Size: Current and previous core subsystem library sizes are 
8402shown below. These are the code and data sizes for the acpica.lib 
8403produced 
8404by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8405any ACPI driver or OSPM code. The debug version of the code includes the 
8406debug output trace mechanism and has a much larger code and data size. 
8407Note 
8408that these values will vary depending on the efficiency of the compiler 
8409and 
8410the compiler options used during generation.
8411
8412  Previous Release:
8413    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
8414    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
8415  Current Release:
8416    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8417    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8418
8419
84202) iASL Compiler/Disassembler:
8421
8422Disassembler fix: Added a check to ensure that the table length found in 
8423the 
8424ACPI table header within the input file is not longer than the actual 
8425input 
8426file size. This indicates some kind of file or table corruption.
8427
8428----------------------------------------
842929 March 2005.  Summary of changes for version 20050329:
8430
84311) ACPI CA Core Subsystem:
8432
8433An error is now generated if an attempt is made to create a Buffer Field 
8434of 
8435length zero (A CreateField with a length operand of zero.)
8436
8437The interpreter now issues a warning whenever executable code at the 
8438module 
8439level is detected during ACPI table load. This will give some idea of the 
8440prevalence of this type of code.
8441
8442Implemented support for references to named objects (other than control 
8443methods) within package objects.
8444
8445Enhanced package object output for the debug object. Package objects are 
8446now 
8447completely dumped, showing all elements.
8448
8449Enhanced miscellaneous object output for the debug object. Any object can 
8450now be written to the debug object (for example, a device object can be 
8451written, and the type of the object will be displayed.)
8452
8453The "static" qualifier has been added to all local functions across both 
8454the 
8455core subsystem and the iASL compiler.
8456
8457The number of "long" lines (> 80 chars) within the source has been 
8458significantly reduced, by about 1/3.
8459
8460Cleaned up all header files to ensure that all CA/iASL functions are 
8461prototyped (even static functions) and the formatting is consistent.
8462
8463Two new header files have been added, acopcode.h and acnames.h.
8464
8465Removed several obsolete functions that were no longer used.
8466
8467Code and Data Size: Current and previous core subsystem library sizes are 
8468shown below. These are the code and data sizes for the acpica.lib 
8469produced 
8470by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8471any ACPI driver or OSPM code. The debug version of the code includes the 
8472debug output trace mechanism and has a much larger code and data size. 
8473Note 
8474that these values will vary depending on the efficiency of the compiler 
8475and 
8476the compiler options used during generation.
8477
8478  Previous Release:
8479    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8480    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
8481  Current Release:
8482    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
8483    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
8484
8485
8486
84872) iASL Compiler/Disassembler:
8488
8489Fixed a problem with the resource descriptor generation/support. For the 
8490ResourceSourceIndex and the ResourceSource fields, both must be present, 
8491or 
8492both must be not present - can't have one without the other.
8493
8494The compiler now returns non-zero from the main procedure if any errors 
8495have 
8496occurred during the compilation.
8497
8498
8499----------------------------------------
850009 March 2005.  Summary of changes for version 20050309:
8501
85021) ACPI CA Core Subsystem:
8503
8504The string-to-buffer implicit conversion code has been modified again 
8505after 
8506a change to the ACPI specification.  In order to match the behavior of 
8507the 
8508other major ACPI implementation, the target buffer is no longer truncated 
8509if 
8510the source string is smaller than an existing target buffer. This change 
8511requires an update to the ACPI spec, and should eliminate the recent 
8512AE_AML_BUFFER_LIMIT issues.
8513
8514The "implicit return" support was rewritten to a new algorithm that 
8515solves 
8516the general case. Rather than attempt to determine when a method is about 
8517to 
8518exit, the result of every ASL operator is saved momentarily until the 
8519very 
8520next ASL operator is executed. Therefore, no matter how the method exits, 
8521there will always be a saved implicit return value. This feature is only 
8522enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
8523eliminate 
8524AE_AML_NO_RETURN_VALUE errors when enabled.
8525
8526Implemented implicit conversion support for the predicate (operand) of 
8527the 
8528If, Else, and While operators. String and Buffer arguments are 
8529automatically 
8530converted to Integers.
8531
8532Changed the string-to-integer conversion behavior to match the new ACPI 
8533errata: "If no integer object exists, a new integer is created. The ASCII 
8534string is interpreted as a hexadecimal constant. Each string character is 
8535interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
8536with the first character as the most significant digit, and ending with 
8537the 
8538first non-hexadecimal character or end-of-string." This means that the 
8539first 
8540non-hex character terminates the conversion and this is the code that was 
8541changed.
8542
8543Fixed a problem where the ObjectType operator would fail (fault) when 
8544used 
8545on an Index of a Package which pointed to a null package element. The 
8546operator now properly returns zero (Uninitialized) in this case.
8547
8548Fixed a problem where the While operator used excessive memory by not 
8549properly popping the result stack during execution. There was no memory 
8550leak 
8551after execution, however. (Code provided by Valery Podrezov.)
8552
8553Fixed a problem where references to control methods within Package 
8554objects 
8555caused the method to be invoked, instead of producing a reference object 
8556pointing to the method.
8557
8558Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
8559to 
8560improve performance and reduce code size. (Code provided by Alexey 
8561Starikovskiy.)
8562
8563Code and Data Size: Current and previous core subsystem library sizes are 
8564shown below. These are the code and data sizes for the acpica.lib 
8565produced 
8566by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8567any ACPI driver or OSPM code. The debug version of the code includes the 
8568debug output trace mechanism and has a much larger code and data size. 
8569Note 
8570that these values will vary depending on the efficiency of the compiler 
8571and 
8572the compiler options used during generation.
8573
8574  Previous Release:
8575    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8576    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
8577  Current Release:
8578    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8579    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
8580
8581
85822) iASL Compiler/Disassembler:
8583
8584Fixed a problem with the Return operator with no arguments. Since the AML 
8585grammar for the byte encoding requires an operand for the Return opcode, 
8586the 
8587compiler now emits a Return(Zero) for this case.  An ACPI specification 
8588update has been written for this case.
8589
8590For tables other than the DSDT, namepath optimization is automatically 
8591disabled. This is because SSDTs can be loaded anywhere in the namespace, 
8592the 
8593compiler has no knowledge of where, and thus cannot optimize namepaths.
8594
8595Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
8596inadvertently omitted from the ACPI specification, and will require an 
8597update to the spec.
8598
8599The source file scan for ASCII characters is now optional (-a). This 
8600change 
8601was made because some vendors place non-ascii characters within comments. 
8602However, the scan is simply a brute-force byte compare to ensure all 
8603characters in the file are in the range 0x00 to 0x7F.
8604
8605Fixed a problem with the CondRefOf operator where the compiler was 
8606inappropriately checking for the existence of the target. Since the point 
8607of 
8608the operator is to check for the existence of the target at run-time, the 
8609compiler no longer checks for the target existence.
8610
8611Fixed a problem where errors generated from the internal AML interpreter 
8612during constant folding were not handled properly, causing a fault.
8613
8614Fixed a problem with overly aggressive range checking for the Stall 
8615operator. The valid range (max 255) is now only checked if the operand is 
8616of 
8617type Integer. All other operand types cannot be statically checked.
8618
8619Fixed a problem where control method references within the RefOf, 
8620DeRefOf, 
8621and ObjectType operators were not treated properly. They are now treated 
8622as 
8623actual references, not method invocations.
8624
8625Fixed and enhanced the "list namespace" option (-ln). This option was 
8626broken 
8627a number of releases ago.
8628
8629Improved error handling for the Field, IndexField, and BankField 
8630operators. 
8631The compiler now cleanly reports and recovers from errors in the field 
8632component (FieldUnit) list.
8633
8634Fixed a disassembler problem where the optional ResourceDescriptor fields 
8635TRS and TTP were not always handled correctly.
8636
8637Disassembler - Comments in output now use "//" instead of "/*"
8638
8639----------------------------------------
864028 February 2005.  Summary of changes for version 20050228:
8641
86421) ACPI CA Core Subsystem:
8643
8644Fixed a problem where the result of an Index() operator (an object 
8645reference) must increment the reference count on the target object for 
8646the 
8647life of the object reference.
8648
8649Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
8650Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
8651WordSpace 
8652resource descriptors.
8653
8654Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
8655Space Descriptor" string, indicating interpreter support for the 
8656descriptors 
8657above.
8658
8659Implemented header support for the new ACPI 3.0 FADT flag bits.
8660
8661Implemented header support for the new ACPI 3.0 PCI Express bits for the 
8662PM1 
8663status/enable registers.
8664
8665Updated header support for the MADT processor local Apic struct and MADT 
8666platform interrupt source struct for new ACPI 3.0 fields.
8667
8668Implemented header support for the SRAT and SLIT ACPI tables.
8669
8670Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
8671flag 
8672at runtime.
8673
8674Code and Data Size: Current and previous core subsystem library sizes are 
8675shown below. These are the code and data sizes for the acpica.lib 
8676produced 
8677by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8678any ACPI driver or OSPM code. The debug version of the code includes the 
8679debug output trace mechanism and has a much larger code and data size. 
8680Note 
8681that these values will vary depending on the efficiency of the compiler 
8682and 
8683the compiler options used during generation.
8684
8685  Previous Release:
8686    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
8687    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
8688  Current Release:
8689    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8690    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
8691
8692
86932) iASL Compiler/Disassembler:
8694
8695Fixed a problem with the internal 64-bit String-to-integer conversion 
8696with 
8697strings less than two characters long.
8698
8699Fixed a problem with constant folding where the result of the Index() 
8700operator can not be considered a constant. This means that Index() cannot 
8701be 
8702a type3 opcode and this will require an update to the ACPI specification.
8703
8704Disassembler: Implemented support for the TTP, MTP, and TRS resource 
8705descriptor fields. These fields were inadvertently ignored and not output 
8706in 
8707the disassembly of the resource descriptor.
8708
8709
8710 ----------------------------------------
871111 February 2005.  Summary of changes for version 20050211:
8712
87131) ACPI CA Core Subsystem:
8714
8715Implemented ACPI 3.0 support for implicit conversion within the Match() 
8716operator. MatchObjects can now be of type integer, buffer, or string 
8717instead 
8718of just type integer.  Package elements are implicitly converted to the 
8719type 
8720of the MatchObject. This change aligns the behavior of Match() with the 
8721behavior of the other logical operators (LLess(), etc.) It also requires 
8722an 
8723errata change to the ACPI specification as this support was intended for 
8724ACPI 3.0, but was inadvertently omitted.
8725
8726Fixed a problem with the internal implicit "to buffer" conversion. 
8727Strings 
8728that are converted to buffers will cause buffer truncation if the string 
8729is 
8730smaller than the target buffer. Integers that are converted to buffers 
8731will 
8732not cause buffer truncation, only zero extension (both as per the ACPI 
8733spec.) The problem was introduced when code was added to truncate the 
8734buffer, but this should not be performed in all cases, only the string 
8735case.
8736
8737Fixed a problem with the Buffer and Package operators where the 
8738interpreter 
8739would get confused if two such operators were used as operands to an ASL 
8740operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
8741stack was not being popped after the execution of these operators, 
8742resulting 
8743in an AE_NO_RETURN_VALUE exception.
8744
8745Fixed a problem with constructs of the form Store(Index(...),...). The 
8746reference object returned from Index was inadvertently resolved to an 
8747actual 
8748value. This problem was introduced in version 20050114 when the behavior 
8749of 
8750Store() was modified to restrict the object types that can be used as the 
8751source operand (to match the ACPI specification.)
8752
8753Reduced excessive stack use within the AcpiGetObjectInfo procedure.
8754
8755Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
8756
8757Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
8758
8759Code and Data Size: Current and previous core subsystem library sizes are 
8760shown below. These are the code and data sizes for the acpica.lib 
8761produced 
8762by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8763any ACPI driver or OSPM code. The debug version of the code includes the 
8764debug output trace mechanism and has a much larger code and data size. 
8765Note 
8766that these values will vary depending on the efficiency of the compiler 
8767and 
8768the compiler options used during generation.
8769
8770  Previous Release:
8771    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
8772    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
8773  Current Release:
8774    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
8775    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
8776
8777
87782) iASL Compiler/Disassembler:
8779
8780Fixed a code generation problem in the constant folding optimization code 
8781where incorrect code was generated if a constant was reduced to a buffer 
8782object (i.e., a reduced type 5 opcode.)
8783
8784Fixed a typechecking problem for the ToBuffer operator. Caused by an 
8785incorrect return type in the internal opcode information table.
8786
8787----------------------------------------
878825 January 2005.  Summary of changes for version 20050125:
8789
87901) ACPI CA Core Subsystem:
8791
8792Fixed a recently introduced problem with the Global Lock where the 
8793underlying semaphore was not created.  This problem was introduced in 
8794version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
8795Acquire() operation on _GL.
8796
8797The local object cache is now optional, and is disabled by default. Both 
8798AcpiExec and the iASL compiler enable the cache because they run in user 
8799mode and this enhances their performance. #define 
8800ACPI_ENABLE_OBJECT_CACHE 
8801to enable the local cache.
8802
8803Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
8804the 
8805optional "implicit return" support where an error was returned if no 
8806return 
8807object was expected, but one was implicitly returned. AE_OK is now 
8808returned 
8809in this case and the implicitly returned object is deleted. 
8810AcpiUtEvaluateObject is only occasionally used, and only to execute 
8811reserved 
8812methods such as _STA and _INI where the return type is known up front.
8813
8814Fixed a few issues with the internal convert-to-integer code. It now 
8815returns 
8816an error if an attempt is made to convert a null string, a string of only 
8817blanks/tabs, or a zero-length buffer. This affects both implicit 
8818conversion 
8819and explicit conversion via the ToInteger() operator.
8820
8821The internal debug code in AcpiUtAcquireMutex has been commented out. It 
8822is 
8823not needed for normal operation and should increase the performance of 
8824the 
8825entire subsystem. The code remains in case it is needed for debug 
8826purposes 
8827again.
8828
8829The AcpiExec source and makefile are included in the Unix/Linux package 
8830for 
8831the first time.
8832
8833Code and Data Size: Current and previous core subsystem library sizes are 
8834shown below. These are the code and data sizes for the acpica.lib 
8835produced 
8836by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8837any ACPI driver or OSPM code. The debug version of the code includes the 
8838debug output trace mechanism and has a much larger code and data size. 
8839Note 
8840that these values will vary depending on the efficiency of the compiler 
8841and 
8842the compiler options used during generation.
8843
8844  Previous Release:
8845    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
8846    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
8847  Current Release:
8848    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
8849    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
8850
88512) iASL Compiler/Disassembler:
8852
8853Switch/Case support: A warning is now issued if the type of the Switch 
8854value 
8855cannot be determined at compile time. For example, Switch(Arg0) will 
8856generate the warning, and the type is assumed to be an integer. As per 
8857the 
8858ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
8859the 
8860warning.
8861
8862Switch/Case support: Implemented support for buffer and string objects as 
8863the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
8864buffers and strings.
8865
8866Switch/Case support: The emitted code for the LEqual() comparisons now 
8867uses 
8868the switch value as the first operand, not the second. The case value is 
8869now 
8870the second operand, and this allows the case value to be implicitly 
8871converted to the type of the switch value, not the other way around.
8872
8873Switch/Case support: Temporary variables are now emitted immediately 
8874within 
8875the control method, not at the global level. This means that there are 
8876now 
887736 temps available per-method, not 36 temps per-module as was the case 
8878with 
8879the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
8880
8881----------------------------------------
888214 January 2005.  Summary of changes for version 20050114:
8883
8884Added 2005 copyright to all module headers.  This affects every module in 
8885the core subsystem, iASL compiler, and the utilities.
8886
88871) ACPI CA Core Subsystem:
8888
8889Fixed an issue with the String-to-Buffer conversion code where the string 
8890null terminator was not included in the buffer after conversion, but 
8891there 
8892is existing ASL that assumes the string null terminator is included. This 
8893is 
8894the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
8895introduced in the previous version when the code was updated to correctly 
8896set the converted buffer size as per the ACPI specification. The ACPI 
8897spec 
8898is ambiguous and will be updated to specify that the null terminator must 
8899be 
8900included in the converted buffer. This also affects the ToBuffer() ASL 
8901operator.
8902
8903Fixed a problem with the Mid() ASL/AML operator where it did not work 
8904correctly on Buffer objects. Newly created sub-buffers were not being 
8905marked 
8906as initialized.
8907
8908
8909Fixed a problem in AcpiTbFindTable where incorrect string compares were 
8910performed on the OemId and OemTableId table header fields.  These fields 
8911are 
8912not null terminated, so strncmp is now used instead of strcmp.
8913
8914Implemented a restriction on the Store() ASL/AML operator to align the 
8915behavior with the ACPI specification.  Previously, any object could be 
8916used 
8917as the source operand.  Now, the only objects that may be used are 
8918Integers, 
8919Buffers, Strings, Packages, Object References, and DDB Handles.  If 
8920necessary, the original behavior can be restored by enabling the 
8921EnableInterpreterSlack flag.
8922
8923Enhanced the optional "implicit return" support to allow an implicit 
8924return 
8925value from methods that are invoked externally via the AcpiEvaluateObject 
8926interface.  This enables implicit returns from the _STA and _INI methods, 
8927for example.
8928
8929Changed the Revision() ASL/AML operator to return the current version of 
8930the 
8931AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
8932returned 
8933the supported ACPI version (This is the function of the _REV method).
8934
8935Updated the _REV predefined method to return the currently supported 
8936version 
8937of ACPI, now 3.
8938
8939Implemented batch mode option for the AcpiExec utility (-b).
8940
8941Code and Data Size: Current and previous core subsystem library sizes are 
8942shown below. These are the code and data sizes for the acpica.lib 
8943produced 
8944by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8945any ACPI driver or OSPM code. The debug version of the code includes the 
8946debug output trace mechanism and has a much larger code and data size. 
8947Note 
8948that these values will vary depending on the efficiency of the compiler 
8949and 
8950the compiler options used during generation.
8951
8952  Previous Release:
8953    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8954    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
8955  Current Release:
8956    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
8957    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
8958
8959----------------------------------------
896010 December 2004.  Summary of changes for version 20041210:
8961
8962ACPI 3.0 support is nearing completion in both the iASL compiler and the 
8963ACPI CA core subsystem.
8964
89651) ACPI CA Core Subsystem:
8966
8967Fixed a problem in the ToDecimalString operator where the resulting 
8968string 
8969length was incorrectly calculated. The length is now calculated exactly, 
8970eliminating incorrect AE_STRING_LIMIT exceptions.
8971
8972Fixed a problem in the ToHexString operator to allow a maximum 200 
8973character 
8974string to be produced.
8975
8976Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
8977copy 
8978routine where the length of the resulting buffer was not truncated to the 
8979new size (if the target buffer already existed).
8980
8981Code and Data Size: Current and previous core subsystem library sizes are 
8982shown below. These are the code and data sizes for the acpica.lib 
8983produced 
8984by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8985any ACPI driver or OSPM code. The debug version of the code includes the 
8986debug output trace mechanism and has a much larger code and data size. 
8987Note 
8988that these values will vary depending on the efficiency of the compiler 
8989and 
8990the compiler options used during generation.
8991
8992  Previous Release:
8993    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8994    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
8995  Current Release:
8996    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8997    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
8998
8999
90002) iASL Compiler/Disassembler:
9001
9002Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
9003ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
9004Includes support in the disassembler.
9005
9006Implemented support for the new (ACPI 3.0) parameter to the Register 
9007macro, 
9008AccessSize.
9009
9010Fixed a problem where the _HE resource name for the Interrupt macro was 
9011referencing bit 0 instead of bit 1.
9012
9013Implemented check for maximum 255 interrupts in the Interrupt macro.
9014
9015Fixed a problem with the predefined resource descriptor names where 
9016incorrect AML code was generated if the offset within the resource buffer 
9017was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
9018but did not update the surrounding package lengths.
9019
9020Changes to the Dma macro:  All channels within the channel list must be 
9021in 
9022the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
9023optional (default is BusMaster).
9024
9025Implemented check for maximum 7 data bytes for the VendorShort macro.
9026
9027The ReadWrite parameter is now optional for the Memory32 and similar 
9028macros.
9029
9030----------------------------------------
903103 December 2004.  Summary of changes for version 20041203:
9032
90331) ACPI CA Core Subsystem:
9034
9035The low-level field insertion/extraction code (exfldio) has been 
9036completely 
9037rewritten to eliminate unnecessary complexity, bugs, and boundary 
9038conditions.
9039
9040Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
9041ToDecimalString 
9042operators where the input operand could be inadvertently deleted if no 
9043conversion was necessary (e.g., if the input to ToInteger was an Integer 
9044object.)
9045
9046Fixed a problem with the ToDecimalString and ToHexString where an 
9047incorrect 
9048exception code was returned if the resulting string would be > 200 chars.  
9049AE_STRING_LIMIT is now returned.
9050
9051Fixed a problem with the Concatenate operator where AE_OK was always 
9052returned, even if the operation failed.
9053
9054Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
9055semaphores to be allocated.
9056
9057Code and Data Size: Current and previous core subsystem library sizes are 
9058shown below. These are the code and data sizes for the acpica.lib 
9059produced 
9060by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9061any ACPI driver or OSPM code. The debug version of the code includes the 
9062debug output trace mechanism and has a much larger code and data size. 
9063Note 
9064that these values will vary depending on the efficiency of the compiler 
9065and 
9066the compiler options used during generation.
9067
9068  Previous Release:
9069    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9070    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9071  Current Release:
9072    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
9073    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
9074
9075
90762) iASL Compiler/Disassembler:
9077
9078Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
9079recently introduced in 20041119.
9080
9081Fixed a problem with the ToUUID macro where the upper nybble of each 
9082buffer 
9083byte was inadvertently set to zero.
9084
9085----------------------------------------
908619 November 2004.  Summary of changes for version 20041119:
9087
90881) ACPI CA Core Subsystem:
9089
9090Fixed a problem in the internal ConvertToInteger routine where new 
9091integers 
9092were not truncated to 32 bits for 32-bit ACPI tables. This routine 
9093converts 
9094buffers and strings to integers.
9095
9096Implemented support to store a value to an Index() on a String object. 
9097This 
9098is an ACPI 2.0 feature that had not yet been implemented.
9099
9100Implemented new behavior for storing objects to individual package 
9101elements 
9102(via the Index() operator). The previous behavior was to invoke the 
9103implicit 
9104conversion rules if an object was already present at the index.  The new 
9105behavior is to simply delete any existing object and directly store the 
9106new 
9107object. Although the ACPI specification seems unclear on this subject, 
9108other 
9109ACPI implementations behave in this manner.  (This is the root of the 
9110AE_BAD_HEX_CONSTANT issue.)
9111
9112Modified the RSDP memory scan mechanism to support the extended checksum 
9113for 
9114ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
9115RSDP signature is found with a valid checksum.
9116
9117Code and Data Size: Current and previous core subsystem library sizes are 
9118shown below. These are the code and data sizes for the acpica.lib 
9119produced 
9120by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9121any ACPI driver or OSPM code. The debug version of the code includes the 
9122debug output trace mechanism and has a much larger code and data size. 
9123Note 
9124that these values will vary depending on the efficiency of the compiler 
9125and 
9126the compiler options used during generation.
9127
9128  Previous Release:
9129    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9130    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9131  Current Release:
9132    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9133    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9134
9135
91362) iASL Compiler/Disassembler:
9137
9138Fixed a missing semicolon in the aslcompiler.y file.
9139
9140----------------------------------------
914105 November 2004.  Summary of changes for version 20041105:
9142
91431) ACPI CA Core Subsystem:
9144
9145Implemented support for FADT revision 2.  This was an interim table 
9146(between 
9147ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
9148
9149Implemented optional support to allow uninitialized LocalX and ArgX 
9150variables in a control method.  The variables are initialized to an 
9151Integer 
9152object with a value of zero.  This support is enabled by setting the 
9153AcpiGbl_EnableInterpreterSlack flag to TRUE.
9154
9155Implemented support for Integer objects for the SizeOf operator.  Either 
91564 
9157or 8 is returned, depending on the current integer size (32-bit or 64-
9158bit, 
9159depending on the parent table revision).
9160
9161Fixed a problem in the implementation of the SizeOf and ObjectType 
9162operators 
9163where the operand was resolved to a value too early, causing incorrect 
9164return values for some objects.
9165
9166Fixed some possible memory leaks during exceptional conditions.
9167
9168Code and Data Size: Current and previous core subsystem library sizes are 
9169shown below. These are the code and data sizes for the acpica.lib 
9170produced 
9171by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9172any ACPI driver or OSPM code. The debug version of the code includes the 
9173debug output trace mechanism and has a much larger code and data size. 
9174Note 
9175that these values will vary depending on the efficiency of the compiler 
9176and 
9177the compiler options used during generation.
9178
9179  Previous Release:
9180    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9181    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
9182  Current Release:
9183    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9184    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9185
9186
91872) iASL Compiler/Disassembler:
9188
9189Implemented support for all ACPI 3.0 reserved names and methods.
9190
9191Implemented all ACPI 3.0 grammar elements in the front-end, including 
9192support for semicolons.
9193
9194Implemented the ACPI 3.0 Function() and ToUUID() macros
9195
9196Fixed a problem in the disassembler where a Scope() operator would not be 
9197emitted properly if the target of the scope was in another table.
9198
9199----------------------------------------
920015 October 2004.  Summary of changes for version 20041015:
9201
9202Note:  ACPI CA is currently undergoing an in-depth and complete formal 
9203evaluation to test/verify the following areas. Other suggestions are 
9204welcome. This will result in an increase in the frequency of releases and 
9205the number of bug fixes in the next few months.
9206  - Functional tests for all ASL/AML operators
9207  - All implicit/explicit type conversions
9208  - Bit fields and operation regions
9209  - 64-bit math support and 32-bit-only "truncated" math support
9210  - Exceptional conditions, both compiler and interpreter
9211  - Dynamic object deletion and memory leaks
9212  - ACPI 3.0 support when implemented
9213  - External interfaces to the ACPI subsystem
9214
9215
92161) ACPI CA Core Subsystem:
9217
9218Fixed two alignment issues on 64-bit platforms - within debug statements 
9219in 
9220AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
9221Address 
9222field within the non-aligned ACPI generic address structure.
9223
9224Fixed a problem in the Increment and Decrement operators where incorrect 
9225operand resolution could result in the inadvertent modification of the 
9226original integer when the integer is passed into another method as an 
9227argument and the arg is then incremented/decremented.
9228
9229Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
9230bit 
9231BCD number were truncated during conversion.
9232
9233Fixed a problem in the ToDecimal operator where the length of the 
9234resulting 
9235string could be set incorrectly too long if the input operand was a 
9236Buffer 
9237object.
9238
9239Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
9240(0) 
9241within a buffer would prematurely terminate a compare between buffer 
9242objects.
9243
9244Added a check for string overflow (>200 characters as per the ACPI 
9245specification) during the Concatenate operator with two string operands.
9246
9247Code and Data Size: Current and previous core subsystem library sizes are 
9248shown below. These are the code and data sizes for the acpica.lib 
9249produced 
9250by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9251any ACPI driver or OSPM code. The debug version of the code includes the 
9252debug output trace mechanism and has a much larger code and data size. 
9253Note 
9254that these values will vary depending on the efficiency of the compiler 
9255and 
9256the compiler options used during generation.
9257
9258  Previous Release:
9259    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9260    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
9261  Current Release:
9262    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9263    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
9264
9265
9266
92672) iASL Compiler/Disassembler:
9268
9269Allow the use of the ObjectType operator on uninitialized Locals and Args 
9270(returns 0 as per the ACPI specification).
9271
9272Fixed a problem where the compiler would fault if there was a syntax 
9273error 
9274in the FieldName of all of the various CreateXXXField operators.
9275
9276Disallow the use of lower case letters within the EISAID macro, as per 
9277the 
9278ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
9279Where 
9280U is an uppercase letter and N is a hex digit.
9281
9282
9283----------------------------------------
928406 October 2004.  Summary of changes for version 20041006:
9285
92861) ACPI CA Core Subsystem:
9287
9288Implemented support for the ACPI 3.0 Timer operator. This ASL function 
9289implements a 64-bit timer with 100 nanosecond granularity.
9290
9291Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
9292implement the ACPI 3.0 Timer operator.  This allows the host OS to 
9293implement 
9294the timer with the best clock available. Also, it keeps the core 
9295subsystem 
9296out of the clock handling business, since the host OS (usually) performs 
9297this function.
9298
9299Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
9300functions use a 64-bit address which is part of the packed ACPI Generic 
9301Address Structure. Since the structure is non-aligned, the alignment 
9302macros 
9303are now used to extract the address to a local variable before use.
9304
9305Fixed a problem where the ToInteger operator assumed all input strings 
9306were 
9307hexadecimal. The operator now handles both decimal strings and hex 
9308strings 
9309(prefixed with "0x").
9310
9311Fixed a problem where the string length in the string object created as a 
9312result of the internal ConvertToString procedure could be incorrect. This 
9313potentially affected all implicit conversions and also the 
9314ToDecimalString 
9315and ToHexString operators.
9316
9317Fixed two problems in the ToString operator. If the length parameter was 
9318zero, an incorrect string object was created and the value of the input 
9319length parameter was inadvertently changed from zero to Ones.
9320
9321Fixed a problem where the optional ResourceSource string in the 
9322ExtendedIRQ 
9323resource macro was ignored.
9324
9325Simplified the interfaces to the internal division functions, reducing 
9326code 
9327size and complexity.
9328
9329Code and Data Size: Current and previous core subsystem library sizes are 
9330shown below. These are the code and data sizes for the acpica.lib 
9331produced 
9332by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9333any ACPI driver or OSPM code. The debug version of the code includes the 
9334debug output trace mechanism and has a much larger code and data size. 
9335Note 
9336that these values will vary depending on the efficiency of the compiler 
9337and 
9338the compiler options used during generation.
9339
9340  Previous Release:
9341    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
9342    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
9343  Current Release:
9344    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9345    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
9346
9347
93482) iASL Compiler/Disassembler:
9349
9350Implemented support for the ACPI 3.0 Timer operator.
9351
9352Fixed a problem where the Default() operator was inadvertently ignored in 
9353a 
9354Switch/Case block.  This was a problem in the translation of the Switch 
9355statement to If...Else pairs.
9356
9357Added support to allow a standalone Return operator, with no parentheses 
9358(or 
9359operands).
9360
9361Fixed a problem with code generation for the ElseIf operator where the 
9362translated Else...If parse tree was improperly constructed leading to the 
9363loss of some code.
9364
9365----------------------------------------
936622 September 2004.  Summary of changes for version 20040922:
9367
93681) ACPI CA Core Subsystem:
9369
9370Fixed a problem with the implementation of the LNot() operator where 
9371"Ones" 
9372was not returned for the TRUE case. Changed the code to return Ones 
9373instead 
9374of (!Arg) which was usually 1. This change affects iASL constant folding 
9375for 
9376this operator also.
9377
9378Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
9379not 
9380initialized properly -- Now zero the entire buffer in this case where the 
9381buffer already exists.
9382
9383Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
9384Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
9385related code considerably. This will require changes/updates to all OS 
9386interface layers (OSLs.)
9387
9388Implemented a new external interface, AcpiInstallExceptionHandler, to 
9389allow 
9390a system exception handler to be installed. This handler is invoked upon 
9391any 
9392run-time exception that occurs during control method execution.
9393
9394Added support for the DSDT in AcpiTbFindTable. This allows the 
9395DataTableRegion() operator to access the local copy of the DSDT.
9396
9397Code and Data Size: Current and previous core subsystem library sizes are 
9398shown below. These are the code and data sizes for the acpica.lib 
9399produced 
9400by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9401any ACPI driver or OSPM code. The debug version of the code includes the 
9402debug output trace mechanism and has a much larger code and data size. 
9403Note 
9404that these values will vary depending on the efficiency of the compiler 
9405and 
9406the compiler options used during generation.
9407
9408  Previous Release:
9409    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
9410    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
9411  Current Release:
9412    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
9413    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
9414
9415
94162) iASL Compiler/Disassembler:
9417
9418Fixed a problem with constant folding and the LNot operator. LNot was 
9419returning 1 in the TRUE case, not Ones as per the ACPI specification. 
9420This 
9421could result in the generation of an incorrect folded/reduced constant.
9422
9423End-Of-File is now allowed within a "//"-style comment.  A parse error no 
9424longer occurs if such a comment is at the very end of the input ASL 
9425source 
9426file.
9427
9428Implemented the "-r" option to override the Revision in the table header. 
9429The initial use of this option will be to simplify the evaluation of the 
9430AML 
9431interpreter by allowing a single ASL source module to be compiled for 
9432either 
943332-bit or 64-bit integers.
9434
9435
9436----------------------------------------
943727 August 2004.  Summary of changes for version 20040827:
9438
94391) ACPI CA Core Subsystem:
9440
9441- Implemented support for implicit object conversion in the non-numeric 
9442logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
9443and 
9444LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
9445the second operand is implicitly converted on the fly to match the type 
9446of 
9447the first operand.  For example:
9448
9449    LEqual (Source1, Source2)
9450
9451Source1 and Source2 must each evaluate to an integer, a string, or a 
9452buffer. 
9453The data type of Source1 dictates the required type of Source2. Source2 
9454is 
9455implicitly converted if necessary to match the type of Source1.
9456
9457- Updated and corrected the behavior of the string conversion support.  
9458The 
9459rules concerning conversion of buffers to strings (according to the ACPI 
9460specification) are as follows:
9461
9462ToDecimalString - explicit byte-wise conversion of buffer to string of 
9463decimal values (0-255) separated by commas. ToHexString - explicit byte-
9464wise 
9465conversion of buffer to string of hex values (0-FF) separated by commas. 
9466ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
9467byte 
9468copy with no transform except NULL terminated. Any other implicit buffer-
9469to-
9470string conversion - byte-wise conversion of buffer to string of hex 
9471values 
9472(0-FF) separated by spaces.
9473
9474- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
9475
9476- Fixed a problem in AcpiNsGetPathnameLength where the returned length 
9477was 
9478one byte too short in the case of a node in the root scope.  This could 
9479cause a fault during debug output.
9480
9481- Code and Data Size: Current and previous core subsystem library sizes 
9482are 
9483shown below.  These are the code and data sizes for the acpica.lib 
9484produced 
9485by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9486any ACPI driver or OSPM code.  The debug version of the code includes the 
9487debug output trace mechanism and has a much larger code and data size.  
9488Note 
9489that these values will vary depending on the efficiency of the compiler 
9490and 
9491the compiler options used during generation.
9492
9493  Previous Release:
9494    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
9495    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
9496  Current Release:
9497    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
9498    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
9499
9500
95012) iASL Compiler/Disassembler:
9502
9503- Fixed a Linux generation error.
9504
9505
9506----------------------------------------
950716 August 2004.  Summary of changes for version 20040816:
9508
95091) ACPI CA Core Subsystem:
9510
9511Designed and implemented support within the AML interpreter for the so-
9512called "implicit return".  This support returns the result of the last 
9513ASL 
9514operation within a control method, in the absence of an explicit Return() 
9515operator.  A few machines depend on this behavior, even though it is not 
9516explicitly supported by the ASL language.  It is optional support that 
9517can 
9518be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
9519
9520Removed support for the PCI_Config address space from the internal low 
9521level 
9522hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
9523support was not used internally, and would not work correctly anyway 
9524because 
9525the PCI bus number and segment number were not supported.  There are 
9526separate interfaces for PCI configuration space access because of the 
9527unique 
9528interface.
9529
9530Code and Data Size: Current and previous core subsystem library sizes are 
9531shown below.  These are the code and data sizes for the acpica.lib 
9532produced 
9533by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9534any ACPI driver or OSPM code.  The debug version of the code includes the 
9535debug output trace mechanism and has a much larger code and data size.  
9536Note 
9537that these values will vary depending on the efficiency of the compiler 
9538and 
9539the compiler options used during generation.
9540
9541  Previous Release:
9542    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9543    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
9544  Current Release:
9545    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
9546    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
9547
9548
95492) iASL Compiler/Disassembler:
9550
9551Fixed a problem where constants in ASL expressions at the root level (not 
9552within a control method) could be inadvertently truncated during code 
9553generation.  This problem was introduced in the 20040715 release.
9554
9555
9556----------------------------------------
955715 July 2004.  Summary of changes for version 20040715:
9558
95591) ACPI CA Core Subsystem:
9560
9561Restructured the internal HW GPE interfaces to pass/track the current 
9562state 
9563of interrupts (enabled/disabled) in order to avoid possible deadlock and 
9564increase flexibility of the interfaces.
9565
9566Implemented a "lexicographical compare" for String and Buffer objects 
9567within 
9568the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
9569- 
9570as per further clarification to the ACPI specification.  Behavior is 
9571similar 
9572to C library "strcmp".
9573
9574Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
9575external function.  In the 32-bit non-debug case, the stack use has been 
9576reduced from 168 bytes to 32 bytes.
9577
9578Deployed a new run-time configuration flag, 
9579AcpiGbl_EnableInterpreterSlack, 
9580whose purpose is to allow the AML interpreter to forgive certain bad AML 
9581constructs.  Default setting is FALSE.
9582
9583Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
9584IO 
9585support code.  If enabled, it allows field access to go beyond the end of 
9586a 
9587region definition if the field is within the region length rounded up to 
9588the 
9589next access width boundary (a common coding error.)
9590
9591Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
9592ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
9593these 
9594symbols are lowercased by the latest version of the AcpiSrc tool.
9595
9596The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
9597rename "Register" to simply "Reg" to prevent certain compilers from 
9598complaining.
9599
9600Code and Data Size: Current and previous core subsystem library sizes are 
9601shown below.  These are the code and data sizes for the acpica.lib 
9602produced 
9603by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9604any ACPI driver or OSPM code.  The debug version of the code includes the 
9605debug output trace mechanism and has a much larger code and data size.  
9606Note 
9607that these values will vary depending on the efficiency of the compiler 
9608and 
9609the compiler options used during generation.
9610
9611  Previous Release:
9612    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9613    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
9614  Current Release:
9615    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9616    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
9617
9618
96192) iASL Compiler/Disassembler:
9620
9621Implemented full support for Package objects within the Case() operator.  
9622Note: The Break() operator is currently not supported within Case blocks 
9623(TermLists) as there is some question about backward compatibility with 
9624ACPI 
96251.0 interpreters.
9626
9627
9628Fixed a problem where complex terms were not supported properly within 
9629the 
9630Switch() operator.
9631
9632Eliminated extraneous warning for compiler-emitted reserved names of the 
9633form "_T_x".  (Used in Switch/Case operators.)
9634
9635Eliminated optimization messages for "_T_x" objects and small constants 
9636within the DefinitionBlock operator.
9637
9638
9639----------------------------------------
964015 June 2004.  Summary of changes for version 20040615:
9641
96421) ACPI CA Core Subsystem:
9643
9644Implemented support for Buffer and String objects (as per ACPI 2.0) for 
9645the 
9646following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
9647LLessEqual.
9648
9649All directory names in the entire source package are lower case, as they 
9650were in earlier releases.
9651
9652Implemented "Disassemble" command in the AML debugger that will 
9653disassemble 
9654a single control method.
9655
9656Code and Data Size: Current and previous core subsystem library sizes are 
9657shown below.  These are the code and data sizes for the acpica.lib 
9658produced 
9659by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9660any ACPI driver or OSPM code.  The debug version of the code includes the 
9661debug output trace mechanism and has a much larger code and data size.  
9662Note 
9663that these values will vary depending on the efficiency of the compiler 
9664and 
9665the compiler options used during generation.
9666
9667  Previous Release:
9668    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
9669    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
9670
9671  Current Release:
9672    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9673    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
9674
9675
96762) iASL Compiler/Disassembler:
9677
9678Implemented support for Buffer and String objects (as per ACPI 2.0) for 
9679the 
9680following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
9681LLessEqual.
9682
9683All directory names in the entire source package are lower case, as they 
9684were in earlier releases.
9685
9686Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
9687not found.
9688
9689Fixed an issue with the Windows version of the compiler where later 
9690versions 
9691of Windows place the FADT in the registry under the name "FADT" and not 
9692"FACP" as earlier versions did.  This applies when using the -g or -
9693d<nofilename> options.  The compiler now looks for both strings as 
9694necessary.
9695
9696Fixed a problem with compiler namepath optimization where a namepath 
9697within 
9698the Scope() operator could not be optimized if the namepath was a subpath 
9699of 
9700the current scope path.
9701
9702----------------------------------------
970327 May 2004.  Summary of changes for version 20040527:
9704
97051) ACPI CA Core Subsystem:
9706
9707Completed a new design and implementation for EBDA (Extended BIOS Data 
9708Area) 
9709support in the RSDP scan code.  The original code improperly scanned for 
9710the 
9711EBDA by simply scanning from memory location 0 to 0x400.  The correct 
9712method 
9713is to first obtain the EBDA pointer from within the BIOS data area, then 
9714scan 1K of memory starting at the EBDA pointer.  There appear to be few 
9715if 
9716any machines that place the RSDP in the EBDA, however.
9717
9718Integrated a fix for a possible fault during evaluation of BufferField 
9719arguments.  Obsolete code that was causing the problem was removed.
9720
9721Found and fixed a problem in the Field Support Code where data could be 
9722corrupted on a bit field read that starts on an aligned boundary but does 
9723not end on an aligned boundary.  Merged the read/write "datum length" 
9724calculation code into a common procedure.
9725
9726Rolled in a couple of changes to the FreeBSD-specific header.
9727
9728
9729Code and Data Size: Current and previous core subsystem library sizes are 
9730shown below.  These are the code and data sizes for the acpica.lib 
9731produced 
9732by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9733any ACPI driver or OSPM code.  The debug version of the code includes the 
9734debug output trace mechanism and has a much larger code and data size.  
9735Note 
9736that these values will vary depending on the efficiency of the compiler 
9737and 
9738the compiler options used during generation.
9739
9740  Previous Release:
9741    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9742    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
9743  Current Release:
9744    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
9745    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
9746
9747
97482) iASL Compiler/Disassembler:
9749
9750Fixed a generation warning produced by some overly-verbose compilers for 
9751a 
975264-bit constant.
9753
9754----------------------------------------
975514 May 2004.  Summary of changes for version 20040514:
9756
97571) ACPI CA Core Subsystem:
9758
9759Fixed a problem where hardware GPE enable bits sometimes not set properly 
9760during and after GPE method execution.  Result of 04/27 changes.
9761
9762Removed extra "clear all GPEs" when sleeping/waking.
9763
9764Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
9765AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
9766to 
9767the new AcpiEv* calls as appropriate.
9768
9769ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
9770is 
9771now "Microsoft Windows NT" for maximum compatibility.  However this can 
9772be 
9773changed by modifying the acconfig.h file.
9774
9775Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
9776traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
9777
9778Run _INI methods on ThermalZone objects.  This is against the ACPI 
9779specification, but there is apparently ASL code in the field that has 
9780these 
9781_INI methods, and apparently "other" AML interpreters execute them.
9782
9783Performed a full 16/32/64 bit lint that resulted in some small changes.
9784
9785Added a sleep simulation command to the AML debugger to test sleep code. 
9786
9787Code and Data Size: Current and previous core subsystem library sizes are 
9788shown below.  These are the code and data sizes for the acpica.lib 
9789produced 
9790by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9791any ACPI driver or OSPM code.  The debug version of the code includes the 
9792debug output trace mechanism and has a much larger code and data size.  
9793Note 
9794that these values will vary depending on the efficiency of the compiler 
9795and 
9796the compiler options used during generation.
9797
9798  Previous Release:
9799    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9800    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
9801  Current Release:
9802    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9803    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
9804
9805----------------------------------------
980627 April 2004.  Summary of changes for version 20040427:
9807
98081) ACPI CA Core Subsystem:
9809
9810Completed a major overhaul of the GPE handling within ACPI CA.  There are 
9811now three types of GPEs:  wake-only, runtime-only, and combination 
9812wake/run.  
9813The only GPEs allowed to be combination wake/run are for button-style 
9814devices such as a control-method power button, control-method sleep 
9815button, 
9816or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
9817not 
9818referenced by any _PRW methods are marked for "runtime" and hardware 
9819enabled.  Any GPE that is referenced by a _PRW method is marked for 
9820"wake" 
9821(and disabled at runtime).  However, at sleep time, only those GPEs that 
9822have been specifically enabled for wake via the AcpiEnableGpe interface 
9823will 
9824actually be hardware enabled.
9825
9826A new external interface has been added, AcpiSetGpeType(), that is meant 
9827to 
9828be used by device drivers to force a GPE to a particular type.  It will 
9829be 
9830especially useful for the drivers for the button devices mentioned above.
9831
9832Completed restructuring of the ACPI CA initialization sequence so that 
9833default operation region handlers are installed before GPEs are 
9834initialized 
9835and the _PRW methods are executed.  This will prevent errors when the 
9836_PRW 
9837methods attempt to access system memory or I/O space.
9838
9839GPE enable/disable no longer reads the GPE enable register.  We now keep 
9840the 
9841enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
9842thus no longer depend on the hardware to maintain these bits.
9843
9844Always clear the wake status and fixed/GPE status bits before sleep, even 
9845for state S5.
9846
9847Improved the AML debugger output for displaying the GPE blocks and their 
9848current status.
9849
9850Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
9851where 
9852x = 0,1,2,3,4.
9853
9854Fixed a problem where the physical address was incorrectly calculated 
9855when 
9856the Load() operator was used to directly load from an Operation Region 
9857(vs. 
9858loading from a Field object.)  Also added check for minimum table length 
9859for 
9860this case.
9861
9862Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
9863mutex release.
9864
9865Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
9866consistency with the other fields returned.
9867
9868Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
9869structure for each GPE in the system, so the size of this structure is 
9870important.
9871
9872CPU stack requirement reduction:  Cleaned up the method execution and 
9873object 
9874evaluation paths so that now a parameter structure is passed, instead of 
9875copying the various method parameters over and over again.
9876
9877In evregion.c:  Correctly exit and reenter the interpreter region if and 
9878only if dispatching an operation region request to a user-installed 
9879handler.  
9880Do not exit/reenter when dispatching to a default handler (e.g., default 
9881system memory or I/O handlers)
9882
9883
9884Notes for updating drivers for the new GPE support.  The following 
9885changes 
9886must be made to ACPI-related device drivers that are attached to one or 
9887more 
9888GPEs: (This information will be added to the ACPI CA Programmer 
9889Reference.)
9890
98911) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
9892must 
9893explicitly call AcpiEnableGpe.
98942) There is a new interface called AcpiSetGpeType. This should be called 
9895before enabling the GPE.  Also, this interface will automatically disable 
9896the GPE if it is currently enabled.
98973) AcpiEnableGpe no longer supports a GPE type flag.
9898
9899Specific drivers that must be changed:
99001) EC driver:
9901    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
9902AeGpeHandler, NULL);
9903    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
9904    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
9905
99062) Button Drivers (Power, Lid, Sleep):
9907Run _PRW method under parent device
9908If _PRW exists: /* This is a control-method button */
9909    Extract GPE number and possibly GpeDevice
9910    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
9911    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
9912
9913For all other devices that have _PRWs, we automatically set the GPE type 
9914to 
9915ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
9916This 
9917must be done on a selective basis, usually requiring some kind of user 
9918app 
9919to allow the user to pick the wake devices.
9920
9921
9922Code and Data Size: Current and previous core subsystem library sizes are 
9923shown below.  These are the code and data sizes for the acpica.lib 
9924produced 
9925by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9926any ACPI driver or OSPM code.  The debug version of the code includes the 
9927debug output trace mechanism and has a much larger code and data size.  
9928Note 
9929that these values will vary depending on the efficiency of the compiler 
9930and 
9931the compiler options used during generation.
9932
9933  Previous Release:
9934    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
9935    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
9936  Current Release:
9937
9938    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9939    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
9940
9941
9942
9943----------------------------------------
994402 April 2004.  Summary of changes for version 20040402:
9945
99461) ACPI CA Core Subsystem:
9947
9948Fixed an interpreter problem where an indirect store through an ArgX 
9949parameter was incorrectly applying the "implicit conversion rules" during 
9950the store.  From the ACPI specification: "If the target is a method local 
9951or 
9952argument (LocalX or ArgX), no conversion is performed and the result is 
9953stored directly to the target".  The new behavior is to disable implicit 
9954conversion during ALL stores to an ArgX.
9955
9956Changed the behavior of the _PRW method scan to ignore any and all errors 
9957returned by a given _PRW.  This prevents the scan from aborting from the 
9958failure of any single _PRW.
9959
9960Moved the runtime configuration parameters from the global init procedure 
9961to 
9962static variables in acglobal.h.  This will allow the host to override the 
9963default values easily.
9964
9965Code and Data Size: Current and previous core subsystem library sizes are 
9966shown below.  These are the code and data sizes for the acpica.lib 
9967produced 
9968by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9969any ACPI driver or OSPM code.  The debug version of the code includes the 
9970debug output trace mechanism and has a much larger code and data size.  
9971Note 
9972that these values will vary depending on the efficiency of the compiler 
9973and 
9974the compiler options used during generation.
9975
9976  Previous Release:
9977    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
9978    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
9979  Current Release:
9980    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
9981    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
9982
9983
99842) iASL Compiler/Disassembler:
9985
9986iASL now fully disassembles SSDTs.  However, External() statements are 
9987not 
9988generated automatically for unresolved symbols at this time.  This is a 
9989planned feature for future implementation.
9990
9991Fixed a scoping problem in the disassembler that occurs when the type of 
9992the 
9993target of a Scope() operator is overridden.  This problem caused an 
9994incorrectly nested internal namespace to be constructed.
9995
9996Any warnings or errors that are emitted during disassembly are now 
9997commented 
9998out automatically so that the resulting file can be recompiled without 
9999any 
10000hand editing.
10001
10002----------------------------------------
1000326 March 2004.  Summary of changes for version 20040326:
10004
100051) ACPI CA Core Subsystem:
10006
10007Implemented support for "wake" GPEs via interaction between GPEs and the 
10008_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
10009identified as a WAKE GPE and by default will no longer be enabled at 
10010runtime.  Previously, we were blindly enabling all GPEs with a 
10011corresponding 
10012_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
10013We 
10014believe this has been the cause of thousands of "spurious" GPEs on some 
10015systems.
10016
10017This new GPE behavior is can be reverted to the original behavior (enable 
10018ALL GPEs at runtime) via a runtime flag.
10019
10020Fixed a problem where aliased control methods could not access objects 
10021properly.  The proper scope within the namespace was not initialized 
10022(transferred to the target of the aliased method) before executing the 
10023target method.
10024
10025Fixed a potential race condition on internal object deletion on the 
10026return 
10027object in AcpiEvaluateObject. 
10028
10029Integrated a fix for resource descriptors where both _MEM and _MTP were 
10030being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
10031wide, 0x0F instead of 0x03.)
10032
10033Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
10034preventing 
10035a 
10036fault in some cases.
10037
10038Updated Notify() values for debug statements in evmisc.c
10039
10040Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
10041
10042Code and Data Size: Current and previous core subsystem library sizes are 
10043shown below.  These are the code and data sizes for the acpica.lib 
10044produced 
10045by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
10046any ACPI driver or OSPM code.  The debug version of the code includes the 
10047debug output trace mechanism and has a much larger code and data size.  
10048Note 
10049that these values will vary depending on the efficiency of the compiler 
10050and 
10051the compiler options used during generation.
10052
10053  Previous Release:
10054
10055    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
10056    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
10057  Current Release:
10058    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
10059    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
10060
10061----------------------------------------
1006211 March 2004.  Summary of changes for version 20040311:
10063
100641) ACPI CA Core Subsystem:
10065
10066Fixed a problem where errors occurring during the parse phase of control 
10067method execution did not abort cleanly.  For example, objects created and 
10068installed in the namespace were not deleted.  This caused all subsequent 
10069invocations of the method to return the AE_ALREADY_EXISTS exception.
10070
10071Implemented a mechanism to force a control method to "Serialized" 
10072execution 
10073if the method attempts to create namespace objects. (The root of the 
10074AE_ALREADY_EXISTS problem.)
10075
10076Implemented support for the predefined _OSI "internal" control method.  
10077Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
10078and 
10079"Windows 2001.1", and can be easily upgraded for new strings as 
10080necessary.  
10081This feature will allow "other" operating systems to execute the fully 
10082tested, "Windows" code path through the ASL code
10083
10084Global Lock Support:  Now allows multiple acquires and releases with any 
10085internal thread.  Removed concept of "owning thread" for this special 
10086mutex.
10087
10088Fixed two functions that were inappropriately declaring large objects on 
10089the 
10090CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
10091during 
10092method execution considerably.
10093
10094Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
10095S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
10096
10097Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
10098defined on the machine.
10099
10100Implemented two runtime options:  One to force all control method 
10101execution 
10102to "Serialized" to mimic Windows behavior, another to disable _OSI 
10103support 
10104if it causes problems on a given machine.
10105
10106Code and Data Size: Current and previous core subsystem library sizes are 
10107shown below.  These are the code and data sizes for the acpica.lib 
10108produced 
10109by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
10110any ACPI driver or OSPM code.  The debug version of the code includes the 
10111debug output trace mechanism and has a much larger code and data size.  
10112Note 
10113that these values will vary depending on the efficiency of the compiler 
10114and 
10115the compiler options used during generation.
10116
10117  Previous Release:
10118    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
10119    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
10120  Current Release:
10121    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
10122    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
10123
101242) iASL Compiler/Disassembler:
10125
10126Fixed an array size problem for FreeBSD that would cause the compiler to 
10127fault.
10128
10129----------------------------------------
1013020 February 2004.  Summary of changes for version 20040220:
10131
10132
101331) ACPI CA Core Subsystem:
10134
10135Implemented execution of _SxD methods for Device objects in the 
10136GetObjectInfo interface.
10137
10138Fixed calls to _SST method to pass the correct arguments.
10139
10140Added a call to _SST on wake to restore to "working" state.
10141
10142Check for End-Of-Buffer failure case in the WalkResources interface.
10143
10144Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
10145structures to the beginning of the file.
10146
10147After wake, clear GPE status register(s) before enabling GPEs.
10148
10149After wake, clear/enable power button.  (Perhaps we should clear/enable 
10150all 
10151fixed events upon wake.)
10152
10153Fixed a couple of possible memory leaks in the Namespace manager.
10154
10155Integrated latest acnetbsd.h file.
10156
10157----------------------------------------
1015811 February 2004.  Summary of changes for version 20040211:
10159
10160
101611) ACPI CA Core Subsystem:
10162
10163Completed investigation and implementation of the call-by-reference 
10164mechanism for control method arguments.
10165
10166Fixed a problem where a store of an object into an indexed package could 
10167fail if the store occurs within a different method than the method that 
10168created the package.
10169
10170Fixed a problem where the ToDecimal operator could return incorrect 
10171results.
10172
10173Fixed a problem where the CopyObject operator could fail on some of the 
10174more 
10175obscure objects (e.g., Reference objects.)
10176
10177Improved the output of the Debug object to display buffer, package, and 
10178index objects.
10179
10180Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
10181return 
10182the expected result.
10183
10184Added permanent ACPI_REPORT_ERROR macros for all instances of the 
10185ACPI_AML_INTERNAL exception.
10186
10187Integrated latest version of acfreebsd.h
10188
10189----------------------------------------
1019016 January 2004.  Summary of changes for version 20040116:
10191
10192The purpose of this release is primarily to update the copyright years in 
10193each module, thus causing a huge number of diffs.  There are a few small 
10194functional changes, however.
10195
101961) ACPI CA Core Subsystem:
10197
10198Improved error messages when there is a problem finding one or more of 
10199the 
10200required base ACPI tables
10201
10202Reintroduced the definition of APIC_HEADER in actbl.h
10203
10204Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
10205
10206Removed extraneous reference to NewObj in dsmthdat.c
10207
102082) iASL compiler
10209
10210Fixed a problem introduced in December that disabled the correct 
10211disassembly 
10212of Resource Templates
10213
10214
10215----------------------------------------
1021603 December 2003.  Summary of changes for version 20031203:
10217
102181) ACPI CA Core Subsystem:
10219
10220Changed the initialization of Operation Regions during subsystem
10221init to perform two entire walks of the ACPI namespace; The first
10222to initialize the regions themselves, the second to execute the
10223_REG methods.  This fixed some interdependencies across _REG
10224methods found on some machines.
10225
10226Fixed a problem where a Store(Local0, Local1) could simply update
10227the object reference count, and not create a new copy of the
10228object if the Local1 is uninitialized.
10229
10230Implemented support for the _SST reserved method during sleep
10231transitions.
10232
10233Implemented support to clear the SLP_TYP and SLP_EN bits when
10234waking up, this is apparently required by some machines.
10235
10236When sleeping, clear the wake status only if SleepState is not S5.
10237
10238Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
10239pointer arithmetic advanced a string pointer too far.
10240
10241Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
10242could be returned if the requested table has not been loaded.
10243
10244Within the support for IRQ resources, restructured the handling of
10245the active and edge/level bits.
10246
10247Fixed a few problems in AcpiPsxExecute() where memory could be
10248leaked under certain error conditions.
10249
10250Improved error messages for the cases where the ACPI mode could
10251not be entered.
10252
10253Code and Data Size: Current and previous core subsystem library
10254sizes are shown below.  These are the code and data sizes for the
10255acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10256these values do not include any ACPI driver or OSPM code.  The
10257debug version of the code includes the debug output trace
10258mechanism and has a much larger code and data size.  Note that
10259these values will vary depending on the efficiency of the compiler
10260and the compiler options used during generation.
10261
10262  Previous Release (20031029):
10263    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
10264    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
10265  Current Release:
10266    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
10267    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
10268
102692) iASL Compiler/Disassembler:
10270
10271Implemented a fix for the iASL disassembler where a bad index was
10272generated.  This was most noticeable on 64-bit platforms
10273
10274
10275----------------------------------------
1027629 October 2003.  Summary of changes for version 20031029:
10277
102781) ACPI CA Core Subsystem:
10279
10280
10281Fixed a problem where a level-triggered GPE with an associated
10282_Lxx control method was incorrectly cleared twice.
10283
10284Fixed a problem with the Field support code where an access can
10285occur beyond the end-of-region if the field is non-aligned but
10286extends to the very end of the parent region (resulted in an
10287AE_AML_REGION_LIMIT exception.)
10288
10289Fixed a problem with ACPI Fixed Events where an RT Clock handler
10290would not get invoked on an RTC event.  The RTC event bitmasks for
10291the PM1 registers were not being initialized properly.
10292
10293Implemented support for executing _STA and _INI methods for
10294Processor objects.  Although this is currently not part of the
10295ACPI specification, there is existing ASL code that depends on the
10296init-time execution of these methods.
10297
10298Implemented and deployed a GetDescriptorName function to decode
10299the various types of internal descriptors.  Guards against null
10300descriptors during debug output also.
10301
10302Implemented and deployed a GetNodeName function to extract the 4-
10303character namespace node name.  This function simplifies the debug
10304and error output, as well as guarding against null pointers during
10305output.
10306
10307Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
10308simplify the debug and error output of 64-bit integers.  This
10309macro replaces the HIDWORD and LODWORD macros for dumping these
10310integers.
10311
10312Updated the implementation of the Stall() operator to only call
10313AcpiOsStall(), and also return an error if the operand is larger
10314than 255.  This preserves the required behavior of not
10315relinquishing the processor, as would happen if AcpiOsSleep() was
10316called for "long stalls".
10317
10318Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
10319initialized are now treated as NOOPs.
10320
10321Cleaned up a handful of warnings during 64-bit generation.
10322
10323Fixed a reported error where and incorrect GPE number was passed
10324to the GPE dispatch handler.  This value is only used for error
10325output, however.  Used this opportunity to clean up and streamline
10326the GPE dispatch code.
10327
10328Code and Data Size: Current and previous core subsystem library
10329sizes are shown below.  These are the code and data sizes for the
10330acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10331these values do not include any ACPI driver or OSPM code.  The
10332
10333debug version of the code includes the debug output trace
10334mechanism and has a much larger code and data size.  Note that
10335these values will vary depending on the efficiency of the compiler
10336and the compiler options used during generation.
10337
10338  Previous Release (20031002):
10339    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
10340    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
10341  Current Release:
10342    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
10343    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
10344
10345
103462) iASL Compiler/Disassembler:
10347
10348Updated the iASL compiler to return an error if the operand to the
10349Stall() operator is larger than 255.
10350
10351
10352----------------------------------------
1035302 October 2003.  Summary of changes for version 20031002:
10354
10355
103561) ACPI CA Core Subsystem:
10357
10358Fixed a problem with Index Fields where the index was not
10359incremented for fields that require multiple writes to the
10360index/data registers (Fields that are wider than the data
10361register.)
10362
10363Fixed a problem with all Field objects where a write could go
10364beyond the end-of-field if the field was larger than the access
10365granularity and therefore required multiple writes to complete the
10366request.  An extra write beyond the end of the field could happen
10367inadvertently.
10368
10369Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
10370would incorrectly be returned if the width of the Data Register
10371was larger than the specified field access width.
10372
10373Completed fixes for LoadTable() and Unload() and verified their
10374operation.  Implemented full support for the "DdbHandle" object
10375throughout the ACPI CA subsystem.
10376
10377Implemented full support for the MADT and ECDT tables in the ACPI
10378CA header files.  Even though these tables are not directly
10379consumed by ACPI CA, the header definitions are useful for ACPI
10380device drivers.
10381
10382Integrated resource descriptor fixes posted to the Linux ACPI
10383list.  This included checks for minimum descriptor length, and
10384support for trailing NULL strings within descriptors that have
10385optional string elements.
10386
10387Code and Data Size: Current and previous core subsystem library
10388sizes are shown below.  These are the code and data sizes for the
10389acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10390these values do not include any ACPI driver or OSPM code.  The
10391debug version of the code includes the debug output trace
10392mechanism and has a much larger code and data size.  Note that
10393these values will vary depending on the efficiency of the compiler
10394and the compiler options used during generation.
10395
10396  Previous Release (20030918):
10397    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
10398    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
10399  Current Release:
10400    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
10401    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
10402
10403
104042) iASL Compiler:
10405
10406Implemented detection of non-ASCII characters within the input
10407source ASL file.  This catches attempts to compile binary (AML)
10408files early in the compile, with an informative error message.
10409
10410Fixed a problem where the disassembler would fault if the output
10411filename could not be generated or if the output file could not be
10412opened.
10413
10414----------------------------------------
1041518 September 2003.  Summary of changes for version 20030918:
10416
10417
104181) ACPI CA Core Subsystem:
10419
10420Found and fixed a longstanding problem with the late execution of
10421the various deferred AML opcodes (such as Operation Regions,
10422Buffer Fields, Buffers, and Packages).  If the name string
10423specified for the name of the new object placed the object in a
10424scope other than the current scope, the initialization/execution
10425of the opcode failed.  The solution to this problem was to
10426implement a mechanism where the late execution of such opcodes
10427does not attempt to lookup/create the name a second time in an
10428incorrect scope.  This fixes the "region size computed
10429incorrectly" problem.
10430
10431Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
10432Global Lock AE_BAD_PARAMETER error.
10433
10434Fixed several 64-bit issues with prototypes, casting and data
10435types.
10436
10437Removed duplicate prototype from acdisasm.h
10438
10439Fixed an issue involving EC Operation Region Detach (Shaohua Li)
10440
10441Code and Data Size: Current and previous core subsystem library
10442sizes are shown below.  These are the code and data sizes for the
10443acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10444these values do not include any ACPI driver or OSPM code.  The
10445debug version of the code includes the debug output trace
10446mechanism and has a much larger code and data size.  Note that
10447these values will vary depending on the efficiency of the compiler
10448and the compiler options used during generation.
10449
10450  Previous Release:
10451
10452    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
10453    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
10454  Current Release:
10455    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
10456    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
10457
10458
104592) Linux:
10460
10461Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
10462correct sleep time in seconds.
10463
10464----------------------------------------
1046514 July 2003.  Summary of changes for version 20030619:
10466
104671) ACPI CA Core Subsystem:
10468
10469Parse SSDTs in order discovered, as opposed to reverse order
10470(Hrvoje Habjanic)
10471
10472Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
10473Klausner,
10474   Nate Lawson)
10475
10476
104772) Linux:
10478
10479Dynamically allocate SDT list (suggested by Andi Kleen)
10480
10481proc function return value cleanups (Andi Kleen)
10482
10483Correctly handle NMI watchdog during long stalls (Andrew Morton)
10484
10485Make it so acpismp=force works (reported by Andrew Morton)
10486
10487
10488----------------------------------------
1048919 June 2003.  Summary of changes for version 20030619:
10490
104911) ACPI CA Core Subsystem:
10492
10493Fix To/FromBCD, eliminating the need for an arch-specific #define.
10494
10495Do not acquire a semaphore in the S5 shutdown path.
10496
10497Fix ex_digits_needed for 0. (Takayoshi Kochi)
10498
10499Fix sleep/stall code reversal. (Andi Kleen)
10500
10501Revert a change having to do with control method calling
10502semantics.
10503
105042) Linux:
10505
10506acpiphp update (Takayoshi Kochi)
10507
10508Export acpi_disabled for sonypi (Stelian Pop)
10509
10510Mention acpismp=force in config help
10511
10512Re-add acpitable.c and acpismp=force. This improves backwards
10513
10514compatibility and also cleans up the code to a significant degree.
10515
10516Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
10517
10518----------------------------------------
1051922 May 2003.  Summary of changes for version 20030522:
10520
105211) ACPI CA Core Subsystem:
10522
10523Found and fixed a reported problem where an AE_NOT_FOUND error
10524occurred occasionally during _BST evaluation.  This turned out to
10525be an Owner ID allocation issue where a called method did not get
10526a new ID assigned to it.  Eventually, (after 64k calls), the Owner
10527ID UINT16 would wraparound so that the ID would be the same as the
10528caller's and the called method would delete the caller's
10529namespace.
10530
10531Implemented extended error reporting for control methods that are
10532aborted due to a run-time exception.  Output includes the exact
10533AML instruction that caused the method abort, a dump of the method
10534locals and arguments at the time of the abort, and a trace of all
10535nested control method calls.
10536
10537Modified the interpreter to allow the creation of buffers of zero
10538length from the AML code. Implemented new code to ensure that no
10539attempt is made to actually allocate a memory buffer (of length
10540zero) - instead, a simple buffer object with a NULL buffer pointer
10541and length zero is created.  A warning is no longer issued when
10542the AML attempts to create a zero-length buffer.
10543
10544Implemented a workaround for the "leading asterisk issue" in
10545_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
10546asterisk is automatically removed if present in any HID, UID, or
10547CID strings.  The iASL compiler will still flag this asterisk as
10548an error, however.
10549
10550Implemented full support for _CID methods that return a package of
10551multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
10552now additionally returns a device _CID list if present.  This
10553required a change to the external interface in order to pass an
10554ACPI_BUFFER object as a parameter since the _CID list is of
10555variable length.
10556
10557Fixed a problem with the new AE_SAME_HANDLER exception where
10558handler initialization code did not know about this exception.
10559
10560Code and Data Size: Current and previous core subsystem library
10561sizes are shown below.  These are the code and data sizes for the
10562acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10563these values do not include any ACPI driver or OSPM code.  The
10564debug version of the code includes the debug output trace
10565mechanism and has a much larger code and data size.  Note that
10566these values will vary depending on the efficiency of the compiler
10567and the compiler options used during generation.
10568
10569  Previous Release (20030509):
10570    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
10571    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
10572  Current Release:
10573    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
10574    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
10575
10576
105772) Linux:
10578
10579Fixed a bug in which we would reinitialize the ACPI interrupt
10580after it was already working, thus disabling all ACPI and the IRQs
10581for any other device sharing the interrupt. (Thanks to Stian
10582Jordet)
10583
10584Toshiba driver update (John Belmonte)
10585
10586Return only 0 or 1 for our interrupt handler status (Andrew
10587Morton)
10588
10589
105903) iASL Compiler:
10591
10592Fixed a reported problem where multiple (nested) ElseIf()
10593statements were not handled correctly by the compiler, resulting
10594in incorrect warnings and incorrect AML code.  This was a problem
10595in both the ASL parser and the code generator.
10596
10597
105984) Documentation:
10599
10600Added changes to existing interfaces, new exception codes, and new
10601text concerning reference count object management versus garbage
10602collection.
10603
10604----------------------------------------
1060509 May 2003.  Summary of changes for version 20030509.
10606
10607
106081) ACPI CA Core Subsystem:
10609
10610Changed the subsystem initialization sequence to hold off
10611installation of address space handlers until the hardware has been
10612initialized and the system has entered ACPI mode.  This is because
10613the installation of space handlers can cause _REG methods to be
10614run.  Previously, the _REG methods could potentially be run before
10615ACPI mode was enabled.
10616
10617Fixed some memory leak issues related to address space handler and
10618notify handler installation.  There were some problems with the
10619reference count mechanism caused by the fact that the handler
10620objects are shared across several namespace objects.
10621
10622Fixed a reported problem where reference counts within the
10623namespace were not properly updated when named objects created by
10624method execution were deleted.
10625
10626Fixed a reported problem where multiple SSDTs caused a deletion
10627issue during subsystem termination.  Restructured the table data
10628structures to simplify the linked lists and the related code.
10629
10630Fixed a problem where the table ID associated with secondary
10631tables (SSDTs) was not being propagated into the namespace objects
10632created by those tables.  This would only present a problem for
10633tables that are unloaded at run-time, however.
10634
10635Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
10636type as the length parameter (instead of UINT32).
10637
10638Solved a long-standing problem where an ALREADY_EXISTS error
10639appears on various systems.  This problem could happen when there
10640are multiple PCI_Config operation regions under a single PCI root
10641bus.  This doesn't happen very frequently, but there are some
10642systems that do this in the ASL.
10643
10644Fixed a reported problem where the internal DeleteNode function
10645was incorrectly handling the case where a namespace node was the
10646first in the parent's child list, and had additional peers (not
10647the only child, but first in the list of children.)
10648
10649Code and Data Size: Current core subsystem library sizes are shown
10650below.  These are the code and data sizes for the acpica.lib
10651produced by the Microsoft Visual C++ 6.0 compiler, and these
10652values do not include any ACPI driver or OSPM code.  The debug
10653version of the code includes the debug output trace mechanism and
10654has a much larger code and data size.  Note that these values will
10655vary depending on the efficiency of the compiler and the compiler
10656options used during generation.
10657
10658  Previous Release
10659    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
10660    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
10661  Current Release:
10662    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
10663    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
10664
10665
106662) Linux:
10667
10668Allow ":" in OS override string (Ducrot Bruno)
10669
10670Kobject fix (Greg KH)
10671
10672
106733 iASL Compiler/Disassembler:
10674
10675Fixed a problem in the generation of the C source code files (AML
10676is emitted in C source statements for BIOS inclusion) where the
10677Ascii dump that appears within a C comment at the end of each line
10678could cause a compile time error if the AML sequence happens to
10679have an open comment or close comment sequence embedded.
10680
10681
10682----------------------------------------
1068324 April 2003.  Summary of changes for version 20030424.
10684
10685
106861) ACPI CA Core Subsystem:
10687
10688Support for big-endian systems has been implemented.  Most of the
10689support has been invisibly added behind big-endian versions of the
10690ACPI_MOVE_* macros.
10691
10692Fixed a problem in AcpiHwDisableGpeBlock() and
10693AcpiHwClearGpeBlock() where an incorrect offset was passed to the
10694low level hardware write routine.  The offset parameter was
10695actually eliminated from the low level read/write routines because
10696they had become obsolete.
10697
10698Fixed a problem where a handler object was deleted twice during
10699the removal of a fixed event handler.
10700
10701
107022) Linux:
10703
10704A fix for SMP systems with link devices was contributed by
10705
10706Compaq's Dan Zink.
10707
10708(2.5) Return whether we handled the interrupt in our IRQ handler.
10709(Linux ISRs no longer return void, so we can propagate the handler
10710return value from the ACPI CA core back to the OS.)
10711
10712
10713
107143) Documentation:
10715
10716The ACPI CA Programmer Reference has been updated to reflect new
10717interfaces and changes to existing interfaces.
10718
10719----------------------------------------
1072028 March 2003.  Summary of changes for version 20030328.
10721
107221) ACPI CA Core Subsystem:
10723
10724The GPE Block Device support has been completed.  New interfaces
10725are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
10726interfaces (enable, disable, clear, getstatus) have been split
10727into separate interfaces for Fixed Events and General Purpose
10728Events (GPEs) in order to support GPE Block Devices properly.
10729
10730Fixed a problem where the error message "Failed to acquire
10731semaphore" would appear during operations on the embedded
10732controller (EC).
10733
10734Code and Data Size: Current core subsystem library sizes are shown
10735below.  These are the code and data sizes for the acpica.lib
10736produced by the Microsoft Visual C++ 6.0 compiler, and these
10737values do not include any ACPI driver or OSPM code.  The debug
10738version of the code includes the debug output trace mechanism and
10739has a much larger code and data size.  Note that these values will
10740vary depending on the efficiency of the compiler and the compiler
10741options used during generation.
10742
10743  Previous Release
10744    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
10745    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
10746  Current Release:
10747    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
10748    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
10749
10750
10751----------------------------------------
1075228 February 2003.  Summary of changes for version 20030228.
10753
10754
107551) ACPI CA Core Subsystem:
10756
10757The GPE handling and dispatch code has been completely overhauled
10758in preparation for support of GPE Block Devices (ID ACPI0006).
10759This affects internal data structures and code only; there should
10760be no differences visible externally.  One new file has been
10761added, evgpeblk.c
10762
10763The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
10764fields that are used to determine the GPE block lengths.  The
10765REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
10766structures are ignored.  This is per the ACPI specification but it
10767isn't very clear.  The full 256 Block 0/1 GPEs are now supported
10768(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
10769
10770In the SCI interrupt handler, removed the read of the PM1_CONTROL
10771register to look at the SCI_EN bit.  On some machines, this read
10772causes an SMI event and greatly slows down SCI events.  (This may
10773in fact be the cause of slow battery status response on some
10774systems.)
10775
10776Fixed a problem where a store of a NULL string to a package object
10777could cause the premature deletion of the object.  This was seen
10778during execution of the battery _BIF method on some systems,
10779resulting in no battery data being returned.
10780
10781Added AcpiWalkResources interface to simplify parsing of resource
10782lists.
10783
10784Code and Data Size: Current core subsystem library sizes are shown
10785below.  These are the code and data sizes for the acpica.lib
10786produced by the Microsoft Visual C++ 6.0 compiler, and these
10787values do not include any ACPI driver or OSPM code.  The debug
10788version of the code includes the debug output trace mechanism and
10789has a much larger code and data size.  Note that these values will
10790vary depending on the efficiency of the compiler and the compiler
10791options used during generation.
10792
10793  Previous Release
10794    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10795    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10796  Current Release:
10797    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
10798    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
10799
10800
108012) Linux
10802
10803S3 fixes (Ole Rohne)
10804
10805Update ACPI PHP driver with to use new acpi_walk_resource API
10806(Bjorn Helgaas)
10807
10808Add S4BIOS support (Pavel Machek)
10809
10810Map in entire table before performing checksum (John Stultz)
10811
10812Expand the mem= cmdline to allow the specification of reserved and
10813ACPI DATA blocks (Pavel Machek)
10814
10815Never use ACPI on VISWS
10816
10817Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
10818
10819Revert a change that allowed P_BLK lengths to be 4 or 5. This is
10820causing us to think that some systems support C2 when they really
10821don't.
10822
10823Do not count processor objects for non-present CPUs (Thanks to
10824Dominik Brodowski)
10825
10826
108273) iASL Compiler:
10828
10829Fixed a problem where ASL include files could not be found and
10830opened.
10831
10832Added support for the _PDC reserved name.
10833
10834
10835----------------------------------------
1083622 January 2003.  Summary of changes for version 20030122.
10837
10838
108391) ACPI CA Core Subsystem:
10840
10841Added a check for constructs of the form:  Store (Local0, Local0)
10842where Local0 is not initialized.  Apparently, some BIOS
10843programmers believe that this is a NOOP.  Since this store doesn't
10844do anything anyway, the new prototype behavior will ignore this
10845error.  This is a case where we can relax the strict checking in
10846the interpreter in the name of compatibility.
10847
10848
108492) Linux
10850
10851The AcpiSrc Source Conversion Utility has been released with the
10852Linux package for the first time.  This is the utility that is
10853used to convert the ACPI CA base source code to the Linux version.
10854
10855(Both) Handle P_BLK lengths shorter than 6 more gracefully
10856
10857(Both) Move more headers to include/acpi, and delete an unused
10858header.
10859
10860(Both) Move drivers/acpi/include directory to include/acpi
10861
10862(Both) Boot functions don't use cmdline, so don't pass it around
10863
10864(Both) Remove include of unused header (Adrian Bunk)
10865
10866(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
10867the
10868former now also includes the latter, acpiphp.h only needs the one,
10869now.
10870
10871(2.5) Make it possible to select method of bios restoring after S3
10872resume. [=> no more ugly ifdefs] (Pavel Machek)
10873
10874(2.5) Make proc write interfaces work (Pavel Machek)
10875
10876(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
10877
10878(2.5) Break out ACPI Perf code into its own module, under cpufreq
10879(Dominik Brodowski)
10880
10881(2.4) S4BIOS support (Ducrot Bruno)
10882
10883(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
10884Visinoni)
10885
10886
108873) iASL Compiler:
10888
10889Added support to disassemble SSDT and PSDTs.
10890
10891Implemented support to obtain SSDTs from the Windows registry if
10892available.
10893
10894
10895----------------------------------------
1089609 January 2003.  Summary of changes for version 20030109.
10897
108981) ACPI CA Core Subsystem:
10899
10900Changed the behavior of the internal Buffer-to-String conversion
10901function.  The current ACPI specification states that the contents
10902of the buffer are "converted to a string of two-character
10903hexadecimal numbers, each separated by a space".  Unfortunately,
10904this definition is not backwards compatible with existing ACPI 1.0
10905implementations (although the behavior was not defined in the ACPI
109061.0 specification).  The new behavior simply copies data from the
10907buffer to the string until a null character is found or the end of
10908the buffer is reached.  The new String object is always null
10909terminated.  This problem was seen during the generation of _BIF
10910battery data where incorrect strings were returned for battery
10911type, etc.  This will also require an errata to the ACPI
10912specification.
10913
10914Renamed all instances of NATIVE_UINT and NATIVE_INT to
10915ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
10916
10917Copyright in all module headers (both Linux and non-Linux) has be
10918updated to 2003.
10919
10920Code and Data Size: Current core subsystem library sizes are shown
10921below.  These are the code and data sizes for the acpica.lib
10922produced by the Microsoft Visual C++ 6.0 compiler, and these
10923values do not include any ACPI driver or OSPM code.  The debug
10924version of the code includes the debug output trace mechanism and
10925has a much larger code and data size.  Note that these values will
10926vary depending on the efficiency of the compiler and the compiler
10927options used during generation.
10928
10929  Previous Release
10930    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10931    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10932  Current Release:
10933    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10934    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10935
10936
109372) Linux
10938
10939Fixed an oops on module insertion/removal (Matthew Tippett)
10940
10941(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
10942
10943(2.5) Replace pr_debug (Randy Dunlap)
10944
10945(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
10946
10947(Both) Eliminate spawning of thread from timer callback, in favor
10948of schedule_work()
10949
10950(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
10951
10952(Both) Added define for Fixed Function HW region (Matthew Wilcox)
10953
10954(Both) Add missing statics to button.c (Pavel Machek)
10955
10956Several changes have been made to the source code translation
10957utility that generates the Linux Code in order to make the code
10958more "Linux-like":
10959
10960All typedefs on structs and unions have been removed in keeping
10961with the Linux coding style.
10962
10963Removed the non-Linux SourceSafe module revision number from each
10964module header.
10965
10966Completed major overhaul of symbols to be lowercased for linux.
10967Doubled the number of symbols that are lowercased.
10968
10969Fixed a problem where identifiers within procedure headers and
10970within quotes were not fully lower cased (they were left with a
10971starting capital.)
10972
10973Some C macros whose only purpose is to allow the generation of 16-
10974bit code are now completely removed in the Linux code, increasing
10975readability and maintainability.
10976
10977----------------------------------------
10978
1097912 December 2002.  Summary of changes for version 20021212.
10980
10981
109821) ACPI CA Core Subsystem:
10983
10984Fixed a problem where the creation of a zero-length AML Buffer
10985would cause a fault.
10986
10987Fixed a problem where a Buffer object that pointed to a static AML
10988buffer (in an ACPI table) could inadvertently be deleted, causing
10989memory corruption.
10990
10991Fixed a problem where a user buffer (passed in to the external
10992ACPI CA interfaces) could be overwritten if the buffer was too
10993small to complete the operation, causing memory corruption.
10994
10995Fixed a problem in the Buffer-to-String conversion code where a
10996string of length one was always returned, regardless of the size
10997of the input Buffer object.
10998
10999Removed the NATIVE_CHAR data type across the entire source due to
11000lack of need and lack of consistent use.
11001
11002Code and Data Size: Current core subsystem library sizes are shown
11003below.  These are the code and data sizes for the acpica.lib
11004produced by the Microsoft Visual C++ 6.0 compiler, and these
11005values do not include any ACPI driver or OSPM code.  The debug
11006version of the code includes the debug output trace mechanism and
11007has a much larger code and data size.  Note that these values will
11008vary depending on the efficiency of the compiler and the compiler
11009options used during generation.
11010
11011  Previous Release
11012    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
11013    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
11014  Current Release:
11015    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
11016    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
11017
11018
11019----------------------------------------
1102005 December 2002.  Summary of changes for version 20021205.
11021
110221) ACPI CA Core Subsystem:
11023
11024Fixed a problem where a store to a String or Buffer object could
11025cause corruption of the DSDT if the object type being stored was
11026the same as the target object type and the length of the object
11027being stored was equal to or smaller than the original (existing)
11028target object.  This was seen to cause corruption of battery _BIF
11029buffers if the _BIF method modified the buffer on the fly.
11030
11031Fixed a problem where an internal error was generated if a control
11032method invocation was used in an OperationRegion, Buffer, or
11033Package declaration.  This was caused by the deferred parsing of
11034the control method and thus the deferred creation of the internal
11035method object.  The solution to this problem was to create the
11036internal method object at the moment the method is encountered in
11037the first pass - so that subsequent references to the method will
11038able to obtain the required parameter count and thus properly
11039parse the method invocation.  This problem presented itself as an
11040AE_AML_INTERNAL during the pass 1 parse phase during table load.
11041
11042Fixed a problem where the internal String object copy routine did
11043not always allocate sufficient memory for the target String object
11044and caused memory corruption.  This problem was seen to cause
11045"Allocation already present in list!" errors as memory allocation
11046became corrupted.
11047
11048Implemented a new function for the evaluation of namespace objects
11049that allows the specification of the allowable return object
11050types.  This simplifies a lot of code that checks for a return
11051object of one or more specific objects returned from the
11052evaluation (such as _STA, etc.)  This may become and external
11053function if it would be useful to ACPI-related drivers.
11054
11055Completed another round of prefixing #defines with "ACPI_" for
11056clarity.
11057
11058Completed additional code restructuring to allow more modular
11059linking for iASL compiler and AcpiExec.  Several files were split
11060creating new files.  New files:  nsparse.c dsinit.c evgpe.c
11061
11062Implemented an abort mechanism to terminate an executing control
11063method via the AML debugger.  This feature is useful for debugging
11064control methods that depend (wait) for specific hardware
11065responses.
11066
11067Code and Data Size: Current core subsystem library sizes are shown
11068below.  These are the code and data sizes for the acpica.lib
11069produced by the Microsoft Visual C++ 6.0 compiler, and these
11070values do not include any ACPI driver or OSPM code.  The debug
11071version of the code includes the debug output trace mechanism and
11072has a much larger code and data size.  Note that these values will
11073vary depending on the efficiency of the compiler and the compiler
11074options used during generation.
11075
11076  Previous Release
11077    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11078    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
11079  Current Release:
11080    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
11081    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
11082
11083
110842) iASL Compiler/Disassembler
11085
11086Fixed a compiler code generation problem for "Interrupt" Resource
11087Descriptors.  If specified in the ASL, the optional "Resource
11088Source Index" and "Resource Source" fields were not inserted into
11089the correct location within the AML resource descriptor, creating
11090an invalid descriptor.
11091
11092Fixed a disassembler problem for "Interrupt" resource descriptors.
11093The optional "Resource Source Index" and "Resource Source" fields
11094were ignored.
11095
11096
11097----------------------------------------
1109822 November 2002.  Summary of changes for version 20021122.
11099
11100
111011) ACPI CA Core Subsystem:
11102
11103Fixed a reported problem where an object stored to a Method Local
11104or Arg was not copied to a new object during the store - the
11105object pointer was simply copied to the Local/Arg.  This caused
11106all subsequent operations on the Local/Arg to also affect the
11107original source of the store operation.
11108
11109Fixed a problem where a store operation to a Method Local or Arg
11110was not completed properly if the Local/Arg contained a reference
11111(from RefOf) to a named field.  The general-purpose store-to-
11112namespace-node code is now used so that this case is handled
11113automatically.
11114
11115Fixed a problem where the internal object copy routine would cause
11116a protection fault if the object being copied was a Package and
11117contained either 1) a NULL package element or 2) a nested sub-
11118package.
11119
11120Fixed a problem with the GPE initialization that resulted from an
11121ambiguity in the ACPI specification.  One section of the
11122specification states that both the address and length of the GPE
11123block must be zero if the block is not supported.  Another section
11124implies that only the address need be zero if the block is not
11125supported.  The code has been changed so that both the address and
11126the length must be non-zero to indicate a valid GPE block (i.e.,
11127if either the address or the length is zero, the GPE block is
11128invalid.)
11129
11130Code and Data Size: Current core subsystem library sizes are shown
11131below.  These are the code and data sizes for the acpica.lib
11132produced by the Microsoft Visual C++ 6.0 compiler, and these
11133values do not include any ACPI driver or OSPM code.  The debug
11134version of the code includes the debug output trace mechanism and
11135has a much larger code and data size.  Note that these values will
11136vary depending on the efficiency of the compiler and the compiler
11137options used during generation.
11138
11139  Previous Release
11140    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
11141    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
11142  Current Release:
11143    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11144    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
11145
11146
111472) Linux
11148
11149Cleaned up EC driver. Exported an external EC read/write
11150interface. By going through this, other drivers (most notably
11151sonypi) will be able to serialize access to the EC.
11152
11153
111543) iASL Compiler/Disassembler
11155
11156Implemented support to optionally generate include files for both
11157ASM and C (the -i switch).  This simplifies BIOS development by
11158automatically creating include files that contain external
11159declarations for the symbols that are created within the
11160
11161(optionally generated) ASM and C AML source files.
11162
11163
11164----------------------------------------
1116515 November 2002.  Summary of changes for version 20021115.
11166
111671) ACPI CA Core Subsystem:
11168
11169Fixed a memory leak problem where an error during resolution of
11170
11171method arguments during a method invocation from another method
11172failed to cleanup properly by deleting all successfully resolved
11173argument objects.
11174
11175Fixed a problem where the target of the Index() operator was not
11176correctly constructed if the source object was a package.  This
11177problem has not been detected because the use of a target operand
11178with Index() is very rare.
11179
11180Fixed a problem with the Index() operator where an attempt was
11181made to delete the operand objects twice.
11182
11183Fixed a problem where an attempt was made to delete an operand
11184twice during execution of the CondRefOf() operator if the target
11185did not exist.
11186
11187Implemented the first of perhaps several internal create object
11188functions that create and initialize a specific object type.  This
11189consolidates duplicated code wherever the object is created, thus
11190shrinking the size of the subsystem.
11191
11192Implemented improved debug/error messages for errors that occur
11193during nested method invocations.  All executing method pathnames
11194are displayed (with the error) as the call stack is unwound - thus
11195simplifying debug.
11196
11197Fixed a problem introduced in the 10/02 release that caused
11198premature deletion of a buffer object if a buffer was used as an
11199ASL operand where an integer operand is required (Thus causing an
11200implicit object conversion from Buffer to Integer.)  The change in
11201the 10/02 release was attempting to fix a memory leak (albeit
11202incorrectly.)
11203
11204Code and Data Size: Current core subsystem library sizes are shown
11205below.  These are the code and data sizes for the acpica.lib
11206produced by the Microsoft Visual C++ 6.0 compiler, and these
11207values do not include any ACPI driver or OSPM code.  The debug
11208version of the code includes the debug output trace mechanism and
11209has a much larger code and data size.  Note that these values will
11210vary depending on the efficiency of the compiler and the compiler
11211options used during generation.
11212
11213  Previous Release
11214    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
11215    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
11216  Current Release:
11217    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
11218    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
11219
11220
112212) Linux
11222
11223Changed the implementation of the ACPI semaphores to use down()
11224instead of down_interruptable().  It is important that the
11225execution of ACPI control methods not be interrupted by signals.
11226Methods must run to completion, or the system may be left in an
11227unknown/unstable state.
11228
11229Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
11230(Shawn Starr)
11231
11232
112333) iASL Compiler/Disassembler
11234
11235
11236Changed the default location of output files.  All output files
11237are now placed in the current directory by default instead of in
11238the directory of the source file.  This change may affect some
11239existing makefiles, but it brings the behavior of the compiler in
11240line with other similar tools.  The location of the output files
11241can be overridden with the -p command line switch.
11242
11243
11244----------------------------------------
1124511 November 2002.  Summary of changes for version 20021111.
11246
11247
112480) ACPI Specification 2.0B is released and is now available at:
11249http://www.acpi.info/index.html
11250
11251
112521) ACPI CA Core Subsystem:
11253
11254Implemented support for the ACPI 2.0 SMBus Operation Regions.
11255This includes the early detection and handoff of the request to
11256the SMBus region handler (avoiding all of the complex field
11257support code), and support for the bidirectional return packet
11258from an SMBus write operation.  This paves the way for the
11259development of SMBus drivers in each host operating system.
11260
11261Fixed a problem where the semaphore WAIT_FOREVER constant was
11262defined as 32 bits, but must be 16 bits according to the ACPI
11263specification.  This had the side effect of causing ASL
11264Mutex/Event timeouts even though the ASL code requested a wait
11265forever.  Changed all internal references to the ACPI timeout
11266parameter to 16 bits to prevent future problems.  Changed the name
11267of WAIT_FOREVER to ACPI_WAIT_FOREVER.
11268
11269Code and Data Size: Current core subsystem library sizes are shown
11270below.  These are the code and data sizes for the acpica.lib
11271produced by the Microsoft Visual C++ 6.0 compiler, and these
11272values do not include any ACPI driver or OSPM code.  The debug
11273version of the code includes the debug output trace mechanism and
11274has a much larger code and data size.  Note that these values will
11275vary depending on the efficiency of the compiler and the compiler
11276options used during generation.
11277
11278  Previous Release
11279    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11280    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
11281  Current Release:
11282    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
11283    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
11284
11285
112862) Linux
11287
11288Module loading/unloading fixes (John Cagle)
11289
11290
112913) iASL Compiler/Disassembler
11292
11293Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
11294
11295Implemented support for the disassembly of all SMBus protocol
11296keywords (SMBQuick, SMBWord, etc.)
11297
11298----------------------------------------
1129901 November 2002.  Summary of changes for version 20021101.
11300
11301
113021) ACPI CA Core Subsystem:
11303
11304Fixed a problem where platforms that have a GPE1 block but no GPE0
11305block were not handled correctly.  This resulted in a "GPE
11306overlap" error message.  GPE0 is no longer required.
11307
11308Removed code added in the previous release that inserted nodes
11309into the namespace in alphabetical order.  This caused some side-
11310effects on various machines.  The root cause of the problem is
11311still under investigation since in theory, the internal ordering
11312of the namespace nodes should not matter.
11313
11314
11315Enhanced error reporting for the case where a named object is not
11316found during control method execution.  The full ACPI namepath
11317(name reference) of the object that was not found is displayed in
11318this case.
11319
11320Note: as a result of the overhaul of the namespace object types in
11321the previous release, the namespace nodes for the predefined
11322scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
11323instead of ACPI_TYPE_ANY.  This simplifies the namespace
11324management code but may affect code that walks the namespace tree
11325looking for specific object types.
11326
11327Code and Data Size: Current core subsystem library sizes are shown
11328below.  These are the code and data sizes for the acpica.lib
11329produced by the Microsoft Visual C++ 6.0 compiler, and these
11330values do not include any ACPI driver or OSPM code.  The debug
11331version of the code includes the debug output trace mechanism and
11332has a much larger code and data size.  Note that these values will
11333vary depending on the efficiency of the compiler and the compiler
11334options used during generation.
11335
11336  Previous Release
11337    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
11338    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
11339  Current Release:
11340    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11341    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
11342
11343
113442) Linux
11345
11346Fixed a problem introduced in the previous release where the
11347Processor and Thermal objects were not recognized and installed in
11348/proc.  This was related to the scope type change described above.
11349
11350
113513) iASL Compiler/Disassembler
11352
11353Implemented the -g option to get all of the required ACPI tables
11354from the registry and save them to files (Windows version of the
11355compiler only.)  The required tables are the FADT, FACS, and DSDT.
11356
11357Added ACPI table checksum validation during table disassembly in
11358order to catch corrupted tables.
11359
11360
11361----------------------------------------
1136222 October 2002.  Summary of changes for version 20021022.
11363
113641) ACPI CA Core Subsystem:
11365
11366Implemented a restriction on the Scope operator that the target
11367must already exist in the namespace at the time the operator is
11368encountered (during table load or method execution).  In other
11369words, forward references are not allowed and Scope() cannot
11370create a new object. This changes the previous behavior where the
11371interpreter would create the name if not found.  This new behavior
11372correctly enables the search-to-root algorithm during namespace
11373lookup of the target name.  Because of this upsearch, this fixes
11374the known Compaq _SB_.OKEC problem and makes both the AML
11375interpreter and iASL compiler compatible with other ACPI
11376implementations.
11377
11378Completed a major overhaul of the internal ACPI object types for
11379the ACPI Namespace and the associated operand objects.  Many of
11380these types had become obsolete with the introduction of the two-
11381pass namespace load.  This cleanup simplifies the code and makes
11382the entire namespace load mechanism much clearer and easier to
11383understand.
11384
11385Improved debug output for tracking scope opening/closing to help
11386diagnose scoping issues.  The old scope name as well as the new
11387scope name are displayed.  Also improved error messages for
11388problems with ASL Mutex objects and error messages for GPE
11389problems.
11390
11391Cleaned up the namespace dump code, removed obsolete code.
11392
11393All string output (for all namespace/object dumps) now uses the
11394common ACPI string output procedure which handles escapes properly
11395and does not emit non-printable characters.
11396
11397Fixed some issues with constants in the 64-bit version of the
11398local C library (utclib.c)
11399
11400
114012) Linux
11402
11403EC Driver:  No longer attempts to acquire the Global Lock at
11404interrupt level.
11405
11406
114073) iASL Compiler/Disassembler
11408
11409Implemented ACPI 2.0B grammar change that disallows all Type 1 and
114102 opcodes outside of a control method.  This means that the
11411"executable" operators (versus the "namespace" operators) cannot
11412be used at the table level; they can only be used within a control
11413method.
11414
11415Implemented the restriction on the Scope() operator where the
11416target must already exist in the namespace at the time the
11417operator is encountered (during ASL compilation). In other words,
11418forward references are not allowed and Scope() cannot create a new
11419object.  This makes the iASL compiler compatible with other ACPI
11420implementations and makes the Scope() implementation adhere to the
11421ACPI specification.
11422
11423Fixed a problem where namepath optimization for the Alias operator
11424was optimizing the wrong path (of the two namepaths.)  This caused
11425a "Missing alias link" error message.
11426
11427Fixed a problem where an "unknown reserved name" warning could be
11428incorrectly generated for names like "_SB" when the trailing
11429underscore is not used in the original ASL.
11430
11431Fixed a problem where the reserved name check did not handle
11432NamePaths with multiple NameSegs correctly.  The first nameseg of
11433the NamePath was examined instead of the last NameSeg.
11434
11435
11436----------------------------------------
11437
1143802 October 2002.  Summary of changes for this release.
11439
11440
114411) ACPI CA Core Subsystem version 20021002:
11442
11443Fixed a problem where a store/copy of a string to an existing
11444string did not always set the string length properly in the String
11445object.
11446
11447Fixed a reported problem with the ToString operator where the
11448behavior was identical to the ToHexString operator instead of just
11449simply converting a raw buffer to a string data type.
11450
11451Fixed a problem where CopyObject and the other "explicit"
11452conversion operators were not updating the internal namespace node
11453type as part of the store operation.
11454
11455Fixed a memory leak during implicit source operand conversion
11456where the original object was not deleted if it was converted to a
11457new object of a different type.
11458
11459Enhanced error messages for all problems associated with namespace
11460lookups.  Common procedure generates and prints the lookup name as
11461well as the formatted status.
11462
11463Completed implementation of a new design for the Alias support
11464within the namespace.  The existing design did not handle the case
11465where a new object was assigned to one of the two names due to the
11466use of an explicit conversion operator, resulting in the two names
11467pointing to two different objects.  The new design simply points
11468the Alias name to the original name node - not to the object.
11469This results in a level of indirection that must be handled in the
11470name resolution mechanism.
11471
11472Code and Data Size: Current core subsystem library sizes are shown
11473below.  These are the code and data sizes for the acpica.lib
11474produced by the Microsoft Visual C++ 6.0 compiler, and these
11475values do not include any ACPI driver or OSPM code.  The debug
11476version of the code includes the debug output trace mechanism and
11477has a larger code and data size.  Note that these values will vary
11478depending on the efficiency of the compiler and the compiler
11479options used during generation.
11480
11481  Previous Release
11482    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
11483    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
11484  Current Release:
11485    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
11486    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
11487
11488
114892) Linux
11490
11491Initialize thermal driver's timer before it is used. (Knut
11492Neumann)
11493
11494Allow handling negative celsius values. (Kochi Takayoshi)
11495
11496Fix thermal management and make trip points. R/W (Pavel Machek)
11497
11498Fix /proc/acpi/sleep. (P. Christeas)
11499
11500IA64 fixes. (David Mosberger)
11501
11502Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
11503
11504Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
11505Brodowski)
11506
11507
115083) iASL Compiler/Disassembler
11509
11510Clarified some warning/error messages.
11511
11512
11513----------------------------------------
1151418 September 2002.  Summary of changes for this release.
11515
11516
115171) ACPI CA Core Subsystem version 20020918:
11518
11519Fixed a reported problem with reference chaining (via the Index()
11520and RefOf() operators) in the ObjectType() and SizeOf() operators.
11521The definition of these operators includes the dereferencing of
11522all chained references to return information on the base object.
11523
11524Fixed a problem with stores to indexed package elements - the
11525existing code would not complete the store if an "implicit
11526conversion" was not performed.  In other words, if the existing
11527object (package element) was to be replaced completely, the code
11528didn't handle this case.
11529
11530Relaxed typechecking on the ASL "Scope" operator to allow the
11531target name to refer to an object of type Integer, String, or
11532Buffer, in addition to the scoping object types (Device,
11533predefined Scopes, Processor, PowerResource, and ThermalZone.)
11534This allows existing AML code that has workarounds for a bug in
11535Windows to function properly.  A warning is issued, however.  This
11536affects both the AML interpreter and the iASL compiler. Below is
11537an example of this type of ASL code:
11538
11539      Name(DEB,0x00)
11540      Scope(DEB)
11541      {
11542
11543Fixed some reported problems with 64-bit integer support in the
11544local implementation of C library functions (clib.c)
11545
11546
115472) Linux
11548
11549Use ACPI fix map region instead of IOAPIC region, since it is
11550undefined in non-SMP.
11551
11552Ensure that the SCI has the proper polarity and trigger, even on
11553systems that do not have an interrupt override entry in the MADT.
11554
115552.5 big driver reorganization (Pat Mochel)
11556
11557Use early table mapping code from acpitable.c (Andi Kleen)
11558
11559New blacklist entries (Andi Kleen)
11560
11561Blacklist improvements. Split blacklist code out into a separate
11562file. Move checking the blacklist to very early. Previously, we
11563would use ACPI tables, and then halfway through init, check the
11564blacklist -- too late. Now, it's early enough to completely fall-
11565back to non-ACPI.
11566
11567
115683) iASL Compiler/Disassembler version 20020918:
11569
11570Fixed a problem where the typechecking code didn't know that an
11571alias could point to a method.  In other words, aliases were not
11572being dereferenced during typechecking.
11573
11574
11575----------------------------------------
1157629 August 2002.  Summary of changes for this release.
11577
115781) ACPI CA Core Subsystem Version 20020829:
11579
11580If the target of a Scope() operator already exists, it must be an
11581object type that actually opens a scope -- such as a Device,
11582Method, Scope, etc.  This is a fatal runtime error.  Similar error
11583check has been added to the iASL compiler also.
11584
11585Tightened up the namespace load to disallow multiple names in the
11586same scope.  This previously was allowed if both objects were of
11587the same type.  (i.e., a lookup was the same as entering a new
11588name).
11589
11590
115912) Linux
11592
11593Ensure that the ACPI interrupt has the proper trigger and
11594polarity.
11595
11596local_irq_disable is extraneous. (Matthew Wilcox)
11597
11598Make "acpi=off" actually do what it says, and not use the ACPI
11599interpreter *or* the tables.
11600
11601Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
11602Takayoshi)
11603
11604
116053) iASL Compiler/Disassembler  Version 20020829:
11606
11607Implemented namepath optimization for name declarations.  For
11608example, a declaration like "Method (\_SB_.ABCD)" would get
11609optimized to "Method (ABCD)" if the declaration is within the
11610\_SB_ scope.  This optimization is in addition to the named
11611reference path optimization first released in the previous
11612version. This would seem to complete all possible optimizations
11613for namepaths within the ASL/AML.
11614
11615If the target of a Scope() operator already exists, it must be an
11616object type that actually opens a scope -- such as a Device,
11617Method, Scope, etc.
11618
11619Implemented a check and warning for unreachable code in the same
11620block below a Return() statement.
11621
11622Fixed a problem where the listing file was not generated if the
11623compiler aborted if the maximum error count was exceeded (200).
11624
11625Fixed a problem where the typechecking of method return values was
11626broken.  This includes the check for a return value when the
11627method is invoked as a TermArg (a return value is expected.)
11628
11629Fixed a reported problem where EOF conditions during a quoted
11630string or comment caused a fault.
11631
11632
11633----------------------------------------
1163415 August 2002.  Summary of changes for this release.
11635
116361) ACPI CA Core Subsystem Version 20020815:
11637
11638Fixed a reported problem where a Store to a method argument that
11639contains a reference did not perform the indirect store correctly.
11640This problem was created during the conversion to the new
11641reference object model - the indirect store to a method argument
11642code was not updated to reflect the new model.
11643
11644Reworked the ACPI mode change code to better conform to ACPI 2.0,
11645handle corner cases, and improve code legibility (Kochi Takayoshi)
11646
11647Fixed a problem with the pathname parsing for the carat (^)
11648prefix.  The heavy use of the carat operator by the new namepath
11649optimization in the iASL compiler uncovered a problem with the AML
11650interpreter handling of this prefix.  In the case where one or
11651more carats precede a single nameseg, the nameseg was treated as
11652standalone and the search rule (to root) was inadvertently
11653applied.  This could cause both the iASL compiler and the
11654interpreter to find the wrong object or to miss the error that
11655should occur if the object does not exist at that exact pathname.
11656
11657Found and fixed the problem where the HP Pavilion DSDT would not
11658load.  This was a relatively minor tweak to the table loading code
11659(a problem caused by the unexpected encounter with a method
11660invocation not within a control method), but it does not solve the
11661overall issue of the execution of AML code at the table level.
11662This investigation is still ongoing.
11663
11664Code and Data Size: Current core subsystem library sizes are shown
11665below.  These are the code and data sizes for the acpica.lib
11666produced by the Microsoft Visual C++ 6.0 compiler, and these
11667values do not include any ACPI driver or OSPM code.  The debug
11668version of the code includes the debug output trace mechanism and
11669has a larger code and data size.  Note that these values will vary
11670depending on the efficiency of the compiler and the compiler
11671options used during generation.
11672
11673  Previous Release
11674    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
11675    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
11676  Current Release:
11677    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
11678    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
11679
11680
116812) Linux
11682
11683Remove redundant slab.h include (Brad Hards)
11684
11685Fix several bugs in thermal.c (Herbert Nachtnebel)
11686
11687Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
11688
11689Change acpi_system_suspend to use updated irq functions (Pavel
11690Machek)
11691
11692Export acpi_get_firmware_table (Matthew Wilcox)
11693
11694Use proper root proc entry for ACPI (Kochi Takayoshi)
11695
11696Fix early-boot table parsing (Bjorn Helgaas)
11697
11698
116993) iASL Compiler/Disassembler
11700
11701Reworked the compiler options to make them more consistent and to
11702use two-letter options where appropriate.  We were running out of
11703sensible letters.   This may break some makefiles, so check the
11704current options list by invoking the compiler with no parameters.
11705
11706Completed the design and implementation of the ASL namepath
11707optimization option for the compiler.  This option optimizes all
11708references to named objects to the shortest possible path.  The
11709first attempt tries to utilize a single nameseg (4 characters) and
11710the "search-to-root" algorithm used by the interpreter.  If that
11711cannot be used (because either the name is not in the search path
11712or there is a conflict with another object with the same name),
11713the pathname is optimized using the carat prefix (usually a
11714shorter string than specifying the entire path from the root.)
11715
11716Implemented support to obtain the DSDT from the Windows registry
11717(when the disassembly option is specified with no input file).
11718Added this code as the implementation for AcpiOsTableOverride in
11719the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
11720utility) to scan memory for the DSDT to the AcpiOsTableOverride
11721function in the DOS OSL to make the disassembler truly OS
11722independent.
11723
11724Implemented a new option to disassemble and compile in one step.
11725When used without an input filename, this option will grab the
11726DSDT from the local machine, disassemble it, and compile it in one
11727step.
11728
11729Added a warning message for invalid escapes (a backslash followed
11730by any character other than the allowable escapes).  This catches
11731the quoted string error "\_SB_" (which should be "\\_SB_" ).
11732
11733Also, there are numerous instances in the ACPI specification where
11734this error occurs.
11735
11736Added a compiler option to disable all optimizations.  This is
11737basically the "compatibility mode" because by using this option,
11738the AML code will come out exactly the same as other ASL
11739compilers.
11740
11741Added error messages for incorrectly ordered dependent resource
11742functions.  This includes: missing EndDependentFn macro at end of
11743dependent resource list, nested dependent function macros (both
11744start and end), and missing StartDependentFn macro.  These are
11745common errors that should be caught at compile time.
11746
11747Implemented _OSI support for the disassembler and compiler.  _OSI
11748must be included in the namespace for proper disassembly (because
11749the disassembler must know the number of arguments.)
11750
11751Added an "optimization" message type that is optional (off by
11752default).  This message is used for all optimizations - including
11753constant folding, integer optimization, and namepath optimization.
11754
11755----------------------------------------
1175625 July 2002.  Summary of changes for this release.
11757
11758
117591) ACPI CA Core Subsystem Version 20020725:
11760
11761The AML Disassembler has been enhanced to produce compilable ASL
11762code and has been integrated into the iASL compiler (see below) as
11763well as the single-step disassembly for the AML debugger and the
11764disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
11765resource templates and macros are fully supported.  The
11766disassembler has been tested on over 30 different AML files,
11767producing identical AML when the resulting disassembled ASL file
11768is recompiled with the same ASL compiler.
11769
11770Modified the Resource Manager to allow zero interrupts and zero
11771dma channels during the GetCurrentResources call.  This was
11772causing problems on some platforms.
11773
11774Added the AcpiOsRedirectOutput interface to the OSL to simplify
11775output redirection for the AcpiOsPrintf and AcpiOsVprintf
11776interfaces.
11777
11778Code and Data Size: Current core subsystem library sizes are shown
11779below.  These are the code and data sizes for the acpica.lib
11780produced by the Microsoft Visual C++ 6.0 compiler, and these
11781values do not include any ACPI driver or OSPM code.  The debug
11782version of the code includes the debug output trace mechanism and
11783has a larger code and data size.  Note that these values will vary
11784depending on the efficiency of the compiler and the compiler
11785options used during generation.
11786
11787  Previous Release
11788    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
11789    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
11790  Current Release:
11791    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
11792    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
11793
11794
117952) Linux
11796
11797Fixed a panic in the EC driver (Dominik Brodowski)
11798
11799Implemented checksum of the R/XSDT itself during Linux table scan
11800(Richard Schaal)
11801
11802
118033) iASL compiler
11804
11805The AML disassembler is integrated into the compiler.  The "-d"
11806option invokes the disassembler  to completely disassemble an
11807input AML file, producing as output a text ASL file with the
11808extension ".dsl" (to avoid name collisions with existing .asl
11809source files.)  A future enhancement will allow the disassembler
11810to obtain the BIOS DSDT from the registry under Windows.
11811
11812Fixed a problem with the VendorShort and VendorLong resource
11813descriptors where an invalid AML sequence was created.
11814
11815Implemented a fix for BufferData term in the ASL parser.  It was
11816inadvertently defined twice, allowing invalid syntax to pass and
11817causing reduction conflicts.
11818
11819Fixed a problem where the Ones opcode could get converted to a
11820value of zero if "Ones" was used where a byte, word or dword value
11821was expected.  The 64-bit value is now truncated to the correct
11822size with the correct value.
11823
11824
11825
11826----------------------------------------
1182702 July 2002.  Summary of changes for this release.
11828
11829
118301) ACPI CA Core Subsystem Version 20020702:
11831
11832The Table Manager code has been restructured to add several new
11833features.  Tables that are not required by the core subsystem
11834(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
11835validated in any way and are returned from AcpiGetFirmwareTable if
11836requested.  The AcpiOsTableOverride interface is now called for
11837each table that is loaded by the subsystem in order to allow the
11838host to override any table it chooses.  Previously, only the DSDT
11839could be overridden.  Added one new files, tbrsdt.c and
11840tbgetall.c.
11841
11842Fixed a problem with the conversion of internal package objects to
11843external objects (when a package is returned from a control
11844method.)  The return buffer length was set to zero instead of the
11845proper length of the package object.
11846
11847Fixed a reported problem with the use of the RefOf and DeRefOf
11848operators when passing reference arguments to control methods.  A
11849new type of Reference object is used internally for references
11850produced by the RefOf operator.
11851
11852Added additional error messages in the Resource Manager to explain
11853AE_BAD_DATA errors when they occur during resource parsing.
11854
11855Split the AcpiEnableSubsystem into two primitives to enable a
11856finer granularity initialization sequence.  These two calls should
11857be called in this order: AcpiEnableSubsystem (flags),
11858AcpiInitializeObjects (flags).  The flags parameter remains the
11859same.
11860
11861
118622) Linux
11863
11864Updated the ACPI utilities module to understand the new style of
11865fully resolved package objects that are now returned from the core
11866subsystem.  This eliminates errors of the form:
11867
11868    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
11869    acpi_utils-0430 [145] acpi_evaluate_reference:
11870        Invalid element in package (not a device reference)
11871
11872The method evaluation utility uses the new buffer allocation
11873scheme instead of calling AcpiEvaluate Object twice.
11874
11875Added support for ECDT. This allows the use of the Embedded
11876
11877Controller before the namespace has been fully initialized, which
11878is necessary for ACPI 2.0 support, and for some laptops to
11879initialize properly. (Laptops using ECDT are still rare, so only
11880limited testing was performed of the added functionality.)
11881
11882Fixed memory leaks in the EC driver.
11883
11884Eliminated a brittle code structure in acpi_bus_init().
11885
11886Eliminated the acpi_evaluate() helper function in utils.c. It is
11887no longer needed since acpi_evaluate_object can optionally
11888allocate memory for the return object.
11889
11890Implemented fix for keyboard hang when getting battery readings on
11891some systems (Stephen White)
11892
11893PCI IRQ routing update (Dominik Brodowski)
11894
11895Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
11896support
11897
11898----------------------------------------
1189911 June 2002.  Summary of changes for this release.
11900
11901
119021) ACPI CA Core Subsystem Version 20020611:
11903
11904Fixed a reported problem where constants such as Zero and One
11905appearing within _PRT packages were not handled correctly within
11906the resource manager code.  Originally reported against the ASL
11907compiler because the code generator now optimizes integers to
11908their minimal AML representation (i.e. AML constants if possible.)
11909The _PRT code now handles all AML constant opcodes correctly
11910(Zero, One, Ones, Revision).
11911
11912Fixed a problem with the Concatenate operator in the AML
11913interpreter where a buffer result object was incorrectly marked as
11914not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
11915
11916All package sub-objects are now fully resolved before they are
11917returned from the external ACPI interfaces.  This means that name
11918strings are resolved to object handles, and constant operators
11919(Zero, One, Ones, Revision) are resolved to Integers.
11920
11921Implemented immediate resolution of the AML Constant opcodes
11922(Zero, One, Ones, Revision) to Integer objects upon detection
11923within the AML stream. This has simplified and reduced the
11924generated code size of the subsystem by eliminating about 10
11925switch statements for these constants (which previously were
11926contained in Reference objects.)  The complicating issues are that
11927the Zero opcode is used as a "placeholder" for unspecified
11928optional target operands and stores to constants are defined to be
11929no-ops.
11930
11931Code and Data Size: Current core subsystem library sizes are shown
11932below. These are the code and data sizes for the acpica.lib
11933produced by the Microsoft Visual C++ 6.0 compiler, and these
11934values do not include any ACPI driver or OSPM code.  The debug
11935version of the code includes the debug output trace mechanism and
11936has a larger code and data size.  Note that these values will vary
11937depending on the efficiency of the compiler and the compiler
11938options used during generation.
11939
11940  Previous Release
11941    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
11942    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
11943  Current Release:
11944    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
11945    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
11946
11947
119482) Linux
11949
11950
11951Added preliminary support for obtaining _TRA data for PCI root
11952bridges (Bjorn Helgaas).
11953
11954
119553) iASL Compiler Version X2046:
11956
11957Fixed a problem where the "_DDN" reserved name was defined to be a
11958control method with one argument.  There are no arguments, and
11959_DDN does not have to be a control method.
11960
11961Fixed a problem with the Linux version of the compiler where the
11962source lines printed with error messages were the wrong lines.
11963This turned out to be the "LF versus CR/LF" difference between
11964Windows and Unix.  This appears to be the longstanding issue
11965concerning listing output and error messages.
11966
11967Fixed a problem with the Linux version of compiler where opcode
11968names within error messages were wrong.  This was caused by a
11969slight difference in the output of the Flex tool on Linux versus
11970Windows.
11971
11972Fixed a problem with the Linux compiler where the hex output files
11973contained some garbage data caused by an internal buffer overrun.
11974
11975
11976----------------------------------------
1197717 May 2002.  Summary of changes for this release.
11978
11979
119801) ACPI CA Core Subsystem Version 20020517:
11981
11982Implemented a workaround to an BIOS bug discovered on the HP
11983OmniBook where the FADT revision number and the table size are
11984inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
11985behavior is to fallback to using only the ACPI 1.0 fields of the
11986FADT if the table is too small to be a ACPI 2.0 table as claimed
11987by the revision number.  Although this is a BIOS bug, this is a
11988case where the workaround is simple enough and with no side
11989effects, so it seemed prudent to add it.  A warning message is
11990issued, however.
11991
11992Implemented minimum size checks for the fixed-length ACPI tables -
11993- the FADT and FACS, as well as consistency checks between the
11994revision number and the table size.
11995
11996Fixed a reported problem in the table override support where the
11997new table pointer was incorrectly treated as a physical address
11998instead of a logical address.
11999
12000Eliminated the use of the AE_AML_ERROR exception and replaced it
12001with more descriptive codes.
12002
12003Fixed a problem where an exception would occur if an ASL Field was
12004defined with no named Field Units underneath it (used by some
12005index fields).
12006
12007Code and Data Size: Current core subsystem library sizes are shown
12008below.  These are the code and data sizes for the acpica.lib
12009produced by the Microsoft Visual C++ 6.0 compiler, and these
12010values do not include any ACPI driver or OSPM code.  The debug
12011version of the code includes the debug output trace mechanism and
12012has a larger code and data size.  Note that these values will vary
12013depending on the efficiency of the compiler and the compiler
12014options used during generation.
12015
12016  Previous Release
12017    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
12018    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
12019  Current Release:
12020    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
12021    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
12022
12023
12024
120252) Linux
12026
12027Much work done on ACPI init (MADT and PCI IRQ routing support).
12028(Paul D. and Dominik Brodowski)
12029
12030Fix PCI IRQ-related panic on boot (Sam Revitch)
12031
12032Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
12033
12034Fix "MHz" typo (Dominik Brodowski)
12035
12036Fix RTC year 2000 issue (Dominik Brodowski)
12037
12038Preclude multiple button proc entries (Eric Brunet)
12039
12040Moved arch-specific code out of include/platform/aclinux.h
12041
120423) iASL Compiler Version X2044:
12043
12044Implemented error checking for the string used in the EISAID macro
12045(Usually used in the definition of the _HID object.)  The code now
12046strictly enforces the PnP format - exactly 7 characters, 3
12047uppercase letters and 4 hex digits.
12048
12049If a raw string is used in the definition of the _HID object
12050(instead of the EISAID macro), the string must contain all
12051alphanumeric characters (e.g., "*PNP0011" is not allowed because
12052of the asterisk.)
12053
12054Implemented checking for invalid use of ACPI reserved names for
12055most of the name creation operators (Name, Device, Event, Mutex,
12056OperationRegion, PowerResource, Processor, and ThermalZone.)
12057Previously, this check was only performed for control methods.
12058
12059Implemented an additional check on the Name operator to emit an
12060error if a reserved name that must be implemented in ASL as a
12061control method is used.  We know that a reserved name must be a
12062method if it is defined with input arguments.
12063
12064The warning emitted when a namespace object reference is not found
12065during the cross reference phase has been changed into an error.
12066The "External" directive should be used for names defined in other
12067modules.
12068
12069
120704) Tools and Utilities
12071
12072The 16-bit tools (adump16 and aexec16) have been regenerated and
12073tested.
12074
12075Fixed a problem with the output of both acpidump and adump16 where
12076the indentation of closing parentheses and brackets was not
12077
12078aligned properly with the parent block.
12079
12080
12081----------------------------------------
1208203 May 2002.  Summary of changes for this release.
12083
12084
120851) ACPI CA Core Subsystem Version 20020503:
12086
12087Added support a new OSL interface that allows the host operating
12088
12089system software to override the DSDT found in the firmware -
12090AcpiOsTableOverride.  With this interface, the OSL can examine the
12091version of the firmware DSDT and replace it with a different one
12092if desired.
12093
12094Added new external interfaces for accessing ACPI registers from
12095device drivers and other system software - AcpiGetRegister and
12096AcpiSetRegister.  This was simply an externalization of the
12097existing AcpiHwBitRegister interfaces.
12098
12099Fixed a regression introduced in the previous build where the
12100ASL/AML CreateField operator always returned an error,
12101"destination must be a NS Node".
12102
12103Extended the maximum time (before failure) to successfully enable
12104ACPI mode to 3 seconds.
12105
12106Code and Data Size: Current core subsystem library sizes are shown
12107below.  These are the code and data sizes for the acpica.lib
12108produced by the Microsoft Visual C++ 6.0 compiler, and these
12109values do not include any ACPI driver or OSPM code.  The debug
12110version of the code includes the debug output trace mechanism and
12111has a larger code and data size.  Note that these values will vary
12112depending on the efficiency of the compiler and the compiler
12113options used during generation.
12114
12115  Previous Release
12116    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
12117    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
12118  Current Release:
12119    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
12120    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
12121
12122
121232) Linux
12124
12125Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
12126free. While 3 out of 4 of our in-house systems work fine, the last
12127one still hangs when testing the LAPIC timer.
12128
12129Renamed many files in 2.5 kernel release to omit "acpi_" from the
12130name.
12131
12132Added warning on boot for Presario 711FR.
12133
12134Sleep improvements (Pavel Machek)
12135
12136ACPI can now be built without CONFIG_PCI enabled.
12137
12138IA64: Fixed memory map functions (JI Lee)
12139
12140
121413) iASL Compiler Version X2043:
12142
12143Added support to allow the compiler to be integrated into the MS
12144VC++ development environment for one-button compilation of single
12145files or entire projects -- with error-to-source-line mapping.
12146
12147Implemented support for compile-time constant folding for the
12148Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
12149specification.  This allows the ASL writer to use expressions
12150instead of Integer/Buffer/String constants in terms that must
12151evaluate to constants at compile time and will also simplify the
12152emitted AML in any such sub-expressions that can be folded
12153(evaluated at compile-time.)  This increases the size of the
12154compiler significantly because a portion of the ACPI CA AML
12155interpreter is included within the compiler in order to pre-
12156evaluate constant expressions.
12157
12158
12159Fixed a problem with the "Unicode" ASL macro that caused the
12160compiler to fault.  (This macro is used in conjunction with the
12161_STR reserved name.)
12162
12163Implemented an AML opcode optimization to use the Zero, One, and
12164Ones opcodes where possible to further reduce the size of integer
12165constants and thus reduce the overall size of the generated AML
12166code.
12167
12168Implemented error checking for new reserved terms for ACPI version
121692.0A.
12170
12171Implemented the -qr option to display the current list of ACPI
12172reserved names known to the compiler.
12173
12174Implemented the -qc option to display the current list of ASL
12175operators that are allowed within constant expressions and can
12176therefore be folded at compile time if the operands are constants.
12177
12178
121794) Documentation
12180
12181Updated the Programmer's Reference for new interfaces, data types,
12182and memory allocation model options.
12183
12184Updated the iASL Compiler User Reference to apply new format and
12185add information about new features and options.
12186
12187----------------------------------------
1218819 April 2002.  Summary of changes for this release.
12189
121901) ACPI CA Core Subsystem Version 20020419:
12191
12192The source code base for the Core Subsystem has been completely
12193cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
12194versions.  The Lint option files used are included in the
12195/acpi/generate/lint directory.
12196
12197Implemented enhanced status/error checking across the entire
12198Hardware manager subsystem.  Any hardware errors (reported from
12199the OSL) are now bubbled up and will abort a running control
12200method.
12201
12202
12203Fixed a problem where the per-ACPI-table integer width (32 or 64)
12204was stored only with control method nodes, causing a fault when
12205non-control method code was executed during table loading.  The
12206solution implemented uses a global variable to indicate table
12207width across the entire ACPI subsystem.  Therefore, ACPI CA does
12208not support mixed integer widths across different ACPI tables
12209(DSDT, SSDT).
12210
12211Fixed a problem where NULL extended fields (X fields) in an ACPI
122122.0 ACPI FADT caused the table load to fail.  Although the
12213existing ACPI specification is a bit fuzzy on this topic, the new
12214behavior is to fall back on a ACPI 1.0 field if the corresponding
12215ACPI 2.0 X field is zero (even though the table revision indicates
12216a full ACPI 2.0 table.)  The ACPI specification will be updated to
12217clarify this issue.
12218
12219Fixed a problem with the SystemMemory operation region handler
12220where memory was always accessed byte-wise even if the AML-
12221specified access width was larger than a byte.  This caused
12222problems on systems with memory-mapped I/O.  Memory is now
12223accessed with the width specified.  On systems that do not support
12224non-aligned transfers, a check is made to guarantee proper address
12225alignment before proceeding in order to avoid an AML-caused
12226alignment fault within the kernel.
12227
12228
12229Fixed a problem with the ExtendedIrq resource where only one byte
12230of the 4-byte Irq field was extracted.
12231
12232Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
12233function was out of date and required a rewrite.
12234
12235Code and Data Size: Current core subsystem library sizes are shown
12236below.  These are the code and data sizes for the acpica.lib
12237produced by the Microsoft Visual C++ 6.0 compiler, and these
12238values do not include any ACPI driver or OSPM code.  The debug
12239version of the code includes the debug output trace mechanism and
12240has a larger code and data size.  Note that these values will vary
12241depending on the efficiency of the compiler and the compiler
12242options used during generation.
12243
12244  Previous Release
12245    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
12246    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
12247  Current Release:
12248    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
12249    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
12250
12251
122522) Linux
12253
12254PCI IRQ routing fixes (Dominik Brodowski)
12255
12256
122573) iASL Compiler Version X2042:
12258
12259Implemented an additional compile-time error check for a field
12260unit whose size + minimum access width would cause a run-time
12261access beyond the end-of-region.  Previously, only the field size
12262itself was checked.
12263
12264The Core subsystem and iASL compiler now share a common parse
12265object in preparation for compile-time evaluation of the type
122663/4/5 ASL operators.
12267
12268
12269----------------------------------------
12270Summary of changes for this release: 03_29_02
12271
122721) ACPI CA Core Subsystem Version 20020329:
12273
12274Implemented support for late evaluation of TermArg operands to
12275Buffer and Package objects.  This allows complex expressions to be
12276used in the declarations of these object types.
12277
12278Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
122791.0, if the field was larger than 32 bits, it was returned as a
12280buffer - otherwise it was returned as an integer.  In ACPI 2.0,
12281the field is returned as a buffer only if the field is larger than
1228264 bits.  The TableRevision is now considered when making this
12283conversion to avoid incompatibility with existing ASL code.
12284
12285Implemented logical addressing for AcpiOsGetRootPointer.  This
12286allows an RSDP with either a logical or physical address.  With
12287this support, the host OS can now override all ACPI tables with
12288one logical RSDP.  Includes implementation of  "typed" pointer
12289support to allow a common data type for both physical and logical
12290pointers internally.  This required a change to the
12291AcpiOsGetRootPointer interface.
12292
12293Implemented the use of ACPI 2.0 Generic Address Structures for all
12294GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
12295mapped I/O for these ACPI features.
12296
12297Initialization now ignores not only non-required tables (All
12298tables other than the FADT, FACS, DSDT, and SSDTs), but also does
12299not validate the table headers of unrecognized tables.
12300
12301Fixed a problem where a notify handler could only be
12302installed/removed on an object of type Device.  All "notify"
12303
12304objects are now supported -- Devices, Processor, Power, and
12305Thermal.
12306
12307Removed most verbosity from the ACPI_DB_INFO debug level.  Only
12308critical information is returned when this debug level is enabled.
12309
12310Code and Data Size: Current core subsystem library sizes are shown
12311below.  These are the code and data sizes for the acpica.lib
12312produced by the Microsoft Visual C++ 6.0 compiler, and these
12313values do not include any ACPI driver or OSPM code.  The debug
12314version of the code includes the debug output trace mechanism and
12315has a larger code and data size.  Note that these values will vary
12316depending on the efficiency of the compiler and the compiler
12317options used during generation.
12318
12319  Previous Release
12320    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
12321    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
12322  Current Release:
12323    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
12324    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
12325
12326
123272) Linux:
12328
12329The processor driver (acpi_processor.c) now fully supports ACPI
123302.0-based processor performance control (e.g. Intel(R)
12331SpeedStep(TM) technology) Note that older laptops that only have
12332the Intel "applet" interface are not supported through this.  The
12333'limit' and 'performance' interface (/proc) are fully functional.
12334[Note that basic policy for controlling performance state
12335transitions will be included in the next version of ospmd.]  The
12336idle handler was modified to more aggressively use C2, and PIIX4
12337errata handling underwent a complete overhaul (big thanks to
12338Dominik Brodowski).
12339
12340Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
12341based devices in the ACPI namespace are now dynamically bound
12342(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
12343This allows, among other things, ACPI to resolve bus numbers for
12344subordinate PCI bridges.
12345
12346Enhanced PCI IRQ routing to get the proper bus number for _PRT
12347entries defined underneath PCI bridges.
12348
12349Added IBM 600E to bad bios list due to invalid _ADR value for
12350PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
12351
12352In the process of adding full MADT support (e.g. IOAPIC) for IA32
12353(acpi.c, mpparse.c) -- stay tuned.
12354
12355Added back visual differentiation between fixed-feature and
12356control-method buttons in dmesg.  Buttons are also subtyped (e.g.
12357button/power/PWRF) to simplify button identification.
12358
12359We no longer use -Wno-unused when compiling debug. Please ignore
12360any "_THIS_MODULE defined but not used" messages.
12361
12362Can now shut down the system using "magic sysrq" key.
12363
12364
123653) iASL Compiler version 2041:
12366
12367Fixed a problem where conversion errors for hex/octal/decimal
12368constants were not reported.
12369
12370Implemented a fix for the General Register template Address field.
12371This field was 8 bits when it should be 64.
12372
12373Fixed a problem where errors/warnings were no longer being emitted
12374within the listing output file.
12375
12376Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
12377exactly 4 characters, alphanumeric only.
12378
12379
12380
12381
12382----------------------------------------
12383Summary of changes for this release: 03_08_02
12384
12385
123861) ACPI CA Core Subsystem Version 20020308:
12387
12388Fixed a problem with AML Fields where the use of the "AccessAny"
12389keyword could cause an interpreter error due to attempting to read
12390or write beyond the end of the parent Operation Region.
12391
12392Fixed a problem in the SystemMemory Operation Region handler where
12393an attempt was made to map memory beyond the end of the region.
12394This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
12395errors on some Linux systems.
12396
12397Fixed a problem where the interpreter/namespace "search to root"
12398algorithm was not functioning for some object types.  Relaxed the
12399internal restriction on the search to allow upsearches for all
12400external object types as well as most internal types.
12401
12402
124032) Linux:
12404
12405We now use safe_halt() macro versus individual calls to sti | hlt.
12406
12407Writing to the processor limit interface should now work. "echo 1"
12408will increase the limit, 2 will decrease, and 0 will reset to the
12409
12410default.
12411
12412
124133) ASL compiler:
12414
12415Fixed segfault on Linux version.
12416
12417
12418----------------------------------------
12419Summary of changes for this release: 02_25_02
12420
124211) ACPI CA Core Subsystem:
12422
12423
12424Fixed a problem where the GPE bit masks were not initialized
12425properly, causing erratic GPE behavior.
12426
12427Implemented limited support for multiple calling conventions.  The
12428code can be generated with either the VPL (variable parameter
12429list, or "C") convention, or the FPL (fixed parameter list, or
12430"Pascal") convention.  The core subsystem is about 3.4% smaller
12431when generated with FPL.
12432
12433
124342) Linux
12435
12436Re-add some /proc/acpi/event functionality that was lost during
12437the rewrite
12438
12439Resolved issue with /proc events for fixed-feature buttons showing
12440up as the system device.
12441
12442Fixed checks on C2/C3 latencies to be inclusive of maximum values.
12443
12444Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
12445
12446Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
12447
12448Fixed limit interface & usage to fix bugs with passive cooling
12449hysterisis.
12450
12451Restructured PRT support.
12452
12453
12454----------------------------------------
12455Summary of changes for this label: 02_14_02
12456
12457
124581) ACPI CA Core Subsystem:
12459
12460Implemented support in AcpiLoadTable to allow loading of FACS and
12461FADT tables.
12462
12463Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
12464been removed.  All 64-bit platforms should be migrated to the ACPI
124652.0 tables.  The actbl71.h header has been removed from the source
12466tree.
12467
12468All C macros defined within the subsystem have been prefixed with
12469"ACPI_" to avoid collision with other system include files.
12470
12471Removed the return value for the two AcpiOsPrint interfaces, since
12472it is never used and causes lint warnings for ignoring the return
12473value.
12474
12475Added error checking to all internal mutex acquire and release
12476calls.  Although a failure from one of these interfaces is
12477probably a fatal system error, these checks will cause the
12478immediate abort of the currently executing method or interface.
12479
12480Fixed a problem where the AcpiSetCurrentResources interface could
12481fault.  This was a side effect of the deployment of the new memory
12482allocation model.
12483
12484Fixed a couple of problems with the Global Lock support introduced
12485in the last major build.  The "common" (1.0/2.0) internal FACS was
12486being overwritten with the FACS signature and clobbering the
12487Global Lock pointer.  Also, the actual firmware FACS was being
12488unmapped after construction of the "common" FACS, preventing
12489access to the actual Global Lock field within it.  The "common"
12490internal FACS is no longer installed as an actual ACPI table; it
12491is used simply as a global.
12492
12493Code and Data Size: Current core subsystem library sizes are shown
12494below.  These are the code and data sizes for the acpica.lib
12495produced by the Microsoft Visual C++ 6.0 compiler, and these
12496values do not include any ACPI driver or OSPM code.  The debug
12497version of the code includes the debug output trace mechanism and
12498has a larger code and data size.  Note that these values will vary
12499depending on the efficiency of the compiler and the compiler
12500options used during generation.
12501
12502  Previous Release (02_07_01)
12503    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
12504    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
12505  Current Release:
12506    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
12507    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
12508
12509
125102) Linux
12511
12512Updated Linux-specific code for core macro and OSL interface
12513changes described above.
12514
12515Improved /proc/acpi/event. It now can be opened only once and has
12516proper poll functionality.
12517
12518Fixed and restructured power management (acpi_bus).
12519
12520Only create /proc "view by type" when devices of that class exist.
12521
12522Fixed "charging/discharging" bug (and others) in acpi_battery.
12523
12524Improved thermal zone code.
12525
12526
125273) ASL Compiler, version X2039:
12528
12529
12530Implemented the new compiler restriction on ASL String hex/octal
12531escapes to non-null, ASCII values.  An error results if an invalid
12532value is used.  (This will require an ACPI 2.0 specification
12533change.)
12534
12535AML object labels that are output to the optional C and ASM source
12536are now prefixed with both the ACPI table signature and table ID
12537to help guarantee uniqueness within a large BIOS project.
12538
12539
12540----------------------------------------
12541Summary of changes for this label: 02_01_02
12542
125431) ACPI CA Core Subsystem:
12544
12545ACPI 2.0 support is complete in the entire Core Subsystem and the
12546ASL compiler. All new ACPI 2.0 operators are implemented and all
12547other changes for ACPI 2.0 support are complete.  With
12548simultaneous code and data optimizations throughout the subsystem,
12549ACPI 2.0 support has been implemented with almost no additional
12550cost in terms of code and data size.
12551
12552Implemented a new mechanism for allocation of return buffers.  If
12553the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
12554be allocated on behalf of the caller.  Consolidated all return
12555buffer validation and allocation to a common procedure.  Return
12556buffers will be allocated via the primary OSL allocation interface
12557since it appears that a separate pool is not needed by most users.
12558If a separate pool is required for these buffers, the caller can
12559still use the original mechanism and pre-allocate the buffer(s).
12560
12561Implemented support for string operands within the DerefOf
12562operator.
12563
12564Restructured the Hardware and Event managers to be table driven,
12565simplifying the source code and reducing the amount of generated
12566code.
12567
12568Split the common read/write low-level ACPI register bitfield
12569procedure into a separate read and write, simplifying the code
12570considerably.
12571
12572Obsoleted the AcpiOsCallocate OSL interface.  This interface was
12573used only a handful of times and didn't have enough critical mass
12574for a separate interface.  Replaced with a common calloc procedure
12575in the core.
12576
12577Fixed a reported problem with the GPE number mapping mechanism
12578that allows GPE1 numbers to be non-contiguous with GPE0.
12579Reorganized the GPE information and shrunk a large array that was
12580originally large enough to hold info for all possible GPEs (256)
12581to simply large enough to hold all GPEs up to the largest GPE
12582number on the machine.
12583
12584Fixed a reported problem with resource structure alignment on 64-
12585bit platforms.
12586
12587Changed the AcpiEnableEvent and AcpiDisableEvent external
12588interfaces to not require any flags for the common case of
12589enabling/disabling a GPE.
12590
12591Implemented support to allow a "Notify" on a Processor object.
12592
12593Most TBDs in comments within the source code have been resolved
12594and eliminated.
12595
12596
12597Fixed a problem in the interpreter where a standalone parent
12598prefix (^) was not handled correctly in the interpreter and
12599debugger.
12600
12601Removed obsolete and unnecessary GPE save/restore code.
12602
12603Implemented Field support in the ASL Load operator.  This allows a
12604table to be loaded from a named field, in addition to loading a
12605table directly from an Operation Region.
12606
12607Implemented timeout and handle support in the external Global Lock
12608interfaces.
12609
12610Fixed a problem in the AcpiDump utility where pathnames were no
12611longer being generated correctly during the dump of named objects.
12612
12613Modified the AML debugger to give a full display of if/while
12614predicates instead of just one AML opcode at a time.  (The
12615predicate can have several nested ASL statements.)  The old method
12616was confusing during single stepping.
12617
12618Code and Data Size: Current core subsystem library sizes are shown
12619below. These are the code and data sizes for the acpica.lib
12620produced by the Microsoft Visual C++ 6.0 compiler, and these
12621values do not include any ACPI driver or OSPM code.  The debug
12622version of the code includes the debug output trace mechanism and
12623has a larger code and data size.  Note that these values will vary
12624depending on the efficiency of the compiler and the compiler
12625options used during generation.
12626
12627  Previous Release (12_18_01)
12628     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
12629     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
12630   Current Release:
12631     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
12632     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
12633
126342) Linux
12635
12636 Implemented fix for PIIX reverse throttling errata (Processor
12637driver)
12638
12639Added new Limit interface (Processor and Thermal drivers)
12640
12641New thermal policy (Thermal driver)
12642
12643Many updates to /proc
12644
12645Battery "low" event support (Battery driver)
12646
12647Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
12648
12649IA32 - IA64 initialization unification, no longer experimental
12650
12651Menuconfig options redesigned
12652
126533) ASL Compiler, version X2037:
12654
12655Implemented several new output features to simplify integration of
12656AML code into  firmware: 1) Output the AML in C source code with
12657labels for each named ASL object.  The    original ASL source code
12658is interleaved as C comments. 2) Output the AML in ASM source code
12659with labels and interleaved ASL    source. 3) Output the AML in
12660raw hex table form, in either C or ASM.
12661
12662Implemented support for optional string parameters to the
12663LoadTable operator.
12664
12665Completed support for embedded escape sequences within string
12666literals.  The compiler now supports all single character escapes
12667as well as the Octal and Hex escapes.  Note: the insertion of a
12668null byte into a string literal (via the hex/octal escape) causes
12669the string to be immediately terminated.  A warning is issued.
12670
12671Fixed a problem where incorrect AML was generated for the case
12672where an ASL namepath consists of a single parent prefix (
12673
12674) with no trailing name segments.
12675
12676The compiler has been successfully generated with a 64-bit C
12677compiler.
12678
12679
12680
12681
12682----------------------------------------
12683Summary of changes for this label: 12_18_01
12684
126851) Linux
12686
12687Enhanced blacklist with reason and severity fields. Any table's
12688signature may now be used to identify a blacklisted system.
12689
12690Call _PIC control method to inform the firmware which interrupt
12691model the OS is using. Turn on any disabled link devices.
12692
12693Cleaned up busmgr /proc error handling (Andreas Dilger)
12694
12695 2) ACPI CA Core Subsystem:
12696
12697Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
12698while loop)
12699
12700Completed implementation of the ACPI 2.0 "Continue",
12701"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
12702operators.  All new ACPI 2.0 operators are now implemented in both
12703the ASL compiler and the AML interpreter.  The only remaining ACPI
127042.0 task is support for the String data type in the DerefOf
12705operator.  Fixed a problem with AcquireMutex where the status code
12706was lost if the caller had to actually wait for the mutex.
12707
12708Increased the maximum ASL Field size from 64K bits to 4G bits.
12709
12710Completed implementation of the external Global Lock interfaces --
12711AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
12712Handler parameters were added.
12713
12714Completed another pass at removing warnings and issues when
12715compiling with 64-bit compilers.  The code now compiles cleanly
12716with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
12717add and subtract (diff) macros have changed considerably.
12718
12719
12720Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1272164-bit platforms, 32-bits on all others.  This type is used
12722wherever memory allocation and/or the C sizeof() operator is used,
12723and affects the OSL memory allocation interfaces AcpiOsAllocate
12724and AcpiOsCallocate.
12725
12726Implemented sticky user breakpoints in the AML debugger.
12727
12728Code and Data Size: Current core subsystem library sizes are shown
12729below. These are the code and data sizes for the acpica.lib
12730produced by the Microsoft Visual C++ 6.0 compiler, and these
12731values do not include any ACPI driver or OSPM code.  The debug
12732version of the code includes the debug output trace mechanism and
12733has a larger code and data size. Note that these values will vary
12734depending on the efficiency of the compiler and the compiler
12735options used during generation.
12736
12737  Previous Release (12_05_01)
12738     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
12739     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
12740   Current Release:
12741     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
12742     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
12743
12744 3) ASL Compiler, version X2034:
12745
12746Now checks for (and generates an error if detected) the use of a
12747Break or Continue statement without an enclosing While statement.
12748
12749
12750Successfully generated the compiler with the Intel 64-bit C
12751compiler.
12752
12753 ----------------------------------------
12754Summary of changes for this label: 12_05_01
12755
12756 1) ACPI CA Core Subsystem:
12757
12758The ACPI 2.0 CopyObject operator is fully implemented.  This
12759operator creates a new copy of an object (and is also used to
12760bypass the "implicit conversion" mechanism of the Store operator.)
12761
12762The ACPI 2.0 semantics for the SizeOf operator are fully
12763implemented.  The change is that performing a SizeOf on a
12764reference object causes an automatic dereference of the object to
12765tha actual value before the size is evaluated. This behavior was
12766undefined in ACPI 1.0.
12767
12768The ACPI 2.0 semantics for the Extended IRQ resource descriptor
12769have been implemented.  The interrupt polarity and mode are now
12770independently set.
12771
12772Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
12773appearing in Package objects were not properly converted to
12774integers when the internal Package was converted to an external
12775object (via the AcpiEvaluateObject interface.)
12776
12777Fixed a problem with the namespace object deletion mechanism for
12778objects created by control methods.  There were two parts to this
12779problem: 1) Objects created during the initialization phase method
12780parse were not being deleted, and 2) The object owner ID mechanism
12781to track objects was broken.
12782
12783Fixed a problem where the use of the ASL Scope operator within a
12784control method would result in an invalid opcode exception.
12785
12786Fixed a problem introduced in the previous label where the buffer
12787length required for the _PRT structure was not being returned
12788correctly.
12789
12790Code and Data Size: Current core subsystem library sizes are shown
12791below. These are the code and data sizes for the acpica.lib
12792produced by the Microsoft Visual C++ 6.0 compiler, and these
12793values do not include any ACPI driver or OSPM code.  The debug
12794version of the code includes the debug output trace mechanism and
12795has a larger code and data size.  Note that these values will vary
12796depending on the efficiency of the compiler and the compiler
12797options used during generation.
12798
12799  Previous Release (11_20_01)
12800     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
12801     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
12802
12803  Current Release:
12804     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
12805     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
12806
12807 2) Linux:
12808
12809Updated all files to apply cleanly against 2.4.16.
12810
12811Added basic PCI Interrupt Routing Table (PRT) support for IA32
12812(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
12813version supports both static and dyanmic PRT entries, but dynamic
12814entries are treated as if they were static (not yet
12815reconfigurable).  Architecture- specific code to use this data is
12816absent on IA32 but should be available shortly.
12817
12818Changed the initialization sequence to start the ACPI interpreter
12819(acpi_init) prior to initialization of the PCI driver (pci_init)
12820in init/main.c.  This ordering is required to support PRT and
12821facilitate other (future) enhancement.  A side effect is that the
12822ACPI bus driver and certain device drivers can no longer be loaded
12823as modules.
12824
12825Modified the 'make menuconfig' options to allow PCI Interrupt
12826Routing support to be included without the ACPI Bus and other
12827device drivers.
12828
12829 3) ASL Compiler, version X2033:
12830
12831Fixed some issues with the use of the new CopyObject and
12832DataTableRegion operators.  Both are fully functional.
12833
12834 ----------------------------------------
12835Summary of changes for this label: 11_20_01
12836
12837 20 November 2001.  Summary of changes for this release.
12838
12839 1) ACPI CA Core Subsystem:
12840
12841Updated Index support to match ACPI 2.0 semantics.  Storing a
12842Integer, String, or Buffer to an Index of a Buffer will store only
12843the least-significant byte of the source to the Indexed buffer
12844byte.  Multiple writes are not performed.
12845
12846Fixed a problem where the access type used in an AccessAs ASL
12847operator was not recorded correctly into the field object.
12848
12849Fixed a problem where ASL Event objects were created in a
12850signalled state. Events are now created in an unsignalled state.
12851
12852The internal object cache is now purged after table loading and
12853initialization to reduce the use of dynamic kernel memory -- on
12854the assumption that object use is greatest during the parse phase
12855of the entire table (versus the run-time use of individual control
12856methods.)
12857
12858ACPI 2.0 variable-length packages are now fully operational.
12859
12860Code and Data Size: Code and Data optimizations have permitted new
12861feature development with an actual reduction in the library size.
12862Current core subsystem library sizes are shown below.  These are
12863the code and data sizes for the acpica.lib produced by the
12864Microsoft Visual C++ 6.0 compiler, and these values do not include
12865any ACPI driver or OSPM code.  The debug version of the code
12866includes the debug output trace mechanism and has a larger code
12867and data size.  Note that these values will vary depending on the
12868efficiency of the compiler and the compiler options used during
12869generation.
12870
12871  Previous Release (11_09_01):
12872     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
12873     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
12874
12875  Current Release:
12876     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
12877     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
12878
12879 2) Linux:
12880
12881Enhanced the ACPI boot-time initialization code to allow the use
12882of Local APIC tables for processor enumeration on IA-32, and to
12883pave the way for a fully MPS-free boot (on SMP systems) in the
12884near future.  This functionality replaces
12885arch/i386/kernel/acpitables.c, which was introduced in an earlier
128862.4.15-preX release.  To enable this feature you must add
12887"acpi_boot=on" to the kernel command line -- see the help entry
12888for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
12889the works...
12890
12891Restructured the configuration options to allow boot-time table
12892parsing support without inclusion of the ACPI Interpreter (and
12893other) code.
12894
12895NOTE: This release does not include fixes for the reported events,
12896power-down, and thermal passive cooling issues (coming soon).
12897
12898 3) ASL Compiler:
12899
12900Added additional typechecking for Fields within restricted access
12901Operation Regions.  All fields within EC and CMOS regions must be
12902declared with ByteAcc. All fields withing SMBus regions must be
12903declared with the BufferAcc access type.
12904
12905Fixed a problem where the listing file output of control methods
12906no longer interleaved the actual AML code with the ASL source
12907code.
12908
12909
12910
12911
12912----------------------------------------
12913Summary of changes for this label: 11_09_01
12914
129151) ACPI CA Core Subsystem:
12916
12917Implemented ACPI 2.0-defined support for writes to fields with a
12918Buffer, String, or Integer source operand that is smaller than the
12919target field. In these cases, the source operand is zero-extended
12920to fill the target field.
12921
12922Fixed a problem where a Field starting bit offset (within the
12923parent operation region) was calculated incorrectly if the
12924
12925alignment of the field differed from the access width.  This
12926affected CreateWordField, CreateDwordField, CreateQwordField, and
12927possibly other fields that use the "AccessAny" keyword.
12928
12929Fixed a problem introduced in the 11_02_01 release where indirect
12930stores through method arguments did not operate correctly.
12931
129322) Linux:
12933
12934Implemented boot-time ACPI table parsing support
12935(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
12936facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
12937legacy BIOS interfaces (e.g. MPS) for the configuration of system
12938processors, memory, and interrupts during setup_arch().  Note that
12939this patch does not include the required architecture-specific
12940changes required to apply this information -- subsequent patches
12941will be posted for both IA32 and IA64 to achieve this.
12942
12943Added low-level sleep support for IA32 platforms, courtesy of Pat
12944Mochel. This allows IA32 systems to transition to/from various
12945sleeping states (e.g. S1, S3), although the lack of a centralized
12946driver model and power-manageable drivers will prevent its
12947(successful) use on most systems.
12948
12949Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
12950submenu, unified IA32 and IA64 options, added new "Boot using ACPI
12951tables" option, etc.
12952
12953Increased the default timeout for the EC driver from 1ms to 10ms
12954(1000 cycles of 10us) to try to address AE_TIME errors during EC
12955transactions.
12956
12957 ----------------------------------------
12958Summary of changes for this label: 11_02_01
12959
129601) ACPI CA Core Subsystem:
12961
12962ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
12963(QWordAcc keyword). All ACPI 2.0 64-bit support is now
12964implemented.
12965
12966OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
12967changes to support ACPI 2.0 Qword field access.  Read/Write
12968PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
12969accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
12970the value parameter for the address space handler interface is now
12971an ACPI_INTEGER.  OSL implementations of these interfaces must now
12972handle the case where the Width parameter is 64.
12973
12974Index Fields: Fixed a problem where unaligned bit assembly and
12975disassembly for IndexFields was not supported correctly.
12976
12977Index and Bank Fields:  Nested Index and Bank Fields are now
12978supported. During field access, a check is performed to ensure
12979that the value written to an Index or Bank register is not out of
12980the range of the register.  The Index (or Bank) register is
12981written before each access to the field data. Future support will
12982include allowing individual IndexFields to be wider than the
12983DataRegister width.
12984
12985Fields: Fixed a problem where the AML interpreter was incorrectly
12986attempting to write beyond the end of a Field/OpRegion.  This was
12987a boundary case that occurred when a DWORD field was written to a
12988BYTE access OpRegion, forcing multiple writes and causing the
12989interpreter to write one datum too many.
12990
12991Fields: Fixed a problem with Field/OpRegion access where the
12992starting bit address of a field was incorrectly calculated if the
12993current access type was wider than a byte (WordAcc, DwordAcc, or
12994QwordAcc).
12995
12996Fields: Fixed a problem where forward references to individual
12997FieldUnits (individual Field names within a Field definition) were
12998not resolved during the AML table load.
12999
13000Fields: Fixed a problem where forward references from a Field
13001definition to the parent Operation Region definition were not
13002resolved during the AML table load.
13003
13004Fields: Duplicate FieldUnit names within a scope are now detected
13005during AML table load.
13006
13007Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
13008returned an incorrect name for the root node.
13009
13010Code and Data Size: Code and Data optimizations have permitted new
13011feature development with an actual reduction in the library size.
13012Current core subsystem library sizes are shown below.  These are
13013the code and data sizes for the acpica.lib produced by the
13014Microsoft Visual C++ 6.0 compiler, and these values do not include
13015any ACPI driver or OSPM code.  The debug version of the code
13016includes the debug output trace mechanism and has a larger code
13017and data size.  Note that these values will vary depending on the
13018efficiency of the compiler and the compiler options used during
13019generation.
13020
13021  Previous Release (10_18_01):
13022     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
13023     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
13024
13025  Current Release:
13026     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
13027     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
13028
13029 2) Linux:
13030
13031Improved /proc processor output (Pavel Machek) Re-added
13032MODULE_LICENSE("GPL") to all modules.
13033
13034 3) ASL Compiler version X2030:
13035
13036Duplicate FieldUnit names within a scope are now detected and
13037flagged as errors.
13038
13039 4) Documentation:
13040
13041Programmer Reference updated to reflect OSL and address space
13042handler interface changes described above.
13043
13044----------------------------------------
13045Summary of changes for this label: 10_18_01
13046
13047ACPI CA Core Subsystem:
13048
13049Fixed a problem with the internal object reference count mechanism
13050that occasionally caused premature object deletion. This resolves
13051all of the outstanding problem reports where an object is deleted
13052in the middle of an interpreter evaluation.  Although this problem
13053only showed up in rather obscure cases, the solution to the
13054problem involved an adjustment of all reference counts involving
13055objects attached to namespace nodes.
13056
13057Fixed a problem with Field support in the interpreter where
13058writing to an aligned field whose length is an exact multiple (2
13059or greater) of the field access granularity would cause an attempt
13060to write beyond the end of the field.
13061
13062The top level AML opcode execution functions within the
13063interpreter have been renamed with a more meaningful and
13064consistent naming convention.  The modules exmonad.c and
13065exdyadic.c were eliminated.  New modules are exoparg1.c,
13066exoparg2.c, exoparg3.c, and exoparg6.c.
13067
13068Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
13069
13070Fixed a problem where the AML debugger was causing some internal
13071objects to not be deleted during subsystem termination.
13072
13073Fixed a problem with the external AcpiEvaluateObject interface
13074where the subsystem would fault if the named object to be
13075evaluated refered to a constant such as Zero, Ones, etc.
13076
13077Fixed a problem with IndexFields and BankFields where the
13078subsystem would fault if the index, data, or bank registers were
13079not defined in the same scope as the field itself.
13080
13081Added printf format string checking for compilers that support
13082this feature.  Corrected more than 50 instances of issues with
13083format specifiers within invocations of ACPI_DEBUG_PRINT
13084throughout the core subsystem code.
13085
13086The ASL "Revision" operator now returns the ACPI support level
13087implemented in the core - the value "2" since the ACPI 2.0 support
13088is more than 50% implemented.
13089
13090Enhanced the output of the AML debugger "dump namespace" command
13091to output in a more human-readable form.
13092
13093Current core subsystem library code sizes are shown below.  These
13094
13095are the code and data sizes for the acpica.lib produced by the
13096Microsoft Visual C++ 6.0 compiler, and these values do not include
13097any ACPI driver or OSPM code.  The debug version of the code
13098includes the full debug trace mechanism -- leading to a much
13099
13100larger code and data size.  Note that these values will vary
13101depending on the efficiency of the compiler and the compiler
13102options used during generation.
13103
13104     Previous Label (09_20_01):
13105     Non-Debug Version:    65K Code,     5K Data,     70K Total
13106     Debug Version:       138K Code,    58K Data,    196K Total
13107
13108     This Label:
13109
13110     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
13111     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
13112
13113Linux:
13114
13115Implemented a "Bad BIOS Blacklist" to track machines that have
13116known ASL/AML problems.
13117
13118Enhanced the /proc interface for the thermal zone driver and added
13119support for _HOT (the critical suspend trip point).  The 'info'
13120file now includes threshold/policy information, and allows setting
13121of _SCP (cooling preference) and _TZP (polling frequency) values
13122to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
13123frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
13124preference to the passive/quiet mode (if supported by the ASL).
13125
13126Implemented a workaround for a gcc bug that resuted in an OOPs
13127when loading the control method battery driver.
13128
13129 ----------------------------------------
13130Summary of changes for this label: 09_20_01
13131
13132 ACPI CA Core Subsystem:
13133
13134The AcpiEnableEvent and AcpiDisableEvent interfaces have been
13135modified to allow individual GPE levels to be flagged as wake-
13136enabled (i.e., these GPEs are to remain enabled when the platform
13137sleeps.)
13138
13139The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
13140support wake-enabled GPEs.  This means that upon entering the
13141sleep state, all GPEs that are not wake-enabled are disabled.
13142When leaving the sleep state, these GPEs are reenabled.
13143
13144A local double-precision divide/modulo module has been added to
13145enhance portability to OS kernels where a 64-bit math library is
13146not available.  The new module is "utmath.c".
13147
13148Several optimizations have been made to reduce the use of CPU
13149stack.  Originally over 2K, the maximum stack usage is now below
131502K at 1860  bytes (1.82k)
13151
13152Fixed a problem with the AcpiGetFirmwareTable interface where the
13153root table pointer was not mapped into a logical address properly.
13154
13155Fixed a problem where a NULL pointer was being dereferenced in the
13156interpreter code for the ASL Notify operator.
13157
13158Fixed a problem where the use of the ASL Revision operator
13159returned an error. This operator now returns the current version
13160of the ACPI CA core subsystem.
13161
13162Fixed a problem where objects passed as control method parameters
13163to AcpiEvaluateObject were always deleted at method termination.
13164However, these objects may end up being stored into the namespace
13165by the called method.  The object reference count mechanism was
13166applied to these objects instead of a force delete.
13167
13168Fixed a problem where static strings or buffers (contained in the
13169AML code) that are declared as package elements within the ASL
13170code could cause a fault because the interpreter would attempt to
13171delete them.  These objects are now marked with the "static
13172object" flag to prevent any attempt to delete them.
13173
13174Implemented an interpreter optimization to use operands directly
13175from the state object instead of extracting the operands to local
13176variables.  This reduces stack use and code size, and improves
13177performance.
13178
13179The module exxface.c was eliminated as it was an unnecessary extra
13180layer of code.
13181
13182Current core subsystem library code sizes are shown below.  These
13183are the code and data sizes for the acpica.lib produced by the
13184Microsoft Visual C++ 6.0 compiler, and these values do not include
13185any ACPI driver or OSPM code.  The debug version of the code
13186includes the full debug trace mechanism -- leading to a much
13187larger code and data size.  Note that these values will vary
13188depending on the efficiency of the compiler and the compiler
13189options used during generation.
13190
13191  Non-Debug Version:  65K Code,   5K Data,   70K Total
13192(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
13193Total  (Previously 195K)
13194
13195Linux:
13196
13197Support for ACPI 2.0 64-bit integers has been added.   All ACPI
13198Integer objects are now 64 bits wide
13199
13200All Acpi data types and structures are now in lower case.  Only
13201Acpi macros are upper case for differentiation.
13202
13203 Documentation:
13204
13205Changes to the external interfaces as described above.
13206
13207 ----------------------------------------
13208Summary of changes for this label: 08_31_01
13209
13210 ACPI CA Core Subsystem:
13211
13212A bug with interpreter implementation of the ASL Divide operator
13213was found and fixed.  The implicit function return value (not the
13214explicit store operands) was returning the remainder instead of
13215the quotient.  This was a longstanding bug and it fixes several
13216known outstanding issues on various platforms.
13217
13218The ACPI_DEBUG_PRINT and function trace entry/exit macros have
13219been further optimized for size.  There are 700 invocations of the
13220DEBUG_PRINT macro alone, so each optimization reduces the size of
13221the debug version of the subsystem significantly.
13222
13223A stack trace mechanism has been implemented.  The maximum stack
13224usage is about 2K on 32-bit platforms.  The debugger command "stat
13225stack" will display the current maximum stack usage.
13226
13227All public symbols and global variables within the subsystem are
13228now prefixed with the string "Acpi".  This keeps all of the
13229symbols grouped together in a kernel map, and avoids conflicts
13230with other kernel subsystems.
13231
13232Most of the internal fixed lookup tables have been moved into the
13233code segment via the const operator.
13234
13235Several enhancements have been made to the interpreter to both
13236reduce the code size and improve performance.
13237
13238Current core subsystem library code sizes are shown below.  These
13239are the code and data sizes for the acpica.lib produced by the
13240Microsoft Visual C++ 6.0 compiler, and these values do not include
13241any ACPI driver or OSPM code.  The debug version of the code
13242includes the full debug trace mechanism which contains over 700
13243invocations of the DEBUG_PRINT macro, 500 function entry macro
13244invocations, and over 900 function exit macro invocations --
13245leading to a much larger code and data size.  Note that these
13246values will vary depending on the efficiency of the compiler and
13247the compiler options used during generation.
13248
13249        Non-Debug Version:  64K Code,   5K Data,   69K Total
13250Debug Version:     137K Code,  58K Data,  195K Total
13251
13252 Linux:
13253
13254Implemented wbinvd() macro, pending a kernel-wide definition.
13255
13256Fixed /proc/acpi/event to handle poll() and short reads.
13257
13258 ASL Compiler, version X2026:
13259
13260Fixed a problem introduced in the previous label where the AML
13261
13262code emitted for package objects produced packages with zero
13263length.
13264
13265 ----------------------------------------
13266Summary of changes for this label: 08_16_01
13267
13268ACPI CA Core Subsystem:
13269
13270The following ACPI 2.0 ASL operators have been implemented in the
13271AML interpreter (These are already supported by the Intel ASL
13272compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
13273ToBuffer.  Support for 64-bit AML constants is implemented in the
13274AML parser, debugger, and disassembler.
13275
13276The internal memory tracking mechanism (leak detection code) has
13277been upgraded to reduce the memory overhead (a separate tracking
13278block is no longer allocated for each memory allocation), and now
13279supports all of the internal object caches.
13280
13281The data structures and code for the internal object caches have
13282been coelesced and optimized so that there is a single cache and
13283memory list data structure and a single group of functions that
13284implement generic cache management.  This has reduced the code
13285size in both the debug and release versions of the subsystem.
13286
13287The DEBUG_PRINT macro(s) have been optimized for size and replaced
13288by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
13289different, because it generates a single call to an internal
13290function.  This results in a savings of about 90 bytes per
13291invocation, resulting in an overall code and data savings of about
1329216% in the debug version of the subsystem.
13293
13294 Linux:
13295
13296Fixed C3 disk corruption problems and re-enabled C3 on supporting
13297machines.
13298
13299Integrated low-level sleep code by Patrick Mochel.
13300
13301Further tweaked source code Linuxization.
13302
13303Other minor fixes.
13304
13305 ASL Compiler:
13306
13307Support for ACPI 2.0 variable length packages is fixed/completed.
13308
13309Fixed a problem where the optional length parameter for the ACPI
133102.0 ToString operator.
13311
13312Fixed multiple extraneous error messages when a syntax error is
13313detected within the declaration line of a control method.
13314
13315 ----------------------------------------
13316Summary of changes for this label: 07_17_01
13317
13318ACPI CA Core Subsystem:
13319
13320Added a new interface named AcpiGetFirmwareTable to obtain any
13321ACPI table via the ACPI signature.  The interface can be called at
13322any time during kernel initialization, even before the kernel
13323virtual memory manager is initialized and paging is enabled.  This
13324allows kernel subsystems to obtain ACPI tables very early, even
13325before the ACPI CA subsystem is initialized.
13326
13327Fixed a problem where Fields defined with the AnyAcc attribute
13328could be resolved to the incorrect address under the following
13329conditions: 1) the field width is larger than 8 bits and 2) the
13330parent operation region is not defined on a DWORD boundary.
13331
13332Fixed a problem where the interpreter is not being locked during
13333namespace initialization (during execution of the _INI control
13334methods), causing an error when an attempt is made to release it
13335later.
13336
13337ACPI 2.0 support in the AML Interpreter has begun and will be
13338ongoing throughout the rest of this year.  In this label, The Mod
13339operator is implemented.
13340
13341Added a new data type to contain full PCI addresses named
13342ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
13343and Function values.
13344
13345 Linux:
13346
13347Enhanced the Linux version of the source code to change most
13348capitalized ACPI type names to lowercase. For example, all
13349instances of ACPI_STATUS are changed to acpi_status.  This will
13350result in a large diff, but the change is strictly cosmetic and
13351aligns the CA code closer to the Linux coding standard.
13352
13353OSL Interfaces:
13354
13355The interfaces to the PCI configuration space have been changed to
13356add the PCI Segment number and to split the single 32-bit combined
13357DeviceFunction field into two 16-bit fields.  This was
13358accomplished by moving the four values that define an address in
13359PCI configuration space (segment, bus, device, and function) to
13360the new ACPI_PCI_ID structure.
13361
13362The changes to the PCI configuration space interfaces led to a
13363reexamination of the complete set of address space access
13364interfaces for PCI, I/O, and Memory.  The previously existing 18
13365interfaces have proven difficult to maintain (any small change
13366must be propagated across at least 6 interfaces) and do not easily
13367allow for future expansion to 64 bits if necessary.  Also, on some
13368systems, it would not be appropriate to demultiplex the access
13369width (8, 16, 32,or 64) before calling the OSL if the
13370corresponding native OS interfaces contain a similar access width
13371parameter.  For these reasons, the 18 address space interfaces
13372have been replaced by these 6 new ones:
13373
13374AcpiOsReadPciConfiguration
13375AcpiOsWritePciConfiguration
13376AcpiOsReadMemory
13377AcpiOsWriteMemory
13378AcpiOsReadPort
13379AcpiOsWritePort
13380
13381Added a new interface named AcpiOsGetRootPointer to allow the OSL
13382to perform the platform and/or OS-specific actions necessary to
13383obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
13384interface will simply call down to the CA core to perform the low-
13385memory search for the table.  On IA-64, the RSDP is obtained from
13386EFI.  Migrating this interface to the OSL allows the CA core to
13387
13388remain OS and platform independent.
13389
13390Added a new interface named AcpiOsSignal to provide a generic
13391"function code and pointer" interface for various miscellaneous
13392signals and notifications that must be made to the host OS.   The
13393first such signals are intended to support the ASL Fatal and
13394Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
13395interface has been obsoleted.
13396
13397The definition of the AcpiFormatException interface has been
13398changed to simplify its use.  The caller no longer must supply a
13399buffer to the call; A pointer to a const string is now returned
13400directly.  This allows the call to be easily used in printf
13401statements, etc. since the caller does not have to manage a local
13402buffer.
13403
13404
13405 ASL Compiler, Version X2025:
13406
13407The ACPI 2.0 Switch/Case/Default operators have been implemented
13408and are fully functional.  They will work with all ACPI 1.0
13409interpreters, since the operators are simply translated to If/Else
13410pairs.
13411
13412The ACPI 2.0 ElseIf operator is implemented and will also work
13413with 1.0 interpreters, for the same reason.
13414
13415Implemented support for ACPI 2.0 variable-length packages.  These
13416packages have a separate opcode, and their size is determined by
13417the interpreter at run-time.
13418
13419Documentation The ACPI CA Programmer Reference has been updated to
13420reflect the new interfaces and changes to existing interfaces.
13421
13422 ------------------------------------------
13423Summary of changes for this label: 06_15_01
13424
13425 ACPI CA Core Subsystem:
13426
13427Fixed a problem where a DWORD-accessed field within a Buffer
13428object would get its byte address inadvertently rounded down to
13429the nearest DWORD.  Buffers are always Byte-accessible.
13430
13431 ASL Compiler, version X2024:
13432
13433Fixed a problem where the Switch() operator would either fault or
13434hang the compiler.  Note however, that the AML code for this ACPI
134352.0 operator is not yet implemented.
13436
13437Compiler uses the new AcpiOsGetTimer interface to obtain compile
13438timings.
13439
13440Implementation of the CreateField operator automatically converts
13441a reference to a named field within a resource descriptor from a
13442byte offset to a bit offset if required.
13443
13444Added some missing named fields from the resource descriptor
13445support. These are the names that are automatically created by the
13446compiler to reference fields within a descriptor.  They are only
13447valid at compile time and are not passed through to the AML
13448interpreter.
13449
13450Resource descriptor named fields are now typed as Integers and
13451subject to compile-time typechecking when used in expressions.
13452
13453 ------------------------------------------
13454Summary of changes for this label: 05_18_01
13455
13456 ACPI CA Core Subsystem:
13457
13458Fixed a couple of problems in the Field support code where bits
13459from adjacent fields could be returned along with the proper field
13460bits. Restructured the field support code to improve performance,
13461readability and maintainability.
13462
13463New DEBUG_PRINTP macro automatically inserts the procedure name
13464into the output, saving hundreds of copies of procedure name
13465strings within the source, shrinking the memory footprint of the
13466debug version of the core subsystem.
13467
13468 Source Code Structure:
13469
13470The source code directory tree was restructured to reflect the
13471current organization of the component architecture.  Some files
13472and directories have been moved and/or renamed.
13473
13474 Linux:
13475
13476Fixed leaking kacpidpc processes.
13477
13478Fixed queueing event data even when /proc/acpi/event is not
13479opened.
13480
13481 ASL Compiler, version X2020:
13482
13483Memory allocation performance enhancement - over 24X compile time
13484improvement on large ASL files.  Parse nodes and namestring
13485buffers are now allocated from a large internal compiler buffer.
13486
13487The temporary .SRC file is deleted unless the "-s" option is
13488specified
13489
13490The "-d" debug output option now sends all output to the .DBG file
13491instead of the console.
13492
13493"External" second parameter is now optional
13494
13495"ElseIf" syntax now properly allows the predicate
13496
13497Last operand to "Load" now recognized as a Target operand
13498
13499Debug object can now be used anywhere as a normal object.
13500
13501ResourceTemplate now returns an object of type BUFFER
13502
13503EISAID now returns an object of type INTEGER
13504
13505"Index" now works with a STRING operand
13506
13507"LoadTable" now accepts optional parameters
13508
13509"ToString" length parameter is now optional
13510
13511"Interrupt (ResourceType," parse error fixed.
13512
13513"Register" with a user-defined region space parse error fixed
13514
13515Escaped backslash at the end of a string ("\\") scan/parse error
13516fixed
13517
13518"Revision" is now an object of type INTEGER.
13519
13520
13521
13522------------------------------------------
13523Summary of changes for this label: 05_02_01
13524
13525Linux:
13526
13527/proc/acpi/event now blocks properly.
13528
13529Removed /proc/sys/acpi. You can still dump your DSDT from
13530/proc/acpi/dsdt.
13531
13532 ACPI CA Core Subsystem:
13533
13534Fixed a problem introduced in the previous label where some of the
13535"small" resource descriptor types were not recognized.
13536
13537Improved error messages for the case where an ASL Field is outside
13538the range of the parent operation region.
13539
13540 ASL Compiler, version X2018:
13541
13542
13543Added error detection for ASL Fields that extend beyond the length
13544of the parent operation region (only if the length of the region
13545is known at compile time.)  This includes fields that have a
13546minimum access width that is smaller than the parent region, and
13547individual field units that are partially or entirely beyond the
13548extent of the parent.
13549
13550
13551
13552------------------------------------------
13553Summary of changes for this label: 04_27_01
13554
13555 ACPI CA Core Subsystem:
13556
13557Fixed a problem where the namespace mutex could be released at the
13558wrong time during execution of AcpiRemoveAddressSpaceHandler.
13559
13560Added optional thread ID output for debug traces, to simplify
13561debugging of multiple threads.  Added context switch notification
13562when the debug code realizes that a different thread is now
13563executing ACPI code.
13564
13565Some additional external data types have been prefixed with the
13566string "ACPI_" for consistency.  This may effect existing code.
13567The data types affected are the external callback typedefs - e.g.,
13568
13569WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
13570
13571 Linux:
13572
13573Fixed an issue with the OSL semaphore implementation where a
13574thread was waking up with an error from receiving a SIGCHLD
13575signal.
13576
13577Linux version of ACPI CA now uses the system C library for string
13578manipulation routines instead of a local implementation.
13579
13580Cleaned up comments and removed TBDs.
13581
13582 ASL Compiler, version X2017:
13583
13584Enhanced error detection and reporting for all file I/O
13585operations.
13586
13587 Documentation:
13588
13589Programmer Reference updated to version 1.06.
13590
13591
13592
13593------------------------------------------
13594Summary of changes for this label: 04_13_01
13595
13596 ACPI CA Core Subsystem:
13597
13598Restructured support for BufferFields and RegionFields.
13599BankFields support is now fully operational.  All known 32-bit
13600limitations on field sizes have been removed.  Both BufferFields
13601and (Operation) RegionFields are now supported by the same field
13602management code.
13603
13604Resource support now supports QWORD address and IO resources. The
1360516/32/64 bit address structures and the Extended IRQ structure
13606have been changed to properly handle Source Resource strings.
13607
13608A ThreadId of -1 is now used to indicate a "mutex not acquired"
13609condition internally and must never be returned by AcpiOsThreadId.
13610This reserved value was changed from 0 since Unix systems allow a
13611thread ID of 0.
13612
13613Linux:
13614
13615Driver code reorganized to enhance portability
13616
13617Added a kernel configuration option to control ACPI_DEBUG
13618
13619Fixed the EC driver to honor _GLK.
13620
13621ASL Compiler, version X2016:
13622
13623Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
13624address space was set to 0, not 0x7f as it should be.
13625
13626 ------------------------------------------
13627Summary of changes for this label: 03_13_01
13628
13629 ACPI CA Core Subsystem:
13630
13631During ACPI initialization, the _SB_._INI method is now run if
13632present.
13633
13634Notify handler fix - notifies are deferred until the parent method
13635completes execution.  This fixes the "mutex already acquired"
13636issue seen occasionally.
13637
13638Part of the "implicit conversion" rules in ACPI 2.0 have been
13639found to cause compatibility problems with existing ASL/AML.  The
13640convert "result-to-target-type" implementation has been removed
13641for stores to method Args and Locals.  Source operand conversion
13642is still fully implemented.  Possible changes to ACPI 2.0
13643specification pending.
13644
13645Fix to AcpiRsCalculatePciRoutingTableLength to return correct
13646length.
13647
13648Fix for compiler warnings for 64-bit compiles.
13649
13650 Linux:
13651
13652/proc output aligned for easier parsing.
13653
13654Release-version compile problem fixed.
13655
13656New kernel configuration options documented in Configure.help.
13657
13658IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
13659context" message.
13660
13661 OSPM:
13662
13663Power resource driver integrated with bus manager.
13664
13665Fixed kernel fault during active cooling for thermal zones.
13666
13667Source Code:
13668
13669The source code tree has been restructured.
13670
13671
13672
13673------------------------------------------
13674Summary of changes for this label: 03_02_01
13675
13676 Linux OS Services Layer (OSL):
13677
13678Major revision of all Linux-specific code.
13679
13680Modularized all ACPI-specific drivers.
13681
13682Added new thermal zone and power resource drivers.
13683
13684Revamped /proc interface (new functionality is under /proc/acpi).
13685
13686New kernel configuration options.
13687
13688 Linux known issues:
13689
13690New kernel configuration options not documented in Configure.help
13691yet.
13692
13693
13694Module dependencies not currently implemented. If used, they
13695should be loaded in this order: busmgr, power, ec, system,
13696processor, battery, ac_adapter, button, thermal.
13697
13698Modules will not load if CONFIG_MODVERSION is set.
13699
13700IBM 600E - entering S5 may reboot instead of shutting down.
13701
13702IBM 600E - Sleep button may generate "Invalid <NULL> context"
13703message.
13704
13705Some systems may fail with "execution mutex already acquired"
13706message.
13707
13708 ACPI CA Core Subsystem:
13709
13710Added a new OSL Interface, AcpiOsGetThreadId.  This was required
13711for the  deadlock detection code. Defined to return a non-zero, 32-
13712bit thread ID for the currently executing thread.  May be a non-
13713zero constant integer on single-thread systems.
13714
13715Implemented deadlock detection for internal subsystem mutexes.  We
13716may add conditional compilation for this code (debug only) later.
13717
13718ASL/AML Mutex object semantics are now fully supported.  This
13719includes multiple acquires/releases by owner and support for the
13720
13721Mutex SyncLevel parameter.
13722
13723A new "Force Release" mechanism automatically frees all ASL
13724Mutexes that have been acquired but not released when a thread
13725exits the interpreter.  This forces conformance to the ACPI spec
13726("All mutexes must be released when an invocation exits") and
13727prevents deadlocked ASL threads.  This mechanism can be expanded
13728(later) to monitor other resource acquisitions if OEM ASL code
13729continues to misbehave (which it will).
13730
13731Several new ACPI exception codes have been added for the Mutex
13732support.
13733
13734Recursive method calls are now allowed and supported (the ACPI
13735spec does in fact allow recursive method calls.)  The number of
13736recursive calls is subject to the restrictions imposed by the
13737SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
13738parameter.
13739
13740Implemented support for the SyncLevel parameter for control
13741methods (ACPI 2.0 feature)
13742
13743Fixed a deadlock problem when multiple threads attempted to use
13744the interpreter.
13745
13746Fixed a problem where the string length of a String package
13747element was not always set in a package returned from
13748AcpiEvaluateObject.
13749
13750Fixed a problem where the length of a String package element was
13751not always included in the length of the overall package returned
13752from AcpiEvaluateObject.
13753
13754Added external interfaces (Acpi*) to the ACPI debug memory
13755manager.  This manager keeps a list of all outstanding
13756allocations, and can therefore detect memory leaks and attempts to
13757free memory blocks more than once. Useful for code such as the
13758power manager, etc.  May not be appropriate for device drivers.
13759Performance with the debug code enabled is slow.
13760
13761The ACPI Global Lock is now an optional hardware element.
13762
13763 ASL Compiler Version X2015:
13764
13765Integrated changes to allow the compiler to be generated on
13766multiple platforms.
13767
13768Linux makefile added to generate the compiler on Linux
13769
13770 Source Code:
13771
13772All platform-specific headers have been moved to their own
13773subdirectory, Include/Platform.
13774
13775New source file added, Interpreter/ammutex.c
13776
13777New header file, Include/acstruct.h
13778
13779 Documentation:
13780
13781The programmer reference has been updated for the following new
13782interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
13783
13784 ------------------------------------------
13785Summary of changes for this label: 02_08_01
13786
13787Core ACPI CA Subsystem: Fixed a problem where an error was
13788incorrectly returned if the return resource buffer was larger than
13789the actual data (in the resource interfaces).
13790
13791References to named objects within packages are resolved to the
13792
13793full pathname string before packages are returned directly (via
13794the AcpiEvaluateObject interface) or indirectly via the resource
13795interfaces.
13796
13797Linux OS Services Layer (OSL):
13798
13799Improved /proc battery interface.
13800
13801
13802Added C-state debugging output and other miscellaneous fixes.
13803
13804ASL Compiler Version X2014:
13805
13806All defined method arguments can now be used as local variables,
13807including the ones that are not actually passed in as parameters.
13808The compiler tracks initialization of the arguments and issues an
13809exception if they are used without prior assignment (just like
13810locals).
13811
13812The -o option now specifies a filename prefix that is used for all
13813output files, including the AML output file.  Otherwise, the
13814default behavior is as follows:  1) the AML goes to the file
13815specified in the DSDT.  2) all other output files use the input
13816source filename as the base.
13817
13818 ------------------------------------------
13819Summary of changes for this label: 01_25_01
13820
13821Core ACPI CA Subsystem: Restructured the implementation of object
13822store support within the  interpreter.  This includes support for
13823the Store operator as well  as any ASL operators that include a
13824target operand.
13825
13826Partially implemented support for Implicit Result-to-Target
13827conversion. This is when a result object is converted on the fly
13828to the type of  an existing target object.  Completion of this
13829support is pending  further analysis of the ACPI specification
13830concerning this matter.
13831
13832CPU-specific code has been removed from the subsystem (hardware
13833directory).
13834
13835New Power Management Timer functions added
13836
13837Linux OS Services Layer (OSL): Moved system state transition code
13838to the core, fixed it, and modified  Linux OSL accordingly.
13839
13840Fixed C2 and C3 latency calculations.
13841
13842
13843We no longer use the compilation date for the version message on
13844initialization, but retrieve the version from AcpiGetSystemInfo().
13845
13846Incorporated for fix Sony VAIO machines.
13847
13848Documentation:  The Programmer Reference has been updated and
13849reformatted.
13850
13851
13852ASL Compiler:  Version X2013: Fixed a problem where the line
13853numbering and error reporting could get out  of sync in the
13854presence of multiple include files.
13855
13856 ------------------------------------------
13857Summary of changes for this label: 01_15_01
13858
13859Core ACPI CA Subsystem:
13860
13861Implemented support for type conversions in the execution of the
13862ASL  Concatenate operator (The second operand is converted to
13863match the type  of the first operand before concatenation.)
13864
13865Support for implicit source operand conversion is partially
13866implemented.   The ASL source operand types Integer, Buffer, and
13867String are freely  interchangeable for most ASL operators and are
13868converted by the interpreter  on the fly as required.  Implicit
13869Target operand conversion (where the  result is converted to the
13870target type before storing) is not yet implemented.
13871
13872Support for 32-bit and 64-bit BCD integers is implemented.
13873
13874Problem fixed where a field read on an aligned field could cause a
13875read  past the end of the field.
13876
13877New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
13878does not return a value, but the caller expects one.  (The ASL
13879compiler flags this as a warning.)
13880
13881ASL Compiler:
13882
13883Version X2011:
138841. Static typechecking of all operands is implemented. This
13885prevents the use of invalid objects (such as using a Package where
13886an Integer is required) at compile time instead of at interpreter
13887run-time.
138882. The ASL source line is printed with ALL errors and warnings.
138893. Bug fix for source EOF without final linefeed.
138904. Debug option is split into a parse trace and a namespace trace.
138915. Namespace output option (-n) includes initial values for
13892integers and strings.
138936. Parse-only option added for quick syntax checking.
138947. Compiler checks for duplicate ACPI name declarations
13895
13896Version X2012:
138971. Relaxed typechecking to allow interchangeability between
13898strings, integers, and buffers.  These types are now converted by
13899the interpreter at runtime.
139002. Compiler reports time taken by each internal subsystem in the
13901debug         output file.
13902
13903
13904 ------------------------------------------
13905Summary of changes for this label: 12_14_00
13906
13907ASL Compiler:
13908
13909This is the first official release of the compiler. Since the
13910compiler requires elements of the Core Subsystem, this label
13911synchronizes everything.
13912
13913------------------------------------------
13914Summary of changes for this label: 12_08_00
13915
13916
13917Fixed a problem where named references within the ASL definition
13918of both OperationRegions and CreateXXXFields did not work
13919properly.  The symptom was an AE_AML_OPERAND_TYPE during
13920initialization of the region/field. This is similar (but not
13921related internally) to the problem that was fixed in the last
13922label.
13923
13924Implemented both 32-bit and 64-bit support for the BCD ASL
13925functions ToBCD and FromBCD.
13926
13927Updated all legal headers to include "2000" in the copyright
13928years.
13929
13930 ------------------------------------------
13931Summary of changes for this label: 12_01_00
13932
13933Fixed a problem where method invocations within the ASL definition
13934of both OperationRegions and CreateXXXFields did not work
13935properly.  The symptom was an AE_AML_OPERAND_TYPE during
13936initialization of the region/field:
13937
13938  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
13939[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
13940(0x3005)
13941
13942Fixed a problem where operators with more than one nested
13943subexpression would fail.  The symptoms were varied, by mostly
13944AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
13945problem that has gone unnoticed until now.
13946
13947  Subtract (Add (1,2), Multiply (3,4))
13948
13949Fixed a problem where AcpiGetHandle didn't quite get fixed in the
13950previous build (The prefix part of a relative path was handled
13951incorrectly).
13952
13953Fixed a problem where Operation Region initialization failed if
13954the operation region name was a "namepath" instead of a simple
13955"nameseg". Symptom was an AE_NO_OPERAND error.
13956
13957Fixed a problem where an assignment to a local variable via the
13958indirect RefOf mechanism only worked for the first such
13959assignment.  Subsequent assignments were ignored.
13960
13961 ------------------------------------------
13962Summary of changes for this label: 11_15_00
13963
13964ACPI 2.0 table support with backwards support for ACPI 1.0 and the
139650.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
13966the AML  interpreter does NOT have support for the new 2.0 ASL
13967grammar terms at this time.
13968
13969All ACPI hardware access is via the GAS structures in the ACPI 2.0
13970FADT.
13971
13972All physical memory addresses across all platforms are now 64 bits
13973wide. Logical address width remains dependent on the platform
13974(i.e., "void *").
13975
13976AcpiOsMapMemory interface changed to a 64-bit physical address.
13977
13978The AML interpreter integer size is now 64 bits, as per the ACPI
139792.0 specification.
13980
13981For backwards compatibility with ACPI 1.0, ACPI tables with a
13982revision number less than 2 use 32-bit integers only.
13983
13984Fixed a problem where the evaluation of OpRegion operands did not
13985always resolve them to numbers properly.
13986
13987------------------------------------------
13988Summary of changes for this label: 10_20_00
13989
13990Fix for CBN_._STA issue.  This fix will allow correct access to
13991CBN_ OpRegions when the _STA returns 0x8.
13992
13993Support to convert ACPI constants (Ones, Zeros, One) to actual
13994values before a package object is returned
13995
13996Fix for method call as predicate to if/while construct causing
13997incorrect if/while behavior
13998
13999Fix for Else block package lengths sometimes calculated wrong (if
14000block > 63 bytes)
14001
14002Fix for Processor object length field, was always zero
14003
14004Table load abort if FACP sanity check fails
14005
14006Fix for problem with Scope(name) if name already exists
14007
14008Warning emitted if a named object referenced cannot be found
14009(resolved) during method execution.
14010
14011
14012
14013
14014
14015------------------------------------------
14016Summary of changes for this label: 9_29_00
14017
14018New table initialization interfaces: AcpiInitializeSubsystem no
14019longer has any parameters AcpiFindRootPointer - Find the RSDP (if
14020necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
14021>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
14022AcpiLoadTables
14023
14024Note: These interface changes require changes to all existing OSDs
14025
14026The PCI_Config default address space handler is always installed
14027at the root namespace object.
14028
14029-------------------------------------------
14030Summary of changes for this label: 09_15_00
14031
14032The new initialization architecture is implemented.  New
14033interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
14034AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
14035
14036(Namespace is automatically loaded when a table is loaded)
14037
14038The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1403952 bytes to 32 bytes.  There is usually one of these for every
14040namespace object, so the memory savings is significant.
14041
14042Implemented just-in-time evaluation of the CreateField operators.
14043
14044Bug fixes for IA-64 support have been integrated.
14045
14046Additional code review comments have been implemented
14047
14048The so-called "third pass parse" has been replaced by a final walk
14049through the namespace to initialize all operation regions (address
14050spaces) and fields that have not yet been initialized during the
14051execution of the various _INI and REG methods.
14052
14053New file - namespace/nsinit.c
14054
14055-------------------------------------------
14056Summary of changes for this label: 09_01_00
14057
14058Namespace manager data structures have been reworked to change the
14059primary  object from a table to a single object.  This has
14060resulted in dynamic memory  savings of 3X within the namespace and
140612X overall in the ACPI CA subsystem.
14062
14063Fixed problem where the call to AcpiEvFindPciRootBuses was
14064inadvertently left  commented out.
14065
14066Reduced the warning count when generating the source with the GCC
14067compiler.
14068
14069Revision numbers added to each module header showing the
14070SourceSafe version of the file.  Please refer to this version
14071number when giving us feedback or comments on individual modules.
14072
14073The main object types within the subsystem have been renamed to
14074clarify their  purpose:
14075
14076ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
14077ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
14078ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
14079
14080NOTE: no changes to the initialization sequence are included in
14081this label.
14082
14083-------------------------------------------
14084Summary of changes for this label: 08_23_00
14085
14086Fixed problem where TerminateControlMethod was being called
14087multiple times per  method
14088
14089Fixed debugger problem where single stepping caused a semaphore to
14090be  oversignalled
14091
14092Improved performance through additional parse object caching -
14093added  ACPI_EXTENDED_OP type
14094
14095-------------------------------------------
14096Summary of changes for this label: 08_10_00
14097
14098Parser/Interpreter integration:  Eliminated the creation of
14099complete parse trees  for ACPI tables and control methods.
14100Instead, parse subtrees are created and  then deleted as soon as
14101they are processed (Either entered into the namespace or  executed
14102by the interpreter).  This reduces the use of dynamic kernel
14103memory  significantly. (about 10X)
14104
14105Exception codes broken into classes and renumbered.  Be sure to
14106recompile all  code that includes acexcep.h.  Hopefully we won't
14107have to renumber the codes  again now that they are split into
14108classes (environment, programmer, AML code,  ACPI table, and
14109internal).
14110
14111Fixed some additional alignment issues in the Resource Manager
14112subcomponent
14113
14114Implemented semaphore tracking in the AcpiExec utility, and fixed
14115several places  where mutexes/semaphores were being unlocked
14116without a corresponding lock  operation.  There are no known
14117semaphore or mutex "leaks" at this time.
14118
14119Fixed the case where an ASL Return operator is used to return an
14120unnamed  package.
14121
14122-------------------------------------------
14123Summary of changes for this label: 07_28_00
14124
14125Fixed a problem with the way addresses were calculated in
14126AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
14127manifested itself when a Field was  created with WordAccess or
14128DwordAccess, but the field unit defined within the  Field was less
14129
14130than a Word or Dword.
14131
14132Fixed a problem in AmlDumpOperands() module's loop to pull
14133operands off of the  operand stack to display information. The
14134problem manifested itself as a TLB  error on 64-bit systems when
14135accessing an operand stack with two or more  operands.
14136
14137Fixed a problem with the PCI configuration space handlers where
14138context was  getting confused between accesses. This required a
14139change to the generic address  space handler and address space
14140setup definitions. Handlers now get both a  global handler context
14141(this is the one passed in by the user when executing
14142AcpiInstallAddressSpaceHandler() and a specific region context
14143that is unique to  each region (For example, the _ADR, _SEG and
14144_BBN values associated with a  specific region). The generic
14145function definitions have changed to the  following:
14146
14147typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
14148UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
14149*HandlerContext, // This used to be void *Context void
14150*RegionContext); // This is an additional parameter
14151
14152typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
14153RegionHandle, UINT32 Function, void *HandlerContext,  void
14154**RegionContext); // This used to be **ReturnContext
14155
14156-------------------------------------------
14157Summary of changes for this label: 07_21_00
14158
14159Major file consolidation and rename.  All files within the
14160interpreter have been  renamed as well as most header files.  This
14161was done to prevent collisions with  existing files in the host
14162OSs -- filenames such as "config.h" and "global.h"  seem to be
14163quite common.  The VC project files have been updated.  All
14164makefiles  will require modification.
14165
14166The parser/interpreter integration continues in Phase 5 with the
14167implementation  of a complete 2-pass parse (the AML is parsed
14168twice) for each table;  This  avoids the construction of a huge
14169parse tree and therefore reduces the amount of  dynamic memory
14170required by the subsystem.  Greater use of the parse object cache
14171means that performance is unaffected.
14172
14173Many comments from the two code reviews have been rolled in.
14174
14175The 64-bit alignment support is complete.
14176
14177-------------------------------------------
14178Summary of changes for this label: 06_30_00
14179
14180With a nod and a tip of the hat to the technology of yesteryear,
14181we've added  support in the source code for 80 column output
14182devices.  The code is now mostly  constrained to 80 columns or
14183less to support environments and editors that 1)  cannot display
14184or print more than 80 characters on a single line, and 2) cannot
14185disable line wrapping.
14186
14187A major restructuring of the namespace data structure has been
14188completed.  The  result is 1) cleaner and more
14189understandable/maintainable code, and 2) a  significant reduction
14190in the dynamic memory requirement for each named ACPI  object
14191(almost half).
14192
14193-------------------------------------------
14194Summary of changes for this label: 06_23_00
14195
14196Linux support has been added.  In order to obtain approval to get
14197the ACPI CA  subsystem into the Linux kernel, we've had to make
14198quite a few changes to the  base subsystem that will affect all
14199users (all the changes are generic and OS- independent).  The
14200effects of these global changes have been somewhat far  reaching.
14201Files have been merged and/or renamed and interfaces have been
14202renamed.   The major changes are described below.
14203
14204Osd* interfaces renamed to AcpiOs* to eliminate namespace
14205pollution/confusion  within our target kernels.  All OSD
14206interfaces must be modified to match the new  naming convention.
14207
14208Files merged across the subsystem.  A number of the smaller source
14209and header  files have been merged to reduce the file count and
14210increase the density of the  existing files.  There are too many
14211to list here.  In general, makefiles that  call out individual
14212files will require rebuilding.
14213
14214Interpreter files renamed.  All interpreter files now have the
14215prefix am*  instead of ie* and is*.
14216
14217Header files renamed:  The acapi.h file is now acpixf.h.  The
14218acpiosd.h file is  now acpiosxf.h.  We are removing references to
14219the acronym "API" since it is  somewhat windowsy. The new name is
14220"external interface" or xface or xf in the  filenames.j
14221
14222
14223All manifest constants have been forced to upper case (some were
14224mixed case.)   Also, the string "ACPI_" has been prepended to many
14225(not all) of the constants,  typedefs, and structs.
14226
14227The globals "DebugLevel" and "DebugLayer" have been renamed
14228"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
14229
14230All other globals within the subsystem are now prefixed with
14231"AcpiGbl_" Internal procedures within the subsystem are now
14232prefixed with "Acpi" (with only  a few exceptions).  The original
14233two-letter abbreviation for the subcomponent  remains after "Acpi"
14234- for example, CmCallocate became AcpiCmCallocate.
14235
14236Added a source code translation/conversion utility.  Used to
14237generate the Linux  source code, it can be modified to generate
14238other types of source as well. Can  also be used to cleanup
14239existing source by removing extraneous spaces and blank  lines.
14240Found in tools/acpisrc/*
14241
14242OsdUnMapMemory was renamed to OsdUnmapMemory and then
14243AcpiOsUnmapMemory.  (UnMap  became Unmap).
14244
14245A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
14246When set to  one, this indicates that the caller wants to use the
14247
14248semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
14249both types.  However, implementers of this  call may want to use
14250different OS primitives depending on the type of semaphore
14251requested.  For example, some operating systems provide separate
14252
14253"mutex" and  "semaphore" interfaces - where the mutex interface is
14254much faster because it  doesn't have all the overhead of a full
14255semaphore implementation.
14256
14257Fixed a deadlock problem where a method that accesses the PCI
14258address space can  block forever if it is the first access to the
14259space.
14260
14261-------------------------------------------
14262Summary of changes for this label: 06_02_00
14263
14264Support for environments that cannot handle unaligned data
14265accesses (e.g.  firmware and OS environments devoid of alignment
14266handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
14267been added (via configurable macros) in  these three areas: -
14268Transfer of data from the raw AML byte stream is done via byte
14269moves instead of    word/dword/qword moves. - External objects are
14270aligned within the user buffer, including package   elements (sub-
14271objects). - Conversion of name strings to UINT32 Acpi Names is now
14272done byte-wise.
14273
14274The Store operator was modified to mimic Microsoft's
14275implementation when storing  to a Buffer Field.
14276
14277Added a check of the BM_STS bit before entering C3.
14278
14279The methods subdirectory has been obsoleted and removed.  A new
14280file, cmeval.c  subsumes the functionality.
14281
14282A 16-bit (DOS) version of AcpiExec has been developed.  The
14283makefile is under  the acpiexec directory.
14284